/* Storytelling blocks for the home, research, manifesto and company pages. */

/* ---------- painted hero ---------- */
.art-hero { position: relative; height: clamp(1080px, 190vh, 2000px); color: #fff; background: #74aede; }
[data-theme="night"] .art-hero, [data-theme="night"] .art-band { background: #0d1a2e; }
.art-hero-art { position: absolute; inset: 0; overflow: hidden; }
.art-hero-img { width: 100%; height: 106%; object-fit: cover; object-position: center top; will-change: transform; }
.art-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20, 40, 70, 0.18), transparent 22%); pointer-events: none; }
.art-hero-title { position: absolute; top: clamp(104px, 13vh, 132px); left: 0; right: 0; z-index: 2; text-align: center; font-family: var(--display); font-size: clamp(21px, 1.9vw, 27px); line-height: 1.45; letter-spacing: -0.02em; text-shadow: 0 1px 18px rgba(20, 50, 90, 0.35); }
.art-clock { position: absolute; top: 26px; right: 24px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; text-shadow: 0 1px 10px rgba(20, 50, 90, 0.4); }
.art-clock b { font-weight: 400; opacity: 0.7; }
.art-clock svg { opacity: 0.9; }
/* a small plane tows the line across the sky */
.art-banner { position: absolute; top: clamp(250px, 31vh, 330px); left: 0; z-index: 2; display: flex; align-items: center; white-space: nowrap; animation: fly 46s linear infinite; will-change: transform; }
.art-banner svg { flex-shrink: 0; }
.art-banner span { margin-left: -2px; padding: 5px 14px 4px; background: #f7f3e6; color: #1f3a5f; border: 1px solid rgba(31, 58, 95, 0.5); font-family: var(--serif); font-size: 17px; font-style: italic; transform: rotate(1.5deg); transform-origin: left center; }
@keyframes fly { from { transform: translateX(110vw); } to { transform: translateX(-420px); } }

.art-hero-stick { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; height: 100vh; height: 100svh; padding: 0 16px 58px; pointer-events: none; }
.glass-card { pointer-events: auto; width: min(500px, 100%); padding: clamp(24px, 2.4vw, 34px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 20px; background: rgba(30, 62, 44, 0.3); -webkit-backdrop-filter: blur(22px) saturate(1.35); backdrop-filter: blur(22px) saturate(1.35); }
[data-theme="night"] .glass-card, [data-theme="night"] .art-hero-aside { background: rgba(16, 24, 56, 0.42); }
.glass-card h1 { font-family: var(--display); font-size: clamp(34px, 3.3vw, 46px); font-weight: 400; line-height: 1.06; letter-spacing: -0.02em; }
.glass-card p { margin-top: 22px; max-width: 400px; font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.94); }
.glass-card .link { margin-top: 24px; color: #fff; text-decoration-color: rgba(255, 255, 255, 0.6); }
.art-hero-aside { pointer-events: auto; max-width: 250px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 16px; background: rgba(30, 62, 44, 0.3); -webkit-backdrop-filter: blur(22px) saturate(1.35); backdrop-filter: blur(22px) saturate(1.35); font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.95); }
.art-hero-aside svg { margin: 0 0 10px; }
.art-dissolve { position: absolute; left: 0; bottom: -260px; z-index: 2; width: 100%; height: 520px; pointer-events: none; }
.after-art { position: relative; padding-top: clamp(200px, 24vw, 330px); }

/* ---------- statements that ink in ---------- */
.ink { font-family: var(--display); font-size: clamp(28px, 3.5vw, 48px); line-height: 1.17; letter-spacing: -0.018em; text-wrap: pretty; }
.ink .w { color: var(--faint); transition: color 0.45s ease; }
.ink .w.is-on { color: var(--ink); }
.ink + .ink { margin-top: 1em; }
.ink-s { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; }
.swap { position: relative; display: inline-block; color: var(--faint); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }

/* ---------- figures ---------- */
.fig-head { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.fig-head span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ticks { display: inline-flex; align-items: flex-end; gap: 6px; height: 14px; }
.ticks i { width: 1px; height: 7px; background: var(--faint); }
.ticks i.on { height: 14px; background: var(--ink); }
.fig-stage { position: relative; margin-top: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.on-cream .fig-stage { background: var(--paper); }
.on-night .fig-stage { background: #1a1a18; }
.fig-stage svg { width: 100%; height: auto; }
.fig figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fig .draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) var(--d, 0s); }
.js .fig .draw { stroke-dashoffset: 1; }
.js .fig.is-in .draw { stroke-dashoffset: 0; }
.js .fig .fade { opacity: 0; transition: opacity 0.8s ease var(--d, 0.8s); }
.js .fig.is-in .fade { opacity: 1; }
.js .fig .pop { opacity: 0; transform: scale(0.2); transform-box: fill-box; transform-origin: center; transition: opacity 0.4s ease var(--d, 0s), transform 0.6s var(--ease) var(--d, 0s); }
.js .fig.is-in .pop { opacity: 1; transform: none; }
.js .fig .drop { opacity: 0; transform: translateY(-46px); transition: opacity 0.3s ease var(--d, 0s), transform 0.7s cubic-bezier(0.3, 1.3, 0.5, 1) var(--d, 0s); }
.js .fig.is-in .drop { opacity: 1; transform: none; }
.fig text { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; fill: var(--muted); }
.fig .t-ink { fill: var(--ink); }
.fig .t-green { fill: var(--green); }
.fig .t-sans { font-family: var(--sans); font-size: 13px; letter-spacing: 0; }
.fig .s-ink { stroke: var(--ink); }
.fig .s-line { stroke: var(--line-strong); }
.fig .f-mass { fill: var(--tint); }
.on-night .fig .f-mass { fill: rgba(246, 246, 241, 0.08); }
.fig .f-green { fill: var(--green); }
.fig .f-ink { fill: var(--ink); }
.fig .f-paper { fill: var(--paper); }
.fig .spin { transform-box: fill-box; transform-origin: center; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- the sameness grid ---------- */
.same { position: relative; }
.same-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.same-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; padding: 12% 9% 10%; overflow: hidden; border-radius: 10px; background: radial-gradient(120% 90% at 65% 0%, #5c43d8 0%, #2c2552 46%, #17171c 100%); color: #fff; transition: opacity 0.35s ease calc(var(--i) * 70ms), transform 0.5s var(--ease) calc(var(--i) * 70ms); }
.js .same:not(.is-in) .same-card { opacity: 0; transform: scale(0.92); }
.same-card::before { content: ""; position: absolute; top: 9%; left: 9%; width: 16%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); box-shadow: clamp(60px, 10vw, 150px) 0 0 #7b61ff; }
.same-card b { font-size: clamp(10px, 1.25vw, 16px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.same-card i { display: block; width: 62%; height: 2px; margin-top: 9%; background: rgba(255, 255, 255, 0.2); }
.same-card u { display: block; width: 22%; height: clamp(5px, 0.8vw, 9px); margin-top: 7%; border-radius: 99px; background: #7b61ff; box-shadow: clamp(26px, 3.6vw, 52px) 0 0 -1px #17171c, clamp(26px, 3.6vw, 52px) 0 0 0 rgba(255, 255, 255, 0.3); }
.stamp { position: absolute; left: 50%; top: 50%; z-index: 2; padding: 0.08em 0.3em 0.02em; border-radius: 0.12em; background: var(--orange); color: #1c1410; font-family: var(--sans); font-size: clamp(64px, 11vw, 150px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; transform: translate(-50%, -50%) rotate(-9deg); transition: opacity 0.18s ease 1s, transform 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) 1s; box-shadow: 0 20px 60px rgba(255, 76, 36, 0.35); pointer-events: none; }
.js .same:not(.is-in) .stamp { opacity: 0; transform: translate(-50%, -50%) rotate(-9deg) scale(2.6); }

/* ---------- taste is a skill ---------- */
.skill { padding-top: 14px; border-top: 1px solid var(--line-strong); }
.skill .num { color: var(--ink); }
.skill h3 { margin-top: 26px; font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; }
.skill p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.skill-last h3 { color: var(--orange); }

/* ---------- "the no": tastemakers judge four options ---------- */
.noboard { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.noboard-stage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); padding: clamp(14px, 1.8vw, 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.opt { position: relative; }
.opt-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; border-radius: 9px; border: 1.5px solid var(--line); transition: border-color 0.3s ease, opacity 0.4s ease, filter 0.4s ease, transform 0.4s var(--ease); }
.opt-tag { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.92); color: #161616; font-family: var(--mono); font-size: 11px; }
.opt-why { position: absolute; left: 8px; bottom: 8px; z-index: 2; max-width: calc(100% - 16px); padding: 4px 8px; border-radius: 6px; background: var(--orange); color: #1c1410; font-family: var(--mono); font-size: clamp(9.5px, 0.85vw, 11px); letter-spacing: 0.02em; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.4s var(--ease); }
.opt.is-yes .opt-why { background: var(--green); color: #fff; }
.opt.is-no .opt-why, .opt.is-yes .opt-why { opacity: 1; transform: none; }
.opt.is-no .opt-frame { opacity: 0.42; filter: grayscale(0.7); transform: scale(0.985); }
.opt.is-no .opt-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), var(--orange) calc(50% - 1px), var(--orange) calc(50% + 1px), transparent calc(50% + 1px)); }
.opt.is-yes .opt-frame { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 9% 9%; color: #fff; font-size: clamp(9px, 1.05vw, 14px); }
.mock b { font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.mock small { display: block; margin-top: 0.7em; font-size: 0.62em; opacity: 0.7; }
.mock .m-btns { display: flex; gap: 0.5em; margin-top: 1.1em; }
.mock .m-btns i { display: block; width: 3.6em; height: 1.05em; border-radius: 99px; background: #7b61ff; }
.mock .m-btns i + i { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); }
.mock-a { align-items: center; text-align: center; background: radial-gradient(90% 80% at 50% 0%, #6a4df0, #241e4a 60%, #15151b); }
.mock-b { background: linear-gradient(135deg, #1b1b3a, #3a2a8c 60%, #7b61ff); }
.mock-b .m-row { display: flex; gap: 0.5em; margin-top: 1.1em; }
.mock-b .m-row i { flex: 1; height: 2.4em; border-radius: 0.4em; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.16); }
.mock-c { align-items: center; text-align: center; background: #101014; }
.mock-c::before { content: ""; position: absolute; left: 50%; top: 8%; width: 46%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle at 35% 30%, #c9b8ff, #7b61ff 45%, transparent 70%); filter: blur(8px); opacity: 0.75; }
.mock-c b, .mock-c small, .mock-c .m-btns { position: relative; }
.mock-d { justify-content: flex-end; background: #f3ead6; color: #2a1a0e; }
.mock-d::before { content: ""; position: absolute; right: 8%; top: 12%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #c8892b; box-shadow: inset -0.5em -0.6em 0 rgba(42, 26, 14, 0.18); }
.mock-d::after { content: ""; position: absolute; left: 9%; top: 14%; width: 20%; height: 0.5em; background: #d8472b; }
.mock-d b { font-family: var(--display); font-size: 1.45em; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.mock-d small { opacity: 0.75; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; display: flex; align-items: flex-start; pointer-events: none; transform: translate(var(--x, 40px), var(--y, 40px)); transition: transform 0.9s cubic-bezier(0.5, 0, 0.2, 1); }
.cursor b { margin: 14px 0 0 -2px; padding: 3px 8px; border-radius: 6px; font-family: var(--sans); font-size: 12px; font-weight: 500; white-space: nowrap; color: #fff; background: var(--c); }
.cursor svg { color: var(--c); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.cursor.is-click svg { animation: click 0.3s ease; }
@keyframes click { 50% { transform: scale(0.78); } }
.cursor-1 { --c: #1f5fd1; }
.cursor-2 { --c: #b3261e; }
.noboard-side { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 18px); }
.record { flex: 1; padding: 20px; border-radius: var(--r-m); background: var(--night); color: var(--snow); font-family: var(--mono); font-size: 12.5px; line-height: 1.75; }
.record-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-night); color: var(--mist); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.record-line { display: flex; gap: 10px; opacity: 0.22; transform: none; transition: opacity 0.3s ease, transform 0.4s var(--ease); }
.record-line.is-on { opacity: 1; transform: none; }
.record-line i { flex-shrink: 0; width: 14px; font-style: normal; color: var(--mist); }
.record-line .no { color: var(--orange); }
.record-line .yes { color: #6fd06f; }
.record-line em { font-style: normal; color: var(--mist); }
.vote { padding: 16px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-m); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.vote b { font-weight: 400; color: var(--ink); }

/* ---------- judgment across the stack ---------- */
.stack-card { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--r-m); background: #1b1b19; }
.stack-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
.stack-art { display: flex; align-items: center; justify-content: center; height: clamp(170px, 20vw, 250px); }
.stack-art svg { width: auto; height: 78%; }
.stack-card h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; }
.stack-card p { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--mist); }
.stack-card .tags { margin-top: 22px; }
.orbit-a { transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; }
.orbit-b { transform-box: fill-box; transform-origin: center; animation: spin 22s linear infinite reverse; }
.orbit-c { transform-box: fill-box; transform-origin: center; animation: spin 34s linear infinite; }
.verdict-card { animation: verdict 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes verdict { 0%, 35%, 100% { opacity: 0.25; } 45%, 90% { opacity: 1; } }

/* ---------- T1 → T3 ---------- */
.tiers { display: grid; gap: 0; }
.tier { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: clamp(18px, 2vw, 28px) clamp(18px, 2.2vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.tier-n { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.tier h3 { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.tier p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.tier-tags { font-family: var(--mono); font-size: 12px; line-height: 1.6; text-align: right; color: var(--green); }
.tier-2 .tier-tags { color: var(--tier-2); }
.tier-3 { background: var(--night); border-color: var(--night); color: var(--snow); }
.tier-3 p { color: var(--mist); }
.tier-3 .tier-tags { color: var(--orange); }
.tier-gap { padding: 10px 0; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.checks { margin-top: 26px; }
.checks li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.4; color: var(--muted); }
.checks li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- products ---------- */
.products { position: relative; border-top: 1px solid var(--line-strong); }
.prow { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto 20px; gap: 12px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; transition: padding 0.4s var(--ease), color 0.2s ease; }
.prow-name { font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); }
.prow-desc { font-size: 16px; color: var(--muted); }
.prow .arrow { color: var(--faint); transition: transform 0.3s var(--ease), color 0.2s ease; }
.prow:hover { padding-left: 14px; }
.prow:hover .prow-name { font-family: "Redaction 50", var(--display); }
.prow:hover .arrow { color: var(--ink); transform: translateX(4px); }
.products:hover .prow:not(:hover) .prow-name { color: var(--faint); }
.prow-preview { position: fixed; left: 0; top: 0; z-index: 90; width: 300px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-m); background: var(--night); box-shadow: 0 30px 70px rgba(22, 22, 22, 0.28); pointer-events: none; opacity: 0; transform: translate(var(--px, 0), var(--py, 0)) scale(0.9) rotate(-2deg); transition: opacity 0.25s ease, scale 0.3s var(--ease); }
.prow-preview.is-on { opacity: 1; transform: translate(var(--px, 0), var(--py, 0)) scale(1) rotate(-2deg); }
.prow-preview img, .prow-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.25s ease; }
.prow-preview .is-on { opacity: 1; }

.term { overflow: hidden; border-radius: var(--r-m); background: var(--night); color: #d9dad3; box-shadow: 0 30px 80px rgba(22, 22, 22, 0.18); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-night); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--mist); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(246, 246, 241, 0.16); }
.term-bar span { margin-left: 8px; }
.term pre { margin: 0; padding: clamp(16px, 2vw, 26px); min-height: var(--term-h, 0); overflow-x: auto; font-family: var(--mono); font-size: clamp(11.5px, 1vw, 13.5px); line-height: 1.75; white-space: pre; }
.term .c { color: #74756f; }
.term .k { color: var(--orange); }
.term .s { color: #8fd68f; }
.term .p { color: #d9dad3; }
.term .caret { display: inline-block; width: 0.55em; height: 1.05em; margin-left: 1px; vertical-align: -0.18em; background: var(--snow); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-note { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* a band of pixel sky that carries one product's pitch */
.sky-card { position: relative; display: flex; align-items: center; min-height: clamp(380px, 42vw, 560px); overflow: hidden; border-radius: var(--r-l); background: #0d8bd0; color: #fff; }
[data-theme="night"] .sky-card { background: #0b1630; }
.sky-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; image-rendering: pixelated; }
.sky-copy { position: relative; z-index: 1; max-width: 560px; padding: clamp(28px, 5vw, 72px); }
.sky-copy p { margin-top: 18px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; color: rgba(255, 255, 255, 0.95); }
.sky-copy .swap { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.6); }
.sky-copy .btn { margin-top: 28px; }
@media (max-width: 640px) {
  .sky-card { align-items: flex-start; min-height: 600px; }
  .sky-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(10, 120, 190, 0.92) 0%, rgba(10, 120, 190, 0.6) 45%, rgba(10, 120, 190, 0) 70%); }
  .sky-card > img { object-position: 78% bottom; }
}
@media (max-width: 640px) {
  [data-theme="night"] .sky-card::before { background: linear-gradient(to bottom, rgba(8, 18, 44, 0.92) 0%, rgba(8, 18, 44, 0.6) 45%, rgba(8, 18, 44, 0) 70%); }
}

/* drifting cards (Flora) */
.drift { position: relative; }
.drift-card { position: absolute; overflow: hidden; border-radius: var(--r-m); background: var(--cream); box-shadow: 0 24px 60px rgba(22, 22, 22, 0.16); will-change: transform; transform: translate3d(0, var(--ty, 0), 0) rotate(var(--rot, 0deg)); }
.drift-card img, .drift-card video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- numbers and timeline ---------- */
.stat { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.stat-n { font-family: var(--display); font-size: clamp(54px, 7vw, 96px); line-height: 0.95; letter-spacing: -0.03em; }
.stat-n.is-green { color: var(--green); }
.stat > p:not(.stat-n) { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stat .body { margin-top: 12px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--line-strong); transform-origin: left; transition: transform 1.6s var(--ease); }
.js .timeline:not(.is-in)::before { transform: scaleX(0); }
.tl { position: relative; padding-right: 16px; transition: opacity 0.5s ease calc(var(--i) * 0.3s + 0.2s), transform 0.6s var(--ease) calc(var(--i) * 0.3s + 0.2s); }
.js .timeline:not(.is-in) .tl { opacity: 0; transform: translateY(8px); }
.tl-date { display: block; height: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tl-dot { display: block; width: 11px; height: 11px; margin: 7px 0 18px; border-radius: 50%; background: var(--ink); }
.tl.is-now .tl-dot { background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.tl.is-now .tl-date { color: var(--green); }
.tl.is-next .tl-dot { background: var(--paper); border: 1.5px solid var(--ink); }
.tl b { display: block; font-size: 16px; font-weight: 500; }
.tl span.body { display: block; margin-top: 2px; font-size: 14px; }

/* ---------- writing and research cards (Luma) ---------- */
.paper-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.paper-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-m); background: #1f1f1d; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: transform 0.5s var(--ease); }
.paper-thumb svg { width: 62%; height: auto; transition: transform 0.7s var(--ease); }
.paper-thumb .pt-word { font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.02em; text-align: center; line-height: 1; }
.paper-card:hover .paper-thumb svg, .paper-card:hover .pt-word { transform: scale(1.05); }
.paper-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.paper-card h3 { margin-top: 12px; font-family: var(--sans); font-size: 21px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.paper-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-strong); }

/* ---------- beliefs, thesis, roadmap ---------- */
.belief { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.belief:last-child { border-bottom: 1px solid var(--line-strong); }
.belief .num { padding-top: 8px; }
.belief h3 { font-family: var(--display); font-size: clamp(24px, 2.5vw, 34px); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; }
.belief p { grid-column: 2; max-width: 660px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.road { display: flex; flex-direction: column; min-height: 320px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-m); background: #1c1c1a; border-top: 2px solid var(--line-night); }
.road.is-now { border-top-color: var(--green); }
.road .note { color: var(--mist); }
.road.is-now .note { color: #6fd06f; }
.road h3 { margin-top: 14px; font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; }
.road p { margin-top: 12px; font-size: 16px; color: var(--mist); }
.road .road-ship { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-night); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; line-height: 1.6; text-transform: uppercase; color: var(--snow); }
.road .road-ship span { color: var(--mist); }
.verdicts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.verdict { padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.verdict .note { color: var(--green); }
.verdict h3 { margin-top: 14px; font-family: var(--display); font-size: clamp(24px, 2.5vw, 34px); font-weight: 400; line-height: 1.12; }
.verdict p { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* ---------- manifesto ---------- */
.mani-head { padding: clamp(180px, 24vw, 320px) 0 clamp(72px, 9vw, 130px); }
.mani-title { margin-top: 26px; font-family: var(--display); font-size: clamp(64px, 13.5vw, 200px); font-weight: 400; line-height: 0.94; letter-spacing: -0.035em; color: var(--snow); }
.mani-title .sticker { color: #1c1410; }

/* a wide painted panel with a caption bar */
.art-band { position: relative; overflow: hidden; border-radius: var(--r-l); background: #74aede; }
.art-band img { width: 100%; aspect-ratio: 2400 / 1008; object-fit: cover; }
.art-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 40px clamp(16px, 2.4vw, 30px) 18px; background: linear-gradient(to top, rgba(12, 36, 20, 0.6), transparent); color: #fff; font-size: 14px; }
.join-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); transition: border-color 0.2s ease, transform 0.4s var(--ease), box-shadow 0.4s ease; }
.join-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 50px rgba(22, 22, 22, 0.08); }
.join-card .link { margin-top: auto; padding-top: 12px; align-self: flex-start; }

/* ---------- research note ---------- */
.paper { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.paper-toc { position: sticky; top: 104px; display: grid; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.paper-toc a { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--faint); text-decoration: none; transition: color 0.2s ease; }
.paper-toc a:last-child { border-bottom: 1px solid var(--line); }
.paper-toc a:hover, .paper-toc a.is-on { color: var(--ink); }
.paper-toc a::after { content: ""; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--green); opacity: 0; transition: opacity 0.2s ease; }
.paper-toc a.is-on::after { opacity: 1; }
.paper-body { min-width: 0; max-width: 860px; }
.paper-section { padding-top: clamp(56px, 7vw, 96px); }
.paper-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.paper-section > h2 { margin-top: 14px; font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.paper-section > h2 span { color: var(--faint); }
.paper-section > p { max-width: 680px; margin-top: 1.2em; font-size: 18px; line-height: 1.65; color: var(--prose); text-wrap: pretty; }
.paper-section > p a:not(.link) { color: var(--green); text-decoration: none; }
.paper-section > .fig, .paper-wide { margin-top: 2.4em; margin-bottom: 2.4em; }
.paper-section > .checks { max-width: 680px; }
.paper-section > .paper-quote { max-width: 720px; margin-top: 1.4em; padding-left: 20px; border-left: 2px solid var(--green); font-family: var(--display); font-size: clamp(24px, 2.7vw, 36px); line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); }
.abstract { padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--surface); }
.abstract p + p { margin-top: 12px; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink); }
.causes { display: grid; gap: 28px; margin-top: 2.2em; }
.causes h3 { margin-top: 12px; }
.causes h3 + p { max-width: 680px; margin-top: 8px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.bets { display: grid; margin-top: 2.2em; }
.bets li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.bets li:last-child { border-bottom: 1px solid var(--line-strong); }
.bets .num { font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: 0; color: var(--ink); }
.bets p { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; color: var(--ink); }
.versus { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; align-items: stretch; }
.versus .vote { display: flex; flex-direction: column; justify-content: center; background: var(--surface); }
.layers { display: grid; }
.layer { display: grid; grid-template-columns: 90px minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px 24px; align-items: baseline; padding: 20px clamp(16px, 2vw, 26px); border: 1px solid var(--line); background: var(--surface); }
.layer:first-child { border-radius: var(--r-m) var(--r-m) 0 0; }
.layer + .layer { border-top: 0; }
.layer:last-child { border-radius: 0 0 var(--r-m) var(--r-m); }
.layer:nth-child(2) { background: var(--green-soft); }
.layer b { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.2; }
.layer p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.refs { display: grid; gap: 12px; max-width: 680px; margin-top: 1.4em; padding-left: 1.4em; list-style: decimal; font-size: 15px; line-height: 1.55; color: var(--muted); }
.page-head-wide .h1 { max-width: 20ch; }

/* ---------- people ---------- */
.person { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.person-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-m); background: var(--cream); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-photo .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 72px; color: var(--faint); }
.person h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; line-height: 1.1; }
.person .note { display: block; margin-top: 8px; }
.person ul { margin-top: 18px; display: grid; gap: 9px; }
.person li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.person li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.fact { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
.fact b { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13px; font-weight: 400; }
.fact b.is-green { background: var(--green); }

.pull { font-family: var(--display); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.pull span { color: var(--faint); }
.h1 .sticker, .h2 .sticker { color: #1c1410; }
.sticker { display: inline-block; padding: 0.02em 0.22em 0; border-radius: 0.12em; background: var(--orange); color: #1c1410; font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; transform: rotate(-2deg); }

/* ---------- product page media ---------- */
.media-card { overflow: hidden; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); }
.media-card video, .media-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.media-card.is-wide video, .media-card.is-wide img { aspect-ratio: 16 / 10; }
.feature { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.feature h3 { margin-top: 10px; }
.feature p { margin-top: 8px; }
.model-co { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.model-co b { font-size: 15px; font-weight: 500; }
.model-co span { font-size: 15px; color: var(--muted); }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.screen { overflow: hidden; border-radius: var(--r-m); background: #0d0d0c; border: 1px solid var(--line); }
.screen video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.screen figcaption { padding: 12px 16px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(32px, 6vw, 96px); }

@media (max-width: 960px) {
  .noboard, .verdicts, .person, .paper, .versus, .layer { grid-template-columns: minmax(0, 1fr); }
  .paper-toc { display: none; }
  .prow { grid-template-columns: minmax(0, 1fr) auto 20px; align-items: start; gap: 8px 14px; }
  .prow-name { font-size: 26px; }
  .prow .chip, .prow .arrow { margin-top: 6px; }
  .prow-desc { grid-column: 1 / -1; grid-row: 2; }
  .prow-preview { display: none; }
  .tier { grid-template-columns: 36px minmax(0, 1fr); }
  .tier-tags { grid-column: 2; text-align: left; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 28px; }
  .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .js .timeline:not(.is-in)::before { transform: scaleY(0); }
  .timeline.is-in::before { transform: scaleY(1); }
  .tl-dot { position: absolute; left: -28px; top: 2px; margin: 0; }
  .tl-date { height: auto; margin-bottom: 4px; }
  .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .art-band img { aspect-ratio: 4 / 3; }
  .art-hero-aside { display: none; }
  .art-banner { display: none; }
  .person-photo { max-width: 260px; }
  .model-co { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  /* Figures keep a readable size and scroll sideways inside their frame. */
  .fig-stage { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fig-stage svg { width: 600px; max-width: none; }
  .art-hero { height: clamp(900px, 165vh, 1400px); }
  .art-clock { display: none; }
  .noboard-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .belief { grid-template-columns: 36px minmax(0, 1fr); }
  .screens { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .art-banner, .orbit-a, .orbit-b, .orbit-c, .verdict-card, .fig .spin, .term .caret { animation: none; }
  .ink .w { color: var(--ink); transition: none; }
  .fig .draw { stroke-dashoffset: 0; transition: none; }
  .fig .fade, .fig .pop, .fig .drop, .same-card, .tl { opacity: 1; transform: none; transition: none; }
  .stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg); transition: none; }
  .timeline::before { transform: none; transition: none; }
  .cursor { display: none; }
  .record-line { opacity: 1; transform: none; }
}
