/* Future Den Vestra SACCO — public site. Plain CSS, no build step.
   Tokens are the member app's, from the Vestra logo: green brand, gold highlight, navy ink.
   (The variables keep their old names: --blue now holds the action green, --amber the logo gold.)
   Motion is layered on by script.js; nothing here hides content unless that script is running. */
:root {
  --blue: #02783D; --blue-700: #025F30; --blue-50: #EEFCF5; --blue-100: #D6F5E6;
  --amber: #FDC306; --amber-300: #FED652; --amber-100: #FFF1C2;
  --ink: #012556; --ink-950: #011A44; --ink-100: #E3E9F3; --ink-300: #9FB2D1;
  --n-50: #F7F8FC; --n-100: #EFF1F8; --n-200: #E2E5F0; --n-500: #6F7797; --n-600: #525A77; --n-700: #3C4360;
  --bg: #F7F8FC; --card: #FFFFFF;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }

/* ---------- buttons: a colour fill rises from the bottom edge on hover ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; padding: 11px 12px 11px 22px; font: 500 .95rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), border-color .3s, color .35s var(--ease), background .35s var(--ease); }
.btn > span { position: relative; z-index: 1; }
.btn:not(:has(.arr)) { padding-right: 22px; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--fill, transparent); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 15px 14px 15px 28px; font-size: 1rem; }
.btn-lg:not(:has(.arr)) { padding-right: 28px; }
.btn-primary { background: var(--ink); color: #fff; --fill: var(--blue); }
.btn-ghost { background: transparent; border-color: var(--n-200); color: var(--ink); --fill: var(--n-100); padding: 11px 20px; }
.btn-soft { background: var(--n-100); color: var(--ink); --fill: var(--blue-100); }
.btn-amber { background: var(--amber); color: var(--ink-950); --fill: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; --fill: rgba(255,255,255,.14); }
.arr { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--ink-950); font-size: 0; transition: background .35s var(--ease), color .35s var(--ease); }
.arr::before { content: ""; width: 13px; height: 13px; background: currentColor; transition: transform .45s var(--ease); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn:hover .arr::before { transform: translateX(3px); }
.btn-primary:hover .arr { background: var(--ink); color: var(--amber-300); }
.btn-amber .arr { background: var(--ink); color: #fff; }
.btn-amber:hover .arr { background: var(--amber); color: var(--ink-950); }

/* underline that is drawn from the left on hover */
.uline { position: relative; text-decoration: none; padding-bottom: 2px; }
.uline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: 0 50%; transform: scaleX(.18); opacity: .55; transition: transform .45s var(--ease), opacity .3s; }
.uline:hover::after, .uline:focus-visible::after { transform: scaleX(1); opacity: 1; }

/* ---------- header: a full-width bar that steps out of the way as you read down and returns when you scroll up ---------- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: transform .5s var(--ease); }
.nav-wrap.is-hidden { transform: translateY(-105%); }
.nav { display: flex; align-items: center; gap: 28px; padding: 8px max(24px, calc((100vw - 1180px) / 2)); background: rgba(247,248,252,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; animation: fade-in .9s var(--ease) both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.nav.scrolled { border-bottom-color: var(--n-200); }
.brand { display: block; flex: none; text-decoration: none; }
/* The Vestra logo as supplied by the client, with the co-operative line under the name: it needs about 55px of height to stay readable, so the bar is built around it. */
.logo { display: block; height: 68px; width: auto; }
.links { display: flex; gap: 30px; margin-left: auto; }
.links a { position: relative; display: block; padding: 6px 0; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--n-700); transition: color .3s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.links a:hover { color: var(--ink); }
.links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.menu-btn { display: none; position: relative; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; flex: none; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: #fff; padding: 110px 24px max(36px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s .7s; }
.mobile-menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font: 400 clamp(2.2rem, 10vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.03em; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * 60ms); }
.mm-cta { display: grid; gap: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-inner { position: relative; z-index: 2; width: min(1180px, 100% - 48px); margin: 0 auto; padding-top: 96px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: min(820px, 100vh); }
/* On wide screens the hero is one fixed stage: scrolling breaks the big bubble into three, which drift out and settle on
   a navy field. script.js switches it on (class stage-on) and moves the bubble scene in; without it the scene is a
   plain section below the hero. */
.hero-stage { display: none; }
html.stage-on .hero { height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
html.stage-on .hero-inner { height: 100%; min-height: 0; }
html.stage-on .hero-stage { display: grid; place-items: center; position: absolute; inset: 0; z-index: 1; padding: 100px 0 36px; }
html.stage-on .bubbles-section { display: none; }
.stage-field { position: absolute; inset: 0; background: radial-gradient(110% 90% at 82% 6%, #0C5C4A 0%, #07366A 36%, #012556 62%, #011A44 100%); }
.overline { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--blue-700); margin-bottom: 18px; }
.overline.on-dark { color: var(--amber-300); }
/* The three words are a staircase that grows as it goes: small, bigger, biggest. Each has its own motion in script.js. */
.hero-title { font: 300 clamp(3.8rem, 9.2vw, 7.6rem)/.92 var(--serif); letter-spacing: -.045em; color: var(--ink); }
.hero-title .line { display: block; overflow: hidden; padding: .04em .08em .14em 0; margin-bottom: -.08em; cursor: default; }
.hero-title .line:nth-child(1) { font-size: .6em; }
.hero-title .line:nth-child(2) { font-size: .8em; padding-left: .55em; }
.hero-title .line:nth-child(3) { font-size: 1em; padding-left: .9em; }
.hero-title .word { display: inline-block; position: relative; }
.hero-title .ch { display: inline-block; will-change: transform; }
.hero-title .ch.dot { color: var(--amber); }
/* "Build." stands on a foundation line that is laid first */
.hero-title .line:nth-child(3) .word::after { content: ""; position: absolute; left: 0; right: .04em; bottom: -.01em; height: .045em; min-height: 3px; border-radius: 99px; background: var(--amber); transform-origin: left; transform: scaleX(var(--f, 1)); }
.lede { max-width: 34ch; margin-top: 28px; font-size: 1.1rem; color: var(--n-600); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.center { justify-content: center; }
.hero-media { position: relative; justify-self: end; width: min(100%, 520px); }
/* the big bubble */
.arch { position: relative; isolation: isolate; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(1,37,86,.5); transform: translateZ(0); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* No colour gradients over the photo: it is shown as it is. */
.hero-chip { position: absolute; left: -8%; bottom: 12%; background: #fff; border: 1px solid var(--n-200); border-radius: 999px; padding: 12px 20px; font: italic 1.1rem var(--serif); color: var(--ink); box-shadow: 0 16px 40px -18px rgba(1,37,86,.35); }
.hero-media::before { content: ""; position: absolute; inset: -4% -6% auto auto; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--amber-100); z-index: -1; }

/* ---------- the bubbles: Save, Access, Grow (the deck's three pillars) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bubbles-section { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 128px) 0; }
.bubble-scene { position: relative; width: min(1180px, 100% - 48px); margin-inline: auto; color: #fff; --orb: min(23vw, 300px); }
html.stage-on .bubble-scene { --orb: min(23vw, 33vh); }
/* word-spacing offsets the negative tracking: at display size the words otherwise read as one. */
.bubble-statement { max-width: 28ch; margin: 0 auto clamp(32px, 6vh, 56px); text-align: center; font: 400 clamp(1.5rem, 2.9vw, 2.6rem)/1.15 var(--serif); letter-spacing: -.02em; word-spacing: .14em; text-wrap: balance; }
.bubble-statement .w { transition: none; }
.bubbles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.bubble { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bubble:nth-child(2) { margin-top: clamp(24px, 7vh, 72px); }
.orb { position: relative; isolation: isolate; overflow: hidden; width: var(--orb); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--g); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), inset 0 -28px 56px rgba(1,26,68,.38), 0 34px 60px -30px rgba(0,0,0,.65); transition: box-shadow .6s var(--ease); will-change: transform; }
.orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 1; pointer-events: none; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.62), rgba(255,255,255,0) 38%); }
.orb h3 { position: relative; z-index: 2; font: 400 clamp(2rem, 3.4vw, 3.2rem)/1 var(--serif); letter-spacing: -.025em; color: #fff; }
.bubble:hover .orb { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), inset 0 -28px 56px rgba(1,26,68,.3), 0 0 90px 6px rgba(116,216,166,.4); }
.b-save { --g: radial-gradient(circle at 30% 24%, #D6F5E6 0%, #15C16E 40%, #044926 100%); }
.b-access { --g: radial-gradient(circle at 30% 24%, #7C9BD0 0%, #1B4A8C 42%, #011A44 100%); }
.b-grow { --g: radial-gradient(circle at 30% 24%, #FFF1C2 0%, #FECA20 46%, #B07A00 100%); }
.b-grow .orb h3 { color: var(--ink-950); }
.bubble-statement .w { display: inline-block; }

/* ---------- the world network behind the hero and the bubbles ---------- */
.world { position: absolute; left: 50%; top: 50%; width: max(112%, 1180px); max-width: none; height: auto; translate: -50% -48%; pointer-events: none; user-select: none; }
.stage-field { overflow: hidden; }
.bubbles-section { position: relative; overflow: hidden; }
.bubbles-section .world { opacity: .8; }
.bubble-scene { z-index: 1; }
/* on the pale hero at rest: the same network, in navy, very faint */
.hero-world { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--ink); opacity: .075;
  -webkit-mask: url("assets/world-network.svg") 50% 52% / max(112%, 1180px) auto no-repeat; mask: url("assets/world-network.svg") 50% 52% / max(112%, 1180px) auto no-repeat; }

/* ---------- growth band: the tagline, and bars that climb like the headline ---------- */
.growth-band { background: #fff; border-block: 1px solid var(--n-200); padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.growth-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.growth-line { font: 300 clamp(2rem, 4.6vw, 3.8rem)/1.05 var(--serif); letter-spacing: -.035em; color: var(--ink); padding-bottom: clamp(36px, 5vw, 64px); max-width: 14ch; }
.growth-bars { display: flex; align-items: flex-end; gap: 8px; height: clamp(150px, 16vw, 200px); width: min(52%, 560px); flex: none; }
.growth-bars i { flex: 1; height: var(--h); border-radius: 10px 10px 0 0; background: linear-gradient(var(--blue), var(--ink)); transform-origin: bottom; }
.growth-bars i:last-of-type { background: var(--amber); }
/* The trend line rides on the tops of the bars and is redrawn from their live heights as the page scrolls (script.js). */
.growth-bars { position: relative; }
.growth-trend { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.growth-trend polyline { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.growth-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(1, 37, 86, .25); transform: translate(-50%, 50%); pointer-events: none; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tint { background: var(--blue-50); }
/* Pure white, against the page's own off-white --bg. The third option after plain and tint,
   for a run of sections that should read as one unbroken block. */
.section.white { background: var(--card); }
.band-dark { background: var(--ink); color: #fff; padding: clamp(72px, 10vw, 128px) 0; }
h2 { font: 400 clamp(2.4rem, 5.4vw, 4.4rem)/1 var(--serif); letter-spacing: -.025em; max-width: 18ch; text-wrap: balance; }
.band-dark h2 { color: #fff; }
.band-dark em { color: var(--amber-300); }
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .04em .14em 0; margin-bottom: -.14em; }
.mask > span { display: inline-block; will-change: transform; }
h3 { font: 500 1.1rem/1.35 var(--sans); }
.sub { margin-top: 24px; max-width: 62ch; color: var(--n-600); font-size: 1.1rem; }
.sub.on-dark { color: var(--ink-100); }
.note { margin-top: 28px; color: var(--n-600); font-size: .92rem; max-width: 64ch; }

/* The gap, in three plain lines. (The deck's four statistics are not shown: no numbers on this page.) */
.gap-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.gap-points li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 26px 24px 28px; color: #fff; font: 400 1.25rem/1.35 var(--serif); }
.need-label { margin-top: 64px; margin-bottom: 14px; }
/* Both classes, because this paragraph carries .closing too and `.closing { margin-top: 56px }`
   is declared further down at equal specificity -- a bare `.need` loses on source order, which
   is why the label used to float 56px above its own sentence instead of the 14px intended. */
.closing.need { margin-top: 0; max-width: 40ch; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.members-intro { position: sticky; top: 120px; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.audience li { background: var(--card); border: 1px solid var(--n-200); border-radius: 18px; padding: 18px 20px; transition: transform .4s var(--ease), border-color .3s; }
.audience li:hover { transform: translateY(-3px); border-color: var(--ink-300); }
.audience h3 { font-size: .98rem; }
.audience p { color: var(--n-600); font-size: .88rem; margin-top: 4px; }


/* growth path: a line fills along as you scroll and each step lights up when it is reached */
.path { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 56px; }
.path .rail { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.18); }
.path .rail i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(var(--p, 1)); }
.path li { position: relative; padding-top: 24px; opacity: var(--o, 1); transition: opacity .6s var(--ease); }
.path li::before { content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #3a4f86; box-shadow: 0 0 0 5px var(--ink); transition: background .5s var(--ease), scale .5s var(--ease); }
.path li.on::before { background: var(--amber); scale: 1.15; }
.path span { font: italic 400 1.1rem var(--serif); color: var(--amber-300); }
.path h3 { font: 400 1.7rem/1.1 var(--serif); margin: 10px 0 8px; color: #fff; }
.path p { color: var(--ink-100); font-size: .92rem; }
.closing { margin-top: 56px; font: 400 clamp(1.5rem, 3vw, 2.2rem)/1.25 var(--serif); max-width: 34ch; color: #fff; }

/* Two rows so the CTA can sit directly under the note in the left column. Row 1 is the steps,
   row 2 takes the slack from the card, which is taller and spans both. Without this the CTA would
   drop to the bottom of the card, since a second row otherwise starts below the tallest item. */
.join { align-items: start; grid-template-rows: auto 1fr; row-gap: 0; }
.join .terms { grid-column: 2; grid-row: 1 / span 2; }
.join-cta { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; margin-top: 26px; }
.steps { margin-top: 36px; display: grid; gap: 18px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps b { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 500; }
.steps h3 { margin-bottom: 2px; }
.steps p { color: var(--n-600); font-size: .95rem; }
.terms { background: var(--ink); color: #fff; border-radius: 28px; padding: 34px 32px; position: sticky; top: 110px; }
.terms h3 { font: 400 2rem/1.1 var(--serif); margin-bottom: 18px; }
.terms dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px dashed rgba(255,255,255,.24); align-items: flex-start; }
.terms dt { color: var(--ink-100); font-weight: 500; }
.terms dt small { display: block; margin-top: 3px; color: var(--ink-300); font-size: .8rem; font-weight: 400; max-width: 30ch; }
.terms dd { flex: none; padding-top: 2px; }
.terms .total { margin-top: 8px; border-top: 1px solid var(--amber); }
.terms .total dt { color: #fff; font-weight: 600; }
.terms > p { margin-top: 18px; color: var(--ink-300); font-size: .88rem; }
.terms .amt { font: 400 1.35rem/1.2 var(--serif); letter-spacing: -.01em; white-space: nowrap; text-align: right; }
.terms .amt small { font: 500 .72rem/1 var(--sans, inherit); letter-spacing: .08em; color: var(--ink-300); margin-right: 2px; }
.terms .total .amt { color: var(--amber-300); font-size: 1.6rem; }
.terms h4 { margin-top: 26px; font: 500 .75rem/1 var(--sans, inherit); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-300); }
.terms .plans { margin-top: 10px; }
.terms .plans > div { padding: 12px 0; align-items: center; }

.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.chips li { background: var(--card); border: 1px solid var(--blue-100); border-radius: 18px; padding: 18px; color: var(--n-600); font-size: .9rem; }
.chips b { display: block; color: var(--ink); font-weight: 500; font-size: 1rem; margin-bottom: 6px; }

/* What we are building: three words, each with the deck's sentence. The top edge takes the logo's three colours. */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.triad li { background: var(--bg); border: 1px solid var(--n-200); border-top-width: 4px; border-radius: 18px; padding: 24px 24px 28px; }
.triad li:nth-child(1) { border-top-color: var(--blue); }
.triad li:nth-child(2) { border-top-color: var(--amber); }
.triad li:nth-child(3) { border-top-color: var(--ink); }
.triad h3 { font: 400 2rem/1.1 var(--serif); margin-bottom: 8px; }
.triad p { color: var(--n-600); }

/* What you can do here: the same cards as "who it is for", three across. */
.offer-cards { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }

/* Where we are: five stages on one quiet line. No stage is marked as the current one: the deck does not say. */
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 56px; }
.phases li { position: relative; padding-top: 26px; border-top: 2px solid var(--blue-100); }
.phases li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.phases h3 { font: 400 1.35rem/1.2 var(--serif); margin-bottom: 8px; }
.phases p { color: var(--n-600); font-size: .92rem; }

/* Our promise: the mission as one line, then the five objectives under it. */
.manifesto { max-width: 30em; margin-top: 40px; font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.objectives { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; }
.objectives li { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; color: var(--ink-100); font-size: .92rem; }
.objectives b { display: block; margin-bottom: 6px; color: #fff; font-weight: 500; font-size: 1rem; }

.faq { margin-top: 44px; border-top: 1px solid var(--n-200); }
.faq details { border-bottom: 1px solid var(--n-200); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font: 400 1.5rem/1.25 var(--serif); transition: color .3s var(--ease); }
.faq summary:hover { color: var(--blue-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--n-200); display: grid; place-items: center; font: 400 1.3rem/1 var(--sans); transition: transform .4s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--n-100); }
.faq .ans { overflow: hidden; }
.faq details p { padding: 0 4px 24px; color: var(--n-600); max-width: 62ch; }
/* An answer that lists things. Same gutter as the paragraph above it, and the name of each
   item carries the ink colour so the list scans without needing headings. */
.faq .offer { padding: 0 4px 24px; margin: -8px 0 0; list-style: none; display: grid; gap: 10px; max-width: 62ch; }
.faq .offer li { color: var(--n-600); font-size: .95rem; }
.faq .offer b { color: var(--ink); font-weight: 500; }

.cta { background: var(--ink); color: #fff; text-align: center; padding: clamp(80px, 11vw, 140px) 0; }
.cta h2 { max-width: none; margin-inline: auto; font-size: clamp(2.8rem, 7vw, 6rem); color: #fff; }
.cta em { color: var(--amber-300); }
.cta > .wrap > p { margin: 22px auto 0; max-width: 46ch; color: var(--ink-100); font-size: 1.1rem; }

.footer { background: var(--ink-950); color: var(--ink-300); padding: 44px 0; }
.foot { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: center; }
.foot-logo { display: block; height: 96px; width: auto; margin-bottom: 10px; }
.foot ul { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a { color: var(--ink-100); }
.copy { width: 100%; font-size: .85rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }

/* ---------- small reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .nav { animation: none; }
  .nav-wrap { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn::before, .orb { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav { padding: 8px 20px; }
  .logo { height: 58px; }
  .gap-points { grid-template-columns: 1fr; }
  .path { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .path .rail { display: none; }
  .path li { padding-top: 14px; }
  .path li::before { display: none; }
  .chips, .objectives { grid-template-columns: repeat(2, 1fr); }
  .triad, .offer-cards { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: 1fr; gap: 0; margin-left: 6px; }
  .phases li { border-top: 0; border-left: 2px solid var(--blue-100); padding: 0 0 28px 24px; }
  .phases li::before { top: 2px; left: -7px; }
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 48px; padding-top: 110px; }
  .hero-media { justify-self: center; width: min(100%, 420px); }
  .hero-chip { left: 0; bottom: 6%; }
  .growth-inner { flex-direction: column; align-items: flex-start; gap: 0; }
  .growth-bars { width: 100%; }
  .bubbles { grid-template-columns: 1fr; gap: 44px; }
  .bubble:nth-child(2) { margin-top: 0; }
  .bubble-scene { --orb: min(64vw, 280px); }
  .split { grid-template-columns: 1fr; }
  .members-intro { position: static; }
  .terms { position: static; }
  /* One column: drop the explicit placement so the three children fall in source order --
     steps, card, then the CTA under the card, which is where it belongs on a phone. The rows
     are now the blocks themselves, so row-gap goes back to the shared .split spacing. */
  .join { grid-template-rows: none; row-gap: clamp(32px, 6vw, 80px); }
  .join .terms, .join-cta { grid-column: auto; grid-row: auto; }
  /* Phones: the hero is one screen. The big bubble sits cropped at the bottom; scrolling swells it until you pass through
     it (script.js), into the dark field where the three bubbles settle in a cluster. */
  /* A floor under the gap between the copy and the bubble. On a tall phone the column has slack
     to spare and they sit far apart, but on a short one the slack runs out and the CTA ends up
     flush against the top of the bubble -- they met at exactly the same y at 620px tall. */
  html.stage-on .hero-inner { display: flex; flex-direction: column; gap: 24px; padding-top: 86px; }
  /* The pale amber disc behind the bubble. On a wide screen it sits off the top-right corner
     as a counterweight; on a phone the bubble is nearly full-bleed, so the disc has nowhere to
     sit and reads as a stray shape crowding the CTA instead. Not scoped to .stage-on: it should
     stay hidden on a phone even when the scroll stage never starts (reduced motion, no GSAP). */
  .hero-media::before { display: none; }
  html.stage-on .hero-copy { flex: none; }
  html.stage-on .lede { margin-top: 16px; font-size: 1rem; }
  html.stage-on .hero-actions { margin-top: 20px; }
  html.stage-on .hero-actions .btn:nth-child(2) { display: none; }
  html.stage-on .overline { margin-bottom: 12px; }
  html.stage-on .hero-media { flex: none; align-self: center; margin-top: auto; margin-bottom: -26%; width: min(96vw, 400px); }
  /* the network shrinks to the phone's width, so the whole world sits behind the screen instead of a cropped slice */
  .world { width: 100%; translate: -50% -50%; filter: drop-shadow(0 0 1px rgba(116,216,166,.95)) drop-shadow(0 0 1px rgba(116,216,166,.95)); }
  .stage-field .world { top: 46%; }
  .hero-world { -webkit-mask-size: 100% auto; mask-size: 100% auto; opacity: .11; }
  html.stage-on .hero-stage { padding: 84px 0 28px; }
  html.stage-on .bubble-scene { --orb: min(40vw, 21svh); width: calc(100% - 36px); }
  html.stage-on .bubble-statement { font-size: clamp(1.15rem, 5.2vw, 1.4rem); max-width: 26ch; margin-bottom: 22px; }
  html.stage-on .bubbles { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  html.stage-on .bubble:nth-child(2) { margin-top: 28px; }
  html.stage-on .bubble:nth-child(3) { grid-column: 1 / -1; margin-top: -4px; }
  html.stage-on .orb h3 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
}
@media (max-width: 560px) {
  .wrap, .narrow, .hero-inner { width: calc(100% - 36px); }
  .audience, .chips, .triad, .objectives, .offer-cards { grid-template-columns: 1fr; }
  .gap-points li { text-align: center; }
  .foot { flex-direction: column; justify-content: center; text-align: center; }
  .foot-logo { margin-inline: auto; }
  .foot ul { justify-content: center; }
  .path { grid-template-columns: 1fr 1fr; }
  .hero-title .line:nth-child(2) { padding-left: .4em; }
  .hero-title .line:nth-child(3) { padding-left: .7em; }
  .hero-actions .btn { width: 100%; }
}
