/* ============================================================
   neuborgis — Design tokens
   Colors, typography, spacing, elevation, motion.
   Mirrors the production site at /style.css and extends it.
   ============================================================ */

/* ── Fonts ──────────────────────────────────────────────── */
/* Strawford: licensed webfonts copied from neuborgis/fonts/.
   Use locally; do NOT swap with a Google Font in production.
   For mocks where the licensed file is unavailable, the nearest
   readable substitute is "Manrope" (Google Fonts) at the same
   weights — flag any such substitution to the user. */

@font-face {
  font-family: 'Strawford';
  src: url('/fonts/strawford-light-webfont.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Strawford';
  src: url('/fonts/strawford-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Strawford';
  src: url('/fonts/strawford-medium-webfont.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  /* ── Base palette ── */
  /* Ink / type — cool neutrals with a faint blue undertone,
     tuned to sit harmoniously next to --blue-500. */
  --ink-900: #14161c;   /* body & headings */
  --ink-700: #232733;
  --ink-600: #4a5160;   /* secondary text */
  --ink-400: #7f8696;   /* tertiary / meta */
  --ink-300: #b0b6c2;
  --ink-200: #e6e9f0;   /* hairlines on surface */
  --ink-100: #f4f6fa;   /* surface (cards, strips) */
  --ink-000: #ffffff;   /* paper */

  /* Hairline — translucent, sits on any tint */
  --border:       rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);

  /* ── Brand blue (electric, modern, decisive) ── */
  --blue-50:  #f0f1ff;
  --blue-100: #e3e5ff;   /* badge / chip background */
  --blue-200: #c3c7ff;
  --blue-300: #8b91ff;
  --blue-500: #353cff;   /* primary action */
  --blue-600: #2a30d6;   /* hover */
  --blue-700: #1f24a8;   /* text-on-tint */
  --blue-900: #0d1166;

  /* ── One brand accent — blue only. No per-product colors. ── */

  /* ── Semantic ── */
  --success:  #16a34a;
  --warning:  #d97706;
  --danger:   #d93545;
  --info:     var(--blue-500);

  /* ── Semantic role aliases (use these in components) ── */
  --fg:           var(--ink-900);
  --fg-secondary: var(--ink-600);
  --fg-tertiary:  var(--ink-400);
  --fg-on-tint:   var(--blue-700);
  --fg-on-dark:   var(--ink-000);

  --bg:           var(--ink-000);
  --bg-surface:   var(--ink-100);
  --bg-tint:      var(--blue-100);
  --bg-dark:      var(--ink-900);

  --accent:       var(--blue-500);
  --accent-hover: var(--blue-600);
  --accent-soft:  var(--blue-100);
  --accent-text:  var(--blue-700);

  /* ── Type system ── */
  --font-sans: 'Strawford', -apple-system, BlinkMacSystemFont,
               'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
  --font-serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  /* Serif is used inside the HdR-Assistent document area only. */

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;

  /* Scale — restrained. Marketing & app share these. */
  --text-xs:   0.75rem;   /* 12 — tags, meta, legal */
  --text-sm:   0.875rem;  /* 14 — nav, captions, secondary */
  --text-base: 1rem;      /* 16 — body */
  --text-md:   1.0625rem; /* 17 — long-form body */
  --text-lg:   1.15rem;   /* 18 — lede */
  --text-xl:   1.5rem;    /* 24 — h2 */
  --text-2xl:  2rem;      /* 32 — legal title */
  --text-3xl:  3.75rem;    /* 60 — hero h1 */

  /* Line-heights */
  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.6;
  --leading-relaxed: 1.7;

  /* Letter-spacing */
  --tracking-display: -0.03em;
  --tracking-tight:   -0.02em;
  --tracking-normal:   0.01em;
  --tracking-wide:     0.04em;
  --tracking-caps:     0.08em;   /* uppercase eyebrows */

  /* ── Spacing scale (8-pt-ish, generous) ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-reading: 560px;   /* paragraph max-width */
  --max-content: 720px;   /* main column */
  --max-wide:    960px;   /* feature grids */

  /* ── Radii ── */
  --radius-sm:    6px;      /* image thumbs */
  --radius-md:    10px;     /* feature cards, buttons (handover) */
  --radius-lg:    14px;     /* feature cards on tinted strips */
  --radius-xl:    18px;     /* app-icon mid */
  --radius-app:   22%;      /* iOS app-icon mask (squircle approx) */
  --radius-pill:  100px;    /* tags, status, marketing buttons */

  /* ── Elevation ──
     Restrained. Marketing uses near-zero shadows; the iOS product
     uses one soft drop for screenshots. */
  --shadow-0: none;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 2px 12px rgba(0, 0, 0, 0.08);   /* screenshots, app-icon */
  --shadow-3: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-focus: 0 0 0 3px rgba(45, 111, 186, 0.30);

  /* ── Motion ── */
  --ease-out:  cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:  120ms;
  --dur-base:  200ms;
  --dur-slow:  320ms;
}

/* ============================================================
   Semantic typographic elements
   Apply by tag, or by class (.h1, .eyebrow, .body, .meta, .mono…)
   ============================================================ */

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body, .body {
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-normal);
  color: var(--fg);
  background: var(--bg);
}

h1, .h1 {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: clamp(2.5rem, 6.8vw, var(--text-3xl));
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--fg);
}

h2, .h2 {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: clamp(1.25rem, 3vw, var(--text-xl));
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
}

h3, .h3 {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--fg);
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--accent-text);
}

p, .p {
  font-size: 0.95rem;
  line-height: var(--leading-relaxed);
  color: var(--fg-secondary);
  max-width: var(--max-reading);
}

.lede {
  font-size: clamp(1rem, 2vw, var(--text-lg));
  color: var(--fg-secondary);
  line-height: var(--leading-normal);
  max-width: var(--max-reading);
}

.meta {
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
  letter-spacing: var(--tracking-normal);
}

.mono, code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: 0;
}

/* Inline link inside body copy */
a {
  color: var(--fg);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-soft),
              opacity var(--dur-base) var(--ease-soft);
}
/* Buttons opt out of the global link hover — they manage their own colours. */
a:not([class*="btn"]):not([class*="lang-sw"]):hover { color: var(--accent); }

::selection { background: var(--accent-soft); color: var(--fg); }
    /* ─────────────────────────────────────────────────────────
       neuborgis.com — redesign exploration
       "Precision instrument" — restrained, weighty, motion serves
       meaning. Every animation is reversed by `prefers-reduced-motion`.
       ───────────────────────────────────────────────────────── */

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-sans);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    ::selection { background: var(--accent-soft); color: var(--fg); }

    /* ── Scroll progress bar (top hairline) ── */
    .progress {
      position: fixed; top: 0; left: 0; height: 2px;
      width: 0; z-index: 100;
      background: var(--accent);
      transition: width 80ms linear;
      will-change: width;
    }

    /* ── Header: kommt aus /nav.css (gemeinsames .site-header-Muster aller Seiten) ── */

    /* ── Section structure ── */
    section { position: relative; padding: 120px clamp(20px, 6vw, 96px); }
    .eyebrow {
      display: inline-flex; align-items: baseline; gap: 12px;
      font-family: var(--font-mono);
      font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
      color: inherit; opacity: 0.6;
      margin-bottom: 32px;
    }
    .eyebrow .num {
      font-size: 11px;
      padding: 2px 8px;
      border: 1px solid currentColor;
      border-radius: 9999px;
      opacity: 0.7;
    }

    /* Section in-view reveal (children stagger via animation-delay) */
    .reveal > * {
      opacity: 0; transform: translateY(20px);
      transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
    }
    .reveal.in-view > * { opacity: 1; transform: translateY(0); }
    .reveal.in-view > *:nth-child(2) { transition-delay: 80ms; }
    .reveal.in-view > *:nth-child(3) { transition-delay: 160ms; }
    .reveal.in-view > *:nth-child(4) { transition-delay: 240ms; }
    .reveal.in-view > *:nth-child(5) { transition-delay: 320ms; }

    /* ──────────────────────────────────────────────
       HERO — dark, blueprint grid, cursor spotlight
       ────────────────────────────────────────────── */
    .hero {
      background: var(--bg);
      color: var(--fg);
      min-height: calc(100vh - 66px);
      padding-top: 12vh;
      overflow: hidden;
      isolation: isolate;
    }
    .hero-grid {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 70%);
      transform: translateY(var(--scroll-y, 0)) scale(1);
      will-change: transform;
      pointer-events: none;
      z-index: -2;
    }
    .hero-spotlight {
      position: absolute;
      width: 540px; height: 540px;
      background: radial-gradient(circle, rgba(53, 60, 255, 0.08), transparent 72%);
      border-radius: 50%;
      pointer-events: none;
      transform: translate(var(--mx, 50vw), var(--my, 30vh)) translate(-50%, -50%);
      transition: transform 800ms var(--ease-out);
      z-index: -1;
      will-change: transform;
    }
    .hero-meta {
      display: flex; gap: 20px; flex-wrap: wrap;
      font-family: var(--font-mono);
      font-size: 11px;
      color: rgba(255,255,255,0.4);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 56px;
    }
    .hero-meta .dot { color: var(--accent); }
    .hero-h1 {
      font-size: clamp(40px, 7vw, 104px);
      line-height: 1.0;
      letter-spacing: -0.045em;
      font-weight: 500;
      margin: 0 0 48px;
      max-width: 14ch;
      color: var(--fg);
    }
    .hero-h1 .accent { color: var(--accent); }

    .hero-lede {
      font-size: clamp(18px, 1.7vw, 24px);
      line-height: 1.5;
      color: var(--fg-secondary);
      max-width: 38ch;
      margin: 0 0 56px;
      letter-spacing: -0.01em;
    }
    .hero-cta {
      display: flex; align-items: center; gap: 18px;
    }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 16px 28px;
      background: var(--accent); color: #fff;
      border-radius: 9999px;
      font-weight: 500;
      font-size: 15px;
      transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
      will-change: transform;
    }
    .btn-primary:hover { box-shadow: 0 12px 24px rgba(53,60,255,0.35); }
    .btn-ghost {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 16px 24px;
      color: var(--fg);
      border-radius: 9999px;
      font-weight: 400;
      font-size: 14px;
      border: 1px solid var(--border);
      transition: border-color var(--dur-base), color var(--dur-base);
    }
    .btn-ghost:hover { border-color: var(--fg); color: var(--fg); }

    .scroll-hint {
      position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
      font-family: var(--font-mono); font-size: 11px;
      color: var(--fg-tertiary); letter-spacing: 0.1em;
      animation: pulse-down 2.4s ease-in-out infinite;
    }
    @keyframes pulse-down {
      0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
      50%      { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
    }

    /* ──────────────────────────────────────────────
       MANIFESTO — quiet negative-space declaration
       ────────────────────────────────────────────── */
    .manifesto {
      padding-block: 120px;
      background: var(--bg);
      color: var(--fg);
    }
    .manifesto-list {
      list-style: none; margin: 0; padding: 0;
      font-size: clamp(28px, 3.6vw, 48px);
      line-height: 1.25;
      letter-spacing: -0.025em;
      font-weight: 400;
      max-width: 18ch;
    }
    .manifesto-list li {
      position: relative;
      padding: 14px 0;
      border-bottom: 1px solid var(--border);
      display: flex; align-items: baseline; gap: 16px;
      cursor: default;
    }
    .manifesto-list li:first-child { border-top: 1px solid var(--border); }
    .manifesto-list .qual {
      color: var(--fg-tertiary);
      font-weight: 400;
      flex-shrink: 0;
    }
    .manifesto-list .strike {
      position: relative; display: inline-block;
      color: var(--fg);
    }
    .manifesto-list .strike::after {
      content: '';
      position: absolute; left: -1%; right: -1%; top: 58%; height: 1.5px;
      background: var(--accent);
      transform: scaleX(0); transform-origin: left;
      transition: transform 600ms var(--ease-out);
    }
    .manifesto-list li.lit .strike::after { transform: scaleX(1); }
    .manifesto-foot {
      margin-top: 40px;
      font-size: 15px;
      max-width: 50ch;
      color: var(--fg-secondary);
      line-height: 1.7;
    }
    .manifesto-foot strong { color: var(--fg); font-weight: 500; }

    /* ──────────────────────────────────────────────
       PILLARS — what we stand for (positive counterpart
       to the manifesto). Quiet 2x2 grid, hairlines, no
       cards. Mono numerals echo the eyebrow language.
       ────────────────────────────────────────────── */
    .pillars {
      background: var(--bg);
      color: var(--fg);
      padding-block: 120px;
    }
    .pillars-title {
      font-size: clamp(28px, 4vw, 56px);
      line-height: 1.1;
      letter-spacing: -0.03em;
      font-weight: 500;
      margin: 0 0 64px;
      max-width: 22ch;
      color: var(--fg);
    }
    .pillars-grid {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border-top: 1px solid var(--border);
    }
    .pillar {
      position: relative;
      padding: 40px 40px 48px 0;
      border-bottom: 1px solid var(--border);
    }
    .pillar:nth-child(odd) {
      padding-right: 56px;
      border-right: 1px solid var(--border);
    }
    .pillar:nth-child(even) {
      padding-left: 56px;
    }
    .pillar-num {
      display: block;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.08em;
      color: var(--accent);
      margin-bottom: 14px;
    }
    .pillar h3 {
      font-size: clamp(20px, 2.2vw, 28px);
      line-height: 1.2;
      letter-spacing: -0.02em;
      font-weight: 500;
      margin: 0 0 14px;
      color: var(--fg);
    }
    .pillar p {
      font-size: 15px;
      line-height: 1.65;
      color: var(--fg-secondary);
      max-width: 38ch;
      margin: 0;
    }
    @media (max-width: 920px) {
      .pillars-grid { grid-template-columns: 1fr; }
      .pillar,
      .pillar:nth-child(odd),
      .pillar:nth-child(even) {
        padding: 32px 0 36px;
        border-right: 0;
      }
    }

    /* ──────────────────────────────────────────────
       PRODUCTS — quieter mixed-layout cards
       ────────────────────────────────────────────── */
    .products {
      background: var(--bg-surface);
      padding-block: 120px;
    }
    /* Produkt-Heros: Status-Tag, Name, Kurztext, Link — daneben ein Visual */
    .product {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      gap: clamp(40px, 6vw, 88px);
      align-items: center;
      padding: clamp(72px, 9vw, 120px) 0;
      border-top: 1px solid var(--border);
    }
    .product:last-child { border-bottom: 1px solid var(--border); }
    /* Alternate the visual side per product */
    .product.reverse .info  { order: 2; }
    .product.reverse .stage { order: 1; }
    .product .stage {
      position: relative;
      aspect-ratio: 5 / 4;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      display: flex; align-items: center; justify-content: center;
      padding: 24px;
      box-shadow: var(--shadow-3);
    }
    .product .stage.stage-wide { aspect-ratio: 2048 / 1166; padding: 0; }
    .product .stage.stage-wide .hdr-shot { border-radius: 0; box-shadow: none; }
    .product .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-tertiary); }
    .product .meta .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
    .product .meta .dot.dev { background: var(--warning); }
    .product h3 {
      font-size: clamp(36px, 4.4vw, 60px);
      line-height: 1.05; letter-spacing: -0.03em;
      font-weight: 500; margin: 0 0 20px;
    }
    .product p {
      font-size: 16px; line-height: 1.65;
      color: var(--fg-secondary);
      max-width: 44ch;
      margin: 0 0 28px;
    }
    .product .arrow-cta {
      display: inline-flex; align-items: center; gap: 12px;
      font-size: 15px;
      padding-bottom: 4px;
      border-bottom: 1px solid var(--fg);
      transition: gap var(--dur-base);
    }
    .product .arrow-cta:hover { gap: 18px; }
    .product .arrow-cta .arr {
      transition: transform var(--dur-base);
    }
    .product .arrow-cta:hover .arr { transform: translateX(3px); color: var(--accent); }

    /* Screenshot inside a product stage */
    .product .stage .hdr-shot {
      display: block;
      width: 100%; height: 100%;
      object-fit: contain;
      border-radius: 8px;
      box-shadow: var(--shadow-2);
      margin: 0;
    }

    /* GGO stage — type-led placeholder (no screenshot yet) */
    .product .stage.ggo-stage {
      background: transparent;
      border-color: transparent;
      box-shadow: none;
      aspect-ratio: auto;
      padding: 32px 24px;
    }
    .ggo-card {
      width: 100%;
      max-width: 320px;
      padding: 24px 26px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: var(--shadow-3);
    }
    .ggo-card-eyebrow {
      display: block;
      font-family: var(--font-mono);
      font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--fg-tertiary);
      margin-bottom: 18px;
    }
    .ggo-checks { list-style: none; margin: 0; padding: 0; }
    .ggo-checks li {
      display: flex; align-items: center; gap: 12px;
      font-size: 15px; color: var(--fg);
      padding: 10px 0;
      border-top: 1px solid var(--border);
    }
    .ggo-checks li:first-child { border-top: 0; }
    .ggo-checks .tick {
      display: inline-flex; align-items: center; justify-content: center;
      width: 22px; height: 22px; flex-shrink: 0;
      border-radius: 50%;
      font-size: 12px; font-weight: 500;
    }
    .ggo-checks .ok .tick   { background: var(--accent-soft); color: var(--accent-text); }
    .ggo-checks .warn .tick { background: rgba(0,0,0,0.06); color: var(--fg-secondary); }

    /* Synopsen-Assistent stage — type-led synopsis placeholder (no screenshot) */
    .product .stage.syn-stage {
      background: transparent;
      border-color: transparent;
      box-shadow: none;
      aspect-ratio: auto;
      padding: 32px 24px;
    }
    .syn-card {
      width: 100%;
      max-width: 420px;
      padding: 24px 26px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: var(--shadow-3);
    }
    .syn-card-eyebrow {
      display: block;
      font-family: var(--font-mono);
      font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--fg-tertiary);
      margin-bottom: 18px;
    }
    .syn-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .syn-col-label {
      display: block;
      font-family: var(--font-mono);
      font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--fg-tertiary);
      margin-bottom: 8px;
    }
    .syn-text { font-size: 14px; line-height: 1.5; color: var(--fg); }
    .syn-del, .syn-ins { padding: 0 3px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
    .syn-del { background: rgba(0,0,0,0.06); color: var(--fg-secondary); text-decoration: line-through; }
    .syn-ins { background: var(--accent-soft); color: var(--accent-text); }
    .syn-flag {
      display: flex; align-items: center; gap: 10px;
      margin-top: 20px; padding-top: 14px;
      border-top: 1px solid var(--border);
      font-size: 13px; color: var(--fg-secondary);
    }
    .syn-flag .tick {
      display: inline-flex; align-items: center; justify-content: center;
      width: 22px; height: 22px; flex-shrink: 0;
      border-radius: 50%;
      font-size: 12px; font-weight: 500;
      background: rgba(0,0,0,0.06); color: var(--fg-secondary);
    }
    @media (max-width: 520px) {
      .syn-cols { grid-template-columns: 1fr; gap: 14px; }
    }

    /* ──────────────────────────────────────────────
       STUDIO — quiet about
       ────────────────────────────────────────────── */
    .studio { background: var(--bg); padding-block: 140px; }
    .studio-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }
    .studio h2 {
      font-size: clamp(40px, 5vw, 72px);
      line-height: 1.05;
      letter-spacing: -0.035em;
      font-weight: 500;
      margin: 0;
      max-width: 14ch;
    }
    .studio-text p {
      font-size: 17px;
      line-height: 1.75;
      color: var(--fg-secondary);
      margin: 0 0 20px;
    }
    .studio-stats {
      display: grid; grid-template-columns: 1fr 1fr;
      margin-top: 56px;
      border-top: 1px solid var(--border);
    }
    .stat { padding: 28px 0; border-bottom: 1px solid var(--border); }
    .stat .v {
      font-size: 36px; font-weight: 500;
      letter-spacing: -0.02em;
      font-family: var(--font-mono);
    }
    .stat .l {
      font-size: 12px; color: var(--fg-tertiary);
      text-transform: uppercase; letter-spacing: 0.08em;
      margin-top: 6px;
    }

    /* ──────────────────────────────────────────────
       CONTACT — dark closing
       ────────────────────────────────────────────── */
    .contact {
      background: var(--ink-900);
      color: #fff;
      padding-block: 160px;
      position: relative;
      overflow: hidden;
    }
    .contact-grid {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 56px 56px;
      mask-image: radial-gradient(ellipse at 50% 60%, black, transparent 70%);
      pointer-events: none;
    }
    .contact .eyebrow { color: rgba(255,255,255,0.6); }
    .contact h2 {
      font-size: clamp(48px, 7vw, 112px);
      line-height: 1; letter-spacing: -0.045em;
      font-weight: 500;
      margin: 0 0 48px;
      max-width: 18ch;
      color: #fff;
    }
    .email-cta {
      display: inline-flex; align-items: center; gap: 20px;
      padding: 24px 32px;
      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.28);
      border-radius: 9999px;
      font-size: clamp(18px, 2vw, 26px);
      color: #fff;
      transition: background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
      backdrop-filter: blur(8px);
    }
    .email-cta:hover {
      background: rgba(53,60,255,0.22);
      border-color: var(--accent);
      color: #fff;
    }
    .email-cta .arr { transition: transform var(--dur-base); }
    .email-cta:hover .arr { transform: translateX(6px); }
    .contact-signature {
      margin-top: 56px;
      font-family: var(--font-mono);
      font-size: 13px;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.04em;
    }
    .contact-signature strong { color: #fff; font-weight: 500; }

    /* ──────────────────────────────────────────────
       FOOTER
       ────────────────────────────────────────────── */
    footer {
      background: var(--ink-900);
      color: rgba(255,255,255,0.45);
      padding: 32px clamp(20px, 6vw, 96px) 36px;
      display: flex; flex-wrap: wrap; gap: 24px;
      justify-content: space-between; align-items: center;
      font-size: 12px;
      font-family: var(--font-mono);
      letter-spacing: 0.04em;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    footer nav { display: flex; gap: 24px; }
    footer a { transition: color var(--dur-base); }
    footer a:hover { color: #fff; }

    /* ──────────────────────────────────────────────
       Reduce motion
       ────────────────────────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      .brand-wordmark, .hero-h1 .w, .scroll-hint,
      .manifesto-list .strike::after, .calc-row.live .num {
        animation: none !important; transition: none !important;
        clip-path: inset(0) !important; opacity: 1 !important; transform: none !important;
      }
      .hero-spotlight, .hero-grid { display: none; }
      html { scroll-behavior: auto; }
    }

    /* ──────────────────────────────────────────────
       Responsive
       ────────────────────────────────────────────── */
    @media (max-width: 920px) {
      .product { grid-template-columns: 1fr; gap: 36px; }
      /* Stack with text first regardless of alternation */
      .product.reverse .info  { order: 1; }
      .product.reverse .stage { order: 2; }
      .product .stage { aspect-ratio: auto; min-height: 240px; }
      .studio-grid { grid-template-columns: 1fr; gap: 32px; }
      section { padding-inline: 24px; }
    }
    @media (max-width: 600px) {
      .hero { padding-top: 72px; }
      .scroll-hint { display: none; }
    }

/* ─── Legal Pages ─── */
.legal-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.legal-meta {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--fg-tertiary);
}
.legal-label { margin-bottom: 0.25rem; }
.legal-block { margin-bottom: 1.5rem; }
.legal-block-sm { margin-bottom: 1rem; }
