:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --tint: #f2ebe1;
  --ink: #2b2420;
  --muted: #6a5d55;
  --line: #e4d9cc;
  --accent: #96452f;
  --accent-dark: #763422;
  --accent-soft: #f4e3dc;
  --sage: #5d6f55;
  --sage-soft: #e5eadf;
  --deep: #34302b;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(43, 36, 32, .05), 0 12px 32px -12px rgba(43, 36, 32, .18);
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .9em;
}
.eyebrow-light { color: #c9d6c0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: .85em 1.5em; border-radius: 999px;
  font: 600 .98rem/1 var(--font-sans); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }

.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }

.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; }
.brand-sub { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .5em .9em; border-radius: 999px;
}
.site-nav a:hover { background: var(--tint); color: var(--ink); }
.site-nav .nav-cta { background: var(--accent); color: #fff; margin-left: 6px; }
.site-nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lead { font-size: 1.2rem; color: var(--ink); }
.hero-text p:not(.eyebrow):not(.lead) { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }

.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  width: 100%;
}
.credential-card {
  position: absolute; left: -24px; bottom: 28px;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow);
  padding: 14px 18px 14px 50px; max-width: 270px;
  display: flex; flex-direction: column; line-height: 1.3;
}
.credential-card::before {
  content: ""; position: absolute; left: 16px; top: 50%; translate: 0 -50%;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6f55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.credential-title { font-weight: 600; font-size: .9rem; }
.credential-sub { font-size: .82rem; color: var(--muted); }

/* Highlights */
.highlights { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { padding: 28px 20px; display: flex; flex-direction: column; gap: 4px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight-num { font-family: var(--font-serif); font-size: 1.7rem; color: var(--accent); line-height: 1.1; }
.highlight-label { font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-head.center { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 80px); }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }

.values { margin-top: clamp(48px, 7vw, 80px); }
.values h3 { text-align: center; margin-bottom: 1.2em; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.value-card h4 { color: var(--accent); }
.value-card p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Services */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(48px, 7vw, 80px); }
.service-card {
  background: var(--surface); border-radius: var(--radius); padding: 30px 28px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s;
  border-top: 4px solid var(--accent);
}
.service-card:nth-child(2) { border-top-color: var(--sage); }
.service-card:nth-child(3) { border-top-color: #b98a4e; }
.service-card:hover { transform: translateY(-4px); color: var(--ink); }
.service-card p { color: var(--muted); font-size: 1rem; flex: 1; }
.service-card .link-arrow { color: var(--accent); }
.service-card:hover .link-arrow::after { margin-left: 4px; }

.service {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 64px);
  padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line);
}
.service-main p { color: var(--muted); }
.service-main h4 { margin-top: 1.4em; }
.service-list {
  background: var(--surface); border-radius: var(--radius); padding: 26px 28px;
  align-self: start;
}
.service-list h4 { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.service-list ul { list-style: none; margin: 0; padding: 0; }
.service-list li {
  padding: .45em 0 .45em 1.5em; position: relative; font-size: .97rem; line-height: 1.45;
  border-bottom: 1px dashed var(--line);
}
.service-list li:last-child { border-bottom: 0; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: .95em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent); opacity: .7;
}

/* Imago */
.imago { background: var(--deep); color: #efe8df; }
.imago h2 { color: #fff; max-width: 760px; }
.imago p { color: #d6cdc2; max-width: 760px; }
.imago em { color: #fff; font-style: italic; }
.imago-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.imago-badge { color: #c9d6c0; padding-top: 6px; }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step;
}
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }
.step-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-serif);
  font-size: 1.15rem; margin-bottom: 14px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info > p:not(.eyebrow):not(.crisis-note) { color: var(--muted); }
.contact-list { margin: 1.8em 0; display: grid; gap: 18px; }
.contact-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.contact-list dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); padding-top: .25em; }
.contact-list dd { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.contact-list dd a:not(.link-arrow) { color: var(--ink); text-decoration-color: var(--line); }
.contact-list dd a:not(.link-arrow):hover { color: var(--accent); }
.contact-list .link-arrow { display: inline-block; margin-top: 6px; font-size: .95rem; }
.crisis-note {
  font-size: .88rem; color: var(--muted); background: var(--surface); border-left: 3px solid var(--sage);
  padding: 14px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.contact-form {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px;
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .9rem; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .75em .9em; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color .2s, background-color .2s;
}
textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .25em; accent-color: var(--accent); flex: none; }
.check.invalid span { color: #b3261e; }

.form-status {
  margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; line-height: 1.5;
  background: var(--sage-soft); color: var(--ink);
}
.form-status.error { background: #fbe9e7; color: #8c1d18; }

/* Footer */
.site-footer { background: var(--ink); color: #cfc5ba; padding: 48px 0; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer p { margin: 0 0 .3em; }
.footer-name { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-text { order: 2; }
  .credential-card { left: 50%; translate: -50% 0; bottom: -22px; max-width: none; white-space: nowrap; }
  .hero { padding-top: 32px; }
  .hero-photo { margin-bottom: 30px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid, .service, .contact-grid { grid-template-columns: 1fr; }
  .values-grid, .service-cards, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8em 1em; }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .imago-inner { grid-template-columns: 1fr; }
  .imago-badge svg { width: 72px; height: 72px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}

@media (max-width: 420px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .credential-card { white-space: normal; width: calc(100% - 32px); }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { width: 100%; }
}
