/* =========================================================
   Rounds — marketing site
   Built on the Rounds design system (Ink theme).
   Tokens mirror project/tokens.json; component classes mirror
   project/components/bundle.css (rd-btn, rd-eyebrow, rd-qr,
   rd-scene, rd-chip).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* colour · Ink theme */
  --surface: #0b0b0c;
  --surface-raised: #161618;
  --surface-ghost: #18181a;
  --line: #2a2a2c;
  --line-strong: #6a6a6c;
  --ink: #f2f2ee;
  --ink-muted: #8c8c88;
  --accent: #d4ff3a;
  --on-accent: #0b0b0c;
  --focus-ring: var(--accent);

  /* scenes (same in both themes) */
  --scene-monolith: #0b0b0c;
  --scene-signal: #1f2bff;
  --scene-bauhaus: #f3f3f1;
  --scene-afterglow: #0e1226;
  --scene-canopy: #0e3b2e;
  --scene-table: #ff3d8b;

  /* hues */
  --hue-ink: #111111;
  --hue-white: #ffffff;
  --hue-lime: #d4ff3a;
  --hue-bone: #f2f2ee;
  --hue-vermilion: #ff4a1c;
  --hue-sun: #ffc21a;
  --hue-glow: #ff7a3d;
  --hue-pink: #ff3d8b;
  --hue-pink-deep: #f2337f;
  --hue-mint: #bdf5d9;
  --canopy-line: #2e6b55;

  /* order status */
  --status-new: #1f2bff;
  --status-cooking: #ffc21a;
  --status-ready: #d4ff3a;

  /* Paper theme values, used for the guest app inside the phones */
  --paper-surface: #f3f3f1;
  --paper-raised: #ffffff;
  --paper-line: #dadad5;
  --paper-ink: #111111;
  --paper-muted: #5e5e5e;
  --paper-accent: #1f2bff;

  /* type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-40: 160px;

  /* radius */
  --radius-0: 0;
  --radius-s: 8px;
  --radius-m: 22px;
  --radius-l: 32px;
  --radius-leaf: 56px;
  --radius-pill: 999px;

  /* shadow (floating things only) */
  --shadow-card: 0 30px 60px rgba(0, 0, 0, 0.5);
  --shadow-glass: 0 40px 80px rgba(0, 0, 0, 0.35);

  /* layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --rhythm: clamp(96px, 12vw, 160px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.has-smooth { scroll-behavior: smooth; }
/* Links to a section land below the fixed nav (73px), not under it. */
main > section[id] { scroll-margin-top: 73px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 27px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--space-4); top: -60px; z-index: 100; padding: var(--space-3) var(--space-4); background: var(--accent); color: var(--on-accent); font-weight: 600; }
.skip:focus { top: var(--space-4); }

/* ---------- Type ---------- */
.rd-wide { font-stretch: 125%; }
.rd-narrow { font-stretch: 62%; }
.rd-dot { color: var(--accent); }

.display-l { font-family: var(--font-display); font-size: clamp(48px, 8vw, 96px); line-height: 0.86; font-weight: 900; letter-spacing: -0.045em; text-wrap: balance; }
.display-condensed { font-family: var(--font-display); font-size: clamp(72px, 12vw, 132px); line-height: 0.82; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.display-light { font-family: var(--font-display); font-size: clamp(64px, 9vw, 92px); line-height: 0.88; font-weight: 300; font-style: italic; letter-spacing: -0.03em; font-stretch: 75%; }
.headline { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 64px); line-height: 0.92; font-weight: 800; letter-spacing: -0.035em; font-stretch: 112%; text-wrap: balance; }
.title { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.body-l { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; max-width: 52ch; }
.body-s { font-size: 14px; line-height: 21px; }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.mono { font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* split-text wrappers (built by JS) */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.04em 0.12em 0; margin: -0.08em -0.04em -0.12em 0; }
.split .word-inner { display: inline-block; }

/* ---------- Components (from bundle.css) ---------- */
.rd-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: 52px; padding: 0 var(--space-6); border-radius: var(--radius-pill); border: 1px solid transparent; font-family: var(--font-sans); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1; white-space: nowrap; cursor: pointer; text-decoration: none; transition: transform 0.2s cubic-bezier(0.215, 0.61, 0.355, 1); }
.rd-btn:hover { transform: translateY(-2px); }
.rd-btn:active { transform: translateY(0); }
.rd-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.rd-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.rd-btn-primary { background: var(--accent); color: var(--on-accent); }
.rd-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.rd-btn-inverse { background: var(--ink); color: var(--surface); }
.rd-btn-s { min-height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.rd-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.rd-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.rd-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.rd-qr { --rd-qr-size: 320px; --rd-qr-bracket: var(--accent); position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--rd-qr-size); height: var(--rd-qr-size); flex-shrink: 0; }
.rd-qr img, .rd-qr > svg { display: block; width: 100%; height: 100%; }
.rd-qr-brackets { padding: calc(var(--rd-qr-size) * 0.12); }
.rd-qr-corner { position: absolute; width: 12%; height: 12%; border: 0 solid var(--rd-qr-bracket); }
.rd-qr-corner:nth-child(1) { left: 0; top: 0; border-top-width: 2px; border-left-width: 2px; }
.rd-qr-corner:nth-child(2) { right: 0; top: 0; border-top-width: 2px; border-right-width: 2px; }
.rd-qr-corner:nth-child(3) { left: 0; bottom: 0; border-bottom-width: 2px; border-left-width: 2px; }
.rd-qr-corner:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 2px; border-right-width: 2px; }
.rd-qr-card { padding: calc(var(--rd-qr-size) * 0.09); background: var(--hue-white); border: 6px solid var(--hue-ink); }
.rd-qr-glass { padding: calc(var(--rd-qr-size) * 0.11); background: rgba(14, 18, 38, 0.62); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-l); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); box-shadow: var(--shadow-glass); }
.rd-qr-leaf { padding: calc(var(--rd-qr-size) * 0.1); background: #0b2f25; border: 1px solid var(--canopy-line); border-radius: 0 var(--radius-leaf) var(--radius-leaf) var(--radius-leaf); }
.rd-qr-table { padding: calc(var(--rd-qr-size) * 0.09); background: var(--hue-white); border-radius: var(--radius-m); }
/* Light-on-dark looks sit on a light tile, drawn dark on it: many phone scanners can't read inverted
   codes. The tile's padding is the code's quiet zone (about 4 modules). */
.rd-qr-tile { --rd-qr-tile: var(--hue-bone); }
/* The tile grows outward (a spread shadow), so the code keeps its full size: 0.09 x the frame is about
   4 modules in every frame that uses it. */
.rd-qr-tile > img, .rd-qr-tile > svg { background: var(--rd-qr-tile); border-radius: 4px; box-shadow: 0 0 0 calc(var(--rd-qr-size) * 0.09) var(--rd-qr-tile); }
.rd-scene-signal .rd-qr-tile { --rd-qr-tile: var(--hue-white); }
/* The glass panel is itself the tile: a light card, with no border ring or backdrop blur around the code. */
.rd-qr-glass.rd-qr-tile { background: var(--hue-white); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.rd-qr-glass.rd-qr-tile > img, .rd-qr-glass.rd-qr-tile > svg { background: none; border-radius: 0; box-shadow: none; }
/* The leaf frame is itself the tile: rounding the code's own box would clip its corner squares. */
.rd-qr-leaf.rd-qr-tile { background: var(--hue-mint); }
.rd-qr-leaf.rd-qr-tile > img, .rd-qr-leaf.rd-qr-tile > svg { background: none; border-radius: 0; box-shadow: none; }
/* Frameless tiles grow outward, so they keep that much space clear around them (captions included). */
.rd-qr-none.rd-qr-tile { margin: calc(var(--rd-qr-size) * 0.09); }
.rd-qr-scan { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: var(--rd-qr-bracket); pointer-events: none; visibility: hidden; } /* shown only while GSAP sweeps it */

.rd-chip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; padding: 0 14px 0 12px; border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: 13px; font-weight: 600; line-height: 1; box-shadow: var(--shadow-card); white-space: nowrap; }
.rd-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.rd-chip-new { background: var(--status-new); color: var(--hue-white); }
.rd-chip-cooking { background: var(--status-cooking); color: var(--hue-ink); }
.rd-chip-ready { background: var(--status-ready); color: var(--hue-ink); }
.rd-chip small { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.04em; opacity: 0.8; }

/* scene card (4:5 poster) */
.rd-scene { container-type: inline-size; position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; padding: 6.6cqi; display: flex; flex-direction: column; justify-content: space-between; gap: 4cqi; font-family: var(--font-sans); }
.rd-scene > * { position: relative; z-index: 1; }
.rd-scene-strip { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding-bottom: 2.2cqi; border-bottom: 1px solid currentColor; font-family: var(--font-mono); font-size: max(10px, 1.7cqi); letter-spacing: 0.12em; text-transform: uppercase; }
.rd-scene-strip span { opacity: 0.82; }
.rd-scene-title { margin: 0; font-size: 9.4cqi; line-height: 0.92; font-weight: 800; letter-spacing: -0.035em; font-stretch: 112%; text-wrap: balance; white-space: pre-line; }
.rd-scene-body { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.rd-scene-monolith { background: var(--scene-monolith); color: var(--hue-bone); }
.rd-scene-monolith .rd-scene-strip { border-color: var(--line); }
.rd-scene-signal { background: var(--scene-signal); color: var(--hue-white); }
.rd-scene-signal .rd-scene-title { font-stretch: 62%; font-size: 15cqi; line-height: 0.82; text-transform: uppercase; letter-spacing: -0.01em; }
.rd-scene-bauhaus { background: var(--scene-bauhaus); color: var(--hue-ink); }
.rd-scene-bauhaus .rd-scene-title { font-stretch: 125%; font-weight: 900; letter-spacing: -0.045em; }
.rd-scene-afterglow { background: var(--scene-afterglow); color: var(--hue-white); }
.rd-scene-afterglow .rd-scene-title { font-weight: 300; font-style: italic; font-stretch: 75%; font-size: 12cqi; }
.rd-scene-canopy { background-color: var(--scene-canopy); background-image: linear-gradient(#154837 1px, transparent 1px), linear-gradient(90deg, #154837 1px, transparent 1px); background-size: 6.6cqi 6.6cqi; color: var(--hue-mint); }
.rd-scene-canopy .rd-scene-strip { border-color: var(--canopy-line); }
.rd-scene-table { background: var(--scene-table); color: var(--hue-ink); }
.rd-scene-table .rd-scene-title { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.05em; }
.rd-scene-ghost { position: absolute; z-index: 0; pointer-events: none; font-weight: 900; font-stretch: 125%; letter-spacing: -0.04em; line-height: 0.8; white-space: nowrap; }
.rd-scene-monolith .rd-scene-ghost { left: -3cqi; top: 34cqi; font-size: 46cqi; color: var(--surface-ghost); }
.rd-scene-table .rd-scene-ghost { right: -6cqi; bottom: -14cqi; font-size: 72cqi; color: var(--hue-pink-deep); }
.rd-scene-ring { position: absolute; z-index: 0; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); transform: translate(-50%, -50%); pointer-events: none; }
.rd-scene-ring:nth-child(1) { width: 64cqi; height: 64cqi; }
.rd-scene-ring:nth-child(2) { width: 92cqi; height: 92cqi; opacity: 0.78; }
.rd-scene-ring:nth-child(3) { width: 122cqi; height: 122cqi; opacity: 0.56; }
.rd-scene-ring:nth-child(4) { width: 156cqi; height: 156cqi; opacity: 0.34; }

/* scene-card extras: the code + its printed URL, Bauhaus shapes, Afterglow light */
.scene-code { display: flex; flex-direction: column; align-items: center; gap: 2.4cqi; }
.scene-code .rd-qr { --rd-qr-size: 54cqi; }
.scene-code figcaption { font-family: var(--font-mono); font-size: max(10px, 1.8cqi); letter-spacing: 0.04em; opacity: 0.85; }
.rd-scene .bh-disc { position: absolute; z-index: 0; right: -14cqi; top: -14cqi; width: 46cqi; height: 46cqi; border-radius: 50%; background: var(--hue-vermilion); }
.rd-scene .bh-bar { position: absolute; z-index: 0; left: 0; bottom: 30cqi; width: 12cqi; height: 30cqi; background: var(--scene-signal); }
.rd-scene .bh-tri { position: absolute; z-index: 0; right: 6.6cqi; bottom: 6.6cqi; width: 18cqi; height: 16cqi; background: var(--hue-sun); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.rd-scene .glow-a { right: -24cqi; bottom: -24cqi; width: 60cqi; height: 60cqi; background: var(--hue-glow); opacity: 0.55; }
.rd-scene .glow-b { right: -30cqi; top: 18cqi; width: 46cqi; height: 46cqi; background: var(--hue-pink); opacity: 0.45; }

/* ---------- Shared section bits ---------- */
.scene { position: relative; overflow: hidden; padding: var(--rhythm) 0; }
.scene > .container { position: relative; z-index: 1; }
.strip { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding-bottom: var(--space-4); margin-bottom: var(--space-16); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.scene-signal { background: var(--scene-signal); color: var(--hue-white); }
.scene-signal .strip { color: var(--hue-white); border-color: rgba(255, 255, 255, 0.4); }
.scene-bauhaus { background: var(--scene-bauhaus); color: var(--hue-ink); }
.scene-bauhaus .strip { color: var(--hue-ink); border-color: var(--hue-ink); }
.scene-table { background: var(--scene-table); color: #141414; }
.scene-table .strip { color: #141414; border-color: #141414; }
.scene-afterglow { background: var(--scene-afterglow); color: var(--hue-white); }
.scene-afterglow .strip { color: var(--hue-white); border-color: rgba(255, 255, 255, 0.28); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-4) var(--gutter); transition: background-color 0.2s; }
.nav.is-scrolled { background: rgba(11, 11, 12, 0.94); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--font-display); font-size: 22px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; font-stretch: 125%; text-transform: none; color: var(--ink); }
.nav-links { display: flex; gap: var(--space-8); font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero · Monolith ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding-top: 112px; padding-bottom: var(--space-16); display: flex; align-items: center; background: var(--scene-monolith); }
.ghost-word { position: absolute; z-index: 0; left: -0.04em; bottom: -0.12em; font-size: clamp(200px, 38vw, 560px); line-height: 0.8; font-weight: 900; font-stretch: 125%; letter-spacing: -0.04em; color: var(--surface-ghost); pointer-events: none; user-select: none; }
.hero .strip { margin-bottom: var(--space-12); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 580px; gap: var(--space-12); align-items: center; }
.hero-copy .rd-eyebrow { margin-bottom: var(--space-6); }
.hero-copy .display-l { margin-bottom: var(--space-6); }
.hero-copy .body-l { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-8); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-facts li::before { content: ""; width: 6px; height: 6px; background: var(--ink-muted); }

.hero-visual { position: relative; width: 580px; height: 580px; }
.hero-code { position: absolute; left: 0; top: 10px; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.hero-code .rd-qr { --rd-qr-size: 300px; }
.hero-code figcaption, .cta-code figcaption { color: var(--ink-muted); }
.hero-phone { position: absolute; left: 320px; top: 40px; }
.hero-chip { position: absolute; z-index: 3; }
/* chips overlap the phone's left edge by up to 24px, never the code */
.hero-chip:nth-of-type(1) { right: 236px; top: 400px; }
.hero-chip:nth-of-type(2) { right: 252px; top: 452px; }
.hero-chip:nth-of-type(3) { right: 228px; top: 504px; }

/* ---------- Phone + guest app (Paper theme inside) ---------- */
.phone { position: relative; width: 260px; aspect-ratio: 9 / 19; padding: 10px; border-radius: 40px; background: #050505; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.phone-notch { position: absolute; z-index: 3; top: 18px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: var(--radius-pill); background: #050505; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 30px; background: var(--paper-surface); color: var(--paper-ink); font-size: 12px; line-height: 1.35; }
.app, .phone-screen.app { padding: 50px 14px 14px; }
.app-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.app-venue { font-family: var(--font-display); font-size: 17px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; }
.app-table { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-pill); background: var(--paper-ink); color: var(--paper-surface); }
.app-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.app-tabs span { padding: 5px 11px; border-radius: var(--radius-pill); background: var(--paper-raised); border: 1px solid var(--paper-line); font-weight: 600; font-size: 11px; }
.app-tabs span.on { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper-surface); }
.app-list { background: var(--paper-raised); }
.app-list li { display: grid; grid-template-columns: 1fr auto 24px; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--paper-line); }
.app-list li:last-child { border-bottom: 0; }
.app-list b { font-weight: 700; font-size: 12px; }
.app-list small { grid-column: 1; grid-row: 2; color: var(--paper-muted); font-size: 10px; }
.app-list span { grid-column: 2; grid-row: 1 / 3; font-family: var(--font-mono); font-size: 11px; }
.app-list i { grid-column: 3; grid-row: 1 / 3; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-accent); color: var(--hue-white); font-style: normal; font-weight: 700; }
.app-list li.soldout { color: var(--paper-muted); }
.app-list li.soldout b { text-decoration: line-through; }
.app-basket { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: var(--radius-s); background: var(--paper-accent); color: var(--hue-white); font-size: 11px; }

/* ---------- Marquee band ---------- */
.band { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.marquee { display: flex; width: max-content; }
.marquee-track { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1; font-weight: 800; font-stretch: 62%; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { width: 12px; height: 12px; background: var(--line-strong); }

/* ---------- The rush · Signal ---------- */
.rings { position: absolute; z-index: 0; right: -10vw; top: 50%; width: 0; height: 0; }
.rings span { position: absolute; left: 0; top: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); transform: translate(-50%, -50%); }
.rings span:nth-child(1) { width: 40vw; height: 40vw; }
.rings span:nth-child(2) { width: 58vw; height: 58vw; opacity: 0.78; }
.rings span:nth-child(3) { width: 78vw; height: 78vw; opacity: 0.56; }
.rings span:nth-child(4) { width: 100vw; height: 100vw; opacity: 0.34; }
.rush .display-condensed { max-width: 9ch; }
.rush-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); margin-top: var(--space-16); align-items: start; }
.queue { position: relative; padding: var(--space-8) var(--space-8) var(--space-16); border: 1px solid rgba(255, 255, 255, 0.4); }
.queue-bar { height: 48px; display: grid; place-items: center; background: var(--hue-white); color: var(--scene-signal); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
.queue-people { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px 8px; margin-top: var(--space-6); }
.person { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.person::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--hue-bone); }
.person::after { content: ""; width: 22px; height: 22px; background: var(--hue-bone); }
.queue-caption { position: absolute; left: var(--space-8); bottom: var(--space-6); }
.facts { display: grid; gap: var(--space-8); }
.facts li { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.facts .label { padding-top: 8px; }
.facts p { margin-top: var(--space-2); color: var(--hue-bone); max-width: 42ch; }

/* ---------- How it works ---------- */
.how { background: var(--surface); }
.how-pin { min-height: 100vh; display: flex; align-items: center; padding: 104px 0 var(--space-12); }
.how-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-16); align-items: center; }
.how-copy .headline { margin-top: var(--space-6); }
.steps { margin-top: var(--space-12); display: grid; gap: var(--space-1); }
.step { display: grid; grid-template-columns: 76px 1fr; gap: var(--space-4); padding: var(--space-4) var(--space-6); border: 1px solid transparent; opacity: 0.42; transition: opacity 0.45s, background-color 0.45s, border-color 0.45s; cursor: default; }
.step .label { padding-top: 6px; color: var(--ink-muted); }
.step .title { font-size: 22px; }
.step p { margin-top: var(--space-1); color: var(--ink-muted); font-size: 14px; line-height: 21px; }
.step.is-active { opacity: 1; background: var(--surface-raised); border-color: var(--line); }
.step.is-active .label { color: var(--accent); }
.how-device { display: grid; place-items: center; }
.how-phone { width: 290px; }

.screens { padding: 0; }
.screen { position: absolute; inset: 0; }
.screen + .screen { visibility: hidden; }
.screen-scan { display: grid; place-items: center; background: var(--surface); }
.viewfinder { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.table-card-mini { width: 132px; padding: 12px; background: var(--hue-white); border-radius: 14px; }
.vf-corner { position: absolute; width: 30px; height: 30px; border: 0 solid var(--accent); }
.vf-corner:nth-of-type(1) { left: 0; top: 0; border-top-width: 3px; border-left-width: 3px; }
.vf-corner:nth-of-type(2) { right: 0; top: 0; border-top-width: 3px; border-right-width: 3px; }
.vf-corner:nth-of-type(3) { left: 0; bottom: 0; border-bottom-width: 3px; border-left-width: 3px; }
.vf-corner:nth-of-type(4) { right: 0; bottom: 0; border-bottom-width: 3px; border-right-width: 3px; }
.vf-line { position: absolute; left: 12px; right: 12px; top: 8%; height: 2px; background: var(--accent); }
.toast { position: absolute; left: 14px; right: 14px; bottom: 28px; display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--paper-raised); color: var(--paper-ink); text-align: center; }
.toast .mono { font-size: 11px; color: var(--paper-muted); }
.toast b { color: var(--paper-accent); }
.menu-offer { display: grid; gap: 2px; margin-bottom: 10px; padding: 12px; background: var(--paper-accent); color: var(--hue-white); }
.menu-offer b { font-size: 13px; }
.receipt { margin-top: 6px; background: var(--paper-raised); padding: 4px 12px; }
.receipt li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--paper-line); }
.receipt li span:last-child { font-family: var(--font-mono); font-size: 11px; }
.receipt li.total { font-weight: 800; font-size: 14px; border: 0; }
.receipt li.total span:last-child { font-size: 13px; font-weight: 500; }
.tip-pills { display: flex; gap: 4px; }
.tip-pills i { font-style: normal; font-size: 10px; padding: 2px 6px; border-radius: var(--radius-pill); border: 1px solid var(--paper-line); }
.tip-pills i.on { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper-surface); }
.pay-btn { position: relative; display: grid; margin-top: 16px; height: 48px; border-radius: var(--radius-pill); background: var(--paper-ink); color: var(--hue-white); font-weight: 700; overflow: hidden; }
.pay-btn > span { grid-area: 1 / 1; display: grid; place-items: center; }
.pay-done { background: var(--paper-accent); clip-path: inset(0 100% 0 0); }
.pay-alt { margin-top: 10px; text-align: center; font-size: 11px; color: var(--paper-muted); text-decoration: underline; }
.screen-track { background: var(--surface); color: var(--ink); text-align: center; padding: 70px 18px 18px; }
.check { width: 64px; height: 64px; margin: 0 auto 14px; }
.check circle, .check path { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke-width: 2.5; }
.check path { stroke-width: 3.5; }
.screen-track h4 { font-size: 24px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; }
.screen-track .mono { color: var(--ink-muted); margin-top: 4px; }
.track-chips { display: grid; justify-items: center; gap: 10px; margin-top: 28px; }
.track-chips .rd-chip, .board .rd-chip { box-shadow: none; }

/* ---------- Six looks ---------- */
.looks { padding: var(--rhythm) 0; }
.looks-intro .headline { margin-top: var(--space-6); }
.looks-intro .body-l { margin-top: var(--space-6); color: var(--ink-muted); }
.stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); max-width: var(--container); margin: var(--space-16) auto 0; padding: 0 var(--gutter); }

/* pinned mode (added by JS when motion is allowed) */
.stage.is-stage { display: block; position: relative; max-width: none; height: 100vh; height: 100svh; margin: var(--space-16) 0 0; padding: 0; }
.stage.is-stage .rd-scene { position: absolute; inset: 0; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 0 var(--space-12); padding: 96px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) var(--space-12); }
.stage.is-stage .rd-scene-strip { grid-column: 1 / -1; font-size: 12px; padding-bottom: var(--space-4); }
.stage.is-stage .rd-scene-body { grid-column: 1; }
.stage.is-stage .rd-scene-title { grid-column: 2; align-self: center; font-size: clamp(56px, 8vw, 128px); }
.stage.is-stage .rd-scene-signal .rd-scene-title { font-size: clamp(80px, 12vw, 180px); }
.stage.is-stage .rd-scene-afterglow .rd-scene-title { font-size: clamp(72px, 10vw, 150px); }
.stage.is-stage .scene-code .rd-qr { --rd-qr-size: min(52vh, 38vw); }
.stage.is-stage .scene-code { gap: var(--space-3); }
.stage.is-stage .scene-code figcaption { font-size: 13px; }
.stage.is-stage .rd-scene-monolith .rd-scene-ghost { left: auto; right: -0.04em; top: auto; bottom: -0.12em; font-size: 34vw; }
.stage.is-stage .rd-scene-table .rd-scene-ghost { font-size: 52vw; right: -4vw; bottom: -12vw; }
.stage.is-stage .rd-scene-ring { left: 25%; top: 55%; }
.stage.is-stage .rd-scene-ring:nth-child(1) { width: 40vw; height: 40vw; }
.stage.is-stage .rd-scene-ring:nth-child(2) { width: 56vw; height: 56vw; }
.stage.is-stage .rd-scene-ring:nth-child(3) { width: 74vw; height: 74vw; }
.stage.is-stage .rd-scene-ring:nth-child(4) { width: 94vw; height: 94vw; }
.stage.is-stage .bh-disc { width: 30vw; height: 30vw; right: -8vw; top: -8vw; }
.stage.is-stage .bh-bar { width: 6vw; height: 26vh; bottom: 12vh; }
.stage.is-stage .bh-tri { width: 10vw; height: 9vw; right: 4vw; bottom: 6vh; }
.stage.is-stage .glow-a { width: 40vw; height: 40vw; right: -14vw; bottom: -18vw; filter: blur(100px); }
.stage.is-stage .glow-b { width: 30vw; height: 30vw; right: 22vw; top: -16vw; filter: blur(100px); }

/* ---------- For venues · Bauhaus ---------- */
.venues .bh-disc { position: absolute; z-index: 0; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: var(--hue-vermilion); }
.venues .bh-bar { position: absolute; z-index: 0; left: 0; top: 40%; width: 56px; height: 220px; background: var(--scene-signal); }
.dot-klein { color: var(--scene-signal); }
.venues .body-l { margin-top: var(--space-6); }
.board { margin-top: var(--space-16); background: var(--hue-white); border: 6px solid var(--hue-ink); color: var(--hue-ink); }
.board-top { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-6); border-bottom: 2px solid var(--hue-ink); }
.board-top .label:last-child { color: var(--paper-muted); }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.board-col { padding: var(--space-6); }
.board-col + .board-col { border-left: 2px solid var(--hue-ink); }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.count { min-width: 28px; text-align: right; }
.tickets { position: relative; display: flex; flex-direction: column; gap: 10px; height: 290px; }
.ticket { padding: 12px 14px; background: var(--hue-white); border: 1px solid var(--hue-ink); }
.ticket-head { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.ticket-head b { font-weight: 500; }
.ticket-head span { color: var(--paper-muted); }
.ticket p { margin-top: 4px; font-size: 14px; line-height: 21px; font-weight: 600; }

/* ---------- Features rail ---------- */
.features { padding-top: var(--rhythm); overflow: hidden; }
.features .headline { margin-top: var(--space-6); max-width: 14ch; }
.rail-wrap { padding: var(--space-16) 0 var(--rhythm); }
.rail { display: flex; gap: var(--space-6); width: max-content; padding: 0 var(--gutter); }
.card { flex: 0 0 auto; width: min(360px, 80vw); display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); background: var(--surface-raised); border: 1px solid var(--line); }
.card .icon { width: 32px; height: 32px; margin-bottom: var(--space-6); fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card .label { color: var(--ink-muted); }
.card p { color: var(--ink-muted); font-size: 15px; line-height: 23px; }

/* ---------- Demo · Table ---------- */
.ghost-num { position: absolute; z-index: 0; right: -0.06em; bottom: -0.18em; font-size: clamp(280px, 46vw, 680px); line-height: 0.8; font-weight: 900; font-stretch: 125%; letter-spacing: -0.06em; color: var(--hue-pink-deep); pointer-events: none; user-select: none; }
.demo-grid { display: grid; grid-template-columns: 1fr 440px; gap: var(--space-16); align-items: start; }
.demo-title { text-transform: uppercase; letter-spacing: -0.05em; }
.demo-copy .body-l { margin-top: var(--space-6); }
/* Table tent: the card that sits on the table. Code on the left, the table number large on the right. */
.table-tent { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-8); width: min(100%, 560px); margin-top: var(--space-8); padding: var(--space-6); background: var(--hue-white); color: #141414; border-radius: var(--radius-m); box-shadow: 0 30px 60px rgba(17, 17, 17, 0.18); }
.table-tent .rd-qr { --rd-qr-size: 200px; }
.tent-info { display: grid; gap: var(--space-2); align-content: center; }
.tent-info .label { color: var(--paper-muted); }
.tent-table { display: grid; line-height: 1; }
.tent-table small { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.tent-table b { font-family: var(--font-display); font-size: 88px; font-weight: 900; font-stretch: 125%; letter-spacing: -0.04em; line-height: 0.95; }
.tent-hint { font-weight: 600; font-size: 16px; }
.tent-url { color: var(--paper-muted); font-size: 12px; }
/* Table chips: pick a table to see the card and the order follow it */
.table-pick { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.table-pick .label { color: #141414; }
.table-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.table-chips button { min-width: 52px; min-height: 44px; padding: 0 var(--space-4); border: 1px solid rgba(20, 20, 20, 0.35); border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.55); color: #141414; font-family: var(--font-mono); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.table-chips button:hover { background: var(--hue-white); }
.table-chips button[aria-pressed="true"] { background: #141414; border-color: #141414; color: var(--hue-white); }
.table-chips button:focus-visible { outline: 2px solid #141414; outline-offset: 3px; }

.demo-app { position: relative; overflow: hidden; padding: var(--space-6); background: var(--hue-white); color: #141414; border-radius: var(--radius-m); box-shadow: 0 30px 60px rgba(17, 17, 17, 0.18); }
.demo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.demo-head strong { display: block; font-size: 24px; line-height: 1.1; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; }
.demo-head small { color: var(--paper-muted); font-size: 12px; }
.basket { display: inline-flex; align-items: center; gap: var(--space-2); }
.basket svg { width: 24px; height: 24px; }
.basket-count { min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border-radius: var(--radius-pill); background: #141414; color: var(--hue-white); font-family: var(--font-mono); font-size: 12px; }
.demo-tabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-3); }
.demo-tabs button { min-height: 40px; padding: 0 var(--space-4); border: 1px solid var(--paper-line); border-radius: var(--radius-pill); background: var(--paper-surface); font-weight: 600; font-size: 14px; cursor: pointer; }
.demo-tabs button.on { background: #141414; border-color: #141414; color: var(--hue-white); }
.demo-menu { min-height: 0; } /* every tab has four items, so the card keeps its height */
.demo-item { display: grid; grid-template-columns: 1fr auto auto; gap: var(--space-3); align-items: center; padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.demo-item b { display: block; font-size: 16px; line-height: 1.25; }
.demo-item small { color: var(--paper-muted); font-size: 13px; }
.demo-price { font-family: var(--font-mono); font-size: 14px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #141414; background: #141414; color: var(--hue-white); font-size: 18px; line-height: 1; cursor: pointer; }
.qty button.minus { background: var(--hue-white); color: #141414; }
.qty button[hidden] { display: none; }
.qty output { min-width: 16px; text-align: center; font-family: var(--font-mono); font-size: 14px; }
.qty output:empty { display: none; }
.demo-foot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-4); }
.demo-foot .label { display: block; color: var(--paper-muted); }
.demo-total { font-size: 24px; line-height: 1.2; }
.demo-order { background: #141414; color: var(--hue-white); }
.fly-dot { position: fixed; z-index: 100; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #141414; pointer-events: none; }
.demo-success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-8); background: var(--surface); color: var(--ink); text-align: center; visibility: hidden; clip-path: circle(0% at 82% 92%); }
.demo-success .check { width: 84px; height: 84px; }
.demo-success h4 { font-size: 32px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; }
.demo-success p { max-width: 28ch; color: var(--ink-muted); }
.demo-success p b { color: var(--ink); font-weight: 600; }
.demo-success .rd-chip { box-shadow: none; }
.demo-reset { margin-top: var(--space-3); }

/* ---------- CTA · Afterglow ---------- */
.cta .glow-a { left: -260px; bottom: -340px; width: 620px; height: 620px; background: var(--hue-glow); opacity: 0.5; filter: blur(120px); }
.cta .glow-b { right: -260px; top: -360px; width: 560px; height: 560px; background: var(--hue-pink); opacity: 0.4; filter: blur(120px); }
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-16); align-items: center; }
.cta-copy .body-l { margin-top: var(--space-6); }
.cta-form { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); max-width: 560px; }
.cta-form input { flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 var(--space-4); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius-s); background: rgba(255, 255, 255, 0.06); color: var(--hue-white); font: inherit; }
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.cta-form input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.form-msg { flex-basis: 100%; min-height: 27px; color: var(--hue-lime); }
.form-msg.error { color: #ff8a6b; }
.cta-code { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.cta-code .rd-qr { --rd-qr-size: 300px; }
.cta-code figcaption { color: rgba(255, 255, 255, 0.75); }

/* ---------- Footer ---------- */
.footer { padding: var(--space-12) 0; border-top: 1px solid var(--line); }
.footer .strip { margin-bottom: var(--space-4); }
.footer-note { color: var(--ink-muted); font-size: 14px; line-height: 21px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: var(--space-6) auto 0; }
}

@media (max-width: 1100px) {
  .rush-grid, .cta-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-app { max-width: 480px; width: 100%; }
  .stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .how-pin { align-items: flex-start; padding-top: 80px; padding-bottom: var(--space-4); }
  .how-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .how-copy .rd-eyebrow { display: none; }
  .how-copy .headline { margin-top: 0; font-size: 32px; }
  .how-device { order: -1; }
  .how-phone { zoom: 0.62; }
  .steps { position: relative; display: block; min-height: 150px; margin-top: var(--space-4); }
  .step { position: absolute; inset: 0 0 auto 0; padding: var(--space-4); grid-template-columns: 1fr; gap: var(--space-2); opacity: 0; visibility: hidden; }
  .step.is-active { opacity: 1; visibility: visible; }
  .step .label { padding-top: 0; }
  .rail-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .rail-wrap::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; }
  .stage.is-stage .rd-scene { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 84px var(--gutter) var(--space-8); }
  .stage.is-stage .rd-scene-body { grid-column: 1; }
  .stage.is-stage .rd-scene-title { grid-column: 1; font-size: clamp(44px, 12vw, 72px); }
  .stage.is-stage .rd-scene-signal .rd-scene-title { font-size: clamp(64px, 18vw, 110px); }
  .stage.is-stage .rd-scene-afterglow .rd-scene-title { font-size: clamp(56px, 15vw, 96px); }
  .stage.is-stage .scene-code .rd-qr { --rd-qr-size: min(40vh, 64vw); }
  .stage.is-stage .rd-scene-ring { left: 50%; top: 45%; }
  .board-col { padding: var(--space-3); }
}

@media (max-width: 860px) and (max-height: 760px) { .how-phone { zoom: 0.52; } }
@media (max-width: 860px) and (max-height: 640px) { .how-phone { zoom: 0.44; } }

@media (max-width: 600px) {
  body { font-size: 16px; line-height: 25px; }
  .hero { padding-top: 96px; }
  .hero .strip span:nth-child(2) { display: none; }
  .hero-ctas .rd-btn { flex: 1 1 100%; }
  .hero-visual { width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-6); }
  .hero-code { position: static; }
  .hero-code .rd-qr { --rd-qr-size: 240px; }
  .hero-phone { display: none; }
  .hero-chip { position: static; }
  .hero-visual { flex-flow: row wrap; justify-content: center; }
  .hero-code { flex-basis: 100%; }
  .stage { grid-template-columns: 1fr; }
  .board-cols { grid-template-columns: 1fr; }
  .board-col + .board-col { border-left: 0; border-top: 2px solid var(--hue-ink); }
  .tickets { height: 250px; }
  .table-tent { grid-template-columns: 1fr; justify-items: start; gap: var(--space-4); }
  .tent-table b { font-size: 64px; }
  .demo-app { padding: var(--space-4); }
  .facts li { grid-template-columns: 1fr; gap: var(--space-2); }
  .facts .label { padding-top: 0; }
  .queue-people { grid-template-columns: repeat(6, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html.has-smooth { scroll-behavior: auto; }
  .rd-qr-scan { display: none; } /* it only ever sweeps; at rest it would sit across the code */
  .rd-btn { transition: none; }
  .rd-btn:hover { transform: none; }
  .step { transition: none; }
}
