/* Carecise — "A day with Carecise". One illustrated world, one typeface, one palette. */
:root {
  --ink: #0B0F1A;
  --ink-2: #2E3542;
  --mute: #6F7784;
  --cream: #FBF7F0;
  --cream-2: #F3EDE1;
  --paper: #FFFFFF;
  --line: rgba(11,15,26,.1);
  --line-2: rgba(11,15,26,.18);
  --jade: #0C7A61;
  --jade-deep: #085C49;
  --mint: #2FD3A3;
  --mint-soft: #DCF5EA;
  --apricot: #F2A765;
  --apricot-soft: #FCE6D2;
  --night: #070B14;
  --night-2: #0F1629;
  --night-3: #182038;
  --night-line: rgba(255,255,255,.1);
  --night-text: #C9D0DE;
  --night-mute: #8591A8;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow-lg: 0 2px 8px rgba(11,15,26,.06), 0 40px 90px -30px rgba(11,15,26,.35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 17px/1.55 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* grain over everything */
.grain { position: fixed; inset: -100%; z-index: 9000; pointer-events: none; opacity: .07; mix-blend-mode: overlay; width: 300%; height: 300%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .95 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 260px; animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0);} 20% { transform: translate(-2%,1%);} 40% { transform: translate(1%,-2%);} 60% { transform: translate(-1%,2%);} 80% { transform: translate(2%,-1%);} 100% { transform: translate(0,0);} }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; padding: 22px 0; pointer-events: none; }
.hdr__in { display: flex; justify-content: space-between; align-items: center; }
.hdr > .wrap > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 23px; letter-spacing: -0.04em; color: var(--ink); transition: color .4s; }
.brand img { width: 30px; height: 30px; flex: 0 0 auto; max-width: none; transition: filter .4s; }
.on-dark .brand { color: #fff; }
.on-dark .brand img { filter: invert(1) hue-rotate(180deg) saturate(1.3); }
.hdr__r { display: flex; gap: 10px; align-items: center; }
.menu { width: 54px; height: 54px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; display: grid; place-items: center; align-content: center; box-shadow: 0 10px 30px -14px rgba(11,15,26,.35); transition: background .3s, border-color .3s; }
.menu span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; margin: 2.5px 0; transition: transform .3s var(--ease), opacity .2s; }
.on-dark .menu { background: rgba(15,22,41,.7); border-color: var(--night-line); }
.on-dark .menu span { background: #fff; }
body.menu-open .menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu span:nth-child(2) { opacity: 0; }
body.menu-open .menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
body.menu-open .sheet { opacity: 1; pointer-events: auto; }
.sheet nav { display: grid; gap: 4px; text-align: center; }
.sheet nav a { font-size: clamp(38px, 7vw, 84px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; color: var(--night-text); transition: color .2s, transform .5s var(--ease), opacity .5s var(--ease); transform: translateY(20px); opacity: 0; }
.sheet nav a:hover { color: #fff; }
.sheet nav a em { font-style: normal; color: var(--mint); }
body.menu-open .sheet nav a { transform: none; opacity: 1; }
body.menu-open .sheet nav a:nth-child(2) { transition-delay: .05s; } body.menu-open .sheet nav a:nth-child(3) { transition-delay: .1s; } body.menu-open .sheet nav a:nth-child(4) { transition-delay: .15s; } body.menu-open .sheet nav a:nth-child(5) { transition-delay: .2s; }
.sheet__foot { position: absolute; bottom: 36px; left: 0; right: 0; text-align: center; color: var(--night-mute); font-size: 14px; }
.sheet__foot a { color: #fff; }
body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 6px 6px 6px 26px; border-radius: 999px; font: 500 16.5px/1 var(--font); border: 0; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; transition: transform .3s var(--ease); }
.btn i svg { width: 18px; height: 18px; }
.btn:hover i { transform: translateX(3px); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(11,15,26,.6); }
.btn--ink i { background: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.btn--light i { background: var(--ink); color: #fff; }
.btn--mint { background: var(--mint); color: var(--night); }
.btn--mint i { background: var(--night); color: var(--mint); }
.btn--sm { height: 46px; padding: 4px 4px 4px 18px; font-size: 15px; gap: 10px; }
.btn--sm i { width: 38px; height: 38px; }
.btn--sm i svg { width: 15px; height: 15px; }
.btn--text { background: none; padding: 0; height: auto; color: inherit; gap: 8px; }
.btn--text i { width: 36px; height: 36px; border: 1px solid currentColor; }
.btn--text:hover { transform: none; }

/* ---------- Scene (static per copy; colours baked in as variables) ---------- */
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene svg { width: 100%; height: 100%; }
.sky1 { stop-color: var(--sky1); } .sky2 { stop-color: var(--sky2); }
.sun { fill: var(--sun); }
.sunglow { fill: url(#sg); opacity: var(--sunglow, .35); }
.sg1 { stop-color: var(--sun); stop-opacity: .7; } .sg2 { stop-color: var(--sun); stop-opacity: .22; } .sg3 { stop-color: var(--sun); stop-opacity: 0; }
.sunpos { transform: translateY(var(--sunDy, 0px)); }
.moon { fill: #F2EEE3; opacity: var(--moon, 0); }
.stars { opacity: var(--stars, 0); }
.h1 { fill: var(--h1); } .h2 { fill: var(--h2); } .h3 { fill: var(--h3); } .h4 { fill: var(--h4); }
.tree { fill: var(--tree); }
.house-body { fill: var(--house); } .house-roof { fill: var(--roof); } .house-side { fill: var(--house2); }
.win { fill: var(--win); } .winglow { fill: url(#winglow); opacity: var(--winglow, 0); }
.smoke { fill: rgba(255,255,255,.55); opacity: var(--smoke, 0); }
.cloud { fill: #fff; opacity: var(--cloud, .7); }
.haze { fill: var(--sky2); }
.paper { transform-box: fill-box; transform-origin: center; animation: drift var(--t, 9s) ease-in-out infinite alternate; }
.paper rect { fill: #fff; stroke: rgba(11,15,26,.12); }
.paper line { stroke: rgba(11,15,26,.22); stroke-width: 2; stroke-linecap: round; }
.paper .ck { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.5); }
.scene.checked .paper .ck { opacity: 1; transform: none; }
.scene.checked .paper .pg { opacity: 0; }
.scene.nopapers .papers { display: none; }
.paper .ck circle { fill: var(--mint); }
.paper .ck path { fill: none; stroke: var(--night); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes drift { from { transform: translate(0, 0) rotate(var(--r, -6deg)); } to { transform: translate(var(--dx, 14px), var(--dy, -22px)) rotate(calc(var(--r, -6deg) * -1)); } }
[data-depth] { will-change: transform; }

/* ---------- Hero ---------- */
.hero-film { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; background: #FBEBD8; }
.hero-film .scene { bottom: -11%; }
.hero { position: absolute; left: 0; right: 0; top: 0; padding-top: clamp(96px, 12vh, 136px); text-align: center; }
.hero__k { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.7); padding: 8px 16px 8px 10px; border-radius: 999px; }
.hero__k b { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--night); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.hero h1 { font-size: clamp(48px, 7.4vw, 108px); font-weight: 500; letter-spacing: -0.045em; line-height: .96; margin: 26px auto 0; max-width: 11ch; color: var(--ink); }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.3em); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 100ms); }
.hero h1 .w.soft { color: var(--jade); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero p { font-size: clamp(17px, 1.7vw, 22px); color: var(--ink-2); max-width: 46ch; margin: 24px auto 0; opacity: 0; animation: up .9s var(--ease) .7s forwards; text-wrap: pretty; }
.hero__cta { display: flex; justify-content: center; gap: 12px; margin-top: 34px; opacity: 0; animation: up .9s var(--ease) .9s forwards; flex-wrap: wrap; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 13px; font-weight: 500; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 16px 8px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.8); opacity: 0; animation: hintIn 1s var(--ease) 1.5s forwards; }
.hero__hint i { width: 1px; height: 22px; background: linear-gradient(var(--ink), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hintIn { to { opacity: 1; } }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hdr__cta { display: none; }
@media (min-width: 901px) { .hdr__cta { display: inline-flex; margin-right: 10px; padding: 4px 20px; } .on-dark .hdr__cta { background: #fff; color: var(--ink); } }

/* ---------- The story: stacked chapters ---------- */
.story { background: var(--cream); padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 80px); }
.chap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; }
.chap--flip .chap__cap { order: 2; }
.ch__k { font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--jade); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.ch__k .node { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(47,211,163,.5); transition: transform .4s var(--ease); }
.chap.on .ch__k .node { animation: pulse 2s infinite; transform: scale(1.15); }
.chap__t { font-size: clamp(34px, 4.2vw, 62px); font-weight: 500; letter-spacing: -0.04em; line-height: .98; }
.chap__t em { font-style: normal; color: var(--jade); }
.chap__s { font-size: clamp(16px, 1.4vw, 20px); color: var(--ink-2); margin: 18px 0 0; max-width: 38ch; }
.chap__t .w { display: inline-block; opacity: 0; transform: translateY(.2em); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 50ms + .1s); }
.chap.on .chap__t .w { opacity: 1; transform: none; }
.chap__shot { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: #FBEBD8; isolation: isolate; }
.chap__shot .scene { inset: 0; }
.chap__shot .scene svg { width: 100%; height: 100%; }
.chap__ui { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 10px; font-size: 14.5px; }
.it { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--d, 0) * 1s + .3s); }
.chap.on .it { opacity: 1; transform: none; }
.card { background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.9); border-radius: 20px; padding: 16px 18px; box-shadow: 0 24px 50px -24px rgba(11,15,26,.4); color: var(--ink); }
.card--dark { background: rgba(15,22,41,.9); border-color: var(--night-line); color: #fff; }
.row { display: flex; align-items: center; gap: 12px; }
.row + .row { margin-top: 10px; }
.ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; background: var(--mint-soft); color: var(--jade); font-weight: 700; font-size: 12.5px; }
.ico svg { width: 17px; height: 17px; }
.ico--warm { background: var(--apricot-soft); color: #9A5A2A; }
.ico--person { background: var(--ink); color: #fff; }
.card--dark .ico { background: rgba(47,211,163,.16); color: var(--mint); }
.card--dark .ico--warm { background: rgba(242,167,101,.18); color: var(--apricot); }
.t { font-weight: 600; letter-spacing: -0.01em; }
.m { color: var(--mute); font-size: 13px; }
.card--dark .m { color: var(--night-mute); }
.bubble { justify-self: start; background: var(--ink); color: #fff; border-radius: 18px 18px 18px 6px; padding: 12px 16px; font-weight: 500; max-width: 92%; font-size: 15px; box-shadow: 0 16px 36px -18px rgba(11,15,26,.6); }
.bubble--mint { background: var(--mint); color: var(--night); }
.approve { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; margin-top: 12px; font-size: 14.5px; }
.approve svg { width: 15px; height: 15px; flex: 0 0 auto; }
.chap.on .approve.press { animation: press 3s var(--ease) 1 forwards; }
@keyframes press { 0%, 45% { transform: none; background: var(--ink); } 50% { transform: scale(.94); } 56% { transform: none; } 57%, 100% { background: var(--jade); } }
.sig { height: 40px; margin-top: 8px; }
.sig path { fill: none; stroke: var(--jade); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.chap.on .sig path { animation: draw 1.5s var(--ease) 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ring { width: 130px; height: 130px; position: relative; margin: 0 auto 8px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: rgba(255,255,255,.14); }
.ring .fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 2.2s var(--ease) .5s; }
.chap.on .ring .fg { stroke-dashoffset: 0; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; font-weight: 500; letter-spacing: -0.04em; color: #fff; }
.chap--end { position: relative; display: block; min-height: 560px; border-radius: 32px; overflow: hidden; margin-top: clamp(24px, 4vw, 48px); padding: 0; color: #fff; isolation: isolate; }
.chap--end .scene { bottom: -8%; }
.chap__end { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; padding: clamp(64px, 9vw, 120px) 24px; }
.chap__end .chap__t { color: #fff; }
.chap__end .chap__t em { color: var(--mint); }
.chap__end .chap__s { color: var(--night-text); margin-inline: auto; }
.chap__end .hero__cta { opacity: 1; animation: none; }


/* ---------- Product screen ---------- */
.frame { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--night-text); font-size: 13.5px; line-height: 1.45; }
.frame__bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--night-line); background: rgba(7,11,20,.6); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: #273047; }
.frame__title { color: var(--night-mute); font-size: 12.5px; }
.frame__body { display: grid; grid-template-columns: 200px 1fr 320px; min-height: 480px; }
.frame__side { border-right: 1px solid var(--night-line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.fnav { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; color: var(--night-mute); }
.fnav.on { background: var(--night-3); color: #fff; }
.fnav b { font-weight: 500; font-size: 11.5px; color: var(--night-mute); background: #1C2538; border-radius: 6px; padding: 1px 7px; }
.fnav.on b { color: var(--mint); background: rgba(47,211,163,.12); }
.frame__main { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.frame__h { display: flex; justify-content: space-between; align-items: baseline; }
.frame__h strong { color: #fff; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.frame__h span { color: var(--night-mute); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--night-3); border: 1px solid var(--night-line); border-radius: 14px; padding: 12px 14px; }
.kpi span { display: block; font-size: 11.5px; color: var(--night-mute); }
.kpi strong { display: block; font-size: 26px; font-weight: 500; color: #fff; letter-spacing: -0.03em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.queue { border: 1px solid var(--night-line); border-radius: 14px; overflow: hidden; }
.q { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--night-line); transition: opacity .4s; }
.q:first-child { border-top: 0; }
.q.is-done { opacity: .4; }
.q > div { min-width: 0; }
.q__t { color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q__m { color: var(--night-mute); font-size: 12px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q__btn { font: 500 12.5px/1 var(--font); color: var(--night); background: var(--mint); border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; white-space: nowrap; transition: background .2s; }
.q__btn:hover { background: #fff; }
.q__btn--done { background: transparent; color: var(--mint); padding: 8px 0; cursor: default; }
.frame__feed { border-left: 1px solid var(--night-line); padding: 20px 18px; display: flex; flex-direction: column; min-width: 0; }
.frame__feed h4 { font-size: 12px; font-weight: 500; color: var(--night-mute); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(47,211,163,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(47,211,163,0); } 100% { box-shadow: 0 0 0 0 rgba(47,211,163,0); } }
.feed { display: flex; flex-direction: column; gap: 11px; overflow: hidden; }
.feed__i { display: grid; grid-template-columns: 28px 1fr; gap: 10px; animation: feedIn .5s var(--ease) both; }
.feed__ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--night-3); border: 1px solid var(--night-line); color: var(--mint); }
.feed__ic svg { width: 14px; height: 14px; }
.feed__ic--warm { color: var(--apricot); }
.feed__t { color: #E8ECF3; font-size: 12.5px; }
.feed__m { color: var(--night-mute); font-size: 11.5px; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Sections after the world ---------- */
.sec { padding: clamp(96px, 12vw, 170px) 0; position: relative; }
.dark { background: var(--night); color: #fff; }
.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 500px at var(--mx, 70%) var(--my, 20%), rgba(47,211,163,.12), transparent 70%); }
.light { background: var(--cream); color: var(--ink); }
.k { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--jade); margin-bottom: 22px; }
.k::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.dark .k { color: var(--mint); }
.h2 { font-size: clamp(38px, 5.2vw, 76px); max-width: 16ch; }
.h2 em { font-style: normal; color: var(--jade); }
.dark .h2 em { color: var(--mint); }
.lede { font-size: clamp(17px, 1.6vw, 21px); max-width: 52ch; margin-top: 22px; color: var(--ink-2); text-wrap: pretty; }
.dark .lede { color: var(--night-text); }
.head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 80px); position: relative; }
.head--c { margin-inline: auto; text-align: center; }
.head--c .h2, .head--c .lede { margin-inline: auto; }
.starfield { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.starfield i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .5; animation: tw 4s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .1; } }

/* the four things */
.four { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; position: relative; }
.f { --mx: 50%; --my: 50%; position: relative; padding: 36px; border-radius: 28px; background: var(--night-2); border: 1px solid var(--night-line); overflow: hidden; min-height: 400px; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s; }
.f::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px 380px at var(--mx) var(--my), rgba(47,211,163,.16), transparent 60%); opacity: 0; transition: opacity .4s; }
.f:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.f:hover::before { opacity: 1; }
.f__art { height: 150px; position: relative; margin-bottom: 26px; }
.f__art svg { height: 100%; width: auto; }
.f h3 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; letter-spacing: -0.035em; color: #fff; position: relative; }
.f h3 em { font-style: normal; color: var(--mint); }
.f p { color: var(--night-text); margin: 14px 0 0; font-size: 16.5px; max-width: 42ch; position: relative; }
.f ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; position: relative; }
.f li { color: var(--night-text); font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.f li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex: 0 0 auto; transform: translateY(-2px); }
.f .go { margin-top: auto; padding-top: 24px; color: #fff; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; position: relative; }
.f .go .a { transition: transform .3s var(--ease); }
.f:hover .go .a { transform: translateX(4px); }

/* who it's for */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.who a { display: grid; gap: 10px; padding: 28px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(255,255,255,.6); transition: all .3s var(--ease); }
.who a:hover { background: #fff; border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.who strong { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; display: flex; justify-content: space-between; align-items: center; }
.who strong span { color: var(--jade); }
.who p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* why now */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: 28px; overflow: hidden; position: relative; }
.fact { background: var(--night-2); padding: 36px 30px 32px; }
.fact strong { display: block; font-size: clamp(44px, 4.6vw, 68px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin-bottom: 16px; color: #fff; }
.fact strong .u { font-size: .45em; color: var(--night-mute); margin-left: 6px; letter-spacing: 0; font-weight: 400; }
.fact strong.mint { color: var(--mint); }
.fact p { font-size: 15.5px; color: var(--night-text); margin: 0; }
.fact a { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--night-mute); text-decoration: underline; text-underline-offset: 3px; }

/* three steps */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.s { padding: 34px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,15,26,.03), 0 20px 50px -30px rgba(11,15,26,.2); }
.s b { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; margin-bottom: 26px; }
.s b.mint { background: var(--mint); color: var(--night); }
.s b.warm { background: var(--apricot); color: var(--night); }
.s h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 10px; }
.s p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* trust */
.trust { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.trust__i svg { width: 26px; height: 26px; color: var(--jade); margin-bottom: 14px; }
.trust__i strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.trust__i p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* big quote */
.say { text-align: center; max-width: 980px; margin-inline: auto; }
.say blockquote { margin: 0; font-size: clamp(28px, 4vw, 54px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; }
.say blockquote em { font-style: normal; color: var(--mint); }
.say cite { display: block; margin-top: 26px; font-style: normal; font-size: 15px; color: var(--night-mute); }

/* cta */
.cta { position: relative; border-radius: 32px; overflow: hidden; min-height: 520px; display: grid; align-items: center; justify-items: center; text-align: center; color: var(--ink); isolation: isolate; }
.cta .scene { z-index: -1; }
.cta__in { padding: 64px 24px; }
.cta h2 { font-size: clamp(38px, 5vw, 72px); max-width: 15ch; }
.cta p { font-size: 18px; color: var(--ink-2); max-width: 46ch; margin: 20px auto 0; }
.cta__btns { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* inner pages */
.phero { padding: 190px 0 80px; }
.phero h1 { font-size: clamp(44px, 6.6vw, 96px); max-width: 14ch; letter-spacing: -0.045em; }
.phero .lede { margin-top: 26px; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: center; padding: clamp(64px, 9vw, 130px) 0; border-top: 1px solid var(--line-2); }
.feature:first-of-type { border-top: 0; }
.feature--flip .feature__copy { order: 2; }
.feature__copy h2 { font-size: clamp(34px, 4vw, 56px); }
.feature__copy .lede { margin-top: 18px; }
.list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.list li { position: relative; padding-left: 30px; font-size: 16.5px; color: var(--ink-2); line-height: 1.45; }
.list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 7px; border-left: 2px solid var(--jade); border-bottom: 2px solid var(--jade); transform: rotate(-45deg); }
.dark .list li { color: var(--night-text); }
.dark .list li::before { border-color: var(--mint); }
.shot { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14.5px; }
.shot__h { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #FCFAF6; }
.shot__h strong { font-weight: 600; font-size: 15px; }
.shot__h span { font-size: 12.5px; color: var(--mute); }
.shot__r { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); }
.shot__r:first-child { border-top: 0; }
.shot__r > div { min-width: 0; }
.chk { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 12px 22px; border-top: 1px solid var(--line); color: var(--ink-2); }
.chk i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }
.chk i.ok { background: var(--mint-soft); }
.chk i.ok::after { content: ""; width: 7px; height: 4px; border-left: 1.5px solid var(--jade); border-bottom: 1.5px solid var(--jade); transform: rotate(-45deg) translate(1px,-1px); }
.chk i.warn { background: var(--apricot-soft); }
.chk i.warn::after { content: "!"; font-size: 11px; font-weight: 700; color: #9A5A2A; }
.shot__f { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px; border-top: 1px solid var(--line); background: #FCFAF6; font-size: 13px; color: var(--mute); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--mint-soft); color: var(--jade-deep); }
.pill--warm { background: var(--apricot-soft); color: #9A5A2A; }
.pill--ink { background: #E9EBEF; color: var(--ink); }
.bars { padding: 20px 22px; display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 130px 1fr 56px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.bar__t { height: 8px; border-radius: 4px; background: #EEEBE3; overflow: hidden; }
.bar__t i { display: block; height: 100%; border-radius: 4px; background: var(--jade); }
.bar__t i.warm { background: var(--apricot); }
.bar b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.box h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 10px; }
.box p { color: var(--ink-2); font-size: 16px; margin: 0; }
.tl { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.tl__i { padding: 24px 24px 0 0; position: relative; }
.tl__i::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.tl__i.jade::before { background: var(--jade); }
.tl__when { font-size: 14px; color: var(--jade); font-weight: 600; margin-bottom: 6px; }
.tl__i h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.02em; }
.tl__i p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.faq { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 21px; font-weight: 500; letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 30px; line-height: 1; color: var(--jade); transition: transform .25s var(--ease); font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: -6px 0 26px; max-width: 70ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 15px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--jade); box-shadow: 0 0 0 4px rgba(12,122,97,.14); }
.form__note { font-size: 13.5px; color: var(--mute); grid-column: 1 / -1; }
.form__err { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 12px; background: #FBEAE8; color: #8E2D27; font-size: 14.5px; }
.form__err a { color: inherit; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact__card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.thanks { display: none; text-align: center; padding: 40px 10px; }
.thanks.on { display: block; }
.thanks img { width: 48px; margin: 0 auto 18px; }
.thanks h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }

/* footer */
.ftr { background: var(--night); color: #fff; padding: 90px 0 36px; position: relative; overflow: hidden; }
.ftr__big { font-size: clamp(90px, 19vw, 300px); font-weight: 600; letter-spacing: -0.06em; line-height: .8; color: rgba(255,255,255,.045); position: absolute; left: -0.03em; bottom: -0.1em; pointer-events: none; user-select: none; white-space: nowrap; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; position: relative; }
.ftr .brand { color: #fff; }
.ftr .brand img { filter: invert(1) hue-rotate(180deg) saturate(1.3); }
.ftr p { color: var(--night-mute); font-size: 15px; max-width: 32ch; margin-top: 16px; }
.ftr h4 { font-size: 12.5px; font-weight: 600; color: var(--night-mute); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr ul a { color: var(--night-text); font-size: 15px; }
.ftr ul a:hover { color: #fff; }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 13.5px; color: var(--night-mute); flex-wrap: wrap; position: relative; }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-1 { transition-delay: .08s; } .rv-2 { transition-delay: .16s; } .rv-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .rv, .hero h1 .w, .hero p, .hero__cta, .hero__hint, .chap__t .w, .it { opacity: 1; transform: none; filter: none; animation: none; transition: none; }
  .grain, .paper, .hero__hint i, .starfield i { animation: none; }
}

/* responsive */
@media (max-height: 780px) { .hero__hint { display: none; } .hero h1 { font-size: clamp(44px, 7vw, 92px); } }
@media (max-width: 1080px) { .facts { grid-template-columns: 1fr 1fr; } .trust { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .hero h1 .w, .hero p, .hero__cta, .hero__hint { animation: none; transition: none; filter: none; opacity: 1; transform: none; }
  .hero__hint { transform: translateX(-50%); }
  .grain { display: none; }
  .hero-film { min-height: 600px; }
  .hero-film .scene { bottom: -6%; }
  .hero { padding-top: 112px; }
  .chap { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .chap--flip .chap__cap { order: 0; }
  .chap__s { font-size: 16px; }
  .chap__shot { aspect-ratio: 5 / 4; border-radius: 22px; }
  .chap__ui { left: 14px; right: 14px; bottom: 14px; font-size: 13.5px; }
  .ring { width: 104px; height: 104px; } .ring b { font-size: 28px; }
  .chap--end { min-height: 480px; border-radius: 24px; }
  .card, .hero__k, .hero__hint { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .frame__body { grid-template-columns: 1fr; } .frame__side { display: none; } .frame__feed { border-left: 0; border-top: 1px solid var(--night-line); max-height: 220px; }
  .paper:nth-child(n+6) { display: none; }
  .paper { animation-duration: 14s; }
  .ch__ui { justify-self: stretch; width: 100%; font-size: 14px; }
  .ch__s { display: none; }
  .ch__t { font-size: clamp(30px, 8vw, 44px); }
  .four, .who, .three, .grid-2, .grid-3, .trust__list, .feature, .contact { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .f { min-height: 0; padding: 28px; }
  .tl { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__grid > :first-child { grid-column: 1 / -1; }
  .hero h1 { max-width: 9ch; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts, .tl { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .btn { height: 54px; } .btn i { width: 42px; height: 42px; }
  .hero__cta .btn--text { display: none; }
  .ring { width: 120px; height: 120px; } .ring b { font-size: 32px; }
}

/* small scene inside the call-to-action: a fixed dawn */
.cta .scene { --sky1: #F6CFA8; --sky2: #FBEBD8; --sun: #F2A765; --sunglow: .4; --moon: 0; --stars: 0; --h1: #C7DCCB; --h2: #86BB9E; --h3: #2F7F60; --h4: #1C5F47; --tree: #266F52; --house: #FFFDF7; --house2: #E9E3D6; --roof: #1F3A33; --win: #FFE5A8; --winglow: .5; --smoke: .6; --cloud: .75; }
.cta .scene .paper { display: none; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(251,235,216,.55), rgba(251,235,216,0) 60%); pointer-events: none; z-index: -1; }


/* ---------- Scroll-driven motion (GPU only: transform + opacity) ---------- */
.story { position: relative; background-image: radial-gradient(rgba(11,15,26,.07) 1px, transparent 1px); background-size: 22px 22px; }
.story::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--mint), var(--jade) 60%, var(--night)); transform: scaleY(0); transform-origin: top; opacity: .55; }
.chap__shot { transform-origin: 50% 60%; }
.card { position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 40%, rgba(47,211,163,.22) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.chap.on .card::after { animation: sweep 1.3s var(--ease) .5s 1; }
@keyframes sweep { to { transform: translateX(120%); } }
@supports (animation-timeline: view()) {
  .story::before { animation: grow linear both; animation-timeline: view(); animation-range: cover 6% cover 94%; }
  @keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  .chap__shot { animation: shotIn linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
  @keyframes shotIn { from { transform: perspective(1400px) rotateX(7deg) translateY(28px) scale(.95); opacity: .55; } to { transform: perspective(1400px) rotateX(0) translateY(0) scale(1); opacity: 1; } }
  .chap__shot [data-depth] { animation: lift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  @keyframes lift { from { transform: translateY(calc(var(--d, 0) * 90px)); } to { transform: translateY(calc(var(--d, 0) * -90px)); } }
  .chap__cap { animation: capIn linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes capIn { from { transform: translateX(-28px); opacity: 0; } to { transform: none; opacity: 1; } }
  .chap--flip .chap__cap { animation-name: capInR; }
  @keyframes capInR { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
  .chap__cap.rv { opacity: 1; transform: none; transition: none; }
  .hero-film .hero { animation: heroOut linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes heroOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-120px); opacity: 0; } }
  .hero-film .scene [data-depth] { animation: heroPx linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes heroPx { to { transform: translateY(calc(var(--d, 0) * -140px)); } }
  .chap--end { animation: endIn linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes endIn { from { transform: scale(.96); opacity: .6; } to { transform: none; opacity: 1; } }
  .frame { animation: shotIn linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@media (max-width: 900px) {
  .story::before { left: 20px; }
  @supports (animation-timeline: view()) {
    @keyframes lift { from { transform: translateY(calc(var(--d, 0) * 40px)); } to { transform: translateY(calc(var(--d, 0) * -40px)); } }
    @keyframes capIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
    @keyframes capInR { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
    @keyframes heroPx { to { transform: translateY(calc(var(--d, 0) * -60px)); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .chap__shot, .chap__shot [data-depth], .chap__cap, .hero-film .hero, .hero-film .scene [data-depth], .chap--end, .frame, .story::before { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* film */
.film { padding-bottom: clamp(72px, 9vw, 130px); }
.film .lede { color: var(--night-text); }
.player { position: relative; aspect-ratio: 16 / 9; width: min(1120px, 100%); margin-inline: auto; border-radius: 26px; overflow: hidden; background: var(--night-2); border: 1px solid var(--night-line); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(47,211,163,.08); isolation: isolate; }
.player__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.player__play { position: absolute; inset: 0; width: 100%; display: grid; place-content: center; gap: 14px; justify-items: center; background: linear-gradient(to top, rgba(7,11,20,.55), rgba(7,11,20,.05) 45%); border: 0; cursor: pointer; color: #fff; font: inherit; transition: background .4s var(--ease); }
.player__play:hover { background: linear-gradient(to top, rgba(7,11,20,.65), rgba(7,11,20,.15) 45%); }
.player__btn { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--mint); color: var(--night); box-shadow: 0 24px 50px -16px rgba(47,211,163,.7), 0 0 0 10px rgba(47,211,163,.16); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.player__btn svg { margin-left: 4px; }
.player__play:hover .player__btn { transform: scale(1.06); box-shadow: 0 28px 60px -16px rgba(47,211,163,.8), 0 0 0 16px rgba(47,211,163,.14); }
.player__len { font-size: 14px; font-weight: 600; letter-spacing: .04em; opacity: .85; }
.player.is-playing .player__play { opacity: 0; pointer-events: none; }
.film__note { text-align: center; font-size: 14px; margin-top: 18px; color: var(--night-text); opacity: .7; }
@media (max-width: 900px) { .player { border-radius: 18px; } .player__btn { width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) { .player__play, .player__btn { transition: none; } }

/* v2 — compliance-first homepage */
.hero .hero__h1--long { max-width: 14ch; font-size: clamp(44px, 6.6vw, 100px); }
.hero h1 em { font-style: normal; color: #B3321B; }
.hero-film--hard .hero p { max-width: 54ch; }
.hero-film--hard .scene .paper { opacity: .9; }

.stakes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: 28px; overflow: hidden; }
.stake { background: var(--night-2); padding: 34px 30px 36px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.stake__n { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--mint); }
.stake h3 { font-size: clamp(22px, 1.9vw, 27px); font-weight: 500; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.stake p { font-size: 15.5px; color: var(--night-text); margin: 0; }
.stake:first-child h3 { color: #FFB4A3; }

.trailsec { background: var(--cream); }
.trail { position: relative; max-width: 860px; margin: 0 auto; }
.trail__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.trail__line i { position: absolute; inset: 0; background: linear-gradient(var(--apricot), #B3321B); transform-origin: top; transform: scaleY(0); }
.trail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trail__i { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.trail__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line-2); font-weight: 600; font-size: 18px; color: var(--ink); position: relative; z-index: 1; transition: background .5s var(--ease), border-color .5s, color .5s; }
.trail__i.in .trail__n { background: var(--apricot); border-color: var(--apricot); color: var(--night); }
.trail__i--last.in .trail__n { background: #B3321B; border-color: #B3321B; color: #fff; }
.trail__i > div { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px 20px; box-shadow: 0 1px 2px rgba(11,15,26,.03), 0 20px 50px -30px rgba(11,15,26,.2); }
.trail__i strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.trail__i p { margin: 10px 0 0; color: var(--ink-2); font-size: 15.5px; }
.trail__where { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); background: var(--cream-2); padding: 5px 10px; border-radius: 999px; }
.trail__i--last > div { border-color: rgba(179,50,27,.35); background: #FFF6F3; }
.trail__i--last strong { color: #B3321B; }
@supports (animation-timeline: view()) {
  .trail__line i { animation: trailFill linear both; animation-timeline: view(); animation-range: entry 20% exit 60%; }
  @keyframes trailFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
.trail__after { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--night); color: #fff; border-radius: 32px; padding: clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.trail__after::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 85% 20%, rgba(47,211,163,.18), transparent 65%); pointer-events: none; }
.trail__after-in { position: relative; }
.trail__after-in .k { color: var(--mint); }
.trail__after-in h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
.trail__after-in p { color: var(--night-text); margin: 18px 0 26px; font-size: 16.5px; max-width: 52ch; }
.trail__after-in .btn--ink { background: var(--mint); color: var(--night); box-shadow: none; }
.trail__after-in .btn--ink i { background: var(--night); color: var(--mint); }
.trail__after-art { position: relative; display: grid; gap: 10px; }
.trail__after-art .card { opacity: 1; transform: none; }

.hundred__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hundred__copy .h2 { max-width: 14ch; }
.hundred__viz { display: grid; gap: 14px; }
.hundred__panel { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 20px 22px 22px; box-shadow: var(--shadow-lg); }
.hundred__panel--on { border-color: rgba(12,122,97,.35); }
.hundred__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 14px; color: var(--mute); }
.hundred__label b { font-weight: 600; color: var(--ink); font-size: 15px; }
.hundred__panel--on .hundred__label b { color: var(--jade); }
.hundred__cells { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; }
.hundred__cells i { aspect-ratio: 1; border-radius: 4px; background: var(--cream-2); border: 1px solid var(--line); display: block; transition: background .4s var(--ease), border-color .4s, transform .4s var(--ease); }
.hundred__cells--sample i.on { background: var(--apricot); border-color: var(--apricot); }
.hundred__cells--all i { transition-delay: calc(var(--i) * 12ms); }
.in .hundred__cells--all i, .hundred__cells--all.in i { background: var(--mint); border-color: var(--jade); }

@media (max-width: 1080px) { .stakes__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .hero .hero__h1--long { max-width: 12ch; }
  .stakes__grid { grid-template-columns: 1fr; }
  .trail__line { left: 21px; }
  .trail__i { grid-template-columns: 44px 1fr; gap: 14px; }
  .trail__n { width: 44px; height: 44px; font-size: 15px; }
  .trail__i > div { padding: 18px 18px 16px; }
  .trail__after { grid-template-columns: 1fr; gap: 28px; }
  .hundred__grid { grid-template-columns: 1fr; }
  .hundred__cells { gap: 4px; }
  @supports (animation-timeline: view()) { .trail__line i { animation: none; transform: scaleY(1); } }
}

/* CTA card: the scene is a fixed-height band pinned to the bottom, so the copy never sits over the house */
.cta { background: #FBEBD8; min-height: 0; align-items: start; }
.cta .scene { top: auto; bottom: 0; height: 320px; }
.cta__in { padding: clamp(56px, 7vw, 88px) 24px 340px; }
@media (max-width: 900px) { .cta .scene { height: 240px; } .cta__in { padding-bottom: 256px; } }
