/* Evil Genius Labs — one stylesheet for every page.
   Calm, light, lots of air: warm off-white paper, near-black type, pill buttons,
   soft rounded cards, one gradient "specimen" per project. */

:root {
  --paper: #fdfcfc;
  --card: #f5f3f1;
  --card-2: #efece8;
  --line: #e0dfdd;
  --ink: #0b0b0b;
  --ink-2: #57524c;      /* secondary text, 7.4:1 on paper */
  --ink-3: #78716a;      /* labels only, 4.6:1 on paper */
  --accent: #ff4704;
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Geist", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label { font: 500 12px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 17px/1 var(--display); letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); transition: background .2s var(--ease), color .2s var(--ease); }
.nav a:hover { background: var(--card); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--card); }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--body); text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); transition: transform .16s var(--ease), background .2s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections */
section { padding: clamp(64px, 10vw, 128px) 0; }
.hero { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { max-width: 14ch; margin: 18px 0 24px; }
.hero .lede { margin-bottom: 32px; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* Specimen: the soft gradient field each project gets */
.specimen { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); isolation: isolate; }
.specimen::before { content: ""; position: absolute; inset: -20%; z-index: -1; filter: blur(48px); opacity: .9; background: var(--field); animation: drift 22s var(--ease) infinite alternate; }
.field-lab { --field: radial-gradient(40% 50% at 30% 40%, #ffb36b 0, transparent 70%), radial-gradient(35% 45% at 70% 60%, #8fb3ff 0, transparent 70%), radial-gradient(30% 40% at 55% 25%, #ff4704aa 0, transparent 70%); }
.field-gold { --field: radial-gradient(45% 55% at 35% 45%, #f2c76e 0, transparent 70%), radial-gradient(35% 45% at 70% 60%, #fff1cc 0, transparent 70%), radial-gradient(30% 40% at 60% 20%, #d79a3a99 0, transparent 70%); }
.field-sage { --field: radial-gradient(45% 55% at 30% 50%, #a9d4b5 0, transparent 70%), radial-gradient(35% 45% at 72% 40%, #f3e2b8 0, transparent 70%), radial-gradient(30% 40% at 55% 75%, #6fa88a88 0, transparent 70%); }
.field-dusk { --field: radial-gradient(45% 55% at 30% 50%, #c7b8ff 0, transparent 70%), radial-gradient(35% 45% at 70% 45%, #ffc2a8 0, transparent 70%), radial-gradient(30% 40% at 50% 80%, #8fb3ff99 0, transparent 70%); }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(8deg) scale(1.06); } }

.hero-specimen { aspect-ratio: 16 / 7; margin-top: clamp(40px, 6vw, 72px); display: grid; place-items: center; }
.hero-specimen .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 24px; }
.chip { background: rgba(253,252,252,.82); border: 1px solid rgba(0,0,0,.06); border-radius: 999px; padding: 10px 16px; font-size: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip b { font-weight: 500; }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin-bottom: 4px; }
.card p { color: var(--ink-2); margin: 0; }
.card .num { font: 400 clamp(2rem, 4vw, 2.8rem)/1 var(--display); letter-spacing: -0.03em; }

/* Project cards */
.project { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; align-items: stretch; }
.project + .project { margin-top: 16px; }
.project .specimen { min-height: 360px; display: grid; place-items: center; padding: clamp(20px, 3vw, 36px); }
.project .specimen img { border-radius: var(--radius-sm); box-shadow: 0 18px 50px -20px rgba(0,0,0,.35); }
.project .card { justify-content: space-between; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.facts strong { display: block; font: 400 1.6rem/1.1 var(--display); letter-spacing: -0.02em; }
.facts span { font-size: 13px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font: 500 12px/1 var(--mono); padding: 8px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; min-height: 44px; }
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }

/* Mock browser frame for site projects */
.frame { width: 100%; max-width: 520px; background: var(--paper); border-radius: var(--radius-sm); box-shadow: 0 18px 50px -20px rgba(0,0,0,.35); overflow: hidden; }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame-body { padding: 20px; display: grid; gap: 10px; }
.frame-body .t { font: 400 1.35rem/1.15 var(--display); letter-spacing: -0.02em; }
.tool-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tool-list span { font-size: 13px; background: var(--card); border-radius: 10px; padding: 9px 10px; }

/* Before / after compare */
.compare { position: relative; overflow: hidden; border-radius: var(--radius-sm); touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 18px 50px -20px rgba(0,0,0,.35); cursor: ew-resize; }
.compare img { width: 100%; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split, 50%)); }
.compare .after img { height: 100%; object-fit: cover; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: #fff; transform: translateX(-1px); }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.compare .tag { position: absolute; bottom: 12px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(0,0,0,.6); color: #fff; padding: 7px 9px; border-radius: 999px; }
.compare .tag.l { left: 12px; } .compare .tag.r { right: 12px; }
.compare input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; }

/* People */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--card); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease); }
.person:hover { transform: translateY(-2px); }
.person .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1); transition: filter .4s var(--ease); }
.person:hover .ph img { filter: none; }
.person .ph.placeholder { display: grid; place-items: center; font: 400 4rem/1 var(--display); color: rgba(11,11,11,.55); }
.person .body { padding: 24px 28px 28px; display: grid; gap: 6px; }
.person .body p { color: var(--ink-2); margin: 0; }

/* Profile pages */
.profile { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.profile .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); position: sticky; top: 88px; }
.profile .ph img { width: 100%; height: 100%; object-fit: cover; }
.profile .ph.placeholder { display: grid; place-items: center; font: 400 6rem/1 var(--display); color: rgba(11,11,11,.55); }
.profile h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 14px 0 20px; }
.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list li .label { padding-top: 4px; }
.note { border: 1px dashed var(--ink-3); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--ink-2); background: var(--paper); }

/* Expertise */
.skill { display: grid; grid-template-columns: 4rem 1fr 1.2fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.skill:last-child { border-bottom: 1px solid var(--line); }
.skill .label { padding-top: 8px; }
.skill p { color: var(--ink-2); margin: 0; }
.skill .tags { margin-top: 12px; }

/* Why band */
.band { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(32px, 6vw, 72px); }
.band .label { color: #a8a29b; }
.band h2 { margin: 16px 0 28px; max-width: 18ch; }
.band .grid p { color: #c9c4be; margin: 0; }
.band h3 { margin-bottom: 8px; }

/* CTA + footer */
.cta { text-align: center; display: grid; justify-items: center; gap: 20px; }
.cta h2 { max-width: 16ch; }
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Reveal on scroll (only when motion is allowed and JS ran) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (hover: none) { .nav a:hover, .person:hover { background: inherit; transform: none; } }

@media (max-width: 900px) {
  .project, .profile { grid-template-columns: 1fr; }
  .profile .ph { position: static; max-width: 420px; }
  .grid-3 { grid-template-columns: 1fr; }
  .skill { grid-template-columns: 1fr; gap: 10px; }
  .hero-specimen { aspect-ratio: auto; min-height: 280px; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: 500 14px/1 var(--body); padding: 0 16px; color: var(--ink); }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .grid-2, .people { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts strong { font-size: 1.25rem; }
  .list li { grid-template-columns: 1fr; gap: 4px; }
  .project .specimen { min-height: 260px; }
  .tool-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .specimen::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* v2: lab + Luster toolkit */
.hero-photo { margin: clamp(40px, 6vw, 72px) 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--card); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.band-lede { color: #c9c4be; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; margin: 0; }
.band h2 + .band-lede { margin-top: -12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.project-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 12px; }
.product-logo { width: 44px; height: auto; margin-bottom: 14px; }
.product-logo.lg { width: 56px; }
.product-head { display: flex; align-items: center; gap: 14px; }
.product-head .product-logo { margin: 0; }
.open-slot { grid-template-columns: 1fr; }
.open-slot .card { border: 1px dashed var(--ink-3); background: var(--paper); align-items: flex-start; }

/* Scene: a real photo behind real app screens */
.scene { background: var(--scene) center / cover no-repeat, var(--card); }
.scene::before { display: none; }
.project .scene { min-height: 400px; }
.hero-scene { margin-top: clamp(40px, 6vw, 72px); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 40px); }
.phone { width: clamp(150px, 20vw, 230px); aspect-ratio: 452 / 992; border-radius: 30px; padding: 7px; background: #111; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), inset 0 0 0 1px #333; flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: none !important; }
.phone.back { margin-top: 14%; rotate: 4deg; }
.hero-scene .phone:first-child { rotate: -3deg; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 4vw, 56px); align-items: center; }
.feature + .feature { margin-top: clamp(32px, 6vw, 72px); }
.feature.flip .feature-media { order: 2; }
.feature-media { min-height: 380px; display: grid; place-items: center; padding: clamp(20px, 3vw, 36px); }
.feature-copy { display: grid; gap: 12px; max-width: 30em; }
.feature-copy p { color: var(--ink-2); margin: 0; }
.feature-copy strong { color: var(--ink); font-weight: 500; }
.batch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 480px; }
.batch-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); }
.brackets { display: grid; grid-template-columns: repeat(3, 1fr) auto 1.6fr; gap: 8px; align-items: center; width: 100%; }
.brackets img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); }
.brackets .under { filter: brightness(.45) contrast(1.1); }
.brackets .over { filter: brightness(1.7) saturate(.7); }
.brackets .merged { aspect-ratio: 4 / 5; }
.brackets .arrow { font: 400 1.4rem/1 var(--display); color: var(--ink-2); }
.flyers { position: relative; width: 100%; max-width: 440px; height: 340px; }
.flyers img { position: absolute; width: 56%; top: 50%; left: 50%; border-radius: 8px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); }
.flyers img:nth-child(1) { transform: translate(-95%, -50%) rotate(-7deg); }
.flyers img:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.flyers img:nth-child(3) { transform: translate(-5%, -50%) rotate(7deg); }
.next-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.next-head img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.next-grid > div { border-top: 1px solid #3a3733; padding-top: 16px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .hero-scene { aspect-ratio: 4 / 5; }
  .next-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .feature-media { min-height: 300px; }
  .phone { width: 42vw; max-width: 200px; border-radius: 24px; padding: 5px; }
  .phone img { border-radius: 19px; }
  .project .scene { min-height: 320px; }
  .flyers { height: 260px; }
}

/* v3 home: bold hero, manifesto, compact founders, dark closer */
.hero-kicker { font: 400 clamp(1.6rem, 4vw, 3.2rem)/1.05 var(--display); letter-spacing: -0.03em; color: var(--accent); margin: 14px 0 28px; }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.ghost-light { background: transparent; color: var(--paper); border: 1px solid rgba(253,252,252,.4); }
.btn.ghost-light:hover { border-color: var(--paper); }
.manifesto .statement { font: 400 clamp(1.9rem, 4.6vw, 3.8rem)/1.1 var(--display); letter-spacing: -0.035em; max-width: 22ch; margin: 18px 0 clamp(40px, 6vw, 72px); text-wrap: balance; }
.manifesto .statement em { font-style: normal; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.pillars div { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 6px; }
.pillars strong { font: 500 clamp(1.3rem, 2vw, 1.6rem)/1.1 var(--display); letter-spacing: -0.02em; }
.pillars span { color: var(--ink-2); }
.founders-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; align-items: end; }
.founders-row h2 { margin-top: 16px; max-width: 12ch; }
.founder { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: var(--paper); }
.founder img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1); transition: filter .4s var(--ease), transform .6s var(--ease); }
.founder:hover img { filter: none; transform: scale(1.03); }
.founder span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #ddd8d2; }
.founder b { display: block; font: 500 1.35rem/1.1 var(--display); letter-spacing: -0.02em; text-transform: none; color: var(--paper); margin-bottom: 4px; }
.closer-panel { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(36px, 7vw, 96px); display: grid; gap: 18px; justify-items: start; }
.closer-panel .label { color: #a8a29b; }
.closer-panel h2 { font-size: clamp(3rem, 9vw, 7rem); line-height: .95; letter-spacing: -0.05em; font-weight: 500; }
.closer-panel .lede { color: #c9c4be; margin: 0 0 8px; }
@media (max-width: 900px) {
  .founders-row { grid-template-columns: 1fr 1fr; }
  .founders-row > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
}
@media (hover: none) { .founder:hover img { transform: none; } }

/* v4 home hero: aurora wash + grainy orbs */
.hero-orbs { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); min-height: min(92svh, 940px); display: flex; align-items: flex-end; padding: clamp(120px, 16vw, 200px) 0 clamp(56px, 8vw, 104px); }
.hero-orbs .wrap { width: 100%; position: relative; }
.hero-orbs h1 { font-size: clamp(3.2rem, 7.4vw, 7.6rem); line-height: .92; letter-spacing: -0.05em; max-width: 10ch; margin: 20px 0 0; font-weight: 500; }
.hero-orbs .hero-kicker { color: var(--ink); }
.hero-orbs .lede { margin-bottom: 32px; }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.au { position: absolute; border-radius: 50%; will-change: transform; animation: au-drift 26s var(--ease-in-out) infinite alternate; }
.au1 { width: 70vw; height: 70vw; right: -18vw; top: -30vw; background: radial-gradient(closest-side, rgba(110,160,255,.55), rgba(110,160,255,0)); }
.au2 { width: 56vw; height: 56vw; right: 10vw; top: 6vw; background: radial-gradient(closest-side, rgba(255,205,90,.5), rgba(255,205,90,0)); animation-duration: 31s; animation-delay: -8s; }
.au3 { width: 50vw; height: 50vw; right: -14vw; bottom: -26vw; background: radial-gradient(closest-side, rgba(176,120,84,.42), rgba(176,120,84,0)); animation-duration: 35s; animation-delay: -14s; }
.au4 { width: 44vw; height: 44vw; left: -14vw; top: -18vw; background: radial-gradient(closest-side, rgba(200,170,255,.35), rgba(200,170,255,0)); animation-duration: 29s; animation-delay: -4s; }
@keyframes au-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(-6%, 5%, 0) scale(1.12); } }
.hero-orbs::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); gap: clamp(16px, 3vw, 48px); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.orbit { position: relative; aspect-ratio: 4 / 5; pointer-events: none; }
.orb-wrap { position: absolute; will-change: transform; }
.orb { width: 100%; height: auto; opacity: 0; transform: scale(.92); animation: orb-in 1.4s var(--ease) forwards, orb-float 9s var(--ease-in-out) 1.4s infinite alternate; filter: drop-shadow(0 30px 40px rgba(80, 50, 30, .16)); }
.ow1 { width: 80%; right: 0; top: 2%; }
.ow2 { width: 44%; left: -2%; top: 62%; }
.ow3 { width: 36%; right: 2%; bottom: 0; }
.ow4 { width: 17%; left: 10%; top: 12%; }
.ow1 .orb { animation-delay: .25s, 1.65s; }
.ow2 .orb { animation-delay: .4s, 1.8s; animation-duration: 1.4s, 11s; }
.ow3 .orb { animation-delay: .55s, 1.95s; animation-duration: 1.4s, 13s; }
.ow4 .orb { animation-delay: .7s, 2.1s; animation-duration: 1.4s, 7s; opacity: 0; }
@keyframes orb-in { to { opacity: 1; transform: scale(1); } }
@keyframes orb-float { from { translate: 0 0; rotate: 0deg; } to { translate: 0 -14px; rotate: 6deg; } }

/* Gradient word: in oklch so blue to amber never passes through mud */
.gword { display: inline-block; padding-right: .06em; color: #3d6bff; background: linear-gradient(100deg, #2f6bff, #8b5cf6 33%, #ff7a3d 66%, #f5b301 85%, #2f6bff); background: linear-gradient(in oklch 100deg, #2f6bff, #8b5cf6 33%, #ff7a3d 66%, #f5b301 85%, #2f6bff); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 9s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* Headline entrance: words rise in, 70ms apart */
.split .w { display: inline-block; opacity: 0; transform: translateY(42%); animation: rise .95s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
.split .w.gword { animation: rise .95s var(--ease) forwards, shimmer 9s linear infinite; animation-delay: calc(var(--i) * 70ms + 120ms), 0s; }
.rise { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Ambient life on product media */
.batch-grid img { opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.in .batch-grid img { opacity: 1; transform: none; }
.batch-grid img:nth-child(2) { transition-delay: 60ms; } .batch-grid img:nth-child(3) { transition-delay: 120ms; } .batch-grid img:nth-child(4) { transition-delay: 180ms; } .batch-grid img:nth-child(5) { transition-delay: 240ms; } .batch-grid img:nth-child(6) { transition-delay: 300ms; }
.brackets img, .brackets .arrow { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.in .brackets img, .in .brackets .arrow { opacity: 1; transform: none; }
.brackets .mid { transition-delay: 120ms; } .brackets .over { transition-delay: 240ms; } .brackets .arrow { transition-delay: 380ms; }
.brackets .merged { transform: scale(.94); transition-delay: 500ms; }
.flyers img { transition: transform 1.1s var(--ease); }
.js .feature:not(.in) .flyers img { transform: translate(-50%, -50%) rotate(0deg); }
.flyers img:nth-child(3) { transition-delay: 80ms; }

/* Scroll-linked depth where supported */
@supports (animation-timeline: view()) {
  .orbit { animation: drift-up linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .hero-photo img, .next-head img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
}
@keyframes drift-up { to { transform: translateY(-18%); } }
@keyframes lift { from { transform: translateY(24px); } to { transform: translateY(-24px); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 720px) {
  .hero-orbs { min-height: 92svh; padding-top: 88px; }
  .au1 { width: 140vw; height: 140vw; right: -60vw; top: -50vw; }
  .au2 { width: 110vw; height: 110vw; right: -20vw; top: 10vw; }
  .au3 { width: 100vw; height: 100vw; right: -50vw; bottom: -40vw; }
  .au4 { width: 90vw; height: 90vw; left: -40vw; top: -30vw; }
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { order: -1; aspect-ratio: 16 / 11; margin: -24px 0 8px; }
  .ow1 { width: 50%; right: -4%; top: 0; }
  .ow2 { width: 32%; left: 2%; top: 30%; }
  .ow3 { width: 22%; right: 40%; top: 58%; bottom: auto; }
  .ow4 { width: 12%; left: 34%; top: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  .au, .phone, .gword, .split .w.gword { animation: none; }
  .orb, .split .w, .rise { transform: none; animation: fade-in .4s ease forwards !important; animation-delay: 0s !important; }
  .batch-grid img, .brackets img, .brackets .arrow, .flyers img { transform: none !important; transition: opacity .3s ease; }
  .js .feature:not(.in) .flyers img { transform: none; }
  .orbit, .hero-scene .phone, .project .scene .phone, .hero-photo img, .next-head img { animation: none !important; }
}
@keyframes fade-in { to { opacity: 1; } }

/* v5: motion on every page */
.js .profile .ph { clip-path: inset(100% 0 0 0 round var(--radius)); animation: unclip 1.2s var(--ease) .15s forwards; }
.js .profile .ph img { transform: scale(1.12); animation: settle-in 1.8s var(--ease) .15s forwards; }
@keyframes unclip { to { clip-path: inset(0 0 0 0 round var(--radius)); } }
@keyframes settle-in { to { transform: scale(1); } }
.js .reveal .tags span { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .reveal.in .tags span { opacity: 1; transform: none; }
.tags span:nth-child(2) { transition-delay: 50ms; } .tags span:nth-child(3) { transition-delay: 100ms; } .tags span:nth-child(4) { transition-delay: 150ms; } .tags span:nth-child(5) { transition-delay: 200ms; } .tags span:nth-child(6) { transition-delay: 250ms; }
.js .skill.reveal .label { display: inline-block; transform: translateX(-12px); transition: transform .9s var(--ease) .1s; }
.js .skill.reveal.in .label { transform: none; }
.js .pillars.reveal div { border-top-color: transparent; background: linear-gradient(var(--ink), var(--ink)) top left / 0 2px no-repeat; transition: background-size 1s var(--ease); }
.js .pillars.reveal.in div { background-size: 100% 2px; }
.pillars div:nth-child(2) { transition-delay: 120ms; } .pillars div:nth-child(3) { transition-delay: 240ms; }

/* Dark panels get the palette as a slow glow */
.band, .closer-panel { position: relative; isolation: isolate; overflow: hidden; }
.band::before, .closer-panel::before { content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none; background: radial-gradient(30% 35% at 85% 15%, rgba(79,124,255,.32), transparent 70%), radial-gradient(28% 32% at 10% 95%, rgba(255,183,77,.22), transparent 70%), radial-gradient(25% 30% at 95% 90%, rgba(176,120,84,.28), transparent 70%); animation: glow-drift 20s var(--ease-in-out) infinite alternate; }
@keyframes glow-drift { to { transform: translate3d(-6%, 4%, 0) rotate(6deg); } }

/* Hover, mouse only */
@media (hover: hover) and (pointer: fine) {
  .btn { transition: transform .16s var(--ease), background-color .2s ease, border-color .2s ease, box-shadow .3s var(--ease); }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(11,11,11,.45); }
  .btn:active { transform: scale(.97); }
  .feature-media img, .next-head img { transition: transform .9s var(--ease); }
  .feature:hover .batch-grid img:nth-child(odd) { transform: translateY(-4px); }
  .feature:hover .flyers img:nth-child(1) { transform: translate(-102%, -50%) rotate(-10deg); }
  .feature:hover .flyers img:nth-child(3) { transform: translate(2%, -50%) rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .js .profile .ph { clip-path: none; animation: none; }
  .js .profile .ph img { transform: none; animation: none; }
  .band::before, .closer-panel::before { animation: none; }
  .js .reveal .tags span, .js .skill.reveal .label { transform: none; }
  .js .pillars.reveal div { background-size: 100% 2px; transition: none; }
}

/* v6 manifesto: scroll-lit statement + three living lab cards */
.manifesto-grid { display: grid; grid-template-columns: 12rem 1fr; gap: clamp(16px, 4vw, 48px); align-items: start; margin-bottom: clamp(48px, 7vw, 96px); }
.manifesto-label { position: sticky; top: 96px; padding-top: 14px; }
.manifesto .statement { font: 400 clamp(2rem, 4.8vw, 4.2rem)/1.08 var(--display); letter-spacing: -0.04em; max-width: 20ch; margin: 0; }
.statement .sw { opacity: .16; transition: opacity .5s var(--ease); }
.statement .sw.lit { opacity: 1; }
.lab-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lab-card { background: var(--card); border-radius: var(--radius); padding: 12px 12px 28px; display: grid; gap: 8px; align-content: start; }
.lab-card > :not(.lab-vis) { padding: 0 clamp(12px, 2vw, 20px); }
.lab-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.lab-card p:not(.label) { color: var(--ink-2); margin: 0; }
.lab-card .label { margin-top: 12px; }
.lab-vis { position: relative; height: 200px; border-radius: 16px; background: var(--paper); overflow: hidden; display: grid; place-items: center; }

/* 01 ticker of industries */
.ticker { --h: 56px; }
.ticker::before, .ticker::after { content: ""; position: absolute; left: 0; right: 0; height: 72px; z-index: 1; pointer-events: none; }
.ticker::before { top: 0; background: linear-gradient(var(--paper), transparent); }
.ticker::after { bottom: 0; background: linear-gradient(transparent, var(--paper)); }
.ticker { display: block; }
.ticker-track { position: absolute; left: 0; right: 0; top: calc(50% - var(--h) / 2); display: grid; animation: tick 12s var(--ease-in-out) infinite; }
.ticker-track span { height: var(--h); display: grid; place-items: center; font: 500 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--display); letter-spacing: -0.03em; }
.ticker-track span:nth-child(6) { color: #3d6bff; background: linear-gradient(100deg, #2f6bff, #8b5cf6, #ff7a3d); background: linear-gradient(in oklch 100deg, #2f6bff, #8b5cf6, #ff7a3d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes tick {
  0%, 12% { transform: translateY(0); }
  16.6%, 28.6% { transform: translateY(calc(var(--h) * -1)); }
  33.3%, 45.3% { transform: translateY(calc(var(--h) * -2)); }
  50%, 62% { transform: translateY(calc(var(--h) * -3)); }
  66.6%, 78.6% { transform: translateY(calc(var(--h) * -4)); }
  83.3%, 95.3% { transform: translateY(calc(var(--h) * -5)); }
  100% { transform: translateY(calc(var(--h) * -6)); }
}

/* 02 orbs in orbit */
.orbits .ring { position: absolute; border-radius: 50%; border: 1px dashed var(--line); }
.orbits .r1 { width: 120px; height: 120px; }
.orbits .r2 { width: 176px; height: 176px; }
.orbits .spin { position: absolute; width: 0; height: 0; animation: orbit 9s linear infinite; }
.orbits .spin img { position: absolute; max-width: none; transform: translate(-50%, -50%); }
.orbits .s1 img { width: 34px; left: 60px; top: 0; }
.orbits .s2 img { width: 44px; left: 0; top: -88px; }
.orbits .s3 img { width: 26px; left: -88px; top: 0; }
.orbits .s2 { animation-duration: 14s; animation-direction: reverse; }
.orbits .s3 { animation-duration: 11s; }
.orbits .core { font: 400 2.6rem/1 var(--display); color: var(--ink); }
@keyframes orbit { to { transform: rotate(360deg); } }

/* 03 test runs: each run fills, checks, then the build ships; loops */
.runs { display: grid; gap: 10px; place-items: stretch; align-content: center; padding: 0 24px; }
.run { display: grid; grid-template-columns: 3.5rem 1fr 1.2rem; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.run i { height: 6px; border-radius: 99px; background: var(--card-2); overflow: hidden; position: relative; }
.run i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #2f6bff, #8b5cf6, #ff7a3d); background: linear-gradient(in oklch 90deg, #2f6bff, #8b5cf6, #ff7a3d); transform-origin: left; transform: scaleX(0); animation: fill 6s var(--ease) infinite; }
.run b { color: #1f9d55; font-weight: 500; opacity: 0; animation: check 6s var(--ease) infinite; }
.run:nth-child(2) i::after, .run:nth-child(2) b { animation-delay: .7s; }
.run:nth-child(3) i::after, .run:nth-child(3) b { animation-delay: 1.4s; }
.ship { justify-self: start; margin-top: 6px; font: 500 13px/1 var(--body); padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); opacity: 0; transform: translateY(6px) scale(.96); animation: ship 6s var(--ease) 2.1s infinite; }
@keyframes fill { 0% { transform: scaleX(0); opacity: 1; } 12%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes check { 0%, 10% { opacity: 0; } 14%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ship { 0% { opacity: 0; transform: translateY(6px) scale(.96); } 8%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: none; } }

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-label { position: static; padding-top: 0; }
  .lab-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .statement .sw { opacity: 1; transition: none; }
  .ticker-track, .orbits .spin { animation: none; }
  .run i::after { animation: none; transform: scaleX(1); }
  .run b, .ship { animation: none; opacity: 1; transform: none; }
}

/* v7 profile pages: portrait orb, lab cards, scroll-drawn timeline */
.profile-hero { position: relative; isolation: isolate; overflow: hidden; }
.aurora.soft .au { opacity: .7; }
.profile-hero .profile { align-items: center; }
.portrait-orb { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; animation: orb-float 10s var(--ease-in-out) 1.4s infinite alternate; }
.portrait-orb .ph, .js .profile .portrait-orb .ph { position: absolute; inset: 14px; aspect-ratio: auto; border-radius: 50%; overflow: hidden; clip-path: none; top: 14px; opacity: 0; transform: scale(.92); animation: orb-in 1.3s var(--ease) .15s forwards; box-shadow: 0 30px 60px -24px rgba(80, 50, 30, .35); }
.portrait-orb .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.05); }
.portrait-orb .halo { position: absolute; inset: 0; border-radius: 50%; padding: 3px; background: conic-gradient(from var(--a, 0deg), #4f7cff, #8b5cf6, #ff7a3d, #f5b301, #b07854, #4f7cff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 10s linear infinite; opacity: .9; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.role-chips { margin: 4px 0 28px; }
.profile-hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); letter-spacing: -0.05em; font-weight: 500; }
.ticker.small { --h: 46px; }
.ticker.small .ticker-track span { font-size: clamp(1.15rem, 1.8vw, 1.45rem); padding: 0 16px; text-align: center; }
.ticker.small .ticker-track span:nth-child(6) { -webkit-text-fill-color: currentColor; background: none; }
.ticker.what-if .ticker-track span { font-style: italic; }
.orbits .core.small { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.stack { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 0 20px; }
.stack span { font: 500 13px/1 var(--mono); padding: 10px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); animation: stack-in 6s var(--ease) infinite; opacity: 0; }
.stack span:nth-child(2) { animation-delay: .25s; } .stack span:nth-child(3) { animation-delay: .5s; } .stack span:nth-child(4) { animation-delay: .75s; } .stack span:nth-child(5) { animation-delay: 1s; } .stack span:nth-child(6) { animation-delay: 1.25s; }
@keyframes stack-in { 0% { opacity: 0; transform: translateY(-18px); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
.launch { display: grid; align-content: center; gap: 16px; padding: 0 24px; place-items: stretch; }
.launch .track { position: relative; height: 4px; border-radius: 99px; background: var(--card-2); }
.launch .track::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #2f6bff, #8b5cf6, #ff7a3d, #f5b301); transform-origin: left; animation: launch-fill 5s var(--ease-in-out) infinite; }
.launch .dot { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper); animation: launch-dot 5s var(--ease-in-out) infinite; }
.launch .ends { display: flex; justify-content: space-between; font: 500 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.launch .ends b { font: 500 15px/1.3 var(--display); letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.launch .store { text-align: right; }
@keyframes launch-fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes launch-dot { 0% { left: 0; } 70%, 100% { left: 100%; } }

.timeline { list-style: none; margin: 0; padding: 0 0 0 clamp(28px, 5vw, 56px); position: relative; display: grid; gap: clamp(28px, 5vw, 56px); max-width: 860px; }
.tl-line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: linear-gradient(#2f6bff, #8b5cf6, #ff7a3d, #f5b301); transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; display: grid; gap: 8px; }
.tl-item h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.tl-item p:not(.label) { color: var(--ink-2); margin: 0; max-width: 40em; }
.tl-dot { position: absolute; left: calc(-1 * clamp(28px, 5vw, 56px)); top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease); }
.tl-item.passed .tl-dot { border-color: var(--ink); background: var(--ink); transform: scale(1.15); }

@media (max-width: 900px) {
  .portrait-orb { width: min(78vw, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-orb, .portrait-orb .halo, .stack span, .launch .track::before, .launch .dot { animation: none !important; }
  .portrait-orb .ph, .js .profile .portrait-orb .ph { animation: none; opacity: 1; transform: none; }
  .stack span { opacity: 1; }
  .launch .dot { left: 100%; }
  .tl-fill { transform: none; }
}
.ticker.what-if { --h: 72px; }
.ticker.what-if .ticker-track span { line-height: 1.15; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.tl-item { grid-template-columns: minmax(5.5rem, 9rem) 1fr; column-gap: clamp(16px, 3vw, 40px); row-gap: 8px; align-items: baseline; }
.tl-item > .label { grid-row: span 2; font: 500 clamp(1.05rem, 1.9vw, 1.5rem)/1.1 var(--display); letter-spacing: -0.02em; text-transform: none; color: var(--ink-3); transition: color .4s var(--ease); }
.tl-item.passed > .label { color: var(--ink); }
.tl-item h3, .tl-item p:not(.label) { grid-column: 2; }
@media (max-width: 600px) { .tl-item { grid-template-columns: 1fr; } .tl-item > .label { grid-row: auto; } .tl-item h3, .tl-item p:not(.label) { grid-column: 1; } }

/* v8 manifesto, lighter: one hairline row instead of three boxes */
.manifesto .statement { font-size: clamp(1.9rem, 4vw, 3.4rem); }
.manifesto-grid { margin-bottom: clamp(40px, 6vw, 72px); }
.pillar-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillar { display: grid; gap: 10px; align-content: start; padding: 28px clamp(16px, 3vw, 40px) 0; }
.pillar:first-child { padding-left: 0; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 0; }
.pillar p { color: var(--ink-2); margin: 0; }
.pillar > div { height: 56px; margin-bottom: 6px; position: relative; }
.mini-ticker { overflow: hidden; --h: 56px; -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.mini-ticker .ticker-track { position: absolute; left: 0; top: 0; display: grid; animation: tick 12s var(--ease-in-out) infinite; }
.mini-ticker span { height: var(--h); display: flex; align-items: center; font: 500 1.35rem/1 var(--display); letter-spacing: -0.02em; color: #3d6bff; background: linear-gradient(90deg, #2f6bff, #8b5cf6, #ff7a3d); background: linear-gradient(in oklch 90deg, #2f6bff, #8b5cf6, #ff7a3d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; width: fit-content; }
.mini-orbit { width: 56px; display: grid; place-items: center; }
.mini-orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line); }
.mini-orbit .mid { width: 26px; height: 26px; max-width: none; }
.mini-orbit .spin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: orbit 8s linear infinite; }
.mini-orbit .spin img { position: absolute; max-width: none; width: 13px; left: 28px; top: 0; transform: translate(-50%, -50%); }
.mini-orbit .s2 { animation-duration: 12s; animation-direction: reverse; }
.mini-orbit .s2 img { width: 10px; left: -28px; }
.mini-runs { display: flex; align-items: center; gap: 8px; }
.mini-runs i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; }
.mini-runs i::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; background: linear-gradient(135deg, #2f6bff, #ff7a3d); transform: scale(0); animation: dot-on 5s var(--ease) infinite; }
.mini-runs i:nth-child(2)::after { animation-delay: .5s; } .mini-runs i:nth-child(3)::after { animation-delay: 1s; }
.mini-runs b { font: 500 12px/1 var(--body); padding: 7px 11px; border-radius: 999px; background: var(--ink); color: var(--paper); margin-left: 6px; opacity: 0; animation: ship 5s var(--ease) 1.5s infinite; }
@keyframes dot-on { 0% { transform: scale(0); } 10%, 82% { transform: scale(1); } 94%, 100% { transform: scale(0); } }
@media (max-width: 900px) {
  .pillar-row { grid-template-columns: 1fr; border-top: 0; }
  .pillar, .pillar:first-child { padding: 24px 0; border-top: 1px solid var(--line); }
  .pillar + .pillar { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mini-ticker .ticker-track, .mini-orbit .spin { animation: none; }
  .mini-runs i::after { animation: none; transform: scale(1); }
  .mini-runs b { animation: none; opacity: 1; }
}

/* v9 Frankenstein: the phone pulls apart into Sam's face and Ryan's insides, then snaps back together */
.franken { height: 260vh; padding: 0; position: relative; }
.franken-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr; padding-top: clamp(88px, 12vh, 128px); overflow: hidden; }
.franken-head { display: grid; gap: 14px; text-align: center; justify-items: center; }
.franken-head h2 { max-width: 16ch; }
.franken-stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(150px, 15vw, 220px); width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.fk-side { display: grid; gap: 8px; max-width: 18em; opacity: 0; transition: none; }
.fk-left { justify-self: end; text-align: right; }
.fk-side h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; }
.fk-side p:not(.label) { color: var(--ink-2); margin: 0; }
.fk-phones { position: relative; width: clamp(160px, 16vw, 220px); aspect-ratio: 452 / 992; perspective: 1200px; }
.fk-layer { position: absolute; inset: 0; border-radius: 32px; padding: 7px; background: #111; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), inset 0 0 0 1px #333; will-change: transform; }
.fk-front img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.fk-back { background: #0b0b0b; }
.fk-circuit { width: 100%; height: 100%; border-radius: 26px; background: radial-gradient(60% 40% at 50% 30%, rgba(111,160,255,.18), transparent 70%), #0d0d12; }
.fk-wire { stroke-dasharray: 6 8; animation: wire 2.4s linear infinite; }
.fk-node { animation: node 1.6s var(--ease-in-out) infinite alternate; transform-box: fill-box; transform-origin: center; }
.fk-node:nth-of-type(2) { animation-delay: .4s; } .fk-node:nth-of-type(3) { animation-delay: .8s; } .fk-node:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes wire { to { stroke-dashoffset: -28; } }
@keyframes node { from { opacity: .35; transform: scale(.8); } to { opacity: 1; transform: scale(1.2); } }
.fk-bolt { position: absolute; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: linear-gradient(135deg, #4f7cff, #ff7a3d); box-shadow: 0 0 0 4px rgba(255,255,255,.7), 0 0 18px 4px rgba(255,140,60,.55); opacity: 0; z-index: 3; }
.fk-bolt.b1 { top: 22%; } .fk-bolt.b2 { top: 50%; } .fk-bolt.b3 { top: 78%; }
.fk-alive { position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%); white-space: nowrap; font-size: 14px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); opacity: 0; }
.fk-alive b { font-weight: 500; color: #f5c75b; }
.founders { padding-top: clamp(32px, 5vw, 64px); }

@media (max-width: 760px) {
  .franken { height: 240vh; }
  .franken-stage { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; align-content: center; row-gap: 72px; }
  .franken-stage { gap: 0 16px; }
  .fk-phones { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(36vw, 170px); }
  .fk-side { grid-row: 2; max-width: none; align-self: start; }
  .fk-left { justify-self: start; text-align: left; }
  .fk-alive { bottom: -54px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .franken { height: auto; }
  .franken-sticky { position: static; height: auto; padding-bottom: 96px; }
  .fk-side { opacity: 1; }
  .fk-wire, .fk-node { animation: none; }
  .fk-alive { opacity: 1; }
}
/* Sam's sketch-to-screen card */
.sketch { perspective: 800px; }
.sketch img, .sketch .wire-screen { position: absolute; top: 12px; left: 50%; width: 80px; margin-left: -40px; aspect-ratio: 452 / 992; border-radius: 14px; }
.sketch img { box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); opacity: 0; animation: sketch-in 6s var(--ease) infinite; }
.sketch .wire-screen { border: 1.5px dashed var(--ink-3); background: var(--paper); display: grid; align-content: start; gap: 8px; padding: 14px 10px; animation: sketch-out 6s var(--ease) infinite; }
.wire-screen i { display: block; height: 8px; border-radius: 4px; border: 1.5px solid var(--ink-3); }
.wire-screen .w1 { width: 60%; } .wire-screen .w2 { height: 26px; } .wire-screen .w3 { height: 26px; } .wire-screen .w4 { width: 40%; } .wire-screen .w5 { margin-top: 24px; height: 12px; }
@keyframes sketch-in { 0%, 35% { opacity: 0; transform: rotateY(-25deg) scale(.96); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sketch-out { 0%, 30% { opacity: 1; transform: none; } 45%, 95% { opacity: 0; transform: rotateY(25deg) scale(.96); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sketch img { animation: none; opacity: 1; } .sketch .wire-screen { animation: none; opacity: 0; } }
.bench { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bench-item { background: var(--card); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; }
.bench-item h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin: 0; }
.bench-item p:not(.label) { color: var(--ink-2); margin: 0; }
a.bench-item h3::after { content: " ↗"; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { a.bench-item { transition: transform .3s var(--ease), background-color .3s ease; } a.bench-item:hover { transform: translateY(-3px); background: var(--card-2); } }
@media (max-width: 900px) { .bench { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bench { grid-template-columns: 1fr; } }

/* v10 duo: who we are */
.duo-head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.duo-head h2 { max-width: 16ch; margin: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mate { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(22px, 2.6vw, 32px); align-content: start; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius); background: var(--card); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
.mate::before { content: ""; position: absolute; inset: -30%; z-index: -1; opacity: .6; transition: opacity .5s var(--ease); }
.mate.warm::before { background: radial-gradient(40% 50% at 22% 26%, rgba(245, 179, 1, .34), transparent 70%), radial-gradient(45% 55% at 82% 92%, rgba(255, 122, 61, .22), transparent 70%); }
.mate.cool::before { background: radial-gradient(40% 50% at 22% 26%, rgba(47, 107, 255, .26), transparent 70%), radial-gradient(45% 55% at 82% 92%, rgba(139, 92, 246, .2), transparent 70%); }
.mate-top { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 28px); }
.mate-name { display: grid; gap: 10px; min-width: 0; }
.mate-name h3 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.035em; line-height: 1; margin: 0; }
.mate-orb { position: relative; flex: none; width: clamp(104px, 10vw, 148px); aspect-ratio: 1; }
.mate-orb .ph { position: absolute; inset: 6px; border-radius: 50%; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(80, 50, 30, .45); }
.mate-orb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease); }
.mate-orb .halo { position: absolute; inset: 0; border-radius: 50%; padding: 2px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 12s linear infinite; }
.mate.warm .halo { background: conic-gradient(from var(--a, 0deg), #f5b301, #ff7a3d, #b07854, #f5b301); }
.mate.cool .halo { background: conic-gradient(from var(--a, 0deg), #2f6bff, #8b5cf6, #4f7cff, #2f6bff); animation-direction: reverse; }
.mate-copy { display: grid; gap: 10px; }
.mate-role { font: 500 clamp(1.25rem, 1.9vw, 1.6rem)/1.2 var(--display); letter-spacing: -0.02em; margin: 0; }
.mate ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.mate li { font-size: 15px; color: var(--ink-2); padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.mate-link { margin-top: 10px; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; display: inline-flex; gap: 8px; }
.mate-link span { transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .mate:hover { transform: translateY(-4px); }
  .mate:hover::before { opacity: 1; }
  .mate:hover .mate-orb img { filter: none; }
  .mate:hover .mate-link span { transform: translateX(4px); }
}
@media (max-width: 760px) {
  .duo { grid-template-columns: 1fr; }
  .mate-orb { width: 92px; }
}
@media (prefers-reduced-motion: reduce) { .mate-orb .halo { animation: none; } .mate, .mate-link span { transition: none; } }

/* v11 real-UI shots: browser frame + phone */
.browser { width: 100%; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -28px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--paper); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.browser-bar span { margin-left: 10px; font: 500 11px/1 var(--mono); color: var(--ink-3); background: var(--card); padding: 5px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; border-radius: 0 !important; box-shadow: none !important; }
.shot-stage { position: relative; display: grid; align-items: center; padding: clamp(20px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(48px, 6vw, 72px); }
.shot-stage .browser { width: 91%; }
.shot-stage .phone { position: absolute; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 22px); width: clamp(84px, 9vw, 128px); border-radius: 22px; padding: 5px; }
.shot-stage .phone img { border-radius: 18px; object-position: top; }
.hero-shot { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 5vw, 72px) clamp(24px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero-shot .browser { width: 84%; }
.hero-shot .phone { width: clamp(110px, 16vw, 230px); right: clamp(16px, 4vw, 64px); }
.feature-media .browser { box-shadow: 0 24px 50px -24px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.06); }
@media (max-width: 760px) {
  .shot-stage { padding: 16px 16px 44px; }
  .shot-stage .browser, .hero-shot .browser { width: 88%; }
  .shot-stage .phone, .hero-shot .phone { width: 23%; right: 10px; bottom: 10px; border-radius: 16px; padding: 4px; }
  .shot-stage .phone img { border-radius: 13px; }
}

/* v12 Leave page */
.caption { font-size: 13px; color: var(--ink-3); margin: 10px 0 0; }
.types { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 440px; }
.types span { background: rgba(253,252,252,.88); border: 1px solid rgba(0,0,0,.06); border-radius: 999px; padding: 10px 16px; font-size: 15px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.in .types span { opacity: 1; transform: none; }
.types span:nth-child(2) { transition-delay: 50ms; } .types span:nth-child(3) { transition-delay: 100ms; } .types span:nth-child(4) { transition-delay: 150ms; } .types span:nth-child(5) { transition-delay: 200ms; } .types span:nth-child(6) { transition-delay: 250ms; } .types span:nth-child(7) { transition-delay: 300ms; } .types span:nth-child(8) { transition-delay: 350ms; }
.phone.sms { background: #111; }
.sms-screen { height: 100%; border-radius: 24px; background: #fff; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.sms-head { margin: 0 0 6px; text-align: center; display: grid; gap: 2px; font-size: 11px; color: var(--ink-3); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sms-head b { font-size: 12px; color: var(--ink); font-weight: 500; }
.sms-time { margin: 2px 0; text-align: center; font-size: 10px; color: var(--ink-3); }
.bubble { margin: 0; align-self: flex-start; max-width: 88%; background: #e9e9eb; color: #111; border-radius: 14px 14px 14px 4px; padding: 7px 9px; font-size: 10.5px; line-height: 1.35; opacity: 0; transform: translateY(8px) scale(.97); transform-origin: bottom left; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.in .bubble { opacity: 1; transform: none; }
.bubble:nth-of-type(3) { transition-delay: .35s; } .bubble:nth-of-type(5) { transition-delay: .7s; }
.remind { width: min(100%, 380px); display: grid; gap: 10px; }
.remind-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; background: rgba(253,252,252,.9); border-radius: 14px; padding: 14px 16px; opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.remind-row i { width: 10px; height: 10px; border-radius: 50%; background: #2f6bff; box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.remind-row:nth-child(2) i { background: #8b5cf6; box-shadow: 0 0 0 4px rgba(139,92,246,.15); }
.remind-row:nth-child(3) i { background: #ff7a3d; box-shadow: 0 0 0 4px rgba(255,122,61,.15); }
.remind-row b { font-weight: 500; font-size: 15px; }
.remind-row span { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.in .remind-row { opacity: 1; transform: none; }
.remind-row:nth-child(2) { transition-delay: 120ms; } .remind-row:nth-child(3) { transition-delay: 240ms; }
.remind-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.remind-flags span { font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid; background: rgba(253,252,252,.9); }
.remind-flags .soon { color: #a3540f; border-color: #f3c58f; }
.remind-flags .late { color: #b42318; border-color: #f4b3ac; }
.remind-flags .check { color: #1d4ed8; border-color: #b3c7ff; }
.paper { width: min(100%, 420px); background: #fff; border-radius: var(--radius-sm); padding: 14px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.06); }
.paper img { display: block; width: 100%; height: auto; box-shadow: none !important; border-radius: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .types span, .bubble, .remind-row { opacity: 1; transform: none; transition: opacity .2s ease; transition-delay: 0s !important; }
}

/* v13 nav: two links, a founders menu, one call to action */
.nav-group { position: relative; }
.nav-founders { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px; padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.nav-founders svg { transition: transform .2s var(--ease); }
.nav-group.open .nav-founders svg { transform: rotate(180deg); }
.nav-group.is-current .nav-founders, .nav-group.open .nav-founders { color: var(--ink); background: var(--card); }
.founders-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; display: grid; gap: 2px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top right; transition: opacity .16s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
.nav-group.open .founders-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .16s var(--ease), transform .2s var(--ease), visibility 0s; }
.founders-menu a { display: flex !important; align-items: center; gap: 12px; padding: 10px !important; border-radius: 12px !important; }
.founders-menu img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1); flex: none; }
.founders-menu span { display: grid; gap: 2px; font-size: 13px; color: var(--ink-3); }
.founders-menu b { font-weight: 500; font-size: 15px; color: var(--ink); }
.nav a.nav-cta { margin-left: 8px; background: var(--ink); color: var(--paper); padding: 10px 18px; }
.nav a.nav-cta:hover { background: #2a2a2a; color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .nav-founders:hover { background: var(--card); color: var(--ink); } .founders-menu a:hover img { filter: none; } }
@media (max-width: 720px) {
  .nav-founders { display: none; }
  .founders-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 4px 0; background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0; border-radius: 0; }
  .founders-menu a { padding: 10px 12px !important; }
  .nav a.nav-cta { margin: 10px 0 0; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .founders-menu, .nav-founders svg { transition: none; } }

/* v13 the lab: an index, then one case file per tool */
.status { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: #11764a; background: #e3f5ea; }
.status.live::before { animation: pulse 2.4s var(--ease) infinite; }
.status.brewing { color: #9a5a00; background: #fdf0d5; }
.status.open { color: #3a4bd8; background: #e8ebff; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.lab-hero h1 { max-width: 15ch; }
.lab-index { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.lab-index a { display: grid; grid-template-columns: 3rem 28px minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .25s var(--ease), padding .3s var(--ease); }
.lab-index img, .li-blank { width: 28px; height: 28px; object-fit: contain; }
.li-blank { display: grid; place-items: center; border-radius: 8px; border: 1.5px dashed var(--line); font: 500 14px/1 var(--display); font-style: normal; color: var(--ink-3); }
.li-no { font: 500 13px/1 var(--mono); color: var(--ink-3); }
.li-name { font: 500 clamp(1.25rem, 2.2vw, 1.75rem)/1.1 var(--display); letter-spacing: -0.02em; }
.li-for { color: var(--ink-2); font-size: 15px; }
.lab-index .status { margin: 0; justify-self: end; }
@media (hover: hover) and (pointer: fine) { .lab-index a:hover { background: var(--card); padding-left: 16px; } }
@media (max-width: 700px) {
  .lab-index a { grid-template-columns: 2rem 24px 1fr auto; gap: 12px; padding: 16px 4px; }
  .lab-index img, .li-blank { width: 24px; height: 24px; }
  .li-for { grid-column: 3 / -1; grid-row: 2; font-size: 14px; margin-top: -6px; }
}
.case { padding-block: clamp(48px, 8vw, 104px); }
.case + .case { border-top: 1px solid var(--line); }
.case-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; margin-bottom: clamp(24px, 4vw, 44px); }
.case-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.04em; margin: 10px 0 0; line-height: 1; }
.case-head .product-head .product-logo { width: 32px; }
.case-no { font: 500 clamp(3.5rem, 9vw, 7.5rem)/.8 var(--display); letter-spacing: -0.06em; background: linear-gradient(160deg, #2f6bff, #8b5cf6 45%, #ff7a3d 80%, #f5b301); background: linear-gradient(in oklch 160deg, #2f6bff, #8b5cf6 45%, #ff7a3d 80%, #f5b301); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.case.flip .case-visual { order: 2; }
.case-visual { min-height: clamp(320px, 38vw, 520px); }
.case-visual.scene { display: grid; place-items: center; }
.case-story { display: grid; gap: 22px; }
.beat { display: grid; gap: 8px; padding-left: 18px; border-left: 2px solid var(--line); }
.beat:first-child { border-left-color: #ff7a3d; }
.beat p:not(.label) { margin: 0; color: var(--ink-2); }
.beat .beat-lead { font: 500 clamp(1.3rem, 2.1vw, 1.7rem)/1.25 var(--display); letter-spacing: -0.02em; color: var(--ink) !important; }
@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
  .case.flip .case-visual { order: 0; }
  .case-visual { min-height: 300px; }
}
.lineage h2 { margin-bottom: 32px; }
.branches { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.branch { display: grid; grid-template-columns: minmax(0, 1fr) clamp(48px, 12vw, 180px) minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.branch span { color: #c9c3bc; }
.branch b { font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.2 var(--display); letter-spacing: -0.02em; }
.branch i { height: 2px; border-radius: 2px; background: linear-gradient(90deg, #2f6bff, #8b5cf6, #ff7a3d); position: relative; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.branch i::after { content: ""; position: absolute; right: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #ff7a3d; }
.in .branch i { transform: none; }
.in .branch:nth-child(2) i { transition-delay: .15s; } .in .branch:nth-child(3) i { transition-delay: .3s; }
.lineage .band-lede { margin: 24px 0 0; color: #c9c3bc; }
@media (max-width: 700px) { .branch { grid-template-columns: 1fr; gap: 10px; } .branch i { width: 64px; } }
.open-case { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 40px); padding: clamp(28px, 5vw, 64px); border: 1.5px dashed var(--line); border-radius: var(--radius); align-items: start; }
.open-case h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.04em; margin: 10px 0 12px; }
.open-case .case-no { background: none; -webkit-text-fill-color: var(--line); color: var(--line); }
@media (max-width: 600px) { .open-case { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .status.live::before { animation: none; } .branch i { transform: none; transition: none; } }

/* v13 how we build: six chapters on a line that draws as you scroll */
.chapters { list-style: none; margin: 0; padding: 0 0 0 clamp(28px, 5vw, 56px); position: relative; display: grid; gap: clamp(40px, 7vw, 96px); }
.tl-item.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.tl-item.chapter > * { grid-column: auto; }
.tl-item.chapter .tl-dot { top: calc(50% - 8px); }
.ch-copy { display: grid; gap: 10px; }
.ch-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; margin: 0; }
.ch-copy p:not(.label) { color: var(--ink-2); margin: 0; max-width: 34em; }
.tl-item.chapter .ch-copy p { grid-column: auto; }
.ch-vis { min-height: 280px; display: grid; place-items: center; padding: 24px; }
.ch-vis .phone { width: clamp(120px, 13vw, 170px); }
.ch-vis .ticker { position: relative; width: 100%; height: 170px; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.ch-vis .ticker::before, .ch-vis .ticker::after { display: none; }
.ch-vis .stack { max-width: 340px; }
.quotes { display: grid; gap: 12px; width: min(100%, 360px); }
.quotes p { margin: 0; background: rgba(253,252,252,.92); border-radius: 18px 18px 18px 6px; padding: 12px 16px; font-size: 15px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.quotes p:nth-child(2) { justify-self: end; border-radius: 18px 18px 6px 18px; transition-delay: .2s; }
.quotes p:nth-child(3) { transition-delay: .4s; }
.in .quotes p { opacity: 1; transform: none; }
.mini-runs.big { gap: 14px; }
.mini-runs.big i { width: 26px; height: 26px; border-width: 2px; }
.mini-runs.big b { font: 500 1.4rem/1 var(--display); letter-spacing: -0.02em; }
.alive { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: min(100%, 320px); }
.alive li { display: flex; align-items: center; gap: 12px; background: rgba(253,252,252,.92); border-radius: 14px; padding: 12px 14px; }
.alive img { width: 22px; height: 22px; object-fit: contain; }
.alive b { font-weight: 500; flex: 1; }
.alive span { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #11764a; }
.alive span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fa463; animation: pulse 2.4s var(--ease) infinite; }
.alive li:nth-child(2) span::before { animation-delay: .4s; } .alive li:nth-child(3) span::before { animation-delay: .8s; }
@media (max-width: 760px) {
  .tl-item.chapter { grid-template-columns: 1fr; }
  .tl-item.chapter .tl-dot { top: 4px; }
  .ch-vis { min-height: 220px; }
}
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.part { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 3vw, 32px); background: var(--card); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease); }
.part-orb { width: 56px; height: 56px; margin-bottom: 6px; }
.part h3 { margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.part p { margin: 0; color: var(--ink-2); }
.part-proof { margin-top: 8px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.part-proof::after { content: " →"; }
@media (hover: hover) and (pointer: fine) { .part:hover { transform: translateY(-4px); } .part:hover .part-icon { transform: rotate(-6deg) scale(1.06); } }
@media (max-width: 900px) { .parts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .parts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .quotes p { opacity: 1; transform: none; transition: none; } .alive span::before { animation: none; } .part { transition: none; } }

/* v14 Yummify concept screens, drawn in HTML */
.ym { height: 100%; border-radius: 24px; background: #fbf7f2; padding: 14px 10px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; font-size: 11px; color: #1b1512; }
.ym-top { display: grid; grid-template-columns: 16px 1fr 16px; align-items: center; text-align: center; padding-top: 10px; }
.ym-top b { font-weight: 600; font-size: 12px; }
.ym-top span { color: #9b8f86; font-size: 10px; }
.ym-kicker { margin: 4px 2px 0; font: 600 15px/1.1 var(--display); letter-spacing: -0.02em; }
.ym-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ym-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px !important; box-shadow: none !important; }
.ym-styles { display: grid; gap: 8px; }
.ym-styles div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: #fff; border: 1.5px solid transparent; }
.ym-styles div.on { border-color: #e8573a; }
.ym-styles img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px !important; box-shadow: none !important; }
.ym-styles span { font-weight: 600; font-size: 11px; }
.ym-btn { margin: auto 0 0; text-align: center; background: #e8573a; color: #fff; font-weight: 600; font-size: 11px; padding: 10px; border-radius: 999px; }
.phone .ym img { height: auto; }
.sizes { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 2vw, 18px); width: 100%; }
.sizes figure { margin: 0; display: grid; gap: 8px; justify-items: center; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.in .sizes figure { opacity: 1; transform: none; }
.sizes figure:nth-child(2) { transition-delay: .12s; } .sizes figure:nth-child(3) { transition-delay: .24s; }
.sizes img { display: block; object-fit: cover; border-radius: 12px !important; box-shadow: 0 18px 36px -18px rgba(0,0,0,.45) !important; }
.s-menu img { width: clamp(90px, 11vw, 140px); aspect-ratio: 4 / 5; }
.s-app img { width: clamp(130px, 16vw, 200px); aspect-ratio: 16 / 10; }
.s-social img { width: clamp(90px, 11vw, 140px); aspect-ratio: 1; }
.sizes figcaption { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 560px) { .sizes { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .sizes figure { opacity: 1; transform: none; transition: none; } }
.pair { position: relative; width: min(100%, 460px); aspect-ratio: 1 / .92; }
.pair figure { position: absolute; margin: 0; }
.pair img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px !important; box-shadow: 0 24px 48px -22px rgba(0,0,0,.5) !important; }
.pair figcaption { position: absolute; left: 10px; bottom: 10px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(0,0,0,.62); color: #fff; padding: 7px 9px; border-radius: 999px; }
.pair .p-before { width: 52%; left: 0; top: 0; rotate: -4deg; filter: saturate(.9); }
.pair .p-after { width: 66%; right: 0; bottom: 0; rotate: 2deg; transform: translateY(14px); opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.in .pair .p-after { opacity: 1; transform: none; }
.pair .p-after figcaption { background: #e8573a; }
@media (prefers-reduced-motion: reduce) { .pair .p-after { opacity: 1; transform: none; transition: none; } }
.pair .p-before figcaption { top: 10px; bottom: auto; }

/* parts bin icons: Phosphor duotone (MIT), tinted per part */
.part-icon { width: 56px; height: 56px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent); transition: transform .3s var(--ease); }
@media (prefers-reduced-motion: reduce) { .part-icon { transition: none; } }

/* v15 lead form inside the dark closer */
.lead-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; text-align: left; }
.lead-copy .lede { color: #c9c3bc; }
.lead-alt { color: #a8a29b; font-size: 15px; margin: 20px 0 0; }
.lead-alt a { color: var(--paper); }
.lead-form { display: grid; gap: 14px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 6px; }
.lead-form label > span { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #a8a29b; }
.lead-form label i { font-style: normal; text-transform: none; letter-spacing: 0; color: #78716a; }
.lead-form input, .lead-form textarea { width: 100%; font: 16px/1.4 var(--body); color: var(--paper); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.lead-form textarea { resize: vertical; min-height: 128px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #78716a; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: #8b5cf6; background: rgba(255,255,255,.09); box-shadow: 0 0 0 3px rgba(139,92,246,.25); }
.lead-form [aria-invalid="true"] { border-color: #ff7a6b; }
.lf-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.lf-foot .btn[disabled] { opacity: .6; cursor: progress; }
.lf-status { margin: 0; font-size: 15px; color: #c9c3bc; }
.lf-status.err { color: #ffb3a8; }
.lead-form.sent .lf-row, .lead-form.sent label, .lead-form.sent .btn { display: none; }
.lead-form.sent .lf-status { font: 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.3 var(--display); color: var(--paper); }
@media (max-width: 860px) { .lead-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lf-row { grid-template-columns: 1fr; } .lf-foot .btn { width: 100%; } }
.lead-panel { justify-items: stretch; }
.lead-copy { display: grid; gap: 16px; align-content: start; }
.lead-copy .lede, .lead-alt { margin: 0; }
@media (max-width: 520px) { .lead-panel { padding: 28px 20px; } }

/* Contact page */
.contact-hero { position: relative; isolation: isolate; overflow: hidden; }
.contact-hero h1 { max-width: none; }
.contact-people { padding-bottom: clamp(56px, 8vw, 112px); }
.contact-founders { margin-top: 14px; }
.contact-foot { margin: 28px 0 0; }
