/* ============================================================================
   Planet A Foods — ingredient detail pages (first: Cocoa Booster)
   Builds on home.css tokens: Rethink Sans · purple #320F99 · light green
   #EEB650 · Ronchi gold #EEB650 · grey #F7F7F9. Calm, R&D-friendly, lots of air.
   ========================================================================== */

/* nav: white logo over the powder hero, purple once the bar turns white */
.subpage .nav.scrolled .brand { color: var(--purple); }
.nav-pill a.is-active { color: var(--purple); background: var(--lilac); }
.nav-pill .nav-cta { margin-left: 6px; background: var(--purple); color: #fff; padding: 7px 14px; }
.nav-pill .nav-cta:hover { background: var(--purple-2); color: #fff; }

.sub h2 { margin-top: 18px; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.pill-gold { background: var(--gold); color: var(--purple); }
.pill-green { background: var(--gold); color: #0D2B22; }
.btn-outline { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--purple); }
.btn-outline:hover { background: var(--lilac); color: var(--purple); }
.link-arrow { display: inline-flex; gap: 8px; font-weight: 600; color: var(--purple); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.cb-sec { padding: clamp(52px, 7.5vh, 88px) 0; position: relative; }
.cb-head { max-width: 760px; margin-bottom: clamp(24px, 3.6vh, 40px); }
.cb-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cb-head.row > div { max-width: 760px; }

/* ---------- 01 hero: full-bleed powder texture ---------- */
.cb-hero { position: relative; overflow: hidden; color: #fff; min-height: min(92vh, 900px); display: flex; align-items: flex-end; padding: 120px 0 clamp(64px, 10vh, 120px); background: #6E3A1E; }
/* hero shots reuse the homepage reel classes (.reel / .on / .was / data-fx) from home.css */
.cb-stage picture { position: absolute; inset: 0; display: block; }
.cb-stage .reel[data-frame="mirror"] picture { transform: scaleX(-1); }
.cb-stage .reel[data-frame="mirror"] img { object-position: 30% 40%; }
.cb-stage .reel[data-frame="close"] picture { transform: scale(1.35); transform-origin: 68% 58%; }
@keyframes powderDrift { from { transform: scale(1.06) translate3d(-1.5%, 0, 0); } to { transform: scale(1.16) translate3d(1.5%, -1.5%, 0); } }
.cb-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,16,6,.78) 0%, rgba(36,16,6,.5) 45%, rgba(36,16,6,.1) 80%), linear-gradient(0deg, rgba(36,16,6,.45), transparent 45%); }
.cb-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.72); margin-bottom: clamp(40px, 9vh, 120px); }
.crumbs a:hover { color: #fff; }
.crumbs b { color: #fff; font-weight: 500; }
.cb-hero-copy { max-width: 920px; }
.cb-hero .kicker { color: var(--gold); }
.cb-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.8rem); margin-top: 18px; color: #fff; }
.cb-hero .lead { max-width: 54ch; margin-top: 22px; color: rgba(255,255,255,.88); }
.cb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.btags li { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--purple); }
.btags li:nth-child(2) { background: var(--gold); color: #0D2B22; }
.btags li.off { background: transparent; color: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px currentColor; }
/* ---------- 02 key facts ---------- */
.cb-facts { background: var(--lilac); padding: clamp(32px, 5vh, 56px) 0 clamp(36px, 5.5vh, 64px); }
.kf-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kf { background: #fff; border-radius: var(--r); padding: 24px 22px 26px; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.kf::before { content: ""; position: absolute; left: 22px; top: 0; width: 34px; height: 5px; border-radius: 0 0 4px 4px; background: var(--gold); }
.kf:nth-child(2)::before { background: var(--gold); } .kf:nth-child(3)::before { background: var(--purple); } .kf:nth-child(4)::before { background: var(--gold); } .kf:nth-child(5)::before { background: var(--gold); }
.kf:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(50,15,153,.45); }
.kf b { display: block; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.kf .kf-t { display: block; font-weight: 600; margin-top: 10px; }
.kf span:last-child { display: block; font-size: .88rem; color: var(--ink-2); margin-top: 4px; }
.fineprint { font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* ---------- 03 why now ---------- */
.why2 { display: grid; gap: 20px; }
.why-card { background: #fff; border-radius: var(--r); padding: 26px 26px 30px; }
.why-card h3 { margin-top: 26px; }
.why-card > p { margin-top: 10px; color: var(--ink-2); }
.why-vis { margin: 0; border-radius: var(--r); background: #fff; padding: 26px; min-height: 190px; }
.share { display: flex; align-items: center; gap: 26px; }
.share p { color: var(--ink-2); }
.share b { color: var(--ink); font-weight: 600; }
.donut { --p: 60; flex: 0 0 auto; width: 136px; height: 136px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, #fff 70%, transparent 71% 100%), conic-gradient(var(--purple) calc(var(--p) * 1%), var(--lilac) 0); }
.donut span { font-size: 1.7rem; font-weight: 500; letter-spacing: -.02em; }
.bars { display: grid; gap: 14px; align-content: center; }
.bars figcaption { font-size: .82rem; color: var(--muted); }
.hb { display: grid; grid-template-columns: 130px 1fr 64px; gap: 14px; align-items: center; font-size: .95rem; }
.hb b { font-weight: 600; }
.hb i { display: block; height: 14px; width: 0; border-radius: 0 4px 4px 0; background: var(--gold); transition: width 1.4s var(--ease) .2s; }
.hb i.base { background: var(--lilac-2); }
.reveal.in .hb i { width: var(--w); }
.hb em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 04 quote ---------- */
.cb-quote { background: var(--purple); color: #fff; padding: clamp(52px, 7.5vh, 88px) 0; position: relative; overflow: hidden; }
.cb-quote .lead { color: rgba(255,255,255,.8); }
.quote-grid { display: grid; gap: 40px; align-items: center; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.35; letter-spacing: -.01em; font-weight: 500; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); margin-bottom: 14px; }
.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 3px var(--gold); }
.quote figcaption span { display: grid; color: rgba(255,255,255,.8); font-size: .92rem; }
.quote figcaption b { color: #fff; font-weight: 600; }

/* ---------- 05 pillars ---------- */
.pillars { display: grid; gap: 14px; }
.pillar { position: relative; background: #fff; border-radius: var(--r); padding: 24px 24px 28px; box-shadow: inset 0 0 0 1px rgba(14,11,26,.08); transition: background .4s ease, transform .5s var(--ease); }
/* hover: each card takes on a brand colour (uses `translate`, so it works alongside the scroll motion) */
.pillar { display: flex; flex-direction: column; transition: background .4s ease, color .4s ease, translate .5s var(--ease), box-shadow .5s var(--ease); }
.pillar:hover { translate: 0 -6px; box-shadow: 0 26px 44px -30px rgba(50,15,153,.55); }
.pillar:nth-child(1):hover { background: var(--purple); color: #fff; }
.pillar:nth-child(2):hover { background: var(--gold); }
.pillar:nth-child(3):hover { background: var(--gold); }
.pillar:nth-child(4):hover { background: var(--purple-dk); color: #fff; }
.pillar:nth-child(5):hover { background: var(--gold); }
.pillar:nth-child(1):hover p, .pillar:nth-child(4):hover p, .pillar:nth-child(1):hover .pi-no, .pillar:nth-child(4):hover .pi-no { color: rgba(255,255,255,.82); }
.pillar:nth-child(1):hover .pi-ic, .pillar:nth-child(4):hover .pi-ic { stroke: #fff; }
.pillar:hover .pi-ic { animation: icNod .6s var(--ease); }
@keyframes icNod { 40% { transform: translateY(-4px) rotate(-6deg); } }
.pi-no { font-size: .85rem; color: var(--muted); }
.pi-ic { display: block; width: 40px; height: 40px; margin: 16px 0 18px; fill: none; stroke: var(--purple); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.pillar h3 { font-size: 1.2rem; min-height: 2.5em; }   /* two-line titles keep the copy of all five cards on one line */
.pillar p { margin-top: 10px; font-size: .95rem; color: var(--ink-2); }

/* ---------- 06 colour profiles ---------- */
.cb-profiles { background: var(--lilac); }
.profiles-grid { display: grid; gap: 40px; align-items: start; }
.codev { margin-top: 30px; background: #fff; border-radius: var(--r); padding: 22px 24px; box-shadow: inset 4px 0 0 var(--gold); }
.codev h3 { font-size: 1.1rem; }
.codev p { margin: 6px 0 14px; color: var(--ink-2); }
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile { background: #fff; border-radius: var(--r); overflow: hidden; padding-bottom: 18px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.profile:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -30px rgba(50,15,153,.5); }
.profile.is-live { box-shadow: 0 0 0 3px var(--purple); }
.pf-img { aspect-ratio: 1 / 1; overflow: hidden; background: #fff; display: grid; place-items: center; }
.pf-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform 1s var(--ease); }
.profile:hover .pf-img img { transform: scale(1.06) translateY(-2%); }
.profile h3 { font-size: 1.15rem; margin: 16px 18px 10px; }
.chip { margin: 0 18px; display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.chip.live { background: var(--purple); color: #fff; }
.chip.dev { color: var(--muted); box-shadow: inset 0 0 0 1px currentColor; }

/* ---------- 07 applications ---------- */
.scale-key { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; width: 240px; font-size: .78rem; color: var(--muted); }
.scale-key em { grid-column: 1 / -1; font-style: normal; text-align: right; }
.apps { border-top: 1px solid rgba(14,11,26,.1); }
.app { display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(14,11,26,.1); transition: background .3s ease; }
.app:hover { background: linear-gradient(90deg, var(--lilac), transparent 70%); }
.app h3 { font-size: 1.15rem; }
.app-mid { grid-column: 1 / -1; }
.app-mid p { font-size: .9rem; color: var(--ink-2); margin-top: 8px; }
.range { position: relative; display: block; height: 10px; border-radius: 999px; background: #ECEBF2; }
.range i { position: absolute; top: 0; bottom: 0; left: var(--a); width: 0; border-radius: 999px; background: var(--purple); transition: width 1.2s var(--ease) .2s; }
.reveal.in .range i { width: calc(var(--b) - var(--a)); }
.app-val { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app-link { font-size: .88rem; color: var(--purple); font-weight: 500; }
.app-link:hover { text-decoration: underline; }

/* ---------- applications on the bakery photo ---------- */
.cb-apps { color: #fff; overflow: hidden; background: #2A1A12; }
.apps-bg { position: absolute; inset: 0; overflow: hidden; }
/* the source photo has dark side bars: keep it scaled past them while it drifts */
.apps-bg img { width: 100%; height: 100%; object-fit: cover; animation: appsDrift 34s ease-in-out infinite alternate; }
@keyframes appsDrift { from { transform: scale(1.18) translate3d(-1%, 0, 0); } to { transform: scale(1.26) translate3d(1%, -1%, 0); } }
.apps-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,8,102,.88) 0%, rgba(31,8,102,.72) 50%, rgba(31,8,102,.55) 100%); }
.cb-apps .wrap { position: relative; z-index: 1; }
.cb-apps .lead, .cb-apps .scale-key { color: rgba(255,255,255,.8); }
.cb-apps .pill { background: var(--gold); color: var(--purple-dk); }
.cb-apps .apps { border-top-color: rgba(255,255,255,.2); }
.cb-apps .app { border-bottom-color: rgba(255,255,255,.2); border-radius: 6px; }
.cb-apps .app:hover { background: linear-gradient(90deg, rgba(238,182,80,.16), transparent 75%); }
.cb-apps .range { background: rgba(255,255,255,.18); }
.cb-apps .range i { background: var(--gold); }
.cb-apps .app-link { color: var(--gold); }
.cb-apps .mi { stroke: #fff; }
.cb-apps .app:hover .mi { stroke: var(--gold); }
.cb-apps .app-mid p { color: rgba(255,255,255,.85); }

/* colour grounds */
.cb-why { background: linear-gradient(180deg, var(--lilac), #fff); overflow-x: clip; overflow-y: visible; }   /* the big mark (.why-mark) may rise above the section, never past the screen edge */
.cb-pillars { background: var(--gold-lt); }
.cb-pillars .pillar { box-shadow: none; }
.cb-platform { background: linear-gradient(180deg, #fff, var(--lilac)); }
.cb-platform .also { background: #fff; }

/* motion icons: drawn on reveal, then a small looping gesture each */
.mi { width: 36px; height: 36px; fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.mi * { vector-effect: non-scaling-stroke; }
.mi .m-chip, .mi .m-spoon-h { fill: var(--gold); stroke: none; }
.mi-cookie .m-chip { transform-box: fill-box; transform-origin: center; animation: chip 2.4s ease-in-out infinite; }
.mi-cookie .c2 { animation-delay: .3s; } .mi-cookie .c3 { animation-delay: .6s; } .mi-cookie .c4 { animation-delay: .9s; }
@keyframes chip { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.5); } }
.mi-muffin .m-top { fill: var(--gold); transform-box: fill-box; transform-origin: 50% 100%; animation: rise 2.6s ease-in-out infinite; }
@keyframes rise { 0%, 100% { transform: scaleY(.82); } 50% { transform: scaleY(1.08); } }
.mi-sponge .m-l { transform-box: fill-box; animation: layer 3s ease-in-out infinite; }
.mi-sponge .l2 { animation-delay: .25s; fill: var(--gold); } .mi-sponge .l3 { animation-delay: .5s; }
@keyframes layer { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
.mi-sponge .m-air { stroke: var(--gold); stroke-dasharray: 6; animation: air 1.6s linear infinite; }
.mi-drink .m-steam { stroke: var(--gold); stroke-dasharray: 6; animation: air 1.6s linear infinite; }
@keyframes air { to { stroke-dashoffset: -12; } }
.mi-pudding .m-cream { stroke: var(--gold); stroke-width: 2.4; animation: wobble 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes wobble { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.92) translateY(1px); } }
.mi-pudding .m-spoon, .mi-pudding .m-spoon-h { animation: dip 2.8s ease-in-out infinite; }
@keyframes dip { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
.mi-filling .m-swirl { stroke: var(--gold); stroke-width: 2.6; stroke-dasharray: 40; animation: pipe 2.6s ease-in-out infinite; }
@keyframes pipe { 0% { stroke-dashoffset: 40; } 60%, 100% { stroke-dashoffset: 0; } }
.app:hover .mi { stroke: var(--purple-2); }

/* ---------- 08 quick start ---------- */
.cb-quick { background: var(--gold-lt); }
.steps { display: grid; gap: 14px; }
.steps { align-items: center; }
/* the three steps are round; the sensory check is a dark purple card */
.step { background: #fff; border-radius: 50%; aspect-ratio: 1 / 1; padding: 13%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; box-shadow: 0 24px 44px -32px rgba(50,15,153,.45); transition: transform .5s var(--ease); }
.step { transition: translate .5s var(--ease), background .4s ease, color .4s ease; }
/* hover: a dashed ring spins around the circle, the circle fills with its colour, the number pops */
.step:not(.check)::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed var(--gold); opacity: 0; transform: scale(.9); transition: opacity .4s ease, transform .5s var(--ease); }
.step:nth-child(2)::before { border-color: var(--gold); } .step:nth-child(3)::before { border-color: var(--purple); }
.step:not(.check):hover::before { opacity: 1; transform: none; animation: ringSpin 6s linear infinite; }
@keyframes ringSpin { to { rotate: 360deg; } }
.step:not(.check):hover { translate: 0 -8px; }
.step:nth-child(1):hover { background: var(--gold); }
.step:nth-child(2):hover { background: var(--gold); }
.step:nth-child(3):hover { background: var(--purple); color: #fff; }
.step:nth-child(3):hover > b, .step:nth-child(3):hover p { color: #fff; }
.step:not(.check) > b { display: inline-block; transition: transform .5s var(--ease); }
.step:not(.check):hover > b { transform: scale(1.25); }
.step.check li { transition: translate .4s var(--ease); }
.step.check:hover li { translate: 6px 0; }
.step.check:hover li:nth-child(2) { transition-delay: .06s; } .step.check:hover li:nth-child(3) { transition-delay: .12s; }
.step.check:hover li::before { display: inline-block; animation: tick .5s var(--ease) both; }
.step.check:hover li:nth-child(2)::before { animation-delay: .08s; } .step.check:hover li:nth-child(3)::before { animation-delay: .16s; }
@keyframes tick { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
.step > b { font-size: 2.4rem; font-weight: 500; letter-spacing: -.03em; color: var(--purple); line-height: 1; }
.step:nth-child(2) > b { color: var(--purple); }
.step h3 { margin-top: 10px; font-size: 1.2rem; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: .92rem; max-width: 22ch; }
.step.check { aspect-ratio: auto; border-radius: 24px; text-align: left; align-items: flex-start; padding: 28px 30px 30px; background: var(--purple-dk); color: #fff; }
.step.check:hover { translate: 0 -8px; }
.step.check h3 { margin: 0; color: #fff; }
.step.check ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; color: rgba(255,255,255,.88); }
.step.check li::before { content: "✓"; margin-right: 8px; font-weight: 700; color: var(--gold); }
.step.check b { color: #fff; }
.step.check .link-arrow { color: #fff; }

/* ---------- 09 platform ---------- */
.platform-grid { display: grid; gap: 40px; align-items: center; }
.platform-grid .lead { margin: 18px 0 24px; }
.also { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: var(--grey); border-radius: var(--r); padding: 16px; transition: transform .5s var(--ease), background .4s ease; }
.also:hover { transform: translateY(-4px); background: var(--lilac); }
.also img { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; }
.also span { display: grid; gap: 4px; color: var(--ink-2); font-size: .95rem; }
.also small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.also b { color: var(--ink); font-size: 1.3rem; font-weight: 500; }
.also em { font-style: normal; color: var(--purple); font-weight: 600; margin-top: 6px; }

/* ---------- 10 downloads ---------- */
.cb-downloads { background: var(--grey); }
.docs { display: grid; gap: 14px; }
.doc { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: var(--r); padding: 18px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.doc:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(50,15,153,.45); }
.doc.dashed { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(50,15,153,.25); }
.doc-ic { display: grid; place-items: center; width: 64px; height: 76px; border-radius: 6px; background: var(--lilac); color: var(--purple); font-weight: 700; font-size: .8rem; letter-spacing: .08em; }
.doc span { display: grid; gap: 2px; }
.doc b { font-weight: 600; }
.doc small { color: var(--muted); }
.doc em { font-style: normal; color: var(--purple); font-weight: 600; margin-top: 8px; }

/* ---------- 12 contact ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.sform { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
.sform label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.sform input:not([type=checkbox]), .sform select, .sform textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(14,11,26,.18); background: #fff; color: var(--ink); transition: border-color .25s ease, box-shadow .25s ease; }
.sform input:focus, .sform select:focus, .sform textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--lilac); }
.sform .tick { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.sform .tick input { width: 18px; height: 18px; accent-color: var(--purple); }
.sform .tick a { color: var(--purple); text-decoration: underline; }
.sform .btn { justify-self: start; border: 0; cursor: pointer; margin-top: 6px; }
.sform .btn[disabled] { opacity: .6; cursor: progress; }
/* spam trap: off-screen, only bots fill it */
.sform .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: .9rem; color: var(--purple); min-height: 1.4em; }
.form-msg a { color: var(--purple); text-decoration: underline; }
.contact-side { display: grid; gap: 14px; }
.person { background: var(--grey); border-radius: var(--r); padding: 26px; display: grid; gap: 4px; justify-items: start; }
.person small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; margin: 14px 0 12px; box-shadow: 0 0 0 4px var(--gold); }
.person b { font-size: 1.2rem; font-weight: 500; }
.person span { color: var(--ink-2); }
.person a { margin-top: 12px; color: var(--purple); font-weight: 500; }

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .kf-row { grid-template-columns: repeat(3, 1fr); }
  .why2, .docs { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sform { grid-template-columns: 1fr 1fr; }
  .sform .full, .sform .tick, .sform .btn, .form-msg { grid-column: 1 / -1; }
  .app { grid-template-columns: 40px 200px 1fr 90px 200px; gap: 16px; }
  .app-mid { grid-column: auto; }
}
@media (min-width: 1000px) {
    .kf-row { grid-template-columns: repeat(5, 1fr); }
  .pillars { grid-template-columns: repeat(5, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 20px; }
  .docs { grid-template-columns: repeat(3, 1fr); }
  .quote-grid, .platform-grid { grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 110px); }
  .profiles-grid { grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 5vw, 90px); }
  .contact-grid { grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 5vw, 90px); }
  .contact-side { margin-top: 120px; }
}
@media (max-width: 999px) {
  .nav-pill .nav-cta { margin: 6px 0 0; text-align: center; }
  .scale-key { display: none; }
}
@media (max-width: 560px) {
  .step:not(.check) { width: min(100%, 320px); justify-self: center; }
  .profiles { grid-template-columns: 1fr; }
  .pf-img { aspect-ratio: 4 / 3; }
  .share { flex-direction: column; align-items: flex-start; }
  .hb { grid-template-columns: 1fr 64px; }
  .hb span { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-stage img, .apps-bg img, .mi * { animation: none !important; }
  .hb i, .range i { transition: none; }
  .reveal .hb i { width: var(--w); } .reveal .range i { width: calc(var(--b) - var(--a)); }
}

/* ---------- scroll cue in the hero: invites the first scroll ---------- */
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue i { position: relative; width: 1.5px; height: 46px; background: rgba(255,255,255,.28); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: #fff; animation: cue 1.8s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cue { to { top: 100%; } }
.scroll-cue:hover { color: #fff; }

/* ---------- sections slide over each other (rounded tops) ---------- */
.cb-pillars, .cb-quote, .cb-apps, .cb-contact { position: relative; z-index: 1; margin-top: -32px; border-radius: 32px 32px 0 0; }
.cb-pillars { padding-top: calc(clamp(52px, 7.5vh, 88px) + 12px); }

/* ---------- footer: the "A" sits fully visible, overlapping into the section above ---------- */
.subpage .footer { position: relative; z-index: 2; }
.subpage .footer-a { bottom: auto; top: -190px; right: var(--gutter); width: min(46vw, 700px); }
.subpage .footer .wrap { position: relative; z-index: 1; }

/* ---------- STORY MOTION (as on the careers page) ---------- */
.sw { display: inline-block; }
.sw > i { display: inline-block; font-style: normal; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
  /* hero headline rises in word by word on load */
  .story .cb-hero h1 .sw { overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
  .story .cb-hero h1 .sw > i { animation: dUp .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
  @keyframes dUp { from { transform: translateY(110%); } to { transform: none; } }
  /* the hero texture drifts away a little as you scroll out */
  .story .cb-hero .wrap { animation: heroOut linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
  @keyframes heroOut { to { transform: translateY(-60px); opacity: .2; } }

  /* section headlines rise in word by word once in view */
  .story .sub h2 .sw { overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
  .story .sub h2 .sw > i { transform: translateY(110%); transition: transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 55ms); }
  .story .sub h2.is-in .sw > i { transform: none; }

  /* the quote reads itself: words brighten from soft violet to white */
  .story .quote blockquote .sw > i { color: rgba(255,255,255,.28); animation: dInk linear both; animation-timeline: view(); }
  @keyframes dInk { to { color: #fff; } }

  /* images wipe up into their frames */
  .story .why-vis, .story .pf-img, .story .also img, .story .person img { animation: dWipe linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  @keyframes dWipe { from { clip-path: inset(100% 0 0 0 round 8px); } to { clip-path: inset(0 0 0 0 round 8px); } }
  .story .person img { animation-name: dPop; }
  @keyframes dPop { from { clip-path: circle(0 at 50% 50%); } to { clip-path: circle(60% at 50% 50%); } }

  /* applications open up from a narrow strip */
  .story .cb-apps { animation: dDoor linear both; animation-timeline: view(); animation-range: entry 0% entry 65%; }
  @keyframes dDoor { from { clip-path: inset(0 30% 0 30% round 32px); } to { clip-path: inset(0 0 0 0 round 32px 32px 0 0); } }

  /* cards follow each other in */
  .story .pillar, .story .why-card, .story .profile, .story .step {
    animation: dCard linear both; animation-timeline: view(); animation-range: entry calc(var(--n, 0) * 6%) cover calc(28% + var(--n, 0) * 6%); }
  @keyframes dCard { from { transform: translateY(50px); opacity: .25; } to { transform: none; opacity: 1; } }
  .story .pillar { animation-range: entry 0% cover 26%; }   /* the five benefits arrive together, never offset */
  }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; } }
@media (max-width: 999px) { .cb-pillars, .cb-quote, .cb-apps, .cb-contact { margin-top: -22px; border-radius: 22px 22px 0 0; } .subpage .footer-a { top: -90px; width: min(62vw, 360px); } }

/* ---------- soft "A" watermark: sits behind Why now and reaches up into Benefits ----------
   Benefits drops its own stacking layer so the mark can show on its background while all
   content (.wrap, z-index 1) stays on top; the hero is isolated so nothing leaks over it. */
.cb-hero { isolation: isolate; z-index: 0; }
.cb-pillars { z-index: auto; }
.why-mark { position: absolute; z-index: 0; pointer-events: none; color: #fff; opacity: .55;
  width: min(68vw, 1040px); aspect-ratio: 57 / 60; height: auto; right: -6vw; top: max(-460px, -32vw); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story .why-mark { animation: markDrift linear both; animation-timeline: view(); }
    @keyframes markDrift { from { translate: 0 60px; rotate: -6deg; } to { translate: 0 -60px; rotate: 4deg; } }
  }
}
@media (max-width: 699px) { .why-mark { width: 120vw; right: -40vw; top: -160px; } }

/* applications intro: a clear note card that also explains the bars below */
.apps-note { display: inline-flex; align-items: center; gap: 16px; margin-top: 22px; padding: 14px 20px 14px 16px; max-width: 760px;
  border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px);
  font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.45; color: rgba(255,255,255,.88); }
.apps-note b { color: #fff; font-weight: 600; }
.apps-note { box-sizing: border-box; max-width: 100%; } .apps-note > span:last-child { min-width: 0; }
.apps-note-bar { flex: 0 0 64px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.apps-note-bar i { position: absolute; left: 30%; width: 50%; top: 0; bottom: 0; border-radius: 999px; background: var(--gold); }
@media (max-width: 560px) { .apps-note { align-items: flex-start; } .apps-note-bar { margin-top: 8px; flex-basis: 44px; } }

/* ---------- light hero with one cocoa-powder pile ---------- */
.cb-hero-light { background: radial-gradient(70% 90% at 72% 60%, #FFFFFF 0%, #F4F1EC 55%, var(--lilac) 100%); color: var(--ink); align-items: center; min-height: min(88vh, 860px); }
.cb-hero-light .crumbs { color: var(--muted); }
.cb-hero-light .crumbs a:hover, .cb-hero-light .crumbs b { color: var(--ink); }
.cb-hero-light .kicker { color: var(--purple); }
.cb-hero-light h1 { color: var(--ink); }
.cb-hero-light .lead { color: var(--ink-2); }
.cb-hero-light .btn-white { background: var(--purple); color: #fff; }
.cb-hero-light .btn-white:hover { background: var(--purple-2); }
.cb-hero-light .scroll-cue { color: var(--purple); }
.cb-hero-light .scroll-cue i { background: rgba(50,15,153,.2); }
.cb-hero-light .scroll-cue i::after { background: var(--purple); }
.cb-hero-light .cb-hero-copy { max-width: 620px; }
.subpage .nav:not(.scrolled) .brand { color: var(--purple); }
/* the pile: white of the cut-out melts into the ground (multiply); rises in, then breathes */
.cb-pile { position: absolute; z-index: 0; right: 2vw; top: 52%; width: min(52vw, 900px); aspect-ratio: 1 / 1; translate: 0 -46%; pointer-events: none; mix-blend-mode: multiply; }   /* blend the whole layer, so the cut-out white melts into the hero ground */
.cb-pile img { width: 100%; height: 100%; object-fit: contain; animation: pileIn 1.6s cubic-bezier(.2,.7,.2,1) both, pileBreathe 9s ease-in-out 1.6s infinite alternate; }
@keyframes pileIn { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pileBreathe { from { transform: scale(1); } to { transform: scale(1.04) translateY(-6px); } }
.cb-pile::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 20%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(60,30,15,.18), transparent); z-index: -1; }
@media (max-width: 899px) {
  .cb-hero-light { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 110px; padding-bottom: 70px; }
  .cb-pile { order: 2; }
  .cb-pile { position: relative; right: auto; top: auto; translate: none; width: 100%; max-width: 520px; margin: -10px auto 0; }
}
@media (prefers-reduced-motion: reduce) { .cb-pile img { animation: none; } }

/* ---------- hero shot: lab photo in a tall frame, moving like slow footage ---------- */
.cb-shot { position: absolute; z-index: 0; margin: 0; right: var(--gutter); top: 96px; bottom: 56px; width: min(40vw, 620px); }
.cb-shot-frame { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; background: #DCE6EF;
  box-shadow: 22px 22px 0 0 var(--gold), 0 40px 80px -40px rgba(14,11,26,.45); animation: shotIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes shotIn { from { clip-path: inset(100% -40px -40px -40px round 24px); } to { clip-path: inset(-40px -40px -40px -40px round 24px); } }   /* negative insets keep the green offset visible */
.cb-shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 48% 70%;
  animation: shotMove 18s ease-in-out infinite alternate; will-change: transform; }
/* slow push-in towards the pile with a gentle pan — reads like a camera move */
@keyframes shotMove {
  0%   { transform: scale(1.04) translate3d(1.5%, 1%, 0); }
  50%  { transform: scale(1.12) translate3d(-1%, -1.5%, 0); }
  100% { transform: scale(1.18) translate3d(-2.5%, -3%, 0); }
}
/* a few powder particles drifting down from the jar */
.cb-dust { position: absolute; left: 44%; top: 44%; width: 18%; height: 22%; pointer-events: none; }
.cb-dust i { position: absolute; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #B4683A; opacity: 0; animation: dust 3.2s ease-in infinite; }
.cb-dust i:nth-child(1) { left: 10%; animation-delay: .2s; } .cb-dust i:nth-child(2) { left: 30%; animation-delay: 1.1s; width: 4px; height: 4px; }
.cb-dust i:nth-child(3) { left: 50%; animation-delay: 1.9s; } .cb-dust i:nth-child(4) { left: 65%; animation-delay: .7s; width: 3px; height: 3px; }
.cb-dust i:nth-child(5) { left: 80%; animation-delay: 2.5s; width: 4px; height: 4px; } .cb-dust i:nth-child(6) { left: 40%; animation-delay: 1.5s; width: 3px; height: 3px; }
@keyframes dust { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translate(6px, 160%); opacity: 0; } }
.cb-hero-light .cb-hero-copy { max-width: min(560px, 48vw); }
@media (max-width: 899px) {
  .cb-shot { position: relative; order: 2; right: auto; top: auto; bottom: auto; align-self: center; width: calc(100% - 2 * var(--gutter) - 12px); margin: 36px 0 0; aspect-ratio: 4 / 5; }
  .cb-shot-frame { box-shadow: 12px 12px 0 0 var(--gold), 0 30px 60px -36px rgba(14,11,26,.45); }
  .cb-hero-light .cb-hero-copy { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .cb-shot-frame, .cb-shot-frame img, .cb-dust i { animation: none; } .cb-dust { display: none; } }

/* ---------- full-bleed version of the lab shot (overrides the framed layout above) ---------- */
.cb-shot.cb-shot-full { inset: 0; top: 0; bottom: 0; right: 0; width: auto; }
.cb-shot-full .cb-shot-frame { border-radius: 0; box-shadow: none; background: #EEF1F5; animation: fullIn 1.6s ease both; }
@keyframes fullIn { from { opacity: 0; } to { opacity: 1; } }
.cb-shot-full .cb-shot-frame img { object-position: 50% 92%; transform-origin: 50% 85%; animation-name: fullMove; }   /* framed on the pile */
/* gentler camera move for the full-bleed crop, so hands, jar and pile stay in frame */
@keyframes fullMove { 0% { transform: scale(1) translate3d(0, 0, 0); } 50% { transform: scale(1.06) translate3d(-1%, 0, 0); } 100% { transform: scale(1.12) translate3d(-2%, .5%, 0); } }
/* light veil on the left keeps the dark headline readable over the white lab background */
.cb-full-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 30%, rgba(255,255,255,.35) 52%, rgba(255,255,255,0) 70%); }
.cb-hero-light .wrap { z-index: 1; }
@media (max-width: 899px) {
  .cb-shot.cb-shot-full { position: absolute; inset: 0; margin: 0; width: auto; aspect-ratio: auto; align-self: auto; }
  .cb-shot-full .cb-shot-frame img { object-position: 45% 96%; }
  .cb-full-shade { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 45%, rgba(255,255,255,.2) 75%, rgba(255,255,255,0) 100%); }
  .cb-hero-light { min-height: 92svh; justify-content: flex-start; }
}

/* Ronchi gold #EEB650 as the accent for selected buttons and pills */
.pill-gold { background: #EEB650; color: var(--purple-dk); }
.btn-gold, .cb-hero-light .btn-gold { background: #EEB650; color: var(--purple-dk); }
.btn-gold:hover, .cb-hero-light .btn-gold:hover { background: #F3C670; color: var(--purple-dk); }
.cb-apps .range i { background: #EEB650; }
.apps-note-bar i { background: #EEB650; }
.sform .btn { background: #EEB650; color: var(--purple-dk); }
.sform .btn:hover { background: #F3C670; }
.step.check .link-arrow { color: #EEB650; }

/* =================== COLOUR CONCEPT (as on the homepage preview) ===================
   Purple carries the strong moments (Why now, applications, footer), light grey and
   white the calm ones, lilac tints alternate on cards; purple type for titles. */
.cb-pillars { background: #fff; }
.cb-pillars .pillar { background: var(--grey); box-shadow: none; }
.cb-pillars .pillar:nth-child(even) { background: var(--lilac); }
.cb-pillars .pillar h3 { color: var(--purple); }
.pi-no { color: var(--purple); font-weight: 600; }

.cb-why.cb-dark { background: var(--purple); color: #fff; }
.cb-dark h2 { color: #fff; }
.cb-dark .lead { color: rgba(255,255,255,.82); }
.cb-dark .why-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.cb-dark .why-card h3 { color: #fff; }
.cb-dark .why-card > p { color: rgba(255,255,255,.8); }
.cb-dark .why-vis { background: #fff; color: var(--ink); }
.cb-dark .why-mark { color: #fff; opacity: .05; }
.pill-light { background: #fff; color: var(--purple); }

.cb-quote { background: var(--lilac); color: var(--ink); }
.cb-quote h2 { color: var(--purple); }
.cb-quote .lead { color: var(--ink-2); }
.cb-quote .quote blockquote { color: var(--purple); }
.cb-quote .quote blockquote::before { color: var(--purple); opacity: .35; }
.cb-quote .quote figcaption span { color: var(--ink-2); }
.cb-quote .quote figcaption b { color: var(--ink); }
.cb-quote .quote img { box-shadow: 0 0 0 3px #fff; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .story .cb-quote .quote blockquote .sw > i { color: rgba(50,15,153,.25); animation-name: dInkP; }
  @keyframes dInkP { to { color: var(--purple); } }
} }

.cb-profiles { background: var(--grey); }
.profile { box-shadow: none; }
.profile h3 { color: var(--purple); }
.chip.live { background: var(--purple); color: #fff; }

.cb-quick { background: #fff; }
.step:not(.check) { background: var(--grey); box-shadow: none; }
.step:nth-child(2):not(.check) { background: var(--lilac); }
.step h3 { color: var(--purple); }
.step:nth-child(2) > b { color: var(--purple); }
.step:nth-child(1):hover, .step:nth-child(2):hover { background: var(--lilac-2); }
.step.check { background: var(--purple); }

.cb-contact { background: var(--grey); }
.person { background: #fff; }

/* footer: dark (brand) blue-purple as in the preview */
.footer.footer-dark { background: var(--purple); color: #fff; padding: clamp(72px, 10vh, 120px) 0 32px; overflow: hidden; }
.footer-dark .footer-a { top: auto; bottom: -22%; right: -4vw; width: min(46vw, 700px); opacity: .55; }
.footer-dark .wrap { position: relative; z-index: 1; }
.fz-top { display: grid; gap: 48px; }
.fz-brand { display: grid; gap: 40px; align-content: start; }
.fz-brand .logo { width: 76px; height: auto; aspect-ratio: 57 / 95; color: #fff; }
.fz-claim { font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.fz-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fz-links h4 { margin: 0 0 22px; font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; }
.fz-links a { display: block; padding: 6px 0; color: rgba(255,255,255,.88); font-size: 1.05rem; transition: color .25s ease; }
.fz-links a:hover { color: var(--gold); }
.fz-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(64px, 10vh, 110px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); font-size: .9rem; color: rgba(255,255,255,.8); }
.fz-legal p { margin: 0; color: inherit; }
.fz-legal-links { display: flex; gap: 28px; }
.fz-legal a:hover { color: #fff; }
@media (min-width: 900px) { .fz-top { grid-template-columns: 1fr 1.6fr; } .fz-links { margin-top: 12px; } }
@media (max-width: 560px) { .fz-links { grid-template-columns: 1fr 1fr; } }

/* hero headline: exactly two lines (one per sentence); size follows the viewport so both fit */
.cb-hero-light .cb-hero-copy { max-width: none; }
.cb-h1 { font-size: clamp(1.9rem, 4.1vw, 4.4rem); }
.cb-h1 > span { display: block; white-space: nowrap; }
.cb-hero-light .lead { max-width: 46ch; }
@media (max-width: 560px) { .cb-hero .cb-h1 { font-size: clamp(1.45rem, 7.4vw, 2.2rem); } }   /* .cb-hero: must beat .cb-hero h1 (line 43), or the 2.4rem minimum cuts the first line on phones */

/* =================== 2026-10-21 round =================== */

/* ---- hero: landing-page powder image, dark shade, white type (as on the homepage hero) ---- */
.cb-hero-dark { color: #fff; background: #3a1d10; align-items: flex-end; min-height: min(92vh, 900px); padding-bottom: clamp(48px, 9vh, 100px); }
.cb-hero-dark .cb-shot-frame { background: #3a1d10; }
.cb-hero-dark .cb-shot-frame img { object-position: 50% 58%; transform-origin: 52% 30%; animation: pileIn 3.2s cubic-bezier(.3,.5,.4,1) both, pileFocus 20s ease-in-out 3.2s infinite alternate; }   /* zooms toward the peak */
@keyframes pileIn { from { transform: scale(1.14); filter: blur(6px) brightness(.7); } to { transform: scale(1); filter: blur(0) brightness(1); } }
@keyframes pileFocus { from { transform: scale(1); } to { transform: scale(1.1) translate3d(0, 1.5%, 0); } }
@media (prefers-reduced-motion: reduce) { .cb-shot-full .cb-shot-frame, .cb-hero-dark .cb-shot-frame img { animation: none; } }   /* these outrank the reset at line 456 */
.cb-dark-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  linear-gradient(0deg, rgba(40,18,6,.82) 0%, rgba(40,18,6,.38) 28%, rgba(40,18,6,0) 52%),
  linear-gradient(180deg, rgba(40,18,6,.4) 0%, rgba(40,18,6,0) 22%); }
.cb-hero-dark .wrap { z-index: 1; }
.cb-hero-dark { align-items: stretch; padding-top: 112px; }
.cb-hero-dark .wrap { display: flex; flex-direction: column; }
.cb-hero-dark .crumbs { color: rgba(255,255,255,.7); margin-bottom: 0; }
.cb-hero-dark .cb-hero-copy { margin-top: auto; }
.cb-hero-dark .crumbs a:hover, .cb-hero-dark .crumbs b { color: #fff; }
.cb-hero-dark .kicker { color: #EEB650; }
.cb-hero-dark h1 { color: #fff; }
.cb-hero-dark .cb-hero-copy { max-width: none; }
.cb-hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(24px, 4vh, 44px); }
.cb-hero-dark .lead { color: #fff; font-weight: 500; margin: 0; max-width: 44ch; }
@media (min-width: 1100px) { .cb-hero-dark .lead { max-width: none; white-space: nowrap; } }   /* subline on one line on desktop */
.cb-hero-dark .hero-actions { display: flex; align-items: center; gap: 32px; flex: 0 0 auto; }
.cb-hero-dark .btn-text { color: #fff; }
.subpage .nav:not(.scrolled) .brand { color: #fff; }
@media (max-width: 899px) {
  .cb-hero-dark { min-height: 88svh; }
  .cb-hero-foot { flex-direction: column; align-items: flex-start; }
  .cb-hero-dark .hero-actions { flex-wrap: wrap; gap: 18px 28px; }
  .cb-hero-dark .cb-shot.cb-shot-full { position: absolute; inset: 0; margin: 0; width: auto; aspect-ratio: auto; }
}

/* ---- Why Cocoa Booster: palette of the landing-page benefits — lilac section, white cards with round
   icon badges, the first card purple and the last soft purple; on hover the icon gives way to the copy ---- */
.cb-pillars { background: var(--lilac); }
.cb-pillars .pillar, .cb-pillars .pillar:nth-child(n) { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(50,15,153,.10), 0 10px 28px -22px rgba(50,15,153,.35); }
.cb-pillars .pillar:hover, .cb-pillars .pillar:nth-child(n):hover { background: #fff; box-shadow: 0 0 0 1px rgba(50,15,153,.22), 0 24px 46px -28px rgba(50,15,153,.45); }
.cb-pillars .pillar h3, .cb-pillars .pillar .pi-no, .cb-pillars .pillar:hover h3, .cb-pillars .pillar:hover .pi-no { color: var(--ink); }
.cb-pillars .pillar p, .cb-pillars .pillar:hover p { color: var(--ink-2); }
.cb-pillars .pillar .pi-ic, .cb-pillars .pillar:hover .pi-ic { box-sizing: border-box; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--purple); stroke: #fff; }
.cb-pillars .pillar:first-child, .cb-pillars .pillar:first-child:hover { background: var(--purple); color: #fff; box-shadow: 0 24px 46px -28px rgba(50,15,153,.55); }
.cb-pillars .pillar:first-child h3, .cb-pillars .pillar:first-child .pi-no { color: #fff; }
.cb-pillars .pillar:first-child p { color: rgba(255,255,255,.85); }
.cb-pillars .pillar:first-child .pi-ic { background: var(--gold); stroke: var(--purple); }
.cb-pillars .pillar:last-child, .cb-pillars .pillar:last-child:hover { background: var(--purple-mid, #9C8DD9); box-shadow: 0 24px 46px -28px rgba(50,15,153,.45); }
.cb-pillars .pillar:last-child .pi-ic { background: #fff; stroke: var(--purple); }
@media (hover: hover) and (min-width: 700px) {
  .cb-pillars .pillar { min-height: 250px; }
  .cb-pillars .pillar h3 { margin-top: auto; min-height: 0; }
  .cb-pillars .pillar .pi-ic { max-height: 46px; transition: max-height .5s var(--ease), margin .5s var(--ease), opacity .3s ease, padding .5s var(--ease); }
  .cb-pillars .pillar:hover .pi-ic { max-height: 0; padding-block: 0; margin-block: 0; opacity: 0; animation: none; }
  .cb-pillars .pillar p { max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transform: translateY(8px); transition: max-height .5s var(--ease), margin-top .5s var(--ease), opacity .35s ease .1s, transform .5s var(--ease); }
  .cb-pillars .pillar:hover p { max-height: 12em; margin-top: 10px; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cb-pillars .pillar .pi-ic, .cb-pillars .pillar p { transition: none; } }

/* ---- Why now: brand purple, only the pill in gold ---- */
.cb-why .pill-gold { background: #EEB650; color: var(--purple-dk); }

/* ---- Applications: explanation on one line ---- */
@media (min-width: 1000px) {
  .cb-apps .cb-head.row > div { max-width: none; }   /* room for the note on one line */
  /* the box is as long as the line: plain inline layout here, Safari under-measures the flex version */
  .apps-note { display: inline-block; white-space: nowrap; max-width: none; font-size: clamp(.9rem, 1.05vw, 1.1rem); }
  .apps-note-bar { display: inline-block; vertical-align: middle; width: 64px; margin-right: 16px; }
  .apps-note > span:last-child { display: inline; }
}

/* ---- Quick start: circles stacked on a dotted line, sensory check as a card beside ---- */
.qs { position: relative; display: grid; gap: 28px; align-items: center; }
.qs-col { position: relative; display: grid; gap: 22px; justify-items: center; }
.qs-col .step { width: min(100%, 290px); height: auto; aspect-ratio: 1 / 1; padding: 34px 40px; overflow: hidden; }
.qs-col .step p { font-size: .88rem; line-height: 1.4; }
.qs-col .step > b { font-size: 2rem; }
.qs-col .step h3 { margin-top: 6px; }
.qs-line { position: absolute; top: 40px; bottom: 40px; left: 50%; width: 0; border-left: 3px dashed var(--lilac-2); z-index: 0; }
.qs .step { position: relative; z-index: 1; }
.qs .step:not(.check) { background: var(--lilac); }
.qs .qs-2:not(.check) { background: #fff; box-shadow: inset 0 0 0 2px var(--lilac-2); }
.qs .qs-3:not(.check) { background: var(--purple); color: #fff; box-shadow: 0 30px 60px -30px rgba(50,15,153,.6); }
.qs .qs-3 h3, .qs .qs-3 > b, .qs .qs-3 p { color: #fff !important; }
.qs .step:not(.check):hover { background: var(--purple); color: #fff; }
.qs .step:not(.check):hover h3, .qs .step:not(.check):hover > b, .qs .step:not(.check):hover p { color: #fff; }
.qs .qs-check { background: var(--purple-dk); align-self: center; }
@media (min-width: 900px) {
  .qs { grid-template-columns: minmax(280px, 1fr) 1.3fr; gap: clamp(40px, 6vw, 110px); }
  .qs-col .step { width: 290px; }
  .qs-1 { translate: -70px 0; } .qs-3 { translate: 70px 0; }   /* a slight zigzag down the line */
  .qs .qs-check { padding: clamp(32px, 4vw, 56px); border-radius: 28px; }
  .qs .qs-check h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
  .qs .qs-check ul { font-size: 1.08rem; gap: 14px; margin: 22px 0 28px; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
    .story .qs .step { animation: none; opacity: 1; }
    .story .qs-col .step { animation: qsIn linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes qsIn { from { transform: translateY(60px) scale(.85); opacity: .2; } to { transform: none; opacity: 1; } }
    .story .qs-line { animation: qsLine linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; transform-origin: top; }
    @keyframes qsLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    .story .qs-check { position: sticky; top: 120px; animation: qsCard linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @keyframes qsCard { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
  }
}
/* idle: the circles gently bob, out of sync */
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) {
  .qs .step:not(.check) > b { animation: bob 4s ease-in-out infinite; }
  .qs .qs-2 > b { animation-delay: .6s; } .qs .qs-3 > b { animation-delay: 1.2s; }
  @keyframes bob { 50% { translate: 0 -5px; } }
}

/* ---- Quick start (final): three circles in a row, sensory check as a full-width card below ---- */
.qs { grid-template-columns: 1fr !important; gap: 36px; }
.qs-col { grid-template-columns: 1fr; justify-items: center; }
.qs-1, .qs-3 { translate: none !important; }
.qs .qs-check { position: static !important; rotate: none; max-width: none; }
@media (min-width: 900px) {
  .qs-col { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
  .qs-col .step { width: min(100%, 290px); }
  .qs-line { top: 50%; bottom: auto; left: 16%; right: 16%; width: auto; height: 0; border-left: 0; border-top: 3px dashed var(--lilac-2); }
  .qs .qs-check { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px; padding: 32px 44px; }
  .qs .qs-check h3 { margin: 0; white-space: nowrap; }
  .qs .qs-check ul { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
  .qs .qs-check .link-arrow { white-space: nowrap; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
    .story .qs-line { animation-name: qsLineX; transform-origin: left; }
    @keyframes qsLineX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .story .qs-col .qs-2 { animation-range: entry 6% cover 41%; } .story .qs-col .qs-3 { animation-range: entry 12% cover 47%; }
    .story .qs-check { animation-name: qsCardUp; }
    @keyframes qsCardUp { from { transform: translateY(50px); opacity: 0; } to { transform: none; opacity: 1; } }
  }
}

/* support colour = yellow only: icons, bars, markers, checks */
.subpage .scroll-progress { background: linear-gradient(90deg, var(--purple), #EEB650); }
.cb-apps .mi { stroke: #fff; }
.cb-apps .mi .m-chip, .cb-apps .mi .m-spoon-h { fill: #EEB650; }
.cb-apps .mi-muffin .m-top { fill: #EEB650; }
.cb-apps .mi-sponge .l2 { fill: #EEB650; }
.cb-apps .mi-sponge .m-air, .cb-apps .mi-pudding .m-cream, .cb-apps .mi-filling .m-swirl, .cb-apps .mi-drink .m-steam { stroke: #EEB650; }
.cb-apps .app:hover .mi { stroke: #EEB650; }
.hb i, .hb i.base { background: #EEB650; } .hb i.base { opacity: .45; }
.donut { background: radial-gradient(closest-side, #fff 70%, transparent 71% 100%), conic-gradient(var(--purple) calc(var(--p) * 1%), #FBF0DA 0); }
.step.check li::before { color: #EEB650; }
/* sensory check on hover: the card turns light lilac, so the letters invert to purple */
.qs .qs-check:hover h3, .qs .qs-check:hover ul, .qs .qs-check:hover b, .qs .qs-check:hover .link-arrow, .qs .qs-check:hover li::before { color: var(--purple); }



/* ---- Why now: sources under the two figures, a fold-out like the homepage CO₂ sources ---- */
.cb-why .sources { margin-top: clamp(24px, 4vh, 40px); border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8); font-size: .88rem; }
.cb-why .sources summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 0 4px; color: #fff; font-weight: 500; }
.cb-why .sources summary::-webkit-details-marker { display: none; }
.cb-why .sources summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.16); transition: transform .35s var(--ease); }
.cb-why .sources[open] summary::before { transform: rotate(45deg); }
.cb-why .src-hint { color: rgba(255,255,255,.7); font-weight: 400; }
.cb-why .sources-body { display: grid; gap: 8px; max-width: 92ch; padding: 10px 0 4px 38px; }
.cb-why .sources-body a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cb-why sup { font-size: .65em; }
.src-ref { color: inherit; text-decoration: none; }
