/* Lighthouse Guidance Center — site styles
   Layout concept: calm coastal editorial. Generous cream space, one immersive
   lighthouse scene on the home page, everything else quiet and readable.
   Single deliberate light theme (no dark mode): colors set explicitly. */

:root {
  /* Color */
  --ink: #1e3a5f;          /* Pacific Navy: headings, body text */
  --ink-soft: #48565e;     /* Soft Slate: secondary text */
  --harbor: #182f4e;       /* deep Pacific Navy: footer, deep bands */
  --teal: #3d6a71;         /* Ocean Teal, deepened for readable links and buttons */
  --teal-deep: #2f565c;    /* action hover */
  --ocean: #4f8188;        /* Ocean Teal: brand color for art and accents */
  --seaglass: #a7c5c0;     /* Sea Glass: accent tint */
  --seaglass-soft: #e6efed;/* pale Sea Glass band */
  --cream: #f8f5ef;        /* Ivory: page ground */
  --sandstone: #d8bea2;    /* Sandstone */
  --sand: #ecdfd0;         /* warm band / borders */
  --sand-soft: #f3ece3;    /* warm band */
  --blush: #d9a8a6;        /* Coastal Blush: small warm accents */
  --blush-soft: #f5e8e6;   /* pale Coastal Blush band */
  --white: #ffffff;
  --gold: #c4a675;         /* Sage Gold: rules, icons, never body text */
  --gold-deep: #7d6439;    /* Sage Gold, deepened for small text and focus rings */
  --gold-soft: #e8d9b8;    /* lantern light */
  --line: #e0d4c6;

  /* Type */
  --font-display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.4vw, 2.7rem);
  --step-4: clamp(2.25rem, 1.75rem + 2.4vw, 3.6rem);

  --radius: 14px;
  --header-h: 72px;
  --wrap: 1160px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before { /* paints the phone status-bar band above the sticky header */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--cream);
}

img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; max-width: 66ch; }
ul { padding-left: 1.2em; }
strong { font-weight: 700; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.9rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Preview ribbon & placeholders ---------- */
.preview-ribbon {
  background: var(--harbor); color: var(--sand-soft);
  font-size: var(--step--1); line-height: 1.5;
}
.preview-ribbon .wrap { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding-block: 0.5rem; }
.preview-ribbon button {
  background: transparent; color: var(--sand-soft); border: 1px solid rgba(243,236,227,.4);
  border-radius: 999px; padding: 2px 12px; font: inherit; cursor: pointer;
}
.ph {
  background: rgba(232, 217, 184, 0.5);
  outline: 1px dashed var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
  padding: 0 0.2em;
}
.ph-note { font-size: var(--step--1); color: var(--ink-soft); font-style: italic; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(248, 245, 239, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(224, 212, 198, 0.7);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav ul { list-style: none; display: flex; gap: 0.1rem; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 0.45rem 0.6rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 600; white-space: nowrap;
}
.main-nav a:hover { background: var(--seaglass-soft); }
.main-nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--harbor); background: var(--seaglass-soft); border: 1px solid var(--seaglass);
  padding: 0.3rem 0.7rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.lang-chip:hover { background: var(--seaglass); color: var(--harbor); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 1rem max(20px, env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-size: 1.15rem; padding: 0.9rem 0.4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: none; }
  .main-nav .nav-cta { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
}
@media (min-width: 1181px) { .main-nav .nav-cta { display: none; } }
.lang-chip .lang-short { display: none; }
@media (max-width: 420px) { .lang-chip .lang-long { display: none; } .lang-chip .lang-short { display: inline; } .brand-name { font-size: 1.15rem; } .brand svg { width: 40px; height: 40px; } }
.site-header .wrap { max-width: 1360px; }
.header-actions .btn { display: none; }
@media (min-width: 1380px) { .header-actions .btn { display: inline-flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.85rem 1.35rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--harbor); border-color: var(--harbor); }
.btn-secondary:hover { background: var(--harbor); color: var(--white); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--seaglass); }
.btn-ghost:hover { background: var(--seaglass-soft); color: var(--teal-deep); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band-white { background: var(--white); }
.band-sea { background: var(--seaglass-soft); }
.band-sand { background: var(--sand-soft); }
.band-deep { background: var(--harbor); color: var(--sand-soft); }
.band-deep h2, .band-deep h3 { color: var(--white); }
.band-deep .eyebrow { color: var(--gold-soft); }
.band-deep a { color: var(--gold-soft); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-bottom: 0; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } }

/* ---------- Home: Ascent lighthouse scroll scene ----------
   The logo's lighthouse at full scale. As visitors scroll, the sky warms from
   blue hour to sunrise, each step's tread lights in turn (therapy, assessment,
   forensic), then the lantern comes on and the beams reach out. Driven by
   site.js; the default styles below are the finished, lit scene, which is what
   reduced-motion and no-JS visitors see. */
.beacon { position: relative; }
.beacon-stage {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--cream);
  --horizon: 76%;   /* where sky meets sea */
  --tx: 72%;        /* tower centre */
  --th: 54%;        /* tower height */
}
.beacon.is-live { height: 240vh; }
.beacon.is-live .beacon-stage {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px));
  min-height: 560px;
}
.scene-box { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.beacon-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #9fbcc0 0%, #c3d6d3 48%, #e4e6df 100%); }
.beacon-sky.is-dawn { background: linear-gradient(180deg, #f8f5ef 0%, #f6e6e1 42%, #ebc9b8 76%, #dfbe9e 100%); }
.beacon-sea { position: absolute; left: 0; right: 0; top: var(--horizon); bottom: 0; background: linear-gradient(180deg, #7ea2a4 0%, #4f8188 100%); }
.beacon-sea.is-dawn { background: linear-gradient(180deg, #b9d1cc 0%, #6f9599 100%); }
.sea-waves { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.beacon-ridge {
  position: absolute; left: 0; width: 100%; height: clamp(26px, 7%, 70px);
  bottom: calc(100% - var(--horizon)); max-width: none;
}
.beacon-glint {
  position: absolute; top: var(--horizon); left: var(--tx); transform: translateX(-50%);
  width: clamp(36px, 5vw, 80px); height: 20%;
  background: repeating-linear-gradient(180deg, rgba(244, 222, 196, .85) 0 3px, transparent 3px 9px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
.ascent-tower {
  position: absolute; left: var(--tx); bottom: calc(100% - var(--horizon));
  height: var(--th); width: auto; aspect-ratio: 460 / 92; max-width: none; display: block;
  transform: translateX(-50%) scale(var(--grow, 1)); transform-origin: 50% 100%;
}
.ascent-tower .t-body { fill: var(--tc); transition: fill .5s ease; }
.ascent-tower .t-tread { fill: #d8bb84; transition: fill .5s ease; }
.ascent-tower .tier.is-dim .t-body { fill: #2b3f55; }
.ascent-tower .tier.is-dim .t-tread { fill: #45566a; }

.beacon-copy {
  position: relative; z-index: 2; grid-column: 1; align-self: center;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 5vw, 4rem) max(20px, env(safe-area-inset-left, 0px));
  padding-left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px), env(safe-area-inset-left, 0px));
}
.beacon-copy h1 { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 4rem); margin-bottom: 0.45em; }
.beacon-copy .lede { color: var(--ink); max-width: 34rem; }
.lede-short { display: none; }
.beacon-copy .btn-row { margin-top: 1.6rem; }
.beacon-tagline {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  margin: 1.8rem 0 0;
}

.beacon-captions {
  list-style: none; margin: 0; padding: 0;
  position: absolute; z-index: 2; right: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); bottom: clamp(1rem, 3.5vh, 2rem);
  width: min(340px, 40vw); height: 6.9rem;
}
.beacon-caption {
  position: absolute; inset: auto 0 0 0;
  background: rgba(248, 245, 239, 0.92); border: 1px solid rgba(224, 212, 198, 0.9); border-radius: 12px;
  padding: 0.8rem 1rem 0.85rem;
  display: flex; flex-direction: column; gap: 0.1rem;
  opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease;
}
.beacon-caption.is-on { opacity: 1; transform: none; }
.beacon-caption .step-no { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.beacon-caption .cap-title { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.25; color: var(--ink); }
.beacon-caption .cap-text { font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); }
.beacon:not(.is-live) .beacon-caption { opacity: 0; }
.beacon:not(.is-live) .beacon-caption:last-child { opacity: 1; transform: none; }
.beacon-scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 1rem; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white);
  display: none;
}
.beacon.is-live .beacon-scroll-hint { display: block; }

@media (max-width: 860px) {
  .beacon-stage { display: flex; flex-direction: column; --horizon: 85%; --tx: 50%; --th: 30%; }
  .beacon.is-live { height: 270vh; }
  .beacon.is-live .beacon-stage { min-height: 540px; }
  .beacon-copy { align-self: stretch; padding: 1.5rem max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
  .beacon-copy h1 { font-size: clamp(1.95rem, 1.4rem + 3.4vw, 2.6rem); }
  .beacon-copy .lede { font-size: 1.02rem; margin-bottom: 0; }
  .lede-long { display: none; }
  .lede-short { display: inline; }
  .beacon-copy .btn-row { margin-top: 1.1rem; }
  .beacon-copy .btn-row .btn { flex: 1 1 220px; }
  .beacon-tagline { display: none; }
  .beacon-captions { left: 50%; right: auto; top: 1.25rem; bottom: auto; transform: translateX(-50%); width: min(360px, calc(100% - 40px)); }
  .beacon-caption { inset: 0 0 auto 0; text-align: center; padding: 0.85rem 1rem; }
  .beacon-caption .cap-title { font-size: 1.35rem; }
  .beacon-scroll-hint { bottom: 0.6rem; }

  /* Phones: the lit dusk scene is the opening's background, the words sit in
     the soft sky and the lighthouse stands on the water below them. */
  .beacon:not(.is-live) .beacon-stage {
    min-height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px));
    --horizon: calc(100% - 70px); --th: clamp(200px, 54vw, 260px);
  }
  .beacon:not(.is-live) .beacon-copy { padding-bottom: calc(clamp(200px, 54vw, 260px) + 110px); }
  .beacon:not(.is-live) .scene-box { position: absolute; inset: 0; }
  .beacon:not(.is-live) .scene-box::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 55%;
    background: linear-gradient(180deg, rgba(248, 245, 239, .85) 0%, rgba(248, 245, 239, .5) 55%, rgba(248, 245, 239, 0) 100%);
  }
  .beacon:not(.is-live) .beacon-glint { height: 70px; }
  .beacon:not(.is-live) .beacon-captions { display: none; }
  .beacon:not(.is-live) [data-glow] { transform-box: fill-box; transform-origin: center; animation: lamp-breathe 5s ease-in-out infinite alternate; }
}
@media (max-height: 620px) and (max-width: 860px) {
  .beacon.is-live .beacon-copy .lede { display: none; }
}

.scene-waves { animation: drift 22s ease-in-out infinite alternate; }
@keyframes lamp-breathe { from { transform: scale(.88); } to { transform: scale(1.08); } }
@keyframes drift { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) {
  .scene-waves, .beacon [data-glow] { animation: none !important; }
  .beacon-caption, .ascent-tower .t-body, .ascent-tower .t-tread { transition: none; }
}

/* ---------- Pathway cards ---------- */
.paths { margin-top: -1px; }
.path-card {
  position: relative; display: flex; flex-direction: column; gap: 0.4rem;
  border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line); background: var(--white);
}
.path-card.therapy { background: linear-gradient(160deg, var(--seaglass-soft), var(--white) 70%); }
.path-card.assess { background: linear-gradient(160deg, var(--blush-soft), var(--white) 70%); }
.path-card .q { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.path-card h3 { margin: 0.2rem 0 0.4rem; font-size: var(--step-3); }
.path-card ul { margin: 0.4rem 0 1.4rem; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.path-card li { padding-left: 1.4rem; position: relative; }
.path-card li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7rem; height: 1px; background: var(--gold); }
.path-card .btn { align-self: flex-start; margin-top: auto; }
.path-card .fine { font-size: var(--step--1); color: var(--ink-soft); margin: 0.8rem 0 0; }

/* ---------- Pillars / features ---------- */
.tagline-big {
  font-family: var(--font-display); font-size: var(--step-3); line-height: 1.25;
  margin: 0 0 1.2rem; max-width: 26ch; color: var(--ink);
}
.pillar { border-top: 1px solid var(--gold); padding-top: 1.1rem; }
.pillar h3 { font-size: var(--step-1); font-family: var(--font-display); margin-bottom: 0.4rem; }
.pillar p { margin: 0; color: var(--ink-soft); }

.service-link {
  display: flex; flex-direction: column; gap: 0.5rem; height: 100%;
  padding: 1.6rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.service-link:hover { border-color: var(--seaglass); color: var(--ink); transform: translateY(-2px); }
.service-link h3 { font-size: var(--step-2); margin: 0; }
.service-link p { margin: 0; color: var(--ink-soft); }
.service-link .more { margin-top: auto; padding-top: 0.6rem; font-weight: 700; color: var(--teal); font-size: 0.92rem; }
.service-icon { width: 44px; height: 44px; color: var(--teal); }
.card-icon .service-icon { display: block; width: 46px; height: 46px; margin-bottom: .75rem; color: var(--ocean, var(--teal)); stroke-width: 1.8; }
@media (prefers-reduced-motion: reduce) { .service-link, .service-link:hover { transform: none; transition: none; } }

/* ---------- People ---------- */
.portrait {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: 999px 999px 18px 18px; /* arched, like a lighthouse window */
  background: linear-gradient(170deg, var(--seaglass) 0%, var(--seaglass-soft) 55%, var(--sand) 100%);
  display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); color: var(--harbor); opacity: 0.8; }
.portrait .ph-tag {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.85); border: 1px dashed var(--gold); border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; padding: 3px 10px; white-space: nowrap; color: var(--ink-soft);
}
.person { scroll-margin-top: calc(var(--header-h) + 24px); }
.person-meta { color: var(--ink-soft); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 1rem; }
.person h2 { margin-bottom: 0.2em; }
.credentials { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.credentials li {
  font-size: 0.82rem; font-weight: 600; color: var(--harbor);
  background: var(--seaglass-soft); border-radius: 999px; padding: 0.25rem 0.75rem;
}
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1rem; }
.fact dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.fact dd { margin: 0.2rem 0 0; font-weight: 600; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--sand-soft) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 2rem; align-items: end; padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero .copy { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: var(--step-4); margin-bottom: 0.35em; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 1.6rem; }
.page-hero .mini { display: block; width: 260px; height: 220px; align-self: end; }
@media (max-width: 760px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero .mini { display: none; }
}

/* ---------- Page identities ----------
   Each inner page gets its own hero and a few accents that suit what it says:
   Team is warm and personal, Therapy calm and soft, Assessment clear and
   structured, Attorneys & Courts formal, Resources and FAQs practical,
   Contact welcoming. Same palette and type throughout so it stays one brand. */
.mini .mini-glow { opacity: 0; }
.mini.is-lit .mini-glow { opacity: 1; }
.mini.is-lit .mini-lamp { fill: #efd7a8; }

/* Team: the people first */
.page-hero--team { background: linear-gradient(180deg, var(--blush-soft) 0%, var(--cream) 100%); }
.page-hero--team .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.page-hero--team .copy { padding-bottom: 0; }
.hero-faces { display: flex; align-items: flex-start; }
.hero-face { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.hero-face + .hero-face { margin-left: -18px; margin-top: 46px; }
.hero-face img, .hero-face > span:first-child {
  width: clamp(120px, 15vw, 176px); height: clamp(120px, 15vw, 176px); border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  border: 5px solid var(--white); box-shadow: 0 10px 30px rgba(30, 58, 95, .14); background: var(--sand);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem;
}
.hero-face-name { font-size: 0.85rem; font-weight: 700; }
.hero-face:hover .hero-face-name { color: var(--teal); }
.page-team .eyebrow::before { background: var(--blush); }
.page-team .credentials li { background: var(--blush-soft); }
.page-team .portrait { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; }

/* Therapy: calm, soft, rounded */
.page-hero--therapy { background: linear-gradient(180deg, var(--seaglass-soft) 0%, var(--cream) 100%); }
.page-hero--therapy .wrap { grid-template-columns: minmax(0, 1fr) 300px; }
.hero-art.calm { display: block; width: 300px; height: 230px; align-self: end; }
.calm-wave { animation: calm-drift 9s ease-in-out infinite alternate; }
@keyframes calm-drift { from { transform: translateX(-6px); } to { transform: translateX(6px); } }
.page-therapy .card { border-radius: 24px; border-top: 4px solid var(--seaglass); }
.page-therapy .eyebrow::before { background: var(--seaglass); }

/* Assessment: clear and structured */
.page-hero--assessment {
  background-color: var(--white);
  background-image: linear-gradient(var(--seaglass-soft) 1px, transparent 1px), linear-gradient(90deg, var(--seaglass-soft) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero--assessment .wrap { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.page-hero--assessment .copy { padding-bottom: 0; }
.hero-path { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem 1.3rem; box-shadow: 0 8px 24px rgba(30, 58, 95, .07); }
.hero-path-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.8rem; }
.hero-path ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; position: relative; }
.hero-path ol::before { content: ""; position: absolute; left: 0.8rem; top: 0.9rem; bottom: 0.9rem; width: 2px; background: var(--seaglass); }
.hero-path li { position: relative; display: flex; align-items: center; gap: 0.8rem; font-weight: 600; font-size: 0.95rem; }
.hero-path .n { position: relative; flex: none; width: 1.65rem; height: 1.65rem; border-radius: 50%; display: grid; place-items: center; background: var(--ocean); color: var(--white); font-size: 0.8rem; font-weight: 700; }
.page-assessment .card { border-radius: 8px; border-left: 4px solid var(--ocean); }
.page-assessment .steps li { border-radius: 8px; }
.page-assessment .steps li::before { background: var(--ocean); color: var(--white); }
.page-assessment .eyebrow::before { background: var(--ocean); }

/* Attorneys & Courts: formal, set like a brief */
.page-hero--forensic { background: var(--harbor); color: var(--sand-soft); border-bottom: 3px solid var(--gold); }
.page-hero--forensic h1 { color: var(--white); }
.page-hero--forensic .lede { color: #d9e2e6; }
.page-hero--forensic .eyebrow { color: var(--gold-soft); }
.page-hero--forensic .eyebrow::before { background: var(--gold-soft); }
.page-hero--forensic .btn-primary { background: var(--gold-soft); color: var(--harbor); }
.page-hero--forensic .btn-primary:hover { background: var(--white); color: var(--harbor); }
.page-hero--forensic .wrap { grid-template-columns: minmax(0, 1fr) 340px; align-items: center; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.page-hero--forensic .copy { padding-bottom: 0; }
.hero-brief { margin: 0; border-top: 1px solid rgba(232, 217, 184, .5); }
.hero-brief div { padding: 0.9rem 0; border-bottom: 1px solid rgba(232, 217, 184, .5); }
.hero-brief dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.hero-brief dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.35; color: var(--white); }
.page-attorneys .card, .page-attorneys .fact, .page-attorneys .steps li, .page-attorneys .note { border-radius: 4px; }
.page-attorneys .steps li::before { border-radius: 4px; }
.page-attorneys .eyebrow::before { background: var(--harbor); }

/* Resources & FAQs: practical, get people where they're going */
.page-hero--resources, .page-hero--faqs { background: var(--sand-soft); }
.page-hero--faqs { background: linear-gradient(180deg, var(--blush-soft) 0%, var(--cream) 100%); }
.page-hero--resources .wrap, .page-hero--faqs .wrap { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; padding-block: clamp(2rem, 4.5vw, 3.25rem); }
.page-hero--resources .copy, .page-hero--faqs .copy { padding-bottom: 0; }
.page-hero--resources h1, .page-hero--faqs h1 { font-size: var(--step-3); }
.hero-jump { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; }
.hero-jump-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.4rem; }
.hero-jump ul { list-style: none; margin: 0; padding: 0; }
.hero-jump li + li { border-top: 1px solid var(--line); }
.hero-jump a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; font-weight: 600; text-decoration: none; }
.hero-jump a::after { content: "↓"; color: var(--gold-deep); }
.hero-jump a:hover { color: var(--teal-deep); }
.page-faqs .faq-group { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* Contact: welcoming, the lantern is lit */
.page-hero--contact { background: linear-gradient(180deg, var(--seaglass-soft) 0%, var(--blush-soft) 100%); }

@media (max-width: 760px) {
  .page-hero--team .wrap, .page-hero--assessment .wrap, .page-hero--forensic .wrap,
  .page-hero--resources .wrap, .page-hero--faqs .wrap { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-faces { justify-content: center; }
  .hero-face + .hero-face { margin-top: 30px; }
  .page-hero--therapy .wrap { grid-template-columns: 1fr; }
  .hero-art.calm { display: block; width: min(260px, 72vw); height: auto; margin: 1.2rem auto 0; }
}
.calm-breathe { transform-origin: 150px 100px; animation: calm-breathe 8s ease-in-out infinite alternate; }
@keyframes calm-breathe { from { transform: scale(.94); opacity: .8; } to { transform: scale(1.04); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .calm-wave, .calm-breathe { animation: none; } }

/* ---------- Lists, notes, steps ---------- */
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.tick-list li { position: relative; padding-left: 1.7rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--gold) 0 3px, transparent 3.5px), var(--seaglass-soft);
  border: 1px solid var(--seaglass);
}
.tick-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
@media (max-width: 640px) { .tick-list.cols { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
}
.card h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.card > :last-child { margin-bottom: 0; }

.note {
  border-left: 3px solid var(--gold); background: var(--sand-soft);
  padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--harbor); }
.note.sea { border-left-color: var(--teal); background: var(--seaglass-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps.row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 1.4rem 1.4rem 1.4rem 4.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 1.2rem; top: 1.25rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--harbor);
  background: var(--seaglass-soft); border: 1px solid var(--seaglass);
}
.steps h3 { font-size: var(--step-1); margin: 0 0 0.3rem; font-family: var(--font-display); }
.steps p { margin: 0; color: var(--ink-soft); }

.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.rate { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.rate .who { font-weight: 700; }
.rate .amt { font-family: var(--font-display); font-size: var(--step-3); color: var(--harbor); line-height: 1.1; margin: 0.3rem 0 0.1rem; font-variant-numeric: tabular-nums; }
.rate .per { color: var(--ink-soft); font-size: var(--step--1); }

.chip-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-cloud li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.92rem; font-weight: 600; color: var(--harbor); }

.group-title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.9rem; }

.spanish {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center;
}
.spanish .flag-word { font-family: var(--font-display); font-size: var(--step-3); color: var(--gold-soft); line-height: 1; }
.spanish p { margin: 0.3rem 0 0; }
@media (max-width: 860px) { .spanish { grid-template-columns: 1fr; } }

.cta-band { text-align: left; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 2.5rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group h2 { font-size: var(--step-2); margin-bottom: 1rem; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq:first-of-type { border-top: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s;
}
details.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.faq .answer { padding: 0 0 1.2rem; color: var(--ink-soft); }
details.faq .answer p:last-child { margin-bottom: 0; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.faq-jump a { font-size: 0.88rem; font-weight: 700; text-decoration: none; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--seaglass); background: var(--white); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 640px) { .form .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.92rem; }
.field .hint { font-size: var(--step--1); color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #c3b4a3; border-radius: 10px; padding: 0.75rem 0.9rem; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.radio-row label { font-weight: 500; display: inline-flex; gap: 0.45rem; align-items: center; }
.field .radio-row input { width: 1.05rem; height: 1.05rem; padding: 0; margin: 0; flex: none; accent-color: var(--teal); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.check input { margin-top: 0.35rem; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--teal); }
.form-warning {
  border: 1px solid var(--gold); background: var(--sand-soft); border-radius: 12px; padding: 1rem 1.1rem;
  font-size: 0.95rem;
}
.form-warning strong { color: var(--harbor); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 1rem 1.1rem; background: var(--seaglass-soft); border: 1px solid var(--seaglass); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list .k { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list .v { font-weight: 600; word-break: break-word; }

.crisis {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; font-size: 0.95rem;
}
.crisis p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--harbor); color: #d9e4e3; font-size: 0.94rem; }
.site-footer .wrap { padding-block: clamp(3rem, 6vw, 4.5rem) calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: #eef3f2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-sub { color: #b9cbcb; }
.site-footer .tagline { color: #c9d7d6; margin-top: 1rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: 0.84rem; color: #b9cbcb; }
.footer-crisis { margin-top: 1.4rem; padding: 0.9rem 1rem; border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; font-size: 0.88rem; color: #d9e4e3; }
.site-footer .ph { background: rgba(232, 217, 184, 0.18); color: var(--gold-soft); }

/* print-friendly basics */
@media print {
  .site-header, .preview-ribbon, .beacon-scene, .nav-toggle { display: none !important; }
  .beacon.is-live { height: auto; }
}

/* Live site: placeholders read as plain text (no dashed outline) */
.is-live .ph, .is-live .site-footer .ph { background: none; outline: none; padding: 0; color: inherit; }
.is-live .forms-list .ph, .is-live li > .ph:last-child { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.55rem; border-radius: 999px; background: var(--sand-soft); color: var(--ink-soft); font-size: 0.78rem; font-weight: 600; vertical-align: 0.1em; }
