/* Lucero Clinic, version 2. Cream canvas, deep teal, photography first, scroll-driven. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin.woff2") format("woff2");
}
:root {
  --cream: #FBF9F4;
  --paper: #FFFFFF;
  --tint: #EAF4F8;
  --ink: #0A1A26;
  --deep: #06354A;
  --deep-2: #0A2234;
  --brand: #0B7FA6;
  --brand-dark: #086784;
  --accent: #9BE3F7;
  --muted: #5B6B75;
  --line: rgba(10, 26, 38, 0.10);
  --line-light: rgba(255, 255, 255, 0.18);
  --r: 10px;
  --r-s: 6px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 78rem;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.012em; line-height: 1.08; }
p { margin: 0 0 1rem; }
.inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.inner.narrow { max-width: 52rem; }
.center { text-align: center; }
.center .h2, .center .lede { margin-left: auto; margin-right: auto; }
.hide-m { display: none; }
@media (min-width: 56em) { .hide-m { display: inline-flex; } }
@media (max-width: 56em) { .hide-m { display: none !important; } }

/* Progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: left; }

/* Type */
.h2 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); max-width: 22ch; margin-bottom: 1.1rem; }
.h2.light, .lede.light, .eyebrow.light { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--accent); }
.eyebrow.center { display: flex; justify-content: center; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); max-width: 38rem; color: var(--muted); margin-bottom: 1.75rem; line-height: 1.5; }
.lede.light { color: rgba(255, 255, 255, .84); }
.muted { color: var(--muted); }
.light-muted { color: rgba(255,255,255,.6); }
.small { font-size: .9rem; }
.textlink { font-weight: 500; color: var(--brand); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.textlink:hover { border-color: var(--brand); }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; will-change: transform; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 4px; font-weight: 500; font-size: .95rem; line-height: 1; border: 1.5px solid transparent; transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .3s; white-space: nowrap; cursor: pointer; }
.pill.big { padding: 1.05rem 1.75rem; font-size: 1.05rem; }
.pill.solid { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -10px rgba(11, 127, 166, .75); }
.pill.solid:hover { background: var(--brand-dark); transform: translateY(-2px); }
.pill.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.pill.ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.pill.ghost.light { border-color: rgba(255,255,255,.6); color: #fff; }
.pill.ghost.light:hover { background: #fff; color: var(--ink); }
.pill.accent { background: var(--accent); color: var(--ink); }
.pill.accent:hover { background: #fff; transform: translateY(-2px); }
.round { width: 2.9rem; height: 2.9rem; border-radius: 4px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; transition: background .2s, color .2s, transform .2s; }
.round:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* Strip + nav */
.strip { background: var(--deep); color: rgba(255,255,255,.85); text-align: center; font-size: .82rem; padding: .55rem var(--pad); position: relative; z-index: 51; }
.top { position: sticky; top: 0; z-index: 50; margin-bottom: -4.4rem; transition: background .3s, box-shadow .3s; }
.top.solid { background: rgba(251, 249, 244, .85); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.top:not(.solid) .nav-link, .top:not(.solid) .pill.ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.top:not(.solid) .pill.ghost:hover { background: #fff; color: var(--ink); }
.top:not(.solid) .brand img { filter: brightness(0) invert(1); }
.nav { max-width: var(--max); margin: 0 auto; padding: .9rem var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.nav-l { display: flex; gap: 1.5rem; }
.nav-r { display: flex; gap: .6rem; justify-content: flex-end; }
.nav .brand { justify-self: center; }
.nav .brand img { height: 28px; width: auto; transition: filter .3s; }
.nav-link { font-weight: 500; font-size: .95rem; padding: .5rem .1rem; color: var(--ink); border-bottom: 1.5px solid transparent; transition: border-color .2s, color .3s; }
.nav-link:hover { border-color: var(--brand); }


/* Hero */
.hero { position: relative; height: calc(100svh - var(--strip, 2.5rem)); min-height: 600px; overflow: hidden; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 77% 54%; will-change: transform; transform-origin: 50% 0%; }
.hero.sub .hero-img { object-position: 50% 0%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,53,74,.35) 0%, rgba(6,53,74,0) 30%, rgba(6,30,44,.82) 100%); }
.hero-inner { position: relative; height: 100%; max-width: var(--max); margin: 0 auto; padding: 7rem var(--pad) 2.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.hero-h1 { font-size: clamp(2.8rem, 6.6vw, 6.2rem); font-weight: 400; line-height: .98; letter-spacing: -0.02em; display: flex; flex-direction: column; gap: clamp(1rem, 8vh, 5rem); margin-top: 1rem; }
.hero:not(.sub) .hero-h1 { align-self: flex-start; align-items: flex-start; text-align: left; gap: .1em; max-width: 12ch; }
.hero:not(.sub) .hero-h1 .h-top, .hero:not(.sub) .hero-h1 .h-bottom { align-self: flex-start; text-align: left; }
.hero:not(.sub) .hero-foot { justify-content: flex-start; text-align: left; gap: 1.5rem; }
@media (max-width: 56em) { .hero:not(.sub) .hero-img { object-position: 74% 0%; } .hero:not(.sub) .hero-h1 { gap: .3rem; max-width: none; } .hero:not(.sub) .hero-foot { justify-content: space-between; } }
@media (max-width: 40em) { .hero:not(.sub) .hero-inner { justify-content: flex-end; padding-bottom: 2.5rem; } }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2rem; }
/* Home hero: headline, line and button sit together, centred between the nav and the bottom of the hero */
.hero:not(.sub) .hero-inner { justify-content: center; padding-top: var(--nav, 4.4rem); padding-bottom: 0; }
.hero:not(.sub) .hero-h1 { margin-top: 0; }
.hero:not(.sub) .hero-foot { margin-top: clamp(1.5rem, 4vh, 2.75rem); }
.hero-lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin: 0; color: rgba(255,255,255,.92); }
.hero-actions { margin: 0; }

/* Sections */
.section { padding: clamp(5rem, 12vh, 10rem) 0; }

/* Intro with star */
.intro { background: var(--cream); overflow: hidden; }
.intro-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 56em) { .intro-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.star-stage { position: relative; aspect-ratio: 1; max-width: 34rem; margin: 0 auto; width: 100%; color: var(--brand); }
.star-line { width: 100%; height: 100%; display: block; }
.tagf { position: absolute; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: .65rem 1.1rem .65rem .9rem; display: flex; flex-direction: column; box-shadow: 0 18px 40px -24px rgba(6,53,74,.45); white-space: nowrap; }
.tagf b { font-weight: 500; font-size: .95rem; }
.tagf small { color: var(--muted); font-size: .8rem; }
.tagf.f1 { left: -2%; top: 18%; } .tagf.f2 { right: -4%; top: 36%; } .tagf.f3 { left: 14%; bottom: 10%; }
@media (max-width: 56em) { .star-stage { max-width: 20rem; margin: 1rem auto; } .tagf { padding: .5rem .8rem .5rem .7rem; } .tagf b { font-size: .85rem; } .tagf small { font-size: .72rem; } .tagf.f1 { left: -6%; top: 10%; } .tagf.f2 { right: -8%; top: 42%; } .tagf.f3 { left: 6%; bottom: 4%; } }

/* Results pinned */
.results { background: linear-gradient(140deg, var(--deep) 0%, var(--deep-2) 60%, #061826 100%); color: #fff; position: relative; }
.results-inner { overflow: hidden; }
.results-inner::after { content: ""; position: absolute; width: 70vw; height: 70vw; right: -25vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(11,127,166,.5), transparent 60%); pointer-events: none; }
.results-inner { position: relative; height: 100svh; max-width: var(--max); margin: 0 auto; padding: 6rem var(--pad) 4rem; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; }
.statement, .results .eyebrow, .bigs { position: relative; z-index: 1; }
.statement { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 3.1rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; max-width: 24ch; margin: 0; }
.statement .sw { color: rgba(255,255,255,.22); transition: color .2s; }
.bigs { display: grid; gap: 1.5rem; margin-top: 1rem; }
@media (min-width: 56em) { .bigs { grid-template-columns: repeat(4, 1fr); } }
.bigfig { opacity: 0; transform: translateY(20px); }
.bigfig b { display: block; font-family: var(--serif); font-size: clamp(3.4rem, 6.6vw, 6rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1; color: var(--accent); }
.bigfig span { color: rgba(255,255,255,.72); font-size: .95rem; display: block; max-width: 14em; margin-top: .4rem; }

/* How it works pinned horizontal */
.hiw { background: var(--cream); }
.hiw-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 5rem 0 3rem; }
.hiw-head { max-width: var(--max); margin: 0 auto 2rem; padding: 0 var(--pad); width: 100%; }
.hiw-head .h2 { margin-bottom: 0; }
.hiw-track { display: flex; gap: 1.5rem; padding: 0 var(--pad); will-change: transform; }
@media (min-width: 76rem) { .hiw-track { padding-left: calc((100vw - var(--max)) / 2 + var(--pad)); } }
.hcard { flex: 0 0 min(44rem, 86vw); display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-height: 26rem; }
.hcard.end { flex-basis: min(34rem, 86vw); grid-template-columns: 1fr; background: var(--deep); color: #fff; border-color: transparent; }
.hmedia img { width: 100%; height: 100%; object-fit: cover; }
.htext { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; gap: .75rem; }
.step-n { font-size: .8rem; font-weight: 500; letter-spacing: .14em; color: var(--brand); }
.htext h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.htext p { color: var(--muted); margin: 0; }
.hcard.end .htext p { color: rgba(255,255,255,.8); }
.htext small { color: var(--muted); font-size: .9rem; }
.htext .pill { align-self: flex-start; margin-top: .5rem; }
@media (max-width: 56em) { .hiw-pin { height: auto; overflow: visible; } .hiw-track { flex-direction: column; } .hcard { grid-template-columns: 1fr; flex-basis: auto; } .hmedia { aspect-ratio: 4/3; } }
.hiw-bar { max-width: var(--max); margin: 2rem auto 0; padding: 0 var(--pad); }
.hiw-bar span { display: block; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; width: 100%; }
@media (max-width: 56em) { .hiw-bar { display: none; } }

/* Gallery fan-out pinned */
.gallery { background: var(--paper); }
.gallery-pin { height: 100svh; position: relative; overflow: hidden; display: grid; place-items: center; }
.gallery-h { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: none; font-size: clamp(2.8rem, 7.2vw, 6.6rem); display: grid; gap: .1em; z-index: 1; pointer-events: none; }
.gallery-stack { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2; }
.g { position: absolute; max-width: none; width: clamp(8rem, 14vw, 13rem); aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; left: 0; top: 0; transform: translate(-50%, -50%); box-shadow: 0 30px 60px -30px rgba(6,53,74,.5); }
.g1 { object-position: 74% 50%; } .g2 { object-position: 60% 50%; } .g5, .g6 { object-position: 50% 0%; }
.gallery-sub { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: min(40rem, 86vw); text-align: center; color: var(--muted); z-index: 3; margin: 0; }

/* Why, editorial numerals */
.why { background: var(--cream); }
.why-head { margin-bottom: 3rem; }
.why-list { display: grid; }
.why-item { display: grid; grid-template-columns: 5rem 1fr; gap: 1.5rem; padding: 2.2rem 0; border-top: 1px solid var(--line); align-items: start; }
@media (min-width: 56em) { .why-item { grid-template-columns: 10rem 1fr; } }
.why-item .num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 300; letter-spacing: -0.01em; color: var(--brand); line-height: 1; }
.why-item h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: .5rem; }
.why-item p { color: var(--muted); max-width: 40rem; margin: 0; }

/* Gradient comparison */
.grad { background: linear-gradient(160deg, var(--deep) 0%, var(--brand) 60%, #4FB7D8 100%); color: #fff; position: relative; overflow: hidden; }
.grad::after { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 60%); pointer-events: none; }
.grad .inner { position: relative; z-index: 1; }
.grad .h2 { max-width: 26ch; }
.compare { display: grid; gap: 1rem; margin: 2.5rem auto; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 1rem; max-width: 64rem; box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
@media (min-width: 56em) { .compare { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; } .compare .col { padding: 2.25rem; } .compare .col + .col { border-left: 1px solid var(--line); } }
.compare h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 1.25rem; }
.compare .col.alt { background: #F6F4EE; border-radius: 0 var(--r) var(--r) 0; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.compare li { position: relative; padding-left: 2.3rem; color: var(--muted); }
.compare li b { color: var(--ink); font-weight: 500; }
.compare li::before { position: absolute; left: 0; top: .05em; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 500; }
.compare .yes li::before { content: "\2713"; background: var(--brand); color: #fff; }
.compare .no li::before { content: "\00d7"; background: #E8E3DA; color: var(--muted); }

/* Continuing care split */
.cc { display: grid; background: var(--tint); }
@media (min-width: 56em) { .cc { grid-template-columns: 1fr 1fr; min-height: 90vh; } }
.cc-media { position: relative; overflow: hidden; min-height: 60vw; }
@media (min-width: 56em) { .cc-media { min-height: 0; } }
.cc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cc-text { padding: clamp(3rem, 8vh, 6rem) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.spec { margin: 0 0 1.75rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .5rem 1.6rem; max-width: 36rem; }
.spec > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.spec > div:first-child { border-top: 0; }
.spec dt { font-weight: 500; } .spec dd { margin: 0; color: var(--muted); }

/* Fees */
.fees { background: var(--cream); }
.fees3 { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 56em) { .fees3 { grid-template-columns: 1.15fr 1fr 1fr; align-items: start; } }
.fee { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.85rem; display: flex; flex-direction: column; gap: .75rem; transition: transform .45s var(--ease), box-shadow .45s; }
.fee:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(6,53,74,.45); }
.fee.featured { background: var(--deep); color: #fff; border-color: transparent; box-shadow: 0 34px 70px -34px rgba(6,53,74,.7); }
.fee.featured .per { color: rgba(255,255,255,.8); }
.fee .price { font-family: var(--serif); font-size: clamp(2.8rem, 4.4vw, 3.9rem); font-weight: 300; letter-spacing: -0.015em; line-height: 1; margin: .5rem 0 0; }
.fee .per { color: var(--muted); font-size: .95rem; }
.fee .ticks { margin: .25rem 0 1rem; }
.fee .pill, .fee .textlink { align-self: flex-start; margin-top: auto; }
.tag { display: inline-block; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--tint); padding: .32rem .6rem; border-radius: 3px; width: max-content; }
.tag.light { background: rgba(255,255,255,.14); color: #fff; }
.ticks { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .5rem; }
.ticks li { padding-left: 1.7rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--brand); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='8' fill='black'/><path d='M4.5 8.5l2.3 2.3L11.5 6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='8' fill='black'/><path d='M4.5 8.5l2.3 2.3L11.5 6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/></svg>") center / contain no-repeat; }
.ticks.light li { color: rgba(255,255,255,.9); }
.ticks.light li::before { background: var(--accent); }

/* Learn carousel */
.learn { background: var(--paper); }
.learn-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.learn-nav { display: flex; gap: .6rem; }
.learn-row { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: .5rem var(--pad) 1.5rem; scrollbar-width: none; }
.learn-row::-webkit-scrollbar { display: none; }
@media (min-width: 78rem) { .learn-row { padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); } }
.lcard { flex: 0 0 min(20rem, 78vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: .75rem; }
.lmedia { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.lmedia img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform 1.2s var(--ease); }
.lcard:hover .lmedia img { transform: scale(1.05); }
.lcard h3 { font-size: 1.35rem; margin-top: .2rem; line-height: 1.2; }

/* FAQ */
.faqs { background: var(--cream); }
.faq { margin-top: 2rem; display: grid; gap: .65rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 1.3rem; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 18px 40px -28px rgba(6,53,74,.4); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.6rem 1.15rem 0; font-weight: 500; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .1rem; top: 50%; transform: translateY(-50%); width: 1.7rem; height: 1.7rem; border-radius: 3px; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-weight: 500; transition: transform .35s var(--ease), background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--brand); color: #fff; }
.faq .a p { margin: 0 0 1.15rem; color: var(--muted); }
.faq a { color: var(--brand); font-weight: 600; }

/* GPs */
.gps { background: var(--ink); color: #fff; padding: clamp(5rem, 12vh, 9rem) 0; position: relative; overflow: hidden; }
.gps::after { content: ""; position: absolute; width: 60vw; height: 60vw; right: -25vw; bottom: -40vw; border-radius: 50%; background: radial-gradient(circle, rgba(11,127,166,.45), transparent 60%); pointer-events: none; }
.gps-grid { display: grid; gap: 3rem; align-items: center; position: relative; z-index: 1; }
@media (min-width: 56em) { .gps-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; } }
.gp-figures { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.fig { padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: baseline; }
.fig b { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 300; letter-spacing: -0.01em; }
.fig span { color: rgba(255,255,255,.7); font-size: .95rem; }

/* Closing */
.closing { position: relative; overflow: hidden; color: #fff; padding: clamp(8rem, 20vh, 14rem) 0; isolation: isolate; text-align: center; }
.closing-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.closing-media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: center 25%; }
.closing-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,30,44,.35), rgba(6,30,44,.88)); }
.closing .h2 { max-width: 22ch; }

/* Footer */
.foot { background: var(--deep-2); color: #fff; padding: clamp(4rem, 9vh, 7rem) 0 2rem; overflow: hidden; position: relative; }
.foot::before { content: ""; position: absolute; left: 50%; bottom: -30vw; width: 90vw; height: 60vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(11,127,166,.5), transparent 60%); pointer-events: none; }
.foot .inner { position: relative; }
.foot-top { display: grid; gap: 3rem; margin-bottom: 3.5rem; }
@media (min-width: 56em) { .foot-top { grid-template-columns: 1.1fr 1.4fr; gap: 5rem; } }
.foot-h { font-family: var(--serif); font-size: clamp(1.6rem, 2.7vw, 2.3rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; max-width: 22ch; }
.foot-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; font-size: .92rem; }
@media (min-width: 56em) { .foot-cols { grid-template-columns: repeat(4, 1fr); } }
.foot-cols b { display: block; margin-bottom: .75rem; font-weight: 500; }
.foot-cols a, .foot-cols span { display: block; color: rgba(255,255,255,.7); margin-bottom: .45rem; transition: color .2s; }
.foot-cols a:hover { color: #fff; }
.wordmark img { width: 100%; height: auto; margin: 1rem 0 2rem; }
.legal { font-size: .8rem; color: rgba(255,255,255,.55); max-width: 62rem; }

/* Motion states. Everything below only applies once the script has confirmed it can run (html.motion);
   without it, or with reduced motion, the page is complete and static. */
.motion .split .w > span { transform: translateY(115%); transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 45ms); }
.motion .split.in .w > span { transform: none; }
.motion .hero .h-top .w > span { transition-duration: 1.1s; transition-delay: calc(var(--i, 0) * 60ms); }
.motion .hero .h-bottom .w > span { transition-duration: 1.1s; transition-delay: calc(.3s + var(--i, 0) * 50ms); }
.motion .hero-foot { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1) .9s, transform .9s cubic-bezier(.16, 1, .3, 1) .9s; }
.motion .hero-foot.in { opacity: 1; transform: none; }
.motion .r { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1); }
.motion .r.in { opacity: 1; transform: none; }
.motion .tagf { opacity: 0; transform: translateY(16px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.motion .tagf.f2 { transition-delay: .12s; } .motion .tagf.f3 { transition-delay: .24s; }
.motion .tagf.in { opacity: 1; transform: none; animation: floaty 3.6s ease-in-out 1s infinite alternate; }
.motion .tagf.f2.in { animation-duration: 4.4s; } .motion .tagf.f3.in { animation-duration: 5.2s; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(10px); } }
.motion .star-line .draw { stroke-dashoffset: var(--len, 0); }
.motion .hero-img { transform-origin: 50% 0%; }

/* Pinned sections on wide screens: the section is tall, its inner stage sticks for the ride */
@media (min-width: 56em) {
  .motion .results { height: 280vh; }
  .motion .results-inner { position: sticky; top: 0; height: 100vh; }
  .motion .hiw-pin { position: sticky; top: 0; }
  .motion .gallery { height: 260vh; }
  .motion .gallery-pin { position: sticky; top: 0; }
  .motion .gallery-h span { opacity: 0; }
  .motion .gallery-sub { opacity: 0; }
  .motion .hiw-track, .motion .g, .motion .hero-img, .motion .hero-inner, .motion [data-parallax] { will-change: transform; }
}
.statement .sw.on { color: #fff; }
.bigfig { transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.bigfig.on { opacity: 1; transform: none; }

/* Phones and static fallback: no pins, gallery as a plain grid, how-it-works vertical, figures visible */
@media (max-width: 56em) {
  .statement .sw { color: #fff; }
  .bigfig { opacity: 1; transform: none; }
  .gallery-pin { height: auto; display: block; padding: 4rem var(--pad) 3rem; }
  .gallery-h { position: static; transform: none; margin: 0 auto 2rem; }
  .gallery-stack { display: none; }
  .g { position: static; transform: none !important; width: 100%; }
  .gallery-sub { position: static; transform: none; width: auto; margin: 0 auto; }
  .gallery-pin { text-align: center; padding: 5rem var(--pad) 4rem; }
  .gallery-h { margin-bottom: 1.5rem; }
}
.no-motion .statement .sw { color: #fff; }
.no-motion .bigfig { opacity: 1; transform: none; }
.no-motion .hiw-pin, .no-motion .gallery-pin, .no-motion .results-inner { height: auto; }
.no-motion .hiw-track { flex-direction: column; }
.no-motion .hcard { flex-basis: auto; }
.no-motion .hiw-bar { display: none; }
.no-motion .gallery-pin { display: block; padding: 4rem var(--pad) 3rem; }
.no-motion .gallery-h, .no-motion .gallery-sub { position: static; transform: none; margin: 0 auto 2rem; }
.no-motion .gallery-stack { position: static; width: auto; height: auto; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.no-motion .g { position: static; transform: none; width: 12rem; }

/* ---------- Inner pages ---------- */
.hero.sub { height: auto; min-height: 0; }
.hero.sub .hero-inner { min-height: 74vh; padding-top: 9rem; padding-bottom: 3rem; justify-content: flex-end; gap: 1.5rem; }
.hero.sub .hero-h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); gap: .15em; margin-top: 0; }
.hero.sub .hero-h1 .h-top, .hero.sub .hero-h1 .h-bottom { align-self: flex-start; text-align: left; }
.hero.sub .hero-h1 .h-bottom { max-width: 16ch; }
.hero.sub .hero-foot { margin-top: 0; }
.hero.sub .hero-lede { max-width: 38rem; }
.hero.plain { background: linear-gradient(140deg, var(--deep) 0%, var(--deep-2) 70%); }
.hero.plain .hero-inner { min-height: 0; padding-top: 9rem; padding-bottom: 4rem; }
.hero .eyebrow { margin-bottom: .75rem; }

.cta { background: linear-gradient(140deg, var(--deep) 0%, var(--deep-2) 70%); color: #fff; padding: clamp(5rem, 12vh, 9rem) 0; text-align: center; }
.cta .h2 { margin: 0 auto 1rem; max-width: 22ch; }
.cta .lede { margin-left: auto; margin-right: auto; }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .6rem; }
.prose p { color: var(--muted); }
.prose p a { color: var(--brand); font-weight: 600; }

.form { max-width: 40rem; }
.field { margin-bottom: 1.25rem; position: relative; }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: .4rem; }
.field input[type="radio"], .field input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: .25em 0 0; padding: 0; border: 0; accent-color: var(--brand); }
.field input, .field select { width: 100%; font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus { outline: 2px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.hint { font-size: .85rem; color: var(--muted); margin: .35rem 0 0; }
.error { color: #B4231F; font-weight: 600; }
.choice { border: 0; padding: 0; margin: 0 0 1.5rem; }
.radio, .field .radio { display: flex; align-items: flex-start; gap: .7rem; padding: .95rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--paper); margin-bottom: .6rem; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,127,166,.15); }
.status { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; max-width: 40rem; }
.status p:last-child { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips label { border: 1.5px solid var(--ink); border-radius: 4px; padding: .6rem 1rem; font-weight: 500; cursor: pointer; font-size: .95rem; }
.chips label:has(input:checked) { background: var(--ink); color: #fff; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.price-line { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

.stats { display: grid; gap: 1.5rem 2rem; margin: 2.5rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line-light); }
@media (min-width: 40em) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats dt { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -.01em; line-height: 1; color: #fff; margin-bottom: .4rem; }
.stats dd { margin: 0; color: rgba(255,255,255,.75); font-size: .92rem; max-width: 18em; }
.earn { display: grid; gap: 2.5rem; align-items: start; margin-top: 2rem; }
@media (min-width: 56em) { .earn { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.earn .sessions { font-size: 1.05rem; }
.earn input[type=range] { width: 100%; max-width: 32rem; accent-color: var(--brand); margin: 1rem 0 .5rem; display: block; }
.earn .ticks-row { display: flex; justify-content: space-between; max-width: 32rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.earn .figure { font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 3.9rem); font-weight: 300; letter-spacing: -.01em; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.earn .cap { color: var(--muted); margin: .4rem 0 1.75rem; }
.earn .compare-lines p { color: var(--muted); margin: 0 0 .4rem; }
.band-short { background: var(--deep); color: #fff; padding: clamp(3rem, 7vh, 5rem) 0; }
.band-short .h2 { margin-bottom: .75rem; }
.band-short p { color: rgba(255,255,255,.8); max-width: 40rem; margin: 0; }
.gp-apply { display: grid; gap: 3rem; }
@media (min-width: 56em) { .gp-apply { grid-template-columns: 1.2fr 1fr; gap: 5rem; } }
.spec.wide { max-width: none; }
.spec > div { grid-template-columns: 11rem 1fr; }
@media (max-width: 40em) { .spec > div { grid-template-columns: 1fr; gap: .25rem; } }
.notice { background: var(--paper); border-left: 3px solid var(--brand); padding: 1.25rem 1.5rem; border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--muted); max-width: 40rem; }
.thanks { border-left: 3px solid var(--brand); padding: .5rem 0 .5rem 1.25rem; font-size: 1.1rem; }
.cells { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 40em) { .cells { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56em) { .cells { grid-template-columns: repeat(3, 1fr); } }
.cell { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 1.4rem; }
.cell b { display: block; margin-bottom: .35rem; font-weight: 500; }
.cell p { margin: 0; color: var(--muted); font-size: .95rem; }
.section.paper { background: var(--paper); }
.split-text { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56em) { .split-text { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }

/* Inner pages: the nav is a solid bar from the start and the hero sits below it as an inset card
   that grows to edge to edge as you scroll (clip-path, so no reflow) */

.inner-page .top .nav-link { color: var(--ink); border-color: transparent; }
.inner-page .top .pill.ghost { color: var(--ink); border-color: var(--ink); }
.inner-page .top .pill.ghost:hover { background: var(--ink); color: #fff; }
.inner-page .top .brand img { filter: none; }
.inner-page .top { margin-bottom: 0; background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.inner-page .hero.sub { margin: 0 11px; border-radius: 10px; overflow: hidden; }
.inner-page .hero.sub .hero-inner { min-height: 68vh; padding-top: 4.5rem; }
.inner-page .hero.plain .hero-inner { min-height: 0; padding-top: 4.5rem; }
.no-motion .hero.sub { margin: 0; border-radius: 0; }


@media (max-width: 56em) { .inner-page .hero.sub { margin: 0 6px; } }

/* ---------- Phones: navigation menu, stacked lists, carousel header ---------- */
.nav-toggle { display: none; }
.menu { display: none; }
@media (max-width: 56em) {
  .nav { grid-template-columns: auto 1fr; gap: .75rem; padding: .6rem var(--pad); }
  .nav-l { display: none; }
  .nav .brand { justify-self: start; }
  .nav .brand img { height: 22px; max-width: none; }
  .nav-r { align-items: center; gap: .4rem; }
  .nav-r .pill.solid { padding: .62rem .85rem; font-size: .82rem; box-shadow: none; white-space: nowrap; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: var(--ink); }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
  .top:not(.solid) .nav-toggle { color: #fff; }
  .top.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .top.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .top.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .top.open, .inner-page .top.open { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
  .top.open .nav-toggle { color: var(--ink); }
  .top.open .brand img, .top.open:not(.solid) .brand img { filter: none; transition: none; }
  .top.open, .top.open:not(.solid) { transition: none; }
  .top.open .nav-r .pill.solid { visibility: hidden; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(6,53,74,.4); padding: .25rem var(--pad) 1.5rem; }
  .top.open .menu { display: block; }
  .menu a:not(.pill) { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--ink); border-bottom: 1px solid var(--line); }
  .menu .pill { margin-top: 1.25rem; width: 100%; }
}
@media (max-width: 40em) {
  .learn-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .why-item { grid-template-columns: 1fr; gap: .4rem; padding: 1.8rem 0; }
  .why-item .num { font-size: 1.5rem; }
  .foot-cols { gap: 1.75rem 1.25rem; }
  .foot-cols > :nth-child(3) { grid-column: 1 / -1; }
  .foot-cols a, .foot-cols span { overflow-wrap: anywhere; }
}

/* Phones: the menu button must read on the cream inner-page bar; sections sit closer together */
@media (max-width: 56em) {
  .inner-page .top:not(.solid) .nav-toggle { color: var(--ink); }
}
@media (max-width: 40em) {
  .section { padding: 3.5rem 0; }
  .cta { padding: 4rem 0; }
  .hero.plain .hero-inner, .inner-page .hero.plain .hero-inner { padding-top: 3.5rem; padding-bottom: 3rem; }
}
