:root {
  --bg: #0a0612;
  --bg-2: #120a22;
  --fg: #f5edff;
  --fg-2: #b9a8d8;
  --muted: #a89bc5;
  --pink: #ff5cc4;
  --cyan: #62e6ff;
  --amber: #ffcc6b;
  --violet: #9b6cff;
  --pad-x: 36px;
  --font-sans: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  /* `clip` (not `hidden`) — `hidden` creates a nested scroll context that
     breaks position:sticky on descendants like the nav. */
  overflow-x: clip;
}
body { min-height: 100vh; position: relative; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); }

/* ── Alibaba PuHuiTi — Chinese (zh) only ────────────────────────
   Self-hosted subset (~125 KB/weight) covering the site's Hanzi.
   Regenerate after editing Chinese copy:  python3 scripts/subset-zh-font.py
   Loaded as a CJK fallback *after* the Latin faces, so English keeps
   Schibsted/Geist and only Han glyphs use PuHuiTi. EN pages render no
   Han glyphs → the file is never downloaded there. */
@font-face {
  font-family: 'Alibaba PuHuiTi';
  src: url('/assets/fonts/AlibabaPuHuiTi-subset-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alibaba PuHuiTi';
  src: url('/assets/fonts/AlibabaPuHuiTi-subset-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html[lang="zh-Hans"] {
  --font-sans: 'Schibsted Grotesk', 'Alibaba PuHuiTi', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', 'Alibaba PuHuiTi', ui-monospace, monospace;
}
/* Display headings render in PuHuiTi 700 for Chinese; font-variation-settings
   still drives Schibsted's Latin weight, this just selects the bold Han face. */
html[lang="zh-Hans"] :is(h1, h2, h3, h4) { font-weight: 700; }

/* BACKDROP — animated gradient blobs */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  mix-blend-mode: screen;
  will-change: transform;
}
.blob.a { width: 700px; height: 700px; background: var(--pink); top: -180px; left: -100px; animation: floatA 28s ease-in-out infinite; }
.blob.b { width: 600px; height: 600px; background: var(--violet); top: 28%; right: -160px; animation: floatB 32s ease-in-out infinite; }
.blob.c { width: 520px; height: 520px; background: var(--cyan); bottom: -160px; left: 20%; animation: floatC 36s ease-in-out infinite; }
.blob.d { width: 380px; height: 380px; background: var(--amber); top: 12%; left: 38%; opacity: 0.4; animation: floatD 24s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(120px, 80px, 0) scale(1.15); } }
@keyframes floatB { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-90px, 140px, 0) scale(0.92); } }
@keyframes floatC { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(80px, -100px, 0) scale(1.18); } }
@keyframes floatD { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-60px, 60px, 0) scale(1.25); } }

/* Grain */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.35 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  opacity: 0.5; mix-blend-mode: overlay;
}

.content { position: relative; z-index: 2; }

/* Invisible marker spanning the first fold. The topbar reveals once this
   scrolls out of view (see BaseLayout IntersectionObserver). */
.fold-sentinel {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 88vh;
  pointer-events: none;
  z-index: -1;
}

/* NAV + TOPBAR — share layout/children; differ only in placement + chrome */
:is(.nav, .topbar) {
  padding: 18px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* In-flow nav — part of the hero fold, transparent, scrolls away on load */
.nav {
  position: relative;
  z-index: 40;
}

/* Thin sticky topbar — hidden on load, slides in only after the fold */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(10, 6, 18, 0.62);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(-101%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.34s;
}
.topbar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
header.topbar .logo { font-size: 26px; }

/* Hamburger — visible only on mobile */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s, width 0.25s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19.25px; width: 18px; }
.nav-toggle span:nth-child(3) { top: 25.5px; }
.nav-toggle:hover span { background: var(--pink); }
:is(.nav, .topbar) .logo {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: 32px;
  letter-spacing: -0.04em;
  display: inline-flex; align-items: center; gap: 6px;
}
:is(.nav, .topbar) .logo::after { content: ""; width: 10px; height: 10px; background: var(--pink); border-radius: 50%; box-shadow: 0 0 14px var(--pink); }
:is(.nav, .topbar) ul { list-style: none; display: flex; gap: 24px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em; text-transform: lowercase; }
:is(.nav, .topbar) ul a { opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
:is(.nav, .topbar) ul a:hover { opacity: 1; color: var(--pink); }
:is(.nav, .topbar) .pill {
  padding: 8px 16px;
  border: 1px solid var(--fg-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.08em; text-transform: lowercase;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  /* Reset so <button.pill> renders identically to <a.pill> */
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
:is(.nav, .topbar) .pill:hover { background: rgba(255, 92, 196, 0.08); border-color: rgba(255, 92, 196, 0.6); color: var(--fg); }
:is(.nav, .topbar) .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Language switcher */
.lang-switch {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang-switch:hover { color: var(--fg); border-color: rgba(255, 92, 196, 0.5); background: rgba(255, 92, 196, 0.06); }
/* Push the switcher + booking pill to the right edge of the bar */
:is(.nav, .topbar) .lang-switch { margin-left: auto; }

/* Case study — live-site link in the split hero */
.case-live {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  border-bottom: 1px solid rgba(98, 230, 255, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.case-live:hover { color: var(--pink); border-color: var(--pink); }

/* HERO */
.hero {
  /* The hero sits between the in-flow nav and the marquee. --nav-h and
     --marquee-h are measured at runtime (BaseLayout script) and updated on
     resize, so nav + hero + marquee == 100dvh exactly → the marquee lands
     flush against the bottom edge on load, at any viewport size. The fallbacks
     keep it close before JS runs. h1 + lede also scale with vh below. */
  --above-fold-reserve: calc(var(--nav-h, 72px) + var(--marquee-h, 92px));
  padding: clamp(16px, 3vh, 40px) var(--pad-x) clamp(20px, 4vh, 56px);
  /* Match the method/about .page-head inner width so hero content lines up
     with the rest of the site's 1180px column instead of spanning full-bleed. */
  max-width: 1180px;
  margin-inline: auto;
  min-height: calc(100dvh - var(--above-fold-reserve));
  max-height: calc(100dvh - var(--above-fold-reserve));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--fg-2);
  margin-bottom: clamp(10px, 2.4vh, 24px);
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.eyebrow .bar { width: 36px; height: 1px; background: var(--fg-2); }
.eyebrow .sep { color: var(--pink); }

.hero h1 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 720;
  font-weight: 720;
  /* Use the smaller of vw/vh-based sizing so short viewports don't push the
     marquee out of view. h1 has 4 stacked lines, so vh sensitivity matters. */
  font-size: clamp(36px, min(7vw, 12vh), 116px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: clamp(12px, 2.6vh, 26px);
  max-width: 1280px;
}
.hero h1 .light {
  font-variation-settings: 'wght' 320;
  font-weight: 320;
  color: var(--fg-2);
}
.hero h1 .it {
  font-style: italic;
  font-variation-settings: 'wght' 380;
  font-weight: 380;
  color: var(--fg);
}
.hero h1 .chrome {
  background: linear-gradient(135deg, var(--pink) 0%, var(--amber) 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.hero h1 .chrome-2 {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--violet) 60%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-variation-settings: 'wght' 600;
  font-weight: 600;
}

.hero p.lede {
  font-size: clamp(16px, min(1.95vw, 2.5vh), 24px);
  line-height: 1.5;
  color: var(--fg);
  /* Stretched wide now that the "currently shipping" column has moved out. */
  max-width: 1080px;
  opacity: 0.92;
  font-weight: 400;
}
.hero p.lede em {
  font-style: italic;
  color: var(--pink);
  font-weight: 500;
}

.hero-actions { margin-top: clamp(16px, 3vh, 32px); display: flex; gap: 12px; flex-wrap: wrap; }
/* Single hero CTA — wider, centred label on desktop */
.hero-actions .btn { min-width: 300px; justify-content: center; }

/* Short desktop windows: the 4-line headline + side column + buttons are tall.
   Compact type/spacing so everything (and the flush marquee) fits without
   clipping. Scoped to desktop widths; mobile has its own compact rules. */
@media (min-width: 721px) and (max-height: 820px) {
  .hero h1 { font-size: clamp(30px, min(6vw, 10vh), 96px); margin-bottom: clamp(10px, 1.8vh, 20px); }
  .hero p.lede { font-size: clamp(14px, 1.8vh, 19px); line-height: 1.45; }
  .hero-actions .btn { padding: 12px 22px; }
}

/* Tablet portrait (e.g. iPad): tall + narrow, uses the desktop hero layout but
   has lots of vertical room — open up the rhythm between hero elements so it
   doesn't feel crowded in the middle of the screen. */
@media (min-width: 721px) and (orientation: portrait) {
  .eyebrow { margin-bottom: clamp(28px, 4vh, 52px); }
  .hero h1 { font-size: clamp(48px, 8.5vw, 92px); margin-bottom: clamp(32px, 4.5vh, 60px); }
  .hero p.lede { font-size: clamp(18px, 2.2vh, 24px); }
  .hero-actions { margin-top: clamp(36px, 5vh, 64px); }
}
.btn {
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  /* Reset for <button> so <a class="btn"> and <button class="btn"> render identically */
  border: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.btn.primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(255, 92, 196, 0.4);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(255, 92, 196, 0.7); }
.btn.ghost { border: 1px solid var(--fg-2); color: var(--fg); }
.btn.ghost:hover { background: rgba(255,255,255,0.06); }

/* MARQUEE */
.marquee {
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid rgba(245, 237, 255, 0.12);
  border-bottom: 1px solid rgba(245, 237, 255, 0.12);
  background: rgba(10, 6, 18, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  align-items: center;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 600;
  font-size: clamp(15px, 2.2vw, 22px);
  letter-spacing: -0.025em;
}
.marquee-track .star {
  color: var(--pink);
  display: inline-block;
  animation: spin 8s linear infinite;
  font-size: 0.7em;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* CURRENTLY SHIPPING */
.shipping { padding: 92px var(--pad-x); position: relative; }
.shipping-inner { max-width: 1180px; margin: 0 auto; }
.shipping-head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.shipping-head .num-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.shipping-head .num-label .bar { width: 28px; height: 1px; background: var(--fg-2); }
.shipping-head h2 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 680;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 680;
}
.shipping-head h2 .it {
  font-style: italic;
  font-variation-settings: 'wght' 360;
  font-weight: 360;
  color: var(--pink);
}
.shipping-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.shipping-grid li {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--fg);
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.018);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.shipping-grid li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.shipping-grid li:nth-child(4n+1)::before { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.shipping-grid li:nth-child(4n+2)::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.shipping-grid li:nth-child(4n+3)::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.shipping-grid li:nth-child(4n)::before { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.shipping-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 92, 196, 0.4);
  background: rgba(255,255,255,0.06);
}

/* Work archive intro */
.work-intro {
  max-width: 1180px;
  margin: -28px auto 50px;
}
.work-intro p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--fg);
  opacity: 0.82;
}

/* FAQ */
.faq { padding: 110px var(--pad-x); position: relative; }
.faq-inner { max-width: 1180px; margin: 0 auto; }
.faq-head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.faq-head .num-label {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.22em; text-transform: lowercase;
  color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
}
.faq-head .num-label .bar { width: 28px; height: 1px; background: var(--fg-2); }
.faq-head h2 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 680;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 680;
}
.faq-head h2 .it { font-style: italic; font-variation-settings: 'wght' 360; font-weight: 360; color: var(--pink); }
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.faq-item {
  padding: 26px 26px;
  border-radius: 18px;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.1);
}
.faq-item dt {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 640;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.faq-item dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  opacity: 0.84;
}
@media (max-width: 720px) {
  .faq { padding: 70px var(--pad-x); }
  .faq-list { grid-template-columns: 1fr; gap: 14px; }
  .faq-item { padding: 22px 20px; }
  .faq-item dt { font-size: 18px; }
}

/* MANIFESTO */
.manifesto { padding: 130px var(--pad-x); position: relative; }
.manifesto-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 70px;
  align-items: start;
}
.manifesto .num {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 800;
  font-size: clamp(140px, 17vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.manifesto .num-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--fg-2);
}
.manifesto h2 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 680;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  font-weight: 680;
}
.manifesto h2 .it {
  font-style: italic;
  font-variation-settings: 'wght' 380;
  font-weight: 380;
  color: var(--pink);
}
.manifesto p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg);
  opacity: 0.88;
  margin-bottom: 18px;
  max-width: 580px;
}
.manifesto .highlight {
  background: linear-gradient(120deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.manifesto .aside-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 580px;
}
.manifesto .aside-note strong { color: var(--cyan); font-weight: 500; }

/* DISCIPLINES */
.disc { padding: 110px var(--pad-x); position: relative; }
.disc-inner { max-width: 1180px; margin: 0 auto; }
.disc-head {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.disc-head .num-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--fg-2);
}
.disc-head h3 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.disc-head h3 .it { font-style: italic; font-variation-settings: 'wght' 340; font-weight: 340; color: var(--pink); }
.disc-head h3 .chrome {
  background: linear-gradient(135deg, var(--pink), var(--amber), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* zh: PuHuiTi reads larger/denser than Latin at the same size — cap this
   display heading a touch smaller on desktop (English keeps its 84px). */
@media (min-width: 1025px) {
  html[lang="zh-Hans"] .disc-head h3 { font-size: clamp(40px, 6vw, 75px); }
}

.disc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.disc-card {
  padding: 28px 26px;
  border-radius: 22px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.disc-card:hover { transform: translateY(-6px); border-color: rgba(255, 92, 196, 0.4); box-shadow: 0 30px 80px rgba(255, 92, 196, 0.18), inset 0 1px 0 rgba(255,255,255,0.15); }
.disc-card .disc-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--muted);
}
.disc-card h4 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, var(--fg) 0%, var(--fg-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.disc-card:nth-child(1) h4 { background: linear-gradient(135deg, var(--pink), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.disc-card:nth-child(2) h4 { background: linear-gradient(135deg, var(--amber), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.disc-card:nth-child(3) h4 { background: linear-gradient(135deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.disc-card:nth-child(4) h4 { background: linear-gradient(135deg, var(--violet), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.disc-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  opacity: 0.88;
}
.disc-card ul {
  list-style: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.95;
  color: var(--fg-2);
}
.disc-card ul li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.disc-card ul li::before { content: "·  "; color: var(--pink); }

.disc-bonus {
  margin-top: 32px;
  padding: 22px 26px;
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(255, 92, 196, 0.12), rgba(155, 108, 255, 0.08));
  border: 1px solid rgba(255, 92, 196, 0.25);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.disc-bonus .pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  font-weight: 500;
  white-space: nowrap;
}
.disc-bonus p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg);
  flex: 1;
  min-width: 240px;
}
.disc-bonus p em { font-style: italic; color: var(--pink); font-weight: 500; }

/* WORK */
.work { padding: 130px var(--pad-x); position: relative; }
.work-head {
  max-width: 1180px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 22px;
  gap: 24px;
}
.work-head h2 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 720;
  font-size: clamp(38px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.work-head h2 .it { font-style: italic; font-variation-settings: 'wght' 340; font-weight: 340; color: var(--pink); }
.work-head .label { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.18em; text-transform: lowercase; color: var(--fg-2); }

.work-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.018);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  display: block;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(255, 92, 196, 0.18); border-color: rgba(255, 92, 196, 0.3); }
.card.large { grid-column: span 7; }
.card.small { grid-column: span 5; }
.card.mid { grid-column: span 6; }
.card-cover {
  height: 320px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-color: var(--bg-2);
}
.card.large .card-cover { height: 380px; }
.card-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.card-cover::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.35; mix-blend-mode: overlay;
  pointer-events: none;
}
/* Title pill — top-left, bold white uppercase (no gradient) */
.card-cover .title-pill {
  position: absolute; top: 16px; left: 16px;
  z-index: 1;
  max-width: calc(100% - 32px);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 850;
  font-weight: 850;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* solid two-tone title — base white, accent pink (no italic) */
.card-cover .title-pill .it { color: var(--pink); font-style: normal; }
.card.large .card-cover .title-pill { font-size: 17px; }
/* Subtitle/category badge — moved to the bottom of the cover */
.card-cover .badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--fg);
  z-index: 1;
}
.card-meta { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-meta .role { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--fg-2); line-height: 1.5; }
.card-meta .role strong { color: var(--fg); font-weight: 500; }
.card-meta .go {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 500;
  font-size: 26px;
  transition: color 0.2s, transform 0.2s;
}
.card:hover .go { color: var(--pink); transform: translateX(4px); }

/* ─── CONTENT PAGES (about + method) ─────────────────────────── */

.page-head {
  padding: 60px var(--pad-x) 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.page-head .eyebrow {
  margin-bottom: 22px;
}
.page-head h1 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 720;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  max-width: 1100px;
}
.page-head h1 .it {
  font-style: italic;
  font-variation-settings: 'wght' 380;
  font-weight: 380;
  color: var(--pink);
}
.page-head h1 .chrome {
  background: linear-gradient(135deg, var(--pink), var(--amber) 45%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-head .lede {
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.5;
  color: var(--fg);
  max-width: 720px;
  opacity: 0.92;
}
.page-head .lede em {
  font-style: italic;
  color: var(--pink);
  font-weight: 500;
}

/* Founders grid (about page) */
.founders {
  padding: 80px var(--pad-x);
}
.founders-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.founder-card {
  padding: 36px 32px;
  border-radius: 22px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 92, 196, 0.3);
  box-shadow: 0 30px 80px rgba(255, 92, 196, 0.15), inset 0 1px 0 rgba(255,255,255,0.15);
}
.founder-card .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: var(--bg);
  background: linear-gradient(135deg, var(--pink), var(--amber));
}
.founder-card:nth-child(2) .avatar {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}
.founder-card .avatar.avatar-photo {
  overflow: hidden;
  background: var(--bg-2);
  padding: 0;
}
.founder-card .avatar.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-card h3 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: -8px;
}
.founder-card .founder-role {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--fg-2);
}
.founder-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  opacity: 0.88;
}
.founder-card .credits {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.95;
  color: var(--fg-2);
}
.founder-card .credits li::before { content: "·  "; color: var(--pink); }

/* Method phase list */
.phases {
  padding: 80px var(--pad-x);
}
.phases-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.phase {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 60px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.phase:last-child { border-bottom: none; }
.phase .phase-mark {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--fg-2);
  margin-bottom: 8px;
}
.phase .phase-num {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 800;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.phase:nth-child(2) .phase-num { background: linear-gradient(135deg, var(--amber), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase:nth-child(3) .phase-num { background: linear-gradient(135deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase:nth-child(4) .phase-num { background: linear-gradient(135deg, var(--violet), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase:nth-child(5) .phase-num { background: linear-gradient(135deg, var(--pink), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase h3 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 680;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.phase h3 .it { font-style: italic; font-variation-settings: 'wght' 380; font-weight: 380; color: var(--pink); }
.phase p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  opacity: 0.88;
  margin-bottom: 16px;
  max-width: 580px;
}
.phase .phase-deliverables {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.phase .phase-deliverables li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--fg-2);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Two-col aside (what you get / what we don't do) */
.split-aside {
  padding: 80px var(--pad-x);
}
.split-aside-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.aside-card {
  padding: 32px 28px;
  border-radius: 22px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
}
.aside-card.negative { border-color: rgba(255, 92, 196, 0.2); background: rgba(255, 92, 196, 0.04); }
.aside-card h4 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.aside-card.negative h4 { color: var(--pink); }
.aside-card ul {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.95;
  color: var(--fg-2);
}
.aside-card ul li::before { content: "·  "; color: var(--pink); }
.aside-card.negative ul li::before { content: "×  "; color: var(--pink); }

@media (max-width: 1024px) {
  .founders-grid { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .split-aside-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-head { padding: 32px var(--pad-x) 16px; }
  .founders, .phases, .split-aside { padding: 60px var(--pad-x); }
  .founder-card { padding: 28px 24px; }
  .founder-card h3 { font-size: clamp(28px, 7vw, 36px); }
}

/* ─── ARCHIVE LAYOUT (work/ page) ────────────────────────────── */

/* Uniform 3-column grid for the archive — overrides .large/.small/.mid
   spans and fixed heights, gives every card the same 16:10 cover. */
.work-grid.uniform-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-grid.uniform-3 .card { grid-column: auto; }
.work-grid.uniform-3 .card-cover {
  /* !important to beat .card.large .card-cover { height: 380px } (3-class specificity) */
  height: auto !important;
  aspect-ratio: 16 / 10;
}

/* Categorized sections — Editorial / Shop / Web app */
.cat-section { margin-bottom: 70px; }
.cat-section:last-child { margin-bottom: 0; }
.cat-head {
  max-width: 1180px;
  margin: 0 auto 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 600;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}
.cat-head .cat-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--fg-2);
  font-weight: 400;
  font-variation-settings: normal;
}

@media (max-width: 1024px) {
  .work-grid.uniform-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .work-grid.uniform-3 { grid-template-columns: 1fr; }
  .cat-section { margin-bottom: 50px; }
}

/* CTA */
.cta { padding: 150px var(--pad-x); text-align: center; position: relative; }
.cta h2 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 720;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 44px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.cta h2 .it { font-style: italic; font-variation-settings: 'wght' 320; font-weight: 320; color: var(--fg-2); }
.cta h2 .chrome {
  background: linear-gradient(135deg, var(--pink), var(--amber) 40%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOT */
.foot {
  padding: 36px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--fg-2);
  align-items: center;
}
.foot .logo {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--fg);
  text-transform: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.foot .logo::after { content: ""; width: 8px; height: 8px; background: var(--pink); border-radius: 50%; }
.foot .center { text-align: center; }
.foot .right { text-align: right; }
.foot a:hover { color: var(--pink); }

/* CASE STUDY (per-project page) */
.case {
  padding: 40px var(--pad-x) 80px;
  max-width: 1180px;
  margin: 0 auto;
}
.case .back {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  transition: color 0.2s, transform 0.2s;
}
.case .back:hover { color: var(--pink); transform: translateX(-3px); }
.case .case-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--fg-2);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.case .case-eyebrow .bar { width: 36px; height: 1px; background: var(--fg-2); }
.case .case-eyebrow .sep { color: var(--pink); }
.case h1 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 720;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  max-width: 1100px;
}
.case h1 .it {
  font-style: italic;
  font-variation-settings: 'wght' 380;
  font-weight: 380;
  color: var(--pink);
}
.case .case-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-2);
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.case .case-meta strong {
  display: block;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
}
/* Frosted-glass panel holding the screenshot + the write-up */
.case-panel {
  border-radius: 26px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 26px;
  margin-bottom: 44px;
}
.case .case-hero {
  background: transparent;
  margin-bottom: 22px;
}
.case .case-hero img {
  display: block;
  width: 100%;
  height: auto;
  /* Self-framed browser mockups carry their own corners + shadow. */
  border-radius: 8px;
}
.case-panel .case-body { margin: 0; }
.case-panel .case-body :first-child { margin-top: 0; }
@media (max-width: 720px) {
  .case-panel { padding: 16px; border-radius: 20px; }
  .case .case-hero { margin-bottom: 18px; }
}

/* ─── CASE STUDY — two-column split hero (CSS rebuild) ───────────── */
.case-split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  grid-template-areas:
    "head head"
    "body shot";
  column-gap: 52px;
  row-gap: 36px;
  align-items: start;
  /* frosted-glass card */
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 52px;
  margin-bottom: 48px;
}
.case-split-head { grid-area: head; }
.case-split-shot { grid-area: shot; align-self: start; }
.case-split-body { grid-area: body; }

.case-kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 18px;
}
.case-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  flex: 0 0 auto;
}
.case-split-head h1 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 720;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.case-split-head h1 .it {
  font-style: italic;
  font-variation-settings: 'wght' 360;
  font-weight: 360;
  color: var(--pink);
}
.case-subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  margin-bottom: 18px;
}
.case-accent {
  width: 64px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--cyan));
}
.case-split-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.case-split-body :first-child { margin-top: 0; }

@media (max-width: 860px) {
  .case-split {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "shot"
      "body";
    column-gap: 0;
    row-gap: 22px;
    padding: 30px;
  }
  .case-split-shot { align-self: stretch; }
}
@media (max-width: 720px) {
  .case-split { padding: 22px; border-radius: 20px; }
}
.case .case-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg);
  opacity: 0.88;
  margin-bottom: 18px;
  max-width: 720px;
}
.case .case-body p em {
  font-style: italic;
  color: var(--pink);
  font-weight: 500;
}
.case .case-body h2 {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 680;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 36px 0 14px;
  max-width: 720px;
}
.case .case-body h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--fg-2);
  margin: 28px 0 10px;
}
.case .case-body strong { color: var(--fg); font-weight: 600; }
.case .case-body a { color: var(--cyan); border-bottom: 1px solid rgba(98,230,255,0.4); }
.case .case-body a:hover { color: var(--pink); border-color: var(--pink); }
.case .case-body ul {
  list-style: none;
  margin: 0 0 18px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  opacity: 0.88;
}
.case .case-body ul li { padding-left: 20px; position: relative; }
.case .case-body ul li::before { content: "·"; position: absolute; left: 4px; color: var(--pink); }

/* Case study — scope tags + related work */
.case-scope {
  list-style: none;
  padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 40px;
}
.case-scope .tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--fg);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.018);
}
.related {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 40px;
}
.related h2 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--fg-2);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-grid .card { grid-column: auto; }
/* !important to beat .card.large .card-cover { height: 380px } (3-class specificity) */
.related-grid .card-cover { height: auto !important; aspect-ratio: 16 / 10; }
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }

/* ─── TABLET ─── */
@media (max-width: 1024px) {
  :root { --pad-x: 24px; }
  .manifesto-inner, .disc-head { gap: 40px; }
  .disc-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── MOBILE ─── */
@media (max-width: 720px) {
  :root { --pad-x: 18px; }

  /* Lighter, smaller, fewer blobs for perf */
  .blob { filter: blur(48px); opacity: 0.55; }
  .blob.a { width: 380px; height: 380px; top: -120px; left: -100px; }
  .blob.b { width: 320px; height: 320px; right: -120px; }
  .blob.c { width: 280px; height: 280px; bottom: -100px; left: 10%; }
  .blob.d { display: none; }
  .grain { opacity: 0.3; }

  :is(.nav, .topbar) {
    padding: 14px var(--pad-x);
    /* Mobile layout: logo | pill | hamburger */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
  }
  /* keep the topbar thin even on mobile (header.* beats :is() specificity) */
  header.topbar { padding-top: 9px; padding-bottom: 9px; }
  :is(.nav, .topbar) ul { display: none; }
  /* inline switcher hides on mobile — it lives in the hamburger menu instead */
  :is(.nav, .topbar) .lang-switch { display: none; }
  :is(.nav, .topbar) .logo { font-size: 26px; justify-self: start; }
  header.topbar .logo { font-size: 24px; }
  :is(.nav, .topbar) .pill { padding: 7px 13px; font-size: 12px; justify-self: center; }
  .nav-toggle { display: inline-flex; justify-self: end; }

  .hero {
    /* --above-fold-reserve inherits the var-based calc from the base rule;
       --nav-h / --marquee-h are measured live so it's exact on mobile too. */
    padding: clamp(12px, 2vh, 24px) var(--pad-x) clamp(16px, 3vh, 32px);
  }
  .eyebrow { margin-bottom: clamp(12px, 2.6vh, 26px); font-size: 12px; letter-spacing: 0.18em; }
  .eyebrow .bar { width: 22px; }
  /* Meta column moved out → more room. Bigger headline, generous gap, then lede.
     Width-scaled so the "and actually grow." line keeps the 4-line staircase
     (no mid-phrase wrap) from ~360px up. */
  .hero h1 { font-size: clamp(38px, min(11.4vw, 13vh), 76px); letter-spacing: -0.045em; line-height: 1.0; margin-bottom: clamp(26px, 5.5vh, 52px); }
  .hero p.lede { font-size: clamp(16px, min(4.4vw, 2vh), 19px); line-height: 1.55; max-width: none; }
  .hero-actions { margin-top: clamp(24px, 5vh, 44px); gap: 10px; }
  /* shorter on mobile — size to content instead of stretching full-width
     (overrides the base mobile .btn flex: 1 1 auto) */
  .hero-actions .btn { min-width: 0; flex: 0 0 auto; align-self: flex-start; }
  .btn { padding: 14px 22px; font-size: 12.5px; flex: 1 1 auto; justify-content: center; }

  .marquee { padding: 9px 0; }
  .marquee-track { gap: 28px; }
  .marquee-track span { font-size: 15px; }

  .manifesto { padding: 80px var(--pad-x); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 24px; }
  .manifesto .num { font-size: 120px; margin-bottom: 8px; }
  .manifesto .num-label { font-size: 12px; }
  .manifesto h2 { font-size: clamp(28px, 7vw, 38px); margin-bottom: 22px; }
  .manifesto p { font-size: 17px; line-height: 1.65; }
  .manifesto .aside-note { padding: 14px 16px; font-size: 13.5px; }

  .disc { padding: 80px var(--pad-x); }
  .disc-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; padding-bottom: 18px; }
  .disc-head h3 { font-size: clamp(34px, 8vw, 48px); }
  .disc-grid { grid-template-columns: 1fr; gap: 14px; }
  .disc-card { min-height: 0; padding: 22px 20px; gap: 12px; }
  .disc-card h4 { font-size: 34px; }
  .disc-card p { font-size: 15.5px; }
  .disc-card ul { font-size: 13px; line-height: 1.85; padding-top: 12px; }
  .disc-bonus { margin-top: 22px; padding: 18px 20px; gap: 14px; }
  .disc-bonus p { font-size: 15.5px; }

  /* Currently shipping — smaller pills on mobile */
  .shipping { padding: 64px var(--pad-x); }
  .shipping-head { margin-bottom: 26px; padding-bottom: 18px; gap: 14px; }
  .shipping-grid { gap: 8px; }
  .shipping-grid li { font-size: 12.5px; padding: 8px 13px; gap: 8px; }
  .shipping-grid li::before { width: 6px; height: 6px; }

  .work { padding: 80px var(--pad-x); }
  .work-head { flex-direction: column; align-items: start; gap: 10px; }
  .work-head h2 { font-size: clamp(34px, 8vw, 48px); }
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .card.large, .card.small, .card.mid { grid-column: span 1; }
  .card-cover, .card.large .card-cover { height: 220px; }
  .card-cover .title-pill, .card.large .card-cover .title-pill { font-size: 13px; top: 14px; left: 14px; padding: 7px 13px; }
  .card-cover .badge { bottom: 14px; left: 14px; font-size: 11px; padding: 5px 10px; }
  .card-meta { padding: 16px 18px; }
  .card-meta .role { font-size: 12.5px; }

  .cta { padding: 100px var(--pad-x); }
  .cta h2 { font-size: clamp(40px, 11vw, 64px); margin-bottom: 32px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }

  .foot { grid-template-columns: 1fr; gap: 14px; text-align: center; padding: 28px var(--pad-x); }
  .foot .logo, .foot .right { text-align: center; justify-content: center; }
  .foot .logo { display: inline-flex; }

  .case { padding: 24px var(--pad-x) 60px; }
  .case h1 { font-size: clamp(40px, 10vw, 56px); }
  .case .case-body p { font-size: 16px; }
}

/* ─── BOOKING DIALOG ─────────────────────────────────────────── */

.booking {
  /* native <dialog> reset + the visible card itself */
  border: 0;
  color: var(--fg);
  max-width: 640px;
  width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  margin: auto;
  padding: 36px 36px 26px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    var(--bg-2);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 120px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
}
.booking::backdrop {
  background: rgba(10, 6, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.booking[open] {
  animation: bookingIn 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes bookingIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.booking-form {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  max-height: calc(100vh - 110px);
}
.booking-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.025);
  color: var(--fg);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 2;
}
.booking-close:hover { background: rgba(255, 92, 196, 0.16); border-color: rgba(255, 92, 196, 0.4); transform: rotate(90deg); }

.booking-head { margin-bottom: 20px; }
.booking-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--fg-2);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.booking-eyebrow .bar { width: 26px; height: 1px; background: var(--fg-2); }
.booking-eyebrow .sep { color: var(--pink); }
.booking-eyebrow .dim { color: var(--fg-2); opacity: 0.6; }

.booking-bar {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.booking-bar-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--cyan));
  border-radius: 999px;
  transition: width 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.booking-step {
  display: none;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding-right: 4px;
}
.booking-step.is-active {
  display: flex;
  animation: stepIn 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.booking-q {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-top: 4px;
}
.booking-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin-bottom: 6px;
  max-width: 480px;
}
.booking-fine-print {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--fg-2);
  margin-top: 16px;
}
.booking-fine-print a { color: var(--cyan); border-bottom: 1px solid rgba(98, 230, 255, 0.4); }
.booking-fine-print a:hover { color: var(--pink); border-color: var(--pink); }

/* Chip group — radio-style pill selectors */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  color: var(--fg);
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.chip:hover { background: rgba(255,255,255,0.08); border-color: rgba(255, 92, 196, 0.45); }
.chip.is-selected {
  background: linear-gradient(135deg, rgba(255, 92, 196, 0.22), rgba(155, 108, 255, 0.18));
  border-color: rgba(255, 92, 196, 0.7);
  color: var(--fg);
  box-shadow: 0 0 0 1px rgba(255, 92, 196, 0.25), 0 10px 30px rgba(255, 92, 196, 0.18);
}

/* Reveal block (Other text / phone input) */
.reveal[hidden] { display: none; }
.reveal {
  animation: revealIn 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(-4px); max-height: 0; }
  to   { opacity: 1; transform: none; max-height: 80px; }
}

/* Inputs / textarea */
.booking-label { display: flex; flex-direction: column; gap: 6px; }
.booking-label-text,
.booking-method > .booking-label-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--fg-2);
}
.booking-method { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.booking input[type="text"],
.booking input[type="email"],
.booking input[type="tel"],
.booking textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--fg);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  width: 100%;
  outline: none;
}
.booking textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.booking input:focus,
.booking textarea:focus {
  border-color: rgba(255, 92, 196, 0.6);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(255, 92, 196, 0.18);
}
.booking input::placeholder,
.booking textarea::placeholder { color: rgba(245, 237, 255, 0.35); }

/* Review summary on step 4 */
.booking-review {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.018);
  border: 1px dashed rgba(255,255,255,0.14);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-2);
  display: grid;
  gap: 6px;
}
.booking-review > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
.booking-review dt {
  color: var(--fg-2);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.booking-review dd { color: var(--fg); word-break: break-word; }

/* Validation nudge */
.booking-warn {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--pink);
  padding-left: 12px;
  border-left: 2px solid var(--pink);
}
.booking-warn.shake { animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-3px); }
  40%, 60% { transform: translateX(3px); }
}

/* Actions row */
.booking-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.booking-actions .btn { padding: 12px 22px; font-size: 12.5px; }
.booking-actions [data-prev] { margin-right: auto; }
.booking-actions [data-next],
.booking-actions [data-submit],
.booking-actions [data-done] { margin-left: auto; }
/* .btn sets display: inline-flex, which trumps the HTML [hidden] attribute.
   Restore the expected behaviour for dialog action buttons + reveal blocks. */
.booking-actions [hidden],
.booking [hidden] { display: none !important; }

@media (max-width: 720px) {
  .booking {
    /* Use dvh so iOS/Android URL bars don't push action buttons off-screen. */
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
    padding: 56px 20px 16px;
    /* Flex column so head + form stack and form fills the remaining height */
    display: flex;
    flex-direction: column;
  }
  .booking-form {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }
  .booking-step { padding-bottom: 8px; }
  .booking-close { top: 14px; right: 14px; }
  .booking-q { font-size: 26px; }
  .booking-review > div { grid-template-columns: 86px 1fr; }
  .booking-actions { margin-top: 14px; padding-top: 14px; }
  .booking-actions .btn { padding: 12px 18px; }
}

/* ─── NAV MENU (mobile hamburger overlay) ─────────────────────── */

.nav-menu {
  border: 0;
  color: var(--fg);
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: 100dvh;
  margin: 0;
  inset: 0;
  padding: 0;
  background: transparent;
}
.nav-menu::backdrop {
  background: rgba(10, 6, 18, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.nav-menu[open] {
  display: flex;
  flex-direction: column;
  padding: 56px 24px 40px;
  background:
    linear-gradient(180deg, rgba(255, 92, 196, 0.06), transparent 50%),
    rgba(10, 6, 18, 0.92);
  animation: navMenuIn 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes navMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.nav-menu-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.025);
  color: var(--fg);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.nav-menu-close:hover { background: rgba(255, 92, 196, 0.16); border-color: rgba(255, 92, 196, 0.4); transform: rotate(90deg); }

.nav-menu-list {
  list-style: none;
  padding: 0;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-menu-list a {
  font-family: var(--font-sans);
  font-variation-settings: 'wght' 700;
  font-size: clamp(48px, 14vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  text-decoration: none;
  display: inline-block;
  padding: 8px 0;
  transition: color 0.2s, transform 0.2s;
  background: linear-gradient(135deg, var(--fg), var(--fg-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-menu-list li:nth-child(1) a { background: linear-gradient(135deg, var(--pink), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu-list li:nth-child(2) a { background: linear-gradient(135deg, var(--amber), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu-list li:nth-child(3) a { background: linear-gradient(135deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu-list li:nth-child(4) a { background: linear-gradient(135deg, var(--violet), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu-list a:hover, .nav-menu-list a:active { transform: translateX(6px); }

.nav-menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--fg-2);
}
.nav-menu-foot a { color: var(--fg); border-bottom: 1px solid rgba(255,255,255,0.2); }
.nav-menu-foot a:hover { color: var(--pink); border-color: var(--pink); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .blob, .marquee-track, .star { animation: none !important; }
  .card, .disc-card, .btn { transition: none !important; }
  .booking[open], .booking-step.is-active, .reveal, .booking-warn.shake { animation: none !important; }
  .booking-bar-fill { transition: none !important; }
  .nav-menu[open] { animation: none !important; }
}

/* ── Chinese typography ─────────────────────────────────────────
   Synthesized italics read poorly in Hanzi — keep emphasis spans
   upright in zh only. Colour/weight accents are preserved; just the
   slant is dropped. English (lang="en") is untouched. */
html[lang="zh-Hans"] .it,
html[lang="zh-Hans"] em,
html[lang="zh-Hans"] .hero h1 .chrome-2 { font-style: normal !important; }
