/* ==========================================================================
   Andrew Latimer Nutrition — shared stylesheet
   Mobile first. Base styles are for phones; min-width queries scale up.
   ========================================================================== */

@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #132B4D;
  --navy-deep: #0C1E37;
  --navy-soft: #2A4468;
  --ink: #1B2430;
  --ink-muted: #4A5566;
  --white: #FFFFFF;
  --cream: #F7F3EC;
  --cream-deep: #EFE8DC;
  --line: #E2DACB;
  --accent: #E8964A;        /* warm amber, used sparingly */
  --accent-deep: #C9762C;
  --star: #F2B01E;

  --font-head: "Source Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(19, 43, 77, .06), 0 8px 24px rgba(19, 43, 77, .07);

  --wrap: 1160px;
  --wrap-text: 700px;
  --gutter: 1.25rem;
  --section: 4.5rem;
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --section: 6.5rem; }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1875rem;          /* 19px: comfortable for a 50+ audience on a phone */
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.25rem; } }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 8vw, 4.1rem); font-weight: 650; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 5.6vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 3.4vw, 1.75rem); line-height: 1.2; }

p { margin: 0 0 1.25rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

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

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }

.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #DCE3EE; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy a:not(.btn) { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-size: .875rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy-soft);
  margin: 0 0 1.25rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--accent); }
.section--navy .eyebrow { color: #B9C6D8; }

.lede { font-size: 1.05em; line-height: 1.6; color: var(--ink); }
@media (min-width: 900px) { .lede { font-size: 1.2em; line-height: 1.55; } }
.muted { color: var(--ink-muted); }
.small { font-size: .9rem; line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.5rem; padding: .9rem 1.6rem;
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: 999px; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--navy-deep); }
.btn--accent:hover { background: #F0A862; color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: currentColor; }
.btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--block { width: 100%; }
@media (min-width: 560px) { .btn--block { width: auto; } }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.text-link {
  font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.text-link:hover { color: var(--accent-deep); }
.section--navy .text-link { color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(19, 43, 77, .08);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }

.brand { text-decoration: none; color: var(--navy); line-height: 1.1; display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 650; letter-spacing: -0.01em; }
.brand__tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: .5rem .9rem;
  font: 700 1rem var(--font-body); color: var(--navy);
  background: none; border: 2px solid var(--line); border-radius: 999px; cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: .5rem var(--gutter) 1.5rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: 1rem 0; font-size: 1.15rem; font-weight: 600;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line);
}
.site-nav li a[aria-current="page"] { color: var(--accent-deep); }
.site-nav .btn { margin-top: 1.25rem; width: 100%; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: flex; align-items: center; position: static; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .site-nav ul { display: flex; gap: 1.75rem; margin-right: 1.75rem; }
  .site-nav li a { padding: .5rem 0; font-size: 1rem; border: 0; border-bottom: 2px solid transparent; }
  .site-nav li a:hover, .site-nav li a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--navy); }
  .site-nav .btn { margin: 0; width: auto; min-height: 2.9rem; padding: .6rem 1.25rem; font-size: 1rem; }
}

/* ---------- Photo slots (placeholders until real photos arrive) ---------- */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--cream-deep);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--slot {
  display: grid; place-items: center; text-align: center;
  padding: 1.5rem; color: var(--ink-muted); font-size: .95rem; line-height: 1.4;
  background:
    repeating-linear-gradient(135deg, rgba(19,43,77,.035) 0 12px, transparent 12px 24px),
    var(--cream-deep);
  border: 2px dashed #CFC4B1;
}
.photo--slot strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: .25rem; }

/* ---------- Hero ---------- */
.hero { padding-block: 2.75rem 4rem; background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); }
.hero__grid { display: grid; gap: 2.5rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero__copy p { max-width: 38rem; }
.hero__photo { aspect-ratio: 4 / 5; max-height: 560px; }
.hero__actions .btn { width: 100%; }
@media (min-width: 560px) { .hero__actions .btn { width: auto; } }

.credentials {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: 2.25rem 0 0; padding: 0; list-style: none;
}
.credentials li {
  font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .9rem;
}

@media (min-width: 900px) {
  .hero { padding-block: 5rem 6rem; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; }
  .hero__photo { aspect-ratio: 4 / 5; max-height: none; }
}

/* ---------- Two-column prose split ---------- */
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 4.5rem; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
  .split__sticky { position: sticky; top: 7rem; }
}

/* ---------- Results ---------- */
.results-grid { display: grid; gap: 1rem; margin: 2.5rem 0 2rem; }
@media (min-width: 700px) { .results-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.result-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.result-card__name { font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.result-card__figures { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.result-card__num { font-family: var(--font-head); font-weight: 650; font-size: 2.6rem; line-height: 1; color: var(--navy); }
.result-card__num--before { color: var(--ink-muted); font-weight: 500; font-size: 2rem; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(74,85,102,.45); }
.result-card__arrow { color: var(--accent-deep); width: 1.5rem; height: 1.5rem; }
.result-card__unit { display: block; font-size: .85rem; color: var(--ink-muted); margin-top: .5rem; }
.result-card__time { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-muted); }
.result-card.is-placeholder { border-style: dashed; box-shadow: none; }

.disclaimer { font-size: .875rem; color: var(--ink-muted); margin-top: 1.5rem; }

/* ---------- Cause section diagram ---------- */
.cause-points { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1rem; }
.cause-points li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: var(--cream); border-radius: var(--radius); padding: 1.25rem;
}
.cause-points__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy); color: var(--white);
  display: grid; place-items: center;
}
.cause-points__icon svg { width: 1.35rem; height: 1.35rem; }
.cause-points strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: .2rem; }
.cause-points span { font-size: 1rem; line-height: 1.5; color: var(--ink-muted); }

.callout {
  border-left: 4px solid var(--accent); padding: .25rem 0 .25rem 1.25rem; margin-top: 2rem;
  font-family: var(--font-head); font-size: 1.35rem; line-height: 1.4; color: var(--navy); font-weight: 500;
}

/* ---------- 3R system ---------- */
.system__head { max-width: 46rem; margin-bottom: 2.75rem; }
.system__mark { font-size: .6em; vertical-align: super; font-family: var(--font-body); font-weight: 500; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.step {
  position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 1.75rem 1.5rem 1.75rem;
}
.step__num {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--accent); color: var(--navy-deep); font-weight: 800; font-size: 1.05rem; margin-bottom: 1.25rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { font-size: 1.05rem; line-height: 1.6; color: #CFD8E5; }
.system__foot { margin-top: 2.5rem; max-width: 46rem; font-size: 1.15rem; color: #E7ECF3; }

/* ---------- Video testimonials (click-to-load YouTube) ---------- */
.video-feature { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .video-feature { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.yt {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-deep) center / cover no-repeat; box-shadow: var(--shadow);
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; background: linear-gradient(180deg, rgba(12,30,55,.05), rgba(12,30,55,.45));
  border: 0; cursor: pointer; color: var(--white);
}
.yt__play-icon {
  width: 4.75rem; height: 4.75rem; border-radius: 50%; background: var(--accent); color: var(--navy-deep);
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.25); transition: transform .2s;
}
.yt__play:hover .yt__play-icon { transform: scale(1.06); }
.yt__play-icon svg { width: 1.8rem; height: 1.8rem; margin-left: 4px; }
.yt__label {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; text-align: left;
  font-weight: 700; font-size: 1rem; text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.yt.is-placeholder { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px), var(--navy); }

.video-quote { font-family: var(--font-head); font-size: clamp(1.4rem, 3.2vw, 1.9rem); line-height: 1.35; color: var(--navy); font-weight: 500; margin: 0 0 1rem; }
.video-quote__who { font-weight: 700; color: var(--ink); }
.video-quote__meta { color: var(--ink-muted); font-size: 1rem; }

.video-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 760px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-grid figcaption { margin-top: .9rem; font-size: 1rem; }
.video-grid figure { margin: 0; }

/* ---------- About teaser ---------- */
.about__photo { aspect-ratio: 1 / 1; }
@media (min-width: 900px) { .about__photo { aspect-ratio: 4 / 5; } }

/* ---------- Fit section ---------- */
.fit { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 820px) { .fit { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.fit__card { border-radius: var(--radius); padding: 1.75rem 1.5rem; background: var(--white); border: 1px solid var(--line); }
.fit__card--yes { border-top: 5px solid var(--navy); }
.fit__card--no { border-top: 5px solid #C9BFAE; }
.fit__card h3 { display: flex; align-items: center; gap: .65rem; font-size: 1.35rem; margin-bottom: 1rem; }
.fit__card h3 svg { width: 1.6rem; height: 1.6rem; flex: none; }

/* ---------- Reviews ---------- */
.reviews__summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 2rem;
}
.reviews__score { font-family: var(--font-head); font-size: 3.25rem; font-weight: 650; line-height: 1; color: var(--navy); }
.reviews__meta { display: flex; flex-direction: column; gap: .3rem; }
.reviews__count { font-size: 1rem; color: var(--ink-muted); }
.reviews__google { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1rem; }
.reviews__google svg { width: 1.25rem; height: 1.25rem; }
.reviews__summary .text-link { margin-left: auto; font-size: 1rem; }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 1.2rem; height: 1.2rem; }

.reviews-grid { display: grid; gap: 1rem; }
@media (min-width: 680px) { .reviews-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
@media (min-width: 1040px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; margin: 0;
}
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.review__avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.review__name { font-weight: 700; color: var(--navy); display: block; }
.review__date { color: var(--ink-muted); font-size: .85rem; }
.review.is-placeholder { border-style: dashed; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: left; }
.cta-final .wrap--text > p { font-size: 1.15rem; color: #DCE3EE; }
.cta-final__apply { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.15); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #AFBCCD; padding-block: 3.5rem 2rem; font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand__tag { color: #8EA0B8; }
.footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8EA0B8; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; line-height: 1.6; color: #8EA0B8; }
.footer-legal p { margin-bottom: .75rem; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(19,43,77,.08);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { width: 100%; min-height: 3.25rem; }
@media (min-width: 980px) { .mobile-cta { display: none; } }

/* Long headings in the two-column sections sit a touch smaller on wide screens */
@media (min-width: 900px) { .split h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); } }
.yt__play { font-family: var(--font-body); }

/* Hero byline: small photo + name on phones, so a face appears straight away */
.hero__byline { display: flex; align-items: center; gap: .85rem; margin: -.25rem 0 1.5rem; font-size: .95rem; line-height: 1.35; color: var(--ink-muted); }
.hero__byline strong { color: var(--navy); font-size: 1.05rem; }
.hero__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--white); box-shadow: var(--shadow); flex: none; }
@media (max-width: 899px) { .hero__photo { display: none; } .hero { padding-top: 2rem; } }
@media (min-width: 900px) { .hero__byline { display: none; } }

/* Keep the header tagline on one line on small phones */
@media (max-width: 420px) { .brand__tag { font-size: .62rem; letter-spacing: .1em; white-space: nowrap; } .brand__name { font-size: 1.25rem; } }

/* Phones: credentials already shown beside the photo, so hide the pills */
@media (max-width: 899px) { .hero .credentials { display: none; } }

/* Phones: show three reviews, the rest behind a button */
.reviews-more { display: none; margin-top: 1.25rem; width: 100%; }
@media (max-width: 679px) {
  .reviews-grid:not(.is-expanded) > .review:nth-child(n+4) { display: none; }
  .reviews-grid:not(.is-expanded) + .reviews-more { display: inline-flex; }
}

/* ==========================================================================
   Premium layer
   ========================================================================== */

/* Hero photo: soft depth and an offset frame */
@media (min-width: 900px) {
  .hero__photo { overflow: visible; background: none; }
  .hero__photo picture, .hero__photo img { border-radius: var(--radius); }
  .hero__photo img { position: relative; z-index: 1; box-shadow: 0 30px 60px -24px rgba(19,43,77,.45); }
  .hero__photo::before {
    content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border-radius: var(--radius);
    border: 2px solid var(--accent); opacity: .55; z-index: 0;
  }
}

/* Proof strip */
.proof {
  list-style: none; margin: 3rem 0 0; padding: 1.25rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border-top: 1px solid var(--line);
}
.proof__item { display: flex; flex-direction: column; gap: .35rem; }
.proof__big {
  font-family: var(--font-head); font-weight: 650; color: var(--navy);
  font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.proof__stars svg { width: .95rem; height: .95rem; }
.proof__label { font-size: .85rem; line-height: 1.35; color: var(--ink-muted); }
@media (min-width: 900px) {
  .proof { margin-top: 4.5rem; padding-top: 2rem; gap: 2.5rem; }
  .proof__item + .proof__item { border-left: 1px solid var(--line); padding-left: 2.5rem; }
  .proof__label { font-size: 1rem; }
  .proof__stars svg { width: 1.2rem; height: 1.2rem; }
}
@media (max-width: 420px) { .proof__stars { display: none; } }

/* Stat card in the "measured" section */
.stat-card {
  display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--cream); max-width: 26rem;
}
.stat-card__num { font-family: var(--font-head); font-size: 3.5rem; font-weight: 650; color: var(--navy); line-height: 1; white-space: nowrap; }
.stat-card__num span { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-left: .2rem; color: var(--accent-deep); }
.stat-card__label { font-size: 1rem; line-height: 1.45; color: var(--ink-muted); }

/* Root-cause diagram */
.cause-diagram {
  margin: 2rem 0 0; padding: 1.5rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cause-diagram__title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-soft); margin-bottom: 1.25rem; }
.cause-diagram__row { display: grid; grid-template-columns: 5.25rem 1fr; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.cause-diagram__row p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--ink-muted); }
.cause-diagram__row strong { display: block; font-size: 1.05rem; color: var(--navy); }
.organ { width: 100%; height: auto; }
.cause-diagram__result {
  display: flex; align-items: center; gap: .75rem; margin-top: 1.1rem; padding: .9rem 1rem;
  background: var(--navy); color: var(--white); border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; line-height: 1.4;
}
.cause-diagram__result svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--accent); }
.cause-diagram__key { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 0; font-size: .85rem; color: var(--ink-muted); }
.cause-diagram__key .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); }

/* 3R as a path */
.path { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2.25rem; }
.path::before {
  content: ""; position: absolute; left: 1.3rem; top: 1.3rem; bottom: 1.3rem; width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(232,150,74,.15));
}
.stage { position: relative; padding-left: 4rem; }
.stage__node {
  position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  background: var(--accent); color: var(--navy-deep); box-shadow: 0 0 0 6px var(--navy);
}
.stage__label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB0C7; margin: .35rem 0 .5rem; }
.stage h3 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: .6rem; }
.stage p { font-size: 1.05rem; line-height: 1.6; color: #CFD8E5; max-width: 22rem; }
@media (min-width: 860px) {
  .path { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .path::before { left: 1.3rem; right: 1.3rem; top: 1.3rem; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(232,150,74,.25)); }
  .stage { padding-left: 0; padding-top: 4.25rem; }
}

/* ==========================================================================
   Inner pages and new components
   ========================================================================== */
.hero__note { margin-top: 1rem; font-size: .95rem; color: var(--ink-muted); }
.section-cta-final .hero__note, .page-hero .hero__note { margin-bottom: 0; }
.proof__big small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; margin-right: .35rem; align-self: flex-end; padding-bottom: .2em; }
.cause-diagram__key { font-weight: 600; color: var(--navy); }

.result-card__detail { font-size: 1rem; line-height: 1.5; margin: 1rem 0 0; color: var(--ink); }
.result-card__time { color: var(--accent-deep); font-weight: 700; font-size: .95rem; }
.results-foot { max-width: 46rem; }

/* Page hero (inner pages) */
.page-hero { padding-block: 2.75rem 3.5rem; background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); }
.page-hero h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); max-width: 20ch; }
.page-hero--masterclass h1 { max-width: 24ch; font-size: clamp(2rem, 6vw, 3.2rem); }
.page-hero--plain { padding-bottom: 2rem; }
.page-hero--plain h1 { max-width: none; }
.page-hero__lede { max-width: 46rem; }
.page-hero__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .page-hero { padding-block: 4.5rem 5rem; }
  .page-hero__grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
  .page-hero__grid--photo { grid-template-columns: 1.3fr .9fr; }
}
.credentials--show li { background: var(--white); }

.about-hero__photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; box-shadow: 0 30px 60px -24px rgba(19,43,77,.45); }
@media (max-width: 899px) { .about-hero__photo { max-width: 300px; aspect-ratio: 1 / 1; } .about-hero__photo img { object-position: 50% 15%; } }

/* Fact card */
.fact-card { background: var(--navy); color: #DCE3EE; border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 30px 60px -28px rgba(19,43,77,.6); }
.fact-card__title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB0C7; margin-bottom: 1rem; }
.fact-card dl { margin: 0; display: grid; gap: 0; }
.fact-card dl > div { padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.fact-card dt { font-size: .85rem; color: #9FB0C7; }
.fact-card dd { margin: .15rem 0 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--white); line-height: 1.3; }

/* Two panels */
.two-up { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .two-up { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; background: var(--white); }
.panel--cream { background: var(--cream); border-color: transparent; }
.h3-size, .panel h3 { font-size: clamp(1.45rem, 3.4vw, 1.85rem); }
@media (min-width: 820px) { .panel { padding: 2.25rem 2rem; } }

.path--detailed .stage p { max-width: none; }
.system__head p { color: #DCE3EE; font-size: 1.1rem; }

/* Call steps */
.call-steps { list-style: none; counter-reset: c; margin: 1.75rem 0; padding: 0; display: grid; gap: 1rem; }
.call-steps li { counter-increment: c; position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem; background: var(--white); border-radius: var(--radius); font-size: 1.05rem; line-height: 1.55; }
.call-steps li::before { content: counter(c); position: absolute; left: 1.15rem; top: 1.15rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.call-steps strong { display: block; color: var(--navy); }

/* FAQ */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-weight: 700; font-size: 1.1rem; color: var(--navy); line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--cream)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132B4D' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1rem no-repeat;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.4rem; color: var(--ink); }

/* Case studies */
.case { display: grid; gap: 1.5rem; padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.case:first-of-type { padding-top: 0; }
.case__figure { background: var(--navy); color: #DCE3EE; border-radius: var(--radius); padding: 1.75rem; align-self: start; }
.case__name { font-family: var(--font-head); font-size: 2.2rem; font-weight: 650; color: var(--white); margin: 0 0 .25rem; line-height: 1.1; }
.case__tag { font-size: .95rem; color: #9FB0C7; margin-bottom: 1.5rem; }
.case__numbers { display: flex; align-items: center; gap: 1rem; }
.case__numbers svg { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.case__before { font-family: var(--font-head); font-size: 2.4rem; color: #8EA0B8; text-decoration: line-through; text-decoration-thickness: 2px; line-height: 1; }
.case__after { font-family: var(--font-head); font-size: 3.6rem; font-weight: 650; color: var(--white); line-height: 1; }
.case__unit { font-size: .85rem; color: #9FB0C7; margin-top: .6rem; }
.case__quote { margin: 1.5rem 0 0; padding: 1.25rem 1.5rem; background: var(--cream); border-radius: var(--radius); border-left: 4px solid var(--accent); }
.case__quote p { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.4; color: var(--navy); margin-bottom: .5rem; }
.case__quote footer { font-weight: 700; font-size: .95rem; color: var(--ink-muted); }
@media (min-width: 900px) {
  .case { grid-template-columns: 22rem 1fr; gap: 4rem; padding-block: 4rem; }
  .case--flip { grid-template-columns: 1fr 22rem; }
  .case--flip .case__figure { order: 2; }
  .case__figure { position: sticky; top: 7rem; }
}

/* Video cards */
.video-grid--page { margin-top: 2rem; }
.video-card { margin: 0; }
.video-card figcaption { margin-top: 1rem; }
.video-card__quote { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.4; color: var(--navy); margin-bottom: .4rem; }
.video-card__meta { font-size: .95rem; color: var(--ink-muted); }

/* Quote cards */
.quote-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 1fr 1fr 1fr; } }
.quote-card { margin: 0; padding: 1.75rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 1rem; }
.quote-card__result { font-family: var(--font-head); font-weight: 650; font-size: 1.6rem; color: var(--navy); margin: 0; line-height: 1.2; }
.quote-card__result span { display: block; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--accent-deep); margin-top: .25rem; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-size: 1.05rem; line-height: 1.6; }
.quote-card figcaption { margin-top: auto; font-weight: 700; color: var(--navy); font-size: .95rem; }
.quote-card--big { background: var(--navy); border-color: var(--navy); justify-content: center; }
.quote-card--big blockquote p { font-family: var(--font-head); font-size: 2rem; line-height: 1.25; color: var(--white); }
.quote-card--big figcaption { color: #9FB0C7; }

/* Credentials list */
.cred-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 820px) { .cred-list { grid-template-columns: 1fr 1fr; } }
.cred-list li { background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; border-left: 4px solid var(--accent); }
.cred-list strong { display: block; color: var(--navy); font-size: 1.1rem; }
.cred-list span { font-size: 1rem; color: var(--ink-muted); }

/* Masterclass page */
.masterclass-still { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy); box-shadow: 0 30px 60px -24px rgba(19,43,77,.45); }
.masterclass-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: .55; }
.masterclass-still__play { position: absolute; inset: 0; margin: auto; width: 4.75rem; height: 4.75rem; border-radius: 50%; background: var(--accent); color: var(--navy-deep); display: grid; place-items: center; }
.masterclass-still__play svg { width: 1.8rem; height: 1.8rem; margin-left: 4px; }
.masterclass-still__label { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; color: var(--white); font-weight: 700; font-size: .95rem; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.section-intro { max-width: 46rem; font-size: 1.1rem; }
.learn-grid { display: grid; gap: 1.25rem; margin: 2.25rem 0 0; }
@media (min-width: 860px) { .learn-grid { grid-template-columns: repeat(3, 1fr); } }
.learn-card { padding: 1.75rem 1.5rem; border-radius: var(--radius); background: var(--cream); }
.learn-card__num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 650; color: var(--accent-deep); line-height: 1; display: block; margin-bottom: 1rem; }
.learn-card h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.learn-card p { font-size: 1.05rem; line-height: 1.55; color: var(--ink-muted); }
.learn-foot { margin-top: 2rem; max-width: 46rem; font-size: 1.1rem; }

/* Legal */
.section--tight { padding-top: 2.5rem; }
.legal h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 1.05rem; }
.draft-note { margin-top: 1rem; padding: 1rem 1.25rem; background: #FFF4E5; border: 1px solid #F3C98F; border-radius: var(--radius-sm); font-size: .95rem; }

/* Proof strip on inner pages */
.proof--page { margin-top: 2.5rem; }
.about__photo img { object-position: 50% 30%; }

/* Hero photo: no offset frame, and show it on phones too */
@media (min-width: 900px) { .hero__photo::before { content: none; } }
.photo picture { display: block; width: 100%; height: 100%; }
@media (max-width: 899px) {
  .hero__photo { display: block; max-width: 380px; width: 100%; margin: 0 auto; aspect-ratio: 4 / 5; box-shadow: 0 24px 48px -24px rgba(19,43,77,.45); }
}

/* Pillars */
.pillars { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pillars li {
  background: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.1rem 1.25rem;
  font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.3; border-top: 4px solid var(--accent);
}
.pillars li:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .pillars li { padding: 1.4rem 1.25rem; font-size: 1.1rem; }
  .pillars li:last-child { grid-column: auto; }
}
.pillars__note { margin-top: 1.5rem; max-width: 46rem; font-size: 1.1rem; }
.pillars + .pillars__note + * { margin-top: 0; }

/* Social link */
.footer-social { margin-top: 1.25rem; }
.social-link { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; }
.social-link svg { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); transition: background .2s, color .2s; }
.social-link:hover svg { background: var(--accent); color: var(--navy-deep); }

/* Long Google reviews: clamp with a Read more toggle */
.review__text p { margin-bottom: .75rem; }
.review__text p:last-child { margin-bottom: 0; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; font: 700 .95rem var(--font-body); color: var(--navy); border-bottom: 2px solid var(--accent); cursor: pointer; }

/* Client Results: all reviews, first nine shown, rest behind the button (three on phones) */
.reviews-grid--all:not(.is-expanded) > .review:nth-child(n+10) { display: none; }
.reviews-grid--all:not(.is-expanded) + .reviews-more { display: inline-flex; }
@media (min-width: 680px) { .reviews-more { width: auto; } }

/* Self-hosted testimonial montage */
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow); }
.video-wrap video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.video-grid--quotes { margin-top: 2rem; }
.video-grid--quotes .video-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border-left: 4px solid var(--accent); }
.video-grid--quotes .video-card__quote { margin-bottom: .5rem; }

/* Who's in the montage */
.montage-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.montage-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.montage-list strong { color: var(--navy); font-size: 1.05rem; min-width: 4.5rem; }
.montage-list span { color: var(--ink-muted); }
.page-hero__solo { max-width: calc(46rem + var(--gutter) * 2); margin-left: auto; margin-right: auto; }
@media (min-width: 1200px) { .page-hero__solo { max-width: var(--wrap); } .page-hero__solo > div { max-width: 46rem; } }
