/* =======================================================
   MHMG — design system
   Editorial-clinical: warm cream, deep ink, sage, terracotta
   Type: Manrope only
   ======================================================= */

:root {
  --bg: #F4EFE6;
  --bg-2: #EBE3D2;
  --bg-3: #FFFFFF;
  --ink: #0E1A2C;
  --ink-2: #2A3447;
  --muted: #6E7585;
  --line: #DBD2BF;
  --sage: #5C7368;
  --sage-deep: #3F5249;
  --terra: #C9684D;
  --terra-deep: #A8533D;
  --gold: #B8995A;

  /* Dark band: used by sections that should stand out as a darker strip
     even on light theme (crisis ribbon, insurance trust, coverage, footer). */
  --band: #0E1A2C;
  --band-text: #EFE7D8;
  --band-line: rgba(255,255,255,.10);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(14,26,44,.04), 0 8px 24px rgba(14,26,44,.06);
  --shadow-2: 0 4px 16px rgba(14,26,44,.08), 0 24px 48px rgba(14,26,44,.10);

  --t-fast: 220ms cubic-bezier(.2,.7,.2,1);
  --t-med:  450ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 900ms cubic-bezier(.16,.84,.24,1);

  --container: 1240px;
  --gap: clamp(20px, 3vw, 36px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 6px 18px rgba(14,26,44,.18);
}
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn--outline {
  border: 1px solid var(--ink); color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { color: var(--ink); padding: 0 14px; height: 40px; font-size: 14px; }
.btn--ghost:hover { color: var(--sage-deep); }

/* ------- Crisis ribbon ------- */
.crisis {
  background: var(--band); color: var(--band-text);
  font-size: 13px; letter-spacing: .02em;
  border-bottom: 1px solid var(--band-line);
}
.crisis__inner {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
}
.crisis__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 0 rgba(201,104,77,.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201,104,77,.5); }
  70% { box-shadow: 0 0 0 10px rgba(201,104,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,104,77,0); }
}
.crisis__num { font-weight: 700; color: #fff; border-bottom: 1px dashed rgba(255,255,255,.4); }
.crisis__sep { opacity: .35; }

/* ------- Header ------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,239,230,.78);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.hdr.is-scrolled {
  background: rgba(244,239,230,.92);
  border-bottom-color: var(--line);
}
.hdr__inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.hdr__brand { display: flex; align-items: center; gap: 14px; }
.hdr__logo {
  width: 52px; height: 52px;
  object-fit: contain;
  background: var(--ink);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(14,26,44,.12);
}
.hdr__brandtext { display: flex; flex-direction: column; line-height: 1.05; }
.hdr__brandname { font-weight: 800; letter-spacing: .04em; font-size: 20px; }
.hdr__brandsub { font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

.hdr__nav { display: flex; gap: 26px; margin-left: auto; }
.hdr__nav a {
  font-size: 14px; color: var(--ink-2); position: relative;
  transition: color var(--t-fast);
}
.hdr__nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--ink); transition: width var(--t-fast);
}
.hdr__nav a:hover { color: var(--ink); }
.hdr__nav a:hover::after { width: 100%; }

.hdr__right { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 6px; background: var(--bg-3);
}
.lang__btn {
  width: 30px; height: 28px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); transition: all var(--t-fast);
}
.lang__btn.is-active { background: var(--ink); color: #fff; }
.lang__sep { color: var(--line); font-size: 11px; }

.theme {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 6px; background: var(--bg-3);
}
.theme__btn {
  width: 30px; height: 28px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all var(--t-fast);
}
.theme__btn:hover { color: var(--ink); }
.theme__btn.is-active { background: var(--ink); color: var(--bg-3); }
.theme__sep { color: var(--line); font-size: 11px; }

/* ------- Hero ------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(92,115,104,.10), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(201,104,77,.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__wrap { position: relative; z-index: 1; max-width: 1080px; }
.hero__meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-2); letter-spacing: .04em;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  padding: 7px 14px; border-radius: var(--r-pill);
  margin-bottom: 28px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
  animation: pulse-sage 2.4s ease-in-out infinite;
}
@keyframes pulse-sage {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}
.hero__sep { opacity: .3; }
.hero__clock { font-variant-numeric: tabular-nums; }

.hero__h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero__h1line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.06em;
}
.hero__h1line--em { color: var(--sage-deep); font-style: italic; font-weight: 500; }

/* word-by-word reveal */
.hero__h1line .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .9s cubic-bezier(.16,.84,.24,1), opacity .9s;
}
.hero.is-in .hero__h1line .word { transform: translateY(0); opacity: 1; }
.hero__h1line .word:nth-child(1) { transition-delay: .05s; }
.hero__h1line .word:nth-child(2) { transition-delay: .12s; }
.hero__h1line .word:nth-child(3) { transition-delay: .19s; }
.hero__h1line .word:nth-child(4) { transition-delay: .26s; }
.hero__h1line .word:nth-child(5) { transition-delay: .33s; }
.hero__h1line .word:nth-child(6) { transition-delay: .40s; }

.hero__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6; color: var(--ink-2);
  max-width: 640px; margin: 0 0 28px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s ease .55s, transform 1s ease .55s;
}
.hero.is-in .hero__lead { opacity: 1; transform: none; }

.hero__ctas { display: flex; gap: 12px; margin-bottom: 32px; opacity: 0; transition: opacity .8s ease .8s; }
.hero.is-in .hero__ctas { opacity: 1; }

.hero__lang {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0; transition: opacity .8s ease .9s;
}
.hero.is-in .hero__lang { opacity: 1; }
.hero__langpill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2);
}

.hero__quote {
  margin: 0; padding: 28px 32px;
  border-left: 2px solid var(--sage);
  max-width: 680px;
  opacity: 0; transform: translateX(-12px);
  transition: opacity 1s ease 1s, transform 1s ease 1s;
}
.hero.is-in .hero__quote { opacity: 1; transform: none; }
.hero__quote blockquote { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink); font-weight: 400; }
.hero__quote figcaption { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.hero__quote figcaption strong { color: var(--ink); font-weight: 700; }

/* vertical scroll rail */
.hero__rail {
  position: absolute; top: 0; right: 32px; bottom: 0;
  width: 1px; background: var(--line);
  opacity: .8; pointer-events: none;
}
.hero__rail-tick {
  position: absolute; left: -3px; top: 0; width: 7px; height: 60px;
  background: var(--ink); border-radius: 4px;
  transform-origin: top;
  transition: transform .12s linear;
}

/* ------- Trust strip ------- */
.trust {
  background: var(--band); color: var(--band-text);
  padding: 28px 0;
  border-top: 1px solid var(--band-line);
}
.trust__inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 18px 28px;
}
.trust__label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(239,231,216,.55);
}
.trust__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 14px; font-weight: 500;
}
.trust__list li { white-space: nowrap; }
.trust__list li + li { position: relative; }
.trust__list li + li::before {
  content: '·'; position: absolute; left: -14px; opacity: .35;
}
.trust__pay {
  margin-left: auto;
  font-size: 12.5px; color: rgba(239,231,216,.65);
}

/* ------- Section base ------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section__head { max-width: 880px; margin: 0 0 56px; }
.section__kicker {
  display: inline-block; font-size: 11.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--terra-deep);
  margin-bottom: 18px; font-weight: 700;
}
.section__h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -0.015em;
  font-weight: 700; margin: 0 0 18px;
}
.section__lead {
  font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6;
  color: var(--ink-2); max-width: 620px; margin: 0;
}

/* reveal-on-scroll utility */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ------- Conditions ------- */
.cond {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 0 0 90px;
}
.cond__pill {
  display: flex; align-items: baseline; gap: 16px;
  padding: 28px 26px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  cursor: default;
  position: relative; overflow: hidden;
}
.cond__pill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%);
  opacity: 0; transition: opacity var(--t-fast);
  z-index: 0;
}
.cond__pill > * { position: relative; z-index: 1; transition: color var(--t-fast); }
.cond__pill:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow-2);
}
.cond__pill:hover::after { opacity: 1; }
.cond__pill:hover > * { color: #fff; }
.cond__num {
  font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}
.cond__name { font-size: 17px; font-weight: 600; letter-spacing: -.005em; }

/* ------- How it works ------- */
.how { padding-top: 60px; border-top: 1px solid var(--line); }
.how__h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600; margin: 0 0 32px; letter-spacing: -.01em;
}
.how__steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; counter-reset: how;
}
.how__step { padding: 28px 0; border-top: 2px solid var(--ink); position: relative; }
.how__step::before {
  content: ''; position: absolute; top: -2px; left: 0; height: 2px; width: 0;
  background: var(--terra); transition: width 1.2s cubic-bezier(.16,.84,.24,1);
}
.how__step.is-in::before { width: 100%; }
.how__n {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--terra-deep); display: block; margin-bottom: 10px;
}
.how__step h4 { font-size: 17px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.005em; }
.how__step p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* ------- About ------- */
.about { background: var(--bg-2); }
.about__grid {
  display: grid; grid-template-columns: 1.5fr .9fr; gap: 80px;
}
.about__pillars {
  display: grid; gap: 28px; margin: 40px 0 32px;
}
.pillar { padding-left: 24px; border-left: 2px solid var(--sage); }
.pillar h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.005em; }
.pillar p { margin: 0; color: var(--ink-2); }
.about__mission {
  margin: 0; padding: 28px 32px;
  background: var(--band); color: var(--band-text);
  border-radius: var(--r-md);
}
.about__mlabel {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.about__mission p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.about__values {
  background: var(--bg-3); padding: 32px;
  border-radius: var(--r-md); border: 1px solid var(--line);
  align-self: start; position: sticky; top: 100px;
}
.about__values h3 {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 20px; font-weight: 700;
}
.about__values ul {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column;
}
.about__values li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transition: color var(--t-fast), padding var(--t-fast);
}
.about__values li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); transition: transform var(--t-fast), background var(--t-fast);
}
.about__values li:hover { color: var(--sage-deep); padding-left: 6px; }
.about__values li:hover::before { background: var(--terra); transform: scale(1.3); }
.about__values li:last-child { border-bottom: 0; }
.about__cult { font-size: 13px; color: var(--muted); display: block; padding-top: 6px; }

/* ------- Team ------- */
.team__lead {
  display: grid; grid-template-columns: 380px 1fr; gap: 56px;
  margin-bottom: 80px; align-items: center;
}
.team__photo {
  border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4/5;
  position: relative;
}
.team__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.16,.84,.24,1);
  transform: scale(1.08);
  filter: saturate(.92);
}
.team__lead.is-in .team__photo img { transform: scale(1); }
.team__role {
  display: inline-block; font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--terra-deep); font-weight: 700;
  margin-bottom: 12px;
}
.team__name { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; margin: 0 0 14px; letter-spacing: -.015em; }
.team__bio p { font-size: 15.5px; color: var(--ink-2); margin: 0 0 20px; max-width: 60ch; line-height: 1.6; }
.team__creds {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.team__creds li {
  padding: 6px 14px; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500;
}
.team__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.member {
  padding: 28px; background: var(--bg-3);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.member__photo {
  width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden; margin-bottom: 18px;
  background: var(--bg-2);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; letter-spacing: -.005em; }
.member h3 span { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 6px; }
.member p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }

/* ------- Coverage ------- */
.coverage { background: var(--band); color: var(--band-text); }
.coverage .section__h2 { color: #fff; }
.coverage .section__kicker { color: var(--gold); }
.coverage .section__lead { color: rgba(239,231,216,.7); }
.coverage__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.states {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
}
.states li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid rgba(239,231,216,.12);
  transition: padding var(--t-fast), color var(--t-fast);
}
.states li:hover { padding-left: 12px; color: var(--gold); }
.states__abbr {
  font-size: clamp(26px, 3.6vw, 40px); font-weight: 700;
  letter-spacing: -.02em; line-height: 1; min-width: 90px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.4));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------- Articles ------- */
.articles { background: var(--bg); }
.articles__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.art {
  display: block; transition: transform var(--t-fast);
}
.art:hover { transform: translateY(-4px); }
.art__img {
  aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--r-md); margin-bottom: 18px;
  background: var(--bg-2);
}
.art__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.art:hover .art__img img { transform: scale(1.06); }
.art__date {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 10px;
}
.art h3 {
  font-size: 16px; line-height: 1.35; font-weight: 600;
  margin: 0 0 8px; letter-spacing: -.005em;
}
.art p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.art:hover h3 { color: var(--sage-deep); }

/* ------- Reviews ------- */
.reviews { background: var(--bg-2); }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.rev {
  margin: 0; padding: 32px;
  background: var(--bg-3);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.rev::before {
  content: '“'; position: absolute; top: 8px; left: 24px;
  font-size: 60px; color: var(--terra); opacity: .35; line-height: 1;
  font-family: Georgia, serif;
}
.rev:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.rev blockquote {
  margin: 0 0 16px; padding-top: 22px;
  font-size: 14.5px; line-height: 1.55; color: var(--ink);
}
.rev figcaption { font-size: 13px; color: var(--muted); font-weight: 500; }
.reviews__grid .rev:nth-child(4) { grid-column: 1/3; }
.reviews__grid .rev:nth-child(5) { grid-column: 3/4; }

/* ------- Contact ------- */
.contact { background: var(--bg); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.contact__methods { display: flex; flex-direction: column; gap: 4px; margin: 28px 0; }
.cmethod {
  display: flex; align-items: baseline; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: padding var(--t-fast);
}
.cmethod:hover { padding-left: 8px; }
.cmethod__label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); min-width: 90px; font-weight: 700;
}
.cmethod__val { font-size: 19px; font-weight: 600; letter-spacing: -.005em; }
.cmethod:hover .cmethod__val { color: var(--terra-deep); }
.contact__crisis {
  margin-top: 24px; padding: 18px 22px;
  background: var(--bg-3); border-left: 3px solid var(--terra);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 14.5px;
}
.contact__crisis strong { display: block; margin-bottom: 4px; }

.form {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-1);
}
.form h3 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label > span {
  font-size: 12.5px; color: var(--muted); letter-spacing: .04em; font-weight: 500;
}
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; background: var(--bg);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink); background: #fff;
}
.form button { align-self: flex-start; margin-top: 8px; }
.form small { color: var(--muted); font-size: 12px; }

/* ------- Footer ------- */
.ftr { background: var(--band); color: var(--band-text); padding: 56px 0 32px; }
.ftr__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; align-items: start;
}
.ftr__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.ftr__brand img { width: 72px; height: 72px; object-fit: contain; }
.ftr__brand p { margin: 0; font-size: 14px; color: rgba(239,231,216,.7); line-height: 1.5; }
.ftr__nav { display: flex; flex-direction: column; gap: 10px; }
.ftr__nav a { font-size: 14px; color: rgba(239,231,216,.85); transition: color var(--t-fast); }
.ftr__nav a:hover { color: var(--gold); }
.ftr__meta {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
  font-size: 12.5px; color: rgba(239,231,216,.55); text-align: right;
}

/* ===========================================
   Scroll-driven motion (CSS @scroll-timeline)
   Fallback handled by IntersectionObserver in JS
   =========================================== */

@supports (animation-timeline: view()) {
  /* Section entrance */
  .reveal-css {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  @keyframes revealUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Hero parallax tick */
  .hero__rail-tick {
    animation: railProgress linear;
    animation-timeline: scroll(root);
  }
  @keyframes railProgress {
    from { transform: translateY(0); }
    to   { transform: translateY(calc(100vh - 60px)); }
  }

  /* Section h2 — slight lift on reveal */
  .section__h2 {
    animation: titleEnter linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
  }
  @keyframes titleEnter {
    from { opacity: 0; transform: translateY(50px) scale(.98); letter-spacing: -.04em; }
    to   { opacity: 1; transform: none; letter-spacing: -.02em; }
  }

  /* Article images parallax */
  .art__img img {
    animation: artParallax linear;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes artParallax {
    from { transform: translateY(20px) scale(1.1); }
    to   { transform: translateY(-30px) scale(1.1); }
  }

  /* Conditions cascade in */
  .cond__pill {
    animation: condIn linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  @keyframes condIn {
    from { opacity: 0; transform: translateY(40px) scale(.96); }
    to   { opacity: 1; transform: none; }
  }

  /* Team lead photo zoom-in on scroll */
  .team__photo img {
    animation: photoZoom linear;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes photoZoom {
    from { transform: scale(1.18) translateY(0); }
    to   { transform: scale(1.0) translateY(-4%); }
  }

  /* Pillar slide-in cascade */
  .pillar {
    animation: pillarIn linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
  }
  @keyframes pillarIn {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: none; }
  }

  /* Reviews staggered */
  .rev {
    animation: revIn linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 30%;
  }
  @keyframes revIn {
    from { opacity: 0; transform: translateY(40px) rotate(-.5deg); }
    to   { opacity: 1; transform: none; }
  }

  /* States numbers reveal */
  .states li {
    animation: stateIn linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }
  @keyframes stateIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ------- Pinned big quote (Apple-style sticky moment) ------- */
.pinquote {
  background: var(--bg);
  position: relative;
  height: 220vh;
}
.pinquote__sticky {
  position: sticky; top: 0;
  height: 100vh; display: grid; place-items: center;
  text-align: center; padding: 0 24px;
}
/* Brand band — between marquee and portrait, dark navy strip
   so the white-colored logo reads naturally with no circle */
.brandband {
  background: var(--band);
  color: var(--band-text);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
}
.brandband__inner {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
}
.brandband__logo {
  width: clamp(80px, 10vw, 132px);
  height: auto; display: block;
}
.brandband__rule {
  width: 1px; height: 44px;
  background: rgba(255,255,255,.2);
}
.brandband__name {
  font-size: clamp(13px, 1.2vw, 15.5px);
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(239,231,216,.85); font-weight: 600;
}
@media (max-width: 620px) {
  .brandband__rule { display: none; }
  .brandband__inner { gap: 16px; }
}
.pinquote__text {
  font-size: clamp(26px, 4.5vw, 56px);
  font-weight: 600; letter-spacing: -.015em; line-height: 1.15;
  max-width: 1000px; margin: 0;
  color: var(--ink);
}
.pinquote__text .pq-word {
  display: inline-block;
  opacity: .12;
  transition: opacity .25s linear, color .25s linear;
}
.pinquote__text .pq-word.is-on { opacity: 1; }
.pinquote__text .pq-em { color: var(--sage-deep); font-style: italic; font-weight: 500; }

/* ------- Counters ------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 80px 0 0;
}
.stat__num {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700; line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink); display: block;
}
.stat__num sup { font-size: .5em; color: var(--terra-deep); top: -.4em; }
.stat__lab {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-top: 12px; display: block; font-weight: 600;
}

/* ------- Responsive ------- */
@media (max-width: 980px) {
  .hdr__nav { display: none; }
  .hdr__call { display: none; }
  .hero__rail { display: none; }
  .how__steps, .team__grid, .articles__grid, .reviews__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid .rev:nth-child(4), .reviews__grid .rev:nth-child(5) { grid-column: auto; }
  .about__grid, .coverage__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__values { position: static; }
  .team__lead { grid-template-columns: 1fr; gap: 32px; }
  .team__photo { aspect-ratio: 1; max-width: 400px; }
  .ftr__inner { grid-template-columns: 1fr; gap: 28px; }
  .ftr__meta { align-items: flex-start; text-align: left; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .how__steps, .team__grid, .articles__grid, .reviews__grid, .states { grid-template-columns: 1fr; }
  .trust__pay { margin-left: 0; }
  .hdr__brandsub { display: none; }
}

/* ===========================================
   Page hero (interior pages)
   =========================================== */
.phero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 70px);
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(92,115,104,.08), transparent 55%),
    radial-gradient(circle at 5% 90%, rgba(201,104,77,.05), transparent 60%);
}
.phero__h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05; letter-spacing: -.02em;
  font-weight: 700; margin: 14px 0 18px;
  max-width: 22ch;
}
.phero__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6; color: var(--ink-2);
  max-width: 60ch; margin: 0;
}

/* ===========================================
   Mission + Vision (about)
   =========================================== */
.mv {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 32px;
}
.mv__card {
  padding: 26px 28px;
  background: var(--band); color: var(--band-text);
  border-radius: var(--r-md);
}
.mv__card--alt { background: var(--sage-deep); }
.mv__card .about__mlabel { color: var(--gold); }
.mv__card--alt .about__mlabel { color: #EFE7D8; opacity: .8; }
.mv__card p { margin: 0; font-size: 15px; line-height: 1.6; }

/* ===========================================
   Services list rows
   =========================================== */
.svc__row {
  display: grid; grid-template-columns: 80px 1fr 320px;
  gap: 32px; align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.svc__row:last-child { border-bottom: 1px solid var(--line); }
.svc__num {
  font-size: 13px; font-weight: 700; color: var(--terra-deep); letter-spacing: .12em;
  font-variant-numeric: tabular-nums; padding-top: 4px;
}
.svc__copy h2 {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 700;
  letter-spacing: -.015em; margin: 0 0 14px;
}
.svc__copy p { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 60ch; }
.svc__chips { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.svc__chips span {
  padding: 6px 12px; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500;
}

/* Finance row */
.finance { background: var(--bg-2); padding: 56px 0; }
.finance__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
}
.finance__h {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px; font-weight: 700;
}
.finance__list { font-size: 15.5px; line-height: 1.65; margin: 0; color: var(--ink); }

/* ===========================================
   Video section
   =========================================== */
.video__grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
}
.video__copy { max-width: 460px; }
.video__frame {
  position: relative; aspect-ratio: 16/9;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-2);
}
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===========================================
   Values grid (home)
   =========================================== */
.values__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value {
  padding: 32px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.value__num {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--terra-deep);
  display: block; margin-bottom: 14px;
}
.value h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
.value p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* ===========================================
   CTA band
   =========================================== */
.ctaband { background: var(--bg-2); }
.ctaband__inner {
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px;
  align-items: center;
}
.ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===========================================
   Articles list
   =========================================== */
.art-feat {
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 56px;
}
.art-feat__link {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.art-feat__img {
  border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3;
  background: var(--bg-2);
}
.art-feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.art-feat__link:hover .art-feat__img img { transform: scale(1.04); }
.art-feat__copy h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  letter-spacing: -.015em; line-height: 1.15; margin: 12px 0 14px;
}
.art-feat__copy p { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; margin: 0 0 18px; max-width: 56ch; }
.art-feat__cta {
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--terra-deep);
  text-transform: uppercase;
}
.art-feat__link:hover .art-feat__cta { color: var(--ink); }
.art-feat__cta::after { content: ' →'; transition: margin var(--t-fast); }
.art-feat__link:hover .art-feat__cta::after { margin-left: 4px; }

.articles__more { display: flex; justify-content: center; margin-top: 48px; }

/* ===========================================
   Article post (single)
   =========================================== */
.post__head {
  padding: clamp(40px, 5vw, 70px) 0 32px;
  max-width: 880px;
  text-align: left;
}
.post__h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  margin: 12px 0 14px; max-width: 22ch;
}
.post__sub { font-size: 17px; color: var(--ink-2); margin: 0 0 18px; max-width: 60ch; }
.post__meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); letter-spacing: .04em;
}
.post__hero {
  margin: 32px 0 0; aspect-ratio: 16/8;
  border-radius: var(--r-md); overflow: hidden; background: var(--bg-2);
}
.post__hero img { width: 100%; height: 100%; object-fit: cover; }

.post__body {
  max-width: 720px; padding: 40px 0 80px;
  font-size: 16.5px; line-height: 1.7; color: var(--ink-2);
}
.post__body h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink); font-weight: 700; letter-spacing: -.01em;
  margin: 40px 0 14px;
}
.post__body h3 {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink); font-weight: 700; letter-spacing: -.005em;
  margin: 28px 0 10px;
}
.post__body p { margin: 0 0 18px; }
.post__body ul, .post__body ol { padding-left: 22px; margin: 0 0 18px; }
.post__body li { margin-bottom: 10px; }
.post__body a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 3px; }
.post__body a:hover { color: var(--ink); }
.post__body strong { color: var(--ink); }
.post__body blockquote {
  border-left: 2px solid var(--sage); padding: 4px 0 4px 22px;
  margin: 22px 0; color: var(--ink); font-style: italic;
}
.post__body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.post__body .refs {
  font-size: 13px; color: var(--muted); margin-top: 36px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.post__body .refs a { color: var(--muted); }
.post__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line);
}

/* ===========================================
   Notify (courses)
   =========================================== */
.notify { background: var(--bg-2); }
.notify__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.notify__copy h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.015em; margin: 0 0 12px; }
.notify__copy p { margin: 0; color: var(--ink-2); }
.notify__form { display: flex; gap: 8px; }
.notify__form input {
  flex: 1; min-width: 0;
  padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--r-pill); font: inherit; font-size: 15px;
  background: var(--bg-3);
}
.notify__form input:focus { outline: none; border-color: var(--ink); }

/* ===========================================
   Header CTA + burger
   =========================================== */
.hdr__cta { height: 38px; padding: 0 16px; font-size: 13px; }
.hdr__nav a.is-current { color: var(--ink); }
.hdr__nav a.is-current::after { width: 100%; background: var(--terra); }

.hdr__burger {
  display: none; width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 5px;
  align-items: center;
}
.hdr__burger span { width: 18px; height: 2px; background: var(--ink); transition: transform var(--t-fast), opacity var(--t-fast); }
.hdr__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger.is-open span:nth-child(2) { opacity: 0; }
.hdr__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================
   Form helpers
   =========================================== */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__check {
  flex-direction: row !important; align-items: flex-start; gap: 10px !important;
  font-size: 13px; color: var(--muted);
}
.form__check input { margin-top: 3px; }

/* ===========================================
   Footer extended
   =========================================== */
.ftr__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px; padding-bottom: 36px;
}
.ftr__col { display: flex; flex-direction: column; gap: 8px; }
.ftr__col h4 {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 8px; font-weight: 700;
}
.ftr__col a, .ftr__col span { font-size: 13.5px; color: rgba(239,231,216,.85); transition: color var(--t-fast); }
.ftr__col a:hover { color: #fff; }
.ftr__crisis { color: rgba(239,231,216,.6); margin-top: 8px; }
.ftr__crisis strong { color: var(--terra); }
.ftr__social { display: flex; gap: 8px; margin-top: 6px; }
.ftr__social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(239,231,216,.2);
  border-radius: 50%;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: rgba(239,231,216,.7);
  transition: all var(--t-fast);
}
.ftr__social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.ftr__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 28px; border-top: 1px solid rgba(239,231,216,.12);
  font-size: 12px; color: rgba(239,231,216,.55);
}
.ftr__legal { display: flex; gap: 18px; }
.ftr__legal a:hover { color: #fff; }

.ftr__credit {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(239,231,216,.55);
  font-size: 12px;
}
.ftr__credit a {
  font-weight: 700; letter-spacing: .04em;
  color: rgba(239,231,216,.85);
  transition: color var(--t-fast);
}
.ftr__credit a:hover { color: #fff; }
.ftr__heart {
  color: var(--terra);
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.15); }
  40% { transform: scale(1); }
  60% { transform: scale(1.1); }
}

@media (max-width: 980px) {
  .mv { grid-template-columns: 1fr; }
  .svc__row { grid-template-columns: 64px 1fr; }
  .svc__chips { grid-column: 1/-1; }
  .finance__grid { grid-template-columns: 1fr; }
  .video__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .ctaband__inner { grid-template-columns: 1fr; }
  .art-feat__link { grid-template-columns: 1fr; }
  .notify__inner { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hdr__burger { display: inline-flex; }
  .hdr__cta { display: none; }
  .hdr__nav {
    position: fixed; inset: 60px 0 auto 0;
    background: var(--bg);
    flex-direction: column; gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%); transition: transform var(--t-fast);
  }
  .hdr__nav.is-open { transform: translateY(0); }
  .hdr__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
}
@media (max-width: 620px) {
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
}

/* ===========================================
   Hero split layout + breathing visual
   =========================================== */
.hero__wrap--split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: 1240px;
}
.hero__text { min-width: 0; }


.hero__visual {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  opacity: 0;
  transform: scale(.92);
  transition: opacity 1.2s ease .4s, transform 1.2s cubic-bezier(.16,.84,.24,1) .4s;
}
.hero.is-in .hero__visual { opacity: 1; transform: none; }

.dot--terra { background: var(--terra); }
.dot--terra { animation-name: pulse-terra; }
@keyframes pulse-terra {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero__visual-tag {
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2); letter-spacing: .04em;
  box-shadow: var(--shadow-1);
  white-space: nowrap;
}

.breathe {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
}
.breathe__c {
  position: absolute; inset: 0; margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(92,115,104,.35);
  background: radial-gradient(circle, rgba(92,115,104,.10), transparent 70%);
  animation: breathe-pulse 16s cubic-bezier(.45,.05,.55,.95) infinite;
  transform-origin: center;
}
.breathe__c--1 { width: 100%; height: 100%; animation-delay: 0s; opacity: .35; }
.breathe__c--2 { width: 78%;  height: 78%;  animation-delay: -1.2s; opacity: .55; border-color: rgba(92,115,104,.5); }
.breathe__c--3 { width: 56%;  height: 56%;  animation-delay: -2.4s; opacity: .75; border-color: rgba(92,115,104,.65); }
.breathe__c--4 {
  width: 36%; height: 36%; animation-delay: -3.6s; opacity: .9;
  border-color: rgba(201,104,77,.55);
  background: radial-gradient(circle, rgba(201,104,77,.18), transparent 70%);
}
@keyframes breathe-pulse {
  0%,   100% { transform: scale(.85); }   /* exhale held */
  25%        { transform: scale(1.08); }  /* inhale done */
  37.5%      { transform: scale(1.08); }  /* hold full */
  62.5%      { transform: scale(.85); }   /* exhale done */
}

.breathe__core {
  position: relative; z-index: 2;
  width: 28%; height: 28%;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
  box-shadow:
    0 6px 20px rgba(14,26,44,.10),
    inset 0 -2px 6px rgba(14,26,44,.06),
    inset 0 2px 6px rgba(255,255,255,.7);
  display: grid; place-items: center; text-align: center;
  padding: 6px;
}
.breathe__label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); display: block;
  margin-bottom: 2px;
}
.breathe__phase {
  font-size: 12.5px; font-weight: 600; color: var(--sage-deep);
  letter-spacing: -.005em; line-height: 1.1; display: block;
  font-variant-numeric: tabular-nums;
  transition: opacity .35s ease;
}
.breathe__phase.is-changing { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .breathe__c { animation: none; }
}

/* ===========================================
   Marquee — soothing words
   =========================================== */
.marquee {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex; gap: 28px;
  white-space: nowrap;
  animation: marquee-scroll 48s linear infinite;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 500; letter-spacing: -.005em;
  color: var(--sage-deep);
  padding-left: 28px;
}
.marquee__track > span:nth-child(even) {
  color: var(--terra);
  font-style: italic;
  opacity: .65;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ===========================================
   Portrait band (Dr. Batista)
   =========================================== */
.portrait {
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  padding: clamp(72px, 9vw, 120px) 0;
}
.portrait__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.portrait__photo {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-2);
}
.portrait__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.95);
  transition: transform 1.4s cubic-bezier(.16,.84,.24,1);
  transform: scale(1.04);
}
.portrait:hover .portrait__photo img { transform: scale(1.0); }
.portrait__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(0deg, rgba(14,26,44,.85), rgba(14,26,44,0));
  color: #EFE7D8;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 12.5px;
}
.portrait__photo figcaption strong { font-size: 14.5px; color: #fff; font-weight: 700; }
.portrait__copy .section__kicker { color: var(--terra-deep); }
.portrait__copy .section__h2 { margin-top: 14px; max-width: 22ch; }
.portrait__copy .section__lead { margin-bottom: 24px; }
.portrait__creds {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.portrait__creds li {
  padding: 6px 14px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500; color: var(--ink-2);
}

@media (max-width: 980px) {
  .hero__wrap--split { grid-template-columns: 1fr; }
  .hero__visual { max-width: 360px; margin: 16px auto 0; }
  .portrait__grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait__photo { max-width: 420px; aspect-ratio: 1; }
}

/* ===========================================
   Vertical "how" steps (appointment page)
   =========================================== */
.how__steps--vertical {
  grid-template-columns: 1fr;
  gap: 0;
}
.how__steps--vertical .how__step {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.how__steps--vertical .how__step:first-child { border-top: 2px solid var(--ink); }
.how__steps--vertical .how__step::before { display: none; }
.contact__h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600; margin: 0 0 18px; letter-spacing: -.01em;
}

/* ===========================================
   Dark theme — deep navy (--ink) as page bg
   =========================================== */
[data-theme="dark"] {
  --bg:    #0E1A2C;
  --bg-2:  #142340;
  --bg-3:  #1A2C48;
  --ink:   #EFE7D8;   /* now used as foreground */
  --ink-2: #C9C2B5;
  --muted: #8C95A8;
  --line:  #2A3852;
  --sage:  #87A095;
  --sage-deep: #6E8B7E;
  --terra: #DC8770;
  --terra-deep: #C9684D;
  --gold:  #D4B779;

  /* Bands stay darker than the page so they still read as bands */
  --band:      #050D1A;
  --band-text: #EFE7D8;
  --band-line: rgba(255,255,255,.07);

  color-scheme: dark;
}

/* Header glass surface adjusts to dark */
[data-theme="dark"] .hdr {
  background: rgba(14,26,44,.78);
  border-bottom-color: transparent;
}
[data-theme="dark"] .hdr.is-scrolled {
  background: rgba(14,26,44,.94);
  border-bottom-color: var(--line);
}
[data-theme="dark"] .hdr__brandsub { color: var(--muted); }
[data-theme="dark"] .hdr__logo {
  background: transparent;
  box-shadow: none;
  padding: 4px;
}
[data-theme="dark"] .hdr__nav a { color: var(--ink-2); }
[data-theme="dark"] .hdr__nav a::after { background: var(--ink); }
[data-theme="dark"] .hdr__burger span { background: var(--ink); }

/* Buttons — invert primary so it pops on dark */
[data-theme="dark"] .btn--primary {
  background: var(--ink); color: #0E1A2C;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
[data-theme="dark"] .btn--primary:hover { background: var(--gold); color: #0E1A2C; }
[data-theme="dark"] .btn--outline { border-color: var(--ink); color: var(--ink); }
[data-theme="dark"] .btn--outline:hover { background: var(--ink); color: #0E1A2C; }

/* Active language / theme pill needs contrast against dark surface */
[data-theme="dark"] .lang__btn.is-active { background: var(--ink); color: #0E1A2C; }
[data-theme="dark"] .theme__btn.is-active { background: var(--ink); color: #0E1A2C; }

/* Hero rail tick visible against dark bg */
[data-theme="dark"] .hero__rail { background: var(--line); }
[data-theme="dark"] .hero__rail-tick { background: var(--ink); }

/* Hero meta pill */
[data-theme="dark"] .hero__meta { background: rgba(255,255,255,.04); }

/* Hero language pills */
[data-theme="dark"] .hero__langpill { background: var(--bg-3); }

/* Marquee fade mask + colors */
[data-theme="dark"] .marquee { background: var(--bg-2); }
[data-theme="dark"] .marquee__track { color: var(--sage); }

/* Conditions cards on dark */
[data-theme="dark"] .cond__pill { background: var(--bg-3); }

/* Member / form / about__values cards */
[data-theme="dark"] .member,
[data-theme="dark"] .rev,
[data-theme="dark"] .form,
[data-theme="dark"] .about__values { background: var(--bg-3); }
[data-theme="dark"] .form input,
[data-theme="dark"] .form select,
[data-theme="dark"] .form textarea {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--line);
}
[data-theme="dark"] .form input:focus,
[data-theme="dark"] .form select:focus,
[data-theme="dark"] .form textarea:focus {
  background: var(--bg);
  border-color: var(--ink);
}
[data-theme="dark"] .notify__form input { background: var(--bg-3); color: var(--ink); }

/* Trust pill commas / payment text */
[data-theme="dark"] .trust__label { color: rgba(239,231,216,.6); }
[data-theme="dark"] .trust__pay { color: rgba(239,231,216,.7); }

/* Portrait band — lift to a slightly lighter surface so the photo card pops */
[data-theme="dark"] .portrait { background: var(--bg-2); }
[data-theme="dark"] .portrait__creds li { background: var(--bg); }

/* About — light-tone secondary surface */
[data-theme="dark"] .about { background: var(--bg-2); }

/* Articles surfaces */
[data-theme="dark"] .articles { background: var(--bg); }
[data-theme="dark"] .reviews { background: var(--bg-2); }

/* Service rows have border lines that need contrast */
[data-theme="dark"] .svc__chips span { background: var(--bg-3); }

/* Services finance band */
[data-theme="dark"] .finance { background: var(--bg-2); }

/* CTA band — contrast with main bg */
[data-theme="dark"] .ctaband { background: var(--bg-2); }

/* Pinned-quote seal stays a darker pill against the bg */
[data-theme="dark"] .pinquote__seal { background: var(--band); }
[data-theme="dark"] .pinquote__seal::after { border-color: var(--line); }

/* Pinned-quote inactive words: slightly more visible on dark */
[data-theme="dark"] .pinquote__text .pq-word { opacity: .22; }
[data-theme="dark"] .pinquote__text .pq-word.is-on { opacity: 1; }

/* Crisis panel inside contact/appointment */
[data-theme="dark"] .contact__crisis { background: var(--bg-3); }

/* Cmethod row hover */
[data-theme="dark"] .cmethod:hover .cmethod__val { color: var(--terra); }

/* Section h2 inside dark bands stays cream */
[data-theme="dark"] .coverage .section__h2,
[data-theme="dark"] .ftr .section__h2 { color: #fff; }

/* Subtle hero gradient lift */
[data-theme="dark"] .hero::before {
  background:
    radial-gradient(circle at 80% 20%, rgba(135,160,149,.10), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(220,135,112,.07), transparent 60%);
}
[data-theme="dark"] .phero {
  background:
    radial-gradient(circle at 80% 20%, rgba(135,160,149,.08), transparent 55%),
    radial-gradient(circle at 5% 90%, rgba(220,135,112,.05), transparent 60%);
}

/* Selection */
[data-theme="dark"] ::selection { background: var(--terra); color: #0E1A2C; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero__h1line .word { transform: none; opacity: 1; }
}

/* ===========================================
   MOBILE FIXES & CAROUSELS  (<=620px only)
   =========================================== */
@media (max-width: 620px) {

  /* ---- Crisis ribbon: wrap cleanly, never overflow ---- */
  .crisis { font-size: 12px; }
  .crisis__inner {
    flex-wrap: wrap;
    gap: 4px 8px;
    padding: 8px 0;
    line-height: 1.35;
  }
  .crisis__dot { flex-shrink: 0; }

  /* ---- Header: keep brand left, controls + burger always on right ---- */
  .hdr__inner { gap: 10px; padding: 10px 0; }
  .hdr__brand { gap: 10px; min-width: 0; flex: 0 1 auto; }
  .hdr__logo { width: 40px; height: 40px; padding: 6px; flex-shrink: 0; }
  .hdr__brandname { font-size: 15px; }
  .hdr__right {
    margin-left: auto;
    gap: 8px;
    flex-shrink: 0;
  }

  /* Compact lang + theme pills so they fit alongside the burger */
  .lang, .theme { padding: 3px 4px; gap: 0; }
  .lang__btn, .theme__btn { width: 26px; height: 26px; }
  .lang__sep, .theme__sep { display: none; }

  /* Theme toggle: force SVG to render full size + visible color */
  .theme__btn svg {
    width: 14px; height: 14px;
    display: block;
    stroke: currentColor;
  }
  .theme__btn { color: var(--ink-2); }
  .theme__btn.is-active { color: var(--bg-3); }

  /* Burger: bigger hit area + thicker lines so it never disappears */
  .hdr__burger {
    width: 40px; height: 40px;
    flex-shrink: 0;
  }
  .hdr__burger span { width: 22px; height: 2px; background: var(--ink); }

  /* Force the slide-down nav to actually appear when burger toggles .is-open */
  .hdr__nav.is-open { display: flex !important; }

  /* ---- Mobile carousels: turn long stacks into horizontal snap scrolls ---- */

  /* Condition pills: short horizontal scroller */
  .cond {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 28px 14px;
    margin: 0 -20px 56px;
  }
  .cond::-webkit-scrollbar { display: none; }
  .cond .cond__pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 20px 22px;
  }

  /* Card grids: turn into horizontal snap carousels with proper "boxes" */
  .how__steps,
  .values__grid,
  .reviews__grid,
  .articles__grid,
  .team__grid,
  .about__pillars {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 28px 28px;
    margin: 0 -20px;
    align-items: stretch;
    border: 0 !important;
  }
  .how__steps::-webkit-scrollbar,
  .values__grid::-webkit-scrollbar,
  .reviews__grid::-webkit-scrollbar,
  .articles__grid::-webkit-scrollbar,
  .team__grid::-webkit-scrollbar,
  .about__pillars::-webkit-scrollbar { display: none; }

  .how__steps > .how__step,
  .values__grid > .value,
  .reviews__grid > .rev,
  .articles__grid > .art,
  .team__grid > .member,
  .about__pillars > .pillar {
    flex: 0 0 78%;
    max-width: 300px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Reset desktop nth-child overrides on reviews */
  .reviews__grid .rev:nth-child(4),
  .reviews__grid .rev:nth-child(5) { grid-column: auto; }

  /* Box-style each carousel item so they read as discrete cards */
  .values__grid > .value {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px 20px;
    box-shadow: var(--shadow-1);
  }
  .about__pillars > .pillar {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-left: 3px solid var(--sage);
    border-radius: var(--r-md);
    padding: 20px 20px 22px;
    box-shadow: var(--shadow-1);
  }
  .how__steps > .how__step {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px 20px;
    box-shadow: var(--shadow-1);
  }
  .how__step::before { display: none; }

  /* Dark theme: swap card surfaces so they remain legible */
  [data-theme="dark"] .values__grid > .value,
  [data-theme="dark"] .about__pillars > .pillar,
  [data-theme="dark"] .how__steps > .how__step {
    background: var(--bg-2);
  }

  /* ---- States list (services page): compact horizontal pills ---- */
  .states {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 28px 14px;
    margin: 0 -20px;
  }
  .states::-webkit-scrollbar { display: none; }
  .states li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 14px 18px;
    border-bottom: 0;
    border: 1px solid rgba(239,231,216,.18);
    border-radius: var(--r-md);
    gap: 10px;
  }
  .states__abbr { min-width: 0; }

  /* Subtle visual hint that there's more to scroll */
  .cond, .how__steps, .values__grid, .reviews__grid,
  .articles__grid, .team__grid, .about__pillars, .states {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 92%, transparent 100%);
  }
}
