/* Liquid Labs: studio site */
:root {
  --bg: #07040d;
  --bg-2: #0e0819;
  --panel: rgba(22, 12, 38, 0.72);
  --panel-solid: #140b22;
  --line: rgba(196, 160, 255, 0.14);
  --line-strong: rgba(196, 160, 255, 0.28);
  --ink: #f4efff;
  --ink-2: #c9bfe0;
  --ink-3: #8c80a8;
  --slime: #b8ff3c;
  --magenta: #ff3cc7;
  --violet: #8b4dff;
  --cyan: #3ce4ff;
  --amber: #ffb43c;
  --grad: linear-gradient(100deg, var(--slime) 0%, var(--cyan) 35%, var(--violet) 68%, var(--magenta) 100%);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "Sono", ui-monospace, "Cascadia Mono", monospace;
  --pixel: "Press Start 2P", monospace;
  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(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--slime); color: #000; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* grain + vignette over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 4, 13, 0.78); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--slime); }
.nav-cta { margin-left: 8px; }
.burger { display: none; background: none; border: 1px solid var(--line-strong); color: var(--ink); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .25s, opacity .25s; }
@media (max-width: 1040px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7,4,13,.97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-cta { margin: 14px 0 0; text-align: center; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink);
  background: rgba(255,255,255,.03); transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--ink-2); background: rgba(255,255,255,.07); }
.btn-primary { background: var(--slime); color: #0a0610; border-color: var(--slime); box-shadow: 0 0 0 0 rgba(184,255,60,.5); }
.btn-primary:hover { background: #ccff6e; border-color: #ccff6e; box-shadow: 0 10px 40px -10px rgba(184,255,60,.6); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slime);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: .98; margin: 0; }
.h-hero { font-size: clamp(48px, 9vw, 132px); }
.h-xl { font-size: clamp(40px, 6.2vw, 88px); }
.h-lg { font-size: clamp(32px, 4.4vw, 60px); }
.h-md { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; }
.h-sm { font-size: 20px; letter-spacing: .03em; line-height: 1.1; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 760px; line-height: 1.55; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }
p { margin: 0 0 1em; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 160px) 0; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 980px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 72px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,4,13,.78) 0%, rgba(7,4,13,.35) 45%, rgba(7,4,13,0) 70%), linear-gradient(180deg, rgba(7,4,13,.7) 0%, rgba(7,4,13,0) 28%, rgba(7,4,13,0) 45%, rgba(7,4,13,.85) 88%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.hero-copy { display: grid; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-side { display: grid; gap: 12px; justify-self: end; width: min(100%, 380px); }
.hero-sub { min-height: 72vh; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-side { justify-self: stretch; width: 100%; } }

.ticker {
  display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 14px; background: rgba(10,6,18,.6); backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: 13px; color: var(--ink-2);
}
.ticker b { color: var(--ink); font-weight: 500; }
.ticker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--slime); box-shadow: 0 0 12px var(--slime); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(14,8,25,.6); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marq 40s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--slime); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 28px; overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(139,77,255,.18), transparent 40%);
}
.card:hover { border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; display: block; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(184,255,60,.08); border: 1px solid rgba(184,255,60,.25); color: var(--slime);
}
.card .ico svg { width: 22px; height: 22px; }

/* product cards (home) */
.product {
  min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px;
  border-radius: 24px;
}
.product .bgimg { position: absolute; inset: 0; z-index: -2; object-fit: cover; width: 100%; height: 100%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); filter: saturate(1.15); }
.product::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,4,13,0) 20%, rgba(7,4,13,.92) 78%); }
.product:hover .bgimg { transform: scale(1.06); }
.product .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--slime); margin-bottom: 14px; }
.product h3 { font-size: clamp(34px, 3.4vw, 50px); margin-bottom: 14px; }
.product p { max-width: 460px; }
.product .more { margin-top: 18px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); display: inline-flex; gap: 8px; }
.product-wide { grid-column: 1 / -1; min-height: 620px; }
.product-wide p { max-width: 620px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.stat { padding: 32px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -.01em; }
.stat .lbl { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.stat .src { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* spec table */
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.spec td:first-child { color: var(--ink); font-weight: 500; width: 30%; }
.spec td { color: var(--ink-2); }
.spec .yes { color: var(--slime); }
.spec .no { color: var(--ink-3); }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: var(--panel); }
.spec-wrap .spec tr:last-child td { border-bottom: 0; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--panel-solid); }
.split-media img, .split-media canvas, .split-media video { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 20px; }
.split-copy ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.split-copy li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; }
.split-copy li b { color: var(--ink); font-weight: 500; }
.split-copy li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--slime); transform: rotate(45deg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* architecture diagram */
.arch { border: 1px solid var(--line); border-radius: 24px; background: var(--panel); padding: clamp(20px, 3vw, 40px); }
.arch svg { width: 100%; height: auto; display: block; }
.arch text { font-family: var(--mono); }

/* code block */
.code {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
  background: #0a0612; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; overflow-x: auto; white-space: pre;
}
.code .k { color: var(--magenta); } .code .s { color: var(--slime); } .code .c { color: var(--ink-3); } .code .f { color: var(--cyan); } .code .n { color: var(--amber); }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--slime), var(--violet), var(--magenta)); opacity: .5; }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 44px; padding: 28px 0; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 135px; top: 38px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--slime); }
.tl-when { font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; padding-top: 6px; padding-right: 16px; }
.tl-body h3 { font-size: 26px; margin-bottom: 10px; }
.tl-body p { color: var(--ink-2); max-width: 720px; }
@media (max-width: 680px) {
  .timeline::before { left: 5px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .tl-item::before { left: 0; top: 34px; }
}

/* impact cards */
.impact { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 420px; padding: 0; }
.impact .imgside { position: relative; overflow: hidden; border-right: 1px solid var(--line); background: #000; }
.impact .imgside img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.impact .body { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.impact .ath { font-family: var(--display); font-size: clamp(48px, 5vw, 76px); line-height: 1; }
.impact .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); }
.chip.hot { border-color: rgba(184,255,60,.5); color: var(--slime); }
.impact .sources { margin-top: auto; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.impact .sources a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.impact .sources a:hover { color: var(--ink); }
.contract { font-family: var(--mono); font-size: 12px; color: var(--ink-3); word-break: break-all; }
@media (max-width: 900px) { .impact { grid-template-columns: 1fr; } .impact .imgside { aspect-ratio: 16/9; border-right: 0; border-bottom: 1px solid var(--line); } }

/* gallery strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 22vw); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--violet) transparent; }
.strip figure { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; scroll-snap-align: start; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.strip figure:hover img { transform: scale(1.05); }

/* roadmap */
.road { border-left: 2px solid var(--slime); padding-left: 24px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--slime); background: rgba(184,255,60,.08); border: 1px solid rgba(184,255,60,.3); }
.status.build { color: var(--amber); background: rgba(255,180,60,.08); border: 1px solid rgba(255,180,60,.3); }
.status.plan { color: var(--cyan); background: rgba(60,228,255,.08); border: 1px solid rgba(60,228,255,.3); }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line-strong);
  padding: clamp(40px, 7vw, 96px); background: radial-gradient(120% 140% at 0% 0%, rgba(139,77,255,.35), transparent 50%), radial-gradient(120% 140% at 100% 100%, rgba(255,60,199,.25), transparent 50%), var(--panel-solid);
  display: grid; gap: 28px;
}
.cta img.deco { position: absolute; right: -40px; bottom: -40px; width: min(44%, 460px); opacity: .9; pointer-events: none; }
@media (max-width: 760px) { .cta img.deco { position: static; width: 70%; margin: 0 auto -20px; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 72px 0 40px; background: linear-gradient(180deg, transparent, rgba(139,77,255,.06)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.footer a:hover { color: var(--slime); }
.footer .socials { display: flex; gap: 10px; margin-top: 20px; }
.footer .socials a img { width: 44px; height: 44px; transition: transform .2s; }
.footer .socials a:hover img { transform: translateY(-3px) rotate(-4deg); }
.footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation-duration: 80s; }
  html { scroll-behavior: auto; }
}

/* misc */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: 13px; color: var(--ink-3); }
.kbd { font-family: var(--mono); font-size: .85em; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); }
.anchor-nav { position: sticky; top: 72px; z-index: 40; background: rgba(7,4,13,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.anchor-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.anchor-nav a { flex: none; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.anchor-nav a:hover, .anchor-nav a.on { color: var(--ink); background: rgba(255,255,255,.06); }
.big-quote { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 4vw, 56px); line-height: 1.04; max-width: 1100px; }
.big-quote em { font-style: normal; color: var(--slime); }
.split > *, .grid > *, .hero-grid > * { min-width: 0; }

/* archived-site previews on impact cards */
.impact .imgside.gallery { display: flex; flex-direction: column; background: #0a0612; }
.shot { display: block; position: relative; border-bottom: 1px solid var(--line); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #120a20; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-2); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.shot-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot-bar b { margin-left: auto; color: var(--slime); font-weight: 500; white-space: nowrap; }
.impact .imgside .shot img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.02); }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; flex: 1; }
.shot-row .shot { border-bottom: 0; }
.shot-row .shot + .shot { border-left: 1px solid var(--line); }
.shot-row .shot { display: flex; flex-direction: column; min-width: 0; }
.impact .imgside .shot-row .shot img { flex: 1; aspect-ratio: auto; height: 100%; min-height: 240px; }
.impact .imgside .shot-row .shot.post img { object-fit: contain; object-position: center; background: #000; }
.impact .imgside .shot-row .shot:not(.post) img { object-position: top left; }
@media (max-width: 900px) { .impact .imgside.gallery { aspect-ratio: auto; } }
@media (max-width: 520px) { .shot-row { grid-template-columns: 1fr; } .shot-row .shot + .shot { border-left: 0; border-top: 1px solid var(--line); } }

/* before / after slider */
.compare { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #000; --pos: 50%; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; pointer-events: none; }
.impact .imgside .compare img { height: 100%; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--slime); box-shadow: 0 0 18px rgba(184,255,60,.6); pointer-events: none; }
.compare-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: var(--slime); box-shadow: 0 0 0 6px rgba(184,255,60,.18); }
.compare-tag { position: absolute; top: 12px; padding: 6px 10px; border-radius: 6px; background: rgba(7,4,13,.82); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); pointer-events: none; }
.compare-tag.l { left: 12px; } .compare-tag.r { right: 12px; color: #07040d; background: var(--slime); font-weight: 600; }
.compare-before { z-index: 1; }
.compare-line { z-index: 2; } .compare input { z-index: 3; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input:focus-visible + .compare-line { outline: 2px solid #fff; }
.facts { padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-2); }
.facts div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.facts b { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--slime); padding-top: 2px; }
.facts a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.impact.wide { grid-template-columns: 1fr; }
.impact.wide .imgside { border-right: 0; border-bottom: 1px solid var(--line); }
.impact.wide .compare { aspect-ratio: 16/9; }
.impact.wide .shot-row { grid-template-columns: 1fr 1.3fr; }
.impact.wide .shot-row .shot img { min-height: 320px; }
.impact.wide .facts { padding: 28px 32px; gap: 14px; font-size: 15px; justify-content: center; }
.impact.wide .facts div { grid-template-columns: 120px 1fr; }
.impact.wide .body { padding: 40px 48px; }
@media (max-width: 900px) { .impact.wide .imgside { aspect-ratio: auto; } .impact.wide .shot-row { grid-template-columns: 1fr; } .impact.wide .shot-row .shot + * { border-left: 0; border-top: 1px solid var(--line); } .impact.wide .body { padding: 28px; } }
.product h3 .tb-wordmark { position: static; display: block; width: min(300px, 62%); height: auto; margin: 18px 0 4px -6px; filter: drop-shadow(0 12px 32px rgba(0,0,0,.6)); }
.product .kicker { align-self: flex-start; padding: 6px 10px; border-radius: 6px; background: rgba(7,4,13,.78); backdrop-filter: blur(6px); }

/* site previews: the whole page in a browser frame instead of a tall crop */
.impact .imgside.site { display: flex; align-items: center; justify-content: center; padding: 32px; background: radial-gradient(circle at 30% 25%, rgba(139,77,255,.28), transparent 60%), radial-gradient(circle at 80% 80%, rgba(184,255,60,.12), transparent 55%), #0a0612; }
.impact .imgside.site .shot { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.impact .imgside.site .shot img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 900px) { .impact .imgside.site { aspect-ratio: auto; padding: 18px; } }

/* past projects */
.proj { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.proj > .shot { border-bottom: 1px solid var(--line); }
.proj > .shot img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top center; }
.proj-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proj-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.proj-peak { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--display); font-size: 28px; line-height: 1; }
.proj-peak small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); margin-top: 6px; text-transform: uppercase; }
.proj-what { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slime); margin: 0; }
.proj .contract { word-break: break-all; }
.proj .sources { margin-top: auto; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.proj .sources a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
@media (max-width: 520px) { .proj-peak { align-items: flex-start; } }

/* desktop theatre: tabs, big screen, film strip. Phones keep the plain layout. */
.th-tabs, .th-film, .th-glow, .th-now, .clip-open { display: none; }
@media (min-width: 961px) {
  [data-theatre-hide] { display: none !important; }
  .th-shell {
    --th-w: min(1640px, calc(100vw - 72px), calc((100vh - 160px) * 1.7778));
    position: relative; width: var(--th-w); left: 50%; margin-left: calc(var(--th-w) / -2); scroll-margin-top: 92px;
  }
  .th-glow { display: block; position: absolute; inset: 4% -6% 8%; z-index: -1; background-size: cover; background-position: center; filter: blur(90px) saturate(1.5); opacity: .5; transition: background-image .6s ease; pointer-events: none; }
  .th-tabs { display: flex; gap: 6px; align-items: flex-end; overflow-x: auto; scrollbar-width: none; padding: 0 14px; }
  .th-tabs::-webkit-scrollbar { display: none; }
  .th-tab { display: flex; align-items: center; flex: none; max-width: 300px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: rgba(14,8,25,.72); color: var(--ink-3); transition: background .2s, color .2s; }
  .th-tab:hover { color: var(--ink); }
  .th-tab.on { background: #000; color: var(--ink); box-shadow: inset 0 2px 0 var(--slime); }
  .th-tab-go { all: unset; cursor: pointer; padding: 13px 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .th-tab-go:focus-visible, .th-tab-x:focus-visible, .th-thumb:focus-visible, .clip-open:focus-visible { outline: 2px solid var(--slime); outline-offset: -2px; }
  .th-tab-x { all: unset; cursor: pointer; position: relative; width: 22px; height: 22px; margin-right: 10px; border-radius: 6px; flex: none; }
  .th-tab-x:hover { background: rgba(255,255,255,.1); }
  .th-tab-x::before, .th-tab-x::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: currentColor; transform: rotate(45deg); }
  .th-tab-x::after { transform: rotate(-45deg); }
  .th-now { display: flex; align-items: baseline; gap: 22px; padding: 22px 4px 18px; }
  .th-title { margin: 0; flex: none; font-size: 26px; }
  .th-desc { margin: 0; color: var(--ink-3); font-size: 15px; }
  .th-film { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(208px, 1fr); gap: 12px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .th-thumb { all: unset; cursor: pointer; position: relative; display: block; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; transition: transform .25s, border-color .25s; }
  .th-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .78; transition: opacity .25s; }
  .th-thumb:hover { transform: translateY(-3px); border-color: var(--slime); }
  .th-thumb:hover img, .th-thumb.on img { opacity: 1; }
  .th-thumb.on { border-color: var(--slime); box-shadow: 0 0 0 1px var(--slime); }
  .th-thumb-label { position: absolute; inset: auto 0 0; padding: 26px 12px 9px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  [data-clip] { position: relative; }
  .clip-open { all: unset; display: flex; position: absolute; inset: 0; z-index: 2; cursor: pointer; align-items: center; justify-content: center; background: rgba(0,0,0,0); transition: background .2s; }
  .clip-open:hover { background: rgba(0,0,0,.35); }
  .clip-open-label { padding: 10px 16px; border-radius: 999px; background: var(--slime); color: #07040d; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
  .clip-open:hover .clip-open-label, .clip-open:focus-visible .clip-open-label { opacity: 1; transform: none; }
  .is-playing { outline: 2px solid var(--slime); outline-offset: -2px; }
}
.th-title { font-family: var(--display); text-transform: uppercase; }
