/* =========================================================
   PrintBala — Hi-Fi Prototype
   ========================================================= */

:root {
  /* Type */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Theme: Modern (default) */
  --bg: #ffffff;
  --bg-soft: #f7f7f4;
  --bg-elev: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #2a2a2a;
  --ink-3: #6b6b6b;
  --ink-4: #a8a8a8;
  --line: #ececec;
  --line-strong: #d8d8d8;

  /* Accent (overridden by data-accent) */
  --accent: oklch(0.55 0.20 270);
  --accent-ink: #ffffff;
  --accent-soft: oklch(0.96 0.04 270);
  --accent-deep: oklch(0.40 0.20 270);

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-2: 0 6px 24px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-3: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);

  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 28px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Theme variants ---------- */
html[data-theme="editorial"] {
  --bg: #f4ede0;
  --bg-soft: #ece2d0;
  --bg-elev: #fbf7ed;
  --ink: #181410;
  --ink-2: #2a241e;
  --ink-3: #6a5f50;
  --ink-4: #a8997f;
  --line: #ddd0b7;
  --line-strong: #b8a684;
}

html[data-theme="dark"] {
  --bg: #0b0c0e;
  --bg-soft: #131418;
  --bg-elev: #181a1f;
  --ink: #f6f6f4;
  --ink-2: #d8d8d4;
  --ink-3: #9c9c98;
  --ink-4: #5e6066;
  --line: #23262c;
  --line-strong: #353940;
}

/* ---------- Accents (hue-only) ---------- */
html[data-accent="indigo"]  { --accent: oklch(0.56 0.18 268); --accent-soft: oklch(0.96 0.04 268); --accent-deep: oklch(0.42 0.18 268); }
html[data-accent="ember"]   { --accent: oklch(0.66 0.18 38);  --accent-soft: oklch(0.96 0.04 38);  --accent-deep: oklch(0.50 0.18 38);  }
html[data-accent="forest"]  { --accent: oklch(0.55 0.14 155); --accent-soft: oklch(0.95 0.04 155); --accent-deep: oklch(0.40 0.14 155); }
html[data-accent="magenta"] { --accent: oklch(0.58 0.22 340); --accent-soft: oklch(0.96 0.04 340); --accent-deep: oklch(0.42 0.22 340); }

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration: none;
}

.mono { font-family: var(--font-mono); letter-spacing: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  padding-top: clamp(80px, 9vw, 140px);
  padding-bottom: clamp(80px, 9vw, 140px);
}

.section-sm { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-3);
}

.eyebrow.no-line::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in oklch, var(--accent) 35%, transparent);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in oklch, var(--accent) 35%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn .arrow {
  width: 18px; height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 32px), 1280px);
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.3s ease, background 0.3s ease, top 0.3s ease;
}
.nav.scrolled {
  box-shadow: var(--shadow-2);
  background: color-mix(in oklch, var(--bg) 95%, transparent);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-brand .mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}
.nav-brand .mark::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.nav-brand:hover .mark::after { transform: translateY(0); }
.nav-brand .mark span { position: relative; z-index: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.active {
  color: var(--ink);
  background: var(--bg-soft);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav { padding: 10px 18px; }
  .nav.open { border-radius: var(--radius-lg); flex-wrap: wrap; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    margin-top: 4px;
  }
  .nav.open .nav-link { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav.open .nav-cta { display: flex; width: 100%; padding-top: 8px; }
  .nav.open .nav-cta .btn { flex: 1; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

html[data-motion="off"] .reveal { opacity: 1; transform: none; transition: none; }

/* Text reveal (word-by-word) */
.text-reveal { display: inline; }
.text-reveal .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.text-reveal .word .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}
.text-reveal.in .word .word-inner { transform: translateY(0); }
html[data-motion="off"] .text-reveal .word .word-inner { transform: none; transition: none; }

/* ---------- Hero ---------- */
.hero {
  padding-top: 140px;
  padding-bottom: clamp(80px, 8vw, 140px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
}

.hero h1 .accent-word {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  color: var(--ink-3);
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 460px;
  margin-top: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-meta-item .num small { font-size: 18px; color: var(--accent); }
.hero-meta-item .label {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Animated press visual */
.press-visual {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  overflow: hidden;
  border: 1px solid var(--line);
}

.press-sheets {
  position: absolute;
  inset: 8%;
  display: grid;
  place-items: center;
}
.sheet {
  position: absolute;
  width: 72%;
  aspect-ratio: 3/4;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  padding: 18px;
  gap: 6px;
  transform-origin: bottom center;
}
.sheet .bar {
  height: 10px;
  background: var(--line);
  border-radius: 3px;
}
.sheet .bar.t { width: 60%; height: 14px; background: var(--ink); }
.sheet .bar.a { background: var(--accent); width: 30%; }
.sheet .swatch {
  margin-top: auto;
  display: flex;
  gap: 6px;
}
.sheet .swatch i {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--ink);
}
.sheet .swatch i:nth-child(2) { background: var(--accent); }
.sheet .swatch i:nth-child(3) { background: var(--ink-4); }
.sheet .swatch i:nth-child(4) { background: var(--bg-soft); border: 1px solid var(--line); }

@keyframes sheetSlide {
  0%   { transform: translate(60%, 60%) rotate(8deg); opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: translate(0, 0) rotate(-2deg); }
  100% { transform: translate(-60%, -60%) rotate(-12deg); opacity: 0; }
}

.sheet-1 { animation: sheetSlide 9s linear infinite; animation-delay: 0s; }
.sheet-2 { animation: sheetSlide 9s linear infinite; animation-delay: -3s; }
.sheet-3 { animation: sheetSlide 9s linear infinite; animation-delay: -6s; }

html[data-motion="off"] .sheet { animation: none; transform: rotate(-2deg); }

.press-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.press-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 60%, transparent); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

@keyframes fillBar {
  from { transform: translateX(-30%); }
  to { transform: translateX(0); }
}

@keyframes pvSpin {
  to { transform: rotate(360deg); }
}

@keyframes pvFall {
  0%   { transform: translateY(-20px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

html[data-motion="off"] [style*="pvSpin"],
html[data-motion="off"] [style*="pvFall"] {
  animation: none !important;
}

.press-cmyk {
  position: absolute;
  top: 16px; right: 16px;
  display: flex;
  gap: 4px;
  z-index: 2;
}
.press-cmyk i {
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid var(--bg-elev);
}
.press-cmyk i:nth-child(1) { background: oklch(0.70 0.16 220); }
.press-cmyk i:nth-child(2) { background: oklch(0.62 0.24 340); }
.press-cmyk i:nth-child(3) { background: oklch(0.85 0.18 95);  }
.press-cmyk i:nth-child(4) { background: var(--ink); }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
  align-items: center;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
}
.marquee-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
html[data-motion="off"] .marquee-track { animation: none; }

/* ---------- Sticky scroll sequence ---------- */
.sticky-sequence {
  position: relative;
}
.sticky-sequence-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 960px) {
  .sticky-sequence-inner { grid-template-columns: 1fr; gap: 40px; }
}
.sticky-canvas {
  position: sticky;
  top: 120px;
  height: 480px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.sticky-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.sticky-frame.active { opacity: 1; transform: scale(1); }

.sticky-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sticky-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  background: var(--bg-elev);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  cursor: pointer;
}
.sticky-step.active {
  border-color: var(--ink);
  background: var(--bg-elev);
  box-shadow: var(--shadow-2);
}
.sticky-step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.sticky-step .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sticky-step.active .num { color: var(--accent); }
.sticky-step p { color: var(--ink-3); font-size: 15px; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4/3;
  grid-column: span 4;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  cursor: pointer;
  isolation: isolate;
}

.product-card.feature { grid-column: span 6; aspect-ratio: 16/10; }
.product-card.tall { grid-column: span 4; aspect-ratio: 3/4; }

@media (max-width: 900px) {
  .product-card,
  .product-card.feature,
  .product-card.tall { grid-column: span 12; aspect-ratio: 4/3; }
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}

.product-card .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-card .meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  z-index: 2;
  color: var(--ink);
}

.product-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card .title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.product-card h3 {
  font-size: clamp(22px, 2vw, 30px);
  color: var(--ink);
}
.product-card .price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  text-align: right;
}
.product-card .arrow-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.product-card:hover .arrow-circle {
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-45deg);
}

/* ---------- Placeholder imagery ---------- */
.ph {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg,
      var(--bg-soft) 0,
      var(--bg-soft) 12px,
      color-mix(in oklch, var(--bg-soft) 92%, var(--ink) 8%) 12px,
      color-mix(in oklch, var(--bg-soft) 92%, var(--ink) 8%) 24px);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  text-align: center;
  padding: 12px;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: inherit;
  pointer-events: none;
}

.ph-warm {
  background:
    repeating-linear-gradient(135deg,
      oklch(0.88 0.08 70) 0,
      oklch(0.88 0.08 70) 12px,
      oklch(0.84 0.10 70) 12px,
      oklch(0.84 0.10 70) 24px);
  color: oklch(0.30 0.06 70);
}
.ph-cool {
  background:
    repeating-linear-gradient(135deg,
      oklch(0.85 0.06 230) 0,
      oklch(0.85 0.06 230) 12px,
      oklch(0.80 0.08 230) 12px,
      oklch(0.80 0.08 230) 24px);
  color: oklch(0.25 0.05 230);
}
.ph-accent {
  background:
    repeating-linear-gradient(135deg,
      color-mix(in oklch, var(--accent) 18%, var(--bg)) 0,
      color-mix(in oklch, var(--accent) 18%, var(--bg)) 12px,
      color-mix(in oklch, var(--accent) 26%, var(--bg)) 12px,
      color-mix(in oklch, var(--accent) 26%, var(--bg)) 24px);
  color: var(--accent-deep);
}
.ph-ink {
  background:
    repeating-linear-gradient(135deg,
      #1a1a1a 0,
      #1a1a1a 12px,
      #232323 12px,
      #232323 24px);
  color: #c0c0c0;
}

/* ---------- Section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.04em;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 520px;
}

/* ---------- Service cards ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .services { grid-template-columns: 1fr; } }

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  background: var(--bg-elev);
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-4px);
}
.service-card:hover * { color: var(--bg); }
.service-card:hover .service-num { color: var(--accent); }

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  transition: color 0.4s;
}
.service-card h3 {
  font-size: clamp(28px, 2.5vw, 40px);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  transition: color 0.4s;
}
.service-card p {
  color: var(--ink-3);
  font-size: 15px;
  flex: 1;
  transition: color 0.4s;
}
.service-card .features {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-card .features span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-3);
  text-transform: uppercase;
  transition: border-color 0.4s, color 0.4s;
}
.service-card:hover .features span { border-color: var(--ink-4); color: var(--bg); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding-top: clamp(80px, 8vw, 120px);
  padding-bottom: 32px;
  position: relative;
  overflow: hidden;
}

html[data-theme="editorial"] .footer { background: #181410; }
html[data-theme="dark"] .footer { background: #050608; border-top: 1px solid var(--line); }

.footer h2 {
  font-size: clamp(48px, 8vw, 120px);
  color: var(--bg);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 48px;
}
.footer h2 .accent { color: var(--accent); font-style: italic; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding-top: 64px;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer h5 {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Generic page header ---------- */
.page-header {
  padding-top: 160px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.page-header .crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.page-header h1 {
  font-size: clamp(48px, 8vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  max-width: 14ch;
}
.page-header .lede {
  margin-top: 28px;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-3);
  max-width: 560px;
}

/* ---------- Stat tiles ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.stat:last-child { border-right: none; }
@media (max-width: 800px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat:last-child { border-right: none; }
}
.stat .v {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat .v small { font-size: 0.5em; color: var(--accent); font-weight: 500; }
.stat .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}
.team-card .photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}
.team-card .photo .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--bg-elev);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  z-index: 2;
}
.team-card h4 { font-size: 22px; }
.team-card .role { font-size: 14px; color: var(--ink-3); margin-top: 2px; }

/* ---------- Careers ---------- */
.career-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.chip {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.job-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.job {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s, padding 0.3s;
  position: relative;
}
.job:last-child { border-bottom: none; }
.job:hover { background: var(--bg-soft); padding-left: 44px; }
.job h3 {
  font-size: 22px;
  color: var(--ink);
}
.job .meta-cell {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.job .arrow-cell {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background 0.3s, transform 0.3s;
}
.job:hover .arrow-cell { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }

@media (max-width: 800px) {
  .job { grid-template-columns: 1fr; gap: 8px; }
  .job .arrow-cell { display: none; }
  .job:hover { padding-left: 32px; }
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .perks { grid-template-columns: 1fr; } }
.perk {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
}
.perk .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.perk h4 { font-size: 18px; margin-bottom: 6px; }
.perk p { font-size: 14px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.faq-q .toggle {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}
.faq-item.open .faq-q .toggle { transform: rotate(45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  color: var(--ink-3);
  font-size: 16px;
  max-width: 720px;
}
.faq-item.open .faq-a { max-height: 400px; margin-top: 20px; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.form-row {
  display: grid;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--ink) 6%, transparent);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* ---------- Press kit ---------- */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .kit-grid { grid-template-columns: 1fr; } }
.kit {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elev);
}
.kit .img { aspect-ratio: 16/10; }
.kit .body { padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.kit .body h4 { font-size: 16px; }
.kit .body .size { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }

/* ---------- Press list ---------- */
.press-list {
  display: grid;
  gap: 0;
}
.press-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.press-row .pub {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.01em;
}
.press-row .quote {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.press-row .date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
@media (max-width: 700px) {
  .press-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
}

/* ---------- Map / Delivery network ---------- */
.network {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.network svg { width: 100%; height: 100%; display: block; }

/* dot pulse */
@keyframes blip {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(2.4); opacity: 0; }
}
.network .city {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.network .city::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: blip 2.4s var(--ease-out) infinite;
}
.network .city .lbl {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  color: var(--ink);
  background: var(--bg-elev);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}

/* ---------- Vision / about content blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.split h2 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.04em;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.value {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--bg-elev);
  transition: background 0.3s, border-color 0.3s;
}
.value:hover { border-color: var(--ink); }
.value .v-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.value h3 { font-size: 26px; margin-bottom: 8px; letter-spacing: -0.02em; }
.value p { color: var(--ink-3); font-size: 15px; }

/* ---------- Cursor blob (subtle) ---------- */
.cursor-blob {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, width 0.3s, height 0.3s;
}
html[data-motion="off"] .cursor-blob { display: none; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); width: 100%; }

.kbd {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-elev);
  color: var(--ink-2);
}

/* selection */
::selection { background: var(--accent); color: var(--accent-ink); }

/* scrollbar */
html { scrollbar-color: var(--ink-4) transparent; }
