/* o9Tech site styles. Built by scripts/site/build.mjs, do not edit assets/o9/css/site.css by hand. */

:root {
  --ink-950: #09090b;
  --ink-900: #111114;
  --ink-850: #16161a;
  --ink-800: #1b1b20;
  --ink-700: #2a2a31;
  --ink-600: #3a3a43;
  --paper: #f6f5f1;
  --paper-2: #efede6;
  --paper-card: #ffffff;
  --line: #e4e2da;
  --text: #121214;
  --text-muted: #55545c;
  --text-inv: #f4f4f5;
  --text-inv-muted: #a1a1aa;
  --brand: #fef119;
  --brand-soft: #fff7a8;
  --on-brand: #111114;
  --brand-ink: #6f6500;
  --signal: #3b82f6;
  --signal-2: #8b5cf6;
  --live: #22c55e;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1240px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-sm: 0 1px 2px rgba(17, 17, 20, .06), 0 2px 8px rgba(17, 17, 20, .05);
  --shadow-md: 0 10px 30px -12px rgba(17, 17, 20, .25);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text-inv);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.band-light :focus-visible { outline-color: var(--text); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Bands: the page alternates dark (ink) and light (paper) sections */
.band { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.band-dark { background: var(--ink-950); color: var(--text-inv); }
.band-light { background: var(--paper); color: var(--text); }
.band-light-2 { background: var(--paper-2); color: var(--text); }
.band-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-inv-muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(254, 241, 25, .15); flex: none; }
.band-light .eyebrow, .band-light-2 .eyebrow { color: var(--text-muted); }
.band-light .eyebrow::before, .band-light-2 .eyebrow::before { background: var(--text); box-shadow: 0 0 0 4px rgba(17,17,20,.08); }

.h-display { font-size: clamp(2.5rem, 6.2vw, 5.25rem); letter-spacing: -0.04em; line-height: 1.02; font-weight: 600; }
.h-section { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.035em; }
.h-card { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--text-inv-muted); max-width: 62ch; }
.band-light .lead, .band-light-2 .lead { color: var(--text-muted); }
.muted { color: var(--text-inv-muted); }
.band-light .muted, .band-light-2 .muted { color: var(--text-muted); }
.hl { color: var(--brand); }
.band-light .hl { color: var(--text); background: linear-gradient(transparent 62%, var(--brand) 62%, var(--brand) 92%, transparent 92%); }
.mono { font-family: var(--font-mono); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px 48px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* Buttons */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: .9375rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: var(--brand); box-shadow: 0 8px 24px -10px rgba(254, 241, 25, .6); }
.btn-primary:hover { --btn-bg: #fff56a; box-shadow: 0 12px 30px -10px rgba(254, 241, 25, .75); }
.btn-ghost { --btn-bg: rgba(255,255,255,.04); --btn-fg: var(--text-inv); --btn-bd: rgba(255,255,255,.18); }
.btn-ghost:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: rgba(255,255,255,.32); }
.btn-dark { --btn-bg: var(--ink-900); --btn-fg: var(--text-inv); --btn-bd: var(--ink-900); }
.btn-dark:hover { --btn-bg: var(--ink-700); --btn-bd: var(--ink-700); }
.btn-line { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: rgba(17,17,20,.2); }
.btn-line:hover { --btn-bd: var(--text); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .875rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Chips and badges */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .02em; line-height: 1.2;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--text-inv);
  white-space: nowrap;
}
.band-light .chip, .band-light-2 .chip, .on-light .chip { background: #fff; border-color: var(--line); color: var(--text); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck, .nav.is-open {
  background: rgba(9, 9, 11, .72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-inv); flex: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill);
  text-decoration: none; color: var(--text-inv-muted); font-weight: 500; font-size: .9375rem;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-inv); background: rgba(255,255,255,.06); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--text-inv); border-radius: 2px; position: relative;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--gutter) 40px;
    background: rgba(9, 9, 11, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s;
    overflow-y: auto;
  }
  .nav-links a { font-family: var(--font-display); font-size: 1.75rem; color: var(--text-inv); padding: 14px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); min-height: 56px; }
  .nav-links a:hover { background: transparent; color: var(--brand); }
  .nav-links .nav-mobile-cta { display: block; margin-top: 28px; border: 0; }
  .nav-links .nav-mobile-cta a { justify-content: center; border: 0; font-family: var(--font-body); font-size: 1rem; color: var(--on-brand); padding: 14px 22px; border-radius: var(--r-pill); }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease-out), visibility 0s; }
}
@media (min-width: 961px) { .nav-mobile-cta { display: none; } }
body.menu-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(64px, 9vw, 112px);
  background: var(--ink-950);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-glow.g1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -10vw; top: -8vw; background: radial-gradient(circle, rgba(254,241,25,.28), transparent 65%); }
.hero-glow.g2 { width: 40vw; height: 40vw; max-width: 620px; max-height: 620px; left: -14vw; bottom: -16vw; background: radial-gradient(circle, rgba(59,130,246,.26), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 6px; }
.hero-proof .badge-svg { height: 44px; width: auto; }
.proof-sep { width: 1px; height: 28px; background: rgba(255,255,255,.14); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* Hero device stage */
.stage { position: relative; aspect-ratio: 1 / 1.02; perspective: 1400px; width: 100%; max-width: 620px; margin-inline: auto; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease-out); transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -12deg)); }
.stage .device-phone { position: absolute; width: 39%; }
.stage .p1 { left: 31%; top: 6%; z-index: 3; transform: translateZ(70px); }
.stage .p2 { left: 4%; top: 16%; z-index: 2; transform: translateZ(10px) rotate(-7deg); }
.stage .p3 { right: 2%; top: 18%; z-index: 1; transform: translateZ(-20px) rotate(7deg); }
.stage .float { animation: floaty 7s ease-in-out infinite; }
.stage .p2.float { animation-delay: -2.3s; }
.stage .p3.float { animation-delay: -4.6s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.stage-chip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: rgba(17,17,20,.7); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-mono); font-size: .75rem; color: var(--text-inv); white-space: nowrap;
  box-shadow: var(--shadow-lg);
  transform: translateZ(120px);
}
.stage-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); box-shadow: 0 0 10px var(--c, var(--brand)); }
.stage-chip.c1 { left: 0; top: 6%; }
.stage-chip.c2 { right: 0; top: 4%; --c: var(--signal); }
.stage-chip.c3 { left: 6%; bottom: 10%; --c: var(--live); }
.stage-chip.c4 { right: 4%; bottom: 6%; --c: #f472b6; }
.stage-card {
  position: absolute; left: 50%; bottom: -2%; z-index: 6; translate: -50% 0; transform: translateZ(140px);
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(17,17,20,.78); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
  min-width: 250px;
}
.stage-card img { width: 40px; height: 40px; border-radius: 10px; }
.stage-card strong { display: block; font-size: .875rem; }
.stage-card small { display: block; font-size: .75rem; color: var(--text-inv-muted); }
.stage-card .live-dot { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .6875rem; color: var(--live); }
.stage-card .live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (max-width: 560px) {
  .stage-chip { font-size: .6875rem; padding: 7px 10px; }
  .stage-chip.c2, .stage-chip.c4 { display: none; }
  .stage-card { min-width: 0; width: 86%; }
}

/* Device frames */
.device-phone {
  position: relative; aspect-ratio: 9 / 19.4; border-radius: 15% / 7%;
  padding: 3.2%; background: linear-gradient(145deg, #2c2c33, #0c0c0f 40%, #1d1d22);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 4px #050506, 0 30px 60px -18px rgba(0,0,0,.7), 0 10px 20px -10px rgba(0,0,0,.6);
}
.device-phone::before {
  content: ""; position: absolute; top: 3.6%; left: 50%; translate: -50% 0; z-index: 2;
  width: 30%; height: 3.4%; border-radius: 999px; background: #050506;
}
.device-phone::after { content: ""; position: absolute; right: -1.4%; top: 22%; width: 1.4%; height: 12%; border-radius: 0 3px 3px 0; background: #26262c; }
.device-phone .screen { position: relative; width: 100%; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: #000; }
.device-phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device-phone.is-android { border-radius: 11% / 5.2%; }
.device-phone.is-android::before { width: 4.2%; height: 2%; top: 3.8%; }
.device-phone.is-android .screen { border-radius: 9% / 4.2%; }

.device-browser {
  position: relative; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.65);
}
.device-browser .bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #ececef; border-bottom: 1px solid #dcdce1; }
.device-browser .dots { display: flex; gap: 6px; }
.device-browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.device-browser .dots i:nth-child(2) { background: #febc2e; }
.device-browser .dots i:nth-child(3) { background: #28c840; }
.device-browser .url { flex: 1; max-width: 60%; margin-inline: auto; height: 20px; border-radius: 6px; background: #fff; font-family: var(--font-mono); font-size: .625rem; color: #6b6b74; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; }
.device-browser .viewport { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f4f4f6; }
.device-browser .viewport img { width: 100%; height: auto; transform: translateY(0); transition: transform 6s var(--ease-in-out); will-change: transform; }
.is-scrollable:hover .device-browser .viewport img,
.device-browser.is-scrolling .viewport img { transform: translateY(var(--scroll, 0)); }

/* Marquee of shipped products */
.marquee-wrap { position: relative; padding-block: 28px; border-block: 1px solid rgba(255,255,255,.08); background: var(--ink-950); }
.marquee-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.marquee-head p { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-inv-muted); }
.marquee-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.14); background: transparent; cursor: pointer; font-size: .8125rem; color: var(--text-inv-muted); }
.marquee-toggle:hover { color: var(--text-inv); border-color: rgba(255,255,255,.3); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 18px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); text-decoration: none; color: var(--text-inv);
  transition: background-color .2s, border-color .2s;
}
.marquee-item:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.marquee-item img { width: 44px; height: 44px; border-radius: 11px; }
.marquee-item span { font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.marquee-item small { display: block; font-size: .75rem; color: var(--text-inv-muted); font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-toggle { display: none; }
}

/* Footer */
.footer { background: var(--ink-950); color: var(--text-inv); padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h3 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-inv-muted); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--text-inv); opacity: .85; transition: opacity .2s, color .2s; }
.footer a:hover { opacity: 1; color: var(--brand); }
.footer-about p { color: var(--text-inv-muted); margin-top: 16px; max-width: 34ch; }
.footer-contact li { color: var(--text-inv-muted); }
.footer-contact a { color: var(--text-inv); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .875rem; color: var(--text-inv-muted); }
.footer-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 17vw, 15rem); letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); margin-top: 48px; user-select: none; white-space: nowrap; overflow: hidden; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-card); overflow: hidden; }
.metric { padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.05em; color: var(--text); font-variant-numeric: tabular-nums; }
.metric-value sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.metric-label { font-weight: 600; color: var(--text); }
.metric-note { font-size: .875rem; color: var(--text-muted); }
@media (max-width: 900px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
}

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.bento-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg);
  background: var(--paper-card); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.bento-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(254, 241, 25, .28), transparent 55%);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(17,17,20,.18); }
.bento-card:hover::before { opacity: 1; }
.bento-card.is-dark { background: var(--ink-900); border-color: var(--ink-700); color: var(--text-inv); }
.bento-card.is-dark::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(254, 241, 25, .16), transparent 55%); }
.bento-card.is-dark .muted { color: var(--text-inv-muted); }
.bento-card.is-dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--text-inv); }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.row-2 { grid-row: span 2; }
.bento-card h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.bento-card p { color: var(--text-muted); }
.bento-card .kicker { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; color: var(--text-muted); }
.bento-card.is-dark .kicker, .bento-card.is-dark p { color: var(--text-inv-muted); }
.bento-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-900); color: var(--brand); flex: none; }
.bento-card.is-dark .bento-icon { background: var(--brand); color: var(--on-brand); }
.bento-icon svg { width: 24px; height: 24px; }
.bento-art { margin-top: auto; position: relative; }
.bento-art svg { width: 100%; height: auto; }
.bento-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.bento-foot .link-arrow { font-size: .9375rem; }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: auto; }
  .bento-card.row-2 { grid-row: auto; }
}

/* Architecture showcase */
.arch { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); }
.arch-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.arch-wires path { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.5; transition: stroke .3s, opacity .3s; }
.arch-wires path.flow { stroke: url(#wireGrad); stroke-dasharray: 4 10; animation: flow 1.6s linear infinite; opacity: .55; }
.arch-wires path.is-hot { stroke: var(--brand); opacity: 1; }
.arch-wires path.is-dim { opacity: .12; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.arch-col { position: relative; z-index: 1; display: grid; gap: 12px; align-content: start; }
.arch-col h3 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-inv-muted); font-weight: 500; margin-bottom: 4px; }
.arch-node {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  padding: 12px 14px; border-radius: 14px; background: var(--ink-900); border: 1px solid var(--ink-700);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.arch-node:hover, .arch-node:focus-visible, .arch-node.is-hot { border-color: rgba(254,241,25,.6); background: var(--ink-800); transform: translateY(-2px); box-shadow: 0 10px 30px -14px rgba(254,241,25,.4); }
.arch-node.is-dim { opacity: .45; }
.arch-node .glyph { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--brand); flex: none; }
.arch-node .glyph svg { width: 18px; height: 18px; }
.arch-node strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--text-inv); }
.arch-node small { display: block; font-family: var(--font-mono); font-size: .6875rem; color: var(--text-inv-muted); }
.arch-detail { margin-top: 20px; min-height: 3.2em; color: var(--text-inv-muted); font-size: .9375rem; display: flex; gap: 10px; align-items: flex-start; }
.arch-detail strong { color: var(--text-inv); }
@media (max-width: 960px) {
  .arch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .arch { grid-template-columns: 1fr; }
}

/* Work grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  min-height: 42px; padding: 9px 16px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line); background: var(--paper-card); color: var(--text); font-weight: 600; font-size: .875rem;
  transition: background-color .2s, color .2s, border-color .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.filter-btn:hover { border-color: rgba(17,17,20,.3); }
.filter-btn[aria-pressed="true"] { background: var(--ink-900); color: var(--text-inv); border-color: var(--ink-900); }
.filter-btn .count { font-family: var(--font-mono); font-size: .6875rem; opacity: .6; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-grid .case-card.is-feature { grid-column: span 2; }
.work-grid .case-card.is-feature .case-visual { aspect-ratio: 16 / 9.2; }
@media (max-width: 1024px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } .work-grid .case-card.is-feature { grid-column: auto; } .work-grid .case-card.is-feature .case-visual { aspect-ratio: 4 / 3.3; } }
.case-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--paper-card); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), opacity .35s, border-color .3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(17,17,20,.45); border-color: rgba(17,17,20,.16); }
.case-card[hidden] { display: none; }
.case-card.is-leaving { opacity: 0; transform: scale(.96); }
.case-visual {
  --accent: #3b82f6;
  position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--accent) 75%, transparent), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 30%, #0d0d10), #0b0b0e 70%);
}
.case-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.case-visual .device-phone { position: absolute; width: 33%; bottom: -18%; transition: transform .6s var(--ease-out); }
.case-visual .ph-a { left: 50%; translate: -50% 0; z-index: 2; }
.case-visual .ph-b { left: 50%; translate: -128% 0; rotate: -8deg; bottom: -26%; opacity: .92; }
.case-visual .ph-c { left: 50%; translate: 28% 0; rotate: 8deg; bottom: -26%; opacity: .92; }
.case-card:hover .ph-a { transform: translateY(-14px); }
.case-card:hover .ph-b { transform: translate(-10px, -6px); }
.case-card:hover .ph-c { transform: translate(10px, -6px); }
.is-feature .case-visual .device-phone { width: 24%; }
.is-feature .case-visual .ph-b { translate: -150% 0; }
.is-feature .case-visual .ph-c { translate: 50% 0; }
.case-visual .device-browser { position: absolute; left: 8%; right: 8%; top: 12%; transition: transform .6s var(--ease-out); }
.case-card:hover .device-browser { transform: translateY(-6px); }
.case-visual .mockup-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case-card:hover .mockup-img { transform: scale(1.04); }
.case-visual .type-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.92); }
.case-visual .type-art svg { width: 34%; height: auto; opacity: .9; }
.case-visual .type-art .word { position: absolute; left: 24px; bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.04em; color: rgba(255,255,255,.14); }
.case-icon { position: absolute; left: 16px; top: 16px; z-index: 3; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 8px 20px -6px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.case-flag { position: absolute; right: 14px; top: 14px; z-index: 3; }
.case-flag .chip { background: rgba(9,9,11,.6); border-color: rgba(255,255,255,.14); color: var(--text-inv); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.case-body { display: grid; gap: 10px; padding: 22px 22px 24px; }
.case-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); letter-spacing: .02em; }
.case-body h3 { font-size: 1.375rem; display: flex; align-items: center; gap: 10px; }
.case-body h3 svg { width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease-out); }
.case-card:hover .case-body h3 svg { opacity: 1; transform: none; }
.case-body p { color: var(--text-muted); font-size: .9375rem; }
.case-body .chip-row { margin-top: 4px; }
.case-body .chip { font-size: .6875rem; padding: 4px 10px; }
.work-more { display: flex; justify-content: center; margin-top: 40px; }
.work-empty { text-align: center; color: var(--text-muted); padding: 40px 0; }

/* Reviews */
.reviews-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 960px) { .reviews-top { grid-template-columns: 1fr; } }
.review-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.review-badges .badge-svg { height: 52px; width: auto; }
.review-note { font-size: .875rem; color: var(--text-inv-muted); max-width: 52ch; }
.review-note a { color: var(--text-inv); }
.spotlight { position: relative; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); background: linear-gradient(160deg, var(--ink-800), var(--ink-900)); border: 1px solid var(--ink-700); overflow: hidden; }
.spotlight::before { content: "\201C"; position: absolute; right: 24px; top: -30px; font-family: var(--font-display); font-size: 14rem; line-height: 1; color: rgba(254,241,25,.08); pointer-events: none; }
.spotlight-track { position: relative; min-height: 220px; }
.spotlight-item { display: grid; gap: 20px; }
.spotlight-item[hidden] { display: none; }
.spotlight-item blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; color: var(--text-inv); }
.spotlight-item.is-entering { animation: quoteIn .55s var(--ease-out); }
@keyframes quoteIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .875rem; color: var(--text-inv-muted); }
.review-meta strong { color: var(--text-inv); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--brand); }
.stars svg { width: 15px; height: 15px; }
.spotlight-nav { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: var(--text-inv); transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); }
.icon-btn svg { width: 18px; height: 18px; }
.spotlight-count { font-family: var(--font-mono); font-size: .75rem; color: var(--text-inv-muted); margin-left: 6px; }
.spotlight-progress { flex: 1; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.spotlight-progress i { display: block; height: 100%; width: 0; background: var(--brand); }
.review-wall { columns: 3 300px; column-gap: 16px; }
.review-card { break-inside: avoid; margin-bottom: 16px; padding: 22px; border-radius: var(--r-md); background: var(--ink-900); border: 1px solid var(--ink-700); display: grid; gap: 14px; transition: border-color .3s, transform .3s var(--ease-out); }
.review-card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.review-card[hidden] { display: none; }
.review-card blockquote { margin: 0; color: var(--text-inv); font-size: .9375rem; line-height: 1.6; }
.review-card .review-meta { font-size: .8125rem; }
.reviews-more { display: flex; justify-content: center; margin-top: 24px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: var(--paper-card); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.step-n { font-family: var(--font-mono); font-size: .8125rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.step-n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.step h3 { font-size: 1.375rem; }
.step p { color: var(--text-muted); font-size: .9375rem; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: var(--paper-card); border: 1px solid var(--line); transition: border-color .25s; }
.faq-item[open] { border-color: rgba(17,17,20,.22); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease-out), background-color .2s; }
.faq-item summary .plus svg { width: 14px; height: 14px; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); }
.faq-item .answer { padding: 0 22px 22px; color: var(--text-muted); max-width: 64ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); background: var(--brand); color: var(--on-brand); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; z-index: -1; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(17,17,20,.07); }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.04em; }
.cta-band p { margin-top: 12px; font-size: 1.0625rem; max-width: 52ch; color: #2b2b22; }
.cta-band .btn-dark { min-height: 54px; padding-inline: 28px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); background: var(--ink-900); border: 1px solid var(--ink-700); }
.contact-list .ci { width: 42px; height: 42px; border-radius: 12px; background: rgba(254,241,25,.12); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-inv-muted); margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--text-inv); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand); }
.map-frame { margin-top: 14px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--ink-700); aspect-ratio: 16 / 9; background: var(--ink-900); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: var(--paper); color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .875rem; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid #d6d4cb; background: #fff;
  font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(254,241,25,.6); }
.field .hint { font-size: .8125rem; color: var(--text-muted); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; }
.field .err { font-size: .8125rem; color: #b42318; min-height: 1em; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid #d6d4cb; background: #fff; font-size: .875rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--ink-900); color: var(--text-inv); border-color: var(--ink-900); }
.choice input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-status { font-size: .9375rem; font-weight: 600; }
.form-status.ok { color: #166534; }
.form-status.bad { color: #b42318; }

/* Inner page hero (case studies, services, 404) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 72px)); padding-bottom: clamp(48px, 7vw, 88px); background: var(--ink-950); }
.page-hero .hero-glow.g1 { background: radial-gradient(circle, color-mix(in srgb, var(--accent, #fef119) 40%, transparent), transparent 65%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: .75rem; color: var(--text-inv-muted); margin: 0 0 28px; padding: 0; list-style: none; }
.crumbs a { color: var(--text-inv-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.cs-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .cs-hero { grid-template-columns: 1fr; } }
.cs-title { display: flex; align-items: center; gap: 16px; }
.cs-title img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 12px 30px -10px rgba(0,0,0,.6); flex: none; }
.cs-copy { display: grid; gap: 22px; }
.cs-links { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.cs-facts div { background: var(--ink-950); padding: 16px 18px; }
.cs-facts dt { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-inv-muted); margin-bottom: 4px; }
.cs-facts dd { margin: 0; font-weight: 600; font-size: .9375rem; }
@media (max-width: 520px) { .cs-facts { grid-template-columns: 1fr; } }
.cs-stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; }
.cs-stage.case-visual { aspect-ratio: 1 / 1; }
.cs-stage .device-phone { width: 34%; bottom: -10%; }
.cs-stage .ph-b, .cs-stage .ph-c { bottom: -16%; }
.cs-stage .device-browser { top: 10%; }
.archived-note { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text-inv-muted); }
.archived-note svg { width: 18px; height: 18px; flex: none; color: var(--brand); }

.cs-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 900px) { .cs-body { grid-template-columns: 1fr; } }
.cs-body h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.cs-text { display: grid; gap: 22px; font-size: 1.0625rem; color: var(--text-muted); }
.cs-text strong { color: var(--text); }
.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--paper-card); border: 1px solid var(--line); color: var(--text); }
.feature-list li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--text); background: var(--brand); border-radius: 50%; padding: 3px; }

.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 28px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.gallery > * { scroll-snap-align: start; flex: none; }
.gallery .device-phone { width: clamp(200px, 24vw, 260px); }
.gallery .device-browser { width: min(720px, 86vw); }
.gallery .device-browser .viewport { aspect-ratio: auto; max-height: 520px; overflow-y: auto; }
.gallery .shot-raw { width: clamp(220px, 28vw, 300px); border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.gallery-wrap { position: relative; }
.gallery-hint { font-family: var(--font-mono); font-size: .75rem; color: var(--text-inv-muted); margin-top: 4px; }

.next-case { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-case a { display: grid; gap: 6px; padding: 24px; border-radius: var(--r-lg); background: var(--ink-900); border: 1px solid var(--ink-700); text-decoration: none; color: var(--text-inv); transition: border-color .25s, transform .3s var(--ease-out); }
.next-case a:hover { border-color: rgba(254,241,25,.5); transform: translateY(-3px); }
.next-case small { font-family: var(--font-mono); font-size: .75rem; color: var(--text-inv-muted); }
.next-case strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.next-case a:last-child { text-align: right; }
@media (max-width: 560px) { .next-case { grid-template-columns: 1fr; } .next-case a:last-child { text-align: left; } }

/* Service pages */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
@media (max-width: 900px) { .svc-hero { grid-template-columns: 1fr; } }
.svc-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .svc-points { grid-template-columns: 1fr; } }
.svc-points li { padding: 22px; border-radius: var(--r-md); background: var(--paper-card); border: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.svc-points li svg { width: 22px; height: 22px; flex: none; color: var(--text); }
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.14); color: var(--text-inv-muted); text-decoration: none; font-size: .875rem; font-weight: 600; }
.svc-nav a:hover, .svc-nav a[aria-current="page"] { color: var(--on-brand); background: var(--brand); border-color: var(--brand); }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 14rem); font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(254,241,25,.7); }

/* Tech emblems */
.emblems { display: flex; flex-wrap: wrap; gap: 8px; }
.emblem { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: var(--r-pill); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-family: var(--font-mono); font-size: .75rem; color: var(--text-inv); }
.emblem svg { width: 28px; height: 28px; }
.band-light .emblem, .band-light-2 .emblem { background: #fff; border-color: var(--line); color: var(--text); }
.bento-card:not(.is-dark) .emblem { background: #fff; border-color: var(--line); color: var(--text); }
.bento-card.is-dark .emblem { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--text-inv); }

/* Light surfaces inside dark bands */
.form-card .muted { color: var(--text-muted); }

/* Figures carry a default 40px side margin in browsers */
figure { margin: 0; }
.review-card { margin: 0 0 16px; }

/* Comfortable touch targets */
.brand { min-height: 44px; }
.contact-list a { display: inline-block; padding-block: 6px; }
.footer-contact a, .footer ul a { display: inline-block; padding-block: 4px; }
@media (max-width: 560px) { .stage-chip.c1 { left: 3%; top: 2%; } }

/* Marquee clone: part of the loop, hidden when motion is reduced */
.marquee-clone { display: contents; }
@media (prefers-reduced-motion: reduce) { .marquee-clone { display: none; } }

/* View transitions for the work filter */
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--ease-out); }
::view-transition-old(*), ::view-transition-new(*) { animation-duration: .3s; }

/* Small screens: keep everything inside the viewport */
@media (max-width: 420px) {
  .hero-proof .badge-svg { height: 40px; }
  .btn { padding-inline: 18px; }
  .case-body { padding: 18px; }
  .spotlight { padding: 22px; }
  .spotlight::before { font-size: 9rem; }
}

/* Hue Pour product page */
.hue-hero .hero-glow.g1 { background: radial-gradient(circle, rgba(51, 85, 200, .38), transparent 65%); }
.hue-hero .hero-glow.g2 { background: radial-gradient(circle, rgba(254, 241, 25, .16), transparent 65%); }
.hue-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hue-grid { grid-template-columns: 1fr; } }
.hue-copy { display: grid; gap: 22px; justify-items: start; }
.hue-title { display: flex; align-items: center; gap: 18px; }
.hue-title img { width: clamp(64px, 9vw, 92px); height: auto; border-radius: 22%; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 16px 34px -12px rgba(0,0,0,.7); flex: none; }
.hue-copy .lead { max-width: 34ch; color: var(--text-inv); font-size: clamp(1.125rem, 1.8vw, 1.375rem); }
.hue-note { font-size: .9375rem; color: var(--text-inv-muted); }
.hue-art { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.1), var(--shadow-lg); }
.hue-art img { width: 100%; height: auto; }

.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.store-badge { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; min-height: 48px; border-radius: 10px; }
.store-badge img { height: auto; }
.store-badge img[src$=".svg"] { width: 144px; }
.store-badge img[src$=".png"] { width: 145px; margin-block: -4px; }
a.store-badge { transition: transform .2s var(--ease-out); }
a.store-badge:hover { transform: translateY(-2px); }
.store-badges.is-soon .store-badge img { filter: grayscale(1); opacity: .5; }
.soon-label {
  padding: 3px 9px; border-radius: var(--r-pill); background: var(--ink-800); border: 1px solid rgba(255,255,255,.16);
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-inv); white-space: nowrap;
}

.hue-band { padding-block: clamp(56px, 8vw, 96px); }
.hue-today {
  display: flex; align-items: flex-start; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px);
  padding: 22px 24px; border-radius: var(--r-md); background: var(--paper-card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  font-family: var(--font-display); font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.4; color: var(--text);
}
.hue-today-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); flex: none; }
.hue-today-icon svg { width: 22px; height: 22px; }
.hue-h2 { margin-bottom: 28px; }
.hue-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .hue-points { grid-template-columns: 1fr; } }
.hue-points li { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-lg); background: var(--paper-card); border: 1px solid var(--line); }
.hue-points h3 { font-size: 1.25rem; }
.hue-points p { color: var(--text-muted); }
.hue-point-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 6px; }
.hue-point-icon svg { width: 24px; height: 24px; }

.hue-help { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
@media (max-width: 760px) { .hue-help { grid-template-columns: 1fr; } }
.hue-help .muted { margin-top: 8px; max-width: 52ch; }
.hue-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hue-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--paper-card); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.hue-links a:hover { border-color: var(--accent); color: var(--accent); }
.hue-links svg { width: 18px; height: 18px; flex: none; }

/* Privacy policy pages: plain, readable, no JavaScript needed */
.page-policy .nav { background: rgba(9, 9, 11, .94); border-bottom-color: rgba(255,255,255,.08); }
.policy-band { padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 56px)); }
.crumbs-light, .crumbs-light a { color: var(--text-muted); }
.crumbs-light a:hover { color: var(--text); }
.policy { max-width: 760px; color: var(--text); overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.035em; margin: 0 0 8px; }
.policy h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin: 36px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.policy p, .policy li { font-size: 1.0625rem; line-height: 1.7; color: #2b2a30; }
.policy p + p, .policy table + p, .policy ul + p { margin-top: 14px; }
.policy ul { padding-left: 1.3em; margin: 12px 0; display: grid; gap: 6px; }
.policy .updated { color: var(--text-muted); font-family: var(--font-mono); font-size: .875rem; }
.policy .card { margin-top: 24px; padding: 20px 22px; border-radius: var(--r-md); background: var(--paper-card); border: 1px solid var(--line); border-left: 4px solid #3355c8; }
.policy a { color: #2747b8; text-underline-offset: 3px; }
.policy a:hover { color: var(--text); }
.policy table { width: 100%; border-collapse: collapse; margin: 14px 0; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; font-size: .9875rem; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); line-height: 1.55; }
.policy th { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); background: var(--paper-2); }
.policy tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) { .policy th, .policy td { padding: 10px; } }

/* Pigeon Post product page: the Hue Pour layout with the game's colours.
   Slate #2B2F36, cream #F1E9D8, brick #B8552F (accent), steel blue #3E6B8C. */
.pigeon-hero .hero-glow.g1 { background: radial-gradient(circle, rgba(184, 85, 47, .34), transparent 65%); }
.pigeon-hero .hero-glow.g2 { background: radial-gradient(circle, rgba(62, 107, 140, .32), transparent 65%); }
.page-pigeon .hue-links a:hover { border-color: #A44A28; color: #A44A28; }

.pigeon-quiet {
  display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(28px, 4vw, 40px);
  padding: 14px 18px; border-radius: var(--r-md); background: #F1E9D8; border: 1px solid #DCCFB4;
  color: #2B2F36; font-size: 1rem; font-weight: 500;
}
.pigeon-quiet svg { width: 20px; height: 20px; flex: none; color: #3E6B8C; }

/* Pigeon Post privacy policy: brick links, dark enough to read on the light page */
.page-pigeon-policy .policy a { color: #A44A28; }
.page-pigeon-policy .policy a:hover { color: var(--text); }
