/* /home-motion — the CobaltNook homepage as a scroll story in the pouch page's dark Issue Case world (DESIGN-v4.md).
   Built from the /kit/ sheet (kit2.css) + home-extra.css, scoped to #home. */

@font-face{font-family:"CN Big Shoulders";src:url("/_cdn/static/c8e60587-17f8-4ba2-ac48-72666fd86ba8-sb-bigshoulders-display.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"CN Public Sans";src:url("/_cdn/static/df03d46a-d604-43ef-a813-76ea08fab6b2-sb-publicsans.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"CN B612 Mono";src:url("/_cdn/static/3a0c2c39-bb6b-4797-b7f1-7b98d9a9f20b-sb4-b612mono-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"CN B612 Mono";src:url("/_cdn/static/107209cb-797c-4125-b71c-2f3637ccbece-sb4-b612mono-700.woff2") format("woff2");font-weight:700;font-display:swap}

:root{
  --paper:#10120d; --paper-hi:#1a1d15; --sand:#1a1c14; --card:#1a1d15; --od:#232819;
  --ink:#e6dfc8; --body:#cdc7b2; --muted:#9c9a86; --faint:#86857a; --line:#e6dfc821; --line-soft:#e6dfc814; --line-2:#e6dfc83d;
  --gold:#dcb03c; --gold-hover:#c99f30; --gold-ledge:#9c7b1f; --on-gold:#12140e; --gold-text:#b8ab84; --gold-display:#b8ab84;
  --olive:#9c9a86;
  --shadow-soft:0 0 0 1px #e6dfc81c,0 18px 40px -22px #000c;
  --shadow-lift:0 0 0 1px #e6dfc81c,0 30px 60px -28px #000d,0 6px 14px -8px #0008;
  --display:"CN Big Shoulders","Arial Narrow","Roboto Condensed",sans-serif;
  --sans:"CN Public Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --mono:"CN B612 Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --expo:cubic-bezier(.16,1,.3,1); --spring:cubic-bezier(.34,1.42,.48,1); --soft:cubic-bezier(.22,.65,.3,1);
  --gutter:clamp(20px,5vw,64px); --max:1240px;
  color-scheme:dark;
}
html:has(#home){background:#10120d;scrollbar-color:#4a4f3e #10120d;accent-color:#dcb03c}
#home ::selection{background:var(--gold);color:var(--on-gold)}
html,body{overflow-x:clip}
body{background:var(--paper);color:var(--ink);font:17px/1.6 var(--sans)}
#home{position:relative;isolation:isolate;color:var(--body);-webkit-font-smoothing:antialiased;font:17px/1.6 var(--sans);font-variant-numeric:lining-nums}
#home *,#home *::before,#home *::after{box-sizing:border-box}
#home :where(em,i,cite,q,dfn,var,address){font-style:normal}
#home section{position:relative;scroll-margin-top:16px}
#home img{max-width:100%;display:block}
:where(#home) a{color:inherit}
#home :is(a,button,summary):focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:2px}
:where(#home) p{margin:0}
:where(#home) h1,:where(#home) h2{margin:0;font-family:var(--display);font-weight:800;text-transform:uppercase;letter-spacing:.002em;line-height:.94;text-wrap:balance;color:var(--ink)}
:where(#home) h2{font-size:clamp(42px,5.4vw,80px)}
:where(#home) h3{margin:0;font:650 22px/1.25 var(--sans);letter-spacing:-.01em;text-wrap:balance}
:where(#home) .gold{color:var(--gold-display)}
:where(#home) .wrap{width:min(var(--max),calc(100% - 2*var(--gutter)));margin-inline:auto}
:where(#home) .num{font-family:var(--sans);font-variant-numeric:tabular-nums;letter-spacing:0}
:where(#home) p,:where(#home) dd,:where(#home) li{text-wrap:pretty}

/* ---------- the map table (the pouch page's background) ---------- */
:where(#home) .km-bg{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#10120d}
:where(#home) .km-topo{position:absolute;inset:-8%;transform:translate3d(0,calc(var(--sy,0)*-.035px),0);will-change:transform}
:where(#home) .km-topo::after{content:none}
:where(#home) .km-topo>i{position:absolute;inset:0;background:url("/_cdn/static/05656a64-2461-4dd8-8e44-2904d886d8a3-sb4-topo-flat.webp") 0 0/1400px 1400px repeat;opacity:.5;animation:km-drift 120s linear infinite alternate;will-change:transform}
@keyframes km-drift{from{transform:translate3d(-3%,-2.5%,0)}to{transform:translate3d(3%,2.5%,0)}}
:where(#home) .km-grid{position:absolute;inset:0;background-image:linear-gradient(#e6dfc80a 1px,transparent 1px),linear-gradient(90deg,#e6dfc80a 1px,transparent 1px),radial-gradient(120% 70% at 50% -10%,#1d2116 0%,#10120d00 70%);background-size:120px 120px,120px 120px,100% 100%}
:where(#home) .km-lamp{position:absolute;left:50%;top:42%;width:240px;height:240px;margin:-120px 0 0 -120px;border-radius:50%;
  background:radial-gradient(circle,#eee0b21a 0%,#eee0b20b 44%,#eee0b200 70%);animation:km-lamp 36s ease-in-out infinite alternate;will-change:transform}
@keyframes km-lamp{0%{transform:translate3d(-34vw,-20vh,0) scale(3.6)}50%{transform:translate3d(6vw,12vh,0) scale(3.6)}100%{transform:translate3d(32vw,-14vh,0) scale(3.6)}}
:where(#home) .km-grain{position:absolute;inset:0;background:url("/_cdn/static/52f31120-dbd1-4e9e-9cd5-42de89004249-sb4-grain.webp") 0 0/180px 180px}
@media (max-width:639px){:where(#home) .km-topo>i{opacity:.3}}

/* ---------- labels, buttons, links ---------- */
:where(#home) .tag{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;font:650 15px/1.3 var(--sans);color:var(--gold-text);letter-spacing:.01em}
:where(#home) .tag::before{content:"";width:22px;height:2px;background:var(--gold-text)}
:where(#home) .btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:60px;padding:0 28px;border:0;border-radius:2px;
  background:var(--gold);color:var(--on-gold);font:800 22px/1 var(--display);letter-spacing:.05em;text-transform:uppercase;text-decoration:none;cursor:pointer;
  box-shadow:inset 0 -2px 0 var(--gold-ledge);transition:background .18s ease,transform .18s var(--expo)}
:where(#home) .btn:hover{background:var(--gold-hover)}
:where(#home) .btn:active{transform:translateY(1px);box-shadow:inset 0 -1px 0 var(--gold-ledge)}
:where(#home) .btn svg{transition:transform .25s var(--expo)}
:where(#home) .btn:hover svg{transform:translate(3px,0)}
:where(#home) .link{font:650 17px/1.2 var(--sans);text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:6px;transition:color .2s}
:where(#home) .link:hover{color:var(--ink)}
:where(#home) .cap{font-size:13px;line-height:1.45;color:var(--faint)}

/* letter pops on headings (engine splits them) */
:where(#home) .kitw{display:inline-block;white-space:nowrap}
:where(#home) .tl,:where(#home) .hl,:where(#home) .sl,:where(#home) .fl{display:inline-block}
:where(#home) .ready .tl{opacity:0;transform:translateY(18px)}
:where(#home) .arrived .tl{animation:km-letter .5s var(--expo) var(--d,0ms) both}
@keyframes km-letter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
:where(#home) .rv{opacity:0;transform:translateY(22px);transition:opacity .7s var(--expo),transform .7s var(--expo)}
:where(#home) .rv.seen{opacity:1;transform:none}

/* ---------- nav + hero ---------- */
:where(#home) .nav{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px}
:where(#home) .logo{font:800 26px/1 var(--display);letter-spacing:.16em;text-decoration:none;color:var(--ink)}
:where(#home) .logo span{color:var(--gold-text)}
:where(#home) .navlinks{display:flex;gap:30px;font:600 15px/1 var(--sans)}
:where(#home) .navlinks a{text-decoration:none;color:var(--body);padding:8px 0;transition:color .2s}
:where(#home) .navlinks a:hover{color:var(--ink)}
:where(#home) .navcta{min-height:44px;padding:0 18px;font-size:19px;letter-spacing:.08em;background:transparent;color:var(--ink);border:1.5px solid var(--line-2);box-shadow:none}
:where(#home) .navcta:hover{background:transparent;border-color:var(--ink)}
:where(#home) .hero{padding:0 0 clamp(56px,8vw,110px)}
:where(#home) .khero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(32px,4.5vw,72px);align-items:center;padding-top:clamp(18px,3vw,44px)}
:where(#home) .hero h1{font-size:clamp(58px,7.6vw,118px);line-height:.88}
:where(#home) .hero h1 .hline{display:block}
:where(#home) .hero-copy{max-width:31ch;margin-top:26px;font-size:clamp(18px,1.6vw,21px);line-height:1.55;color:var(--body)}
:where(#home) .hero-copy strong{color:var(--ink);font-weight:700}
:where(#home) .hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px 28px;margin-top:34px}
:where(#home) .hero-actions .btn{min-height:64px;padding:0 34px;font-size:19px}
:where(#home) .facts{display:flex;flex-wrap:wrap;gap:10px 22px;margin:30px 0 0;padding:0;list-style:none;font-size:15px;color:var(--body)}
:where(#home) .facts li{display:flex;align-items:center;gap:8px}
:where(#home) .facts svg{flex:none;color:var(--gold-text)}
:where(#home) .facts .num{font-size:16px;font-weight:750;color:var(--ink)}
:where(#home) .hero-photos{position:relative;padding:0 0 12% 7%}
:where(#home) .ph{margin:0;position:relative}
:where(#home) .ph-main{border-radius:2px;overflow:hidden;box-shadow:var(--shadow-lift);aspect-ratio:3/2;background:var(--sand)}
:where(#home) .ph-main img,:where(#home) .ph-side img{width:100%;height:100%;object-fit:cover}
:where(#home) .ph-side{position:absolute;left:0;bottom:0;width:46%;aspect-ratio:3/2;border-radius:2px;overflow:hidden;border:6px solid var(--paper);box-shadow:var(--shadow-lift);transform:rotate(-2.5deg)}
:where(#home) .ph-tag{position:absolute;right:14px;top:14px;z-index:2;background:#10120de6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:2px;padding:7px 11px;font:650 13px/1.3 var(--sans);color:var(--ink);box-shadow:0 0 0 1px var(--line)}
:where(#home) .ph-tag small{display:block;font-weight:500;font-size:12px;color:var(--muted)}
:where(#home) .ready .hl{opacity:0;transform:translateY(16px)}
:where(#home) .hero.arrived .hl{animation:km-letter .55s var(--expo) var(--d) both}
:where(#home) .hero.ready .hero-in{opacity:0;transform:translateY(18px)}
:where(#home) .hero.arrived .hero-in{animation:km-up .7s var(--expo) var(--sub-d,1200ms) both}
:where(#home) .hero.ready .hero-photos{opacity:0;transform:translateY(26px) scale(.985)}
:where(#home) .hero.arrived .hero-photos{animation:km-up .9s var(--expo) .25s both}
@keyframes km-up{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

/* parts band */
:where(#home) .band{border-block:1px solid var(--line);background:var(--od);padding:18px 0}
:where(#home) .marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
:where(#home) .marquee-track{display:flex;width:max-content;animation:km-slide 44s linear infinite}
:where(#home) .marquee-track ul{display:flex;margin:0;padding:0;list-style:none}
:where(#home) .marquee-track li{display:flex;align-items:center;gap:12px;padding:0 34px;white-space:nowrap;font:800 24px/1 var(--display);text-transform:uppercase;letter-spacing:.02em;color:var(--olive)}
:where(#home) .marquee-track li::after{content:"";width:7px;height:7px;margin-left:34px;border-radius:1px;background:var(--gold-text);transform:rotate(45deg)}
:where(#home) .marquee-track li b{font:700 14px/1 var(--mono);letter-spacing:0;color:var(--gold-text)}
@keyframes km-slide{to{transform:translateX(-50%)}}

/* ---------- problem (pinned): the real messy cab, the four snags appear ---------- */
:where(#home) #problem{padding:clamp(80px,10vw,130px) 0}
:where(#home) #problem.pinned{height:300vh;padding:0}
:where(#home) #problem.pinned .pin{position:sticky;top:0;min-height:100vh;min-height:100svh;display:flex;align-items:center;padding:32px 0}
:where(#home) #problem .pin{width:100%}
:where(#home) .pr-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(30px,5vw,76px);align-items:center}
:where(#home) .pr-photo{margin:0}
:where(#home) .pr-photo .frame{border-radius:2px;overflow:hidden;aspect-ratio:3/2;box-shadow:var(--shadow-lift);background:var(--sand)}
:where(#home) .pr-photo img{width:100%;height:100%;object-fit:cover;transform:scale(calc(1.1 - .1*var(--pz,0)));transform-origin:60% 50%}
:where(#home) .pr-photo figcaption{margin-top:12px}
:where(#home) #problem h2{font-size:clamp(40px,4.6vw,68px)}
:where(#home) .pr-lead{margin-top:18px;max-width:34ch;font-size:18px;color:var(--body)}
:where(#home) .snags{margin:28px 0 0;padding:0;list-style:none;display:grid;gap:10px}
:where(#home) .snag{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:center;padding:12px 16px 12px 12px;border-radius:2px;background:var(--card);box-shadow:var(--shadow-soft)}
:where(#home) .snag-ic{width:42px;height:42px;border-radius:2px;background:var(--od);display:grid;place-items:center;color:var(--gold-text)}
:where(#home) .snag b{display:block;font:700 17px/1.3 var(--sans);color:var(--ink)}
:where(#home) .snag span{display:block;font-size:15px;line-height:1.4;color:var(--muted)}
:where(#home) #problem.pinned .snag{opacity:0;transform:translateX(26px)}
:where(#home) #problem.pinned .snag.entered{animation:km-snag .6s var(--spring) both}
@keyframes km-snag{from{opacity:0;transform:translateX(26px)}to{opacity:1;transform:none}}
:where(#home) .pr-end{margin-top:18px;font:650 16px/1.4 var(--sans);color:var(--gold-text);opacity:var(--pe,1)}

/* ---------- the fix (pinned): the line types in, then rushes at the reader ---------- */
:where(#home) #reframe.pinned{height:240vh}
:where(#home) #reframe .stage{position:sticky;top:0;height:100vh;height:100svh;overflow:clip;display:flex;align-items:center}
:where(#home) #reframe:not(.pinned) .stage{position:relative;height:auto;padding:110px 0}
:where(#home) #reframe .wrap{display:flex;flex-direction:column;align-items:center;text-align:center}
:where(#home) #reframe .tag{opacity:0;transform:translateY(10px);transition:opacity .3s,transform .5s var(--spring)}
:where(#home) #reframe h2{font-size:clamp(48px,7vw,112px);line-height:.9;transform-origin:50% 50%;will-change:transform}
:where(#home) #reframe .sl{opacity:0;transform:translateY(14px)}
:where(#home) #reframe .scene-copy{max-width:34ch;margin-top:30px;font-size:clamp(18px,1.6vw,21px);color:var(--body);opacity:0;transform:translateY(10px);transition:opacity .3s,transform .5s var(--spring)}
:where(#home) #reframe .pop{opacity:1;transform:none}
:where(#home) #reframe:not(.pinned) :is(.tag,.scene-copy,.sl){opacity:1;transform:none}
@media (min-width:761px){:where(#home) #reframe h2 .line{white-space:nowrap}}

/* ---------- how it works (pinned deck) ---------- */
:where(#home) #how{padding:100px 0}
:where(#home) #how.pinned{height:300vh;padding:0}
:where(#home) #how.pinned .stage{position:sticky;top:0;height:100vh;height:100svh;overflow:clip;display:flex;align-items:center}
:where(#home) #how .stage{width:100%}
:where(#home) .ap-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px 60px;margin-bottom:34px}
:where(#home) .ap-head h2{font-size:clamp(40px,4.8vw,70px)}
:where(#home) .ap-head p{max-width:30ch;font-size:17px;color:var(--body)}
:where(#home) .dots{display:flex;gap:8px;margin-top:16px}
:where(#home) .dots i{width:10px;height:10px;border-radius:3px;background:var(--line);transition:width .35s var(--expo),background .3s}
:where(#home) .dots i.on{width:36px;background:var(--gold)}
:where(#home) .ap-stack{position:relative;height:330px}
:where(#home) .ap-card{position:absolute;inset:0;transform-origin:50% 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:34px;align-items:stretch;padding:22px 22px 22px 40px;border-radius:2px;background:var(--card);box-shadow:var(--shadow-lift)}
:where(#home) .ap-card>*{opacity:calc(1 - var(--dim,0))}
:where(#home) .ap-text{display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0}
:where(#home) .ap-step{font:700 14px/1 var(--mono);color:var(--gold-text)}
:where(#home) .ap-card h3{font:800 clamp(34px,3vw,46px)/.95 var(--display);text-transform:uppercase;letter-spacing:.005em}
:where(#home) .ap-card p{font-size:17px;line-height:1.55;color:var(--body);max-width:34ch}
:where(#home) .ap-card .walk{margin-top:6px;padding-top:12px;border-top:1px solid var(--line-soft);font-size:16px}
:where(#home) .ap-card .walk b{color:var(--gold-text)}
:where(#home) .ap-photo{margin:0;border-radius:2px;overflow:hidden;background:var(--sand)}
:where(#home) .ap-photo img{width:100%;height:100%;object-fit:cover}
:where(#home) #how:not(.pinned) .ap-stack{height:auto;display:grid;gap:22px}
:where(#home) #how:not(.pinned) .ap-card{position:relative;inset:auto}
:where(#home) #reframe.pinned+#how.pinned{margin-top:-35vh;position:relative;z-index:1}

/* ---------- the kits (pinned coverflow) ---------- */
:where(#home) #homes{padding:100px 0}
:where(#home) #homes.pinned{height:560vh;padding:0}
:where(#home) #homes.pinned .stage{position:sticky;top:0;height:100vh;height:100svh;display:flex;flex-direction:column;justify-content:center;padding:24px 0}
:where(#home) .kits-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px 60px}
:where(#home) .kits-head h2{font-size:clamp(38px,4.2vw,64px)}
:where(#home) .kits-head p{max-width:30ch;font-size:16px;color:var(--body)}
:where(#home) .rail{--W:min(50vw,54svh,620px);display:flex;gap:44px;overflow:hidden;perspective:1300px;padding:26px calc((100% - var(--W))/2) 10px}
:where(#home) .proj{flex:0 0 var(--W);transform:scale(var(--gs,1)) rotateY(var(--gy,0deg)) rotateZ(var(--gz,0deg));opacity:var(--go,1)}
:where(#home) .proj-btn{display:block;width:100%;aspect-ratio:1;border:0;padding:0;border-radius:2px;overflow:hidden;background:var(--sand);box-shadow:var(--shadow-lift);cursor:zoom-in}
:where(#home) .proj-btn img{width:100%;height:100%;object-fit:cover}
:where(#home) .proj-cap{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:14px;font:650 16px/1.3 var(--sans)}
:where(#home) .proj-cap span:first-child small{display:block;font:500 14px/1.3 var(--sans);color:var(--muted)}
:where(#home) .proj-cap .num{font-size:17px;font-weight:750;color:var(--gold-text)}
:where(#home) .kits-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px;font-size:14px;color:var(--muted)}
:where(#home) .kits-foot .num{font-size:14px;color:var(--ink);white-space:nowrap}
:where(#home) #homes:not(.pinned) .rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;padding:30px 0 0;width:min(var(--max),calc(100% - 2*var(--gutter)));margin-inline:auto;overflow:visible}
:where(#home) #homes:not(.pinned) .proj{--gs:1;--gy:0deg;--gz:0deg;--go:1}

/* ---------- what's in the box (drag row) ---------- */
:where(#home) #parts{padding:clamp(80px,9vw,120px) 0 clamp(60px,7vw,90px)}
:where(#home) .parts-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px 60px;margin-bottom:34px}
:where(#home) .parts-head h2{font-size:clamp(40px,4.8vw,72px)}
:where(#home) .parts-head p{max-width:28ch;font-size:16px;color:var(--body)}
:where(#home) .lab-row{overflow:hidden;padding:10px 0 26px;touch-action:pan-y;cursor:grab;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
:where(#home) .lab-row.dragging{cursor:grabbing}
:where(#home) .lab-track{display:flex;width:max-content;will-change:transform}
:where(#home) .lab-group{display:flex;flex:none;gap:20px;padding-right:20px}
:where(#home) .spec{flex:none;width:clamp(260px,24vw,320px);display:grid;align-content:start;gap:10px;padding:24px 24px 22px;border-radius:2px;background:var(--card);box-shadow:var(--shadow-soft);user-select:none;transition:transform .35s var(--spring),box-shadow .3s}
@media (hover:hover){:where(#home) .lab-row:not(.dragging) .spec:hover{transform:translateY(-6px);box-shadow:var(--shadow-lift)}}
:where(#home) .spec h3{font:800 30px/.95 var(--display);text-transform:uppercase}
:where(#home) .spec .size{font:700 19px/1.25 var(--mono);color:var(--ink);padding:10px 0;border-block:1px dashed var(--line)}
:where(#home) .spec p{font-size:15px;line-height:1.5;color:var(--body)}
:where(#home) .spec .in{font:650 14px/1.35 var(--sans);color:var(--gold-text)}

/* ---------- what changes (pinned before/after wipe) ---------- */
:where(#home) #changes{padding:100px 0}
:where(#home) #changes.pinned{height:240vh;padding:0}
:where(#home) #changes.pinned .stage{position:sticky;top:0;min-height:100vh;min-height:100svh;display:flex;align-items:center;padding:30px 0}
:where(#home) #changes .stage{width:100%}
:where(#home) .ch-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(30px,5vw,72px);align-items:center;--w:1}
:where(#home) .ch-head{margin-bottom:28px}
:where(#home) .ch-head h2{font-size:clamp(38px,4.4vw,66px)}
:where(#home) .wipe{position:relative;margin:0;aspect-ratio:3/2;border-radius:2px;overflow:hidden;box-shadow:var(--shadow-lift);background:var(--sand)}
:where(#home) .wipe img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
:where(#home) .wipe .after{clip-path:inset(0 0 0 calc((1 - var(--w))*100%))}
:where(#home) .wipe .seam{position:absolute;top:0;bottom:0;left:calc((1 - var(--w))*100%);width:3px;margin-left:-1.5px;background:var(--ink);box-shadow:0 0 0 1px #10120daa;opacity:calc(1 - (var(--w) - .97)*33)}
:where(#home) .wipe .seam::after{content:"";position:absolute;top:50%;left:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:var(--ink);box-shadow:0 4px 12px -4px #000c}
:where(#home) .wipe .lbl-before,:where(#home) .wipe .lbl-after{position:absolute;bottom:14px;padding:6px 11px;border-radius:2px;background:#10120de6;color:var(--ink);font:700 14px/1 var(--sans)}
:where(#home) .wipe .lbl-before{left:14px}
:where(#home) .wipe .lbl-after{right:14px;opacity:var(--w)}
:where(#home) .wipe-cap{margin-top:12px}
:where(#home) .notes{display:grid;gap:22px}
:where(#home) .note{padding-left:18px;border-left:2px solid var(--gold-text);opacity:var(--n,1);transform:translateY(calc((1 - var(--n,1))*14px))}
:where(#home) .note b{display:block;font:700 19px/1.3 var(--sans);color:var(--ink)}
:where(#home) .note span{display:block;margin-top:4px;font-size:16px;line-height:1.5;color:var(--body)}

/* ---------- pick your kit (pinned, drawn path through the three kits) ---------- */
:where(#home) #works{padding:100px 0}
:where(#home) #works::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#23281900,#232819b3 14%,#232819b3 86%,#23281900)}
:where(#home) #works.pinned{height:320vh;padding:0}
:where(#home) #works.pinned .stage{position:sticky;top:0;min-height:100vh;min-height:100svh;display:flex;align-items:center;padding:34px 0}
:where(#home) #works .stage{width:100%}
:where(#home) .fd{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(30px,5vw,80px);align-items:center}
:where(#home) .fd-head h2{font-size:clamp(40px,4.6vw,70px)}
:where(#home) .fd-head p{margin-top:18px;max-width:30ch;font-size:17px;color:var(--body)}
:where(#home) .map{position:relative;padding-left:56px}
:where(#home) .route{position:absolute;left:0;top:0;width:42px;height:100%;overflow:visible}
:where(#home) .route path{fill:none;vector-effect:non-scaling-stroke}
:where(#home) .route .base{stroke:var(--ink);stroke-opacity:.22;stroke-width:2;stroke-dasharray:4 6}
:where(#home) .route .fill{stroke:var(--ink);stroke-width:3;stroke-linecap:round}
:where(#home) .route circle{fill:var(--gold-text);stroke:var(--paper);stroke-width:2.5;vector-effect:non-scaling-stroke}
:where(#home) .node{display:grid;grid-template-columns:132px minmax(0,1fr);gap:24px;align-items:center;margin-bottom:22px;--a:0;opacity:calc(.32 + .68*var(--a));transform:translateX(calc((1 - var(--a))*10px))}
:where(#home) .node-ph{margin:0;width:132px;aspect-ratio:1;border-radius:2px;overflow:hidden;background:var(--sand);box-shadow:var(--shadow-soft);scale:calc(.92 + .08*var(--a))}
:where(#home) .node-ph img{width:100%;height:100%;object-fit:cover}
:where(#home) .node .for{font:650 14px/1.3 var(--sans);color:var(--gold-text)}
:where(#home) .node h3{margin-top:4px;font:800 34px/.95 var(--display);text-transform:uppercase}
:where(#home) .node h3 .num{font:750 19px/1 var(--sans);color:var(--ink);margin-left:10px;vertical-align:5px}
:where(#home) .node p{margin-top:6px;font-size:16px;line-height:1.5;color:var(--body);max-width:40ch}
:where(#home) .finish{display:flex;align-items:center;gap:18px;padding-left:2px;min-height:64px}
:where(#home) .finish .btn{opacity:0;visibility:hidden;transform:translateY(12px) scale(.94)}
:where(#home) #works.arrived .finish .btn{visibility:visible;animation:km-pop .6s var(--spring) both}
:where(#home) #works:not(.pinned) .finish .btn{opacity:1;visibility:visible;transform:none}
@keyframes km-pop{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:none}}

/* ---------- questions: a plain two-column list, all answers open ---------- */
:where(#home) #questions{padding:clamp(90px,10vw,140px) 0 clamp(60px,7vw,100px)}
:where(#home) .faq{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:clamp(30px,6vw,96px);align-items:start}
:where(#home) .faq-head{position:sticky;top:40px}
:where(#home) .faq-head h2{font-size:clamp(42px,4.8vw,74px)}
:where(#home) .faq-head p{margin-top:20px;font-size:17px;color:var(--body)}
:where(#home) .faq-head a{font-weight:700;text-decoration-color:var(--gold);text-underline-offset:4px}
:where(#home) .kqa{margin:0;display:grid}
:where(#home) .kqa>div{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:8px 32px;padding:22px 0;border-top:1px solid var(--line)}
:where(#home) .kqa>div:last-child{border-bottom:1px solid var(--line)}
:where(#home) .kqa dt{font:700 18px/1.35 var(--sans);color:var(--ink)}
:where(#home) .kqa dd{margin:0;font-size:16px;line-height:1.6;color:var(--body)}

/* ---------- offer: pick a kit, pick a colour, real cart ---------- */
:where(#home) #offer{padding:20px 0 clamp(90px,10vw,130px)}
:where(#home) .offer{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(26px,4vw,56px);padding:clamp(18px,2.6vw,30px);border-radius:2px;background:var(--od);box-shadow:var(--shadow-lift)}
:where(#home) .offer>div:first-child{position:sticky;top:24px;align-self:start}
:where(#home) .offer-photo{margin:0}
:where(#home) .offer-photo .frame{border-radius:2px;overflow:hidden;aspect-ratio:3/2;background:var(--sand)}
:where(#home) .offer-photo img{width:100%;height:100%;object-fit:cover}
:where(#home) .offer-cap{margin-top:12px}
:where(#home) .offer-spec{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:20px 0 0;padding:18px 0 0;border-top:1px dashed var(--line);list-style:none;font-size:15px;line-height:1.4;color:var(--body)}
:where(#home) .offer-spec b{display:block;font-weight:700;color:var(--ink)}
:where(#home) .offer-buy{display:flex;flex-direction:column;padding:6px 6px 6px 0}
:where(#home) .offer-buy h2{font-size:clamp(38px,3.6vw,56px)}
:where(#home) .kit-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}
:where(#home) .kit-tab{display:grid;gap:4px;justify-items:start;min-height:70px;padding:12px 14px;border:2px solid var(--line);border-radius:2px;background:var(--paper-hi);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .2s,background .2s,transform .25s var(--spring)}
:where(#home) .kit-tab:hover{border-color:var(--line-2);transform:translateY(-2px)}
:where(#home) .kit-tab b{font:800 24px/1 var(--display);text-transform:uppercase}
:where(#home) .kit-tab span{font:700 15px/1 var(--sans);font-variant-numeric:tabular-nums;color:var(--muted)}
:where(#home) .kit-tab[aria-checked="true"]{border-color:var(--gold);background:#2e2c18;box-shadow:inset 0 0 0 1px var(--gold)}
:where(#home) .kit-tab[aria-checked="true"] span{color:var(--ink)}
:where(#home) .kit-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
:where(#home) .kit-color{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border:2px solid var(--line);border-radius:2px;background:var(--paper-hi);font:700 17px/1 var(--sans);color:var(--ink);cursor:pointer;transition:border-color .2s,transform .25s var(--spring)}
:where(#home) .kit-color:hover{border-color:var(--line-2);transform:translateY(-2px)}
:where(#home) .kit-color i{width:20px;height:20px;border-radius:2px;box-shadow:inset 0 0 0 1.5px #e6dfc84d}
:where(#home) .kit-color[aria-pressed="true"]{border-color:var(--gold);background:#2e2c18;box-shadow:inset 0 0 0 1px var(--gold)}
:where(#home) .offer h3{margin-top:24px;font:800 30px/1 var(--display);color:var(--ink);text-transform:uppercase}
:where(#home) .offer ul.parts{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:10px}
:where(#home) .offer ul.parts li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;font-size:16px;line-height:1.45;color:var(--body)}
:where(#home) .offer ul.parts li svg{margin-top:3px}
:where(#home) .offer ul.parts b{color:var(--ink)}
:where(#home) .not-in{margin-top:12px;font:700 16px/1.4 var(--sans);color:var(--ink)}
:where(#home) .price{display:flex;align-items:baseline;gap:10px;margin-top:20px}
:where(#home) .price strong{font:800 64px/1 var(--display);color:var(--ink)}
:where(#home) .price small{font:700 14px/1 var(--mono);color:var(--muted)}
:where(#home) .offer .btn{width:100%;justify-content:space-between;min-height:68px;margin-top:16px;font-size:20px}
:where(#home) .offer .ship{margin-top:14px;font-size:15px;line-height:1.6;color:var(--body)}
:where(#home) .offer .secure{margin-top:6px;font-size:13px;color:var(--faint)}

/* ---------- final (olive drab panel, like the pouch page; letters rise when it comes into view) ---------- */
:where(#home) #final{padding:clamp(100px,12vw,170px) 0 clamp(110px,12vw,170px);text-align:center}
:where(#home) #final::before{content:"";position:absolute;inset:0;z-index:-1;border-top:1px solid var(--line);background:radial-gradient(60% 70% at 50% 45%,#eee0b214,#eee0b200 70%),var(--od)}
:where(#home) #final .wrap{display:flex;flex-direction:column;align-items:center}
:where(#home) #final h2{font-size:clamp(56px,8vw,128px);line-height:.86}
:where(#home) #final .fl{opacity:0;transform:translateY(24px)}
:where(#home) #final.title .fl{animation:km-letter .55s var(--expo) var(--d) both}
:where(#home) .f-copy{margin-top:26px;max-width:36ch;font-size:clamp(18px,1.6vw,21px);color:var(--body)}
:where(#home) .f-cta{margin-top:34px;min-height:70px;padding:0 38px;font-size:20px}
:where(#home) .f-note{margin-top:16px;font-size:14px;color:var(--muted)}
:where(#home) #final :is(.f-copy,.f-cta,.f-note){opacity:0;transform:translateY(16px)}
:where(#home) #final.title .f-copy{animation:km-up .6s var(--expo) .9s both}
:where(#home) #final.title .f-cta{animation:km-up .6s var(--expo) 1.1s both}
:where(#home) #final.title .f-note{animation:km-up .6s var(--expo) 1.25s both}

/* ---------- footer ---------- */
:where(#home) .foot{border-top:1px solid var(--line);background:#0b0c09;padding:30px 0 34px;color:var(--body)}
:where(#home) .foot-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px}
:where(#home) .foot small{font-size:14px}
:where(#home) .foot-r{display:flex;align-items:center;gap:18px;font-size:14px}
:where(#home) .foot-r a{text-decoration:none}
:where(#home) .motion-btn{min-height:40px;padding:0 14px;border:1px solid var(--line-2);border-radius:2px;background:transparent;color:var(--body);font:600 14px/1 var(--sans);cursor:pointer}
:where(#home) .foot-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:18px;font-size:14px}
:where(#home) .foot-links a{text-decoration:none;color:var(--body)}
:where(#home) .foot-links a:hover{color:var(--ink)}
:where(#home) .legal{margin-top:16px;max-width:900px;font-size:13px;line-height:1.6;color:var(--muted)}

/* ---------- phone buy bar ---------- */
:where(#home) .bar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:20;display:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 16px;border-radius:2px;background:#232819f2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 18px 40px -16px #000c,0 0 0 1px var(--line-2);transform:translateY(140%);transition:transform .45s var(--expo)}
:where(#home) .bar.on{transform:none}
:where(#home) .bar p{display:grid;line-height:1.25}
:where(#home) .bar b{font:800 20px/1 var(--display);color:var(--ink);text-transform:uppercase}
:where(#home) .bar span{font-size:13px;color:var(--muted)}
:where(#home) .bar .btn{min-height:52px;padding:0 20px;font-size:17px}

/* ---------- picture viewer ---------- */
#viewer{width:min(1000px,94vw);max-height:90vh;padding:0;border:0;border-radius:2px;background:var(--card);overflow:auto;box-shadow:0 30px 80px -20px #000a}
#viewer::backdrop{background:#000c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#viewer .vbar{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;background:#1a1d15f2;color:var(--ink);border-bottom:1px solid var(--line);font:650 15px/1.3 var(--sans)}
#viewer .vbar button{min-height:40px;border:1px solid var(--line-2);background:transparent;color:var(--ink);border-radius:2px;padding:0 14px;font:650 14px/1 var(--sans);cursor:pointer}
#viewer img{width:100%;max-height:calc(90vh - 66px);object-fit:contain;background:var(--card)}

/* ---------- smaller screens ---------- */
@media (max-width:1000px){
  :where(#home) .navlinks{display:none}
  :where(#home) .khero{grid-template-columns:1fr}
  :where(#home) .hero-photos{max-width:640px}
  :where(#home) .pr-grid,:where(#home) .ch-grid,:where(#home) .fd,:where(#home) .faq,:where(#home) .offer{grid-template-columns:1fr}
  :where(#home) .faq-head{position:static}
  :where(#home) .offer>div:first-child{position:static}
}
@media (max-width:760px){
  #home{font-size:16px}
  :where(#home) h2{font-size:clamp(38px,10vw,56px)}
  :where(#home) .nav{min-height:72px}
  :where(#home) .navcta{display:none}
  :where(#home) .hero h1{font-size:clamp(50px,14vw,76px)}
  :where(#home) .hero-copy{margin-top:18px}
  :where(#home) .hero-actions{margin-top:26px}
  :where(#home) .hero-actions .btn{width:100%}
  :where(#home) .facts{gap:8px 16px;margin-top:22px}
  :where(#home) .hero-photos{padding:0 0 15% 6%}
  :where(#home) .ph-tag{right:10px;top:10px}
  :where(#home) .marquee-track li{font-size:20px;padding:0 22px}
  :where(#home) .marquee-track li::after{margin-left:22px}
  :where(#home) #problem.pinned{height:auto;padding:70px 0}
  :where(#home) #problem.pinned .pin{position:relative;min-height:0;padding:0}
  :where(#home) #problem h2,:where(#home) .ap-head h2,:where(#home) .kits-head h2,:where(#home) .parts-head h2,:where(#home) .ch-head h2,:where(#home) .fd-head h2,:where(#home) .faq-head h2,:where(#home) .offer-buy h2{font-size:clamp(38px,10.4vw,54px)}
  :where(#home) .snag{padding:10px 12px 10px 10px}
  :where(#home) .ap-head,:where(#home) .kits-head,:where(#home) .parts-head{grid-template-columns:1fr}
  :where(#home) .ap-stack{height:520px}
  :where(#home) .ap-card{grid-template-columns:1fr;grid-template-rows:180px auto;gap:16px;padding:16px}
  :where(#home) .ap-photo{order:-1}
  :where(#home) .ap-card h3{font-size:34px}
  :where(#home) .ap-card p{font-size:16px}
  :where(#home) .rail{--W:min(80vw,46svh);gap:18px}
  :where(#home) #homes:not(.pinned) .rail{grid-template-columns:1fr}
  :where(#home) .kits-foot{flex-direction:column;align-items:flex-start;gap:6px}
  :where(#home) .spec{width:260px}
  :where(#home) #changes.pinned{height:220vh}
  :where(#home) .ch-head{margin-bottom:20px}
  :where(#home) .notes{gap:14px}
  :where(#home) .note b{font-size:17px}
  :where(#home) .note span{font-size:15px}
  :where(#home) #works.pinned{height:300vh}
  :where(#home) .map{padding-left:44px}
  :where(#home) .node{grid-template-columns:92px minmax(0,1fr);gap:16px;margin-bottom:16px}
  :where(#home) .node-ph{width:92px}
  :where(#home) .node h3{font-size:28px}
  :where(#home) .node p{font-size:15px}
  :where(#home) .finish .btn{width:100%}
  :where(#home) .kqa>div{grid-template-columns:1fr;padding:18px 0}
  :where(#home) .offer{padding:14px}
  :where(#home) .offer-spec{grid-template-columns:1fr 1fr}
  :where(#home) .kit-tab b{font-size:21px}
  :where(#home) .offer .btn{font-size:18px}
  :where(#home) .f-cta{width:100%;padding:0 22px;font-size:17px;white-space:nowrap}
  :where(#home) .bar{display:flex}
  :where(#home) .foot{padding-bottom:110px}
}
@media (max-height:720px) and (min-width:761px){
  :where(#home) .ap-stack{height:290px}
  :where(#home) .node{margin-bottom:12px}
  :where(#home) .node-ph{width:104px}
  :where(#home) .node{grid-template-columns:104px minmax(0,1fr)}
}

/* ---------- motion off / reduced motion ---------- */
#home[data-motion="off"] *,#home[data-motion="off"] *::before,#home[data-motion="off"] *::after{animation:none!important;transition:none!important}
#home[data-motion="off"] :is(.tl,.hl,.sl,.fl,.hero-in,.hero-photos,.rv,.snag,.f-copy,.f-cta,.f-note,.tag,.scene-copy){opacity:1!important;transform:none!important}
#home[data-motion="off"] .ch-grid{--w:1!important}
@media (prefers-reduced-motion:reduce){:where(#home) :is(.km-topo>i,.km-lamp,.marquee-track){animation:none!important}}

/* =================== homepage additions (/home-motion) =================== */
@media (min-width:1001px){:where(#home) .khero{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)}}
:where(#home) .hero h1{font-size:clamp(52px,5.7vw,90px)}
:where(#home) .hero-actions{gap:18px 26px}

/* three systems: product cards in the deck */
:where(#home) #how .ap-stack{height:420px}
:where(#home) .ap-card.prod{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
:where(#home) .ap-card.prod .ap-text{gap:10px}
:where(#home) .ap-card.prod h3{font-size:clamp(34px,3vw,46px)}
:where(#home) .ap-price{font:800 30px/1 var(--display);color:var(--ink);letter-spacing:.01em}
:where(#home) .ap-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:8px}
:where(#home) .ap-acts .btn{min-height:54px;padding:0 22px;font-size:20px}
:where(#home) .ap-acts .link{font-size:16px}
:where(#home) .ap-card[inert] a{pointer-events:none}

/* why: real in-use photo + the lineup plate */
:where(#home) #why{padding:clamp(40px,4vw,60px) 0 clamp(90px,10vw,140px)}
:where(#home) .why-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,5vw,80px);align-items:center}
:where(#home) .why-photo .frame{aspect-ratio:4/5;border-radius:2px;overflow:hidden;background:var(--sand);box-shadow:var(--shadow-lift)}
:where(#home) .why-photo img{width:100%;height:100%;object-fit:cover;transform-origin:50% 40%;will-change:transform}
:where(#home) .why-photo figcaption{margin-top:12px}
:where(#home) .why-text h2{font-size:clamp(40px,4.6vw,70px)}
:where(#home) .why-lead{margin-top:18px;max-width:52ch;font-size:17px;line-height:1.65;color:var(--body)}
:where(#home) .lineup{margin-top:28px;padding:22px 24px;border-radius:2px;background:var(--od);box-shadow:0 0 0 1px var(--line)}
:where(#home) .lineup h3{font:800 24px/1 var(--display);text-transform:uppercase;letter-spacing:.04em;color:var(--ink);margin-bottom:12px}
:where(#home) .lineup p{font-size:16px;line-height:1.55;color:var(--body);padding:10px 0;border-top:1px solid var(--line-soft)}
:where(#home) .lineup b{color:var(--ink)}
:where(#home) .lineup a{text-decoration-color:var(--gold);text-underline-offset:3px}

/* standards: text-only stops on the route */
:where(#home) .node.txt{grid-template-columns:1fr;margin-bottom:34px;padding:4px 0}
:where(#home) .node.txt h3{margin-top:0;font-size:38px;color:var(--ink)}
:where(#home) .node.txt p{margin-top:8px;font-size:17px;max-width:46ch}

/* final: three buttons */
:where(#home) .f-tag{justify-content:center}
:where(#home) #final h2{font-size:clamp(50px,6.8vw,108px)}
:where(#home) .f-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:34px;min-height:0;padding:0}
:where(#home) .f-acts .btn{min-height:64px;padding:0 28px;font-size:20px}
:where(#home) .btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line-2)}
:where(#home) .btn.ghost:hover{background:#e6dfc80f;box-shadow:inset 0 0 0 1.5px var(--ink)}

@media (max-width:1000px){
  :where(#home) .why-grid{grid-template-columns:1fr}
  :where(#home) .why-photo{max-width:560px}
}
@media (max-width:760px){
  :where(#home) .hero h1{font-size:clamp(46px,12.6vw,70px)}
  :where(#home) .hero-actions .link{font-size:16px}
  :where(#home) #how .ap-stack{height:620px}
  :where(#home) .ap-card.prod{grid-template-columns:1fr;grid-template-rows:200px auto;gap:14px;padding:14px}
  :where(#home) .ap-card.prod h3{font-size:32px}
  :where(#home) .ap-card.prod p{font-size:15px}
  :where(#home) .ap-price{font-size:26px}
  :where(#home) .ap-acts .btn{width:100%}
  :where(#home) .why-photo .frame{aspect-ratio:4/3}
  :where(#home) .lineup{padding:18px}
  :where(#home) .node.txt{grid-template-columns:1fr;margin-bottom:24px}
  :where(#home) .node.txt h3{font-size:30px}
  :where(#home) .node.txt p{font-size:16px}
  :where(#home) .f-acts .btn{width:100%;font-size:18px}
}
@media (max-height:760px) and (min-width:761px){
  :where(#home) #how .ap-stack{height:360px}
}
#home[data-motion="off"] .why-photo img{transform:none!important}

/* =================== round 2 (taste pass) =================== */
/* flashlight pool: follows the mouse once it moves (engine adds .follow) */
:where(#home) .km-lamp.follow{animation:none}
#home[data-motion="off"] .km-lamp{animation:none;transform:scale(3.6)}

/* photos never fade or slide in (Willy's rule); only the words move */
:where(#home) .hero.ready .hero-photos,:where(#home) .hero.arrived .hero-photos{opacity:1;transform:none;animation:none}

/* hero facts: one plain data strip, no icon row */
:where(#home) .facts.strip{gap:0;margin-top:32px;font:700 14px/1.2 var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
:where(#home) .facts.strip li{gap:0}
:where(#home) .facts.strip li+li::before{content:"";width:1px;height:14px;margin:0 16px;background:var(--line-2)}
:where(#home) .facts.strip .num{margin-left:.5em;font:inherit;color:var(--ink)}

/* product cards: photo runs flush to the card edge, words on a plate beside it */
:where(#home) .ap-card.prod{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:0;padding:0;overflow:hidden}
:where(#home) .ap-card.prod .ap-photo{order:-1;border-radius:0;height:100%}
:where(#home) .ap-card.prod .ap-text{justify-content:center;gap:12px;padding:30px 40px 30px 42px}
:where(#home) .ap-card.prod .ap-step{font-size:14px;letter-spacing:.02em;color:var(--gold-text)}
:where(#home) .specs{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 0;padding:0;list-style:none}
:where(#home) .specs li{padding:7px 10px;border-radius:2px;background:#e6dfc80d;box-shadow:inset 0 0 0 1px var(--line);font:700 13px/1.1 var(--mono);color:var(--ink);letter-spacing:.02em}
:where(#home) .ap-card.prod .walk{margin-top:2px;padding-top:0;border-top:0;font-size:15px;color:var(--muted)}
:where(#home) .ap-card.prod .walk b{color:var(--body);font-weight:650}
:where(#home) .ap-card.prod .ap-price{margin-top:6px;font-size:34px}
:where(#home) .ap-acts{margin-top:4px}

/* why: one support plate (the products already have their own cards) */
:where(#home) .lineup{margin-top:30px;padding:20px 22px;background:#23281999}
:where(#home) .lineup p{padding:0;border:0}
:where(#home) .trust{display:flex;flex-wrap:wrap;gap:8px 0;margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--line-soft);list-style:none;font:700 13px/1.2 var(--mono);text-transform:uppercase;letter-spacing:.04em;color:var(--gold-text)}
:where(#home) .trust li+li::before{content:"/";margin:0 12px;color:var(--faint)}

/* standards: big words that fill in as the line reaches them */
:where(#home) .node.txt{opacity:1;transform:none;margin-bottom:30px}
:where(#home) .node.txt h3{font-size:clamp(44px,4.8vw,74px);line-height:.9;color:rgb(230 223 200 / var(--a));-webkit-text-stroke:1px rgb(184 171 132 / calc(.9 - .9*var(--a)));transition:none}
:where(#home) .node.txt p{margin-top:10px;opacity:calc(.35 + .65*var(--a))}

@media (max-width:760px){
  :where(#home) .facts.strip{font-size:13px;row-gap:8px}
  :where(#home) .facts.strip li+li::before{margin:0 10px}
  :where(#home) .ap-card.prod{grid-template-columns:1fr;grid-template-rows:210px auto;padding:0}
  :where(#home) .ap-card.prod .ap-photo{height:auto}
  :where(#home) .ap-card.prod .ap-text{padding:16px 18px 20px;gap:9px}
  :where(#home) .ap-card.prod .ap-price{font-size:28px;margin-top:2px}
  :where(#home) .specs li{font-size:12.5px;padding:6px 8px}
  :where(#home) .node.txt h3{font-size:44px}
}

/* round 3: no empty screens between scenes; the full card always fits */
:where(#home) #reframe.pinned+#how.pinned{margin-top:-55vh}
:where(#home) #how .ap-stack{height:480px}
:where(#home) #why{padding-bottom:clamp(40px,5vw,70px)}
@media (max-height:760px) and (min-width:761px){:where(#home) #how .ap-stack{height:430px}:where(#home) .ap-card.prod .ap-text{gap:8px;padding:22px 30px}}
@media (max-width:760px){:where(#home) #how .ap-stack{height:600px}}
@media (max-width:760px){
  :where(#home) #how .ap-stack{height:560px}
  :where(#home) .ap-card.prod{grid-template-rows:180px auto}
  :where(#home) .ap-card.prod .ap-text>h3+p{display:none}
  :where(#home) .ap-head p{font-size:15px}
}
@media (max-width:760px){
  :where(#home) #how .ap-head{margin-bottom:16px}
  :where(#home) #how .ap-head p{display:none}
  :where(#home) #how .ap-head .dots{margin-top:0}
  :where(#home) #how .ap-stack{height:510px}
  :where(#home) .ap-card.prod{grid-template-rows:150px auto}
  :where(#home) .ap-card.prod .ap-text{gap:8px;padding:14px 16px 16px}
  :where(#home) .ap-acts .btn{min-height:52px}
}
@media (max-width:760px) and (max-height:700px){:where(#home) .ap-card.prod{grid-template-rows:110px auto}:where(#home) #how .ap-stack{height:470px}}
@media (max-width:760px){
  :where(#home) .ap-acts{flex-wrap:nowrap;gap:14px}
  :where(#home) .ap-acts .btn{width:auto;flex:none;padding:0 16px;font-size:18px}
  :where(#home) .ap-acts .link{font-size:15px;white-space:nowrap}
}
@media (max-width:760px){:where(#home) .ap-acts .btn svg{display:none}:where(#home) .ap-acts .btn{padding:0 14px}:where(#home) .ap-acts{gap:12px}}
@media (max-width:360px){:where(#home) .ap-acts{flex-wrap:wrap;row-gap:8px}:where(#home) .ap-card.prod{grid-template-rows:96px auto}:where(#home) .specs li{font-size:12px}}
/* round 4: trust items never start a line with a slash; the why photo keeps the face in frame */
:where(#home) .trust{gap:8px 20px}
:where(#home) .trust li+li::before{content:none}
:where(#home) .trust li{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
:where(#home) .trust li::before{content:"";width:5px;height:5px;background:var(--gold-text);flex:none}
:where(#home) .why-photo img{transform-origin:50% 8%;object-position:50% 20%}
:where(#home) .trust li::before,:where(#home) .trust li+li::before{content:"";width:5px;height:5px;margin:0;background:var(--gold-text);flex:none}
