/* ============================================
   FP Counselling — 2026
   Warm. Light. Therapist-first.
   ============================================ */

:root {
  /* Paper-cream palette */
  --bg: #fbf6ec;
  --bg-alt: #f3ecdb;
  --bg-soft: #f7f0e1;
  --surface: #ffffff;
  --ink: #2d2620;
  --ink-soft: #6e6457;
  --ink-mute: #a59b87;
  --line: #ebe1ca;
  --line-soft: #f0e8d4;

  /* Sage primary, clay secondary, blush warmth */
  --sage: #859a6e;
  --sage-deep: #5a6c46;   /* deepened from #677a52 to clear WCAG AA on cream (links, kickers, CTA bg) */
  --sage-soft: #dde4cd;
  --sage-light: #b1bf9d;  /* between sage and sage-soft — soft "it's yours" accents (booked-slot ring) */
  --clay: #b07556;
  --clay-deep: #8e5a3f;
  --clay-soft: #ecd6c5;
  --blush: #e8c8b8;
  --cream: #fbf2e0;

  /* Legacy aliases used by older selectors */
  --accent: var(--sage);
  --accent-dark: var(--sage-deep);
  --accent-soft: var(--sage-soft);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(45, 38, 32, 0.04);
  --shadow-sm: 0 2px 6px rgba(45, 38, 32, 0.05), 0 1px 2px rgba(45, 38, 32, 0.04);
  --shadow: 0 8px 24px -8px rgba(45, 38, 32, 0.10), 0 2px 6px rgba(45, 38, 32, 0.05);
  --shadow-lg: 0 24px 56px -20px rgba(45, 38, 32, 0.18);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Cambria", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --maxw-prose: 64ch;
}

/* Site is intentionally always warm/cream — no auto dark mode.
   Dark-mode browsers see the same paper-cream palette. */

/* -------- base -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--sage-deep); text-decoration: none; }
a:hover { color: var(--clay-deep); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

/* -------- typography -------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 4.5vw + 0.5rem, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 2.5vw + 0.6rem, 2.5rem); }
h3 { font-size: clamp(1.2rem, 0.8vw + 0.95rem, 1.45rem); }
h4 { font-size: 0.95rem; font-family: var(--sans); font-weight: 600; color: var(--ink-soft); }
p { max-width: var(--maxw-prose); }
.lede { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.25rem); color: var(--ink-soft); line-height: 1.55; }

.kicker, .eyebrow {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  color: var(--sage-deep); font-size: 1rem;
  font-weight: 400; letter-spacing: 0.01em;
  text-transform: none;
  margin-bottom: 0.75rem;
}
/* normalise old hero markup if a page still uses it */
.hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); position: relative; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  color: var(--sage-deep); font-size: 1rem;
  margin-bottom: 1rem;
}
.hero__eyebrow::before { content: none !important; }
.hero__lede { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem); color: var(--ink-soft); line-height: 1.55; margin-bottom: 1.5rem; max-width: 50ch; }
.hero__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* -------- layout primitives -------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 880px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.bg-alt { background: var(--bg-alt); }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--cream); }

/* -------- staging banner (only emits when STAGING=1 at build time) -------- */
/* Staging indicator — a small pulsing amber dot pinned by the logo; hover/focus for details.
   Replaces the old full-width banner so it doesn't intrude while reviewing the real UI. */
.staging-dot {
  position: fixed; top: 13px; left: 12px; z-index: 200;
  width: 11px; height: 11px; border-radius: 50%;
  background: #f59e0b; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55);
  animation: staging-pulse 1.9s ease-out infinite; cursor: help;
}
@keyframes staging-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
@media (prefers-reduced-motion: reduce) { .staging-dot { animation: none; } }
.staging-dot__tip {
  position: absolute; top: 17px; left: -2px; white-space: nowrap;
  background: #78350f; color: #fff; font: 500 0.72rem/1.45 var(--sans);
  padding: 0.4rem 0.6rem; border-radius: 6px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-2px);
  transition: opacity 120ms ease, transform 120ms ease; pointer-events: none;
}
.staging-dot:hover .staging-dot__tip,
.staging-dot:focus .staging-dot__tip,
.staging-dot:focus-within .staging-dot__tip { opacity: 1; visibility: visible; transform: none; }
.staging-dot__tip code { color: #fcd34d; }

/* -------- header (soft, calm, light) -------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif); font-weight: 500; font-size: 1.15rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand__mark { width: auto; height: 40px; flex-shrink: 0; display: block; }
/* <picture> is just a WebP-with-fallback wrapper — keep it layout-transparent so the
   inner <img> styling/sizing resolves against the real parent. */
.brand picture, .therapist-card__photo picture { display: contents; }
@media (max-width: 640px) {
  .brand__mark { height: 36px; }
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important; border: 0 !important;
}
.nav { display: flex; gap: 1.4rem; margin-inline-start: auto; align-items: center; }
.nav a {
  color: var(--ink); font-size: 0.95rem; font-weight: 400;
  padding-top: 0.35rem; padding-bottom: 0.35rem;
  position: relative;
}
.nav a:hover { color: var(--sage-deep); }
.nav a[aria-current="page"] { color: var(--sage-deep); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--sage);
}
.nav__phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--ink-soft); font-variant-numeric: tabular-nums;
  font-size: 0.92rem; letter-spacing: 0.01em;
  margin-inline-start: 0.4rem; padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}
.nav__phone:hover { color: var(--sage-deep); }
.nav__phone svg { color: var(--sage-deep); opacity: 0.85; }
.nav__consult.btn-pill {
  background: var(--sage-deep); color: #fff !important;   /* white-on-sage was 3.06:1; sage-deep clears AA */
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid var(--sage-deep);
  transition: background 140ms ease;
}
.nav__consult.btn-pill:hover { background: #4c5a3a; border-color: #4c5a3a; color: #fff !important; }
.nav__consult.btn-pill[aria-current="page"]::after { display: none; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  margin-inline-start: auto;
  border-radius: 999px; border: 1px solid var(--line);
  align-items: center; justify-content: center;
  color: var(--ink-soft);
}
.nav-toggle svg { width: 20px; height: 20px; }
/* Close (✕) button — lives inside the full-screen mobile overlay; hidden elsewhere. */
.nav__close { display: none; }
/* Lock background scroll with NO scroll jump: pin the body in place (top is set in
   JS to -scrollY) and restore the offset on close. Plain overflow:hidden reset the
   scroll to the top, which snapped the staging banner back and displaced the header
   under the open menu — stranding the close control. */
body.nav-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
@media (max-width: 880px) {
  /* Drop backdrop-filter on mobile so .nav { position: fixed } positions
     relative to the viewport, not the header. (backdrop-filter creates a new
     containing block, which was previously clipping the open dropdown to a
     narrow 68px-tall band right under the header.) */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    /* Full-screen, self-contained overlay (z above the header) so banner state,
       header position, and scroll offset can't break it. Closes via the ✕, a
       link tap, empty space, or Esc. */
    position: fixed; inset: 0; z-index: 70;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--bg); padding: 4rem 1.25rem 1.25rem;
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__close {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; top: 1rem; right: 1rem;
    width: 42px; height: 42px;
    border-radius: 999px; border: 1px solid var(--line);
    background: var(--bg); color: var(--ink-soft);
  }
  .nav__close svg { width: 22px; height: 22px; }
  .nav a {
    padding: 1rem 0.25rem; border-bottom: 1px solid var(--line-soft);
    font-size: 1.1rem;
  }
  .nav a[aria-current="page"]::after { display: none; }
  /* Phone: drop the desktop divider/indent — meaningless in a stacked column */
  .nav__phone {
    padding: 1rem 0.25rem;
    border-left: none;
    margin-inline-start: 0;
  }
  /* Consult pill: full-width primary CTA in the mobile stack.
     Override the desktop padding and the .nav a bottom-border, centre the text. */
  .nav__consult.btn-pill {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.95rem 1.4rem !important;
    border-bottom: none;
  }
}

/* -------- buttons (softer pill shape, lighter weight) -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.78rem 1.4rem; border-radius: 999px;
  font-weight: 500; font-size: 0.97rem; letter-spacing: 0.005em;
  background: var(--sage-deep); color: #fff;   /* white-on-sage was 3.06:1; sage-deep clears AA */
  border: 1px solid var(--sage-deep);
  transition: background 140ms ease, transform 80ms ease, border-color 140ms ease;
  white-space: nowrap;
}
.btn:hover { background: #4c5a3a; color: #fff; border-color: #4c5a3a; }   /* darker than the resting sage-deep so hover still reads */
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-alt); color: var(--ink); border-color: var(--ink-mute); }
.btn--clay { background: var(--clay); border-color: var(--clay); }
.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn--quiet { background: transparent; border: 0; color: var(--sage-deep); padding-inline: 0; font-weight: 500; }
.btn--lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

/* -------- hero (calm, lots of breath) -------- */
.hero-soft {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;  /* clips the ::before/::after decorative blobs that overflow the viewport */
}
.hero-soft__intro {
  max-width: 38ch;
}
/* The kicker now sits below h1 as a subtitle — tighten the h1 gap when followed by one. */
.hero-soft h1:has(+ .hero-soft__kicker) { margin-bottom: 0.4rem; }
.hero-soft__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  /* top-align, NOT center: the form changes height (variant A reveals sections on
     slot-pick; variant B's steps differ in height). Centering re-centered both columns
     on every change, making the intro + form jump. Top-aligned, the form just grows
     downward and the intro stays put. */
  align-items: start;
}
@media (max-width: 920px) {
  .hero-soft__split { grid-template-columns: minmax(0, 1fr); }   /* minmax(0,…), NOT bare 1fr (=minmax(auto,1fr)): a bare 1fr sizes to the column's min-content, so the day-chip scroll row overflows the column → whole page scrolls right on mobile. minmax(0,…) caps the column at the viewport and lets the row scroll. */
  .hero-soft__intro { max-width: 50ch; }
}
/* free-consult: mirror the hero (form on the left) so the page reads as distinct from
   the form-on-the-right widgets you navigate in from. Desktop only — mobile stays
   stacked with the intro first (DOM order). */
@media (min-width: 921px) {
  .hero-soft__split--form-left .hero-soft__intro { order: 2; }
}
.hero-soft__kicker {
  display: inline-block; font-family: var(--serif); font-style: italic;
  color: var(--sage-deep); font-size: 1rem; margin-bottom: 1.25rem;
}
.hero-soft h1 {
  font-size: clamp(2.4rem, 4vw + 0.5rem, 3.6rem);
  font-weight: 500; line-height: 1.08; margin-bottom: 1.25rem;
}
.hero-soft h1 em {
  font-style: italic; color: var(--sage-deep); font-weight: 500;
}
.hero-soft__lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  color: var(--ink-soft); line-height: 1.55; margin-bottom: 1.75rem;
}
.hero-soft__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }
.hero-soft__inline-meta {
  margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  font-size: 0.9rem; color: var(--ink-mute);
}
.hero-soft__inline-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
/* Hero scroll cue — a button (primary on home, ghost on free-consult) that scrolls to
   the section below. Top margin applies when it stands alone (free-consult); zeroed
   inside the home meta row (next rule). */
.hero-cue { margin-top: 2rem; }
.hero-soft__inline-meta .hero-cue { margin-top: 0; }   /* home: cue sits in the meta row beside the rates link */
.hero-cue__arrow { display: inline-block; }
/* Home: pull the therapist section up so its heading + faces "peek" above the fold
   under the hero form (anti-bounce); scroll-margin clears the sticky header on jump. */
#therapists, #what-to-expect { padding-block: clamp(1.75rem, 3.5vw, 3rem) clamp(3.5rem, 7vw, 6rem); scroll-margin-top: 88px; }
/* Deep-links from the booking widgets + hero ("Most plans cover us →") land on the rates
   insurance block; scroll-margin clears the sticky header so the heading isn't hidden. */
#insurance { scroll-margin-top: 88px; }
/* Reassurance inline with the insurance question — a soft sub-note, not its own line. */
.book-widget__rates-note { font-size: 0.85rem; font-style: normal; color: var(--sage-deep); white-space: nowrap; }

/* organic shape — quiet decorative blob behind hero */
.hero-soft::before {
  /* top in rem, not %, so the decorative blob can't shift if the hero height
     ever changes after load (it was the CLS culprit in Lighthouse). */
  content: ""; position: absolute; right: -6%; top: -1.5rem;
  width: 540px; height: 540px; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, var(--clay-soft) 0%, transparent 65%);
  opacity: 0.55; z-index: -1; border-radius: 50%;
}
.hero-soft::after {
  content: ""; position: absolute; left: -10%; bottom: -20%;
  width: 460px; height: 460px; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, var(--sage-soft) 0%, transparent 65%);
  opacity: 0.5; z-index: -1; border-radius: 50%;
}

/* -------- section header -------- */
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 2rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.section-head__copy { max-width: 38rem; }
.section-head__copy .kicker { display: block; margin-bottom: 0.5rem; }
.section-head__copy h2 { margin-bottom: 0.6rem; }
.section-head__copy p { color: var(--ink-soft); }
.section-head__action { flex-shrink: 0; }
@media (max-width: 700px) { .section-head { flex-direction: column; align-items: start; } }

/* -------- therapist card (warmer, larger, voice-led) -------- */
.therapist-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.therapist-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  color: inherit;
  box-shadow: var(--shadow-xs);
}
.therapist-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
  border-color: var(--sage-soft); color: inherit;
}
.therapist-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.therapist-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1), filter 400ms ease;
  display: block;
}
.therapist-card:hover .therapist-card__photo img {
  transform: scale(1.03);
}
.therapist-card__accepting {
  position: absolute; top: 0.9rem; right: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sage-deep);
  font-size: 0.7rem; font-weight: 600;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}
.therapist-card__accepting--full {
  color: var(--ink-mute);
}
.therapist-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.4rem; flex: 1;
}
.therapist-card__name {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  line-height: 1.15; color: var(--ink); letter-spacing: -0.01em;
}
.therapist-card__cred { color: var(--ink-soft); font-size: 0.88rem; }
.therapist-card__lead {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 1rem;
  line-height: 1.5; margin-top: 0.65rem;
}
.therapist-card__meta {
  margin-top: auto; padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--ink-soft);
}
/* Push the meta row to the bottom of the card so the language + read-bio
   line hugs the bottom edge regardless of how short the quote is. The card
   body is already a flex column with flex:1; meta uses margin-top:auto and
   the lead gets a small bottom buffer so it doesn't kiss the border. */
.therapist-card__lead { margin-bottom: 1rem; }
.therapist-card__meta-langs { font-style: italic; }
.therapist-card__link {
  color: var(--sage-deep); font-weight: 500;
}

/* -------- specialty filter (gentler) -------- */
.filter-bar {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter-bar__row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center;
}
.filter-bar__label {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 1rem;
  margin-inline-end: 0.25rem;
}
.filter-chip {
  padding: 0.4rem 0.95rem; border-radius: 999px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 400;
  /* no transition — instant hover/select (rapid-use filter chips) */
}
.filter-chip:hover { border-color: var(--sage); color: var(--sage-deep); }
.filter-chip.is-active {
  background: var(--sage-deep); color: #fff; border-color: var(--sage-deep);  /* white on --sage failed AA (3.07:1); --sage-deep clears it */
}

/* Secondary language row — quieter typographic treatment, always own line */
.filter-bar__row--langs {
  gap: 0.35rem;
  padding-top: 0.4rem;
  margin-top: 0.1rem;
}
.filter-bar__langs-label {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 0.92rem;
  margin-inline-end: 0.25rem;
}
.filter-chip--lang {
  padding: 0.2rem 0.55rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-family: var(--serif); font-style: italic;
}
.filter-chip--lang:hover {
  color: var(--sage-deep);
  border-bottom-color: var(--sage);
}
.filter-chip--lang.is-active {
  background: transparent;
  color: var(--sage-deep);
  border: 0;
  border-bottom: 1px solid var(--sage);
  font-weight: 500;
}
.therapist-card[hidden] { display: none; }
.filter-empty {
  display: none; padding: 2.5rem; text-align: center;
  color: var(--ink-soft); font-family: var(--serif); font-style: italic;
  background: var(--bg-soft); border-radius: var(--radius-lg);
}
.filter-empty.is-visible { display: block; }
.filter-reset {
  background: none; border: none; padding: 0;
  color: var(--sage-deep); text-decoration: underline; cursor: pointer;
  font: inherit;
}
.filter-reset:hover { color: var(--ink); }

/* -------- services as a quiet list, not flashy cards -------- */
.service-list {
  display: grid; gap: 0;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }
.service-item {
  display: block;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 140ms ease, padding-inline 140ms ease;
}
.service-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 2rem; }
.service-item:nth-child(even) { padding-left: 2rem; }
@media (max-width: 760px) {
  .service-item:nth-child(odd) { border-right: 0; padding-right: 0; }
  .service-item:nth-child(even) { padding-left: 0; }
}
.service-item:hover { color: var(--sage-deep); }
.service-item h3 {
  font-size: 1.45rem; font-weight: 500; margin-bottom: 0.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: inherit;
}
.service-item h3 svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.5; transition: transform 140ms ease, opacity 140ms ease; }
.service-item:hover h3 svg { transform: translateX(4px); opacity: 1; }
.service-item p { color: var(--ink-soft); font-size: 1rem; }

/* -------- card grid (kept for other pages) -------- */
.card-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  box-shadow: var(--shadow-xs);
}
a.card { color: inherit; }
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-soft);
}
/* Author rule needed: .card { display: flex } above defeats the user-agent
   [hidden] { display: none }. Without this, the blog/services filter sets
   card.hidden = true but the card stays visible. */
.card[hidden] { display: none; }
.card h3 { font-size: 1.3rem; font-weight: 500; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--sage-soft); color: var(--sage-deep);
  margin-bottom: 0.25rem;
}
.card__link {
  margin-top: auto; padding-top: 0.65rem;
  font-weight: 500; font-size: 0.93rem; color: var(--sage-deep);
  display: inline-flex; align-items: center; gap: 0.3rem;
}

/* -------- prose / bio -------- */
.prose { max-width: var(--maxw-prose); }
.prose p + p { margin-top: 1.1rem; }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.25rem; padding-left: 0.75rem; }
.prose li + li { margin-top: 0.4rem; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.7rem; font-weight: 500; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.5rem; font-size: 1.25rem; }

/* Stacked list — the canonical treatment for a short list of statements (promises,
   "what it's not", etc.): hairline-divided rows, no bullets. Add --center when it's a
   single full-width column under a centered heading; omit it inside a two-column layout. */
.stack-list { list-style: none; margin: 0; padding: 0; }
.stack-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
.stack-list li:last-child { border-bottom: 0; }
.stack-list--center { text-align: center; }
.prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sage-soft); text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: var(--sage); }

/* -------- bio page -------- */
.bio-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  /* Top space comes from the crumb's padding-top (matches hero-soft pages);
     only the bottom needs section padding so the photo sits level with where a
     hero-soft page's content starts. */
  padding-block: 0 clamp(3rem, 6vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .bio-head { grid-template-columns: 1fr; }
  .bio-head__photo { max-width: 280px; }  /* Don't let portrait photo take full mobile width */
}
.bio-head__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bio-head__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  display: block;
}
.bio-head h1 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 2.8rem);
  font-weight: 500; margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.bio-head__cred {
  color: var(--ink-soft); font-weight: 400;
  font-size: 0.72em;  /* relative to h1 — keeps proportion across viewports */
  font-family: var(--serif); font-style: italic;
  margin-left: 0.2em;
}
.bio-head__title {
  color: var(--ink-mute); font-size: 0.95rem; margin-bottom: 1.5rem;
}
.bio-head__lead {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 1vw + 0.6rem, 1.4rem);
  line-height: 1.45; color: var(--ink); margin-bottom: 1.5rem;
  max-width: 36ch; position: relative; padding-left: 1.5rem;
}
.bio-head__quote-mark {
  position: absolute; left: 0; top: -0.4rem;
  font-size: 2.2em; color: var(--sage-deep); line-height: 1;
  font-family: var(--serif); font-style: italic;
}
.bio-head__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.bio-head__hint {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-mute); font-size: 0.9rem;
  margin: 0.85rem 0 0;
}
.bio-meta {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  margin-block: 1.75rem 0; padding: 1.5rem;
  background: var(--bg-soft); border-radius: var(--radius);
}
@media (min-width: 640px) { .bio-meta { grid-template-columns: 1fr 1fr; } }
.bio-meta dt {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-mute); font-size: 0.9rem; margin-bottom: 0.5rem;
}
.bio-meta dd { font-size: 0.95rem; color: var(--ink); }

/* Bio section heading ("About {first}") — specificity-bump so .prose h2 doesn't add 2.5rem margin-top */
.prose h2.bio-section__head,
.bio-section__head {
  margin-top: 0; font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--ink-soft); font-size: 1.1rem; text-transform: none; letter-spacing: 0;
}

/* Right-rail asides: consistent visual treatment */
.bio-aside { margin-bottom: 1.75rem; }
.bio-aside h3 { margin-bottom: 0.85rem; }
.bio-aside__sublabel {
  display: block; font-family: var(--serif); font-style: italic;
  color: var(--ink-mute); font-size: 0.92rem;
  margin-top: 1.25rem; margin-bottom: 0.5rem;
}
.bio-aside--links ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.bio-aside--links a { font-size: 0.95rem; }

/* Excerpt card — replaces the old generic "Most-asked first question" card */
.bio-excerpt {
  background: var(--bg-soft); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  margin-bottom: 1.75rem;
}
.bio-excerpt__mark {
  position: absolute; top: 0.3rem; left: 1rem;
  font-family: var(--serif); font-style: italic;
  font-size: 3.2rem; line-height: 1;
  color: var(--sage-deep); opacity: 0.6;
}
.bio-excerpt p {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; line-height: 1.5; color: var(--ink);
  margin: 0 0 1rem;
}
.bio-excerpt__cta { font-weight: 500; font-size: 0.95rem; }

/* -------- rate table -------- */
.rate-table {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.rate-row {
  display: grid; grid-template-columns: 2fr 1fr; gap: 1rem;
  padding: 1.2rem 1.75rem; border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.rate-row:last-child { border-bottom: 0; }
a.rate-row {
  text-decoration: none; color: inherit;
  transition: background-color 0.15s ease;
}
a.rate-row:hover { background: rgba(0, 0, 0, 0.025); }
a.rate-row:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: -2px; }
a.rate-row .rate-row__service::after {
  content: " →"; color: var(--sage-deep);
  opacity: 0; transition: opacity 0.15s ease;
}
a.rate-row:hover .rate-row__service::after { opacity: 1; }
.rate-row__service { font-weight: 500; }
.rate-row__sub { display: block; color: var(--ink-soft); font-size: 0.88rem; font-weight: 400; margin-top: 0.15rem; }
.rate-row__price { font-family: var(--serif); font-size: 1.4rem; text-align: right; color: var(--ink); }
.rate-row__price small { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-mute); font-weight: 400; display: block; }

/* -------- faq -------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq__item {
  border-bottom: 1px solid var(--line-soft);
  padding: 1.2rem 0;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 11px; height: 11px;
  border-right: 1.5px solid var(--ink-mute); border-bottom: 1.5px solid var(--ink-mute);
  transform: rotate(45deg); transition: transform 200ms ease;
  margin-inline-start: auto; flex-shrink: 0; margin-block-end: 4px;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-block-end: -2px; }
.faq__body { color: var(--ink-soft); padding-top: 0.85rem; }

/* -------- soft CTA card (replaces dark stripe) -------- */
.cta-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 4vw, 3.5rem);
  display: grid; gap: 1.5rem;
  grid-template-columns: minmax(0, 1.6fr) auto;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-soft) 0%, transparent 70%);
  opacity: 0.7; pointer-events: none;
}
.cta-card > * { position: relative; }
@media (max-width: 700px) { .cta-card { grid-template-columns: minmax(0, 1fr); } }   /* minmax(0,…) not 1fr — keeps the embedded booking widget's day-chip scroll row from overflowing the column on mobile (see .hero-soft__split) */
/* Scope to the card's OWN copy block (the first child div) so these don't leak into
   an embedded booking widget's <h2>/<p> when cta_form is on (that gave the form's
   "Book a free consultation" header a different size/spacing inside the card). */
.cta-card > div > h2 {
  font-size: clamp(1.6rem, 2vw + 0.8rem, 2.1rem);
  font-weight: 500; margin-bottom: 0.55rem;
}
.cta-card > div > p { color: var(--ink-soft); max-width: 44ch; }
.cta-card__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
/* CTA card in form mode (cta_form: true): the booking widget simply occupies the
   right column where the buttons were — the card layout itself is unchanged. */
.cta-card__form { width: 100%; max-width: 30rem; }
/* Form-mode CTA card: pin the form column to a deterministic, content-independent
   width so the embedded book-widget AND the variant-B stepped form (.lf) render at
   the SAME width on every page. Previously the form sat in the grid's `auto` track,
   which sized to content and competed with the per-page text column → the width
   drifted page to page (most visible on bios). Scoped to ≥701px; ≤700px keeps the
   single-column stack. Both forms are forced to fill the wrapper so the two A/B
   variants also match each other. */
@media (min-width: 701px) {
  .cta-card:has(.cta-card__form) {
    grid-template-columns: minmax(0, 1fr) clamp(20rem, 48vw, 30rem);
    align-items: start;   /* the embedded form expands (variant A) / changes height per step (variant B) — keep the copy column from re-centering */
  }
}
.cta-card__form > .book-widget,
.cta-card__form > .lf { width: 100%; max-width: 100%; }

/* -------- consult form (soft) -------- */
.consult-form {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  max-width: 480px;
}
.consult-form__input {
  flex: 1; min-width: 220px;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 1rem;
}
.consult-form__input:focus {
  outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage);
}
.consult-form__note {
  margin-top: 0.7rem; font-size: 0.88rem; color: var(--ink-mute);
  font-style: italic; font-family: var(--serif);
}
.consult-form__success {
  display: none; padding: 1.1rem 1.4rem;
  background: var(--sage-soft); color: var(--sage-deep);
  border-radius: var(--radius); font-weight: 500;
}
.consult-form__success.is-visible { display: block; }

/* Richer consult form (with optional therapist preference) */
.consult-form-rich {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.consult-form-rich__label {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 0.95rem;
  margin-top: 0.6rem;
}
.consult-form-rich__input {
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 1rem;
  width: 100%;
}
.consult-form-rich__input:focus {
  outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage);
}
.consult-prefill {
  background: var(--sage-soft);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.consult-prefill .kicker { display: inline-block; margin-bottom: 0; color: var(--sage-deep); }
.consult-prefill p { color: var(--ink); }

/* -------- footer (light, soft, NOT dark) -------- */
.site-footer {
  background: var(--bg-alt);
  padding-block: clamp(3rem, 5vw, 4.5rem) 1.75rem;
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.5fr repeat(3, 1fr);
}
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h2 {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--ink-soft); font-size: 0.95rem;
  margin-bottom: 0.9rem; text-transform: none; letter-spacing: 0;
}
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer a {
  color: var(--ink); font-size: 0.95rem;
}
.site-footer a:hover { color: var(--sage-deep); }
/* .btn in the footer is a CTA, not a footer link: keep the white label
   (beats .site-footer a / a:hover specificity 0,1,1 with 0,2,0). */
.site-footer .btn { color: #fff; }
.site-footer .btn:hover { color: #fff; }
.site-footer__brand {
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  margin-bottom: 0.6rem; font-weight: 500;
}
.site-footer__brand em { font-style: italic; color: var(--sage-deep); }
.site-footer__logo {
  width: auto; max-width: 280px; height: auto;
  display: block; margin-bottom: 1rem;
}
.site-footer__about { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 1.2rem; max-width: 32ch; line-height: 1.55; }
.site-footer__legal {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--ink-soft); font-size: 0.85rem;
}

/* -------- breadcrumb / minor bits -------- */
.crumb {
  font-size: 0.88rem; color: var(--ink-mute);
  margin-bottom: 1.25rem; font-family: var(--serif); font-style: italic;
}
.crumb a { color: var(--ink-soft); }
.crumb a:hover { color: var(--sage-deep); }
.crumb__sep { margin-inline: 0.4rem; color: var(--ink-mute); }

/* -------- two-col -------- */
.two-col {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.two-col h3 {
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; font-weight: 500;
  color: var(--ink-soft); margin-bottom: 1rem;
  text-transform: none; letter-spacing: 0;
}

/* -------- pill list -------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; list-style: none; }
.pill-list li {
  background: var(--bg-soft); color: var(--ink-soft);
  padding: 0.35rem 0.85rem; border-radius: 999px;
  font-size: 0.88rem;
  border: 1px solid var(--line-soft);
}
/* Specialized training — line list, italic descriptors, no pills */
.bio-trainings {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.bio-trainings li {
  font-size: 0.92rem; color: var(--ink-soft); line-height: 1.45;
  padding-left: 1rem; position: relative;
}
.bio-trainings li::before {
  content: "·"; color: var(--sage-deep); font-weight: 700;
  position: absolute; left: 0.25rem; top: -0.05rem; font-size: 1.1rem;
}

/* -------- photo lightbox (native <dialog> + ::backdrop) -------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1200px);
  max-height: 94vh;
  width: auto;
  margin: auto;
  border-radius: var(--radius-lg);
  overflow: visible;
  color: inherit;
}
.lightbox::backdrop {
  background: rgba(20, 16, 12, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 94vh;
  width: auto; height: auto;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox__close {
  position: absolute;
  top: -14px; right: -14px;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  font-size: 1.5rem; line-height: 1;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--bg-alt); }

/* Open / close transitions */
.lightbox[open] {
  animation: lightbox-in 220ms cubic-bezier(.2,.7,.2,1);
}
.lightbox[open]::backdrop {
  animation: backdrop-in 220ms ease-out;
}
@keyframes lightbox-in {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Cursor hint on lightbox-able images */
[data-lightbox] { cursor: zoom-in; }

/* -------- skip link -------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 0.5rem 1rem; border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}
.skip:focus { left: 0; }

/* -------- soft conversational steps (replaces 1/2/3 SaaS pattern) -------- */
.steps {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
.steps__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  align-items: baseline;
}
.steps__item:last-child { border-bottom: 0; }
.steps__num {
  font-family: var(--serif); font-style: italic;
  color: var(--clay); font-size: 1.5rem;
  width: 2.5rem;
}
.steps__item strong {
  display: block; margin-bottom: 0.35rem;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.2rem; color: var(--ink);
}
.steps__item span { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }


/* -------- steps aside: a quiet footnote-shaped sentence under the i/ii/iii list -------- */
.steps-aside {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* -------- recognition tile (pull quote in the team grid) -------- */
/* Lives as the trailing grid item. JS sets `grid-column: span N` at runtime
   to fill the empty slots in the last row — see fitRecognitionTile() in
   app.js. CSS-only approaches fail because grid `auto-fill` creates implicit
   columns that we can't reference with a static span. Editorial pull-quote
   styling (no box, italic serif, sage left rule) so it never reads as a
   fake team member. Default to span 1; JS expands if there are empty slots. */
.recognition-tile {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0.5rem 1.5rem;
  border: none; background: transparent;
}
.recognition-tile__kicker {
  font-family: var(--sans); font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 0.85rem;
}
.recognition-tile__body {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 0.9vw + 0.9rem, 1.45rem);
  line-height: 1.4; margin: 0; color: var(--ink);
  border-left: 3px solid var(--sage); padding-left: 1.1rem;
}
.recognition-tile__body a { color: var(--ink); }

/* -------- utilities -------- */
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* -------- inline consult booking widget (homepage hero) -------- */
.book-widget,
.consult-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow);
  position: relative;
}
.consult-card__head {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 0.5rem;
}
.book-widget__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.3rem;   /* tight h2→sub gap, matching variant B's .lf__intro-sub */
}
.book-widget__head h2 {
  font-size: 1.4rem; font-weight: 500;
  letter-spacing: -0.01em;
}
.book-widget__field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.1rem; }
.book-widget__label {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 0.95rem;
}
.book-widget__chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.book-widget__chip {
  padding: 0.45rem 0.85rem; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line-soft);
  font-size: 0.88rem; font-weight: 400;
  /* No transition — instant hover/select. (Selection also doesn't change font-weight, which
     would re-width the label and nudge the flex-wrap row.) */
}
.book-widget__chip:hover { border-color: var(--sage); color: var(--sage-deep); }
.book-widget__chip[aria-pressed="true"] {
  background: var(--sage-soft); border-color: var(--sage); color: var(--sage-deep);
}
.book-widget__slots {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;
  /* Reserve 2 rows up-front: app.js injects the 4 slots after load, so without a
     reserved height the widget (and the hero) would grow → layout shift (CLS). */
  min-height: 7.5rem;
}
@media (min-width: 480px) { .book-widget__slots { grid-template-columns: repeat(3, 1fr); } }
/* No-availability state inside the reserved slot grid (spans all columns). */
.book-widget__slots-empty {
  grid-column: 1 / -1; align-self: center; margin: 0;
  color: var(--ink-mute); font-size: 0.9rem; line-height: 1.45;
}
.book-widget__slots-empty a { color: var(--ink); font-weight: 600; white-space: nowrap; }
/* Slot pill: "Today"/"Tomorrow" gets its own line above the date, which stays intact
   (so a tight pill breaks as "Tomorrow" / "Tue, Jun 9", never splitting the date). */
.book-widget__slot .slot-rel, .lf__slot .slot-rel {
  display: block; font-weight: 600; color: var(--sage-deep);
}
.book-widget__slot .slot-date, .lf__slot .slot-date { white-space: nowrap; }
/* Friendly green status banner above the picker when this browser already has an
   upcoming booking. Sage (positive), not clay — it's reassurance, not an error. */
.book-widget__prior-note {
  margin: 0 0 0.85rem; padding: 0.7rem 0.85rem;
  background: var(--sage-soft); color: var(--sage-deep);
  border-radius: var(--radius-sm); font-size: 0.85rem; line-height: 1.45;
}
/* "Resend the email" affordance inside the green banner (both forms). */
.book-resend__link { color: var(--sage-deep); font-weight: 600; text-decoration: underline; }
.book-resend__done { font-weight: 600; }
/* This browser's own upcoming booking: no fill (so it doesn't read as the active
   selection, which is sage-soft fill + sage border), marked instead by a soft light-green
   ring + the green "Your booking" badge where Today/Tomorrow would sit. The inset shadow
   gives the ring presence without a 2px border nudging layout. Not re-tappable.
   (.slot-booked inherits the sage-deep of .slot-rel — no colour override.) */
.book-widget__slot.is-booked, .lf__slot.is-booked {
  cursor: default; opacity: 1; background: var(--bg);
  border-color: var(--sage-light); box-shadow: inset 0 0 0 1px var(--sage-light);
}
.book-widget__slot.is-booked:hover, .lf__slot.is-booked:hover {
  border-color: var(--sage-light); background: var(--bg);
}
/* Skeleton pills — only shown if availability is slow (>220ms). Same box as a real slot
   so the times swap in with zero shift. */
.book-widget__slot--skeleton {
  min-height: 3.5rem; border-radius: var(--radius-sm); border: 1px solid var(--line-soft);
  background: linear-gradient(100deg, var(--line-soft) 30%, var(--bg-alt) 50%, var(--line-soft) 70%);
  background-size: 300% 100%; animation: fp-slot-shimmer 1.3s ease-in-out infinite;
}
@keyframes fp-slot-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .book-widget__slot--skeleton { animation: none; } }
/* Slot picker — time-prominent design ported from the stepped variant. */
.book-widget__slot {
  padding: 0.6rem 0.4rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line);
  font-size: 0.86rem; color: var(--ink); line-height: 1.25; text-align: center;
  min-height: 3.5rem;   /* fixed row height so the reserved slot-grid height matches exactly (no CLS) */
}
.book-widget__slot:hover { border-color: var(--sage); }
.book-widget__slot[aria-pressed="true"] { border-color: var(--sage); background: var(--sage-soft); }
.book-widget__slot small { display: block; color: var(--ink-mute); font-size: 0.74rem; }
.book-widget__more {
  display: inline-block; margin-top: 0.65rem;
  font-size: 0.85rem; color: var(--sage-deep);
}
.book-widget__more:hover { color: var(--sage-deep); }

/* ── slot-picker TRIAL: 'days' (day chips) + 'pages' (pager) ── */
.book-widget__days {
  display: flex; gap: 0.4rem; overflow-x: auto; margin-bottom: 0.65rem;
  padding-bottom: 0.3rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.book-widget__day {
  flex: 0 0 auto; padding: 0.45rem 0.7rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg); color: var(--ink);
  font-size: 0.82rem; font-weight: 500; line-height: 1.2; text-align: center; white-space: nowrap;
}
.book-widget__day small { display: block; color: var(--ink-mute); font-size: 0.72rem; font-weight: 400; }
.book-widget__day:hover { border-color: var(--sage); }
.book-widget__day[aria-pressed="true"] { border-color: var(--sage); background: var(--sage-soft); color: var(--sage-deep); }
.book-widget__day[aria-pressed="true"] small { color: var(--sage-deep); }
/* Next-week group: just a soft hairline divider before the next-calendar-week chips (no
   label — the gap + the date jump make the boundary clear). */
.book-widget__days-next {
  display: inline-flex; gap: 0.4rem; align-items: stretch;
  margin-left: 0.15rem; padding-left: 0.6rem; border-left: 1px solid var(--line-soft);
}

.book-widget__pager {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.6rem;
}
.book-widget__pager-btn { font-size: 0.85rem; color: var(--sage-deep); font-weight: 600; padding: 0.2rem 0; }
.book-widget__pager-btn[hidden] { display: none; }
.book-widget__pager-label { font-size: 0.78rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
/* Failure panel — replaces the collapsed form (mirrors .book-widget__success,
   clay tone instead of sage so it doesn't read as a confirmation). */
.book-widget__error-panel {
  display: none;
  background: var(--clay-soft); color: var(--clay-deep);
  padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--radius-lg);
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.5;
  scroll-margin-top: 88px;
}
.book-widget__error-panel.is-visible { display: block; }
.book-widget__error-panel p { margin: 0 0 0.85rem; }
.book-widget__error-panel p:last-child { margin-bottom: 0; }
.book-widget__error-panel strong { font-weight: 600; color: var(--ink); }
.book-widget__error-panel a { color: var(--clay-deep); text-decoration: underline; font-variant-numeric: tabular-nums; }
.book-error__headline {
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.35;
  padding-bottom: 0.9rem; margin-bottom: 1rem !important;
  border-bottom: 1px solid color-mix(in srgb, var(--clay-deep) 18%, transparent);
}
/* progressive disclosure — sections hidden until prior section is engaged */
.book-widget__section {
  overflow: hidden;
  max-height: 2000px;   /* generous cap so reveal transition works smoothly */
  opacity: 1;
  transition: max-height 0.22s ease-out, opacity 0.18s ease-out, margin 0.18s ease-out;
}
.book-widget__section.is-collapsed {
  max-height: 0; opacity: 0; margin-bottom: 0;
  pointer-events: none;   /* prevent tab into hidden inputs */
}
.book-widget__section-head {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 0.95rem;
  margin: 1.5rem 0 0.85rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.book-widget__row {
  display: grid; gap: 0.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .book-widget__row { grid-template-columns: 1fr 1fr; }
}
.book-widget__row .book-widget__field { margin-bottom: 0; }
.book-widget__hint { font-weight: 400; color: var(--ink-mute); font-size: 0.85em; }
.book-widget__sub { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 1rem; }
/* Subheader rows put the details on the left and push the "What to expect →" link to
   the right edge, so the line reads as two parts rather than a busy run-on. */
.book-widget__sub, .lf__intro-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem 0.75rem; flex-wrap: wrap; }
/* Quiet "What to expect →" link (both variants). Inherits the global link colour;
   underline gives a non-colour cue for contrast. */
.consult-learn { white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.book-widget__input {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  font: inherit; font-size: 1rem; background: white;
  color: var(--ink); min-height: 44px;
  box-sizing: border-box;
}
.book-widget__input:focus {
  outline: none; border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px var(--sage-soft);
}
.book-widget__input::placeholder { color: var(--ink-mute); opacity: 0.6; }
.book-widget__input[aria-invalid="true"] { border-color: var(--clay-deep); box-shadow: 0 0 0 3px var(--clay-soft); }
.book-widget__email {
  width: 100%; padding: 0.85rem 1.15rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 1rem;
}
.book-widget__email:focus {
  outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage);
}
.book-widget__submit { width: 100%; margin-top: 0.75rem; }
.book-widget__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  margin-top: 0.85rem;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-mute); font-size: 0.85rem;
}
.book-widget__foot a { color: var(--ink-soft); }
.book-widget__foot a:hover { color: var(--sage-deep); }
.book-widget__success {
  display: none;
  background: var(--sage-soft); color: var(--sage-deep);
  padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--radius-lg);
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.5;
  /* scrollIntoView lands the success at viewport top 0; the sticky header
     (68px) would otherwise cover it. scroll-margin-top adds clearance. */
  scroll-margin-top: 88px;
}
.book-widget__success.is-visible { display: block; }
.book-widget__success p { margin: 0 0 0.85rem; }
.book-widget__success p:last-child { margin-bottom: 0; }
.book-widget__success strong { font-weight: 600; color: var(--ink); }
.book-widget__success a { color: var(--sage-deep); text-decoration: underline; }
.book-success__headline {
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.35;
  padding-bottom: 0.9rem; margin-bottom: 1rem !important;
  border-bottom: 1px solid color-mix(in srgb, var(--sage-deep) 18%, transparent);
}
.book-success__crisis {
  margin-top: 1.25rem !important;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--sage-deep) 18%, transparent);
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
}
.book-success__crisis a {
  color: var(--ink); font-variant-numeric: tabular-nums; font-style: normal;
}

/* -------- location hero: text + waiting room photo paired -------- */
.location-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;   /* top-align text against the photo (consistent with the other heroes) */
}
@media (max-width: 760px) {
  .location-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.location-hero__text h1 {
  font-size: clamp(2.2rem, 4vw + 0.5rem, 3.4rem);
  margin-bottom: 1rem;
}
.location-hero__text .lede { max-width: 42ch; }

.location-hero__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 5;
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.location-hero__photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.location-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  display: block;
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}
.location-hero__photo:hover img { transform: scale(1.03); }

/* -------- visits section: visuals (map + thumbs) on left, practical info on right -------- */
.visits {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 760px) {
  .visits { grid-template-columns: 1fr; gap: 2.25rem; }
}

.visits__map iframe {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 0;
  border-radius: var(--radius-lg);
  display: block;
  background: var(--bg-alt);
  box-shadow: var(--shadow-xs);
}
.visits__map-links {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.visits__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1vw, 0.85rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}
.visits__thumb {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 3;
  display: block;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.visits__thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.visits__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 600ms cubic-bezier(.2, .7, .2, 1);
}
.visits__thumb:nth-child(3) img { object-position: center 25%; } /* keep building visible in walkway thumb */
.visits__thumb:hover img { transform: scale(1.04); }

.visits__details {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}
.visits__details .prose p + p { margin-top: 0.6rem; }

/* -------- office photo gallery (portrait, used standalone on Killarney page) -------- */
.office-gallery {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .office-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .office-gallery { grid-template-columns: repeat(4, 1fr); }
}
.office-gallery__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.office-gallery__item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.office-gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.office-gallery__item:hover img { transform: scale(1.03); }

/* Homepage office pair — 2 feature photos side by side */
.office-pair {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 700px) { .office-pair { grid-template-columns: 1fr; } }
.office-pair__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-soft);
  display: block;
  transition: transform 200ms ease;
}
.office-pair__item:hover { transform: translateY(-2px); }
.office-pair__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.office-pair__item:hover img { transform: scale(1.04); }

/* -------- blog article layout -------- */
.article-head {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}
.article-head__meta {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 1rem;
  margin-top: 1rem;
}
.article-head__meta a { color: var(--sage-deep); }
.article-body {
  padding-block: 0 clamp(2rem, 5vw, 4rem);
}
.article-body .prose {
  max-width: var(--maxw-prose);
  margin-inline: auto;
}
.article-body .prose h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.4rem, 1.5vw + 0.8rem, 1.8rem);
}
.article-body .prose h3 {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.article-body .prose p {
  max-width: 100%;
  font-size: 1.05rem;
  line-height: 1.7;
}
.article-body .prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--sage);
  background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft);
}
.article-body .prose ul, .article-body .prose ol {
  margin: 1rem 0 1rem 0;
  padding-left: 1.5rem;
}
.article-body .prose li {
  margin-bottom: 0.5rem;
}
.article-references {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.article-references h2 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.article-references p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-footer, .cta-card, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
