/* ============================================================
   LIWANAG PSYCHIATRY — v3-0 design system
   "A sunlit consulting room"
   Warm plaster, honey light, soft shapes, espresso lamplit corners.
   Editorial bones carried from v2-0: margin rail, ruled lists,
   fee sheet, no animation, no glyph decoration.
   Type: Newsreader (body & italic display) / Karla (utility)
   ============================================================ */

/* Self-hosted type (v3-1-32): Newsreader + Karla, SIL OFL 1.1, latin subset */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/newsreader-latin-opsz-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('fonts/newsreader-latin-opsz-italic.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/karla-latin-wght-normal.woff2') format('woff2'); }

:root {
  --sun: #FBF6ED;          /* sunlit plaster — page */
  --plaster: #F3E9D9;      /* deeper wall wash */
  --peach: #F8E9D4;        /* soft panel wash */
  --espresso: #33291F;     /* lamplit dark surfaces */
  --espresso-deep: #261D14;
  --ink: #2C251C;
  --ink-soft: #5A5044;
  --ink-faint: #6E5F4E;
  --honey: #C9862F;        /* the light itself */
  --honey-soft: #EACD96;
  --clay: #9C5433;         /* inline links, focus */
  --rule: #E6DAC5;
  --cream-text: #F7EFE2;   /* text on espresso */
  --glow: rgba(201, 134, 47, 0.30); /* the parol's heart, hero only */
  --radius: 14px;
  --radius-pill: 999px;
  --measure: 66ch;
  --shadow-soft: 0 10px 34px rgba(51, 41, 31, 0.08);
}

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

html { font-size: 17px; scroll-behavior: smooth; overflow-x: clip; scrollbar-color: rgba(156, 84, 51, 0.42) var(--sun); }
body { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--sun);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.74;
}

::selection { background: var(--honey-soft); }

/* ── The point of light — now faintly luminous ── */
.pt {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 4px rgba(201, 134, 47, 0.16);
  flex-shrink: 0;
}
.sun-pt { width: 22px; height: 22px; flex-shrink: 0; position: relative; top: -2px; }

/* ── Header ── */
header.site {
  border-bottom: 1px solid var(--rule);
  background: var(--sun);
}
.site-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.15rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.wordmark {
  text-decoration: none;
  color: var(--ink);
  font-family: 'Newsreader', serif;
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.wordmark .pt { position: relative; top: -1px; }
/* v3-1-37: DBA lockup -- "Liwanag Psychiatry" over a small "Medical Clinic", a thin rule, then the physician's name */
.wm-brand { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.wm-name { display: inline-flex; align-items: center; gap: 0.45rem; }
.wm-sub, .wm-doc { font-family: 'Karla', sans-serif; font-weight: 600; text-transform: uppercase; opacity: 0.78; }
.wm-sub { font-size: 0.47em; letter-spacing: 0.22em; margin-top: 0.3em; margin-right: -0.55em; }
.wm-rule { align-self: stretch; width: 1px; background: currentColor; opacity: 0.32; }
.wm-doc { font-size: 0.56em; letter-spacing: 0.09em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.site-nav a {
  font-family: 'Karla', sans-serif;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--clay); }
.site-nav a.active { color: var(--ink); border-bottom-color: var(--honey); }
.site-nav a.nav-cta { display: inline-block; background: var(--espresso); color: var(--cream-text); padding: 0.6rem 1.15rem; border: 0; border-radius: var(--radius-pill); }
.site-nav a.nav-cta:hover { background: var(--espresso-deep); color: var(--honey-soft); }
.site-nav a.nav-cta:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.nav-toggle-btn { display: none; width: 44px; height: 44px; padding: 14px 11px; margin: -14px -11px -14px 0; flex-direction: column; justify-content: space-between; background: none; border: 0; cursor: pointer; }
.nav-toggle-btn span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }
.nav-toggle-btn:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.skip-link { position: absolute; left: 0.75rem; top: -4rem; z-index: 100; background: var(--espresso); color: var(--cream-text); padding: 0.6rem 1rem; border-radius: 0 0 8px 8px; font-family: 'Karla', sans-serif; font-size: 0.9rem; text-decoration: none; }
.skip-link:focus { top: 0; }
/* v3-1-38: on Home the header floats over the hero photo, tinted and blurred so it stays legible */
header.site.site--over-hero {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid rgba(247, 239, 226, 0.3);
  color: var(--cream-text);
}
.site--over-hero .wordmark, .site--over-hero .site-nav a:not(.nav-cta) { text-shadow: 0 1px 10px rgba(20, 14, 8, 0.65); }
.site--over-hero .wordmark { color: var(--cream-text); }
.site--over-hero .site-nav a { color: rgba(247, 239, 226, 0.88); }
.site--over-hero .site-nav a:hover { color: var(--honey-soft); }
.site--over-hero .site-nav a.active { color: var(--cream-text); border-bottom-color: var(--honey); }
.site--over-hero .site-nav a.nav-cta { background: var(--cream-text); color: var(--espresso-deep); }
.site--over-hero .site-nav a.nav-cta:hover { background: var(--honey-soft); color: var(--espresso-deep); }
.site--over-hero .nav-toggle-btn span { background: var(--cream-text); }
.site--over-hero a:focus-visible, .site--over-hero button:focus-visible { outline-color: var(--honey-soft); }
header.site.site--over-hero.nav-open { background: rgba(38, 29, 20, 0.95); }

/* ── Full-bleed photo hero (index.html only) ── */
.hero-photo {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 6.5rem 0 1.75rem;
}
.hero-photo {
  background:
    linear-gradient(to bottom, transparent 40%, rgba(42, 24, 16, 0.55) 100%),
    url('hero-parol.webp');
  background-size: cover;
  background-position: center;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 14, 8, 0.38) 0, rgba(20, 14, 8, 0) 150px),
    linear-gradient(90deg, rgba(38, 29, 20, 0.34) 0%, rgba(38, 29, 20, 0.14) 45%, rgba(38, 29, 20, 0) 70%),
    radial-gradient(circle at 82% 10%, rgba(201, 134, 47, 0.2) 0%, rgba(201, 134, 47, 0) 46%),
    linear-gradient(180deg, rgba(38, 29, 20, 0.62) 0%, rgba(38, 29, 20, 0.5) 38%, rgba(38, 29, 20, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-photo-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: 100%;
  margin: auto 0;
  padding: 0 2rem;
  text-align: left;
  transition: opacity 0.1s linear;
}
.hero-photo .eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--honey-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.3rem;
}
/* v3-1-39: two mirrored columns -- brand over the tagline on the left, name over the introduction on the right; the rule divides only the brand and the name */
.hero-lockup {
  display: grid;
  grid-template-columns: max-content 1px minmax(15rem, 22rem);
  column-gap: clamp(1.1rem, 2.4vw, 2rem);
  row-gap: 0;
  align-items: start;
  justify-content: start;
}
.hero-photo-brand {
  grid-column: 1; grid-row: 1;
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  letter-spacing: 0.01em;
  color: var(--cream-text);
  opacity: 0.95;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.08;
}
.hero-photo-brand .brand-txt { white-space: nowrap; }
.hero-photo-brand .brand-sub {
  font-family: 'Karla', sans-serif;
  font-size: 0.235em;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 239, 226, 0.82);
  margin-top: 0.45em;
  margin-right: -0.7em;
}
.hero-lockup-rule { grid-column: 2; grid-row: 1; align-self: stretch; width: 1px; background: rgba(247, 239, 226, 0.5); }
.hero-photo-doc {
  font-family: 'Karla', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 239, 226, 0.8);
  margin: 0;
  white-space: nowrap;
  grid-column: 3; grid-row: 1;
  align-self: center;
  justify-self: start;
}
.hero-lockup h1 { grid-column: 1; grid-row: 4; margin: 0; align-self: center; }
/* the introduction's two paragraphs are placed in the grid individually, so the tagline can center on the first one */
.hero-intro {
  display: contents;
  font-family: 'Newsreader', serif;
  font-size: 1.06rem;
  line-height: 1.62;
  color: rgba(247, 239, 226, 0.86);
  text-shadow: 0 1px 10px rgba(20, 14, 8, 0.7);
}
.hero-intro p { grid-column: 3; }
.hero-intro p:first-child { grid-row: 4; }
.hero-intro p + p { grid-row: 5; margin-top: 0.75rem; }
/* v3-1-39: on wide screens the lockup fills the hero down to the scroll cue; the introduction sits midway between the rule and the cue, and the tagline is centered on its first paragraph */
@media (min-width: 901px) {
  .hero-photo-content { flex: 1 0 auto; display: flex; flex-direction: column; margin: 0; padding-top: clamp(1.5rem, calc(20vh - 5rem), 8rem); }
  .hero-lockup { flex: 1 0 auto; grid-template-rows: auto 2.4rem minmax(0, 1fr) auto auto minmax(0, 1fr); }
  .hero-lockup h1 { position: relative; top: 0.6rem; } /* optical: italic capitals sit high in their line box */
}
.hero-intro strong { font-weight: 600; color: var(--cream-text); }
.hero-photo h1 {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--cream-text);
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  line-height: 1.26;
  margin-bottom: 1.15rem;
  text-shadow: 0 2px 16px rgba(20, 14, 8, 0.75), 0 1px 3px rgba(20, 14, 8, 0.6);
}
.hero-photo .sub {
  font-family: 'Karla', sans-serif;
  font-size: 1.05rem;
  color: rgba(247, 239, 226, 0.85);
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}
.hero-photo .sub strong { font-weight: 700; color: var(--cream-text); }
.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid var(--sun);
  background: transparent;
  color: var(--sun);
  font-family: 'Karla', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
}
.btn-outline:hover { background: rgba(247, 239, 226, 0.12); }
.btn-outline:focus-visible { outline: 2px solid var(--honey-soft); outline-offset: 3px; }
.scroll-cue {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 239, 226, 0.55);
}
.scroll-cue .line { width: 1px; height: 30px; background: currentColor; }
.scroll-cue .lbl { font-family: 'Karla', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* ── Page grid + the pool of sunlight ── */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  position: relative;
}
.page::before {
  /* the signature: a static pool of afternoon sun on the wall */
  content: "";
  position: absolute;
  top: -6rem; right: -10rem;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(233, 200, 138, 0.38) 0%,
    rgba(233, 200, 138, 0.14) 45%,
    rgba(233, 200, 138, 0) 70%);
  pointer-events: none;
  z-index: 0;
  transform: translateY(var(--parallax-y, 0px));
}
.band, footer.site { position: relative; z-index: 1; }

.band {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 3.5rem;
  padding: 3.4rem 0;
  border-top: 1px solid var(--rule);
}
.band:first-of-type { border-top: none; }
.rail { padding-top: 0.4rem; }
.rail .rail-title {
  font-family: 'Karla', sans-serif;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}
.rail .rail-note {
  margin-top: 0.7rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
  line-height: 1.55;
}
.text { max-width: var(--measure); }

/* Display type: Newsreader italic at large optical size —
   warmth carried in the letterforms themselves */
.text h1, .text h2 {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.16;
  margin-bottom: 1.3rem;
  letter-spacing: 0.002em;
}
.text h1 { font-size: clamp(2.2rem, 4.6vw, 3.25rem); }
.hero-band h1 .indent { display: inline-block; margin-left: 1.6em; }
.text h2 { font-size: clamp(1.55rem, 2.7vw, 2.05rem); }
.text h3 {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.09rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.text p { color: var(--ink-soft); margin-bottom: 1.15rem; font-size: 1.005rem; }
.text p:last-child { margin-bottom: 0; }
.text em { font-style: italic; }
.text a.inline {
  color: var(--clay);
  text-decoration: underline;
  text-decoration-color: var(--honey-soft);
  text-underline-offset: 3px;
}
.text a.inline:hover { text-decoration-color: var(--clay); }
/* v3-1-38: the two Home links sit at opposite ends of the text column */
.story-links { margin-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem 1.5rem; }

/* ── Hero ── */
.hero-band { border-top: none; padding-top: 4.2rem; }
.lede {
  font-size: 1.17rem;
  line-height: 1.68;
  color: var(--ink-soft);
}
.hero-belief {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--peach);
  border-radius: var(--radius);
  font-size: 1.005rem;
  color: var(--ink-soft);
}
.accepting {
  margin-top: 1.8rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* ── Buttons: soft pills, honey-lit ── */
.btn {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.9rem 2.1rem;
  background: var(--honey);
  color: var(--espresso-deep);
  font-family: 'Karla', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(201, 134, 47, 0.28);
}
.btn:hover { background: #B87524; }
.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* ── Ruled lists ── */
.ruled { list-style: none; }
.ruled > li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.985rem;
  line-height: 1.66;
}
.ruled > li:last-child { border-bottom: none; }
.ruled > li strong.term {
  display: block;
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.ruled > li .li-para { display: block; margin-top: 0.75rem; }

/* ── Questions list ── */
.questions { list-style: none; }
.questions li {
  padding: 0.95rem 0 0.95rem 1.6rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-style: italic;
}
.questions li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.6rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 4px rgba(201, 134, 47, 0.14);
}
.questions li:last-child { border-bottom: none; }
/* v3-1-41: "Does this sound familiar?" -- a lantern pause after the questions, a lead-in, then the two points side by side */
.fam-breath { display: flex; align-items: center; gap: 1rem; margin: 2.2rem 0 1.9rem; }
.fam-breath::before, .fam-breath::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.fam-breath img { width: 22px; height: 22px; opacity: 0.9; }
.text p.fam-lede { font-size: 1.13rem; line-height: 1.68; color: var(--ink); margin-bottom: 1.6rem; }
.text p.fam-intro { font-family: 'Newsreader', serif; font-style: italic; font-size: 1.2rem; color: var(--ink); margin-bottom: 1rem; }
.fam-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin-bottom: 2.4rem; }
.fam-point { border-top: 2px solid var(--clay); padding-top: 0.9rem; }
.fam-point p { font-size: 0.98rem; margin-bottom: 0; }
.text .fam-point p.fam-head { font-family: 'Newsreader', serif; font-size: 1.12rem; line-height: 1.4; color: var(--ink); margin-bottom: 0.45rem; }
.fam-num { font-style: italic; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--clay); }
.fam-head strong { font-weight: 600; }
@media (max-width: 640px) { .fam-two { grid-template-columns: 1fr; } }

/* ── Panels: warm peach, soft shadow, generous radius ── */
.panel {
  background: var(--peach);
  border-radius: var(--radius);
  padding: 1.9rem 2.1rem;
  margin-top: 1.8rem;
  box-shadow: var(--shadow-soft);
}
.panel .panel-label {
  font-family: 'Karla', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9rem;
}
.panel p, .panel li { font-size: 0.94rem; }
.panel .ruled > li { border-bottom-color: rgba(156, 84, 51, 0.16); }

@media (min-width: 901px) {
  .panel--wide {
    --half-bleed: min(calc((220px + 3.5rem) / 2), calc(2rem + max(0px, (100vw - 1120px) / 2)));
    margin-left: calc(-1 * var(--half-bleed));
    width: calc(100% + 2 * var(--half-bleed));
    max-width: none;
  }
  .panel--wide .panel-label { text-align: center; }
}

@media (min-width: 640px) {
  .ruled--split {
    column-count: 2;
    column-gap: 2.4rem;
  }
  .ruled--split > li { break-inside: avoid; }
  .ruled--grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
  }
  .ruled--grid2 > li:nth-child(5),
  .ruled--grid2 > li:nth-child(6) {
    border-bottom: none;
  }
}
.ruled--grid2 > li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  line-height: 1.34;
}
.ruled--grid2 > li strong.term {
  font-size: 1rem;
  margin-bottom: 0.16rem;
}

/* ── Lamplit treatment: the v1 dark-card moment, returned ── */
.lamplit {
  background:
    radial-gradient(circle at 18% 12%,
      rgba(201, 134, 47, 0.28) 0%,
      rgba(201, 134, 47, 0) 55%),
    var(--espresso);
  border-radius: 18px;
  padding: 2.4rem 2.5rem;
  box-shadow: 0 14px 44px rgba(38, 29, 20, 0.22);
}
.lamplit .panel-label { color: var(--honey-soft); }
.lamplit p { color: var(--cream-text); }
.panel.lamplit { margin-top: 1.8rem; }

.close-band .text {
  background:
    radial-gradient(circle at 16% 10%,
      rgba(201, 134, 47, 0.30) 0%,
      rgba(201, 134, 47, 0) 55%),
    var(--espresso);
  border-radius: 18px;
  padding: 2.6rem 2.7rem;
  box-shadow: 0 14px 44px rgba(38, 29, 20, 0.22);
}
.close-band .text p.invite {
  font-family: 'Newsreader', serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream-text);
}

.close-band .text p.cta-meta {
  font-size: 0.85rem;
  color: var(--cream-text);
  margin-top: 0.6rem;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-bottom: 1rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.78rem;
}
.foot-links a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
.foot-links a:hover { color: var(--honey-deep, var(--clay)); }
footer.footer-fused .foot-links a { color: var(--honey-soft); }
.foot-contact {
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.foot-contact a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
footer.footer-fused .foot-contact { color: var(--cream-text); }
footer.footer-fused .foot-contact a { color: var(--honey-soft); }

/* ── Fee sheet ── */
.fee-sheet { width: 100%; border-collapse: collapse; margin-top: 0.6rem; }
.fee-sheet th {
  font-family: 'Karla', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: left;
  padding: 0 0 0.7rem;
  border-bottom: 2px solid var(--espresso);
}
.fee-sheet th:last-child, .fee-sheet td.amt { text-align: right; }
.fee-sheet td {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.fee-sheet td .svc {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: var(--ink);
  display: block;
}
.fee-sheet td .dur {
  font-family: 'Karla', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  display: block;
  margin-top: 0.15rem;
}
.fee-sheet td.amt {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  white-space: nowrap;
  padding-left: 1.5rem;
}
.fee-detail { margin-top: 0.55rem; font-size: 0.93rem; }

/* ── Fee cards (v3-1-17: replaces fee-sheet table) ── */
.fee-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  margin-top: 0.6rem;
}
@media (min-width: 901px) {
  .fee-cards { grid-template-columns: repeat(3, 1fr); align-items: start; }
}
.fee-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  background: var(--peach);
}
.fee-card .svc {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.07rem;
  line-height: 1.3;
  color: var(--clay);
  display: block;
}
.fee-card .dur {
  font-family: 'Karla', sans-serif;
  font-size: 0.76rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  display: block;
  margin-top: 0.3rem;
}
.fee-card .amt {
  display: block;
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--clay);
  line-height: 1.15;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--rule);
  text-shadow: 0 1px 1px rgba(38, 29, 20, 0.12);
}
.fee-card .fee-detail { margin-top: 0.5rem; }

/* ── Full-bleed break-out (v3-1-18): spans the band's full width, not .text's 66ch measure ── */
@media (min-width: 901px) {
  .full-bleed {
    --fb-avail: max(0px, calc(min(1120px, 100vw) - 901px));
    --fb-ext: min(200px, var(--fb-avail));
    margin-left: calc(-1 * var(--fb-ext));
    width: calc(100% + 2 * var(--fb-ext));
    max-width: none;
  }
  /* v3-1-35: the Initial Psychiatric Evaluation spans the full row, with its summary on the
     left and its description on the right; the two follow-up cards sit beneath it, equal in
     size, with their title, duration, price and description rows aligned. */
  .fee-cards {
    --fb-avail: max(0px, calc(min(1120px, 100vw) - 901px));
    --fc-ext: min(255px, var(--fb-avail));
    margin-left: calc(-1 * var(--fc-ext));
    width: calc(100% + 2 * var(--fc-ext));
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto auto 1fr;
    align-items: stretch;
    column-gap: 1.6rem;
    row-gap: 0;
  }
  .fee-card {
    padding: 1.8rem 2rem;
  }
  .fee-card:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 1.6rem;
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 2.4rem;
    align-items: start;
  }
  .fee-card:first-child .svc,
  .fee-card:first-child .dur,
  .fee-card:first-child .amt { grid-column: 1; }
  .fee-card:first-child .fee-detail {
    grid-column: 2;
    grid-row: 1 / -1;
    margin-top: 0;
    padding-left: 2.4rem;
    border-left: 1px solid var(--rule);
  }
  .fee-card:not(:first-child) {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 2 / span 4;
    row-gap: 0;
  }
  .fee-card .fee-detail { align-self: start; }
}

/* ── Fee note columns (v3-1-18: replaces sequential HSA/FSA + GFE blocks) ── */
.fee-note-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
@media (min-width: 700px) {
  .fee-note-cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.2rem;
  }
  .fee-note-col + .fee-note-col {
    border-left: 1px solid var(--rule);
    padding-left: 3.2rem;
  }
}

/* ── Numbered steps ── */
.steps { list-style: none; counter-reset: step; margin-top: 0.5rem; }
.steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3.1rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1rem;
  width: 2rem; height: 2rem;
  background: var(--peach);
  border-radius: 50%;
  color: var(--clay);
  font-family: 'Karla', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong { color: var(--ink); }

/* ── FAQ ── */
.faq { list-style: none; }
.faq li { padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
.faq li:last-child { border-bottom: none; }
.faq .q {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.faq .a { font-size: 0.95rem; color: var(--ink-soft); }
/* v3-1-38: one-at-a-time Common Questions (buttons are added by script; without it every answer shows) */
.faq .q:has(.faq-toggle) { margin-bottom: 0; }
.faq li.is-open .q { margin-bottom: 0.5rem; }
.faq-toggle {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.faq-toggle:hover { color: var(--clay); }
.faq-toggle:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 4px; }
.faq-icon { position: relative; flex: 0 0 auto; width: 12px; height: 12px; top: 1px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; border-radius: 1px; background: var(--honey); transition: transform 250ms ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq li.is-open .faq-icon::after { transform: rotate(0deg); }
@media (prefers-reduced-motion: no-preference) {
  .faq li.is-open .a { animation: lw-glow-in 0.4s ease-out both; }
  .faq-icon::before, .faq-icon::after { transition: none; }
}

/* ── Video link ── */
.video-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
  padding: 1.35rem 1.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.video-link:hover { box-shadow: 0 12px 38px rgba(51, 41, 31, 0.13); }
.video-link .play {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.video-link .play svg { width: 15px; height: 15px; fill: var(--clay); margin-left: 2px; }
.video-link:hover .play { background: var(--honey); }
.video-link:hover .play svg { fill: var(--espresso-deep); }
.video-link .v-eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
}
.video-link .v-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0.15rem 0;
}
.video-link .v-sub {
  font-family: 'Karla', sans-serif;
  font-size: 0.77rem;
  color: var(--ink-faint);
}

/* ── Anchor list (services rail) ── */
.anchor-list { list-style: none; margin-top: 0.4rem; }
.anchor-list li { margin-bottom: 0.45rem; }
.anchor-list a {
  font-family: 'Karla', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.anchor-list a:hover { color: var(--clay); border-bottom-color: var(--honey); }

/* ── Footer ── */
footer.site {
  border-top: 1px solid var(--rule);
  background: var(--plaster);
}
.foot-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.4rem 2rem 3rem;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.foot-tag {
  font-family: 'Karla', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}
.foot-legal {
  font-family: 'Karla', sans-serif;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--ink-faint);
}
.foot-legal + .foot-legal { margin-top: 0.6rem; }

/* ── The parol: a lantern for the light already on the wall (index.html hero only) ── */
.band > .rail, .band > .text { position: relative; z-index: 1; }
/* ── Hero horizon dome + curved headings (About page) ── */
.hero-copy { text-align: center; max-width: 680px; margin: 0 auto; }
.hero-copy h1 { text-align: center; }
.hero-copy .lede { text-align: center; }
/* v3-1-12: About hero rail removed; hero-copy now spans the full band width so it centers on the page, not just within the old content column */
.hero-band--centered.hero-band { grid-template-columns: 1fr; }
.hero-band--centered .hero-copy { grid-column: 1 / -1; }

.horizon-wrap {
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0.5rem auto 0;
  aspect-ratio: 1440 / 680;
  overflow: visible;
  container-type: inline-size; /* v3-1-33: 1cqw = 1% of this box's width, so children can find the 1440:680 box's own height (47.2222cqw) even when the box grows taller to fit the panel */
  --dome-h: clamp(400px, 31.94vw, 540px);
  min-width: 0; /* v3-1-33: without this, a taller-than-1440:680 box feeds its height back through aspect-ratio into the grid column's minimum width */
}

.curvetext {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 47.2222cqw;
  z-index: 2;
  pointer-events: none; /* v3-1-15: the SVG's own bounding box was intercepting clicks meant for dome-inner's button underneath it — only the individual heading labels below should be clickable */
}
.curve-label {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  fill: var(--clay);
  cursor: pointer;
  pointer-events: auto;
  transition: fill 300ms ease, filter 300ms ease;
}
.curve-label:hover,
.curve-label:focus-visible {
  fill: #7A3B22;
  filter: drop-shadow(0 0 6px rgba(154, 84, 51, 0.45));
  outline: none;
}
/* v3-1-37: solid underline drawn as its own arc, concentric with the heading curve, so it bends with the words */
.curve-ul { fill: none; stroke: var(--clay); stroke-width: 1.3; stroke-linecap: round; pointer-events: none; transition: stroke 300ms ease; }
.curve-label:hover + .curve-ul,
.curve-label:focus-visible + .curve-ul { stroke: #7A3B22; }

.dome-clip {
  position: absolute;
  left: 0; top: calc(47.2222cqw - var(--dome-h)); bottom: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  z-index: 1;
}
/* v3-1-33: when the panel needs more room than the dome leaves, the box grows downward; this espresso band covers the extra height (and the dome's glow beneath its base) so the dome still meets the fused footer exactly as before */
.dome-clip::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: var(--dome-h); bottom: 0;
  background: var(--espresso);
  z-index: 1;
}
.dome {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: clamp(1700px, 170.1vw, 2650px);
  height: clamp(400px, 31.94vw, 540px);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background:
    radial-gradient(ellipse 55% 100% at 50% 0%,
      rgba(247, 230, 196, 0.9) 0%,
      rgba(240, 200, 120, 0.55) 20%,
      rgba(201, 134, 47, 0.28) 42%,
      rgba(89, 66, 43, 0.55) 68%,
      rgba(51, 41, 31, 0.92) 100%);
  box-shadow: 0 0 90px 20px rgba(240, 200, 120, 0.22);
}
.dome-clip::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: clamp(1700px, 170.1vw, 2650px);
  height: clamp(400px, 31.94vw, 540px);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: radial-gradient(ellipse 50% 6% at 50% 0%, rgba(255, 246, 224, 0.95) 0%, rgba(255, 246, 224, 0) 100%);
  filter: blur(3px);
}
/* v3-1-33: the panel is in normal flow inside .horizon-wrap rather than absolutely positioned inside .dome-clip, so it can no longer be clipped. Its top sits where it always did (32% of the way down the dome, 36% from 1450px up); if the text needs more room than the dome leaves, the box grows downward instead of cutting off the CTA. */
.dome-inner {
  position: relative;
  margin: calc(47.2222cqw - 0.68 * var(--dome-h)) auto 0.35rem;
  width: 58vw;
  max-width: 620px;
  text-align: center;
  color: var(--ink);
  z-index: 2;
  background: rgba(247, 239, 226, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  padding: 1.1rem 2rem 1.3rem;
  box-shadow: 0 8px 28px rgba(38, 29, 20, 0.10);
}
.dome-inner .panel-label { color: var(--clay); margin-top: -0.2rem; margin-bottom: 0.7rem; display: block; font-weight: 700; font-size: 1.05rem; }
/* v3-1-13: pronunciation tag — inherits the label's color via currentColor, just dimmed and de-formalized, so it works in both the honey/clay desktop context and the light-on-dark mobile fallback without separate color rules */
.panel-label .pronunciation {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.92em;
  opacity: 0.86;
}
.dome-inner p { font-size: 1rem; line-height: 1.4; margin: 0 0 0.7rem; color: var(--espresso); }
.dome-inner .invite { font-style: italic; font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; margin: 0.5rem 0 0.7rem; color: var(--espresso-deep); }
.dome-inner .btn { margin-top: 0; }
@media (min-width: 1450px) {
  .dome-inner { margin-top: calc(47.2222cqw - 0.64 * var(--dome-h)); }
}

/* v3-1-12: About-page-only spacing/footer fuse for a near-zero-scroll composition. Scoped to .page--about-hero / .footer-fused so index.html and services-fees.html (which reuse .page and footer.site) are unaffected. */
.page--about-hero { padding-bottom: 0; }
.page--about-hero .hero-band--centered { padding-bottom: 0; }
footer.footer-fused {
  border-top: none;
  background: var(--espresso);
}
footer.footer-fused .wordmark { color: var(--cream-text); }
footer.footer-fused .foot-tag { color: var(--honey-soft); }
footer.footer-fused .foot-legal { color: var(--cream-text); opacity: 0.82; }

.mobile-fallback { grid-column: 1 / -1; display: none; }

/* v3-1-12: fixed to 899px (was 900px) so the desktop dome composition — and the checklist's own "check at 900px" criterion — actually agree; this toggle is scoped to just this block, not the sitewide 900px breakpoint used elsewhere */
/* v3-1-15: threshold at 999px — the enlarged Liwanag title/paragraph/invite text needs a touch more room than the previous round, moved up from 959px */
@media (max-width: 999px) {
  .horizon-wrap { display: none; }
  .mobile-fallback { display: block; }
  .mobile-fallback-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
  .mobile-fallback-list li { margin-bottom: 0.7rem; }
  .mobile-fallback-list button {
    all: unset; cursor: pointer;
    font-family: 'Newsreader', serif; font-style: italic; font-weight: 500;
    font-size: 1.05rem; color: var(--clay);
    text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
    transition: color 300ms ease, text-decoration-color 300ms ease;
  }
  .mobile-fallback-list button:hover,
  .mobile-fallback-list button:focus-visible {
    color: var(--honey); text-decoration-color: var(--honey);
  }
}

/* ── Modal reveal (About page) ── */
.bio-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(44, 37, 28, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.bio-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.bio-modal-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--peach);
  border-radius: 40px;
  box-shadow: 0 24px 60px rgba(38, 29, 20, 0.28);
  padding: 2.6rem 2.7rem;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 500ms ease-out;
}
.bio-modal-overlay.is-open .bio-modal-card {
  clip-path: circle(150% at 50% 50%);
}
/* v3-1-38: a slim clay scrollbar inside the About windows instead of the browser's gray one */
.bio-modal-card { scrollbar-width: thin; scrollbar-color: rgba(156, 84, 51, 0.45) transparent; }
.bio-modal-card::-webkit-scrollbar { width: 8px; }
.bio-modal-card::-webkit-scrollbar-track { background: transparent; margin: 28px 0; }
.bio-modal-card::-webkit-scrollbar-thumb { background: rgba(156, 84, 51, 0.45); border-radius: 999px; }
/* v3-1-38: the Grand Rounds video, once played, fills the card width at 16:9 */
.video-link[hidden] { display: none; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 1.4rem; border-radius: 18px; overflow: hidden; background: var(--espresso-deep); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) {
  .bio-modal-overlay, .bio-modal-card { transition: none; }
}
.bio-modal-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1.1rem;
  padding-right: 2rem;
  color: var(--clay);
}
.bio-modal-card p,
.bio-modal-card ul {
  margin-top: 1rem;
}
.bio-modal-card p:first-of-type {
  margin-top: 0;
}
.bio-modal-close {
  all: unset;
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  border-radius: 50%;
}
.bio-modal-close:hover,
.bio-modal-close:focus-visible {
  color: var(--ink);
  background: rgba(44, 37, 28, 0.08);
}
.bio-modal-close svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .bio-modal-card { padding: 2rem 1.6rem; max-height: 88vh; }
}

.parol-wrap {
  position: absolute;
  top: 6.8rem;
  right: -5.5rem;
  width: clamp(240px, 26vw, 320px);
  z-index: 0;
  color: var(--ink-faint);
  opacity: 0.62;
  pointer-events: none;
}
.parol-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
/* v3-1-38: the hero's travelling lantern is now the favicon lantern; its glow and flame (.parol-light) fade in as it lands */
.parol-wrap .parol-art { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; }
.parol-wrap .parol-art img { position: absolute; left: 50%; top: 47%; height: 56%; width: auto; transform: translate(-50%, -50%); }
.parol-wrap .parol-light { opacity: 0; }
.parol-wrap .parol-glow {
  position: absolute;
  left: 50%; top: 40%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--glow) 0%, rgba(201, 134, 47, 0) 68%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
}

@keyframes lw-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lw-glow-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-band h1 { animation: lw-rise 0.8s ease-out both; }
  .hero-photo-brand, .hero-photo .eyebrow { animation: lw-rise 0.8s ease-out both; }
  .hero-photo-doc, .hero-lockup-rule { animation: lw-rise 0.8s ease-out both; animation-delay: 0.14s; }
  .hero-photo h1, .hero-intro p { animation: lw-rise 0.8s ease-out both; animation-delay: 0.28s; }
  .hero-photo .btn-outline { animation: lw-rise 0.8s ease-out both; animation-delay: 0.5s; }
  .hero-band .lede,
  .hero-band .text > p:not(.lede):not(.accepting),
  .hero-band .hero-belief,
  .hero-band .ruled,
  .hero-band .panel.lamplit {
    animation: lw-rise 0.8s ease-out both;
    animation-delay: 0.2s;
  }
  .hero-band .accepting,
  .hero-band .btn {
    animation: lw-rise 0.8s ease-out both;
    animation-delay: 0.42s;
  }
  .parol-wrap { animation: lw-glow-in 1.6s ease-out both; }
}
/* v3-1-37: Services & Fees sections fade in when opened, matching the Home and About pages' timing (CSS only; the navigator script is unchanged). Opacity only, with no movement, so deep links and phone scrolling land exactly where they did before. */
@media screen and (prefers-reduced-motion: no-preference) {
  .sf-js .sf-content .sf-intro.is-active,
  .sf-js .sf-content .panel-band.is-active { animation: lw-glow-in 0.8s ease-out both; }
}

/* ── Responsive ── */
/* v3-1-37: the header lockup plus the Request a Consultation button no longer fit on one row below 1000px, so the menu button takes over there (previously 640px) */
@media (max-width: 1000px) {
  .wordmark { order: 1; }
  .nav-toggle-btn { display: flex; order: 2; }
  .site-inner { row-gap: 0; column-gap: 0.75rem; }
  header.site nav[aria-label="Main"] { order: 3; flex-basis: 100%; }
  .site-nav { display: none; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding-top: 1rem; margin-top: 0.75rem; border-top: 1px solid var(--rule); }
  header.site.nav-open .site-nav { display: flex; }
}
@media (max-width: 640px) {
  header.site .wordmark { font-size: 1.06rem; gap: 0.6rem; }
}
@media (max-width: 400px) {
  header.site .wordmark { font-size: 0.98rem; gap: 0.5rem; }
}
@media (max-width: 359px) {
  header.site .wm-rule, header.site .wm-doc { display: none; }
}
@media (max-width: 1000px) {
  .site--over-hero .site-nav { border-top-color: rgba(247, 239, 226, 0.18); }
}
/* v3-1-39: below 900px the hero stacks and centers: brand, rule, name, tagline, introduction */
@media (max-width: 900px) {
  .hero-photo-content { text-align: center; }
  .hero-lockup { grid-template-columns: minmax(0, 1fr); row-gap: 0.95rem; justify-items: center; }
  .hero-photo-brand, .hero-lockup-rule, .hero-photo-doc, .hero-lockup h1, .hero-intro p { grid-column: 1; grid-row: auto; }
  .hero-photo-brand { align-items: center; }
  .hero-photo-brand .brand-sub { margin-right: -0.3em; }
  .hero-photo-brand .brand-txt { white-space: normal; }
  .hero-lockup-rule { align-self: center; width: 3rem; height: 1px; }
  .hero-photo-doc { justify-self: center; }
  .hero-lockup h1 { margin-top: 0.7rem; }
  .hero-intro { font-size: 1rem; }
  .hero-intro p { max-width: 34rem; }
  .hero-intro p:first-child, .hero-intro p + p { grid-column: 1; grid-row: auto; }
  .hero-intro p + p { margin-top: 0; }
}
@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; gap: 1.1rem; padding: 2.6rem 0; }
  .rail .rail-note { display: none; }
  .hero-band { padding-top: 2.8rem; }
  .page::before { width: 420px; height: 420px; right: -8rem; }
  .parol-wrap { width: 130px; top: 0.2rem; right: 0.5rem; opacity: 0.4; }
}
@media (max-width: 640px) {
  .hero-photo { background-position: 20% center; }
  .parol-wrap { width: 92px; top: 0.1rem; right: 0.5rem; opacity: 0.38; }
  .wordmark { order: 1; }
  .nav-toggle-btn { display: flex; order: 2; }
  .site-inner { row-gap: 0; }
  header.site nav[aria-label="Main"] { order: 3; flex-basis: 100%; }
  .site-nav { display: none; flex-direction: column; gap: 0.9rem; padding-top: 1rem; margin-top: 0.75rem; border-top: 1px solid var(--rule); }
  header.site.nav-open .site-nav { display: flex; }
  .hero-photo { min-height: 100vh; min-height: 100svh; padding-top: 5.5rem; }
  .hero-photo-content { padding: 0 1.25rem; }
  .sun-pt { width: 19px; height: 19px; }
  .hero-photo h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .site-inner { padding: 1rem 1.25rem; }
  .page { padding: 0 1.25rem 3rem; }
  .foot-inner { padding: 2rem 1.25rem 2.6rem; }
  .site-nav { gap: 1.1rem; flex-wrap: wrap; }
  .fee-sheet td.amt { padding-left: 0.8rem; font-size: 1.2rem; }
  .lamplit, .close-band .text { padding: 1.9rem 1.6rem; }
}

/* v3-1-43: Home hero descriptive line, above the tagline inside the h1 */
.hero-kicker {
  display: block;
  font-family: 'Karla', sans-serif;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--honey-soft);
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 10px rgba(20, 14, 8, 0.7);
}
/* wide screens: the line sits just above the tagline without changing the h1's height, so the tagline stays centered on the first paragraph and the two paragraphs keep their spacing */
@media (min-width: 901px) { .hero-kicker { position: absolute; left: 0; bottom: 100%; white-space: nowrap; } }
@media (max-width: 640px) {
  .hero-kicker { font-size: 0.7rem; letter-spacing: 0.12em; margin-bottom: 0.7rem; }
  .hero-kicker .hk-sep { display: none; }
  .hero-kicker .hk-b { display: block; }
}

/* v3-1-43: facts row -- label over value, thin rules between (Home "where I practice" strip, consultation page) */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.fact { padding: 0 1.6rem; border-left: 1px solid var(--rule); }
.fact:first-child { padding-left: 0; border-left: none; }
.facts dt {
  font-family: 'Karla', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.3rem;
}
.facts dd { font-family: 'Newsreader', serif; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.reach { background: var(--plaster); border-bottom: 1px solid var(--rule); position: relative; z-index: 1; }
.reach-inner { max-width: 1120px; margin: 0 auto; padding: 1.7rem 2rem 1.5rem; }
.reach .facts { grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.5fr) minmax(0, 1.15fr); }
.reach-link {
  display: inline-block;
  margin-top: 1.05rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--clay);
  text-decoration: underline;
  text-decoration-color: var(--honey-soft);
  text-underline-offset: 3px;
}
.reach-link:hover { text-decoration-color: var(--clay); }
.facts--card { background: var(--peach); border-radius: var(--radius); padding: 1.3rem 1.6rem; margin-top: 1.8rem; box-shadow: var(--shadow-soft); }
.facts--card dd { font-size: 1.12rem; }
@media (max-width: 640px) {
  .facts, .reach .facts { grid-template-columns: 1fr; }
  .fact { padding: 0.75rem 0; border-left: none; border-top: 1px solid var(--rule); }
  .fact:first-child { padding-top: 0; border-top: none; }
  .reach-inner { padding: 1.4rem 1.25rem 1.3rem; }
  .facts--card .fact { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0; }
  .facts--card .fact:first-child { padding-top: 0; }
  .facts--card .fact:last-child { padding-bottom: 0; }
  .facts--card dt { margin-bottom: 0; }
}

/* v3-1-43: Services & Fees -- where and how we meet, on the landing view; visit mode on the follow-up cards */
.where-panel { margin-top: 1.6rem; }
.fee-card .svc .nw { white-space: nowrap; }
.fee-card .dur-mode {
  display: block;
  width: fit-content;
  margin-top: 0.45rem;
  padding: 0.12rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(201, 134, 47, 0.17);
  color: var(--espresso);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* v3-1-43: consultation page */
.consult-intro .text h1 { margin-bottom: 1.1rem; }
.text p.consult-note { margin-top: 1.3rem; }
.text p.crisis {
  margin-top: 1.8rem;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--clay);
  background: var(--peach);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}
.text p.crisis strong { color: var(--ink); }

/* ============================================================
   SERVICES & FEES — section list + one section at a time (v3-1-34)
   Desktop: the six sections are listed in a column on the left;
   choosing one shows it in the centered content area to the right.
   Each section has its own URL (#fees etc.), so Back, bookmarks and
   links from other pages work. Without JavaScript (no .sf-js on
   <html>), every section simply shows, one after another.
   ============================================================ */
.sf-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
  padding: 4.2rem 0 1rem;
  position: relative;
  z-index: 1;
}
.sf-nav .rail-title { margin-bottom: 1.1rem; }
.sf-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
}
.sf-overview-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-nav .anchor-list { margin-top: 0; }
.sf-nav .anchor-list li { margin-bottom: 0; }
.sf-nav .anchor-list a {
  display: block;
  padding: 0.6rem 0 0.6rem 0.95rem;
  border-bottom: none;
  border-left: 2px solid var(--rule);
  line-height: 1.35;
}
.sf-nav .anchor-list a:hover { color: var(--clay); border-left-color: var(--honey-soft); }
.sf-nav .anchor-list a[aria-current="true"] { color: var(--clay); border-left-color: var(--honey); }
.sf-nav a:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.sf-content { container-type: inline-size; min-width: 0; }
.sf-content .text { margin-left: auto; margin-right: auto; }
.sf-content .sf-intro,
.sf-content .panel-band { display: block; padding: 0 0 3rem; border-top: none; }
.sf-content .panel-band > .rail { display: none; }
.sf-js .sf-content .sf-intro:not(.is-active),
.sf-js .sf-content .panel-band:not(.is-active) { display: none; }
.sf-intro:focus, .panel-band:focus { outline: none; }
html:not(.sf-js) .sf-content .panel-band { border-top: 1px solid var(--rule); padding-top: 3rem; }

/* Wide elements (fee cards, two-column lists) span the whole content area, centered under the text */
@media (min-width: 901px) {
  .sf-content .full-bleed,
  .sf-content .fee-cards {
    width: 100cqw;
    margin-left: calc((100% - 100cqw) / 2);
  }
}

@media (max-width: 900px) {
  .sf-layout { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2.8rem; }
  .sf-nav { border-bottom: 1px solid var(--rule); padding-bottom: 1.2rem; }
  .sf-content .panel-band { scroll-margin-top: 1rem; }
}

/* PRINT — Services & Fees prints as one continuous document */
@media print {
  @page { margin: 0.7in; }
  .faq .a[hidden] { display: block !important; content-visibility: visible !important; }
  .faq-icon { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; overflow: visible !important; }
  body { font-size: 11pt; line-height: 1.5; }
  header.site, .skip-link, .nav-toggle-btn,
  .sf-nav,
  .close-band, .page::before, .parol-wrap, .dome-clip, .horizon-wrap,
  .bio-modal-overlay, .scroll-cue { display: none !important; }
  /* v3-1-39: the hero now carries the introduction, so it prints as plain text instead of disappearing */
  .hero-photo { display: block !important; min-height: 0 !important; padding: 0 0 1rem !important; background: none !important; }
  .hero-photo::after { display: none !important; }
  .hero-photo-content { max-width: none !important; padding: 0 !important; opacity: 1 !important; }
  .hero-photo *, .hero-intro strong { color: #000 !important; text-shadow: none !important; opacity: 1 !important; animation: none !important; }
  .hero-lockup-rule { background: #999 !important; }
  .mobile-fallback { display: block !important; }
  .sf-layout, .sf-intro { display: block !important; padding: 0; }
  .panel-band { display: block !important; min-height: 0 !important; border-top: 1px solid #bbb; padding: 1.2rem 0; break-inside: auto; }
  .band { display: block; grid-template-columns: none; padding: 1.2rem 0; }
  .rail { margin-bottom: 0.4rem; }
  .full-bleed, .fee-cards { margin-left: 0 !important; width: 100% !important; max-width: 100% !important; }
  .fee-card, .panel, .lamplit { background: none !important; color: #000 !important; box-shadow: none !important; border: 1px solid #999; break-inside: avoid; }
  .lamplit p, .lamplit .panel-label, .panel-label { color: #000 !important; }
  .fee-card .amt, .fee-card .svc, .fee-card .dur { color: #000 !important; text-shadow: none !important; }
  footer.site, footer.footer-fused { background: none !important; border-top: 1px solid #999; }
  footer.site *, footer.footer-fused * { color: #000 !important; opacity: 1 !important; }
  .band > .text, .text { max-width: none !important; width: 100% !important; }
  .fee-cards { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem !important; }
  .fee-card:first-child { grid-column: 1 / -1; }
  .fee-card { padding: 0.8rem 0.8rem; }
  a { color: #000; text-decoration: underline; }
}
