/* ============ v2: more theatre ============ */
@property --sx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --sy { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* intro curtain */
.intro { display: none; }
.js .intro { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(.77,0,.18,1); }
.js .intro.skip { display: none; }
.js body.go .intro { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro .in-mark { width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(135deg, var(--red), var(--red-2)); display: grid; place-items: center; box-shadow: 0 0 90px rgba(255,45,70,.7); animation: beat 1s ease-in-out infinite; }
.intro .in-mark svg { width: 46px; height: 46px; }
.intro .in-n { position: absolute; left: 4vw; bottom: 2vh; font: 900 clamp(90px, 22vw, 320px)/.8 var(--display); font-stretch: 125%; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); font-variant-numeric: tabular-nums; }
.intro .in-t { position: absolute; right: 4vw; bottom: 4vh; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); }
@keyframes beat { 50% { transform: scale(1.08); } }

/* hero letters */
.hero h1 .line > span { transform: none; animation: none; }
.hero h1 .ch { display: inline-block; }
.js .hero h1 .ch { transform: translateY(108%) rotate(7deg); transform-origin: 0 100%; }
.js body.go .hero h1 .ch { animation: chIn 1s var(--ease) forwards; animation-delay: calc(var(--i) * .045s + .25s); }
@keyframes chIn { to { transform: none; } }
.js .hero .eyebrow, .js .hero-sub, .js .stats { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s; }
.js .stats { transition-delay: 1.1s; }
.js body.go .hero .eyebrow, .js body.go .hero-sub, .js body.go .stats { opacity: 1; transform: none; }
.hero { background: radial-gradient(1100px 700px at 78% 30%, rgba(47,107,255,.2), transparent 62%), radial-gradient(900px 600px at 90% 95%, rgba(255,45,70,.14), transparent 60%), var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,9,20,.82) 0%, rgba(6,9,20,.35) 46%, transparent 72%); pointer-events: none; }
.hero-in { will-change: transform, opacity; }
.scrollcue { position: absolute; right: 28px; bottom: 150px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 14px; }
.scrollcue i { width: 1px; height: 70px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* manifesto */
.manifesto { padding: clamp(90px, 14vw, 220px) 0; }
.manifesto .fill { font: 800 clamp(30px, 5.1vw, 84px)/1.04 var(--display); font-stretch: 112%; letter-spacing: -.035em; margin: 28px 0 0; max-width: 20ch; text-wrap: balance; }
.manifesto .w { opacity: .13; transition: opacity .35s, color .35s; }
.manifesto .w.on { opacity: 1; }
.manifesto .w.k { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.02em; }
.manifesto .w.k.on { color: var(--red); }

/* horizontal topic reel */
.hscroll { height: 340vh; background: var(--ink); }
.hscroll .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3vh, 36px); padding-top: 72px; }
.hscroll .sec-head { margin-bottom: 0; }
.hscroll .sec-head h2 { font-size: clamp(34px, 5.2vw, 78px); }
.track { display: flex; gap: 18px; padding-inline: max(24px, calc((100vw - 1240px) / 2)); width: max-content; will-change: transform; }
.reel { position: relative; width: min(74vw, 430px); height: min(58vh, 540px); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; isolation: isolate; flex: none; background: var(--ink-3); transition: transform .5s var(--ease); }
.reel img { position: absolute; inset: -6% -12%; width: 124%; height: 112%; max-width: none; object-fit: cover; z-index: -2; transform: translateX(var(--px, 0px)) scale(1.02); transition: filter .6s; filter: saturate(.8) brightness(.8); }
.reel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,9,20,.15) 0%, rgba(6,9,20,.55) 45%, rgba(6,9,20,.96) 100%); }
.reel:hover img { filter: none; }
.reel:hover { transform: translateY(-8px); }
.reel .num { position: absolute; left: 22px; top: 6px; font: 900 clamp(90px, 11vw, 150px)/1 var(--display); font-stretch: 125%; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.reel em { font-style: normal; align-self: flex-start; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: 7px 12px; border-radius: 99px; background: var(--red); margin-bottom: 14px; }
.reel h3 { font-size: clamp(28px, 2.8vw, 40px); text-transform: uppercase; }
.reel p { font-family: var(--body); margin: 10px 0 14px; color: rgba(255,255,255,.82); }
.reel ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.2); font-size: 13.5px; color: rgba(255,255,255,.7); display: grid; gap: 6px; }
.reel li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel li::before { content: "→ "; color: var(--red); }
.reel-end { width: min(60vw, 340px); border-radius: 26px; border: 1.5px dashed rgba(255,255,255,.3); display: grid; place-items: center; text-align: center; font: 900 clamp(26px, 2.6vw, 38px)/1 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.03em; flex: none; transition: background .3s, border-color .3s; padding: 24px; }
.reel-end:hover { background: var(--red); border-color: var(--red); }
.hbar { height: 3px; background: rgba(255,255,255,.12); border-radius: 9px; overflow: hidden; }
.hbar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ice), var(--red)); transform-origin: 0 50%; transform: scaleX(0); }

/* guide index with floating preview */
.index { border-top: 2px solid var(--text); margin-top: 20px; }
.row { display: grid; grid-template-columns: 70px 1fr 190px 80px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(16,21,42,.16); position: relative; transition: padding .45s var(--ease), opacity .3s, color .3s; }
.row .rn { font: 900 15px var(--display); letter-spacing: .08em; color: var(--red); }
.row b { font: 900 clamp(24px, 3.3vw, 52px)/.98 var(--display); font-stretch: 112%; letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.row .rt, .row .rm { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.row .rm { text-align: right; }
.row .rimg { display: none; }
.index:hover .row { opacity: .28; }
.index .row:hover { opacity: 1; padding-left: 22px; }
.peek { position: fixed; left: 0; top: 0; width: 400px; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 40; opacity: 0; transform: translate3d(-999px,-999px,0); transition: opacity .3s; box-shadow: 0 40px 80px -20px rgba(6,9,20,.6); }
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* closing call to action */
.cta { position: relative; min-height: 92vh; display: grid; place-items: center; text-align: center; overflow: hidden; background: #000; isolation: isolate; padding: 120px 0; animation: drift 14s ease-in-out infinite alternate; }
.cta .bg, .cta .lit { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta .bg { opacity: .16; filter: grayscale(.6); }
.cta .lit { z-index: -1; -webkit-mask-image: radial-gradient(circle 34vmax at var(--sx) var(--sy), #000 0%, rgba(0,0,0,.5) 35%, transparent 70%); mask-image: radial-gradient(circle 34vmax at var(--sx) var(--sy), #000 0%, rgba(0,0,0,.5) 35%, transparent 70%); }
.cta.manual { animation: none; }
@keyframes drift { from { --sx: 22%; --sy: 60%; } to { --sx: 78%; --sy: 38%; } }
.cta h2 { font-size: clamp(44px, 9vw, 150px); text-transform: uppercase; font-stretch: 125%; line-height: .86; max-width: 12ch; margin-inline: auto; text-shadow: 0 10px 60px rgba(0,0,0,.6); }
.cta h2 .serif { text-transform: lowercase; color: var(--red); }
.cta p { font-family: var(--body); font-size: 20px; color: rgba(255,255,255,.85); margin: 26px auto 34px; max-width: 40ch; }

/* cursor */
.cur { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); mix-blend-mode: difference; opacity: 0; display: grid; place-items: center; font: 800 12px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: transparent; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .25s, border-color .25s, color .2s, opacity .3s; }
.cur.show { opacity: 1; }
.cur.big { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--red); border-color: var(--red); mix-blend-mode: normal; color: #fff; }
.cur.down { width: 22px; height: 22px; margin: -11px 0 0 -11px; }

@media (max-width: 980px) {
  .hscroll { height: auto; padding: 72px 0; }
  .hscroll .sticky { position: static; height: auto; padding-top: 0; overflow: visible; }
  .track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 18px; scrollbar-width: none; transform: none !important; }
  .track::-webkit-scrollbar { display: none; }
  .reel, .reel-end { scroll-snap-align: center; height: 460px; }
  .hbar { display: none; }
  .row { grid-template-columns: 96px 1fr; gap: 6px 16px; padding: 18px 0; }
  .row .rn, .row .rm { display: none; }
  .row .rimg { display: block; grid-row: 1 / 3; width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
  .row .rt { grid-column: 2; }
  .row b { font-size: 21px; grid-column: 2; }
  .index:hover .row { opacity: 1; } .index .row:hover { padding-left: 0; }
  .scrollcue { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(6,9,20,.2), rgba(6,9,20,.75) 60%); }
}
@media (prefers-reduced-motion: reduce) {
  .manifesto .w { opacity: 1; } .js .hero h1 .ch { transform: none; } .js .hero .eyebrow, .js .hero-sub, .js .stats { opacity: 1; transform: none; }
  .js .intro { display: none; } .cta { animation: none; }
}
h1, h2, h3, .row b, .manifesto .fill { word-spacing: .09em; }
.rot { vertical-align: top; line-height: 1.4; }

/* ============ v3: calmer scale ============ */
body { font-size: 16px; }
.pad { padding: clamp(60px, 7.5vw, 104px) 0; }
h1, h2, h3 { font-stretch: 112%; }
.hero h1 { font-size: clamp(42px, 7.2vw, 112px); font-stretch: 116%; line-height: .9; margin-top: 18px; }
.hero-sub { margin-top: 26px; }
.hero-sub p { font-size: clamp(17px, 1.35vw, 20px); }
.stats { margin-top: 40px; }
.stats b { font-size: clamp(24px, 2.3vw, 34px); }
.stats span { font-size: 11px; }
.btn { padding: 14px 20px; font-size: 14px; }
.marquee { padding: 13px 0; }
.marquee span { font-size: clamp(20px, 2.4vw, 32px); font-stretch: 116%; }
.sec-head { margin-bottom: clamp(28px, 3.6vw, 48px); }
.sec-head h2, .hscroll .sec-head h2 { font-size: clamp(30px, 3.9vw, 58px); margin-top: 14px; }
.sec-head p { font-size: 17px; }
.manifesto { padding: clamp(70px, 9vw, 130px) 0; }
.manifesto .fill { font-size: clamp(25px, 3.2vw, 48px); line-height: 1.12; max-width: 24ch; font-stretch: 106%; margin-top: 22px; }
.reel { width: min(72vw, 350px); height: min(54vh, 450px); padding: 24px; border-radius: 22px; }
.reel .num { font-size: clamp(60px, 6.4vw, 92px); left: 20px; top: 10px; }
.reel h3 { font-size: clamp(22px, 1.9vw, 28px); }
.reel p { font-size: 15.5px; margin: 8px 0 12px; }
.reel ul { font-size: 13px; }
.reel-end { width: min(56vw, 280px); font-size: clamp(22px, 2vw, 28px); border-radius: 22px; }
.feature { gap: 32px; }
.feature h3 { font-size: clamp(26px, 2.6vw, 38px); }
.feature p { font-size: 17px; }
.card h3 { font-size: clamp(19px, 1.55vw, 23px); }
.card p { font-size: 15.5px; }
.row { padding: 19px 0; grid-template-columns: 54px 1fr 180px 70px; }
.row b { font-size: clamp(19px, 2.05vw, 30px); line-height: 1.04; font-stretch: 108%; }
.peek { width: 320px; }
.path a { padding-block: 26px; }
.path a::before { font-size: clamp(52px, 5.6vw, 84px); margin-bottom: 20px; }
.path h3 { font-size: 21px; }
.panel { border-radius: 22px; padding: clamp(22px, 2.4vw, 32px); }
.field { margin-bottom: 24px; }
.field output { font-size: 24px; }
.rev b { font-size: clamp(42px, 4.8vw, 70px); }
.funnel { margin: 22px 0; }
.funnel div { height: 38px; }
.cta { min-height: 72vh; padding: 90px 0; }
.cta h2 { font-size: clamp(34px, 5.4vw, 80px); line-height: .92; max-width: 14ch; }
.cta p { font-size: 18px; margin: 20px auto 28px; }
.page-hero { padding: 140px 0 56px; }
.page-hero h1 { font-size: clamp(38px, 5.8vw, 86px); line-height: .92; }
.page-hero p { font-size: 18px; margin-top: 20px; }
.post-hero { padding-top: 130px; }
.post-hero h1 { font-size: clamp(30px, 4.3vw, 62px); line-height: .96; max-width: 20ch; margin-top: 20px; }
.post-hero .cover { margin-top: 40px; aspect-ratio: 24/9; }
.prose { font-size: clamp(17px, 1.2vw, 19px); }
.prose > p:first-of-type::first-letter { font-size: 3.6em; }
.arch-h { font-size: clamp(24px, 2.4vw, 34px); margin-top: 52px; }
.arch b { font-size: clamp(17px, 1.5vw, 21px); }
.giant { font-size: clamp(40px, 9.4vw, 160px); margin-top: 50px; }
.intro .in-n { font-size: clamp(64px, 13vw, 190px); }
.intro .in-mark { width: 68px; height: 68px; border-radius: 18px; }
.intro .in-mark svg { width: 36px; height: 36px; }
.cur { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.cur.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; font-size: 11px; }
.nav .wrap { height: 64px; }
.scrollcue { bottom: 130px; }
@media (max-width: 980px) {
  .nav-links { inset: 64px 0 auto 0; }
  .reel, .reel-end { height: 400px; }
  .row b { font-size: 18px; text-transform: none; letter-spacing: -.02em; }
  .row .rimg { width: 84px; height: 62px; }
  .row { grid-template-columns: 84px 1fr; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(40px, 12.4vw, 60px); }
  .hero { padding-top: 104px; }
}
