:root {
  color-scheme: dark;
  --bg: #07162f;
  --bg-deep: #020712;
  --ink: #f2fff9;
  --muted: rgba(242, 255, 249, 0.62);
  --faint: rgba(242, 255, 249, 0.34);
  --line: rgba(237, 255, 248, 0.16);
  --mint: #caffec;
  --mint-strong: #8cffd4;
  --violet: #a057ff;
  --pink: #ff5fc8;
  --panel: rgba(20, 9, 31, 0.72);
  --radius: 28px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { background: var(--bg-deep); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: transparent;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--mint-strong);
  outline-offset: 3px;
}
img { max-width: 100%; }
svg { display: block; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-160%); background: var(--ink); color: #111; padding: 10px 14px; border-radius: 999px; }
.skip-link:focus { transform: none; }

/* Night-sky motion is intentionally lightweight: a single canvas for the stars plus
   composited CSS haze. The particle movement mirrors the slow rotating field used by
   the Anderson Mancini reference, translated into a dependency-free 2D renderer. */
.night-sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background:
  radial-gradient(ellipse at 24% 8%, rgba(62,113,220,.22), transparent 34%),
  radial-gradient(ellipse at 78% 12%, rgba(24,64,142,.18), transparent 35%),
  linear-gradient(180deg, #081a3a 0%, #06142f 38%, #050d20 72%, #020711 100%); }
#nightSkyCanvas { position:absolute; inset:0; width:100%; height:100%; opacity:.92; }
.sky-haze { position:absolute; left:-18vw; width:136vw; height:42vh; border-radius:50%; filter:blur(58px); will-change:transform; mix-blend-mode:screen; }
.sky-haze-a { top:-13vh; background:linear-gradient(90deg, transparent 5%, rgba(63,106,230,.12) 24%, rgba(87,125,255,.2) 43%, rgba(26,78,189,.08) 70%, transparent 92%); transform:rotate(-4deg); animation:skySweepA 22s ease-in-out infinite alternate; }
.sky-haze-b { top:16vh; height:24vh; background:linear-gradient(90deg, transparent 8%, rgba(47,91,205,.05) 25%, rgba(110,146,255,.11) 48%, rgba(20,69,166,.08) 74%, transparent 94%); transform:rotate(3deg); animation:skySweepB 30s ease-in-out infinite alternate; }
.sky-vignette { position:absolute; inset:0; background:radial-gradient(ellipse at 50% 38%, transparent 36%, rgba(1,5,15,.12) 68%, rgba(1,4,12,.54) 100%); }
@keyframes skySweepA { from { transform:translate3d(-1.8vw,-.7vh,0) rotate(-4deg) scale(1.01); } to { transform:translate3d(3.2vw,2.1vh,0) rotate(-2.5deg) scale(1.07); } }
@keyframes skySweepB { from { transform:translate3d(2vw,1vh,0) rotate(3deg) scale(1.04); } to { transform:translate3d(-3vw,-1.4vh,0) rotate(1deg) scale(1.09); } }
.ambient { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; background: transparent; }
.ambient::after { content: ""; position:absolute; inset:0; opacity:.07; background-image:radial-gradient(rgba(184,216,255,.7) .55px, transparent .7px); background-size:5px 5px; mix-blend-mode:soft-light; }
.ambient span { position:absolute; border-radius:50%; filter:blur(34px); opacity:.2; animation:drift 15s var(--ease) infinite alternate; }
.ambient span:nth-child(1) { width:280px; height:280px; left:-90px; top:22%; background:rgba(40,96,210,.22); }
.ambient span:nth-child(2) { width:230px; height:230px; right:7%; top:7%; background:rgba(77,142,255,.16); animation-delay:-5s; }
.ambient span:nth-child(3) { width:180px; height:180px; right:25%; bottom:6%; background:rgba(42,91,190,.12); animation-delay:-9s; }
@keyframes drift { to { transform:translate3d(28px,-24px,0) scale(1.1); } }

.pointer-glow { position: fixed; width: 380px; height: 380px; border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; z-index: 2; opacity: 0; background: radial-gradient(circle, rgba(206,255,239,.12), rgba(167,80,255,.06) 35%, transparent 70%); transition: opacity .25s ease; will-change: transform; }
@media (pointer: fine) { body:hover .pointer-glow { opacity: 1; } }

.topbar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: calc(72px + var(--safe-top)); padding: calc(14px + var(--safe-top)) clamp(18px,4vw,56px) 10px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.brand, .topbar-actions { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 850; letter-spacing: .07em; font-size: .82rem; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }

.ghost-pill, .primary-pill, .round-action, .icon-button, .roll-button, .preset-chip { border: 1px solid var(--line); cursor: pointer; transition: transform .22s var(--ease), background .22s ease, border-color .22s ease, box-shadow .22s ease; }
.ghost-pill { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; background: rgba(16,8,24,.46); backdrop-filter: blur(18px); color: var(--ink); }
.pulse-dot, .status-light { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-strong); box-shadow: 0 0 14px rgba(140,255,212,.9); display: inline-block; }
.icon-button { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: rgba(16,8,24,.46); backdrop-filter: blur(18px); display: grid; place-items: center; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.icon-button:hover, .ghost-pill:hover, .primary-pill:hover, .round-action:hover, .preset-chip:hover { transform: translateY(-2px); border-color: rgba(233,255,247,.35); }
.icon-button:active, .ghost-pill:active, .primary-pill:active, .round-action:active, .preset-chip:active, .roll-button:active { transform: scale(.97); }

.workspace { position: relative; z-index: 3; }
.snap-section { min-height: 100svh; position: relative; }
.hero { display: grid; grid-template-columns: minmax(270px,.72fr) minmax(0,1.5fr); align-items: center; gap: clamp(22px,4vw,70px); padding: clamp(96px,11vh,132px) clamp(24px,8vw,150px) 70px; overflow: hidden; }
.hero-copy { position: relative; z-index: 3; max-width: 550px; }
.eyebrow { margin: 0 0 18px; color: rgba(228,255,246,.62); font-size: clamp(.62rem,.75vw,.78rem); line-height: 1; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }
.hero h1, .control-heading h2, .results-heading h2 { margin: 0; font-family: "Arial Narrow", "Roboto Condensed", Impact, ui-sans-serif, sans-serif; font-weight: 800; font-stretch: condensed; letter-spacing: -.055em; line-height: .78; text-transform: uppercase; }
.hero h1 { font-size: clamp(5.2rem,9.5vw,11.5rem); text-shadow: 0 0 34px rgba(206,255,243,.11); }
.hero h1 span { color: var(--mint); }
.lede { margin: 30px 0 0; max-width: 39ch; color: var(--muted); font-size: clamp(.94rem,1.1vw,1.14rem); line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; align-items: center; }
.primary-pill { min-height: 50px; border-radius: 999px; padding: 0 23px; background: var(--ink); color: #141017; border-color: transparent; font-weight: 780; box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.round-action { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.round-action svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.visual-stage { position: relative; align-self: stretch; min-height: min(72vh,780px); display: grid; place-items: center; cursor: pointer; user-select: none; }
.stage-frame { position: relative; width: min(100%,980px); aspect-ratio: 1.47/1; border-radius: clamp(24px,3vw,44px); overflow: hidden; background: linear-gradient(140deg,rgba(255,255,255,.095),rgba(255,255,255,.025)); border: 1px solid rgba(240,255,250,.17); box-shadow: 0 40px 100px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.13); transform: rotate(2deg); transition: transform .45s var(--ease), border-color .3s ease; backdrop-filter: blur(10px); }
.visual-stage:hover .stage-frame { transform: rotate(.5deg) translateY(-3px); border-color: rgba(202,255,236,.35); }
.visual-stage.is-dragging .stage-frame { border-color: var(--mint-strong); box-shadow: 0 0 0 4px rgba(140,255,212,.1), 0 40px 100px rgba(0,0,0,.42); transform: rotate(0) scale(.99); }
.source-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; }
.hero-vector { width: 96%; filter: drop-shadow(0 30px 44px rgba(0,0,0,.4)); }
.empty-caption { position: absolute; left: 28px; bottom: 26px; display: flex; flex-direction: column; gap: 4px; padding: 12px 15px; border-radius: 14px; background: rgba(8,5,13,.48); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); }
.empty-caption strong { font-size: .86rem; }
.empty-caption span { font-size: .7rem; color: var(--muted); }
.source-preview { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; background: rgba(7,5,11,.72); }
.stage-grid { position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); }
.scanline { position: absolute; inset: 0; pointer-events: none; opacity: .12; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.12) 4px); mix-blend-mode: overlay; }
.stage-meta { position: absolute; bottom: 1.5%; left: 6%; right: 6%; display: flex; justify-content: space-between; gap: 20px; color: rgba(240,255,250,.47); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.stage-meta span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.stage-meta b { color: rgba(240,255,250,.8); }
.scroll-cue { position: absolute; right: clamp(17px,3vw,48px); top: 50%; display: grid; gap: 5px; transform: translateY(-50%); }
.scroll-cue span { width: 14px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.22); }
.scroll-cue span:first-child { width: 24px; background: rgba(255,255,255,.85); }

.control-deck { display: grid; grid-template-columns: minmax(270px,.72fr) minmax(0,1.4fr); align-items: center; gap: clamp(28px,6vw,110px); padding: 96px clamp(24px,8vw,150px); background: linear-gradient(180deg, transparent, rgba(1,10,28,.18) 30%, rgba(1,7,20,.42)); }
.control-heading h2, .results-heading h2 { font-size: clamp(4.8rem,8vw,10rem); }
.control-heading > p:last-child { max-width: 35ch; color: var(--muted); line-height: 1.6; }
.glass-panel { border-radius: var(--radius); background: linear-gradient(145deg,rgba(30,12,45,.85),rgba(12,8,18,.78)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.35); backdrop-filter: blur(28px); }
.control-panel { padding: clamp(18px,3vw,34px); }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.preset-chip { min-height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.035); color: var(--muted); font-size: .8rem; }
.preset-chip.is-active { background: var(--ink); color: #161018; border-color: transparent; }
.field-group label, .select-field, .advanced-block label { display: block; color: rgba(242,255,249,.82); font-size: .77rem; font-weight: 700; letter-spacing: .045em; }
.field-footer { margin-top: 8px; display: flex; justify-content: space-between; gap: 14px; color: var(--faint); font-size: .69rem; }
.tuning-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.select-field select { width: 100%; min-height: 46px; margin-top: 8px; padding: 0 38px 0 13px; border-radius: 14px; border: 1px solid rgba(255,255,255,.13); color: var(--ink); background: rgba(255,255,255,.045); }
.advanced-block { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.advanced-block summary { color: var(--muted); cursor: pointer; font-size: .82rem; }
.advanced-block label { margin-top: 14px; }
.advanced-block label span { color: var(--faint); font-weight: 400; }
.advanced-block textarea { min-height: 90px; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .78rem; }
.roll-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.roll-strip > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.roll-label { color: var(--faint); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; }
#arenaSummary { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(48vw,440px); }
.roll-button { min-width: 132px; height: 58px; border-radius: 999px; border-color: transparent; background: var(--ink); color: #130c17; display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-weight: 900; letter-spacing: .08em; box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.roll-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.roll-button:hover svg { transform: rotate(90deg); }
.roll-button[disabled] { opacity: .5; cursor: not-allowed; }

.results-section { padding: 96px clamp(20px,5vw,90px) 100px; background: linear-gradient(180deg,rgba(1,9,26,.18),rgba(2,7,18,.9)); }
.results-heading { display: grid; grid-template-columns: 1fr 1.2fr; align-items: end; gap: 30px; margin-bottom: 30px; }
.results-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.results-heading p:last-child { color: var(--muted); max-width: 48ch; justify-self: end; }
.results-rail { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: 18px; }
.result-card { position: relative; min-height: 460px; overflow: hidden; border-radius: 26px; background: rgba(10,7,14,.72); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.result-image-wrap { position: relative; aspect-ratio: 1/1; background: radial-gradient(circle at 50% 30%,rgba(154,74,255,.18),transparent 50%),#0b0810; display: grid; place-items: center; overflow: hidden; }
.result-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.result-card.is-loading .result-image-wrap::before { content:""; width: 46%; aspect-ratio:1; border-radius:50%; border: 1px solid rgba(255,255,255,.17); box-shadow: 0 0 80px rgba(142,255,215,.14); animation: breathe 1.8s ease-in-out infinite; }
.result-card.is-loading .result-image-wrap::after { content:""; position:absolute; width: 72%; height:1px; background: linear-gradient(90deg,transparent,var(--mint),transparent); animation: scan 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.82); opacity:.45; } }
@keyframes scan { 0%,100% { transform: translateY(-120px); opacity:0; } 50% { transform: translateY(120px); opacity:.8; } }
.result-body { padding: 16px 17px 18px; }
.result-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--faint); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.result-title { margin: 7px 0 0; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-error { margin: 12px 0 0; color: #ffc5d7; font-size: .8rem; line-height: 1.45; }
.result-actions { display:flex; gap:8px; margin-top:14px; }
.result-actions button, .result-actions a { flex:1; min-height:40px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.04); color:var(--ink); display:grid; place-items:center; text-decoration:none; font-size:.75rem; cursor:pointer; }

.mobile-bar { display: none; }

.sheet-dialog { width: min(720px,calc(100vw - 28px)); max-height: min(820px,calc(100svh - 28px)); border: 1px solid rgba(255,255,255,.16); border-radius: 28px; padding: 0; color: var(--ink); background: rgba(14,8,21,.93); backdrop-filter: blur(28px); box-shadow: 0 40px 120px rgba(0,0,0,.65); }
.sheet-dialog::backdrop { background: rgba(4,2,8,.72); backdrop-filter: blur(9px); }
.dialog-shell { display: flex; flex-direction: column; max-height: inherit; padding: 22px; }
.dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.dialog-head .eyebrow { margin-bottom: 8px; }
.dialog-head h3 { margin:0; font-size:2rem; letter-spacing:-.04em; }
.dialog-close { font-size:1.45rem; line-height:1; }
.dialog-tools { display:flex; gap:10px; margin-top:20px; }
.search-box { flex:1; }
.search-box input { min-height:42px; margin:0; padding-top:0; padding-bottom:0; }
.dialog-status { color:var(--muted); font-size:.78rem; margin:14px 2px; }
.dialog-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; border-top:1px solid var(--line); margin-top:18px; padding-top:18px; color:var(--muted); font-size:.76rem; }
.toast-region { position:fixed; z-index:200; left:50%; bottom:24px; transform:translateX(-50%); display:grid; gap:8px; width:min(92vw,480px); pointer-events:none; }
.toast { padding:13px 16px; border-radius:14px; background:rgba(11,8,15,.93); border:1px solid rgba(255,255,255,.17); box-shadow:0 16px 40px rgba(0,0,0,.4); color:var(--ink); font-size:.82rem; animation:toastIn .25s var(--ease); }
.toast.error { border-color:rgba(255,102,154,.4); }
@keyframes toastIn { from { opacity:0; transform:translateY(8px) scale(.98); } }

@media (max-width: 900px) {
  .topbar { height: calc(62px + var(--safe-top)); padding: calc(10px + var(--safe-top)) 16px 8px; }
  .topbar-actions .icon-button { display:none; }
  .hero { min-height: 100svh; display:block; padding:0; }
  .visual-stage { position:absolute; inset:0; min-height:100%; align-items:stretch; }
  .stage-frame { width:100%; height:100%; aspect-ratio:auto; border-radius:0; border:0; transform:none!important; background:#12071f; }
  .hero-vector { width:135%; max-width:none; opacity:.9; transform:translateX(-6%); }
  .source-empty { padding:0; overflow:hidden; background:radial-gradient(circle at 48% 46%,rgba(119,255,216,.08),transparent 45%); }
  .empty-caption { left:18px; right:18px; bottom:calc(106px + var(--safe-bottom)); }
  .source-preview { object-fit:contain; filter:saturate(.92) contrast(1.02); background:rgba(7,4,12,.72); }
  .stage-frame::after { content:""; position:absolute; inset:0; background:linear-gradient(to bottom,rgba(7,3,12,.22) 0%,rgba(8,4,14,.1) 35%,rgba(8,4,14,.52) 72%,rgba(8,4,14,.94) 100%); pointer-events:none; }
  .stage-grid,.scanline { z-index:1; }
  .hero-copy { position:absolute; z-index:4; left:22px; right:56px; bottom:calc(132px + var(--safe-bottom)); max-width:430px; }
  .hero .eyebrow { display:none; }
  .hero h1 { font-size:clamp(4.8rem,22vw,7.8rem); line-height:.75; text-shadow:0 5px 28px rgba(0,0,0,.4); }
  .lede { margin-top:20px; font-size:.88rem; max-width:32ch; color:rgba(242,255,249,.72); }
  .desktop-actions { display:none; }
  .stage-meta { z-index:4; left:22px; right:22px; bottom:calc(80px + var(--safe-bottom)); }
  .scroll-cue { z-index:5; right:14px; }

  .control-deck { display:block; padding:88px 18px 108px; }
  .control-heading h2, .results-heading h2 { font-size:clamp(4.2rem,20vw,7rem); }
  .control-heading > p:last-child { margin-bottom:28px; }
  .control-panel { padding:18px; border-radius:24px; }
  .tuning-grid { grid-template-columns:1fr; }
  #arenaSummary { max-width:48vw; }
  .roll-button { min-width:112px; }

  .results-section { padding:86px 16px 116px; }
  .results-heading { display:block; }
  .results-heading p:last-child { margin:18px 0 28px; }
  .results-rail { grid-template-columns:1fr; }
  .result-card { min-height:0; }

  .mobile-bar { position:fixed; z-index:60; left:10px; right:10px; bottom:calc(9px + var(--safe-bottom)); height:68px; padding:7px 11px; display:grid; grid-template-columns:repeat(3,1fr); align-items:end; background:rgba(15,8,22,.84); backdrop-filter:blur(24px); border:1px solid rgba(255,255,255,.13); border-radius:22px; box-shadow:0 18px 60px rgba(0,0,0,.45); }
  .mobile-bar button { min-width:0; height:52px; border:0; background:transparent; color:var(--muted); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; font-size:.62rem; cursor:pointer; }
  .mobile-bar svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.6; }
  .mobile-bar .mobile-roll { width:58px; height:58px; justify-self:center; align-self:center; transform:translateY(-13px); border-radius:50%; background:var(--ink); color:#120b17; box-shadow:0 10px 30px rgba(0,0,0,.35); }
  .mobile-bar .mobile-roll svg { width:26px; }

  .sheet-dialog { width:100%; max-width:none; max-height:88svh; margin:auto 0 0; border-radius:28px 28px 0 0; border-bottom:0; }
  .sheet-dialog[open] { animation:sheetUp .28s var(--ease); }
  @keyframes sheetUp { from { transform:translateY(30px); opacity:.6; } }
  .dialog-shell { padding:20px 18px calc(20px + var(--safe-bottom)); }
  .toast-region { bottom:calc(90px + var(--safe-bottom)); }
}

@media (max-width: 520px) {
  .brand span { font-size:.72rem; }
  .ghost-pill { min-height:38px; padding:0 12px; font-size:.72rem; }
  .hero h1 { font-size:clamp(4.1rem,21vw,6.2rem); }
  .lede { max-width:30ch; }
  .preset-row { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin-right:-18px; padding-right:18px; }
  .preset-row::-webkit-scrollbar { display:none; }
  .preset-chip { flex:0 0 auto; }
  .roll-strip { gap:12px; }
  .roll-button { min-width:104px; height:54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; }
  .pointer-glow { display:none; }
  .sky-haze { animation:none!important; }
}


/* Smoke-test production surface: brand text only, no technical controls. */
.brand-text-only { font-size: .9rem; letter-spacing: .11em; }
.tuning-grid-simple { grid-template-columns: minmax(220px, 420px); }
@media (max-width: 900px) { .tuning-grid-simple { grid-template-columns: 1fr; } }
