/* Shelf family v2: Replay Games & More. Mobile first: base styles are the phone layout, then
   min-width 641 / 961 / 1201 (declared as data-breakpoints="640,960,1200").
   Palette: midnight ink from the logo blue, cool paper, logo yellow as the one accent (stars share it).
   The cover-art blue appears only behind the mascots in the repairs band. */
:root {
  --ink: #0b1432; --ink-2: #121f4a; --ink-3: #1a2a5e; --ink-deep: #060b1e;
  --paper: #f3f4f8; --card: #ffffff;
  --text: #0f1633; --text-2: #4a5170; --muted: #8990ad;
  --on-ink: #eef1fb; --on-ink-2: #aab3d6;
  --accent: #ffe03a; --accent-deep: #f2c800;
  --art-blue: #1a9df1; --phosphor: #7dff9b;
  --line: rgba(15,22,51,.12); --line-ink: rgba(238,241,251,.12);
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --pixel: 'Silkscreen', ui-monospace, monospace;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
  --nav-h: 68px; --r: 18px; --r2: 12px;
  --ease: cubic-bezier(.22,.8,.2,1); --ease-out: cubic-bezier(.16,1,.3,1);
  color-scheme: dark; interpolate-size: allow-keywords;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html, body { margin: 0; width: 100%; overflow-x: clip; }
body { background: var(--ink); color: var(--on-ink); font: 16px/1.6 var(--sans); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
a { color: inherit; text-decoration: none; }
a, button, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ol, blockquote, fieldset, table { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 9vw, 4rem); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }
mark { background: none; color: var(--accent); }
.paper mark { color: var(--text); background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); padding: 0 .06em; }

.wrap { width: calc(100% - 40px); max-width: 1320px; margin-inline: auto; }
.section { padding-block: 72px; }
.paper { background: var(--paper); color: var(--text); color-scheme: light; }
.dark { background: var(--ink); }
.lede { font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 46ch; }
.dark .lede { color: var(--on-ink-2); }
.tag { display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1 var(--pixel); letter-spacing: .06em; text-transform: uppercase; color: var(--text); background: var(--card); border: 1px solid var(--line); padding: 8px 12px 8px 10px; border-radius: 6px; margin-bottom: 20px; }
.tag:before { content: ''; width: 7px; height: 7px; background: var(--text); }
.tag-dark { color: var(--on-ink); background: var(--ink-2); border-color: var(--line-ink); }
.tag-dark:before { background: var(--accent); }
.tag-blue { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.tag-blue:before { background: #fff; }
.stars { color: var(--accent); letter-spacing: .08em; }
.paper .stars { color: #e3ad00; }

.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--accent); color: var(--ink); padding: 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ribbon { position: relative; z-index: 50; text-align: center; font-size: 10.5px; line-height: 1.5; padding: 8px 14px; background: var(--ink-deep); color: var(--on-ink-2); }
.ribbon a { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); }
.nav:before { content: ''; position: absolute; inset: 0; background: rgba(11,20,50,.9); border-bottom: 1px solid var(--line-ink); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
@supports (animation-timeline: scroll()) {
  .nav:before { opacity: 0; animation: fade-in linear both; animation-timeline: scroll(root); animation-range: 10px 200px; }
  .nav.is-open:before { opacity: 1; animation: none; }
}
@keyframes fade-in { to { opacity: 1; } }
.nav-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 6px 18px -6px rgba(0,0,0,.6); }
.brand strong { display: block; font: 800 1.1rem/1 var(--display); font-style: italic; }
.brand small { display: block; white-space: nowrap; font: 400 9.5px/1 var(--pixel); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }
.nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 6px 20px 18px; background: var(--ink); border-bottom: 1px solid var(--line-ink); }
.nav-links.is-open { display: flex; animation: drop .35s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.nav-links a { padding: 14px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line-ink); }
.nav-links-cta { color: var(--accent); }
.status-nav, .nav-phone { display: none; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: rgba(255,255,255,.08); border: 0; border-radius: 12px; color: var(--on-ink); cursor: pointer; }
.menu-toggle span { grid-area: 1 / 1; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.nav-phone { align-items: center; padding: 11px 18px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .25s var(--ease), background .2s; }
.nav-phone:hover { background: #fff; transform: translateY(-1px); }

/* ---------- Live open sign ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; font: 400 11px/1.35 var(--pixel); letter-spacing: .04em; text-transform: uppercase; }
.status i { width: 9px; height: 9px; flex-shrink: 0; background: var(--on-ink-2); }
.status[data-state="open"] i { background: #3ee07a; box-shadow: 0 0 12px rgba(62,224,122,.9); animation: led 2s ease-in-out infinite; }
.status[data-state="break"] i { background: var(--accent); box-shadow: 0 0 12px rgba(255,224,58,.8); }
.status[data-state="closed"] i { background: #ff6b6b; box-shadow: 0 0 10px rgba(255,107,107,.7); }
@keyframes led { 50% { opacity: .45; } }
.status-nav { color: var(--on-ink-2); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-ink); }
.nav .status-nav { display: none; }
.status-hero { color: var(--on-ink); padding: 10px 14px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--line-ink); margin-bottom: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: calc(-1 * var(--nav-h)); padding-top: calc(var(--nav-h) + 28px); overflow: clip; background:
  radial-gradient(600px 420px at 85% 70%, rgba(26,157,241,.24), transparent 60%),
  radial-gradient(500px 360px at 0% 100%, rgba(255,224,58,.07), transparent 60%), var(--ink); }
.hero:after, .final:after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 3px); }
.hero-grid { position: relative; z-index: 1; display: grid; }
.hero-copy { padding-bottom: 36px; }
.hero h1 { font-size: clamp(2.7rem, 12.6vw, 6.4rem); font-weight: 800; line-height: .95; letter-spacing: -.035em; }
.hero h1 em { font-style: italic; color: var(--accent); display: inline-block; }
.hero-sub { font-size: 17px; line-height: 1.6; color: var(--on-ink-2); max-width: 38ch; margin-top: 22px; }
.hero-actions { display: grid; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .2s; box-shadow: 0 6px 0 0 var(--accent-deep), 0 14px 30px -12px rgba(255,224,58,.5); }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 0 var(--accent-deep), 0 18px 34px -12px rgba(255,224,58,.6); }
.button:active { transform: translateY(5px); box-shadow: 0 1px 0 0 var(--accent-deep), 0 6px 16px -8px rgba(255,224,58,.5); transition-duration: .08s; }
.button .arrow { transition: transform .35s var(--ease-out); }
.button:hover .arrow { transform: translateX(4px); }
.button-ghost { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1.5px rgba(238,241,251,.35); }
.button-ghost:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px var(--on-ink); }
.button-ghost:active { transform: translateY(1px); box-shadow: inset 0 0 0 1.5px var(--on-ink); }
.button-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 0 0 var(--ink-deep), 0 14px 30px -12px rgba(0,0,0,.5); }
.button-ink:hover { box-shadow: 0 8px 0 0 var(--ink-deep), 0 18px 34px -12px rgba(0,0,0,.5); }
.button-ink:active { box-shadow: 0 1px 0 0 var(--ink-deep); }
.hero-proof { display: grid; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-ink); font-size: 13.5px; color: var(--on-ink-2); }
.hero-proof a { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof strong { color: var(--on-ink); font-size: 16px; transition: color .2s; }
.hero-proof a:hover strong { color: var(--accent); }

/* Conveyor wall: never pauses. Tiles are CSS backgrounds so every photo stays a one-off asset. */
.wall { position: relative; height: 340px; margin-inline: -20px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.wall-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 170%; margin-top: -30%; transform: rotate(-5deg) scale(1.08); }
.wall-col { overflow: hidden; }
.wall-track { display: grid; gap: 10px; animation: conveyor 60s linear infinite; will-change: transform; }
.wall-col:nth-child(2) .wall-track { animation-direction: reverse; animation-duration: 70s; }
.wall-col:nth-child(3) .wall-track { animation-duration: 52s; }
.wall-track span { display: block; aspect-ratio: 3 / 4; border-radius: 14px; background: var(--ink-2) var(--img) center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 40px -18px rgba(0,0,0,.8); }
@keyframes conveyor { to { transform: translateY(calc(-50% - 5px)); } }

.rise { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(.15s + var(--d, 0) * 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.cascade.is-split .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(10px); animation: wordIn .9s var(--ease-out) forwards; animation-delay: calc(.2s + var(--w) * 100ms); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
.cascade.is-split em .w { animation: wordPop .95s var(--ease-out) forwards; animation-delay: calc(.2s + var(--w) * 100ms); }
@keyframes wordPop { 0% { opacity: 0; transform: translateY(.5em) scale(.8); filter: blur(10px); } 60% { opacity: 1; transform: translateY(-.06em) scale(1.05); filter: blur(0); } 100% { opacity: 1; transform: none; filter: blur(0); } }

/* ---------- Marquee (straight) ---------- */
.marquee { position: relative; z-index: 2; background: var(--accent); color: var(--ink); overflow: clip; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: pan 44s linear infinite; }
.marquee-group { display: flex; align-items: center; }
.marquee-group span { padding: 0 20px; font: 800 13px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee-group i { width: 8px; height: 8px; background: var(--ink); flex-shrink: 0; }
@keyframes pan { to { transform: translateX(-50%); } }

/* ---------- Lanes ---------- */
.section-head { margin-bottom: 36px; }
.section-head .lede { margin-top: 18px; }
.lanes { border-top: 2px solid var(--text); }
.lane { display: grid; grid-template-columns: 34px 1fr 44px; grid-template-areas: "n h a" "n p a"; column-gap: 12px; row-gap: 6px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lane-n { grid-area: n; align-self: start; padding-top: 10px; font: 400 11px/1 var(--pixel); color: var(--muted); transition: color .3s; }
.lane h3 { grid-area: h; justify-self: start; font-size: clamp(2.3rem, 12vw, 5.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; padding: 0 .08em; margin-left: -.08em;
  background: linear-gradient(var(--accent), var(--accent)) left 88% / 0% 34% no-repeat; transition: background-size .6s var(--ease-out); }
.lane p { grid-area: p; font-size: 15.5px; color: var(--text-2); max-width: 36ch; }
.lane-arrow { grid-area: a; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); font-size: 18px; transition: background .35s, border-color .35s, transform .5s var(--ease-out); }
.lane:hover h3, .lane:focus-visible h3 { background-size: 100% 34%; }
.lane:hover .lane-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.lane:hover .lane-n { color: var(--text); }

/* ---------- Channels: CRT switcher ---------- */
.channels { position: relative; overflow: clip; }
.tv-wrap { display: grid; gap: 18px; }
.tv { position: relative; padding: 12px 12px 10px; border-radius: 26px; background: linear-gradient(160deg, #2a3354, #141b36 60%, #0d1328); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 0 rgba(0,0,0,.4), 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.tv-screen { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #02040c; isolation: isolate; touch-action: pan-y; }
.tv-screen:after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,.6), inset 0 0 2px rgba(255,255,255,.2); }
.ch-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .01s linear .2s, transform 6s linear; }
.ch-img.is-on { opacity: 1; transform: scale(1); transition: opacity .01s, transform 6.5s linear; }
.tv-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.tv-screen.zap .tv-fx { animation: static-burst .46s steps(6) both; }
@keyframes static-burst { 0% { opacity: 0; background-position: 0 0; } 20% { opacity: .95; background-position: 40px -60px; } 55% { opacity: .8; background-position: -80px 30px; } 100% { opacity: 0; background-position: 20px 90px; } }
.osd { position: absolute; z-index: 4; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; font: 400 clamp(12px, 3.4vw, 16px)/1 var(--pixel); color: var(--phosphor); text-shadow: 0 0 8px rgba(125,255,155,.7), 1px 0 rgba(255,60,90,.5), -1px 0 rgba(60,160,255,.5); pointer-events: none; }
.osd-name { text-align: right; }
.tv-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 0; }
.tv-brand { font: 800 italic 11px/1 var(--display); letter-spacing: .08em; color: rgba(238,241,251,.4); }
.tv-led { width: 7px; height: 7px; border-radius: 50%; background: #3ee07a; box-shadow: 0 0 10px rgba(62,224,122,.9); }
.tv-cap { font: 500 13px/1.45 var(--mono); color: var(--on-ink-2); min-height: 1.45em; transition: opacity .25s; }
.ch-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding: 4px 20px 8px; }
.ch-list::-webkit-scrollbar { display: none; }
.ch { position: relative; flex: 0 0 auto; scroll-snap-align: start; display: grid; gap: 4px; text-align: left; min-width: 150px; padding: 14px 16px 16px; border: 0; border-radius: 14px; background: var(--ink-2); color: var(--on-ink); cursor: pointer; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-ink); transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .35s var(--ease-out); }
.ch:hover { background: var(--ink-3); }
.ch:active { transform: scale(.97); }
.ch-n { font: 400 11px/1 var(--pixel); color: var(--on-ink-2); }
.ch-name { font: 700 15px/1.2 var(--display); letter-spacing: -.01em; }
.ch-era { font: 500 11.5px/1.3 var(--mono); color: var(--on-ink-2); }
.ch-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.ch[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: 0 10px 30px -14px rgba(255,224,58,.45); }
.ch[aria-selected="true"] .ch-n { color: var(--text); }
.ch[aria-selected="true"] .ch-era { color: var(--text-2); }
.ch[aria-selected="true"] .ch-bar { transform: scaleX(1); }
.channels.auto .ch[aria-selected="true"] .ch-bar { animation: fill var(--dwell, 6s) linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.source-line { margin-top: 26px; font-size: 14px; }
.source-line a { border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; }

/* ---------- Repairs band ---------- */
.repairs { position: relative; background: var(--art-blue); color: #fff; overflow: clip; padding-block: 72px 0; }
.repairs:before { content: ''; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 22px 22px; pointer-events: none; }
.repairs-grid { position: relative; display: grid; gap: 28px; align-items: end; }
.repairs h2 { font-size: clamp(2.3rem, 10.5vw, 5rem); font-weight: 800; }
.repairs mark { color: var(--accent); text-shadow: 0 3px 0 var(--ink); }
.repairs-list { font: 700 1.25rem/1.3 var(--display); margin-top: 14px; }
.repair-quote { margin: 28px 0; padding: 20px 22px; border-radius: 16px; background: var(--ink); max-width: 560px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.repair-quote p { font-size: 15.5px; line-height: 1.6; margin-top: 8px; color: var(--on-ink); }
.repair-quote footer { margin-top: 12px; font: 500 12px/1.4 var(--mono); color: var(--on-ink-2); }
.mascots { position: relative; height: 230px; }
.mascot { position: absolute; bottom: -6px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.mascot-repair { right: 2%; width: 50%; max-width: 380px; animation: bob 4.5s ease-in-out infinite; }
.mascot-play { left: 2%; width: 44%; max-width: 320px; animation: bob 4.5s ease-in-out -2.25s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* ---------- Reviews ---------- */
.reviews-top { display: grid; gap: 22px; margin-bottom: 26px; }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.score { display: grid; justify-items: start; gap: 6px; padding: 18px 18px 20px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.score:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--text), 0 20px 30px -20px rgba(15,22,51,.4); }
.score strong { font: 800 2.5rem/1 var(--display); letter-spacing: -.04em; }
.score .stars { font-size: 15px; }
.score .rec { font: 400 11px/1 var(--pixel); text-transform: uppercase; color: var(--text-2); }
.score small { font-size: 12.5px; color: var(--text-2); }
.topics { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 30px; padding: 2px 20px; }
.topics::-webkit-scrollbar { display: none; }
.topics-label { flex: 0 0 auto; align-self: center; font: 400 11px/1.3 var(--pixel); text-transform: uppercase; color: var(--muted); margin-right: 4px; max-width: 110px; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; }
.chip b { font: 700 11px/1 var(--mono); background: var(--ink); color: var(--accent); padding: 4px 7px; border-radius: 999px; }
.review-grid { display: grid; gap: 14px; }
.review { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease-out); }
.review p { font-size: 16.5px; line-height: 1.6; margin: 12px 0 22px; }
.review-lead { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.review-lead p { font: 500 1.2rem/1.45 var(--display); letter-spacing: -.01em; }
.review-lead .stars { color: var(--accent); }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review footer span:last-child { display: grid; line-height: 1.3; }
.review small { font: 500 12px/1.4 var(--mono); color: var(--text-2); }
.review-lead small { color: var(--on-ink-2); }
.avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--ink); font: 800 16px var(--display); flex-shrink: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 22px 20px; border-radius: var(--r); background: var(--ink-2); box-shadow: 0 0 0 1px var(--line-ink); transition: transform .5s var(--ease-out), background .3s; }
.step:hover { background: var(--ink-3); }
.step-n { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--ink); font: 400 18px var(--pixel); box-shadow: 0 4px 0 var(--accent-deep); }
.step h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; align-self: center; }
.step p { margin-top: 6px; color: var(--on-ink-2); font-size: 15px; }

/* ---------- Bring it in ---------- */
.bring-grid { display: grid; gap: 30px; }
.bring-intro .lede { margin-top: 18px; }
.demo-label { display: inline-block; margin-top: 18px; font: 500 12px/1 var(--mono); color: var(--text-2); padding: 8px 12px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
.bring-form { padding: 22px 20px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(15,22,51,.4); }
.choice { border: 0; padding: 0; min-width: 0; }
.choice legend, .field label { font: 400 11px/1.4 var(--pixel); text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.choice-row label { position: relative; cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-row span { display: inline-flex; padding: 11px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15px; transition: background .25s var(--ease-out), color .25s, box-shadow .25s, transform .3s var(--ease-out); }
.choice-row label:hover span { box-shadow: inset 0 0 0 1.5px var(--text); }
.choice-row input:checked + span { background: var(--ink); color: var(--accent); box-shadow: none; transform: translateY(-2px); }
.choice-row input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; min-width: 0; }
.field label { margin-bottom: 8px; }
.field label span { text-transform: none; font-family: var(--sans); font-weight: 500; }
.field input, .field textarea { width: 100%; min-width: 0; border: 0; border-radius: var(--r2); background: var(--paper); color: var(--text); font-size: 16px; padding: 14px 16px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s, background .25s; }
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: #7c83a3; }
.field :is(input, textarea):focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--text); }
.form-action { display: grid; gap: 16px; margin-top: 24px; text-align: center; }
.fallback { justify-self: center; font-weight: 600; font-size: 14.5px; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.form-status { margin-top: 16px; font-size: 13px; color: var(--text-2); }
.request-preview { margin-top: 16px; padding: 16px 18px; border-radius: var(--r2); background: var(--paper); animation: pop-in .5s var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.request-preview h3 { font-size: 1.05rem; }
.request-preview p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); overflow-wrap: anywhere; }
#request-summary { color: var(--text); white-space: pre-wrap; font-weight: 500; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; gap: 34px; }
.visit h2 { font-size: clamp(2rem, 8.6vw, 3.4rem); }
.status-visit { display: flex; margin: 22px 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--ink-deep); box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--on-ink); }
.hours { width: 100%; border-collapse: collapse; font: 500 13.5px/1.4 var(--mono); }
.hours th, .hours td { padding: 10px 8px; border-bottom: 1px dashed var(--line-ink); text-align: left; vertical-align: top; }
.hours th { font-weight: 700; color: var(--on-ink-2); width: 38%; }
.hours td { color: var(--on-ink); }
.hours td span { display: block; }
.hours tr { transition: background .4s; }
.hours tr.today th, .hours tr.today td { color: var(--ink); background: var(--accent); border-color: transparent; }
.hours tr.today th { border-radius: 8px 0 0 8px; }
.hours tr.today td { border-radius: 0 8px 8px 0; }
.hours-note { margin-top: 14px; font-size: 13px; color: var(--on-ink-2); }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 26px; }
.text-link { font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.visit-photo img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 0 0 1px var(--line-ink), 0 40px 80px -40px rgba(0,0,0,.8); }
.visit-photo figcaption { margin-top: 12px; font: 500 12px/1.4 var(--mono); color: var(--on-ink-2); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
.faq-list { border-top: 2px solid var(--text); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 54px 22px 0; font: 700 1.05rem/1.35 var(--display); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; position: absolute; right: 0; top: 50%; width: 38px; height: 38px; margin-top: -19px; display: grid; place-items: center; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font: 400 22px/1 var(--pixel); transition: transform .45s var(--ease-out), background .25s; }
.faq-list details[open] summary:after { transform: rotate(45deg); background: var(--accent); box-shadow: none; }
.faq-body p { padding: 0 0 22px; font-size: 16px; color: var(--text-2); max-width: 62ch; }
.faq-body a { text-decoration: underline; text-underline-offset: 3px; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }

/* ---------- Final ---------- */
.final { position: relative; overflow: clip; padding-block: 88px; text-align: center; background: radial-gradient(600px 320px at 50% 0%, rgba(26,157,241,.3), transparent 70%), var(--ink); }
.final-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(2.4rem, 11vw, 6rem); font-weight: 800; max-width: 16ch; }
.final-inner > p:not(.tag) { margin: 20px 0 30px; font-size: 17px; color: var(--on-ink-2); }
.final-actions { display: grid; gap: 12px; width: 100%; }

/* ---------- Footer + call bar ---------- */
footer[data-role="footer"] { background: var(--ink-deep); }
.footer-top { display: grid; gap: 24px; padding: 44px 0 30px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand strong { font: 800 1.1rem/1.1 var(--display); font-style: italic; }
.footer-brand p { font-size: 13.5px; color: var(--on-ink-2); margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14.5px; font-weight: 500; }
.footer-bottom { display: grid; gap: 12px; padding: 20px 0 28px; border-top: 1px solid var(--line-ink); font-size: 12px; color: var(--on-ink-2); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.call-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(6,11,30,.94); border-top: 1px solid var(--line-ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.call-bar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 14.5px; white-space: nowrap; background: var(--accent); color: var(--ink); }
.call-bar a:last-child { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1.5px rgba(238,241,251,.35); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; filter: blur(0); }
.js .reveal h2 { clip-path: inset(0 0 100% 0); transform: translateY(.3em); transition: clip-path 1s var(--ease-out) .1s, transform 1s var(--ease-out) .1s; }
.js .reveal.in h2 { clip-path: inset(0 0 -20% 0); transform: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-copy { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    .mascots { animation: mascots-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes hero-out { to { opacity: .25; transform: translateY(-40px); } }
@keyframes mascots-in { from { transform: translateY(90px); } to { transform: none; } }

/* ========== ≥ 641px (tablet) ========== */
@media (min-width: 641px) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .wrap { width: calc(100% - 56px); }
  .ribbon { font-size: 12px; }
  .nav-phone { display: inline-flex; }
  .section { padding-block: 96px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
  .hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; }
  .wall { height: 420px; margin-inline: -28px; }
  .marquee-group span { font-size: 15px; padding: 0 26px; }
  .lane { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 56px; grid-template-areas: "n h p a"; column-gap: 24px; padding: 28px 0; }
  .lane-n { align-self: center; padding-top: 0; }
  .lane-arrow { width: 56px; height: 56px; }
  .ch-list { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding: 0; }
  .ch { min-width: 0; }
  .mascots { height: 320px; }
  .scores { display: flex; }
  .score { min-width: 200px; }
  .topics { flex-wrap: wrap; overflow: visible; margin: 0 0 40px; padding: 0; }
  .topics-label { max-width: none; }
  .review-grid { grid-template-columns: 1.35fr 1fr; }
  .review { padding: 32px; }
  .review:hover { transform: translateY(-4px) rotate(-.4deg); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; padding: 28px 26px; }
  .step-n { grid-row: auto; margin-bottom: 22px; }
  .step:hover { transform: translateY(-4px); }
  .bring-form { padding: 34px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .form-action { display: flex; align-items: center; gap: 22px; text-align: left; }
  .final-actions { display: flex; justify-content: center; width: auto; }
  .footer-top { display: flex; justify-content: space-between; align-items: center; }
  .footer-bottom { display: flex; justify-content: space-between; }
  .hours td span { display: inline; }
  .hours td span + span:before { content: ' · '; color: var(--on-ink-2); }
  .hours tr.today td span + span:before { color: var(--ink); }
}

/* ========== ≥ 961px (desktop) ========== */
@media (min-width: 961px) {
  :root { --nav-h: 76px; }
  .menu-toggle { display: none; }
  .nav-links { display: flex; position: static; flex-direction: row; gap: 24px; padding: 0; background: none; border: 0; font-size: 14.5px; color: var(--on-ink-2); }
  .nav-links a { position: relative; padding: 4px 0; border: 0; font-size: 14.5px; transition: color .2s; }
  .nav-links a:hover { color: var(--on-ink); }
  .nav-links a:after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
  .nav-links a:hover:after { transform: scaleX(1); transform-origin: left; }
  .nav-links-cta { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 1.15rem; }
  .section { padding-block: 120px; }
  h2 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
  .hero { min-height: min(100svh, 980px); display: flex; padding-top: calc(var(--nav-h) + 20px); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
  .hero h1 { font-size: clamp(3.4rem, 6.2vw, 6.4rem); }
  .hero-sub { font-size: 19px; }
  .hero-copy { padding-bottom: 60px; }
  .wall { height: min(calc(100svh - var(--nav-h) - 20px), 820px); min-height: 600px; margin: 0 -28px 0 0; }
  .wall-inner { height: 130%; margin-top: -12%; transform: rotate(-6deg) scale(1.1); gap: 16px; }
  .wall-track { gap: 16px; }
  .wall-track span { border-radius: 16px; }
  .tv-wrap { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "tv list" "cap list"; column-gap: 40px; row-gap: 14px; align-items: start; }
  .tv { grid-area: tv; padding: 16px 16px 12px; border-radius: 32px; }
  .tv-screen { border-radius: 22px; }
  .tv-cap { grid-area: cap; }
  .ch-list { grid-area: list; grid-template-columns: 1fr; gap: 8px; }
  .ch { grid-template-columns: 64px 1fr; grid-template-areas: "n name" "n era"; column-gap: 12px; padding: 16px 18px; }
  .ch-n { grid-area: n; align-self: center; font-size: 12px; }
  .ch-name { grid-area: name; font-size: 17px; }
  .ch-era { grid-area: era; }
  .ch:hover:not([aria-selected="true"]) { transform: translateX(4px); }
  .repairs { padding-block: 120px; }
  .repairs-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
  .mascots { height: 460px; }
  .mascot { bottom: 0; }
  .reviews-top { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
  .scores { flex-direction: row; }
  .score strong { font-size: 3.2rem; }
  .review-lead p { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
  .bring-grid { grid-template-columns: .9fr 1.3fr; gap: 64px; align-items: start; }
  .bring-intro { position: sticky; top: calc(var(--nav-h) + 28px); }
  .bring-form { padding: 44px; }
  .visit-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
  .hours { font-size: 14.5px; }
  .hours th, .hours td { padding: 11px 12px; }
  .faq-grid { grid-template-columns: .8fr 1.4fr; gap: 64px; align-items: start; }
  .faq-list summary { font-size: 1.2rem; padding-right: 60px; }
  .final { padding-block: 150px; }
}

/* ========== ≥ 1201px (wide) ========== */
@media (min-width: 1201px) {
  .wrap { width: calc(100% - 72px); }
  .nav .status-nav { display: inline-flex; }
  .nav-inner { gap: 22px; }
  .nav-links { gap: 26px; }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .rise, .cascade.is-split .w { opacity: 1; transform: none; filter: none; }
  .js .reveal, .js .reveal h2 { opacity: 1; transform: none; filter: none; clip-path: none; }
  .nav:before { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav:before, .call-bar { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (scripting: none) {
  .menu-toggle { display: none; }
  .nav { position: static; height: auto; }
  .nav:before { opacity: 1; animation: none; }
  .nav-inner { flex-wrap: wrap; padding-block: 14px; }
  .nav-links { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 16px; padding: 0; border: 0; background: none; }
  .nav-links a { border: 0; padding: 4px 0; font-size: 14px; }
  .hero { margin-top: 0; }
  .status i { display: none; }
}
