/* ---------------------------------------------------------------
   Self-hosted variable fonts (SIL Open Font License).
   Served from this domain, NOT fonts.gstatic.com, so no visitor IP
   is ever disclosed to a third party on pageview. Weight ranges are
   variable (100-900 / 200-800) because the design uses intermediate
   weights such as 350, 380 and 480.
   --------------------------------------------------------------- */

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Leila Hariri, MD — Adult & Child Psychiatry, North County San Diego
   Design system: editorial / quiet-luxury clinical
   No dependencies. No build step.
   ========================================================= */

:root {
  /* --- Palette: ink navy, warm ivory, aged gold, muted eucalyptus --- */
  --ink:          #0f1a2e;
  --ink-soft:     #1b2942;
  --ink-deep:     #080f1c;
  --ivory:        #faf7f1;
  --ivory-dark:   #f1eadc;
  --gold:         #a8853f;
  --gold-mid:     #b9994f;
  --gold-light:   #d8c39b;
  --sage:         #5f7d74;
  --sage-light:   #a8bfb6;
  --blush:        #e8dcd4;
  --white:        #ffffff;

  --text:         #24262b;
  --text-muted:   #575a61;
  --text-faint:   #7d8189;

  --on-dark:      rgba(250, 247, 241, 0.78);
  --on-dark-soft: rgba(250, 247, 241, 0.58);
  --hairline:     rgba(15, 26, 46, 0.10);
  --hairline-2:   rgba(15, 26, 46, 0.16);
  --hairline-dk:  rgba(250, 247, 241, 0.14);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "Manrope", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container:    1200px;
  --measure:      68ch;

  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 4rem;
  --s6: 6rem;
  --s7: 8.5rem;

  --nav-h:   84px;
  --radius:  3px;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --t:       520ms var(--ease);
  --t-fast:  240ms var(--ease);

  /* Film grain — subtle texture on dark panels */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--gold-light); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s4);
}
.container--narrow { max-width: 860px; }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 480;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem);   line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem);   line-height: 1.14; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem);  line-height: 1.28; letter-spacing: -0.01em; }
h4 { font-size: clamp(1.05rem, 1.4vw, 1.2rem);  line-height: 1.35; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: inline-block;
  margin-bottom: var(--s2);
}

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  color: var(--text-muted);
  max-width: 62ch;
  font-weight: 350;
  line-height: 1.62;
}

p + p { margin-top: 1.1em; }

.rule {
  width: 54px; height: 2px;
  background: var(--gold);
  border: none;
  margin: var(--s3) 0;
}
.rule--center { margin-left: auto; margin-right: auto; }

.text-center  { text-align: center; }
.mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.mb-3 { margin-bottom: var(--s3); }
.mb-4 { margin-bottom: var(--s4); }
.center-block { margin-left: auto; margin-right: auto; }

.on-ink        { color: var(--ivory) !important; }
.on-ink-body   { color: var(--on-dark) !important; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 1.05rem 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast);
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: var(--gold); color: var(--ink); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ink); color: var(--ivory); }

.btn--outline { border-color: var(--hairline-2); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.btn--ghost { border-color: rgba(250,247,241,0.34); color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }

.btn--sm { padding: 0.8rem 1.4rem; font-size: 0.72rem; }

.btn-row {
  display: flex; flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
}
.btn-row--center { justify-content: center; }

/* Inline text link with gold underline */
.tlink {
  color: inherit;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tlink:hover { color: var(--gold); }

/* =========================================================
   Monogram
   ========================================================= */
.monogram {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  transition: background var(--t-fast), color var(--t-fast);
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t), height var(--t), box-shadow var(--t);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  width: 100%;
}

.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.nav__logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
}
.nav__links a { position: relative; padding: 4px 0; color: var(--ink); white-space: nowrap; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0; height: 1px;
  background: var(--gold);
  transition: right var(--t);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { right: 0; }

.nav__cta { margin-left: var(--s1); }

/* Light text while over a dark hero, before scroll */
body.on-dark .nav:not(.is-scrolled) .nav__logo { color: var(--ivory); }
body.on-dark .nav:not(.is-scrolled) .nav__logo small { color: rgba(250,247,241,0.5); }
body.on-dark .nav:not(.is-scrolled) .nav__links a { color: var(--ivory); }
body.on-dark .nav:not(.is-scrolled) .monogram { color: var(--gold-light); border-color: rgba(216,195,155,0.5); }
body.on-dark .nav:not(.is-scrolled) .nav__cta { border-color: rgba(250,247,241,0.34); color: var(--ivory); }
body.on-dark .nav:not(.is-scrolled) .nav__cta:hover { background: var(--ivory); color: var(--ink); }
body.on-dark .nav:not(.is-scrolled) .nav__toggle span { background: var(--ivory); }

.nav.is-scrolled {
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  height: 68px;
  box-shadow: 0 1px 0 var(--hairline);
}

.nav__toggle {
  display: none;
  background: none; border: none;
  cursor: pointer;
  padding: 8px 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform var(--t-fast), opacity var(--t-fast), background var(--t-fast);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   Hero — home
   ========================================================= */
.hero {
  position: relative;
  min-height: min(100vh, 940px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--s5)) 0 var(--s5);
  background:
    radial-gradient(ellipse 90% 60% at 78% 12%, rgba(168,133,63,0.20), transparent 62%),
    radial-gradient(ellipse 70% 55% at 6% 92%, rgba(95,125,116,0.22), transparent 60%),
    linear-gradient(158deg, var(--ink-deep) 0%, var(--ink) 42%, var(--ink-soft) 100%);
  color: var(--ivory);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.24;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: var(--s6);
  align-items: center;
}

.hero h1 { color: var(--ivory); }
.hero h1 em {
  font-style: italic;
  font-weight: 380;
  color: var(--gold-light);
}
.hero__eyebrow { color: var(--gold-light); }
.hero .lede { color: var(--on-dark); max-width: 54ch; }

.hero__locale {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-top: var(--s3);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--on-dark-soft);
}
.hero__locale span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__locale span::before {
  content: ""; width: 3px; height: 3px;
  background: var(--gold); border-radius: 50%;
}

.hero__credentials {
  margin-top: var(--s5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: var(--s4);
}
.hero__credentials div {
  border-left: 1px solid var(--hairline-dk);
  padding-left: var(--s2);
}
.hero__credentials strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 480;
  color: var(--gold-light);
  line-height: 1.2;
}
.hero__credentials span {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--on-dark-soft);
  line-height: 1.45;
  display: block;
  margin-top: 2px;
}

/* Portrait frame — offset gold rule, works with or without a photo */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin-left: auto;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(168,133,63,0.45);
  pointer-events: none;
}
.portrait img,
.portrait .portrait__ph {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.portrait__ph {
  display: grid; place-items: center;
  text-align: center;
  padding: var(--s3);
  background: linear-gradient(200deg, #2b3b56, #16233a);
  color: rgba(250,247,241,0.32);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.portrait__ph small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.6rem;
  opacity: 0.7;
}

/* =========================================================
   Page hero — interior pages
   FIX: explicit top padding so fixed nav never overlaps content
   ========================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--s5)) 0 var(--s5);
  background:
    radial-gradient(ellipse 80% 70% at 88% 6%, rgba(168,133,63,0.16), transparent 60%),
    linear-gradient(150deg, var(--ink-deep) 0%, var(--ink) 55%, var(--ink-soft) 100%);
  color: var(--ivory);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.2;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); max-width: 24ch; }
.page-hero .lede { color: var(--on-dark); }
.page-hero .eyebrow { color: var(--gold-light); }

/* Breadcrumbs */
.crumbs {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: var(--s3);
  font-weight: 600;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; opacity: 0.5; }
.crumbs a:hover { color: var(--gold-light); }

/* =========================================================
   Sections
   ========================================================= */
section { padding: var(--s7) 0; position: relative; }
.section--tight  { padding: var(--s5) 0; }
.section--flush-top { padding-top: 0; }

.section--ivory-dark { background: var(--ivory-dark); }
.section--white      { background: var(--white); }
.section--ink {
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.section--ink::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.section--ink > * { position: relative; z-index: 1; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--ivory); }
.section--ink .eyebrow { color: var(--gold-light); }
.section--ink .lede { color: var(--on-dark); }

.section__head { max-width: 720px; margin-bottom: var(--s6); }
.section__head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section__head--center .lede { margin-left: auto; margin-right: auto; }

/* Scroll reveal — degrades safely without JS (see .no-js below) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 820ms var(--ease), transform 820ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Pillars / cards
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s3);
}
.pillar {
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: var(--s4) var(--s3);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -28px rgba(15,26,46,0.28);
  border-color: rgba(168,133,63,0.4);
}
.pillar__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.pillar h3 { margin: 0.7rem 0 0.5rem; }
.pillar p { color: var(--text-muted); font-size: 0.95rem; }

.section--ink .pillar {
  background: rgba(250,247,241,0.035);
  border-color: var(--hairline-dk);
}
.section--ink .pillar:hover { border-color: rgba(216,195,155,0.4); }
.section--ink .pillar p { color: var(--on-dark); }

/* =========================================================
   Split layout
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.split--text-first > .split__media { order: 2; }
.split--media-first > .split__media { order: -1; }
.split--wide-text { grid-template-columns: 1.2fr 0.8fr; }

.frame { position: relative; aspect-ratio: 4/5; }
.frame::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid rgba(168,133,63,0.4);
  pointer-events: none;
}
.frame img, .frame__ph {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
}
.frame__ph {
  display: grid; place-items: center;
  background: var(--blush);
  color: rgba(15,26,46,0.34);
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-align: center;
  padding: var(--s3);
  line-height: 1.6;
}
.section--ink .frame__ph { background: #22314b; color: rgba(250,247,241,0.3); }

/* =========================================================
   Quote
   ========================================================= */
.quote { max-width: 800px; margin: 0 auto; text-align: center; }
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 380;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.44;
  letter-spacing: -0.01em;
}
.quote cite {
  display: block;
  margin-top: var(--s3);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

/* =========================================================
   Service blocks
   ========================================================= */
.service-block {
  border-top: 1px solid var(--hairline-2);
  padding: var(--s4) 0;
  display: grid;
  grid-template-columns: 0.22fr 1.1fr 1fr;
  gap: var(--s4);
  align-items: start;
}
.service-block:last-child { border-bottom: 1px solid var(--hairline-2); }
.service-block__num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding-top: 0.3rem;
}
.service-block h3 { margin-bottom: 0.6rem; }
.service-block p { color: var(--text-muted); font-size: 0.96rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--hairline-2);
  padding: 0.4rem 0.7rem;
  color: var(--text-muted);
  border-radius: 2px;
}

/* =========================================================
   Conditions grid — keyword-rich, scannable
   ========================================================= */
.conditions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s4) var(--s5);
}
.conditions__col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  padding-bottom: 0.7rem;
  margin-bottom: var(--s2);
  border-bottom: 1px solid var(--hairline);
}
.conditions ul { list-style: none; }
.conditions li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.conditions li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 4px; height: 1px;
  background: var(--gold);
}
.section--ink .conditions li { color: var(--on-dark); }
.section--ink .conditions__col h4 { border-color: var(--hairline-dk); }

/* =========================================================
   Locations grid
   ========================================================= */
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: var(--s2);
}
.loc-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: var(--s3);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.loc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(15,26,46,0.26);
  border-color: rgba(168,133,63,0.45);
}
.loc-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.loc-card p { font-size: 0.88rem; color: var(--text-muted); }
.loc-card__go {
  display: inline-block;
  margin-top: var(--s2);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
.loc-card__go::after { content: " \2192"; }

/* =========================================================
   Steps / process
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: var(--s4) var(--s3);
  counter-reset: step;
}
.step { position: relative; padding-top: var(--s3); border-top: 1px solid var(--hairline); }
.section--ink .step { border-color: var(--hairline-dk); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}
.step h4 { margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); }
.section--ink .step p { color: var(--on-dark); }

/* =========================================================
   Accordion (FAQ)
   ========================================================= */
.accordion-item { border-top: 1px solid var(--hairline-2); }
.accordion-item:last-child { border-bottom: 1px solid var(--hairline-2); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s3) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 480;
  color: var(--ink);
  line-height: 1.4;
  transition: color var(--t-fast);
}
.accordion-trigger:hover { color: var(--gold); }
.accordion-trigger .plus {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--t);
  flex-shrink: 0;
  line-height: 1;
}
.accordion-trigger[aria-expanded="true"] .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}
.accordion-panel__inner {
  padding-bottom: var(--s3);
  color: var(--text-muted);
  max-width: var(--measure);
  font-size: 0.98rem;
}
.accordion-panel__inner ul { margin: 0.8rem 0 0 1.1rem; }
.accordion-panel__inner li { margin-bottom: 0.4rem; }

/* =========================================================
   Stats
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s4) var(--s3);
  text-align: center;
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 480;
  color: var(--gold-light);
  line-height: 1.15;
}
.stats span {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  display: block;
  margin-top: 0.4rem;
}

/* =========================================================
   Contact / forms
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s6);
  align-items: start;
}

.form-note {
  background: var(--ivory-dark);
  border-left: 2px solid var(--gold);
  padding: var(--s3);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--s4);
}
.form-note strong { color: var(--ink); }

.form-group { margin-bottom: var(--s3); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}
.form-group .req { color: var(--gold); }
.form-group .hint {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--text-faint);
  margin-top: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hairline-2);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8853f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168,133,63,0.14);
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: #a4423a; }
.field-error {
  display: block;
  font-size: 0.8rem;
  color: #a4423a;
  margin-top: 0.35rem;
}

/* Honeypot — hidden from humans, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: var(--s3);
  padding: var(--s3);
  font-size: 0.93rem;
  border-left: 2px solid var(--gold);
  background: var(--ivory-dark);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: #a4423a; }

.info-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: var(--s3) var(--s4);
}
.info-card + .info-card { border-top: none; }
.info-card h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.info-card p { font-size: 0.95rem; color: var(--text-muted); }
.info-card--crisis { background: var(--ink); border-color: var(--ink); }
.info-card--crisis h4 { color: var(--gold-light); }
.info-card--crisis p { color: var(--on-dark); }
.info-card--crisis a { color: var(--ivory); border-bottom: 1px solid var(--gold); }

/* =========================================================
   Article / long-form
   ========================================================= */
.article { max-width: 720px; margin: 0 auto; }
.article__meta {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: var(--s3);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
}
.article h2 { margin: var(--s5) 0 var(--s2); font-size: clamp(1.5rem, 2.2vw, 2rem); }
.article h3 { margin: var(--s4) 0 var(--s1); }
.article p { color: var(--text-muted); font-size: 1.04rem; }
.article ul, .article ol { margin: var(--s2) 0 var(--s2) 1.3rem; color: var(--text-muted); }
.article li { margin-bottom: 0.6rem; font-size: 1.02rem; }
.article strong { color: var(--text); font-weight: 600; }
.article__callout {
  background: var(--ivory-dark);
  border-left: 2px solid var(--gold);
  padding: var(--s3);
  margin: var(--s4) 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.article__callout strong { color: var(--ink); }

.toc {
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: var(--s3);
  margin-bottom: var(--s5);
}
.toc h2 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 var(--s2);
}
.toc ol { margin: 0 0 0 1.1rem; }
.toc li { margin-bottom: 0.4rem; font-size: 0.93rem; }
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--gold); }

/* Article cards (blog index) */
.post-list { display: grid; gap: var(--s2); }
.post-card {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: var(--s4);
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: var(--s4);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px -28px rgba(15,26,46,0.26);
  border-color: rgba(168,133,63,0.45);
}
.post-card__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.6;
}
.post-card h3 { margin-bottom: 0.5rem; }
.post-card p { font-size: 0.95rem; color: var(--text-muted); }

/* =========================================================
   Sticky mobile CTA — significant conversion lever
   ========================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 190;
  background: rgba(15,26,46,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(168,133,63,0.35);
  padding: 0.6rem;
  gap: 0.5rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
}
.mobile-cta .btn { flex: 1; padding: 0.9rem 0.5rem; font-size: 0.7rem; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink-deep);
  color: var(--on-dark-soft);
  padding: var(--s6) 0 var(--s3);
  position: relative;
  overflow: hidden;
}
.footer::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.14;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.footer > * { position: relative; z-index: 1; }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: var(--s4);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--hairline-dk);
}
.footer__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: var(--s2); }
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ivory);
  line-height: 1.2;
}
.footer__blurb { max-width: 330px; font-size: 0.89rem; line-height: 1.7; }
.footer h5 {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--s2);
  font-weight: 700;
  font-family: var(--font-body);
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; font-size: 0.89rem; line-height: 1.6; }
.footer a { transition: color var(--t-fast); }
.footer a:hover { color: var(--gold-light); }
.footer__areas {
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--hairline-dk);
  font-size: 0.82rem;
  line-height: 1.8;
}
.footer__areas strong {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  display: block;
  margin-bottom: 0.4rem;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s3);
  font-size: 0.76rem;
  flex-wrap: wrap;
  gap: var(--s2);
}
.footer__bottom nav { display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer__disclaimer {
  font-size: 0.74rem;
  line-height: 1.7;
  color: rgba(250,247,241,0.4);
  padding-top: var(--s3);
  max-width: 78ch;
}

/* =========================================================
   Skip link
   ========================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link:focus { left: var(--s3); top: var(--s3); }

/* =========================================================
   No-JS fallback — content must never be invisible
   ========================================================= */
.no-js .reveal { opacity: 1; transform: none; }
.no-js .accordion-panel { max-height: none; }
.no-js .accordion-trigger .plus { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { gap: var(--s2); font-size: 0.71rem; }
  .split--wide-text { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --s6: 4.5rem; --s7: 6rem; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s5); }
  .portrait { max-width: 320px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: var(--s4); }
  .split--media-first > .split__media,
  .split--text-first  > .split__media { order: 2; }
  /* A full-width 4:5 frame becomes taller than the viewport once stacked. */
  .frame { max-width: 400px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: var(--s2); }
  .service-block__num { padding-top: 0; }
  .post-card { grid-template-columns: 1fr; gap: var(--s2); }
}

@media (max-width: 860px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    padding: var(--s3) var(--s4) var(--s4);
    gap: var(--s3);
    box-shadow: 0 20px 40px -12px rgba(15,26,46,0.22);
    border-top: 1px solid var(--hairline);
  }
  body.on-dark .nav:not(.is-scrolled) .nav__links.is-open a { color: var(--ink); }
  .nav__links.is-open a { font-size: 0.84rem; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
}

@media (max-width: 620px) {
  :root { --s5: 3rem; --s6: 3.5rem; --s7: 4.5rem; }
  .container { padding: 0 1.4rem; }
  body { font-size: 16px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + var(--s4)); }
  .hero__credentials { grid-template-columns: 1fr; gap: var(--s2); }
  .footer__top { grid-template-columns: 1fr; gap: var(--s4); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn { padding: 0.95rem 1.5rem; }
  .btn-row .btn { width: 100%; }
}

/* =========================================================
   Motion & print
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  .nav, .mobile-cta, .skip-link, .footer__areas { display: none; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .hero, .page-hero, .section--ink, .footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section--ink h2, .footer__logo { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  section { padding: 1.5rem 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
