/* Raèld Audio site: the nameplate's colours (anodised black, engraving ivory, nickel), and one
   light that takes the colour of the plugin being looked at. */
/* --light is the site's one light: engraving ivory, or the selected plugin's colour (set by
   site.js from config.js). Registered as a colour so a change fades, as a lamp would. */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Fragment+Mono&family=Manrope:wght@400;500;600;700&display=swap");
@property --light { syntax: "<color>"; inherits: true; initial-value: #E9E5DC; }
:root {
  /* Anodised black surfaces, from the nameplate */
  --bg: #0D0E10;
  --bg-alt: #121315;
  --panel: #18191C;
  --panel-2: #212226;
  --deep: #08090A;
  --edge: #2B2C30;
  --edge-strong: #3C3D42;
  /* Metal: a plate, a raised key, the anodised header bar, engraved lettering */
  --plate: linear-gradient(180deg, #232427 0%, #18191B 50%, #121315 100%);
  --key: linear-gradient(180deg, #34353A 0%, #1D1E21 50%, #101113 100%);
  --key-hover: linear-gradient(180deg, #3D3E44 0%, #232427 50%, #141517 100%);
  --chrome-bar: linear-gradient(180deg, rgba(42, 44, 49, 0.96) 0%, rgba(22, 23, 26, 0.96) 48%, rgba(13, 14, 16, 0.96) 52%, rgba(23, 24, 27, 0.96) 100%);
  --chrome-text: linear-gradient(180deg, #F6F3EC 25%, #B9B2A4 60%, #EFEAE0 86%);
  --hairline: linear-gradient(90deg, transparent, rgba(158, 154, 146, 0.55) 50%, transparent);
  --sheen: inset 0 1px 0 rgba(233, 229, 220, 0.08);
  /* The light, and the colours made from it */
  --light: #E9E5DC;
  --accent: var(--light);
  --accent-light: color-mix(in srgb, var(--light) 70%, #FFFFFF);
  --accent-dark: color-mix(in srgb, var(--light) 45%, #000000);
  --accent-dim: color-mix(in srgb, var(--light) 14%, transparent);
  --glow: 0 0 10px color-mix(in srgb, var(--light) 55%, transparent);
  --warm: #FFB347;
  --warm-dim: rgba(255, 179, 71, 0.14);
  --btn-text: #16171A;
  --nickel: #9E9A92;
  /* Warm ivory text, never pure white */
  --heading: #EFEBE3;
  --text: #CFCAC1;
  --text-soft: #A6A199;
  --dim: #88847C;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Segoe UI", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; color: var(--text); background: var(--bg); }
body {
  margin: 0;
  background: radial-gradient(ellipse 120% 70% at 50% 0%, #19191B 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration-color: color-mix(in srgb, var(--accent-light) 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--heading); }
h1 {
  font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -0.5px; font-weight: 700;
  background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h1 em { -webkit-text-fill-color: var(--accent-light); }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 650; }
h3 { font-size: 18px; font-weight: 650; }
p { margin: 0 0 1em; }
code, kbd, .key {
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 0.88em;
  background: var(--panel-2);
  border: 1px solid var(--edge);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--accent-light);
  overflow-wrap: anywhere;
}
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--key); color: var(--accent-light); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--chrome-bar);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #050607;
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--hairline); pointer-events: none; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand img, .brand svg { height: 44px; width: auto; display: block; }
/* The live nameplate (site.js puts the SVG inline): its È takes --lit, the selected plugin's
   colour, and a light sweeps across the plate each time a plugin is selected. */
.brand .lit-e { transition: fill 0.5s ease, filter 0.5s ease; }
.brand.lit .lit-e { filter: drop-shadow(0 0 260px var(--lit)) drop-shadow(0 0 520px var(--lit)); }
.brand .sweep { transform-box: fill-box; transform: translateX(-120%) skewX(-18deg); }
.brand.sweeping .sweep { animation: plate-sweep 1.1s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes plate-sweep { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(240%) skewX(-18deg); } }
:root { transition: --light 0.6s ease; }
@media (prefers-reduced-motion: reduce) { .brand.sweeping .sweep { animation: none; } :root { transition: none; } }
.wordmark { font-size: 21px; letter-spacing: 2px; white-space: nowrap; }
.wordmark b {
  font-weight: 800; color: var(--heading);
  background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.8));
}
.wordmark span { color: var(--text-soft); font-weight: 300; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--text); text-decoration: none; font-size: 15px;
  padding: 8px 12px; border-radius: 6px;
}
.nav a:hover { color: var(--accent-light); background: var(--panel); }
.nav a[aria-current="page"] { color: var(--accent-light); }
.nav .btn { margin-left: 8px; }
.nav .btn:hover { background: var(--key-hover); }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--edge-strong); border-radius: 6px;
  color: var(--text); width: 42px; height: 38px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-align: center; vertical-align: middle;
  font: 600 15px/1.15 var(--font); letter-spacing: 0.4px;
  padding: 14px 22px; border-radius: 8px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  position: relative; background: var(--key); color: var(--accent-light); border-color: #46474C #2B2C30 #0A0B0D;
  text-shadow: 0 0 12px color-mix(in srgb, var(--light) 45%, transparent);
  box-shadow: inset 0 1px 0 rgba(233, 229, 220, 0.16), 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 26px color-mix(in srgb, var(--light) 12%, transparent);
}
/* The LED bar under the label */
.btn-primary::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 34%; height: 2px; border-radius: 2px;
  transform: translateX(-50%); background: var(--accent); box-shadow: var(--glow); transition: width 0.15s;
}
.btn-primary:hover { background: var(--key-hover); color: var(--accent-light); box-shadow: inset 0 1px 0 rgba(233, 229, 220, 0.2), 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 34px color-mix(in srgb, var(--light) 22%, transparent); }
.btn-primary:hover::after { width: 52%; }
.btn-ghost { background: rgba(7, 8, 10, 0.4); color: var(--text); border-color: var(--edge-strong); box-shadow: inset 0 1px 0 rgba(233, 229, 220, 0.05); }
.btn-ghost:hover { background: rgba(24, 25, 28, 0.9); color: var(--accent-light); border-color: color-mix(in srgb, var(--light) 50%, transparent); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn:active { transform: translateY(1px); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 650; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.lede { font-size: 19px; color: var(--text-soft); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--dim); font-size: 17px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 34%, color-mix(in srgb, var(--light) 9%, transparent), transparent 62%),
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(233, 229, 220, 0.05), transparent 60%);
}
.hero .wrap { position: relative; text-align: center; }
.hero h1 { max-width: 820px; margin: 0 auto 18px; }
.hero h1 em { font-style: normal; color: var(--accent-light); }
.announce {
  box-shadow: var(--sheen);
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 22px; max-width: 100%;
  padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; text-decoration: none;
  color: var(--text); background: var(--panel); border: 1px solid var(--edge-strong);
}
.announce:hover { color: var(--heading); border-color: var(--accent); }
.hero .announce { display: flex; width: fit-content; margin: 0 auto 22px; }
.announce .badge-new { margin: 0 6px 0 0; vertical-align: 0; }
.hero .lede { margin: 0 auto 30px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px; }
.fineprint { color: var(--dim); font-size: 14px; }
.shot {
  margin: 52px auto 0; max-width: 980px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid #3C3D42;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(24, 25, 28, 0.8), 0 0 0 7px #2B2C30, 0 0 120px color-mix(in srgb, var(--light) 8%, transparent);
}
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; color: var(--dim); font-size: 14px; }
.badges span::before { content: "◆"; color: var(--accent); font-size: 9px; margin-right: 8px; vertical-align: 2px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--text-soft); margin: 0; font-size: 15px; }
.card .icon {
  width: 40px; height: 40px; border-radius: 8px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: var(--deep); color: var(--accent-light); border: 1px solid var(--edge);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(233, 229, 220, 0.06);
}
.card .icon svg { filter: drop-shadow(0 0 4px color-mix(in srgb, var(--light) 50%, transparent)); }
.card .icon svg { width: 22px; height: 22px; }

.plugin-card { padding: 30px; position: relative; }
.plugin-card .wordmark { font-size: 22px; display: block; margin-bottom: 8px; }
.plugin-card .use { color: var(--accent-light); font-size: 14px; font-weight: 600; letter-spacing: 0.4px; margin-bottom: 14px; }
.plugin-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.plugin-card li { padding: 7px 0 7px 26px; border-top: 1px solid var(--edge); position: relative; font-size: 15px; color: var(--text-soft); }
.plugin-card li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

/* Five modes, five colours. Each card takes its mode colour from --mode, set inline from
   the plugin palette; this is the only place the plugin's own Gold colour appears. */
.mode-stage {
  position: relative; aspect-ratio: 960 / 570; max-width: 980px; margin: 0 auto 22px;
  border-radius: 12px; overflow: hidden; background: var(--deep);
  border: 1px solid var(--edge); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
/* The section around a mode/model viewer takes on the selected colour: a soft glow behind
   it and a tinted frame, fading like the plugin does. --mode is registered as a colour so
   the change animates. */
@property --mode { syntax: "<color>"; inherits: true; initial-value: #E9E5DC; }
.mode-atmos { position: relative; overflow: hidden; transition: --mode 0.35s ease; }
.mode-atmos::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, color-mix(in srgb, var(--mode) 15%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--mode) 5%, transparent), transparent 40%);
}
.mode-atmos > .wrap { position: relative; }
.mode-atmos .mode-stage {
  border-color: color-mix(in srgb, var(--mode) 45%, var(--edge));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 70px color-mix(in srgb, var(--mode) 16%, transparent);
}
.mode-stage img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.35s ease; }
.mode-stage img.is-active { opacity: 1; }
.mode-caption { text-align: center; color: var(--dim); font-size: 14px; margin: -8px 0 26px; min-height: 1.5em; }
.mode-caption b { color: var(--mode, var(--accent)); letter-spacing: 1.5px; transition: color 0.35s ease; }
.mode-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mode-card {
  display: block; text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer;
  background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; padding: 0; overflow: hidden;
  border-color: color-mix(in srgb, var(--mode) 35%, var(--edge));
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.mode-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--mode) 70%, var(--edge)); color: inherit; }
.mode-card[aria-pressed="true"] {
  border-color: var(--mode);
  box-shadow: 0 0 0 1px var(--mode), 0 10px 30px color-mix(in srgb, var(--mode) 18%, transparent);
}
.mode-card img { width: 100%; aspect-ratio: 960 / 570; object-fit: cover; border-bottom: 1px solid var(--edge); }
.mode-card .mc-body { display: block; padding: 12px 14px 14px; }
.mode-card b { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2px; color: var(--mode); margin-bottom: 4px; }
.mode-card b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mode); box-shadow: 0 0 10px var(--mode); }
.mode-card span { display: block; color: var(--text-soft); font-size: 13.5px; line-height: 1.45; }
.mode-cards.three { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
/* Raèld Tune: four screens (Tune Auto/Graph, Key Song/Live). */
.mode-cards.four { grid-template-columns: repeat(4, 1fr); }
/* Raèld Space and Raèld Echo: twelve types. */
.mode-cards.twelve { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mode-cards.twelve .mode-card .mc-body { padding: 10px 12px 12px; }
.mode-cards.twelve .mode-card b { font-size: 12px; letter-spacing: 1.5px; }
.mode-cards.twelve .mode-card span { font-size: 13px; }

/* AUTO BPM */
.bpm-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.bpm-split > * { min-width: 0; }
.bpm-calc { background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; padding: 24px; }
.bpm-calc label { display: flex; align-items: center; gap: 12px; color: var(--text-soft); font-size: 14px; margin-bottom: 16px; }
.bpm-calc input {
  width: 96px; font: 700 22px/1 var(--font); color: var(--heading); text-align: center;
  background: var(--deep); border: 1px solid var(--edge-strong); border-radius: 8px; padding: 8px;
}
.bpm-calc input:focus, .bpm-calc select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.bpm-calc select {
  font: 600 14px/1.2 var(--font); color: var(--heading); background: var(--deep);
  border: 1px solid var(--edge-strong); border-radius: 8px; padding: 9px 10px; max-width: 100%;
}
.bpm-calc .calc-row { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 16px; }
.bpm-calc .calc-row label { margin: 0; min-width: 0; max-width: 100%; }
/* The type list has long option names: let the select shrink and wrap under its label. */
.bpm-calc .calc-row label:has(select) { flex: 1 1 220px; flex-wrap: wrap; }
.bpm-calc .calc-row select { flex: 1 1 180px; min-width: 0; width: 100%; }
.bpm-calc table td:first-child { color: var(--accent-light); }
.bpm-calc .small { margin: 12px 0 0; }

/* Presets */
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: preset; }
.preset {
  background: var(--panel); border: 1px solid var(--edge); border-radius: 8px; padding: 16px 18px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start;
}
.preset::before {
  counter-increment: preset; content: counter(preset, decimal-leading-zero);
  font: 600 13px/1.9 Consolas, monospace; color: var(--accent); grid-row: span 2;
}
.preset b { color: var(--heading); font-weight: 600; }
.preset span { color: var(--dim); font-size: 14px; line-height: 1.5; }
.preset.signature { border-color: color-mix(in srgb, var(--light) 55%, transparent); }
.track-presets { margin-top: 26px; color: var(--dim); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { border: 1px solid var(--edge-strong); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: var(--text); }

/* A/B player */
.ab-list { display: grid; gap: 16px; }
.ab {
  background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
}
.ab-play {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--accent);
  background: var(--accent-dim); color: var(--accent-light); cursor: pointer; display: grid; place-items: center;
}
.ab-play:hover { background: color-mix(in srgb, var(--light) 25%, transparent); }
.ab-play svg { width: 22px; height: 22px; }
.ab-title { font-weight: 600; color: var(--heading); }
.ab-note { font-size: 13px; color: var(--dim); }
.ab-bar { height: 6px; border-radius: 3px; background: var(--edge); margin-top: 12px; cursor: pointer; position: relative; overflow: hidden; }
.ab-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.ab-switch { display: inline-flex; border: 1px solid var(--edge-strong); border-radius: 8px; overflow: hidden; }
.ab-switch button {
  font: 700 12px/1 var(--font); letter-spacing: 1.6px; padding: 12px 16px; cursor: pointer;
  background: var(--panel-2); color: var(--dim); border: 0;
}
.ab-switch button + button { border-left: 1px solid var(--edge-strong); }
.ab-switch button[aria-pressed="true"] { background: var(--deep); color: var(--accent-light); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), inset 0 -2px 0 var(--accent); }
.ab-error { color: var(--warm); font-size: 13px; }

/* Pricing */
.price-card {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--light) 10%, transparent), var(--panel) 45%);
  border: 1px solid color-mix(in srgb, var(--light) 50%, transparent); border-radius: 14px; padding: 42px 34px;
  box-shadow: 0 0 80px color-mix(in srgb, var(--light) 8%, transparent);
}
.price { font-size: 64px; font-weight: 750; color: var(--heading); line-height: 1; margin: 10px 0 4px; letter-spacing: -1px; }
.price-sub { color: var(--dim); margin-bottom: 26px; }
.checklist { list-style: none; padding: 0; margin: 0 auto 30px; text-align: left; max-width: 380px; }
.checklist li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--edge); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.secure { text-align: center; color: var(--dim); font-size: 13px; margin-top: 16px; }
.secure svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 17px; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; font-weight: 300; color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--text-soft); }
.faq .answer ol, .faq .answer ul { padding-left: 22px; margin: 0 0 1em; }
.faq-group { margin-bottom: 44px; }
.faq-group > h2 { font-size: 22px; color: var(--accent-light); margin-bottom: 4px; }

/* ---------- Document pages (manual, legal) ---------- */
.page-head { padding: 64px 0 28px; border-bottom: 1px solid var(--edge); }
.page-head p { color: var(--dim); margin: 0; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 44px; padding-bottom: 96px; }
.doc-layout > * { min-width: 0; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc b { display: block; color: var(--dim); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.toc a { display: block; color: var(--text); text-decoration: none; padding: 5px 0 5px 12px; border-left: 1px solid var(--edge); }
.toc a:hover { color: var(--accent-light); border-left-color: var(--accent); }
.doc { max-width: 780px; }
.doc.single { margin: 0 auto; padding: 44px 0 96px; }
.doc h2 { color: var(--heading); font-size: 26px; border-bottom: 1px solid var(--edge); padding-bottom: 8px; margin: 48px 0 16px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { color: var(--accent); margin: 26px 0 6px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 5px 0; }
.table-scroll { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--edge); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--edge); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--text-soft); font-weight: 650; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; background: var(--plate); white-space: nowrap; }
td:first-child { white-space: nowrap; color: var(--heading); font-weight: 600; }
.note {
  background: var(--panel); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 4px;
  color: var(--text-soft); margin: 18px 0;
}
.updated { color: var(--dim); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--edge); padding: 44px 0 36px; color: var(--dim); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent-light); }
.legal-line { margin-top: 26px; font-size: 13px; }

/* ---------- Store ---------- */
.dim { color: var(--dim); }
.small { font-size: 13px; }

/* Catalog cards */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.pcard {
  background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color 0.15s, transform 0.15s;
}
.pcard:hover { border-color: color-mix(in srgb, var(--light) 50%, transparent); }
.pcard-media { display: block; background: var(--deep); border-bottom: 1px solid var(--edge); aspect-ratio: 960 / 570; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-noimg { display: grid; place-items: center; height: 100%; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--light) 8%, transparent), transparent 60%); }
.pcard-media .pcard-noimg img { width: 64px; height: 64px; opacity: 0.55; }
.pcard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 12px; font-weight: 650; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pcard h3 { font-size: 22px; margin-bottom: 2px; }
.pcard h3 a { color: var(--heading); text-decoration: none; }
.pcard h3 a:hover { color: var(--accent-light); }
.pcard-tag { color: var(--accent-light); font-size: 14px; margin-bottom: 10px; }
.pcard p { color: var(--text-soft); font-size: 15px; }
.pcard-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pcard-price { font-size: 24px; font-weight: 700; color: var(--heading); }
.pcard-aa { font-size: 13px; color: var(--dim); }
.pcard-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pcard-next { border-style: dashed; border-color: var(--edge-strong); background: transparent; }
.pcard-next-mark {
  aspect-ratio: 960 / 570; display: grid; place-items: center; border-bottom: 1px dashed var(--edge-strong);
  font-size: 64px; font-weight: 200; color: color-mix(in srgb, var(--light) 60%, transparent);
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--light) 8%, transparent), transparent 60%);
}

/* Featured product (home) */
.feature-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.feature-split .shot { margin: 0; }
.feature-split ul { padding-left: 0; list-style: none; margin: 18px 0 26px; }
.feature-split li { padding: 6px 0 6px 24px; position: relative; color: var(--text-soft); }
.feature-split li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.price-inline { font-size: 15px; color: var(--dim); margin-top: 14px; }
.price-inline b { color: var(--heading); font-size: 18px; }

/* Own vs subscribe choice */
.choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.option {
  background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; padding: 32px;
  display: flex; flex-direction: column;
}
.option.highlight {
  border-color: color-mix(in srgb, var(--light) 60%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--light) 10%, transparent), var(--panel) 50%);
  box-shadow: 0 0 70px color-mix(in srgb, var(--light) 7%, transparent);
}
.option h3 { font-size: 24px; margin-bottom: 4px; }
.option .kicker { font-size: 12px; font-weight: 650; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.option .big { font-size: 46px; font-weight: 750; color: var(--heading); line-height: 1.05; margin: 12px 0 2px; letter-spacing: -0.5px; }
.option .big small { font-size: 18px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.option .sub { color: var(--dim); font-size: 14px; margin-bottom: 18px; }
.option .checklist { margin: 0 0 26px; max-width: none; }
.option .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-save {
  display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; vertical-align: 4px;
  background: var(--warm); color: var(--btn-text); font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; padding: 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; margin-bottom: 14px;
  border: 1px solid var(--accent); color: var(--accent-light); font-weight: 700; font-size: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--text-soft); font-size: 14px; margin: 0; }

/* Comparison table */
.compare th, .compare td { padding: 14px 18px; }
.compare thead th { font-size: 15px; }
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare td:first-child { white-space: normal; color: var(--text); font-weight: 600; }
.compare td { color: var(--text-soft); }
.compare .yes { color: var(--accent-light); font-weight: 700; }
.compare .col-aa { background: color-mix(in srgb, var(--light) 6%, transparent); }
.compare tfoot td { border-top: 1px solid var(--edge); padding-top: 18px; padding-bottom: 18px; }
.price-list td:first-child a { color: var(--heading); text-decoration: none; }
.price-list td:first-child a:hover { color: var(--accent-light); }

/* Downloads */
.dl-list { border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; background: var(--panel); }
.dl-row + .dl-row { border-top: 1px solid var(--edge); }
.dl-row b a { color: var(--heading); text-decoration: none; font-size: 17px; }
.dl-action { flex-shrink: 0; max-width: 50%; text-align: right; }
.soon-card {
  display: flex; gap: 22px; align-items: center; margin-top: 28px;
  border: 1px dashed var(--edge-strong); border-radius: 12px; padding: 24px;
}
.soon-card .pill { flex-shrink: 0; border: 1px solid var(--accent); color: var(--accent-light); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; }
.soon-card p { margin: 0; color: var(--text-soft); }

.band { padding: 56px 0; text-align: center; }
.band h2 { margin-bottom: 10px; }
.band p { color: var(--dim); margin-bottom: 24px; }

/* Toast (checkout not configured yet) */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  max-width: calc(100% - 32px); width: 520px; z-index: 200;
  background: var(--panel-2); border: 1px solid var(--accent); border-radius: 10px; padding: 14px 18px;
  color: var(--text); font-size: 14px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s, transform 0.2s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Coral "new" badge for fresh features */
.badge-new {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; vertical-align: 3px;
  background: var(--warm-dim); border: 1px solid rgba(255, 179, 71, 0.55); color: var(--warm);
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
}
.preset.new { border-color: rgba(255, 179, 71, 0.4); }
.preset.new::before { color: var(--warm); }

/* Product names with a lowercase "i" (Raèld i2a) keep their case inside
   uppercase labels such as eyebrows. */
.keep-case { text-transform: none; }

[hidden] { display: none !important; }

/* ---------- Machined plates ---------- */
.card, .pcard, .option, .step, .preset, .bpm-calc, .ab, .dl-row, .note, .announce, .toast {
  background-image: var(--plate);
}
.card, .pcard, .option, .step, .preset, .bpm-calc, .ab {
  box-shadow: var(--sheen), 0 12px 30px rgba(0, 0, 0, 0.35);
}
.pcard-next { background: transparent; background-image: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .presets { grid-template-columns: repeat(2, 1fr); }
  .mode-cards { grid-template-columns: repeat(3, 1fr); }
  .mode-cards.twelve { grid-template-columns: repeat(4, 1fr); }
  .mode-cards.four { grid-template-columns: repeat(2, 1fr); }
  .bpm-split { grid-template-columns: 1fr; gap: 28px; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc b { width: 100%; }
  .toc a { border: 1px solid var(--edge); border-radius: 999px; padding: 4px 12px; }
  .feature-split { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--edge); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid var(--edge); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; border-radius: 8px; border-bottom: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .lede { font-size: 17px; }
  .grid-2, .grid-3, .grid-4, .presets { grid-template-columns: 1fr; }
  .shot { margin-top: 36px; border-radius: 8px; }
  .ab { grid-template-columns: auto 1fr; }
  .ab-switch { grid-column: 1 / -1; }
  .ab-switch button { flex: 1; }
  .ab-switch { display: flex; }
  .price { font-size: 54px; }
  .price-card { padding: 34px 20px; }
  .cta-row .btn { width: 100%; }
  td:first-child { white-space: normal; }
  .wordmark { font-size: 19px; }
  .brand img, .brand svg { height: 38px; }
  .eyebrow { font-size: 11.5px; letter-spacing: 1.6px; }
  .catalog { grid-template-columns: 1fr; }
  .choice, .steps { grid-template-columns: 1fr; }
  .option { padding: 26px 20px; }
  .dl-row { flex-direction: column; align-items: flex-start; }
  .dl-action { max-width: none; text-align: left; }
  .soon-card { flex-direction: column; align-items: flex-start; }
  .compare th, .compare td { padding: 12px 10px; }
  .mode-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mode-cards.three { grid-template-columns: 1fr; }
  .mode-cards.twelve { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mode-cards.three .mode-card { display: grid; grid-template-columns: 132px 1fr; align-items: center; }
  .mode-cards.three .mode-card img { height: 100%; border-bottom: 0; border-right: 1px solid var(--edge); }
  .mode-card .mc-body { padding: 10px 12px 12px; }
  .mode-card span { font-size: 13px; }
  .mode-caption { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Tall plugin windows (Raèld Busscomp's Tower, 600 x 960): the hero puts the copy beside the
   window, and the preset shots sit three across. */
.hero .tower-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; text-align: left; }
.tower-split h1, .tower-split .lede { margin-left: 0; margin-right: 0; }
.tower-split .cta-row, .tower-split .badges { justify-content: flex-start; }
.tower-split .badges { gap: 10px 22px; }
.shot.tall {
  margin: 0; max-width: 400px; width: 100%; justify-self: center; border-radius: 18px;
  border-color: #4A2A26;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(24, 25, 28, 0.8), 0 0 0 7px #2B2C30, 0 0 140px rgba(150, 40, 32, 0.18);
}
.shot.tall img, .towers img { width: 100%; height: auto; aspect-ratio: 600 / 960; display: block; }
.towers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 980px; margin: 0 auto; }
.towers figure { margin: 0; }
.towers .frame { border-radius: 14px; overflow: hidden; border: 1px solid #3D2A28; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.towers figcaption { margin-top: 14px; color: var(--text-soft); font-size: 14.5px; line-height: 1.5; }
.towers figcaption b { display: block; color: var(--heading); font-size: 15px; letter-spacing: 0.3px; margin-bottom: 2px; }
@media (max-width: 960px) {
  .hero .tower-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .tower-split h1, .tower-split .lede { margin-left: auto; margin-right: auto; }
  .tower-split .cta-row, .tower-split .badges { justify-content: center; }
  .shot.tall { max-width: 360px; }
}
@media (max-width: 700px) {
  .towers { grid-template-columns: 1fr; max-width: 340px; gap: 34px; }
}

/* Rack faceplates (Raèld I76 1300 x 240, Raèld i2a 1200 x 331): wide, short windows shown wider
   than the 960 x 570 shots, with a soft gold glow for their gold trim. --ratio is set inline. */
.shot.rack {
  max-width: 1200px; border-radius: 6px; border-color: #4A4334;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(24, 25, 28, 0.8), 0 0 0 7px #2B2C30, 0 0 120px rgba(217, 180, 104, 0.10);
}
.shot.rack img { width: 100%; height: auto; aspect-ratio: var(--ratio); }
.mode-stage.rack { max-width: 1200px; aspect-ratio: var(--ratio); border-radius: 6px; }
.mode-cards.racks .mode-card img { aspect-ratio: var(--ratio); object-fit: cover; }
@media (max-width: 640px) {
  /* On phones the model cards keep the faceplate strip on top, full width, instead of a side crop. */
  .mode-cards.three.racks .mode-card { display: block; }
  .mode-cards.three.racks .mode-card img { height: auto; border-right: 0; border-bottom: 1px solid var(--edge); }
}

/* ---------- The premium layer (2026-11-03) ----------
   Editorial serif headlines (Cormorant Garamond), Manrope text, small spaced labels, a glass
   header, pill buttons in ivory and outline, quieter cards and more air. It sits last so it
   wins over the earlier rules without touching each page. */
:root {
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", Consolas, "SFMono-Regular", monospace;
  --wrap: 1200px;
  --card: linear-gradient(180deg, #16171A 0%, #111215 100%);
  --line: rgba(233, 229, 220, 0.08);
}
body { font: 16.5px/1.72 var(--font); letter-spacing: 0.1px; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.3px; }
h1 { font-size: clamp(46px, 7.2vw, 96px); line-height: 0.98; }
h1 em, .hero h1 em { font-style: italic; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
h3 { font-weight: 600; letter-spacing: 0.1px; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: 3px; color: var(--nickel); margin-bottom: 18px; }
.lede { font-size: 19px; line-height: 1.65; color: var(--text-soft); }
section { padding: 120px 0; }
.section-head { margin-bottom: 56px; }
.section-head p { font-size: 17.5px; }
.section-alt { background: linear-gradient(180deg, #0B0C0E 0%, var(--bg) 100%); border-color: var(--line); }

/* Header: a slim pane of smoked glass */
.site-header { background: rgba(10, 11, 13, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.site-header::after { opacity: 0.35; }
.site-header .wrap { height: 76px; }
.nav { gap: 6px; }
.nav a { font: 600 12px/1 var(--font); letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-soft); padding: 10px 12px; }
.nav a:hover { background: none; color: var(--heading); }
.nav a[aria-current="page"] { color: var(--heading); }
.nav .btn { margin-left: 14px; }

/* Buttons: ivory pills and fine outlines */
.btn { border-radius: 999px; font: 600 14px/1.15 var(--font); letter-spacing: 0.5px; padding: 15px 28px; }
.btn-primary { background: var(--heading); color: #111214; border: 1px solid var(--heading); text-shadow: none;
  box-shadow: 0 12px 34px -12px color-mix(in srgb, var(--light) 60%, transparent); }
.btn-primary::after { display: none; }
.btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: #0D0E10; box-shadow: 0 16px 44px -12px color-mix(in srgb, var(--light) 75%, transparent); }
.btn-ghost { background: transparent; color: var(--heading); border: 1px solid rgba(233, 229, 220, 0.28); box-shadow: none; }
.btn-ghost:hover { background: rgba(233, 229, 220, 0.06); color: #FFFFFF; border-color: rgba(233, 229, 220, 0.7); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-lg { padding: 17px 32px; font-size: 15px; }
.nav .btn { padding: 10px 18px; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: #111214; }

/* Cards: quieter metal */
.card, .pcard, .option, .step, .preset, .bpm-calc, .ab, .dl-row, .note { background-image: var(--card); border-color: var(--line); }
.card, .pcard, .option, .step, .preset, .bpm-calc, .ab { box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8); border-radius: 16px; }
.pcard h3 { font: 600 30px/1.1 var(--serif); }
.pcard-cat { font: 500 11px var(--mono); letter-spacing: 2.4px; }
.announce { border-color: var(--line); }
.page-head { padding: 96px 0 40px; border-color: var(--line); }
.site-footer { padding: 72px 0 48px; border-color: var(--line); background: #0A0B0D; }
.footer-links a { font-size: 14px; }

/* The story opens the home page */
.story-hero { position: relative; overflow: hidden; padding: 110px 0 120px; border-bottom: 1px solid var(--line);
  background: radial-gradient(70% 80% at 78% 40%, color-mix(in srgb, var(--light) 12%, transparent), transparent 70%), radial-gradient(60% 60% at 10% 0%, rgba(233, 229, 220, 0.05), transparent 70%), var(--bg); }
.story-hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.story-hero h1 { margin: 0 0 24px; max-width: 11ch; }
.story-hero .lede { margin: 0 0 34px; max-width: 46ch; font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--text); }
.story-hero .cta-row { justify-content: flex-start; }
.story-hero .byline { display: flex; align-items: center; gap: 12px; margin-top: 30px; font: 12px var(--mono); letter-spacing: 1.5px; color: var(--dim); text-transform: uppercase; }
.story-hero .byline img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.story-stack { position: relative; aspect-ratio: 1 / 0.82; perspective: 1400px; }
.story-stack figure { position: absolute; margin: 0; width: 78%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6); transition: transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.story-stack figure img { width: 100%; aspect-ratio: 960 / 570; object-fit: cover; }
.story-stack .s1 { left: 0; top: 0; transform: rotateY(14deg) rotateX(4deg) translateZ(-80px); opacity: 0.75; }
.story-stack .s2 { right: 0; top: 18%; transform: rotateY(-10deg) rotateX(3deg) translateZ(-40px); opacity: 0.85; }
.story-stack .s3 { left: 9%; bottom: 0; transform: rotateY(4deg) translateZ(40px); box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.95), 0 0 80px -20px color-mix(in srgb, var(--light) 45%, transparent); }
.story-hero:hover .story-stack .s1 { transform: rotateY(10deg) rotateX(3deg) translateZ(-60px) translateX(-10px); }
.story-hero:hover .story-stack .s2 { transform: rotateY(-7deg) rotateX(2deg) translateZ(-30px) translateX(10px); }

/* The numbers band */
.numbers { padding: 0; border-bottom: 1px solid var(--line); background: #0A0B0D; }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers div { padding: 44px 28px 40px; border-right: 1px solid var(--line); }
.numbers div:first-child { padding-left: 0; }
.numbers div:last-child { border-right: 0; }
.numbers b { display: block; font: 600 clamp(40px, 4.4vw, 60px)/1 var(--serif); color: var(--heading); margin-bottom: 12px; }
.numbers span { display: block; font-size: 14px; line-height: 1.5; color: var(--dim); max-width: 26ch; }

/* The store's own opening, now second */
.hero .hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; max-width: 820px; margin: 0 auto 18px;
  background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .hero-title em { font-style: italic; -webkit-text-fill-color: var(--accent-light); }

@media (max-width: 960px) {
  .story-hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .story-stack { max-width: 640px; }
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
  .numbers div:nth-child(2) { border-right: 0; }
  .numbers div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .numbers div:nth-child(3) { padding-left: 0; }
}
@media (max-width: 600px) {
  section { padding: 80px 0; }
  .story-hero { padding: 72px 0 80px; }
  .story-hero .lede { font-size: 20px; }
  .numbers div { padding: 30px 14px 28px; }
  .site-header .wrap { height: 68px; }
}
@media (prefers-reduced-motion: reduce) { .story-stack figure { transition: none; } }
