/* HOME PAGE (/). Only index.html loads this file, after brand.css.
   VOICE: calm, credible, a clinician-friendly strategist; no hype.
   IDEA: "The Right Kind of Full" drawn as a vessel filling in four stages.
   PICTURE: the framework vessel beside the headline, in place of a photo.
   COLOUR and TYPE: brand.css only. Navy leads, cream ground, brick red for the headline and a few accents.
   LAYOUT: bands alternate cream / white / navy so each section reads as its own step. */

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font: var(--weight-body) var(--size-body)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: var(--weight-heading); line-height: 1.15; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: var(--size-h2); color: var(--color-primary); }
h3 { color: var(--color-primary); }
p { margin: 0 0 16px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.band { padding: clamp(64px, 8vw, 104px) 0; }
.band--white { background: var(--color-surface); }
.band--navy { background: var(--color-primary); color: #F3EEE6; }
.band--navy h2, .band--navy h3 { color: #FFFFFF; }
.eyebrow { font: 600 var(--size-eyebrow)/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--color-eyebrow); margin: 0 0 12px; }
.band--navy .eyebrow { color: #D9C9A8; }
.lead-in { max-width: 600px; margin: 0 auto; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--color-surface); padding: 8px 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: 0; text-decoration: none;
  background: var(--color-primary); color: var(--color-on-primary);
  font: var(--weight-strong) 18px/1.2 var(--font-body);
  padding: 17px 34px; min-height: 52px; border-radius: var(--radius-button); box-shadow: var(--shadow-button);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.btn--light { background: #FAF7F2; color: var(--color-primary); }
.btn--light:hover { background: #FFFFFF; }
.cta { margin-top: 48px; text-align: center; }

/* ---------- Header ---------- */
.site-header { background: var(--color-bg); border-bottom: 1px solid rgba(45,45,72,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--color-logo); line-height: 1; }
.logo-mark { font: var(--weight-heading) 34px/0.9 var(--font-heading); letter-spacing: -0.01em; }
.logo-sub { font: 600 8.5px/1 var(--font-heading); letter-spacing: 0.32em; text-transform: uppercase; margin-top: 4px; padding-left: 0.32em; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 4px; font-family: var(--font-heading); color: var(--color-text); text-decoration: none; font-size: 16px; }
.site-nav a:hover { background: rgba(29,53,87,.06); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--color-heading); font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.01em; margin-bottom: 24px; }
.hero h1 .line { display: block; }
/* the site's own Fraunces file runs a little wider than Google's, so keep each headline line whole on wide screens */
@media (min-width: 961px) { .hero h1 { font-size: clamp(34px, 4.3vw, 50px); letter-spacing: -0.02em; } .hero h1 .line { white-space: nowrap; } }
.hero .lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; max-width: 30em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
/* top button matches the width of the "Not ready to apply?" line under it */
.hero .hero-actions { width: max-content; max-width: 100%; }
.hero .hero-actions .btn { align-self: stretch; text-align: center; }
.alt-line { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-text-soft); }
.alt-line a { white-space: nowrap; color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta .alt-line { margin-top: 16px; }
.band--navy .alt-line { color: #E9E4DA; }
.band--navy .alt-line a { color: #FFFFFF; }
.hero-note { font-size: 15px; color: var(--color-text-soft); margin: 4px 0 0; }

/* Framework vessel */
.fw { margin: 0; background: var(--color-surface); border-radius: 14px; padding: 28px 28px 24px; box-shadow: 0 1px 0 rgba(45,45,72,.06), 0 18px 48px -20px rgba(29,53,87,.28); }
.fw-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 18px; }
.fw-title { font: var(--weight-heading) 22px/1.2 var(--font-heading); color: var(--color-primary); margin: 0; }
.fw-time { font-size: 14px; color: var(--color-eyebrow); margin: 0; white-space: nowrap; }
.fw-grid { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 20px; list-style: none; margin: 0; padding: 0; }
.fw-rim { grid-column: 1; height: 26px; border-left: 3px solid #C9D3DE; border-right: 3px solid #C9D3DE; position: relative; }
.fw-full { grid-column: 2; align-self: end; font: 600 13px/1.2 var(--font-body); color: var(--color-heading); padding-bottom: 2px; }
.fw-rim::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: -1px; border-top: 2px dashed var(--color-heading); }
.fw-layer { grid-column: 1; min-height: 72px; border-left: 3px solid #C9D3DE; border-right: 3px solid #C9D3DE; position: relative; overflow: hidden; }
.fw-layer:last-of-type { border-bottom: 3px solid #C9D3DE; border-radius: 0 0 18px 18px; }
.fw-fill { position: absolute; inset: 0; display: grid; place-items: center; font: var(--weight-heading) 22px/1 var(--font-heading); transform-origin: bottom; animation: fill .7s cubic-bezier(.2,.7,.2,1) both; }
.fw-l4 .fw-fill { background: var(--color-step); color: var(--color-primary); animation-delay: .7s; }
.fw-l3 .fw-fill { background: #6F88A6; color: #FFFFFF; animation-delay: .35s; }
.fw-l2 .fw-fill { background: #4B6789; color: #FFFFFF; animation-delay: .35s; }
.fw-l1 .fw-fill { background: var(--color-primary); color: #FFFFFF; animation-delay: 0s; }
@keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .fw-fill { animation: none; } }
.fw-label { grid-column: 2; align-self: center; padding: 10px 0; border-bottom: 1px solid rgba(45,45,72,.08); }
.fw-label:last-child { border-bottom: 0; }
.fw-label strong { display: block; font: var(--weight-heading) 18px/1.25 var(--font-heading); color: var(--color-primary); }
.fw-label span { display: block; font-size: 15px; line-height: 1.45; color: var(--color-text); margin-top: 2px; }

/* ---------- Client names ---------- */
.clients { background: var(--color-surface); border-top: 1px solid rgba(45,45,72,.08); border-bottom: 1px solid rgba(45,45,72,.08); padding: 28px 0; }
.clients .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.clients-label { font-size: 14px; color: var(--color-text-soft); margin: 0; }
.clients ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: center; justify-items: center; gap: 8px 44px; }
.clients .nb { white-space: nowrap; }
.clients li { font: 600 18px/1.4 var(--font-heading); color: var(--color-client); white-space: nowrap; }

/* ---------- Result ---------- */
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.result-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; font: var(--weight-heading) clamp(44px, 6.4vw, 76px)/1 var(--font-heading); color: #FFFFFF; margin: 0; }
.result-num .from { color: #A9B7C9; font-weight: 500; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(185,69,59,.9); }
.result-num .arrow { color: #D9C9A8; font-size: .6em; }
.result-copy p { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: #FFFFFF; }
.result-copy .fine { font-size: 15px; color: #C9D3DE; margin-top: 12px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { margin: 0; background: var(--color-surface); border-radius: 10px; padding: 32px 28px 28px; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(45,45,72,.06), 0 10px 30px -18px rgba(29,53,87,.25); }
.quote blockquote { margin: 0 0 24px; font-size: 17px; line-height: 1.65; color: var(--color-text); }
.quote .hl { display: block; font: var(--weight-heading) 21px/1.3 var(--font-heading); color: var(--color-primary); margin-bottom: 12px; }
.who { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(45,45,72,.1); font-size: 15px; line-height: 1.35; }
.who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.who strong { display: block; font-size: 16px; color: var(--color-primary); }

/* ---------- Framework detail ---------- */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0 auto; max-width: 960px; text-align: left; }
.step { background: var(--color-bg); border-radius: 10px; padding: 28px 28px 26px; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-content: start; }
.step > * { grid-column: 2; }
.step-num { grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #FFFFFF; font: var(--weight-heading) 20px/1 var(--font-heading); }
.step h3 { font-size: 21px; margin: 8px 0 10px; }
.step p { font-size: 16px; line-height: 1.6; margin: 0 0 10px; }
.step .how { font-size: 15px; color: var(--color-text-soft); margin: 0; }
.method { list-style: none; padding: 0; margin: 8px auto 0; max-width: 860px; text-align: left; }
.mstep { display: grid; grid-template-columns: 150px 44px minmax(0, 1fr); column-gap: 24px; }
.mstep-when { margin: 0; padding-top: 4px; text-align: right; }
.mstep-phase { display: block; font: var(--weight-heading) 22px/1.2 var(--font-heading); color: var(--color-primary); }
.mstep-time { display: block; margin-top: 4px; font: 600 13px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--color-eyebrow); }
.mstep-rail { position: relative; display: flex; justify-content: center; }
.mstep-rail::after { content: ""; position: absolute; top: 52px; bottom: 8px; left: 50%; width: 2px; transform: translateX(-50%); background: #C9D3DE; }
.mstep:last-child .mstep-rail::after { display: none; }
.mstep-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #FFFFFF; font: var(--weight-heading) 20px/1 var(--font-heading); }
.mstep-body { padding: 4px 0 40px; }
.mstep:last-child .mstep-body { padding-bottom: 8px; }
.mstep-body h3 { font-size: 21px; margin: 4px 0 10px; }
.mstep-body p { font-size: 16px; line-height: 1.6; margin: 0 0 10px; }
.mstep-body .how { font-size: 15px; color: var(--color-text-soft); margin: 0; }
.offer-line { margin: 32px auto 0; font-size: 16px; color: var(--color-text-soft); }
.offer-line + .cta { margin-top: 20px; }
.takeaways { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; max-width: 960px; margin: 20px auto 0; text-align: left; }
.walk, .fit { border-radius: 10px; padding: 28px; }
.walk { border: 1px solid rgba(45,45,72,.12); }
.fit { background: var(--color-surface-muted); }
.walk h3, .fit h3 { font-size: 21px; margin-bottom: 14px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 16px; line-height: 1.55; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--color-heading); border-bottom: 3px solid var(--color-heading); transform: rotate(-45deg); }
.fit p { font-size: 16px; line-height: 1.6; }

/* ---------- Video ---------- */
.words-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.big-quote { font: var(--weight-heading) clamp(26px, 3vw, 34px)/1.25 var(--font-heading); color: var(--color-primary); margin: 0 0 16px; }
.big-quote-by { font-size: 16px; color: var(--color-text-soft); margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--color-primary); border-radius: 10px; overflow: hidden; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; display: block; background: var(--color-primary); color: #FFFFFF; font-family: var(--font-body); text-align: left; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,26,40,.85) 0%, rgba(20,26,40,.3) 35%, rgba(20,26,40,0) 60%); }
.video-bar { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; align-items: center; gap: 14px; }
.video-icon { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: var(--color-primary); box-shadow: 0 4px 18px rgba(0,0,0,.3); }
.video-icon svg { margin-left: 4px; }
.video-label { display: block; font: var(--weight-heading) 21px/1.2 var(--font-heading); }
.video-meta { display: block; font-size: 14px; opacity: .95; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 900px; margin: 0 auto; }
.about img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; }
.about h2 { margin-bottom: 18px; }
.about p { font-size: 17px; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 8px; border-top: 1px solid var(--color-border-soft); text-align: left; }
.faq-item { border-bottom: 1px solid var(--color-border-soft); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: 600 19px/1.35 var(--font-heading); color: var(--color-text); margin: 0; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; font: 400 28px/1 var(--font-body); color: var(--color-primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover h3 { color: var(--color-primary); }
.faq-answer { padding: 0 4px 22px; font-size: 17px; }

/* ---------- Final CTA ---------- */
.closing { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 760px; margin: 0 auto; text-align: left; }
.closing img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.closing blockquote { margin: 0; font: 500 clamp(22px, 2.4vw, 28px)/1.35 var(--font-heading); color: #FFFFFF; }
.closing cite { display: block; margin-top: 14px; font-style: normal; font-size: 15px; color: #C9D3DE; }
.closing-cta { text-align: center; margin-top: 48px; }
.closing-cta h2 { margin-bottom: 24px; }
.ask { display: block; margin-top: 16px; color: #FFFFFF; font-size: 16px; }

/* ---------- Instagram ---------- */
.ig-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.ig-head h2 { margin: 0; }
.ig-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ticker-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; cursor: pointer; font: var(--weight-strong) 15px var(--font-body); color: var(--color-primary); background: transparent; border: 1.5px solid var(--color-primary); border-radius: 999px; }
.ticker-toggle:hover { background: rgba(29,53,87,.06); }
.ig-follow { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--weight-strong); font-size: 15px; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: ticker 60s linear infinite; padding: 4px 0; margin: 0; list-style: none; }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track, .ticker.is-offscreen .ticker-track { animation-play-state: paused; }
.ticker-track a { display: block; width: 200px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: var(--color-surface-muted); }
.ticker-track img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } .ticker-track { animation: none; } }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; text-align: center; font-size: 14px; color: var(--color-text-soft); }
.site-footer a { color: inherit; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero-grid, .result-grid, .words-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .fw { max-width: 560px; }
  .quotes { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
  .takeaways { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .site-header .wrap { height: 68px; padding-right: 10px; }
  .site-nav { gap: 0; flex-wrap: nowrap; }
  .site-nav a { font-size: 14.5px; padding: 10px 7px; white-space: nowrap; }
  .logo-mark { font-size: 29px; }
  .hero h1 { font-size: min(40px, calc((100vw - 40px) / 11.6)); }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-note, .hero-actions .alt-line { width: 100%; text-align: center; }
  .hero .hero-actions { width: 100%; }
  .hero .hero-actions .alt-line { font-size: max(13px, min(15px, calc((100vw - 40px) / 23.6))); }
  .fw { padding: 22px 18px 18px; }
  .fw-grid { grid-template-columns: 60px minmax(0, 1fr); column-gap: 14px; }
  .fw-layer { min-height: 66px; }
  .fw-label strong { font-size: 17px; }
  .fw-label span { font-size: 14px; }
  .clients .wrap { flex-direction: column; gap: 10px; }
  .clients ul { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 14px 14px; }
  .clients li { font-size: 15px; line-height: 1.25; white-space: normal; text-align: center; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .mstep { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .mstep-rail { grid-column: 1; grid-row: 1 / span 2; }
  .mstep-rail::after { top: 48px; }
  .mstep-num { width: 40px; height: 40px; font-size: 18px; }
  .mstep-when { grid-column: 2; grid-row: 1; text-align: left; padding-top: 2px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .mstep-phase { font-size: 20px; }
  .mstep-time { margin-top: 0; }
  .mstep-body { grid-column: 2; grid-row: 2; padding-bottom: 32px; }
  .step { padding: 24px 20px; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .step-num { width: 40px; height: 40px; font-size: 18px; }
  .about { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .about img { width: 180px; height: 180px; }
  .about h2 { text-align: center; }
  .closing { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .closing img { width: 96px; height: 96px; }
  .video-bar { left: 14px; right: 14px; bottom: 12px; }
  .video-icon { width: 48px; height: 48px; }
  .video-label { font-size: 18px; }
  .ticker-track a { width: 150px; }
}
@media (max-width: 380px) {
  .clients ul { column-gap: 10px; }
  .clients li { font-size: 14px; }
  .site-nav a { font-size: 13.5px; padding: 10px 5px; }
  .logo-mark { font-size: 26px; }
}
.band--navy .btn + .alt-line { margin-top: 16px; }
