/* KillBurger Corp: shared styles for every page */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  interpolate-size: allow-keywords;
  --bg: #07070a;
  --bg-2: #0d0d12;
  --panel: rgba(255,255,255,.028);
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #f4f1ec;
  --muted: #9a97a3;
  --dim: #5f5d68;
  --signal: #ff4a1c;
  --signal-2: #ff8a3d;
  --ok: #3ee08f;
  --rink: #5fb4ff;
  --rink-2: #ffae2b;
  --lace: #ed6d9f;
  --lace-2: #ffc2d8;
  --apex: #c07aff;
  --apex-2: #4adfff;
  --apex-3: #ff2ee8;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--signal); color: #0b0b0f; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--signal), var(--signal-2)); box-shadow: 0 0 12px rgba(255,74,28,.6); }

/* ---------- grain ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 100; opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px 0; transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,10,.66); border-color: var(--line); padding: 10px 0;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 17px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--muted); letter-spacing: .12em; padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 5px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.pill { color: var(--text); border: 1px solid var(--line-2); }
.nav-links a.pill:hover { border-color: var(--signal); background: rgba(255,74,28,.1); }
@media (max-width: 720px) { .nav-links a:not(.pill) { display: none; } .brand small { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 40px; overflow: hidden; isolation: isolate; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7,7,10,.2) 0%, rgba(7,7,10,0) 30%, rgba(7,7,10,.35) 70%, var(--bg) 100%),
    radial-gradient(120% 80% at 50% 110%, transparent 40%, rgba(7,7,10,.6) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255,74,28,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,74,28,.55); } 80%,100% { box-shadow: 0 0 0 10px rgba(255,74,28,0); } }
.kicker .sep { color: var(--dim); }

h1.display {
  margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: .92;
  font-size: clamp(64px, min(15vw, 19vh), 216px);
}
h1.display .serif { font-weight: 400; letter-spacing: -.02em; color: var(--signal); padding-right: .04em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s cubic-bezier(.2,.8,.1,1) forwards; }
.line:nth-child(2) > span { animation-delay: .09s; }
.line:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-top: clamp(28px, 4vh, 48px); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #c9c6cf; max-width: 46ch; margin: 0 0 28px; line-height: 1.5; }
.lede strong { color: var(--text); font-weight: 500; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px; transition: transform .25s cubic-bezier(.2,.8,.1,1), background .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--text); color: #0b0b0f; }
.btn-primary:hover { background: #fff; box-shadow: 0 10px 40px -10px rgba(255,74,28,.7); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }

/* status board */
.board {
  justify-self: end; width: 100%; max-width: 440px;
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20,20,26,.72), rgba(10,10,14,.72));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0; transform: translateY(20px); animation: fadeUp 1s .5s cubic-bezier(.2,.8,.1,1) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.board-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.board-head .live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.board-head .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); transition: background .2s; }
.board-row:last-child { border-bottom: 0; }
.board-row:hover { background: rgba(255,255,255,.035); }
.board-row img { width: 32px; height: 32px; border-radius: 8px; }
.board-row b { display: block; font-weight: 500; font-size: 14px; line-height: 1.2; }
.board-row span.dom { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.stat { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.stat i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.stat.up { color: var(--ok); } .stat.up i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.stat.down { color: var(--signal); } .stat.down i { background: var(--signal); }

.scroll-cue { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(28px, 5vh, 56px); padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); }
.scroll-cue .bar { width: 1px; height: 28px; background: linear-gradient(var(--text), transparent); animation: drop 1.8s infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  .hero-foot { grid-template-columns: 1fr; gap: 32px; }
  .board { justify-self: stretch; max-width: none; }
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(96px, 14vw, 180px) 0; }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: clamp(48px, 7vw, 88px); }
.sec-head .mono { color: var(--muted); padding-top: 14px; display: flex; gap: 10px; }
.sec-head .mono em { color: var(--signal); font-style: normal; }
h2 { margin: 0; font-weight: 600; letter-spacing: -.04em; line-height: .98; font-size: clamp(38px, 6vw, 84px); max-width: 16ch; }
h2 .serif { color: var(--muted); }
.sec-head p { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 24px 0 0; }
@media (max-width: 720px) { .sec-head { grid-template-columns: 1fr; gap: 12px; } .sec-head .mono { padding-top: 0; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats > div { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stats > div:last-child { border-right: 0; margin-right: 0; }
.stats .n { font-size: clamp(40px, 5vw, 68px); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats .n sup { font-size: .4em; color: var(--signal); vertical-align: top; margin-left: 2px; letter-spacing: 0; }
.stats .l { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 22ch; }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { margin-right: 0; padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 12px 24px 0; }
  .stats > div:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 0; }
  .stats > div:nth-child(even) { padding-left: 20px; }
}

/* ---------- portfolio cards ---------- */
.cards { display: grid; gap: 20px; }
.card {
  --accent: var(--signal); --accent-2: var(--signal-2);
  --mx: 50%; --my: 50%;
  position: relative; border-radius: 24px; isolation: isolate;
  background: linear-gradient(180deg, #111117, #0a0a0e);
  display: grid; grid-template-columns: 1fr 1.05fr; min-height: 520px; overflow: hidden;
}
.card::before { /* animated border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--angle), var(--line-2) 0deg, var(--line-2) 250deg, var(--accent) 300deg, var(--accent-2) 330deg, var(--line-2) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite; opacity: .55; transition: opacity .4s;
}
.card:hover::before { opacity: 1; }
@keyframes spin { to { --angle: 360deg; } }
.card::after { /* spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(600px circle at var(--mx) var(--my), color-mix(in oklab, var(--accent) 16%, transparent), transparent 45%);
}
.card:hover::after { opacity: 1; }
.card.rink { --accent: var(--rink); --accent-2: var(--rink-2); }
.card.lace { --accent: var(--lace); --accent-2: var(--lace-2); }
.card.apex { --accent: var(--apex); --accent-2: var(--apex-2); }

.card-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; position: relative; z-index: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.card-idx { color: var(--dim); }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, transparent); white-space: nowrap; }
.card-id { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.card-id img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 10px 30px -10px color-mix(in oklab, var(--accent) 70%, transparent), 0 0 0 1px rgba(255,255,255,.08); }
.card h3 { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.card .tag { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--accent); margin: 0 0 18px; letter-spacing: -.01em; }
.card p.desc { color: #b7b4bf; margin: 0 0 28px; max-width: 46ch; }
.feats { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 0; }
.feats li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: #d6d3dc; }
.feats li:last-child { border-bottom: 1px solid var(--line); }
.feats li::before { content: "→"; font-family: var(--mono); color: var(--accent); font-size: 12px; }
.card .visit { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; transition: all .3s cubic-bezier(.2,.8,.1,1); }
.card .visit svg { width: 14px; height: 14px; transition: transform .3s; }
.card .visit:hover { background: var(--accent); color: #0b0b0f; border-color: var(--accent); }
.card .visit:hover svg { transform: translate(2px,-2px); }

.card-actions { margin-top: auto; display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.card-actions .visit { margin-top: 0; }
.card .profile { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.card .profile svg { width: 14px; height: 14px; transition: transform .25s; }
.card .profile:hover { color: var(--text); }
.card .profile:hover svg { transform: translateX(3px); }
.card-vis { position: relative; overflow: hidden; border-left: 1px solid var(--line); background: radial-gradient(120% 90% at 70% 30%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 60%), #08080b; }
@media (max-width: 900px) {
  .card { grid-template-columns: 1fr; min-height: 0; }
  .card-vis { border-left: 0; border-top: 1px solid var(--line); min-height: 400px; order: 2; }
}

/* stacking on scroll (desktop, tall enough viewports) */
.slot > .card { transform-origin: 50% 0; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1)); }
@media (min-width: 901px) and (min-height: 760px) {
  .cards { gap: 40px; }
  .slot { position: sticky; top: calc(96px + var(--i) * 18px); }
  .slot > .card { box-shadow: 0 -24px 60px -18px rgba(0,0,0,.85); }
}

/* -- EveryRink visual: map -- */
.map { position: absolute; inset: 0; }
.map-grid { position: absolute; inset: -20%; background-image: linear-gradient(rgba(95,180,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(95,180,255,.07) 1px, transparent 1px); background-size: 36px 36px; transform: perspective(800px) rotateX(38deg) translateY(-6%); transform-origin: 50% 100%; }
.map svg.land { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 500; color: #eaf5ff; background: #13243a; border: 1px solid rgba(95,180,255,.5); box-shadow: 0 6px 20px -6px rgba(0,0,0,.8); }
.pin::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--rink); animation: halo 2.8s infinite; animation-delay: var(--d, 0s); }
.pin.big { width: 44px; height: 44px; font-size: 12.5px; background: linear-gradient(135deg, #1e4a7a, #13243a); border-color: var(--rink); }
.pin.hot { background: linear-gradient(135deg, #7a4a10, #3a2408); border-color: var(--rink-2); }
.pin.hot::after { border-color: var(--rink-2); }
@keyframes halo { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.sched { position: absolute; right: 7%; bottom: 9%; width: min(260px, 70%); border-radius: 14px; padding: 14px 16px; background: rgba(12,18,30,.82); border: 1px solid rgba(95,180,255,.25); backdrop-filter: blur(12px); box-shadow: 0 20px 50px -20px #000; animation: float 6s ease-in-out infinite; }
.sched .mono { color: var(--rink); font-size: 10.5px; }
.sched b { display: block; font-size: 15px; font-weight: 500; margin: 6px 0 10px; letter-spacing: -.01em; }
.sched .slots { display: flex; gap: 6px; flex-wrap: wrap; }
.sched .slots span { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(95,180,255,.1); color: #cfe6ff; }
.sched .slots span.now { background: var(--rink-2); color: #1a1004; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* -- Chatterlace visual: streams merging -- */
.merge { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 100%; align-items: center; padding: 28px; gap: 8px; }
.merge svg { width: 100%; height: 100%; max-height: 380px; min-height: 0; overflow: visible; }
.merge .flow { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 11; animation: flow 1.1s linear infinite; }
.merge .rail { fill: none; stroke: rgba(237,109,159,.14); stroke-width: 2; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.feed { position: relative; height: min(320px, 100%); border-radius: 16px; border: 1px solid rgba(237,109,159,.25); background: rgba(24,12,18,.7); overflow: hidden; backdrop-filter: blur(10px); }
.feed-head { position: relative; z-index: 1; background: #1a0d14; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid rgba(237,109,159,.15); color: var(--lace-2); font-size: 10.5px; }
.feed-list { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.msg { display: flex; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 12px; color: #e9dfe4; animation: pop .45s cubic-bezier(.2,.8,.1,1); }
.msg i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.msg .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.msg.tip { background: linear-gradient(90deg, rgba(237,109,159,.28), rgba(237,109,159,.08)); border: 1px solid rgba(237,109,159,.4); }
.msg.tip b { font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--lace-2); margin-left: auto; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (max-width: 520px) { .merge { grid-template-columns: .8fr 1.2fr; padding: 18px; } }

/* -- Apex visual: habit grid -- */
.apexvis { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; padding: 28px; }
.ring-wrap { display: flex; align-items: center; gap: 22px; }
.ring { width: 120px; height: 120px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 9; }
.ring .prog { fill: none; stroke: url(#apexg); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 2.2s cubic-bezier(.2,.8,.1,1); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .val b { font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1; display: block; }
.ring .val small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.streaks { display: grid; gap: 10px; }
.streak { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #d9d4e4; }
.streak .sw { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; }
.streak .mono { color: var(--muted); font-size: 10.5px; margin-left: auto; padding-left: 14px; }
.heat { display: grid; grid-template-columns: repeat(21, 1fr); gap: 4px; width: min(100%, 460px); }
.heat i { aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,.05); transition: background .5s, transform .5s; }
.heat i.l1 { background: rgba(192,122,255,.28); }
.heat i.l2 { background: rgba(192,122,255,.55); }
.heat i.l3 { background: var(--apex); }
.heat i.l4 { background: linear-gradient(135deg, var(--apex-3), var(--apex)); box-shadow: 0 0 10px rgba(255,46,232,.4); }
.heat i.today { outline: 1px solid var(--apex-2); outline-offset: 1px; }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pr { padding: 32px 28px 40px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.pr:last-child { border-right: 0; margin-right: 0; }
.pr .mono { color: var(--signal); }
.pr h4 { margin: 44px 0 12px; font-size: 22px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.pr p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .pr { border-bottom: 1px solid var(--line); }
  .pr:nth-child(2n) { border-right: 0; margin-right: 0; }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .pr { border-right: 0; margin-right: 0; padding-right: 0; }
  .pr h4 { margin-top: 20px; }
}

/* ---------- stack diagram ---------- */
.stack { margin-top: clamp(64px, 9vw, 110px); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.stack-top { display: flex; justify-content: center; }
.hq { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; border: 1px solid rgba(255,74,28,.45); background: rgba(255,74,28,.08); font-weight: 500; box-shadow: 0 0 60px -10px rgba(255,74,28,.45); }
.hq svg { width: 26px; height: 26px; }
.stack-lines { height: 64px; position: relative; }
.stack-lines svg { width: 100%; height: 100%; display: block; }
.stack-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.stack-lines path.pulse { stroke: var(--signal); stroke-dasharray: 16 400; animation: travel 2.6s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes travel { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -416; } }
.stack-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.node { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #0c0c10; transition: border-color .3s, transform .3s; }
.node:hover { border-color: var(--accent); transform: translateY(-2px); }
.node img { width: 34px; height: 34px; border-radius: 9px; }
.node b { font-weight: 500; font-size: 15px; display: block; line-height: 1.2; }
.node span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.shared { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.shared div { background: #0a0a0d; padding: 14px 16px; font-size: 13.5px; color: var(--muted); }
.shared div b { display: block; color: var(--text); font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.stack-label { text-align: center; color: var(--dim); margin: 18px 0 0; }
@media (max-width: 760px) {
  .stack-lines { display: none; }
  .stack-top { margin-bottom: 14px; }
  .stack-row { grid-template-columns: 1fr; }
  .shared { grid-template-columns: 1fr 1fr; }
}

/* ---------- closing ---------- */
.closing { padding: clamp(100px, 16vw, 200px) 0 clamp(60px, 8vw, 100px); text-align: center; overflow: hidden; position: relative; }
.closing::before { content: ""; position: absolute; left: 50%; top: 55%; width: 900px; height: 900px; max-width: 160vw; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,74,28,.18), transparent 60%); filter: blur(20px); pointer-events: none; z-index: -1; }
.closing h2 { margin: 0 auto; max-width: 18ch; font-size: clamp(44px, 8vw, 120px); }
.closing h2 .serif { color: var(--signal); }
.closing p { color: var(--muted); margin: 28px auto 40px; font-size: 18px; max-width: 44ch; }
.dest { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dest a { --accent: var(--text); display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-weight: 500; font-size: 15px; transition: all .3s cubic-bezier(.2,.8,.1,1); }
.dest a img { width: 32px; height: 32px; border-radius: 50%; }
.dest a:hover { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 12%, transparent); transform: translateY(-2px); }
.dest a span { font-family: var(--mono); font-size: 12px; color: var(--dim); }

.contact-line { margin: 44px auto 0 !important; font-size: 15px !important; color: var(--dim) !important; }
.contact-line a { color: var(--text); border-bottom: 1px solid rgba(255,74,28,.6); padding-bottom: 1px; transition: border-color .2s; }
.contact-line a:hover { border-color: var(--signal); }
.foot-mail { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--text); border-bottom: 1px solid rgba(255,74,28,.55); padding-bottom: 2px; }
.foot-mail:hover { border-color: var(--signal); }

/* ---------- faq ---------- */
.faq-list { border-bottom: 1px solid var(--line); }
@media (min-width: 721px) { .faq-list { margin-left: 252px; } }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-size: clamp(19px, 2.1vw, 26px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; transition: color .25s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #fff; }
.faq-list summary .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .45s cubic-bezier(.2,.8,.1,1), background .3s, border-color .3s; }
.faq-list summary .pm svg { width: 14px; height: 14px; }
.faq-list details[open] summary .pm { transform: rotate(45deg); background: var(--signal); border-color: var(--signal); color: #0b0b0f; }
.faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size .5s cubic-bezier(.2,.8,.1,1), content-visibility .5s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-list .ans { padding: 0 60px 30px 0; color: var(--muted); font-size: 17px; max-width: 70ch; }
.faq-list .ans p { margin: 0 0 12px; }
.faq-list .ans a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255,74,28,.6); text-underline-offset: 3px; }
.faq-list .ans a:hover { text-decoration-color: var(--signal); }
.faq-list .ans ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.faq-list .ans li { padding-left: 18px; position: relative; }
.faq-list .ans li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--signal); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 0; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.foot-grid p { color: var(--muted); font-size: 15px; max-width: 36ch; margin: 18px 0 0; }
.foot-col h3 { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 6px 0 18px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-col a { color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-col a img { width: 20px; height: 20px; border-radius: 6px; }
.foot-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--dim); }

.foot-bar a { color: var(--muted); transition: color .2s; } .foot-bar a:hover { color: var(--text); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.wordmark { font-size: clamp(56px, 15vw, 240px); font-weight: 700; letter-spacing: -.06em; line-height: .78; text-align: center; margin: 0; padding: 40px 0 0; user-select: none;
  background: linear-gradient(180deg, rgba(244,241,236,.14), rgba(244,241,236,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; overflow: hidden; }

/* ---------- company pages ---------- */
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.co-hero { position: relative; padding: 132px 0 0; isolation: isolate; overflow: hidden; }
.co-glow { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(760px 520px at 80% 0%, color-mix(in oklab, var(--accent) 32%, transparent), transparent 65%),
    radial-gradient(560px 420px at 100% 60%, color-mix(in oklab, var(--accent-2) 16%, transparent), transparent 65%),
    radial-gradient(640px 480px at 0% 30%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 70%); }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; color: var(--dim); margin-bottom: 44px; }
.crumbs a { color: var(--muted); transition: color .2s; } .crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--accent); }
.co-hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: end; }
.co-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.co-badges .chip { border-color: color-mix(in oklab, var(--accent) 45%, transparent); color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, transparent); }
.co-title { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.co-title img { width: clamp(64px, 8vw, 104px); height: auto; aspect-ratio: 1; border-radius: 24%; box-shadow: 0 24px 60px -18px color-mix(in oklab, var(--accent) 80%, transparent), 0 0 0 1px rgba(255,255,255,.1); animation: fadeUp 1s cubic-bezier(.2,.8,.1,1) both; }
.co-title h1 { margin: 0; font-size: clamp(52px, 9vw, 132px); font-weight: 600; letter-spacing: -.05em; line-height: .9; animation: fadeUp 1s .08s cubic-bezier(.2,.8,.1,1) both; }
.co-tag { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; color: var(--accent); margin: 22px 0 22px; letter-spacing: -.01em; animation: fadeUp 1s .16s cubic-bezier(.2,.8,.1,1) both; }
.co-intro .lede { animation: fadeUp 1s .22s cubic-bezier(.2,.8,.1,1) both; }
.co-intro .ctas { animation: fadeUp 1s .28s cubic-bezier(.2,.8,.1,1) both; }
.company .btn-primary:hover { box-shadow: 0 10px 40px -10px color-mix(in oklab, var(--accent) 80%, transparent); }
.facts { border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(20,20,26,.72), rgba(10,10,14,.72)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); animation: fadeUp 1s .3s cubic-bezier(.2,.8,.1,1) both; }
.facts-head { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.facts-head span:last-child { color: var(--accent); }
.facts dl { margin: 0; }
.facts dl > div { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }
.facts dd { margin: 0; color: #d6d3dc; }
.facts dd a { color: var(--text); border-bottom: 1px solid color-mix(in oklab, var(--accent) 60%, transparent); }
.facts dd a:hover { border-color: var(--accent); }
.co-stage { position: relative; margin-top: clamp(48px, 6vw, 80px); height: clamp(360px, 42vw, 540px); border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -40px color-mix(in oklab, var(--accent) 45%, transparent); animation: fadeUp 1.1s .35s cubic-bezier(.2,.8,.1,1) both; }
.co-stage .card-vis { position: absolute; inset: 0; border: 0; }
.co-stage.apex .heat { width: min(100%, 640px); }
.co-stage.apex .ring { width: 150px; height: 150px; }
.co-stats-sec { padding-bottom: clamp(72px, 10vw, 140px); }
.company .stats .n { color: var(--text); }
.feats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.feat { position: relative; background: #0a0a0d; padding: 30px 28px 34px; transition: background .3s; }
.feat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2,.8,.1,1); }
.feat:hover { background: #0e0e12; }
.feat:hover::before { transform: scaleX(1); }
.feat .mono { color: var(--accent); }
.feat h3 { margin: 38px 0 10px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.audience { margin: clamp(56px, 8vw, 96px) 0 0; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; max-width: 26ch; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.more-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #111117, #0a0a0e); transition: border-color .3s, transform .3s cubic-bezier(.2,.8,.1,1), box-shadow .3s; }
.more-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 24px 60px -30px color-mix(in oklab, var(--accent) 70%, transparent); }
.more-card img { width: 56px; height: 56px; border-radius: 14px; }
.more-card .mono { color: var(--dim); font-size: 10.5px; }
.more-card b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; margin: 4px 0 2px; }
.more-card em { font-family: var(--serif); font-size: 19px; color: var(--accent); }
.more-card .go { width: 20px; height: 20px; color: var(--muted); transition: transform .3s, color .3s; }
.more-card:hover .go { transform: translateX(4px); color: var(--accent); }
.company .closing::before { background: radial-gradient(circle, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%); }
.company .closing h2 .serif { color: var(--accent); }
.company .progress { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px color-mix(in oklab, var(--accent) 60%, transparent); }
.foot-col a[aria-current="page"] { color: var(--text); }
@media (max-width: 720px) {
  .company .nav-links { gap: 2px; }
  .company .nav-links a:not(.pill) { display: inline-flex; padding: 8px 10px; font-size: 13.5px; }
}
@media (max-width: 420px) { .company .brand { font-size: 0; gap: 0; } .company .brand small { display: none; } }
@media (max-width: 1000px) { .feats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .co-hero { padding-top: 110px; }
  .co-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .co-stage { height: 420px; }
}
@media (max-width: 640px) {
  .feats-grid { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .facts dl > div { grid-template-columns: 92px 1fr; }
  .co-stage { height: 380px; }
  .co-stage.apex .ring-wrap { flex-direction: column; gap: 16px; }
}

/* ---------- the burger: hero mark + strike ---------- */
.hero-top { display: grid; grid-template-columns: 1fr minmax(0, .9fr); gap: 24px; align-items: center; }
.hero-mark { position: relative; justify-self: end; width: min(100%, 520px, 52vh); aspect-ratio: 1; animation: markFloat 9s ease-in-out 2.2s infinite; }
.hero-mark::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255,74,28,.55), rgba(255,74,28,0) 65%); filter: blur(30px); opacity: 0; animation: markGlow 2.4s 1.25s ease-out forwards; }
.hero-mark svg { position: relative; width: 100%; height: 100%; overflow: visible; animation: impact .55s 1.42s cubic-bezier(.3,0,.3,1) both; }
.hero-mark .l1, .hero-mark .l2, .hero-mark .l3 { transform-box: fill-box; transform-origin: 50% 50%; transition: translate .6s cubic-bezier(.2,.8,.1,1); }
.hero-mark .l1 { animation: bunDrop .95s .15s cubic-bezier(.2,1.35,.35,1) both; }
.hero-mark .l2 { animation: pattySlide .85s .38s cubic-bezier(.2,1.25,.35,1) both; }
.hero-mark .l3 { animation: bunRise .95s .55s cubic-bezier(.2,1.35,.35,1) both; }
.hero-mark .slash, .hero-mark .cut { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: strike .3s 1.15s cubic-bezier(.75,0,.25,1) forwards; }
.hero-mark .slash { filter: drop-shadow(0 0 1.6px rgba(255,74,28,.9)); }
.hero-mark:hover .l1 { translate: 0 -2.5px; }
.hero-mark:hover .l3 { translate: 0 2.5px; }
@keyframes bunDrop { from { transform: translateY(-70%); opacity: 0; } }
@keyframes pattySlide { from { transform: translateX(-35%) scaleX(.6); opacity: 0; } }
@keyframes bunRise { from { transform: translateY(70%); opacity: 0; } }
@keyframes strike { to { stroke-dashoffset: 0; } }
@keyframes impact { 0% { transform: none; } 18% { transform: translate(-1.4%, 1%) rotate(-1.2deg) scale(1.02); } 38% { transform: translate(1.2%, -.8%) rotate(.8deg); } 60% { transform: translate(-.5%, .4%); } 100% { transform: none; } }
@keyframes markGlow { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: .5; } }
@keyframes markFloat { 50% { transform: translateY(-10px) rotate(-.6deg); } }

/* the struck word */
.kill { position: relative; display: inline-block; color: var(--text); font-weight: 400; letter-spacing: -.02em; padding: 0 .04em; }
.kill i { position: absolute; left: -4%; right: -4%; top: 76%; height: .085em; min-height: 4px; border-radius: 99px; background: var(--signal); box-shadow: 0 0 24px rgba(255,74,28,.7); transform-origin: 0 50%; transform: rotate(-10deg) scaleX(0); animation: wordStrike .38s 1.55s cubic-bezier(.75,0,.25,1) forwards; }
@keyframes wordStrike { to { transform: rotate(-10deg) scaleX(1); } }
h1.display .line:nth-child(3) { padding: .2em .3em; margin: -.2em -.3em 0; }
h1.display .kill { color: var(--text); padding-right: .06em; }
@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-mark { order: -1; justify-self: start; width: min(46vw, 220px); margin-bottom: 8px; }
}

/* ---------- manifesto: anatomy of a burger ---------- */
/* One idea on screen at a time: the burger explodes, each layer is lit and named in
   turn, then it restacks and gets struck through, becoming the logo. */
.anatomy { position: relative; border-top: 1px solid var(--line); background: radial-gradient(900px 640px at 30% 55%, rgba(255,74,28,.08), transparent 70%), var(--bg); }
.anatomy-track { height: 460vh; }
.anatomy-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 84px; }
.anatomy-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 96px); row-gap: clamp(16px, 3vh, 36px); align-items: center; height: min(100%, 760px); }
.anat-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.anat-top em { color: var(--signal); font-style: normal; }
.anat-top .sep { color: var(--dim); }
.anat-steps { display: flex; gap: 6px; }
.anat-steps i { width: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); transition: background .4s; }
.anatomy[data-step="0"] .anat-steps i:nth-child(-n+1),
.anatomy[data-step="1"] .anat-steps i:nth-child(-n+2),
.anatomy[data-step="2"] .anat-steps i:nth-child(-n+3),
.anatomy[data-step="3"] .anat-steps i:nth-child(-n+4),
.anatomy[data-step="4"] .anat-steps i { background: var(--signal); }

.anat-stage { --spread: 0; --strike: 0; position: relative; justify-self: center; width: min(100%, 58vh); aspect-ratio: 1; }
.anat-stage::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(255,74,28,.35), transparent 65%); filter: blur(30px); opacity: 0; transition: opacity .8s; }
.anatomy.killed .anat-stage::before { opacity: .8; }
.anat-svg { width: 100%; height: 100%; overflow: visible; }
.anat-svg .a-frame { opacity: .8; }
.anat-svg .a-g { transition: opacity .45s; }
.anat-svg .a-l { fill: #f4f1ec; }
.anat-svg .a-g1 { transform: translateY(calc(var(--spread) * -9px)); }
.anat-svg .a-g3 { transform: translateY(calc(var(--spread) * 9px)); }
.anat-svg .a-br { opacity: 0; transition: opacity .35s; }
.anatomy[data-step="1"] .a-g:not(.a-g1), .anatomy[data-step="2"] .a-g:not(.a-g2), .anatomy[data-step="3"] .a-g:not(.a-g3) { opacity: .14; }
.anatomy[data-step="1"] .a-g1 .a-br, .anatomy[data-step="2"] .a-g2 .a-br, .anatomy[data-step="3"] .a-g3 .a-br { opacity: 1; }
.anat-svg .a-slash, .anat-svg .a-cut { stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--strike)); }
.anat-svg .a-slash { filter: drop-shadow(0 0 1.6px rgba(255,74,28,.9)); }
.anatomy.killed .anat-svg { animation: impact .5s cubic-bezier(.3,0,.3,1); }

.anat-captions { display: grid; align-items: center; }
.cap { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); filter: blur(6px); pointer-events: none; transition: opacity .45s, transform .6s cubic-bezier(.2,.8,.1,1), filter .45s; }
.anatomy[data-step="0"] .cap[data-cap="0"], .anatomy[data-step="1"] .cap[data-cap="1"], .anatomy[data-step="2"] .cap[data-cap="2"],
.anatomy[data-step="3"] .cap[data-cap="3"], .anatomy[data-step="4"] .cap[data-cap="4"] { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.cap h2 { font-size: clamp(40px, 5.4vw, 84px); max-width: 10ch; }
.cap h2 .serif { color: var(--signal); }
.cap h3 { margin: 10px 0 0; font-size: clamp(56px, 8vw, 128px); font-weight: 600; letter-spacing: -.055em; line-height: .92; }
.cap h3 .serif { color: var(--signal); font-weight: 400; letter-spacing: -.02em; }
.cap .mono { color: var(--signal); font-size: 12px; }
.cap p { margin: 22px 0 0; color: var(--muted); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; max-width: 34ch; }
.cap[data-cap="4"] p { color: var(--text); }
.cap-struck { display: flex; gap: 20px; color: var(--dim) !important; font-size: 14px !important; }
.cap-struck s::after { transition-delay: .1s; }
.cap-struck s:nth-child(2)::after { transition-delay: .2s; }
.cap-struck s:nth-child(3)::after { transition-delay: .3s; }
.anatomy.killed .cap-struck s::after { transform: rotate(-9deg) scaleX(1); }
@media (max-width: 820px) {
  .anatomy-inner { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; align-content: center; row-gap: 20px; }
  .anat-top > span:first-child { font-size: 10.5px; }
  .anat-steps i { width: 16px; }
  .anat-stage { width: min(72vw, 36svh); }
  .anat-captions { align-items: start; }
  .cap h2 { font-size: clamp(32px, 9vw, 48px); }
  .cap h3 { font-size: clamp(48px, 15vw, 72px); }
  .cap p { margin-top: 12px; font-size: 15.5px; }
}
@media (max-height: 640px) and (max-width: 820px) { .cap p { display: none; } }

/* principles: every rule starts by crossing something out */
.pr h4 { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 36px; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.pr h4 s { color: var(--dim); font-size: .46em; font-weight: 400; letter-spacing: -.02em; }
.pr.in h4 s::after { transform: rotate(-9deg) scaleX(1); transition-delay: calc(var(--delay, 0s) + .35s); }

/* ---------- founders ---------- */
.founders-stats { margin-bottom: clamp(48px, 7vw, 80px); }
.founders-stats .n { font-size: clamp(36px, 4.4vw, 64px); }
.hq span { display: flex; flex-direction: column; line-height: 1.2; }
.hq small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); font-weight: 400; margin-top: 3px; }
.foot-motto { color: var(--muted); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2,.8,.1,1), transform 1s cubic-bezier(.2,.8,.1,1); transition-delay: var(--delay, 0s); }
.rv.in { opacity: 1; transform: none; }
h2.rv { filter: blur(12px); transition: opacity 1.1s cubic-bezier(.2,.8,.1,1), transform 1.1s cubic-bezier(.2,.8,.1,1), filter 1.1s cubic-bezier(.2,.8,.1,1); }
h2.rv.in { filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .line > span { transform: none; }
  .rv, h2.rv { opacity: 1; transform: none; filter: none; }
  .slot > .card { transform: none !important; filter: none !important; }
  .anatomy-track { height: auto; }
  .anatomy-sticky { position: static; height: auto; padding: 96px 0; }
  .anatomy-inner { height: auto; }
  .anat-captions { gap: 40px; }
  .cap { grid-area: auto; opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-mark .slash, .hero-mark .cut { stroke-dashoffset: 0; }
  .kill i { transform: rotate(-10deg) scaleX(1); }
  .board { opacity: 1; transform: none; }
}
