/* ============================================================
   OneVita Health — stylesheet
   Design system first (video 13:33), then components.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette: harbour blue + cool white. Nautical, not clinical. */
  --ink:        #0f2231;
  --ink-soft:   #46586a;
  --ink-faint:  #7b8c9b;

  --blue:       #2d6488;
  --blue-deep:  #16405c;
  --blue-light: #eaf1f7;

  --cream:      #ffffff;
  --cream-warm: #f3f7fa;
  --line:       #e2e8ee;
  --white:      #ffffff;
  --accent:     #c2604c;   /* warm marker — used only for the period and credential ticks */

  /* Type scale (1.25 minor third) */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.25rem, 1.18rem + 0.35vw, 1.42rem);
  --step-2:  clamp(1.56rem, 1.44rem + 0.6vw, 1.9rem);
  --step-3:  clamp(1.95rem, 1.74rem + 1.05vw, 2.6rem);
  --step-4:  clamp(2.44rem, 2.05rem + 1.95vw, 3.7rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-s:  1rem;
  --space-m:  1.75rem;
  --space-l:  3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --measure: 65ch;
  --radius: 4px;
  --shell: 1140px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p, li { text-wrap: pretty; }
p + p { margin-top: var(--space-s); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-s);
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-s); }
.prose h2 { margin-top: var(--space-l); }
.prose h3 { margin-top: var(--space-m); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--space-xs); }

/* ---------- 4. Layout ---------- */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}
.section { padding-block: var(--space-xl); }
.section--tight { padding-block: var(--space-l); }
@media (min-width: 800px) {
  .section { padding-block: var(--space-2xl); }
}

.section--blue { background: var(--blue-light); }
.section--warm { background: var(--cream-warm); }
.section--deep { background: var(--blue-deep); color: var(--cream); }
.section--deep .eyebrow { color: #9dc2db; }
.section--deep .lede { color: #cadeeb; }

.section-head { max-width: 42rem; margin-bottom: var(--space-l); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.6em;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid var(--blue-deep);
  border-radius: var(--radius);
  background: var(--blue-deep);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--blue-deep); }
.btn--ghost:hover { background: var(--blue-deep); color: var(--cream); }

.btn--light { background: var(--cream); border-color: var(--cream); color: var(--blue-deep); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--blue-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-s); }

/* ---------- 6. Header (video 05:30) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--blue);
}
.logo svg { flex-shrink: 0; }

.nav { display: flex; align-items: center; gap: var(--space-m); }
.nav__links { display: flex; align-items: center; gap: var(--space-m); list-style: none; padding: 0; }
.nav__links a {
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }

.nav-toggle {
  display: none;
  padding: 0.5rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

/* Mobile nav (video 21:48) */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-s) 1.25rem var(--space-m);
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 34, 49, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav__links a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin-top: var(--space-s); justify-content: center; }
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream-warm); }
.hero__inner {
  display: grid;
  gap: var(--space-l);
  padding-block: var(--space-xl);
  align-items: center;
}
.hero__copy { max-width: 34rem; }
.hero__copy .lede { margin-top: var(--space-m); }
.hero__copy .btn-row { margin-top: var(--space-l); }

/* Type-led hero: no image, so the headline carries the page. */
.hero--type .hero__copy {
  max-width: 46rem;
}
.hero--type h1 {
  font-size: clamp(2.6rem, 1.9rem + 2.9vw, 4.4rem);
}
.hero--type .lede { max-width: 36rem; }
@media (min-width: 800px) {
  .hero--type .hero__inner { padding-block: var(--space-2xl); }
}

/* Portrait variant — ready for a photograph. */
@media (min-width: 900px) {
  .hero--portrait .hero__inner { grid-template-columns: 1.05fr 0.95fr; padding-block: var(--space-2xl); }
}
.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-light);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 8. Cards ---------- */
.grid { display: grid; gap: var(--space-m); }
@media (min-width: 700px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px)  { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  padding: var(--space-m);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card__icon { color: var(--blue); margin-bottom: var(--space-s); }
.card h3 { margin-bottom: var(--space-xs); }
.card p { color: var(--ink-soft); font-size: var(--step--1); }

.card-link {
  display: inline-block;
  margin-top: var(--space-s);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 1.5px solid var(--blue-light);
}
.card-link:hover { border-bottom-color: var(--blue); }

/* ---------- 9. Numbered list / promise ---------- */
.promise-list { list-style: none; padding: 0; display: grid; gap: var(--space-m); }
.promise-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-m);
  align-items: start;
  padding-bottom: var(--space-m);
  border-bottom: 1px solid var(--line);
}
.promise-list li:last-child { border-bottom: 0; }
.promise-list .num {
  font-family: var(--serif);
  font-size: var(--step-2);
  color: var(--blue);
  line-height: 1;
  min-width: 2ch;
}
.promise-list h3 { margin-bottom: var(--space-xs); }
.promise-list p { color: var(--ink-soft); }

/* ---------- 10. Quote ---------- */
.quote { max-width: 46rem; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.quote figcaption { margin-top: var(--space-m); font-size: var(--step--1); color: var(--ink-faint); }

/* ---------- 11. Forms ---------- */
.form { display: grid; gap: var(--space-s); max-width: 34rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field input, .field textarea, .field select {
  padding: 0.7rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); }
.field textarea { min-height: 8rem; resize: vertical; }
.form__note { font-size: var(--step--1); color: var(--ink-faint); }

/* ---------- 12. Details / info rows ---------- */
.info-list { list-style: none; padding: 0; display: grid; gap: var(--space-s); }
.info-list dt, .info-list .label { font-size: var(--step--1); font-weight: 600; color: var(--ink-faint); }
.info-list a { color: var(--blue-deep); }

/* ---------- 13. CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; margin-top: var(--space-l); }

/* ---------- 14. Footer ---------- */
.site-footer {
  padding-block: var(--space-l);
  background: var(--ink);
  color: #c2d1dc;
  font-size: var(--step--1);
}
.site-footer a { color: #c2d1dc; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--space-m); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-s);
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.site-footer__logo { color: var(--white); font-family: var(--serif); font-size: var(--step-1); }
.site-footer__base {
  margin-top: var(--space-l);
  padding-top: var(--space-s);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: space-between;
  color: var(--ink-faint);
}

/* ---------- 15. Utilities ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem; top: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--blue-deep);
  color: var(--cream);
  border-radius: var(--radius);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-head { padding-block: var(--space-xl) var(--space-l); background: var(--cream-warm); }
.page-head .lede { margin-top: var(--space-s); max-width: 40rem; }

/* ---------- 16. Process steps (per getpeakhealth.com pattern) ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-m);
  padding: var(--space-m) 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__num {
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  font-family: var(--serif);
  font-size: var(--step-0);
  color: var(--cream);
  background: var(--blue-deep);
  border-radius: 50%;
}
.steps__num::before { content: counter(step); }
.steps__body h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem; }
.steps__when {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.steps__body p { margin-top: var(--space-xs); color: var(--ink-soft); }

/* ---------- 17. FAQ accordion ---------- */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-s);
  padding: var(--space-m) 0;
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: var(--step-2);
  font-weight: 300;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: var(--space-m); color: var(--ink-soft); max-width: var(--measure); }
.faq details > div > * + * { margin-top: var(--space-s); }

.faq-group {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: var(--space-l);
  margin-bottom: var(--space-xs);
}
.faq-group:first-child { margin-top: 0; }

/* ---------- 18. Credentials ---------- */
.creds { list-style: none; padding: 0; display: grid; gap: 0; }
.creds li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-s);
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
}
.creds li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--blue);
}
.creds strong { font-weight: 600; }
.creds span { color: var(--ink-faint); }

/* ---------- 19. Split layout ---------- */
.split { display: grid; gap: var(--space-l); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .split--wide-left { grid-template-columns: 1.25fr 0.75fr; }
}

/* ---------- 20. Portrait ---------- */
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue-light), #c9dcea);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
}
.portrait__placeholder {
  text-align: center;
  padding: var(--space-m);
  font-size: var(--step--1);
  color: var(--blue-deep);
}
.portrait__placeholder strong { display: block; font-size: var(--step-0); margin-bottom: 0.35rem; }

/* ---------- 21. Stat / trust row ---------- */
.stat-row { display: grid; gap: var(--space-m); text-align: center; }
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat__figure { font-family: var(--serif); font-size: var(--step-3); color: var(--blue-deep); line-height: 1; }
.stat__label { margin-top: var(--space-xs); font-size: var(--step--1); color: var(--ink-soft); }
.section--deep .stat__figure { color: var(--cream); }
.stat-row .stat__figure {
  min-height: 3.6rem;                 /* equal slots so every label starts on one line */
  display: flex; align-items: center; justify-content: center;
}
.stat__figure--text {
  font-size: var(--step-1);
  line-height: 1.25;
  max-width: 16rem; margin-inline: auto; text-wrap: balance;
}
.section--deep .stat__label { color: #cadeeb; }

/* ---------- 22. Pull statement ---------- */
.statement {
  max-width: 40rem;
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* ---------- 23. Disclaimer ---------- */
.disclaimer {
  font-size: var(--step--1);
  color: var(--ink-faint);
  max-width: var(--measure);
  padding-top: var(--space-m);
  border-top: 1px solid var(--line);
}

/* ---------- 24. Testimonials ---------- */
.testimonials { display: grid; gap: var(--space-m); }
@media (min-width: 860px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  display: flex;
  flex-direction: column;
  padding: var(--space-m);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.testimonial__stars { display: flex; gap: 2px; color: #c9a227; margin-bottom: var(--space-s); }
.testimonial blockquote {
  flex: 1;
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.45;
  color: var(--ink);
}
.testimonial blockquote p + p { margin-top: var(--space-s); }
.testimonial figcaption {
  margin-top: var(--space-m);
  padding-top: var(--space-s);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-faint);
}
.testimonial figcaption strong { display: block; color: var(--ink-soft); font-weight: 600; }

.section--blue .testimonial { border-color: #c9dcea; }


/* ---------- 25. Dark bio hero (after coastalvitalityhealth) ---------- */
.bio-hero {
  background: linear-gradient(168deg, #1b3b52 0%, #24506c 48%, #4a6f88 100%);
  color: var(--cream);
  padding-block: var(--space-2xl);
}
.bio-hero .eyebrow { color: #a9c7dc; }
.bio-hero__inner { max-width: 44rem; }
.bio-hero h1 {
  font-size: clamp(2.7rem, 2rem + 3vw, 4.6rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.bio-hero h1 strong { font-weight: 600; }
.bio-hero h1 .dot { color: var(--accent); }
.bio-hero .lede { color: #d3e3ee; margin-top: var(--space-m); max-width: 32rem; }
.bio-hero .btn-row { margin-top: var(--space-l); }

/* Pill buttons, as on the reference */
.btn--pill { border-radius: 999px; padding: 0.85em 1.9em; }

/* ---------- 26. Pull quote ---------- */
.pullquote {
  position: relative;
  margin: var(--space-l) 0;
  padding-left: 2.4rem;
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.pullquote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.18em;
  font-size: 2.6em;
  line-height: 1;
  color: var(--accent);
}

/* ---------- 27. Credential grid ---------- */
.cred-grid { display: grid; gap: var(--space-m) var(--space-l); list-style: none; padding: 0; }
@media (min-width: 700px) { .cred-grid { grid-template-columns: 1fr 1fr; } }
.cred-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: var(--step--1);
  line-height: 1.5;
}
.cred-grid li::before {
  content: "";
  width: 9px; height: 9px;
  margin-top: 0.42em;
  border-radius: 2px;
  background: var(--accent);
}
.cred-grid strong { display: block; font-weight: 600; color: var(--ink); }
.cred-grid span { color: var(--ink-faint); }

/* ---------- 28. Forward link ---------- */
.next-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-l);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 1.5px solid var(--blue-light);
  padding-bottom: 2px;
}
.next-link:hover { border-bottom-color: var(--accent); }
.next-link span { transition: transform 0.18s ease; }
.next-link:hover span { transform: translateX(3px); }


/* ---------- 29. Long-form bio layout ---------- */
@media (min-width: 900px) {
  .split--bio { grid-template-columns: 0.78fr 1.22fr; }
  .split--bio > :first-child { position: sticky; top: 104px; }
}
.prose--bio .statement {
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--ink);
  margin-block: var(--space-m);
}
.prose--bio .lead-in {
  margin-top: var(--space-l);
  font-size: var(--step-1);
  font-family: var(--serif);
  color: var(--ink);
}
.prose--bio .lead-in strong { font-weight: 600; }


/* ---------- 30. Photo-ready hero with overlaid plate (after saraszalmd.com) ---------- */
.bio-hero--photo {
  position: relative;
  min-height: 30rem;
  padding: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.bio-hero--photo .bio-hero__media { position: absolute; inset: 0; }
.bio-hero--photo .bio-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 32% 22%; }
.bio-hero--photo .bio-hero__placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(168deg, #1b3b52 0%, #24506c 48%, #4a6f88 100%);
  display: grid; place-items: center;
  color: #9dc2db; font-size: var(--step--1); text-align: center; padding: var(--space-m);
}
.bio-hero__plate {
  position: relative;
  justify-self: end;
  margin: var(--space-l) 0;
  margin-right: max(1.25rem, calc((100vw - var(--shell)) / 2));
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(6px);
  padding: var(--space-l) var(--space-xl);
  max-width: min(90vw, 30rem);
  text-align: center;
}
.bio-hero__plate .eyebrow { color: var(--blue); }
.bio-hero__plate h1 {
  font-size: clamp(2rem, 1.5rem + 1.9vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.018em;
}
.bio-hero__plate h1 strong { font-weight: 600; }
.bio-hero__plate h1 .dot { color: var(--accent); }

/* ---------- 31. Centred intro paragraph ---------- */
.intro-centered {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--ink-soft);
}
.intro-centered h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  color: var(--ink);
  margin-bottom: var(--space-m);
}
.intro-centered a:not(.btn) { color: var(--blue-deep); }

/* ---------- 32. Work-with cards, staggered ---------- */
.work-cards { display: grid; gap: var(--space-m); }
@media (min-width: 860px) {
  .work-cards { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .work-cards > :nth-child(2) { margin-top: var(--space-m); }
  .work-cards > :nth-child(3) { margin-top: calc(var(--space-m) * 2); }
}
.work-card {
  background: var(--white);
  padding: var(--space-m) var(--space-m) var(--space-l);
  border: 1px solid var(--line);
}
.work-card__eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.work-card h3 { font-weight: 500; margin-bottom: var(--space-s); }
.work-card p { color: var(--ink-soft); font-size: var(--step--1); }
.work-card .btn { margin-top: var(--space-m); }

/* ---------- 33. Footer legal block ---------- */
.site-footer__legal {
  margin-top: var(--space-m);
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 0.78rem;
  line-height: 1.6;
  color: #93a6b3;
  max-width: 62rem;
}


/* ---------- 34. Centred hero, white ground ---------- */
.hero--centered { background: var(--cream); }
.hero--centered .hero__inner { padding-block: var(--space-2xl); }
.hero--centered .hero__copy { max-width: 56rem; margin-inline: auto; text-align: center; }
.hero--centered .eyebrow { color: var(--ink-faint); }
.hero--centered h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.3rem, 1.6rem + 3.1vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero--centered .lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 44rem;
  margin: var(--space-m) auto 0;
}
.hero--centered .btn-row { justify-content: center; }

/* emphasis rule under the phrase — no colour field */
.mark {
  display: inline;
  padding-bottom: 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-bottom: 0.07em solid var(--line);
}

/* ---------- 26. Qualifier grid ("Is this you?") ---------- */
.qualifiers { list-style: none; padding: 0; display: grid; gap: var(--space-s); }
@media (min-width: 720px)  { .qualifiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .qualifiers { grid-template-columns: repeat(3, 1fr); } }
.qualifiers li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-s);
  align-items: start;
  padding: var(--space-m) var(--space-s) var(--space-m) 0;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}
.qualifiers svg { color: var(--accent); margin-top: 0.2em; flex: none; }

/* ---------- 27. Deliverables ("What you leave with") ---------- */
.deliverables { display: grid; gap: 0; counter-reset: deliverable; }
@media (min-width: 880px) { .deliverables { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-l); } }
.deliverables > div {
  padding: var(--space-m) 0;
  border-top: 2px solid var(--blue);
}
.deliverables h3 {
  font-family: var(--serif);
  font-size: var(--step-1);
  margin-bottom: var(--space-xs);
}
.deliverables p { color: var(--ink-soft); margin: 0; }

/* ---------- 28. Manifesto / principles ---------- */
.creed { display: grid; gap: var(--space-xl); }
.creed__group > h2 {
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-m);
}
.creed__list { list-style: none; padding: 0; display: grid; gap: var(--space-m); }
.creed__list li {
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding-left: var(--space-m);
  border-left: 2px solid var(--blue-light);
  max-width: 44rem;
}
.creed__list li strong { color: var(--blue-deep); font-weight: 600; }

/* ---------- 29. FAQ jump links ---------- */
.jump { margin-bottom: var(--space-l); }
.jump h2 {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: var(--space-s);
}
.jump ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.jump a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--step--1);
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.jump a:hover, .jump a:focus-visible { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-light); }
.faq-group { scroll-margin-top: 6rem; }

/* ---------- 30. Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  padding: 0.75rem var(--space-s) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: none;
}
.sticky-cta .btn { display: block; text-align: center; }
@media (max-width: 719px) { .sticky-cta { display: block; } body { padding-bottom: 4.5rem; } }
@media print { .sticky-cta { display: none; } }


/* ---------- 31. Credential groups ---------- */
.cred-groups { display: grid; gap: var(--space-l); }
@media (min-width: 700px)  { .cred-groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cred-groups { grid-template-columns: repeat(3, 1fr); } }
.cred-group h3 {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-s);
  border-bottom: 1px solid var(--line);
}
.cred-list { list-style: none; padding: 0; display: grid; gap: 0.9rem; }
.cred-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: var(--step--1);
  line-height: 1.5;
}
.cred-list li::before {
  content: "";
  width: 9px; height: 9px;
  margin-top: 0.42em;
  border-radius: 2px;
  background: var(--accent);
}
.cred-list strong { display: block; font-weight: 600; color: var(--ink); }
.cred-list span { color: var(--ink-faint); }
