/* metric-matched stand-in so the swap to Poppins doesn't move text around */
@font-face {
  font-family: 'Poppins Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  ascent-override: 92.83%; descent-override: 30.94%; line-gap-override: 8.84%; size-adjust: 113.15%;
}
/* Self-hosted from Google Fonts (OFL). Latin + Latin Extended only.
   Newsreader is fixed at opsz 48 to halve its size; Poppins 400/500/600. */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(/assets/fonts/newsreader-300-500-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(/assets/fonts/newsreader-300-500-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/assets/fonts/newsreader-300-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/assets/fonts/newsreader-300-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/poppins-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/poppins-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/poppins-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/poppins-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   TEAMSS, LLC — website styles
   Layout + interaction model follows the zenarate.com structure (floating pill
   nav, mega menus, pinned service showcase, carousels, sticky CTA + footer
   reveal). Brand (color, type, logo, voice) comes from /brand.
   ========================================================================== *//* ---- Tokens ------------------------------------------------------------- */
:root {
  /* brand */
  --ink: #0A2830;
  --ink-800: #2F484F;
  --ink-700: #54686E;
  --ink-500: #849498;
  --ink-300: #B6BEC1;
  --ink-150: #DADFE0;
  --ink-070: #EEF0F1;
  --ink-030: #F8F9F9;
  --slate-tint: #F4F7F7;
  --ember: #E68342;
  --ember-deep: #B5531A;
  --ember-tint: #FBECE3;
  --mist: #C8FDFF;
  --white: #FFFFFF;

  --citron: #BAC730;
  --violet: #7D619E;
  --orchid: #A4619F;
  --indigo: #32407C;
  --lagoon: #3996C4;
  --seafoam: #45ACAA;
  --leaf: #84B842;

  /* panel colors for the service showcase (white text passes AA on each) */
  --panel-therapy: #32407C;   /* Indigo */
  --panel-peer: #A24A17;      /* Ember, deepened */
  --panel-community: #2A6B69; /* Seafoam, deepened */

  --spectrum: linear-gradient(90deg, #84B842 0%, #BAC730 16%, #E88841 33%, #A4619F 50%, #32407C 66%, #3996C4 83%, #45ACAA 100%);
  --spectrum-conic: conic-gradient(from 0deg, #BAC730, #E88841, #A4619F, #7D619E, #32407C, #3996C4, #45ACAA, #84B842, #BAC730);

  /* type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-ui: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* layout */
  --margin: 30px;
  --pad-xl: 180px;
  --pad-lg: 120px;
  --pad-md: 80px;
  --pad-sm: 64px;
  --pad-xs: 32px;
  --r-1: 8px;
  --r-2: 12px;
  --r-3: 16px;
  --r-4: 20px;
  --r-pill: 200px;
  --nav-h: 56px;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

@media (max-width: 991px) {
  :root { --pad-xl: 120px; --pad-lg: 96px; --pad-md: 64px; }
}
@media (max-width: 767px) {
  :root { --margin: 16px; --pad-xl: 96px; --pad-lg: 72px; --pad-md: 56px; --pad-sm: 48px; }
}/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mist); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; transition: top .2s;
}
.skip-link:focus { top: 16px; }/* ---- Type --------------------------------------------------------------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; }
.h1 { font-size: clamp(42px, 5.2vw, 76px); line-height: 1.08; }
.h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; }
.h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.lede { font-size: 16px; line-height: 1.6; color: var(--ink-700); max-width: 46ch; }
.mono {
  /* small label/eyebrow style (class name kept from the old monospace face) */
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --btn-h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; line-height: 1;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn--sm { --btn-h: 34px; padding: 0 18px; font-size: 12.5px; }
.btn--primary { background: var(--ember); color: var(--ink); font-weight: 600; }
.btn--primary:hover { background: #EE9358; }
.btn--light { background: var(--white); color: var(--ink); border: 1px solid rgba(10, 40, 48, .08); }
.btn--light:hover { background: var(--ink-070); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-800); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 20px;
  border-radius: var(--r-pill);
  background: var(--ink-070);
  color: var(--ink);
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.chip:hover { background: var(--ink); color: #fff; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-500); flex: none; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 6px; background: var(--ink-070);
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-800);
}/* ---- Layout helpers ----------------------------------------------------- */
.container { width: 100%; padding-inline: var(--margin); margin-inline: auto; }
.section { position: relative; padding-block: var(--pad-lg); }/* ==========================================================================
   NAV — floating pill + mega menus
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px var(--margin) 0;
  pointer-events: none;
}
.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  height: var(--nav-h);
  padding: 6px 10px 6px 6px;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: 0 1px 0 rgba(10, 40, 48, .04), 0 8px 24px -12px rgba(10, 40, 48, .18);
}
.nav__logo {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center; flex: none;
}
.nav__logo img { width: 32px; height: 32px; }
.nav__list { display: flex; align-items: center; gap: 2px; padding-left: 10px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  height: 36px; padding: 0 12px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: background-color .25s var(--ease);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--ink-070); }
.nav__link svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__actions { pointer-events: auto; display: flex; gap: 8px; }
.nav__toggle { display: none; }/* mega panel *//* Who we serve: thinner, rising from the bottom edge in blues and teals *//* Resources (crisis line): two concentric rings, warm ember-to-violet tones *//* About: larger and heavier, rising from the right edge, violet into navy *//* nav scrim for mega menu *//* mobile menu */
.mnav { display: none; }

@media (max-width: 991px) {
  .nav { padding-top: 12px; }
  .nav__bar { justify-content: center; }
  .nav__pill { width: 220px; justify-content: space-between; padding-right: 8px; transition: width .4s var(--ease); }
  .nav__list, .nav__actions, .mega { display: none; }
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  }
  .nav__toggle span { position: relative; width: 20px; height: 1.5px; background: var(--ink); transition: background .2s; }
  .nav__toggle span::before, .nav__toggle span::after {
    content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink);
    transition: transform .35s var(--ease), top .35s var(--ease);
  }
  .nav__toggle span::before { top: -4px; }
  .nav__toggle span::after { top: 4px; }
  .nav.is-mobile-open .nav__toggle span { background: transparent; }
  .nav.is-mobile-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
  .nav.is-mobile-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }
  .nav.is-mobile-open .nav__pill { width: 100%; box-shadow: none; }

  .mnav {
    pointer-events: auto;
    display: flex; flex-direction: column; gap: 12px;
    position: fixed; inset: calc(12px + var(--nav-h) + 12px) var(--margin) 16px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.is-mobile-open .mnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav.is-mobile-open { background: var(--white); inset: 0; pointer-events: auto; }
  .mnav__panel {
    flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    background: var(--white); border-radius: var(--r-4);
    box-shadow: 0 0 0 1px rgba(10, 40, 48, .06), 0 12px 32px -16px rgba(10, 40, 48, .2);
    padding: 12px 20px;
  }
  .mnav__row { border-bottom: 1px solid var(--ink-150); }
  .mnav__row:last-child { border-bottom: 0; }
  .mnav__trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; font-size: 17px; font-weight: 400; text-align: left;
  }
  .mnav__trigger svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .mnav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mnav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mnav__actions .btn { --btn-h: 48px; font-size: 14px; }
}/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden; color: #fff;
  display: grid; place-items: center; text-align: center;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s var(--ease-in-out), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 50% 50%, rgba(10, 40, 48, .38), rgba(10, 40, 48, 0) 100%),
    linear-gradient(180deg, rgba(10, 40, 48, .45) 0%, rgba(10, 40, 48, .22) 35%, rgba(10, 40, 48, .3) 60%, rgba(10, 40, 48, .7) 100%);
}
.hero__content { position: relative; z-index: 1; padding: 0 var(--margin); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px 0 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.hero__pill.mono { font-size: 13px; letter-spacing: .01em; text-transform: none; }
.hero__pill svg { width: 20px; height: 20px; }
.hero__pill-text { position: relative; display: inline-grid; height: 16px; }
.hero__pill-text span { grid-area: 1 / 1; line-height: 16px; transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); }
.hero__pill-text span.is-out { transform: translateY(-6px); opacity: 0; filter: blur(3px); }
.hero__pill-text span.is-in { transform: translateY(6px); opacity: 0; filter: blur(3px); }
.hero .h1 { max-width: 15ch; font-weight: 300; }

/* ==========================================================================
   CIRCLE OF SUPPORT — rotating ring of cards
   ========================================================================== */
.circle {
  position: relative; height: 200vh;
}
.circle__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; display: grid; place-items: center;
  padding-top: 70px; /* centers the headline in the band below the floating nav; matches cy in layoutRing() */
}
.circle__ring {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  will-change: transform;
}
.circle__card {
  /* each card type sets --w/--h; --c is its brand color, --tilt comes from JS */
  --w: 132px; --h: 92px; --c: var(--lagoon);
  position: absolute; left: 0; top: 0;
  width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  border-radius: var(--r-3);
  background: color-mix(in srgb, var(--c) 15%, #fff);
  display: grid; place-items: center; text-align: center;
  padding: 12px;
  box-shadow: 0 22px 40px -26px rgba(10, 40, 48, .45), 0 0 0 1px rgba(10, 40, 48, .04);
}
.circle__card .mono { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; letter-spacing: 0; text-transform: none; }

/* word: tinted tile with a hand-drawn glyph in the card's color */
.circle__card--word { --w: 136px; --h: 104px; }
.circle__card--word svg { width: 34px; height: 34px; color: color-mix(in srgb, var(--c) 85%, #0A2830); margin: 0 auto 10px; display: block; stroke-width: 2.1; }

/* photo: portrait framed by a ring of its color, value word on a pill */
.circle__card--photo {
  --w: 120px; --h: 150px; padding: 0; overflow: visible; background: #fff;
  outline: 3px solid var(--c); outline-offset: 4px;
}
.circle__card--photo img, .circle__card--group img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit; filter: saturate(1.05) sepia(.08);
}
.circle__pill {
  position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  background: #fff; box-shadow: 0 6px 16px -8px rgba(10, 40, 48, .4);
  font: 600 12px/1 var(--font-ui); color: var(--ink);
}
.circle__pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* group: wide shot of people together */
.circle__card--group { --w: 184px; --h: 124px; padding: 0; background: #fff; }

/* quote: short encouragement set in the display face */
.circle__card--quote { --w: 150px; --h: 104px; background: #fff; padding: 16px 14px; overflow: hidden; }
.circle__card--quote::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--spectrum);
}
.circle__card--quote p { font: italic 400 19px/1.15 var(--font-display); color: var(--ink); }

/* mark: full-color logo on the Deep Teal tile; counter-rotated so the
   brand mark never tilts (Citron figure stays on top) */
.circle__card--mark { --w: 104px; --h: 104px; background: var(--ink); border-radius: 24px; }
.circle__card--mark img { width: 52px; height: 52px; transform: rotate(calc(var(--tilt, 0deg) * -1)); }

/* smile: seven spectrum dots in a ring around a smile — one circle of support */
.circle__card--smile { --w: 112px; --h: 112px; background: #fff; border-radius: 50%; }
.circle__card--smile svg { width: 84px; height: 84px; }

/* heart: small spectrum sticker */
.circle__card--heart { --w: 88px; --h: 88px; background: var(--spectrum-conic); border-radius: 50%; }
.circle__card--heart svg { width: 38px; height: 38px; color: #fff; }

.circle__center {
  position: relative; z-index: 2; text-align: center; padding: 40px var(--margin); max-width: 640px;
  background: radial-gradient(closest-side, rgba(255,255,255,.96) 70%, rgba(255,255,255,0));
}
.circle__center .h2 { margin-bottom: 18px; }
.circle__center .lede { margin-inline: auto; }

/* ==========================================================================
   SERVICES SHOWCASE — pinned, scroll-driven tabs
   ========================================================================== */
.services-intro { padding-top: var(--pad-md); padding-bottom: 48px; text-align: center; }
.services-intro .h2 { margin-bottom: 28px; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.showcase { position: relative; height: 330vh; }
.showcase__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: 48px; padding: calc(var(--nav-h) + 40px) var(--margin) 40px;
}
.showcase__card {
  position: relative; height: 100%; max-height: 720px;
  border-radius: var(--r-3); overflow: hidden;
  background: var(--panel-therapy);
  transition: background-color .7s var(--ease);
}
.showcase__pane {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  padding: 44px 9% 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.showcase__pane.is-active { opacity: 1; transform: none; pointer-events: auto; }
.showcase__pane .h3 { color: #fff; text-align: center; margin-bottom: 32px; font-weight: 300; }
.showcase__ui {
  width: 100%; max-width: 460px; flex: 1;
  background: var(--white); border-radius: var(--r-3) var(--r-3) 0 0;
  padding: 22px 22px 0;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
  overflow: hidden;
  font-size: 13px;
}
.showcase__tabs { display: flex; flex-direction: column; gap: 20px; padding-left: 4%; }
.showcase__tablist { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.showcase__tab {
  font-family: var(--font-display); font-size: clamp(30px, 3.1vw, 46px); line-height: 1.1; font-weight: 300;
  color: var(--ink-500); /* 3.1:1, passes for large text */;
  display: inline-flex; align-items: center; gap: 12px;
  transition: color .4s var(--ease);
}
.showcase__tab::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  transform: scale(0); width: 0; transition: transform .4s var(--ease), width .4s var(--ease);
}
.showcase__tab[aria-selected="true"] { color: var(--ink); font-style: italic; }
.showcase__tab[aria-selected="true"]::before { transform: scale(1); width: 7px; }
.showcase__tab:hover { color: var(--ink-700); }
.showcase__tab[aria-selected="true"]:hover { color: var(--ink); }
.showcase__desc { display: grid; }
.showcase__desc > div {
  grid-area: 1 / 1; opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .5s var(--ease); pointer-events: none;
}
.showcase__desc > div.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.showcase__desc p { color: var(--ink-700); max-width: 44ch; margin-bottom: 22px; }
.showcase__desc .svc-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.showcase__progress { display: flex; gap: 6px; margin-top: 8px; }
.showcase__progress i { display: block; height: 2px; width: 28px; background: var(--ink-150); border-radius: 2px; overflow: hidden; }
.showcase__progress i b { display: block; height: 100%; width: 0; background: var(--ink); }/* mock UI bits inside the cards */
.ui-row { display: flex; align-items: center; gap: 10px; }
.ui-avatar { width: 32px; height: 32px; border-radius: 50%; background-size: cover; background-position: center; flex: none; }
.ui-title { font-family: var(--font-display); font-size: 22px; line-height: 1.15; }
.ui-sub { font-size: 11.5px; color: var(--ink-700); }
.ui-box { border-radius: 10px; background: var(--slate-tint); padding: 12px 14px; }
.ui-stat { border-radius: 12px; padding: 14px 16px; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-stat .mono { font-size: 11px; opacity: .92; }
.ui-stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin-top: 4px; }
.ui-check { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--ink-150); font-size: 12.5px; line-height: 1.45; }
.ui-check:last-child { border-bottom: 0; }
.ui-check i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-300); flex: none; margin-top: 1px; display: grid; place-items: center; }
.ui-check i.done { background: var(--ink); border-color: var(--ink); }
.ui-check i.done::after { content: ""; width: 6px; height: 3px; border: solid #fff; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px, -1px); }
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; }
.bubble b { display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 2px; }
.bubble--them { background: var(--ember-tint); border-top-left-radius: 4px; }
.bubble--me { background: var(--ink-070); border-top-right-radius: 4px; margin-left: auto; }
.typing { display: inline-flex; gap: 4px; padding: 10px 13px; background: var(--ember-tint); border-radius: 12px; border-top-left-radius: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ember-deep); opacity: .4; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.ring-progress { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--seafoam) calc(var(--p, 60) * 1%), var(--ink-070) 0); }
.ring-progress span { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; }

@media (max-width: 991px) {
  .showcase { height: 360vh; }
  .showcase__sticky {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
    gap: 22px; padding: calc(12px + var(--nav-h) + 20px) var(--margin) 28px;
    align-items: stretch;
  }
  .showcase__card { max-height: none; }
  .showcase__pane { padding: 28px 7% 0; }
  .showcase__pane .h3 { margin-bottom: 20px; font-size: 22px; }
  .showcase__tabs { padding-left: 0; text-align: center; align-items: center; gap: 12px; }
  .showcase__tablist { justify-content: center; }
  .showcase__tab { font-size: 30px; }
  .showcase__desc p { margin-inline: auto; margin-bottom: 14px; font-size: 14.5px; }
  .showcase__desc .svc-list { display: none; }
  .showcase__progress { justify-content: center; }
  .showcase__ui { font-size: 12px; padding: 16px 16px 0; }
  .ui-stat strong { font-size: 20px; }
  .ui-title { font-size: 19px; }
}
@media (max-width: 767px) {
  .showcase__tab { font-size: 26px; }
  .showcase__tablist { gap: 2px 14px; }
  .showcase__desc p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}/* ==========================================================================
   CAROUSELS (stories + insights)
   ========================================================================== *//* story cards *//* insight cards *//* ==========================================================================
   FEATURE BANNER (photo + centered card)
   ========================================================================== */
.banner {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden; padding: var(--pad-md) var(--margin);
}
.banner__bg { position: absolute; inset: -10% 0; background: center / cover no-repeat; will-change: transform; }
.banner__card {
  position: relative; z-index: 1; width: min(100%, 560px);
  background: var(--white); border-radius: var(--r-3);
  padding: 44px 48px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.banner__card .lede { text-align: center; }
@media (max-width: 767px) { .banner__card { padding: 32px 24px; }
}/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 800px; margin: 56px auto 0; }
.faq__item { border-bottom: 1px solid var(--ink-150); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35;
}
.faq__icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink-070); flex: none;
  display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s;
}
.faq__icon svg { width: 12px; height: 12px; }
.faq__q:hover .faq__icon { background: var(--ink-150); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 56px 28px 0; color: var(--ink-700); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
@media (max-width: 767px) { .faq__q { font-size: 17px; padding: 22px 0; } .faq__a p { padding-right: 0; }
}/* ==========================================================================
   EXPLORE (chip cloud)
   ========================================================================== *//* ==========================================================================
   CLOSING CTA (sticky) + FOOTER reveal
   ========================================================================== */
.closing { position: relative; }
.cta {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; background: center / cover no-repeat; filter: saturate(.9); }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,40,48,.2), rgba(10,40,48,.55)); }
.cta__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 var(--margin); }
.cta .h1 { max-width: 16ch; font-weight: 300; font-size: clamp(38px, 4.4vw, 64px); }

.footer {
  position: relative; z-index: 2;
  background: var(--white); color: var(--ink);
  border-radius: var(--r-4) var(--r-4) 0 0;
  padding: 48px var(--margin) 28px;
  margin-top: -20px;
}
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.footer__brand .h3 { display: flex; gap: 14px; align-items: flex-start; font-size: clamp(24px, 2.2vw, 30px); max-width: 20ch; }
.footer__brand .h3 img { width: 30px; height: 30px; margin-top: 2px; flex: none; }
.footer__info { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.footer__phones a { display: block; width: fit-content; padding: 2px 0; }
.footer__phones a:hover { color: var(--ember-deep); }
.footer__info .mono { font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--ink); }
.footer__info .mono b { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-700); }
.footer__info a.mono:hover { color: var(--ember-deep); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.footer__cols h4 { font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.footer__cols a { display: block; font-size: 13px; color: var(--ink-700); padding: 4px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--ink); }
.footer__fullname {
  margin-top: 72px;
  font: 500 13px/1.5 var(--font-ui); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-800); text-align: center; text-wrap: balance;
}
.footer__spectrum { height: 4px; border-radius: 4px; background: var(--spectrum); margin-top: 18px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 12px; color: var(--ink-700); }
.footer__legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--ink); }

@media (max-width: 991px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__info { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 767px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; margin-top: 64px; }
  .footer__fullname { margin-top: 56px; font-size: 11px; letter-spacing: .12em; line-height: 1.7; }
}/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__slide { transform: none; }
}/* ==========================================================================
   INNER PAGES — shared
   ========================================================================== */
.page-intro { padding: calc(16px + var(--nav-h) + 110px) var(--margin) 72px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.page-intro .lede { text-align: center; max-width: 64ch; text-wrap: balance; }
.page-intro .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.eyebrow { color: var(--ink-700); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; }/* media panel *//* statement + feature columns *//* closer look: sticky index + stacked rows */
.closer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 32px; margin-top: 64px; }
.closer__index { position: sticky; top: calc(16px + var(--nav-h) + 40px); align-self: start; display: flex; flex-direction: column; gap: 12px; }
.closer__index a { color: var(--ink-700); display: inline-flex; align-items: center; gap: 8px; transition: color .3s; line-height: 1.4; }
.closer__index a::before { content: ""; width: 0; height: 5px; border-radius: 50%; background: currentColor; transition: width .3s var(--ease); flex: none; }
.closer__index a.is-active { color: var(--ink); }
.closer__index a.is-active::before { width: 5px; }
.closer__index a:hover { color: var(--ink-800); }
.closer__rows { display: flex; flex-direction: column; gap: 12px; }
.closer__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; min-height: 460px; scroll-margin-top: 120px; }
.closer__text { background: var(--slate-tint); border-radius: var(--r-3); padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.closer__text h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.closer__text p { color: var(--ink-700); max-width: 46ch; }
.closer__text ul { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.closer__text li { display: flex; gap: 10px; font-size: 14.5px; }
.closer__text li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); margin-top: 9px; flex: none; }
.closer__visual { border-radius: var(--r-3); overflow: hidden; position: relative; background: center / cover no-repeat; display: flex; align-items: flex-end; justify-content: center; padding: 40px 28px 0; }
.closer__visual .showcase__ui { max-width: 360px; flex: none; height: 82%; }
@media (max-width: 991px) {
  .closer { grid-template-columns: minmax(0, 1fr); }
  .closer__index { display: none; }
}
@media (max-width: 767px) {
  .closer__row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .closer__text { padding: 28px 24px; }
  .closer__visual { height: 380px; }
}/* "what's included" card over photo *//* plain footer (no sticky CTA above it) */
body > .footer { margin-top: 0; border-top: 1px solid var(--ink-150); border-radius: 0; }/* ==========================================================================
   CONTACT — Let's Talk
   ========================================================================== */
.contact { background: var(--slate-tint); padding: calc(16px + var(--nav-h) + 72px) var(--margin) var(--pad-md); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; max-width: 1320px; margin: 0 auto; align-items: start; }
.contact__intro { padding: 32px 4% 0 2%; display: flex; flex-direction: column; gap: 22px; }
.contact__intro .h1 { font-size: clamp(38px, 4vw, 58px); }
.contact__points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.contact__points span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.contact__points svg { width: 16px; height: 16px; color: var(--panel-community); }
.crisis-note { display: flex; gap: 12px; align-items: flex-start; background: var(--ember-tint); border-radius: var(--r-2); padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-800); }
.crisis-note svg { width: 20px; height: 20px; flex: none; color: var(--panel-peer); margin-top: 1px; }
.crisis-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.form-card { background: var(--white); border-radius: var(--r-4); padding: 40px; box-shadow: 0 1px 0 rgba(10, 40, 48, .03); }
.form-card__head { margin-bottom: 26px; }
.form-card__head .h3 { font-size: 28px; margin-bottom: 6px; }
.form-card__head p { color: var(--ink-700); font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field legend { font-size: 13px; font-weight: 500; color: var(--ink-800); padding: 0; }
.field .opt { color: var(--ink-700); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: var(--r-2);
  border: 1px solid var(--ink-150); background: var(--white);
  font: 400 15px/1.4 var(--font-ui); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230A2830' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-700); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(57, 150, 196, .18); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field .err { font-size: 12.5px; color: #B3261E; min-height: 0; }
.field .hint { font-size: 12.5px; color: var(--ink-700); }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--ink-150); font-size: 13.5px; transition: background-color .2s, color .2s, border-color .2s; }
.choice input:hover + span { border-color: var(--ink-300); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--lagoon); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 13px; color: var(--ink-800); line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.form__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.form__more > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear .6s; }
.form__more > div > .form { padding-top: 2px; }
.form.is-expanded .form__more { grid-template-rows: 1fr; }
.form.is-expanded .form__more > div { visibility: visible; transition-delay: 0s; }
.form.is-expanded [data-step-btn] { display: none; }
.form [type="submit"] { --btn-h: 52px; font-size: 14px; width: 100%; }
.form__legal { font-size: 12px; color: var(--ink-700); line-height: 1.55; }
.form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.partner-note { display: none; font-size: 13px; background: var(--slate-tint); border-radius: var(--r-2); padding: 12px 14px; color: var(--ink-800); }
.partner-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.partner-note.is-on { display: block; }
.form-success { display: none; text-align: center; padding: 40px 8px; flex-direction: column; align-items: center; gap: 16px; }
.form-success .mark { width: 64px; height: 64px; border-radius: 50%; background: var(--spectrum-conic); display: grid; place-items: center; }
.form-success .mark::after { content: ""; width: 52px; height: 52px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230A2830' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px no-repeat; }
.form-success p { color: var(--ink-700); max-width: 40ch; }
.form-card.is-sent .form, .form-card.is-sent .form-card__head { display: none; }
.form-card.is-sent .form-success { display: flex; }

@media (max-width: 991px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact__intro { padding: 16px 0 0; text-align: center; align-items: center; }
  .contact__points { justify-content: center; }
  .contact__intro .lede { text-align: center; }
}
@media (max-width: 767px) {
  .contact { padding-top: calc(12px + var(--nav-h) + 48px); }
  .form-card { padding: 28px 20px; border-radius: var(--r-3); }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
}
.form-success:focus { outline: none; }/* ==========================================================================
   REFERRAL form
   ========================================================================== */
.form-section { border: 0; margin: 0; padding: 0 0 22px; min-width: 0; display: flex; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--ink-070); }
.form-section > legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; color: var(--ink-700); }
.form-section > legend + * { clear: both; }
.row-3 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.field input:disabled { background: var(--ink-030); color: var(--ink-500); border-style: dashed; }
.referrer { display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: var(--r-2); background: var(--slate-tint); }
.referrer[hidden] { display: none; }
.referrer .field input { background: #fff; }
.next-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.next-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 14px 16px; background: var(--white); border-radius: var(--r-2); }
.next-steps .num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; }
.next-steps strong { font-size: 14.5px; font-weight: 500; }
.next-steps p { font-size: 13.5px; color: var(--ink-700); margin-top: 2px; }
.form-card.is-sent #ref-form { display: none; }
@media (max-width: 991px) { .next-steps { text-align: left; width: 100%; }
}
@media (max-width: 479px) { .row-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 992px) { .contact__intro { position: sticky; top: calc(16px + var(--nav-h) + 24px); }
}
.form .err:empty { display: none; }
.form > .err { font-size: 12.5px; color: #B3261E; margin-top: -8px; }/* ==========================================================================
   ABOUT
   ========================================================================== */
.hero--static .h1 { max-width: 16ch; }
.about-story { text-align: center; }
.about-story .h2 { margin: 18px auto 40px; max-width: 18ch; }
.about-story__body { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; color: var(--ink-800); font-size: 16.5px; line-height: 1.7; }
.about-story__body strong { font-weight: 500; color: var(--ink); }
.vision {
  max-width: 760px; margin: 56px auto 0; padding: 36px 40px; border-radius: var(--r-4);
  background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden;
}
.vision .mono { color: var(--mist); }
.vision p.h3 { margin-top: 14px; font-weight: 300; line-height: 1.3; }
.vision__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--spectrum); }
@media (max-width: 767px) { .vision { padding: 28px 22px; }
}/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 12px; }
.person { display: flex; flex-direction: column; gap: 12px; }
.person__photo {
  aspect-ratio: 4 / 5; border-radius: var(--r-3); overflow: hidden; position: relative;
  background: var(--tint, var(--slate-tint)) center / cover no-repeat;
  display: grid; place-items: center;
}
.person__photo img { width: 34%; opacity: .9; }
.person__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.person__role { color: var(--ink-700); margin-top: 3px; display: block; }
@media (max-width: 991px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}/* Team — simple version */
.page-intro--compact { padding-bottom: 56px; gap: 14px; }
.team-simple__join { margin-top: 64px; text-align: center; color: var(--ink-700); font-size: 15px; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.team-simple__join .link-arrow { color: var(--ink); }/* ==========================================================================
   CRISIS RESOURCES
   ========================================================================== */
.crisis-hero {
  margin: calc(16px + var(--nav-h) + 40px) var(--margin) 0; border-radius: var(--r-4);
  background: var(--ink); color: #fff; padding: 72px 6% 64px; text-align: center;
  position: relative; overflow: hidden;
}
.crisis-hero .mono { color: var(--mist); }
.crisis-hero .h1 { margin: 14px auto 16px; max-width: 16ch; font-weight: 300; }
.crisis-hero p.lede { color: rgba(255, 255, 255, .82); margin: 0 auto; text-align: center; }
.crisis-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.crisis-hero__actions .btn { --btn-h: 56px; font-size: 16px; padding: 0 28px; }
.crisis-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--spectrum); }
.btn--on-dark { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); }
.crisis-911 {
  max-width: 880px; margin: 24px auto 0; display: flex; gap: 14px; align-items: flex-start;
  background: var(--ember-tint); border-radius: var(--r-3); padding: 20px 24px; color: var(--ink-800); font-size: 15px;
}
.crisis-911 svg { width: 22px; height: 22px; flex: none; color: var(--panel-peer); margin-top: 2px; }
.crisis-911 a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) {
  .crisis-hero { padding: 48px 22px 44px; margin-top: calc(12px + var(--nav-h) + 24px); }
  .crisis-hero__actions .btn { width: 100%; }
}

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.resource { background: var(--slate-tint); border-radius: var(--r-3); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.resource .mono { color: var(--ink-700); display: inline-flex; align-items: center; gap: 8px; }
.resource .mono .dot { width: 7px; height: 7px; border-radius: 50%; }
.resource h3 { font-size: 21px; font-weight: 500; line-height: 1.35; }
.resource p { font-size: 14px; color: var(--ink-700); }
.resource__ways { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 10px; }
.resource__ways a { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.resource__ways a:hover { color: var(--ember-deep); }
.resource__ways a svg { width: 14px; height: 14px; }
@media (max-width: 991px) { .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) { .resource-grid { grid-template-columns: minmax(0, 1fr); }
}

.when-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; max-width: 980px; margin-inline: auto; }
.when { border: 1px solid var(--ink-150); border-radius: var(--r-3); padding: 28px; }
.when h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
.when ul { display: flex; flex-direction: column; gap: 8px; }
.when li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-800); }
.when li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--ember)); margin-top: 9px; flex: none; }
@media (max-width: 767px) { .when-grid { grid-template-columns: minmax(0, 1fr); } .when { padding: 22px; }
}/* ==========================================================================
   STEPS + CHECKLIST (new clients, insurance)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 56px; counter-reset: step; }
.step { position: relative; background: var(--slate-tint); border-radius: var(--r-3); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.step__num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.step h3 { font-size: 21px; font-weight: 500; line-height: 1.35; }
.step p { font-size: 14px; color: var(--ink-700); }
@media (max-width: 991px) { .steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) { .steps, .steps--3 { grid-template-columns: minmax(0, 1fr); } .step__num { margin-bottom: 6px; }
}

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.split__intro { position: sticky; top: calc(16px + var(--nav-h) + 32px); display: flex; flex-direction: column; gap: 16px; }
.split__intro .lede { max-width: 40ch; }
@media (max-width: 991px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } .split__intro { position: static; }
}

.checklist { background: var(--white); border: 1px solid var(--ink-150); border-radius: var(--r-4); padding: 10px 28px; }
.checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ink-070); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--panel-community) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checklist strong { display: block; font-size: 15.5px; font-weight: 500; }
.checklist span { display: block; font-size: 14px; color: var(--ink-700); margin-top: 2px; }
.checklist .opt { display: inline; font-size: 12.5px; color: var(--ink-700); margin: 0 0 0 6px; }
@media (max-width: 767px) { .checklist { padding: 4px 18px; }
}

.note-card { background: var(--slate-tint); border-radius: var(--r-3); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--ink-800); }
.note-card svg { width: 22px; height: 22px; flex: none; color: var(--ink); margin-top: 1px; }/* Who We Serve: service cards as links */
a.resource { transition: background-color .3s var(--ease), transform .3s var(--ease); }
a.resource:hover { background: var(--ink-070); transform: translateY(-2px); }
a.resource:hover .link-arrow svg { transform: translateX(3px); }/* ==========================================================================
   SERVICES (single page)
   ========================================================================== */
.svc-rows { display: flex; flex-direction: column; gap: 12px; padding-bottom: 0; }
.svc-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; min-height: 520px; scroll-margin-top: calc(16px + var(--nav-h) + 24px); }
.svc-row .closer__text { padding: 44px 40px; justify-content: flex-start; gap: 14px; }
.svc-row__label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-700); }
.svc-row__label .dot { width: 8px; height: 8px; border-radius: 50%; }
.svc-row .h3 { font-size: clamp(30px, 2.8vw, 40px); }
.svc-row__lede { font-size: 17px; color: var(--ink-800) !important; max-width: 48ch; }
.svc-row__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--ink-150); }
.svc-row__cols .svc-row__k { color: var(--ink-700); margin-bottom: 8px; }
.svc-row__cols p { font-size: 14.5px; }
.svc-row__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; }
@media (max-width: 991px) { .svc-row__cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
  .svc-row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .svc-row .closer__text { padding: 28px 22px; }
  .svc-row .closer__visual { height: 360px; }
}
.nav__link[aria-current="page"] { background: var(--ink-070); }
#team .person__photo { aspect-ratio: 1 / 1; }
#team .person__photo img { width: 28%; }
#team .team-simple__join { margin-top: 48px; }
/* Get Started: minimal branded timeline */
.tl { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; position: relative; }
.tl::before {
  content: ""; position: absolute; left: 24px; right: 0; top: 23px; height: 2px; border-radius: 2px;
  background: var(--spectrum);
  -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent);
}
.tl__step { position: relative; display: flex; flex-direction: column; gap: 26px; }
.tl__icon {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-150), 0 0 0 7px var(--white);
  color: var(--accent);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.tl__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tl__step:hover .tl__icon { background: var(--accent); color: #fff; box-shadow: 0 0 0 1px var(--accent), 0 0 0 7px var(--white); }
.tl__body { display: flex; flex-direction: column; gap: 10px; padding-right: 8px; }
.tl__kicker { color: var(--accent); }
.tl__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }
.tl__body p { font-size: 15px; line-height: 1.6; color: var(--ink-700); max-width: 30ch; }
@media (max-width: 991px) {
  .tl { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 560px; margin-inline: auto; }
  .tl::before {
    left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto;
    background: linear-gradient(180deg, #84B842 0%, #BAC730 16%, #E88841 33%, #A4619F 50%, #32407C 66%, #3996C4 83%, #45ACAA 100%);
    -webkit-mask: linear-gradient(180deg, #000 72%, transparent); mask: linear-gradient(180deg, #000 72%, transparent);
  }
  .tl__step { flex-direction: row; gap: 22px; align-items: flex-start; }
  .tl__icon { flex: none; }
  .tl__body { padding-top: 4px; }
  .tl__body p { max-width: none; }
  .tl__title { font-size: 25px; }
}
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 479px) { .hero__actions { flex-direction: column; align-items: stretch; width: min(100%, 280px); } }

/* Timeline: follows the scroll. The line draws as you scroll and each step
   arrives when the line reaches it. Only armed by JS, so content shows without it. */
.tl.is-armed::before { clip-path: inset(0 calc((1 - var(--draw, 0)) * 100%) 0 0); transition: clip-path .2s linear; }
.tl.is-armed .tl__icon {
  opacity: 0; transform: scale(.55);
  transition: opacity .5s var(--ease), transform .7s cubic-bezier(.34, 1.45, .64, 1), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.tl.is-armed .tl__body { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) .12s, transform .8s var(--ease) .12s; }
.tl.is-armed .tl__step.is-in .tl__icon, .tl.is-armed .tl__step.is-in .tl__body { opacity: 1; transform: none; }
@media (max-width: 991px) {
  .tl.is-armed::before { clip-path: inset(0 0 calc((1 - var(--draw, 0)) * 100%) 0); }
}
[hidden] { display: none !important; }

/* ==========================================================================
   Referral form: compact grid layout
   ========================================================================== */
@media (min-width: 1100px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
}
.fgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
.fgrid > * { min-width: 0; }
.fgrid .s1 { grid-column: span 1; } .fgrid .s2 { grid-column: span 2; } .fgrid .s3 { grid-column: span 3; }
.fgrid .s4 { grid-column: span 4; } .fgrid .s6 { grid-column: 1 / -1; }
.referrer.fgrid { display: grid; }
.fgrid__check { align-self: start; padding-top: 34px; }
.fgrid__check .check { font-size: 13px; }
.form--referral .form-section { gap: 18px; }
.form__submit { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 4px; }
.form__consent { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form__consent .err:empty { display: none; }
.form__consent .err { font-size: 12.5px; color: #B3261E; }
.form .form__submit [type="submit"] { width: auto; min-width: 210px; flex: none; }

/* tablets: two columns */
@media (max-width: 991px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid .s1, .fgrid .s2, .fgrid .s3 { grid-column: span 1; }
  .fgrid .s4, .fgrid .s6 { grid-column: 1 / -1; }
  .fgrid__check { padding-top: 0; grid-column: 1 / -1; }
}
/* phones: one column, full-width button */
@media (max-width: 599px) {
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .fgrid .s1, .fgrid .s2, .fgrid .s3 { grid-column: 1 / -1; }
  .form__submit { flex-direction: column; align-items: stretch; }
  .form .form__submit [type="submit"] { width: 100%; }
}

/* ==========================================================================
   Referral form: step-by-step flow
   ========================================================================== */
.wiz { display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.wiz__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.wiz__step {
  width: 100%; display: flex; align-items: center; gap: 9px; padding: 6px 4px 6px 0;
  font-size: 13px; font-weight: 500; color: var(--ink-700); text-align: left;
  transition: color .25s var(--ease);
}
.wiz__step:disabled { cursor: default; color: var(--ink-500); }
.wiz__step:not(:disabled):hover { color: var(--ink); }
.wiz__dot {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; background: var(--white); color: var(--ink-700);
  box-shadow: inset 0 0 0 1.5px var(--ink-150);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.wiz__step.is-done .wiz__dot {
  background: var(--panel-community) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  color: transparent; box-shadow: none;
}
.wiz__step.is-current { color: var(--ink); }
.wiz__step.is-current .wiz__dot { background: var(--ink); color: #fff; box-shadow: none; }
.wiz__bar { height: 3px; border-radius: 3px; background: var(--ink-070); overflow: hidden; }
.wiz__bar i {
  display: block; height: 100%; border-radius: 3px; background: var(--spectrum);
  width: calc(var(--wiz, 0) * 100%); min-width: 8%;
  transition: width .5s var(--ease);
}
.wiz__count { font-size: 12.5px; color: var(--ink-700); }

/* one step at a time: no dividers needed */
.form--referral .form-section[data-step] { border-bottom: 0; padding-bottom: 0; }
.form--referral .form-section[data-step] > legend { font-size: 11px; margin-bottom: 4px; }
.wiz-in { animation: wizIn .45s var(--ease) both; }
@keyframes wizIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.wiz__nav { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--ink-070); margin-top: 4px; }
.wiz__spacer { flex: 1; }
.form .wiz__nav .btn { --btn-h: 50px; font-size: 14px; padding: 0 26px; width: auto; min-width: 150px; }
.form .wiz__nav [type="submit"] { min-width: 200px; }

/* review */
.review { display: flex; flex-direction: column; gap: 10px; }
.review__group { border: 1px solid var(--ink-150); border-radius: var(--r-2); padding: 14px 18px; }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.review__title { font-size: 14px; font-weight: 600; }
.review__edit { font-size: 13px; font-weight: 500; color: var(--ember-deep); text-decoration: underline; text-underline-offset: 3px; }
.review dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 14px; }
.review dt { color: var(--ink-700); }
.review dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 599px) {
  .wiz__label { display: none; }
  .wiz__steps { grid-template-columns: repeat(5, auto); justify-content: space-between; }
  .wiz__step { padding: 4px 0; }
  .review dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .review dd { margin-bottom: 8px; }
  .wiz__nav { flex-wrap: wrap; }
  .form .wiz__nav .btn { min-width: 0; flex: 1; padding: 0 16px; }
  .wiz__spacer { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wiz-in { animation: none; } }

/* Referral form: tighter, even spacing */
.form--referral .form-section[data-step] { gap: 16px; }
.form--referral .form-section[data-step] > legend { margin-bottom: 2px; }
.form--referral fieldset.field > legend { margin-bottom: 8px; }
.form--referral .referrer { padding: 18px; gap: 14px; }

/* ==========================================================================
   REFERRAL PAGE: centered, one screen on desktop and mobile
   The card fills the space between the header and the crisis line; each step
   swaps in place and scrolls inside the card only if it's taller than that.
   ========================================================================== */
.ref-page { background: var(--slate-tint); }
.ref {
  height: 100vh; height: 100svh; min-height: 560px;
  padding: calc(16px + var(--nav-h) + 22px) var(--margin) 18px;
  display: flex; justify-content: center;
}
.ref__wrap { width: min(100%, 780px); height: 100%; max-height: 900px; display: flex; flex-direction: column; gap: 14px; margin: auto 0; }
.ref__head { flex: none; text-align: center; }
.ref__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.01em; }
.ref__sub { margin-top: 6px; font-size: 14.5px; color: var(--ink-700); }
.ref-card {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-4); padding: 26px 34px 18px;
  box-shadow: 0 1px 0 rgba(10, 40, 48, .04), 0 24px 48px -32px rgba(10, 40, 48, .35);
}
.ref-card #ref-form { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; }
.ref-card #ref-form .wiz, .ref-card #ref-form .wiz__nav, .ref-card #ref-form .form__legal { flex: none; }
.ref-card #ref-form [data-step]:not([hidden]) {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 2px 8px 8px 2px; margin-right: -8px;
  scrollbar-width: thin; scrollbar-color: var(--ink-300) transparent;
}
.ref-card #ref-form .wiz__nav { margin-top: 0; }
.ref-card .form__legal { text-align: center; }
.ref-card.is-sent #ref-form { display: none; }
.ref-card.is-sent .form-success { display: flex; margin: auto; }
.ref__crisis { flex: none; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-700); text-align: center; }
.ref__crisis svg { width: 16px; height: 16px; flex: none; color: var(--panel-peer); }
.ref__crisis a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* left-to-right step transitions */
.wiz-in--fwd { animation: wizFwd .42s var(--ease) both; }
.wiz-in--back { animation: wizBack .42s var(--ease) both; }
@keyframes wizFwd { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes wizBack { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wiz-in--fwd, .wiz-in--back { animation: none; } }

/* shorter screens: tighten so steps 1-4 fit without inner scrolling */
@media (max-height: 860px) {
  .ref { padding-top: calc(16px + var(--nav-h) + 12px); padding-bottom: 12px; }
  .ref__wrap { gap: 10px; }
  .ref__title { font-size: 30px; }
  .ref__sub { display: none; }
  .ref-card { padding: 18px 28px 14px; }
  .ref-card #ref-form { gap: 10px; }
  .ref-card #ref-form .wiz { gap: 8px; padding-bottom: 0; }
  .ref-card #ref-form .wiz__count { display: none; }
  .ref-card .form--referral .form-section[data-step] { gap: 12px; }
  .ref-card .form--referral .referrer { padding: 14px; gap: 10px; }
  .ref-card .form--referral .fgrid { gap: 12px; }
  .ref-card .field input, .ref-card .field select { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
  .ref-card .form .wiz__nav .btn { --btn-h: 44px; }
  .ref-card .form__legal { font-size: 12px; }
}

/* phones */
@media (max-width: 599px) {
  .ref { padding: calc(12px + var(--nav-h) + 10px) 10px 10px; min-height: 0; }
  .ref__wrap { gap: 8px; }
  .ref__title { font-size: 26px; }
  .ref__sub { display: none; }
  .ref-card { padding: 16px 16px 12px; border-radius: var(--r-3); }
  .ref-card #ref-form { gap: 10px; }
  .ref-card #ref-form .wiz__count { display: block; font-size: 12px; }
  .ref-card .form__legal { font-size: 12px; line-height: 1.45; }
  .ref__crisis { font-size: 12px; }
}

/* Contact page: link across to the referral page */
.referral-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-radius: var(--r-3); background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-150); font-size: 14.5px; color: var(--ink-800);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.referral-link strong { color: var(--ink); font-weight: 600; }
.referral-link svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.referral-link:hover { box-shadow: 0 0 0 1px var(--ink); }
.referral-link:hover svg { transform: translateX(3px); }

/* Review step: 2x2 summary on wider screens so it fits without scrolling */
@media (min-width: 700px) {
  .ref-card .review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ref-card .review dl { grid-template-columns: 96px minmax(0, 1fr); font-size: 13.5px; gap: 4px 10px; }
  .ref-card .review__group { padding: 12px 14px; }
}
/* the step row already names each step, so the section label is read aloud only */
.ref-card .form--referral .form-section[data-step] > legend {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ref-card [data-step="5"] > .hint { margin-top: 0; }

/* Referral page on phones: compact so most steps fit without inner scrolling */
@media (max-width: 599px) {
  .ref-card .form--referral .referrer { padding: 0; background: none; gap: 12px; }
  .ref-card .form--referral .fgrid { gap: 12px; }
  .ref-card .field { gap: 5px; }
  .ref-card .field label, .ref-card .field legend { font-size: 12.5px; }
  .ref-card .field input, .ref-card .field select { min-height: 44px; padding: 10px 14px; font-size: 16px; }
  .ref-card .field textarea { min-height: 76px; }
  .ref-card .choice span { height: 36px; padding: 0 13px; font-size: 13px; }
  .ref-card .hint { font-size: 12px; }
  .ref-card .form .wiz__nav .btn { --btn-h: 46px; }
  .ref-card .wiz__nav { padding-top: 8px; }
  .ref-card .review { gap: 8px; }
  .ref-card .review__group { padding: 10px 12px; }
  .ref-card .review__head { margin-bottom: 4px; }
  .ref-card .review dl { grid-template-columns: 88px minmax(0, 1fr); gap: 2px 10px; font-size: 13px; }
  .ref-card .review dd { margin-bottom: 0; }
}

/* Contact page: one centered column (intro, form, then the referral link and crisis note) */
.contact__grid--center { grid-template-columns: minmax(0, 1fr) !important; max-width: 680px; gap: 28px !important; justify-items: stretch; }
.contact__grid--center .contact__intro { position: static; text-align: center; align-items: center; padding: 0; }
.contact__grid--center .contact__intro .lede { margin-inline: auto; text-align: center; }
.contact__grid--center .contact__points { justify-content: center; }
.contact__after { display: flex; flex-direction: column; gap: 12px; }
.contact__after .crisis-note { justify-content: center; text-align: left; }
@media (min-width: 992px) {
  .contact:has(.contact__grid--center) { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-bottom: var(--pad-sm); }
  .contact__grid--center { width: 100%; }
}

/* ==========================================================================
   REFERRAL JOURNEY
   Each step opens with a question; desktop adds a rail showing the whole
   journey with live summaries; mobile shows a five-color segment bar.
   ========================================================================== */
.ref-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ref-rail { display: none; }

/* question header at the top of each step */
.ref-q { display: flex; align-items: center; gap: 14px; }
.ref-q__icon {
  width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 11%, #fff); color: var(--accent);
}
.ref-q__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ref-q__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }
.ref-q__sub { font-size: 14px; color: var(--ink-700); margin-top: 2px; }

/* ---- desktop: two-panel card with the journey rail ---- */
@media (min-width: 1100px) {
  .ref__wrap { width: min(100%, 1120px); }
  .ref-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); padding: 0 !important; overflow: hidden; }
  .ref-main { padding: 30px 40px 18px; }
  .ref-card #ref-form .wiz { display: none; }

  .ref-rail {
    display: flex; flex-direction: column; gap: 22px; min-height: 0;
    background: var(--ink); color: #fff; padding: 30px 26px 24px;
    position: relative; overflow: hidden;
  }
  .ref-rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--spectrum); }
  .ref-rail__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
  .ref-rail__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; position: relative; flex: 1; }
  /* the connecting line, filled in logo colors as you progress */
  .ref-rail__list::before, .ref-rail__list::after {
    content: ""; position: absolute; left: 19px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px;
  }
  .ref-rail__list::before { background: rgba(255, 255, 255, .12); }
  .ref-rail__list::after {
    background: linear-gradient(180deg, #3996C4, #E88841 30%, #84B842 55%, #A4619F 78%, #6C7BC0);
    clip-path: inset(0 0 calc((1 - var(--wiz, 0)) * 100%) 0); transition: clip-path .6s var(--ease);
  }
  .ref-rail__btn {
    position: relative; z-index: 1; width: 100%; display: flex; align-items: center; gap: 14px;
    padding: 8px 10px 8px 0; border-radius: 14px; text-align: left; color: inherit;
    transition: background-color .25s var(--ease);
  }
  .ref-rail__btn:not(:disabled):hover { background: rgba(255, 255, 255, .05); }
  .ref-rail__btn:disabled { cursor: default; }
  .ref-rail__dot {
    width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: var(--ink); color: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18);
    transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
  }
  .ref-rail__dot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .ref-rail__text { display: flex; flex-direction: column; min-width: 0; }
  .ref-rail__title { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .55); transition: color .3s; }
  .ref-rail__sum { font-size: 12.5px; color: rgba(255, 255, 255, .4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ref-rail__item.is-current .ref-rail__dot { background: var(--accent); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 35%, transparent); transform: scale(1.04); }
  .ref-rail__item.is-current .ref-rail__title { color: #fff; }
  .ref-rail__item.is-current .ref-rail__sum { color: var(--mist); }
  .ref-rail__item.is-done .ref-rail__dot { background: color-mix(in srgb, var(--accent) 30%, var(--ink)); color: #fff; box-shadow: none; }
  .ref-rail__item.is-done .ref-rail__title { color: rgba(255, 255, 255, .85); }
  .ref-rail__item.is-done .ref-rail__sum { color: var(--mist); }
  .ref-rail__foot { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .55); }

  .ref-q__title { font-size: 32px; }
  .ref-card .form--referral .form-section[data-step] { gap: 20px; }
}
@media (min-width: 1100px) and (max-height: 860px) {
  .ref-main { padding: 22px 34px 14px; }
  .ref-rail { padding: 24px 22px 20px; gap: 14px; }
  .ref-rail__btn { padding: 5px 8px 5px 0; }
  .ref-q__title { font-size: 26px; }
  .ref-q__icon { width: 40px; height: 40px; border-radius: 12px; }
  .ref-card .form--referral .form-section[data-step] { gap: 14px; }
}

/* ---- tablet + mobile: five-color segment bar instead of numbered circles ---- */
@media (max-width: 1099px) {
  .ref-card #ref-form .wiz__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .ref-card .wiz__step { padding: 8px 0; justify-content: stretch; }
  .ref-card .wiz__step .wiz__dot, .ref-card .wiz__step .wiz__label { display: none; }
  .ref-card .wiz__step::before {
    content: ""; display: block; width: 100%; height: 6px; border-radius: 6px; background: var(--ink-150);
    transition: background-color .35s var(--ease), opacity .35s var(--ease);
  }
  .ref-card .wiz__step.is-current::before { background: var(--accent); }
  .ref-card .wiz__step.is-done::before { background: var(--accent); opacity: .45; }
  .ref-card #ref-form .wiz__bar { display: none; }
  .ref-card #ref-form .wiz__count { display: block !important; font-size: 12.5px; }
  .ref-card #ref-form .wiz { gap: 2px; }
}
@media (max-width: 599px) {
  .ref-q { gap: 12px; align-items: flex-start; }
  .ref-q__icon { width: 38px; height: 38px; border-radius: 11px; }
  .ref-q__icon svg { width: 19px; height: 19px; }
  .ref-q__title { font-size: 22px; }
  .ref-q__sub { font-size: 13px; }
}
@media (min-width: 1100px) {
  .ref-rail__list { flex: none; }
  .ref-rail__foot { margin-top: auto; }
}
/* phones: the step question is the heading, so the page title is read aloud only */
@media (max-width: 599px) {
  .ref__head { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ref-q__sub { display: none; }
  .ref-q { align-items: center; }
}
/* rail: keep upcoming steps quieter but readable (>= 4.5:1 on Deep Teal) */
@media (min-width: 1100px) {
  .ref-rail__title { color: rgba(255, 255, 255, .78); }
  .ref-rail__sum { color: rgba(255, 255, 255, .64); }
  .ref-rail__foot { color: rgba(255, 255, 255, .7); }
  .ref-rail__dot { color: rgba(255, 255, 255, .7); }
}

/* ==========================================================================
   SITEWIDE MOTION
   ========================================================================== */
/* base reveal: fade and float up. Opacity and transform only, so dozens of
   elements can animate at once on the GPU without repainting. */
.reveal { transform: translateY(18px); transition: opacity .6s var(--ease-out-expo), transform .75s var(--ease-out-expo); }

/* word-by-word headlines: each word fades and floats up (no masks or crops) */
.reveal.wsplit { opacity: 1; transform: none; filter: none; }
.wsplit .w { display: inline-block; vertical-align: top; }
.wsplit .w__i { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .55s var(--ease-out-expo), transform .7s var(--ease-out-expo); transition-delay: calc(var(--wi, 0) * 40ms); }
.wsplit.is-in .w__i { opacity: 1; transform: none; }
.hero .wsplit .w__i { transition-duration: .8s, .95s; transition-delay: calc(120ms + var(--wi, 0) * 55ms); }

/* image panels fade and float up, sharpening from a soft blur */
.reveal-media { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out-expo), transform .9s var(--ease-out-expo); }
.reveal-media.is-in { opacity: 1; transform: none; }

/* timeline: pinned on desktop, steps fade and float in one at a time */
@media (min-width: 992px) {
  .tl-section { padding-bottom: clamp(72px, 9vh, 112px); }
  /* pinned just under the nav and only as tall as its content, so there's no
     empty band above the heading or before the next section when it lets go */
  .tl-stage { height: 175vh; padding-top: 24px; }
  .tl-stage__sticky { position: sticky; top: calc(16px + var(--nav-h) + 40px); }
  .tl-stage__sticky > .container { width: 100%; }
}
.tl.is-armed .tl__icon {
  opacity: 0; transform: translateY(14px) scale(.85); filter: blur(6px);
  transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.tl.is-armed .tl__body { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .8s var(--ease) .15s, transform 1s var(--ease) .15s, filter .8s var(--ease) .15s; }
.tl.is-armed .tl__step.is-in .tl__icon, .tl.is-armed .tl__step.is-in .tl__body { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-media, .wsplit .w__i { filter: none !important; clip-path: none !important; transform: none !important; opacity: 1 !important; }
  .tl-stage { height: auto !important; }
  .tl-stage__sticky { position: static !important; height: auto !important; }
}

/* spam trap: invisible to people and screen readers, filled only by bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }


/* ==========================================================================
   GLASS + MOTION
   Glass is used only where content floats over imagery or color: the nav, the
   hero label, the referral banner, the form cards over soft brand light, and
   the "app" cards over the service panels. Motion explains state (scroll,
   press, page change) and keeps the brand light alive behind the glass.
   ========================================================================== */
:root {
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --glass-blur: blur(18px) saturate(160%);
  --glass-edge: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .85);
}

/* ---- nav: frosted pill that firms up as you scroll, with a spectrum progress line */
.nav__pill {
  position: relative;
  /* clear glass: a light sheen over a heavily blurred view of the page behind */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .22) 55%, rgba(255, 255, 255, .34) 100%),
    rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25),
    0 0 0 1px rgba(10, 40, 48, .05), 0 10px 30px -14px rgba(10, 40, 48, .3);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), width .4s var(--ease);
  view-transition-name: site-nav;
}
.nav.is-scrolled .nav__pill {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .56) 0%, rgba(255, 255, 255, .3) 55%, rgba(255, 255, 255, .42) 100%),
    rgba(255, 255, 255, .34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25),
    0 0 0 1px rgba(10, 40, 48, .06), 0 16px 40px -18px rgba(10, 40, 48, .36);
}
/* link pills: translucent so the glass shows through them too */
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(10, 40, 48, .06); }
.nav__link[aria-current="page"] { background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 2px 8px -4px rgba(10, 40, 48, .25); }
/* scroll progress: a spectrum ring that fills around the logo as you move down the page */
.nav__logo { position: relative; }
.nav__logo::before, .nav__logo::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  opacity: 0; transition: opacity .5s var(--ease);
}
.nav__logo::before { background: rgba(10, 40, 48, .1); }
.nav__logo::after {
  background: var(--spectrum-conic);
  -webkit-mask:
    radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)),
    conic-gradient(#000 calc(var(--progress, 0) * 1turn), transparent 0);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)) intersect,
    conic-gradient(#000 calc(var(--progress, 0) * 1turn), transparent 0);
}
.nav.is-scrolled .nav__logo::before, .nav.is-scrolled .nav__logo::after { opacity: 1; }
.nav.is-mobile-open .nav__logo::before, .nav.is-mobile-open .nav__logo::after { opacity: 0; }
.nav__actions .btn--light {
  background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .3)), rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-color: rgba(10, 40, 48, .1);
  box-shadow: 0 8px 24px -14px rgba(10, 40, 48, .3);
}
.nav__actions .btn--light:hover { background: rgba(255, 255, 255, .85); }

@media (max-width: 991px) {
  .nav.is-mobile-open {
    background: rgba(244, 247, 247, .66);
    -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  }
  .nav.is-mobile-open .nav__pill { background: rgba(255, 255, 255, .86); }
  .mnav__panel {
    background: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-edge), 0 18px 40px -20px rgba(10, 40, 48, .3);
  }
  /* menu rows settle in one after another when the menu opens */
  .mnav__row { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .5s var(--ease-out-expo); }
  .nav.is-mobile-open .mnav__row { opacity: 1; transform: none; }
  .nav.is-mobile-open .mnav__row:nth-child(1) { transition-delay: .06s; }
  .nav.is-mobile-open .mnav__row:nth-child(2) { transition-delay: .1s; }
  .nav.is-mobile-open .mnav__row:nth-child(3) { transition-delay: .14s; }
  .nav.is-mobile-open .mnav__row:nth-child(4) { transition-delay: .18s; }
  .nav.is-mobile-open .mnav__row:nth-child(5) { transition-delay: .22s; }
  .nav.is-mobile-open .mnav__row:nth-child(n+6) { transition-delay: .26s; }
}

/* ---- glass over photos */
.hero__pill {
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px -16px rgba(0, 0, 0, .45);
}
.btn--ghost, .btn--on-dark {
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  border-color: rgba(255, 255, 255, .55);
}
.banner__card {
  /* clear glass: the photo shows through, blurred and lifted so the copy stays readable */
  background: linear-gradient(160deg, rgba(255, 255, 255, .66) 0%, rgba(255, 255, 255, .46) 60%, rgba(255, 255, 255, .54) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(170%) brightness(1.18); backdrop-filter: blur(26px) saturate(170%) brightness(1.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .2),
    0 30px 60px -30px rgba(10, 40, 48, .5);
}
.banner__card .lede { color: var(--ink-800); }
.banner__card .mono { color: var(--ink); }
.banner__card .btn--outline { background: rgba(255, 255, 255, .35); border-color: rgba(10, 40, 48, .55); }
.banner__card .btn--outline:hover { background: var(--ink); border-color: var(--ink); }

/* ---- soft brand light behind page intros and the form pages */
.has-aurora { position: relative; isolation: isolate; }
.has-aurora > :not(.aurora) { position: relative; z-index: 1; }
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; width: 52vmax; height: 52vmax; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  animation: aurora-drift var(--t, 26s) ease-in-out infinite alternate;
  animation-play-state: paused;
}
.aurora.is-live i { animation-play-state: running; }
.aurora i:nth-child(1) { --c: rgba(57, 150, 196, .28); top: -34vmax; left: -14vmax; --dx: 8vw; --dy: 6vh; }
.aurora i:nth-child(2) { --c: rgba(232, 136, 65, .24); top: -26vmax; right: -20vmax; --dx: -7vw; --dy: 9vh; --t: 31s; }
.aurora i:nth-child(3) { --c: rgba(132, 184, 66, .22); bottom: -40vmax; left: 22%; --dx: 5vw; --dy: -7vh; --t: 36s; }
@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(var(--dx), var(--dy), 0) scale(1.14); }
}

/* form cards become frosted panels over that light */
.form-card, .ref-card {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--glass-edge), 0 1px 0 rgba(10, 40, 48, .03), 0 30px 60px -36px rgba(10, 40, 48, .4);
}

/* ---- service panels: drifting light under frosted "app" cards */
.orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orbs i {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  animation: aurora-drift var(--t, 18s) ease-in-out infinite alternate;
  animation-play-state: paused;
}
.orbs.is-live i { animation-play-state: running; }
.orbs i:nth-child(1) { --c: rgba(255, 255, 255, .26); top: -20%; left: -18%; --dx: 12%; --dy: 10%; }
.orbs i:nth-child(2) { --c: rgba(232, 136, 65, .3); bottom: -26%; right: -20%; --dx: -14%; --dy: -8%; --t: 22s; }
.showcase__pane { z-index: 1; }
.closer__visual > .showcase__ui { position: relative; z-index: 1; }
.showcase__ui {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 1px 0 #fff, 0 30px 60px -20px rgba(0, 0, 0, .35);
}

/* ---- pointer light on frosted panels (mouse and trackpad only) */
.glow { position: relative; }
.glow::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .5), transparent 60%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s var(--ease);
}
.glow.is-lit::before { opacity: 1; }

/* ---- buttons: a light sweep on hover, a small give on press */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease-out-expo); }
.btn:active { transform: scale(.97); transition-duration: .1s; }

/* ---- page to page: the nav stays put while the page underneath crossfades */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .14s linear both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease-out-expo) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---- no backdrop-filter support: solid surfaces instead of see-through ones */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav__pill, .nav.is-scrolled .nav__pill, .banner__card, .form-card, .ref-card, .showcase__ui, .mnav__panel { background: #fff; }
  .nav.is-mobile-open { background: var(--slate-tint); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora i, .orbs i { animation: none; }
  .btn--primary::after { display: none; }
  .btn:active { transform: none; }
  .mnav__row { transition: opacity .2s linear !important; transform: none !important; }
  ::view-transition-old(root) { animation: vt-fade-out .15s linear both; }
  ::view-transition-new(root) { animation: vt-fade-in .2s linear both; }
}
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* ---- no hard seams between sections: light and tints fade out instead of stopping */
.aurora {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
}
body > .footer { border-top: 0; }
.contact { background: linear-gradient(180deg, var(--slate-tint) 0%, var(--slate-tint) 65%, var(--white) 100%); }
.ref-page { background: linear-gradient(180deg, var(--slate-tint) 0%, var(--slate-tint) 60%, var(--white) 100%); }

/* ==========================================================================
   CIRCLE OF SUPPORT: glass
   Cards are glass tiles (translucent fill, specular edge, soft colored depth)
   drifting over soft brand light; the headline sits on a frosted panel above
   them, so a card passing behind it is frosted rather than covering the words.
   Real backdrop blur is used only on the still center panel; the moving cards
   get their glass from translucency and light so scrolling stays smooth.
   ========================================================================== */
.circle__ring { z-index: 1; }
.circle__sticky > .aurora { z-index: 0; -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 50%, #000 35%, transparent 100%); }

.circle__card {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, .72) 100%),
    color-mix(in srgb, var(--c) 22%, transparent);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .75),
    inset 0 1px 0 #fff,
    inset 0 -10px 24px -18px color-mix(in srgb, var(--c) 55%, transparent),
    0 1px 2px rgba(10, 40, 48, .06),
    0 18px 36px -18px color-mix(in srgb, var(--c) 45%, rgba(10, 40, 48, .45)),
    0 34px 60px -40px rgba(10, 40, 48, .35);
}
/* a soft specular highlight across the top of each tile */
.circle__card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: linear-gradient(170deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%);
  mix-blend-mode: soft-light;
}

/* photos sit inside a frosted frame instead of a hard colored ring */
.circle__card--photo, .circle__card--group {
  outline: 0; padding: 6px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6)),
    color-mix(in srgb, var(--c) 30%, transparent);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .85),
    inset 0 0 0 2px color-mix(in srgb, var(--c) 35%, transparent),
    0 1px 2px rgba(10, 40, 48, .06),
    0 20px 40px -18px color-mix(in srgb, var(--c) 55%, rgba(10, 40, 48, .45)),
    0 38px 64px -40px rgba(10, 40, 48, .4);
}
.circle__card--photo img, .circle__card--group img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: calc(var(--r-3) - 5px); }
.circle__pill {
  bottom: -10px; z-index: 4;
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 8px 18px -8px rgba(10, 40, 48, .45);
}
.circle__pill i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }

/* quote: glass with a thin spectrum line along the top edge, inset from the corners */
.circle__card--quote { background: linear-gradient(155deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .62)); }
.circle__card--quote::before { left: 16px; right: 16px; top: 0; height: 2px; border-radius: 0 0 2px 2px; opacity: .85; }

/* brand mark: dark glass */
.circle__card--mark {
  background: linear-gradient(155deg, rgba(47, 72, 79, .96), rgba(10, 40, 48, .94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 40px -18px rgba(10, 40, 48, .6);
}
.circle__card--smile { background: linear-gradient(155deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .66)); }
.circle__card--heart { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 2px 0 rgba(255, 255, 255, .4), 0 18px 36px -16px rgba(125, 97, 158, .55); }

/* the headline's frosted panel */
.circle__center {
  z-index: 3; max-width: 660px; padding: 38px 44px 40px; border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .5));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 1px 0 #fff, 0 30px 70px -40px rgba(10, 40, 48, .4);
}
@media (max-width: 767px) {
  .circle__center { margin-inline: 14px; padding: 28px 22px 30px; border-radius: 26px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .circle__center { background: rgba(255, 255, 255, .94); }
}

/* ---- performance: keep moving layers on the GPU, dark base under deferred photos */
.circle__card { will-change: transform; }
.aurora i, .orbs i { will-change: transform; }
.banner__bg, .cta__bg { background-color: var(--ink); }
.hero__slide { background-color: var(--ink); }

/* ---- first screen: animates with CSS from the first paint, no waiting on scripts */
.wsplit-load .w { display: inline-block; vertical-align: top; }
.wsplit-load .w__i { display: inline-block; animation: word-rise .75s var(--ease-out-expo) both; animation-delay: calc(60ms + var(--wi, 0) * 45ms); }
.hero .wsplit-load .w__i { animation-duration: .95s; animation-delay: calc(140ms + var(--wi, 0) * 55ms); }
@keyframes word-rise { from { opacity: 0; transform: translateY(.35em); } }
.load-rise { animation: load-rise .7s var(--ease-out-expo) both; }
.load-rise[data-delay="1"] { animation-delay: .12s; }
.load-rise[data-delay="2"] { animation-delay: .2s; }
.load-rise[data-delay="3"] { animation-delay: .28s; }
@keyframes load-rise { from { opacity: 0; transform: translateY(14px); } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .wsplit-load .w__i, .load-rise { animation: none; }
}


/* ---- referral journey rail: dark glass with soft brand light moving inside */
@media (min-width: 1100px) {
  .ref-rail {
    background: linear-gradient(165deg, rgba(18, 56, 66, .985) 0%, rgba(10, 40, 48, .975) 55%, rgba(12, 44, 53, .98) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .16), inset -1px 0 0 rgba(255, 255, 255, .06);
  }
  .ref-rail > :not(.orbs) { position: relative; z-index: 1; }
  .ref-rail > .orbs i:nth-child(1) { --c: rgba(57, 150, 196, .42); width: 130%; top: -28%; left: -45%; }
  .ref-rail > .orbs i:nth-child(2) { --c: rgba(164, 97, 159, .32); width: 120%; bottom: -32%; right: -55%; }
  /* step discs are small glass lenses */
  .ref-rail__dot {
    background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .28);
  }
  .ref-rail__item.is-current .ref-rail__dot {
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--accent));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent), 0 8px 20px -6px color-mix(in srgb, var(--accent) 70%, transparent);
  }
  .ref-rail__item.is-done .ref-rail__dot {
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 45%, rgba(255, 255, 255, .1)), color-mix(in srgb, var(--accent) 30%, transparent));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .3);
  }
  .ref-rail__btn:not(:disabled):hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
}
