/* Burger World — website
   Identity: a roadside diner, painted in the game's own colours. Mustard walls, ketchup
   buttons, a navy night sky for the World Tour, a checkered diner floor between rooms.
   Display face Shrikhand (diner signage); body Outfit (the face the game itself uses). */

/* Fonts are self-hosted (SIL Open Font License): no third-party requests from this site. */
@font-face { font-family: "Shrikhand"; font-weight: 400; font-display: swap; src: url("../fonts/shrikhand-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("../fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("../fonts/outfit-600.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url("../fonts/outfit-800.woff2") format("woff2"); }

:root {
  --mustard: #ffc93c;
  --mustard-deep: #f2ae1c;
  --ketchup: #e5402a;
  --ketchup-deep: #b02815;
  --bun: #fff1d6;
  --bun-deep: #f7deb0;
  --navy: #1c2754;
  --navy-2: #26347a;
  --pickle: #3fa34d;
  --white: #ffffff;

  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --ease: cubic-bezier(.2, .9, .3, 1.2);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bun);
  color: var(--navy);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible, .site-footer :focus-visible { outline-color: var(--mustard); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
section[id] { scroll-margin-top: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-s); text-decoration: none; font-weight: 800; }
.skip:focus { top: 12px; }

/* ── Type ───────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin-top: 14px; }

/* Sign lettering: the diner's painted-sign treatment for the big headlines. */
.sign {
  color: var(--white);
  -webkit-text-stroke: 0.06em var(--navy);
  paint-order: stroke fill;
  text-shadow: 0.06em 0.08em 0 var(--navy);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  --b: var(--ketchup); --b-edge: var(--ketchup-deep); --b-ink: var(--white);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 10px 24px 12px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  background: var(--b); color: var(--b-ink);
  box-shadow: 0 5px 0 var(--b-edge);
  font-weight: 800; font-size: 1.05rem; line-height: 1.15;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--b-edge); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--b-edge); }
.btn small { display: block; font-weight: 600; font-size: 0.72rem; opacity: .85; }
.btn svg { flex: 0 0 auto; }
.btn--navy { --b: var(--navy); --b-edge: #0f1636; }
.btn--bun { --b: var(--bun); --b-edge: var(--bun-deep); --b-ink: var(--navy); }
.btn--ghost { --b: transparent; --b-edge: transparent; --b-ink: var(--navy); box-shadow: inset 0 0 0 2.5px var(--navy); }
.btn--ghost:hover, .btn--ghost:active { box-shadow: inset 0 0 0 2.5px var(--navy); }
.btn[aria-disabled="true"] { cursor: default; opacity: .7; }
.btn[aria-disabled="true"]:hover, .btn[aria-disabled="true"]:active { transform: none; box-shadow: inset 0 0 0 2.5px var(--navy); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--mustard);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 0 rgba(28, 39, 84, .15); }
.page-legal .site-header { background: var(--bun); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 3px 0 rgba(28,39,84,.25); }
.brand span { font-family: var(--display); font-size: 1.45rem; line-height: 1; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(28, 39, 84, .1); }
.header-cta { min-height: 44px; padding: 6px 18px 8px; font-size: .95rem; box-shadow: 0 4px 0 var(--b-edge); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 3px; margin: 5px auto; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 880px) {
  .menu-toggle { display: block; order: 5; }
  .header-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--mustard); box-shadow: 0 10px 0 rgba(28,39,84,.12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 8px; font-size: 1.15rem; border-radius: 10px; }
  .page-legal .nav { background: var(--bun); }
}

/* ── Checkered diner floor between rooms ───────────────────────────────── */
.floor {
  height: 36px;
  background: conic-gradient(var(--navy) 25%, var(--bun) 0 50%, var(--navy) 0 75%, var(--bun) 0) 0 0 / 36px 36px;
}
.floor--thin { height: 18px; background-size: 18px 18px; }

/* ── Hero: the stacking game is the first thing you see ─────────────────── */
.hero { background: var(--mustard); padding: clamp(20px, 4vw, 56px) 0 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 3vw, 40px); align-items: center; }
.hero-copy { padding-bottom: clamp(28px, 5vw, 72px); }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 .line { display: block; }
@media (min-width: 881px) { .hero-copy h1 .line { white-space: nowrap; } }
.hero-copy .lede { margin-bottom: 30px; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-note { margin: 18px 0 0; font-size: .95rem; font-weight: 600; opacity: .8; }

.stack-game {
  position: relative; height: clamp(440px, 64vh, 640px);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  cursor: pointer; outline: none; border-radius: var(--radius-l);
}
.stack-game:focus-visible { box-shadow: inset 0 0 0 3px var(--navy); }
.stack-game canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sg-score { position: absolute; right: 8px; top: 4px; text-align: right; pointer-events: none; }
.sg-score b { display: block; font: 400 clamp(4rem, 9vw, 6.5rem)/0.9 var(--display); }
.sg-score span { font-weight: 800; font-size: .95rem; }
.sg-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: var(--navy); color: var(--white); padding: 10px 18px; border-radius: 999px;
  font-weight: 800; white-space: nowrap; pointer-events: none;
  transition: opacity .25s ease;
}
.sg-hint.is-hidden { opacity: 0; }
.sg-pop {
  position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%);
  font: 400 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); color: var(--pickle);
  -webkit-text-stroke: 0.08em var(--white); paint-order: stroke fill;
  pointer-events: none; opacity: 0;
}
.sg-pop.is-on { animation: pop .9s var(--ease) forwards; }
@keyframes pop { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.6); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 100% { opacity: 0; transform: translate(-50%, -110%) scale(1); } }
.sg-sound {
  position: absolute; left: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(28,39,84,.12); cursor: pointer; display: grid; place-items: center;
}
.sg-sound:hover { background: rgba(28,39,84,.2); }
.sg-over {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(88%, 320px); padding: 22px 20px 20px; text-align: center;
  background: var(--bun); color: var(--navy); border-radius: var(--radius-l); box-shadow: 0 8px 0 var(--navy);
  border: 3px solid var(--navy); cursor: default;
}
.sg-over[hidden] { display: none; }
.sg-over h3 { margin-bottom: 6px; }
.sg-over p { margin: 0 auto 18px; font-weight: 600; }
.sg-over .btn { width: 100%; justify-content: center; margin-top: 10px; }
.sg-over.is-on { animation: overIn .45s var(--ease); }
@keyframes overIn { from { transform: translate(-50%, -40%) scale(.85); opacity: 0; } }
.sg-fallback { display: grid; place-items: center; height: 100%; text-align: center; }
.sg-fallback img { width: 240px; border-radius: 48px; margin: 0 auto 16px; box-shadow: 0 8px 0 var(--navy); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; order: 0; }
  .stack-game { order: 1; height: min(76vh, 520px); margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
}

/* ── The shift (how it plays) ───────────────────────────────────────────── */
.shift { padding: clamp(56px, 8vw, 110px) 0; }
.shift-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: start; }
.stations { list-style: none; margin: 0; padding: 0; position: relative; }
.stations::before { /* the loop: a ketchup line threading every station, back to the top */
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 4px;
  background: repeating-linear-gradient(var(--ketchup) 0 10px, transparent 10px 18px); border-radius: 2px;
}
.station {
  position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: center;
  width: 100%; padding: 10px 14px 10px 0; text-align: left; border: 0; background: none; cursor: pointer; border-radius: var(--radius-m);
}
.station .dot {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--white); box-shadow: inset 0 0 0 3px var(--navy); position: relative; z-index: 1;
  transition: transform .25s var(--ease), background-color .2s ease;
}
.station b { display: block; font-size: 1.2rem; line-height: 1.2; }
.station span { display: block; color: rgba(28,39,84,.75); line-height: 1.4; }
.station:hover .dot { transform: scale(1.06); }
.station[aria-selected="true"] .dot { background: var(--mustard); transform: scale(1.12); }
.station[aria-selected="true"] b { color: var(--ketchup-deep); }
.loop-note { margin: 18px 0 0 74px; font-weight: 700; color: var(--ketchup-deep); }

.phone {
  width: clamp(240px, 23vw, 290px); aspect-ratio: 645 / 1398; position: relative;
  border-radius: 42px; padding: 11px; background: var(--navy);
  box-shadow: 0 0 0 3px #0f1636, 14px 16px 0 var(--mustard);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); background: #0f1636; border-radius: 999px; z-index: 2; }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 32px; background: #000; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.phone-screen img.is-on { opacity: 1; }
@media (max-width: 880px) {
  .shift-grid { grid-template-columns: 1fr; }
  .shift .phone { order: -1; margin: 0 auto 8px; }
  .stations::before { left: 22px; }
  .station { grid-template-columns: 48px minmax(0, 1fr); }
  .station .dot { width: 48px; height: 48px; font-size: 1.3rem; }
  .loop-note { margin-left: 64px; }
}

/* ── World Tour (night) ─────────────────────────────────────────────────── */
.night { background: var(--navy); color: var(--bun); padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.night h2 { color: var(--mustard); }
.tour { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.map-wrap { position: relative; }
@media (max-width: 720px) {
  /* Big enough to tap a pin: the map scrolls sideways and follows the selected stop. */
  .map-wrap { overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .map-wrap::-webkit-scrollbar { display: none; }
  .map { width: 760px; max-width: none; }
}
.map { width: 100%; height: auto; display: block; }
.map .land { fill: #34428a; stroke: var(--navy); stroke-width: .6; }
.map .tour-land { fill: #4c5db3; stroke: var(--navy); stroke-width: .6; cursor: pointer; transition: fill .2s ease; }
.map .tour-land:hover { fill: #6274d0; }
.map .tour-land.is-on { fill: var(--mustard); }
.map .route { fill: none; stroke: rgba(255, 241, 214, .45); stroke-width: 1.6; stroke-dasharray: 4 5; }
.map .pin { cursor: pointer; }
.map .pin circle { fill: var(--ketchup); stroke: var(--bun); stroke-width: 2; transition: r .2s var(--ease); }
.map .pin text { fill: var(--white); font: 800 9.5px var(--body); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map .pin.is-on circle { fill: var(--white); stroke: var(--ketchup); stroke-width: 3; }
.map .pin.is-on text { fill: var(--ketchup-deep); }
.map .pin:focus-visible circle { stroke: var(--mustard); stroke-width: 4; }
.map .plane { font-size: 22px; pointer-events: none; }
.stop {
  background: var(--bun); color: var(--navy); border-radius: var(--radius-l);
  padding: 22px 22px 20px; box-shadow: 8px 8px 0 var(--ketchup);
}
.stop-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.stop-count { font-weight: 800; color: rgba(28,39,84,.7); }
.stop-flag { font-size: 2.6rem; line-height: 1; }
.stop h3 { margin: 4px 0 4px; color: var(--ketchup-deep); }
.stop-country { font-weight: 800; font-size: 1.15rem; margin: 0; }
.stop-tagline { margin: 10px 0 14px; font-style: italic; }
.stop dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 18px; }
.stop dt { font-weight: 600; color: rgba(28,39,84,.7); }
.stop dd { margin: 0; font-weight: 800; }
.stop-nav { display: flex; gap: 10px; }
.stop-nav .btn { flex: 1; justify-content: center; min-height: 48px; padding: 6px 12px 8px; }
.tour-after { margin-top: 26px; color: rgba(255,241,214,.85); }
@media (max-width: 960px) { .tour { grid-template-columns: 1fr; } .stop { max-width: 560px; } }

/* ── Outfits: a clothes rail ────────────────────────────────────────────── */
.wardrobe { background: var(--ketchup); color: var(--white); padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.wardrobe h2 { color: var(--mustard); }
.wardrobe .lede { color: var(--bun); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.16); color: var(--white); font-weight: 800;
}
.chip:hover { background: rgba(255,255,255,.26); }
.chip[aria-pressed="true"] { background: var(--bun); color: var(--ketchup-deep); }
.chip .n { opacity: .7; font-weight: 600; margin-left: 4px; }
.rail-wrap { position: relative; }
.rail-wrap::before { /* the chrome rail the hangers hook onto */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 4px;
  background: linear-gradient(#ffe7a8, #c99a2e); box-shadow: 0 3px 0 rgba(0,0,0,.18);
}
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 20px; margin: 0 calc(-1 * var(--gutter));
  list-style: none; scrollbar-width: thin; scrollbar-color: var(--bun) transparent;
}
.outfit { flex: 0 0 180px; scroll-snap-align: start; text-align: center; position: relative; padding-top: 26px; }
.outfit::before { /* hanger hook */
  content: ""; position: absolute; top: -2px; left: 50%; width: 20px; height: 26px; transform: translateX(-50%);
  border: 3px solid var(--bun); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.outfit figure { margin: 0; }
.outfit img { width: 180px; height: 240px; object-fit: contain; filter: drop-shadow(0 8px 0 rgba(0,0,0,.18)); transform-origin: 50% 0; }
.outfit:hover img { animation: swing 1.1s ease-in-out; }
@keyframes swing { 20% { transform: rotate(4deg); } 50% { transform: rotate(-3deg); } 80% { transform: rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .outfit:hover img { animation: none; } }
.tag {
  display: inline-block; margin-top: 8px; padding: 8px 14px 9px; border-radius: 6px; position: relative;
  background: var(--bun); color: var(--navy); text-align: center; min-width: 150px;
}
.tag::before { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; transform: translateX(-50%); border-radius: 50%; background: var(--ketchup); box-shadow: 0 0 0 3px var(--bun); }
.tag b { display: block; line-height: 1.2; }
.tag span { display: block; font-size: .85rem; font-weight: 600; color: var(--ketchup-deep); }
.rail-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--bun); color: var(--navy); display: grid; place-items: center; box-shadow: 0 4px 0 var(--bun-deep); }
.round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--bun-deep); }

/* ── Events calendar ────────────────────────────────────────────────────── */
.events { padding: clamp(56px, 8vw, 110px) 0; }
.event-now {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  background: var(--white); border-radius: var(--radius-l); padding: 20px 24px; margin-bottom: 30px;
  box-shadow: inset 0 0 0 3px var(--navy), 8px 8px 0 var(--mustard);
}
.event-now .em { font-size: 2.8rem; line-height: 1; }
.event-now b { font-size: 1.25rem; display: block; }
.event-now .when { font-weight: 800; color: var(--ketchup-deep); }
.year { position: relative; padding-top: 30px; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); border-radius: var(--radius-m); overflow: hidden; box-shadow: inset 0 0 0 2px var(--navy); }
.months span { padding: 10px 0; text-align: center; font-weight: 600; font-size: .9rem; border-left: 2px solid rgba(28,39,84,.12); }
.months span:first-child { border-left: 0; }
.months span:nth-child(odd) { background: rgba(255,201,60,.25); }
.bars { position: relative; height: 150px; margin-top: 14px; }
.bar {
  position: absolute; height: 36px; border-radius: 999px; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; min-width: 36px;
}
.bar .lbl { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); color: var(--navy); font-weight: 800; font-size: .92rem; white-space: nowrap; }
.bar .lbl--left { left: auto; right: calc(100% + 8px); }
.bar.is-live { background: var(--ketchup); box-shadow: 0 0 0 4px rgba(229,64,42,.25); }
.today { position: absolute; width: 3px; background: var(--ketchup); border-radius: 2px; }
.today::after { content: "Today"; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-weight: 800; font-size: .85rem; color: var(--ketchup-deep); }
@media (max-width: 720px) {
  .months span { font-size: 0; padding: 12px 0; }
  .months span::first-letter { font-size: .85rem; }
  .bar .lbl { font-size: .8rem; }
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { padding: 0 0 clamp(56px, 8vw, 110px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.qa { border-bottom: 2px solid rgba(28,39,84,.14); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 800; font-size: 1.15rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mustard); font: 400 1.4rem/1 var(--display); transition: transform .25s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); background: var(--ketchup); color: var(--white); }
.qa p { padding: 0 48px 16px 0; margin: 0; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }

/* ── Support ────────────────────────────────────────────────────────────── */
.support { padding: 0 0 clamp(56px, 8vw, 110px); }
.ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: var(--mustard); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.ticket::after { /* the order-ticket punch holes along the top */
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 18px;
  background: radial-gradient(circle at 9px 9px, var(--bun) 6px, transparent 6.5px) 0 0 / 30px 18px repeat-x;
}
.ticket h2 { margin-bottom: 12px; }
.ticket-actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.ticket-actions .btn { justify-content: center; text-align: center; overflow-wrap: anywhere; }
.copied { font-weight: 800; min-height: 1.6em; text-align: center; margin: 0; }
@media (max-width: 760px) { .ticket { grid-template-columns: 1fr; } .ticket-actions { min-width: 0; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--bun); padding: 44px 0 36px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer .brand span { color: var(--mustard); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fine { margin: 26px 0 0; font-size: .88rem; opacity: .7; max-width: none; }

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legal-hero { background: var(--bun); padding: clamp(32px, 6vw, 72px) 0 28px; }
.legal-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 14px; }
.legal-hero p { font-weight: 600; margin: 0; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding: 36px 0 90px; align-items: start; }
.toc { position: sticky; top: 96px; }
.toc b { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-body { max-width: 70ch; background: var(--white); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 48px); box-shadow: inset 0 0 0 2px rgba(28,39,84,.1); }
.legal-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 34px 0 12px; scroll-margin-top: 96px; color: var(--ketchup-deep); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-family: var(--body); font-weight: 800; font-size: 1.15rem; margin: 22px 0 8px; }
.legal-body p, .legal-body li { max-width: none; }
.legal-body ul { padding-left: 22px; margin: 0 0 1em; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--ketchup-deep); font-weight: 600; }
.legal-body code { font-size: .88em; background: var(--bun); padding: 2px 6px; border-radius: 6px; }
.legal-switch { margin-top: 32px; font-weight: 600; }
@media (max-width: 880px) { .legal-grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* ── 404 ───────────────────────────────────────────────────────────────── */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--mustard); padding: 60px 0; }
.lost h1 { margin-bottom: 18px; }
.lost p { margin: 0 auto 26px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Game modes, stats and share (hero) ────────────────────────────────── */
.sg-modes {
  position: absolute; left: 60px; top: 8px; display: flex; padding: 4px; gap: 2px;
  background: rgba(28,39,84,.12); border-radius: 999px; z-index: 2;
}
.sg-mode { border: 0; background: transparent; cursor: pointer; font-weight: 800; font-size: .9rem; padding: 8px 14px; border-radius: 999px; color: var(--navy); min-height: 36px; }
.sg-mode[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.sg-stats { font-size: .88rem; font-weight: 600 !important; opacity: .8; margin-top: -8px !important; }
.sg-over .btn + .btn { margin-top: 10px; }
.sg-over [hidden] { display: none; }
@media (max-width: 420px) { .sg-mode { padding: 8px 10px; font-size: .82rem; } }

/* ── Lights switch ───────────────────────────────────────────────────────── */
.theme-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(28,39,84,.1); color: var(--navy); flex: 0 0 auto;
}
.theme-toggle:hover { background: rgba(28,39,84,.18); }
.theme-toggle .i-sun { display: none; }
[data-theme="night"] .theme-toggle .i-sun { display: block; }
[data-theme="night"] .theme-toggle .i-moon { display: none; }
@media (min-width: 881px) { .theme-toggle { order: 3; } .header-cta { order: 4; } }

/* ── World tour autopilot ───────────────────────────────────────────────── */
.tour-play { margin: 22px 0 0; }

/* ── Outfit buttons + dressing room ─────────────────────────────────────── */
.outfit-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; border-radius: var(--radius-m); }
.outfit-btn:focus-visible { outline-color: var(--bun); }
.dressing {
  width: min(92vw, 440px); max-height: 92vh; border: 0; padding: 22px 22px 20px; border-radius: var(--radius-l);
  background: var(--bun); color: var(--navy); box-shadow: 0 10px 0 var(--navy), 0 0 0 3px var(--navy); overflow: auto;
}
.dressing::backdrop { background: rgba(28, 39, 84, .7); }
.dressing[open] { animation: overIn2 .35s var(--ease); }
@keyframes overIn2 { from { transform: scale(.9); opacity: 0; } }
.dr-close-form { position: absolute; right: 14px; top: 14px; margin: 0; z-index: 2; }
.dr-close { width: 44px; height: 44px; font-size: 1.1rem; font-weight: 800; }
.dr-stage {
  position: relative; height: 340px; margin: 4px -22px 0; cursor: grab; touch-action: pan-y; outline: none;
  background: radial-gradient(closest-side, rgba(255,201,60,.55), rgba(255,201,60,0) 75%) 50% 70% / 90% 70% no-repeat;
}
.dr-stage:active { cursor: grabbing; }
.dr-stage:focus-visible { box-shadow: inset 0 0 0 3px var(--navy); border-radius: var(--radius-m); }
.dr-sprite {
  position: absolute; left: 50%; top: 6px; width: 240px; height: 316px; transform: translateX(-50%);
  background-size: 1600% 100%; background-repeat: no-repeat; z-index: 1; transition: opacity .2s ease;
}
.dr-sprite.is-loading { opacity: .25; }
.dr-spot { position: absolute; left: 50%; bottom: 14px; width: 170px; height: 26px; transform: translateX(-50%); border-radius: 50%; background: rgba(28,39,84,.18); }
.dr-hint { text-align: center; font-weight: 700; font-size: .9rem; opacity: .7; margin: 0 auto 6px; }
.dr-info h3 { color: var(--ketchup-deep); margin-bottom: 6px; }
.dr-info p { margin: 0 0 6px; }
.dr-how { font-weight: 800; }
.dr-nav { display: flex; gap: 10px; margin-top: 14px; }
.dr-nav .btn { flex: 1; justify-content: center; min-height: 48px; }

/* ── The secret burger rain ─────────────────────────────────────────────── */
.egg { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.egg span { position: absolute; top: -60px; animation: rain linear forwards; }
@keyframes rain { to { transform: translateY(calc(100vh + 120px)) rotate(var(--spin, 360deg)); } }

/* ── Press kit ──────────────────────────────────────────────────────────── */
.press-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 5vw, 64px); align-items: start; padding: 36px 0 90px; }
.fact { background: var(--white); border-radius: var(--radius-l); padding: 24px; box-shadow: inset 0 0 0 2px rgba(28,39,84,.1), 8px 8px 0 var(--mustard); }
.fact dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.fact dt { font-weight: 600; opacity: .75; }
.fact dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.press-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 34px 0 12px; color: var(--ketchup-deep); }
.press-copy h2:first-child { margin-top: 0; }
.press-copy ul { padding-left: 22px; }
.press-copy li { margin-bottom: 6px; }
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0 0 20px; }
.assets a { display: block; text-decoration: none; font-weight: 700; font-size: .88rem; text-align: center; }
.assets img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 4px 0 rgba(28,39,84,.15); margin-bottom: 8px; background: var(--navy); }
.assets .wide { grid-column: span 2; }
@media (max-width: 880px) { .press-grid { grid-template-columns: 1fr; } }

/* ── Night diner ─────────────────────────────────────────────────────────
   The lights go down: navy rooms, bun text, mustard and ketchup as neon. */
[data-theme="night"] { color-scheme: dark; }
[data-theme="night"] body { background: #11173a; color: var(--bun); }
[data-theme="night"] .site-header, [data-theme="night"] .page-legal .site-header { background: #161f4a; }
[data-theme="night"] .site-header.is-scrolled { box-shadow: 0 2px 0 rgba(0,0,0,.35); }
[data-theme="night"] .brand span { color: var(--mustard); }
[data-theme="night"] .nav a { color: var(--bun); }
[data-theme="night"] .nav a:hover { background: rgba(255,241,214,.1); }
[data-theme="night"] .menu-toggle span { background: var(--bun); }
[data-theme="night"] .theme-toggle { background: rgba(255,241,214,.12); color: var(--mustard); }
[data-theme="night"] :focus-visible { outline-color: var(--mustard); }
@media (max-width: 880px) { [data-theme="night"] .nav { background: #161f4a; } }
[data-theme="night"] .hero { background: #161f4a; }
[data-theme="night"] .sign {
  color: #fff7e3; -webkit-text-stroke: 0.05em var(--ketchup);
  text-shadow: 0 0 6px rgba(255, 120, 80, .9), 0 0 22px rgba(229, 64, 42, .75), 0 0 48px rgba(255, 201, 60, .45);
  animation: neonOn 1.4s steps(1, end) 1;
}
@keyframes neonOn { 0%, 12%, 24% { opacity: .35; } 6%, 18%, 30%, 100% { opacity: 1; } }
[data-theme="night"] .hero .lede, [data-theme="night"] .store-note { color: var(--bun); }
[data-theme="night"] .btn--ghost { --b-ink: var(--bun); box-shadow: inset 0 0 0 2.5px var(--bun); }
[data-theme="night"] .btn[aria-disabled="true"]:hover { box-shadow: inset 0 0 0 2.5px var(--bun); }
[data-theme="night"] .sg-score { color: var(--mustard); }
[data-theme="night"] .sg-sound, [data-theme="night"] .sg-modes { background: rgba(255,241,214,.12); }
[data-theme="night"] .sg-sound path { fill: var(--bun); stroke: var(--bun); }
[data-theme="night"] .sg-sound .wave { fill: none; }
[data-theme="night"] .sg-mode { color: var(--bun); }
[data-theme="night"] .sg-mode[aria-pressed="true"] { background: var(--mustard); color: var(--navy); }
[data-theme="night"] .sg-hint { background: var(--mustard); color: var(--navy); }
[data-theme="night"] .floor { background-image: conic-gradient(#0b1030 25%, var(--mustard) 0 50%, #0b1030 0 75%, var(--mustard) 0); }
[data-theme="night"] .station .dot { background: #1f2a5e; box-shadow: inset 0 0 0 3px var(--bun); }
[data-theme="night"] .station[aria-selected="true"] .dot { background: var(--ketchup); }
[data-theme="night"] .station span { color: rgba(255,241,214,.75); }
[data-theme="night"] .station b { color: var(--bun); }
[data-theme="night"] .station[aria-selected="true"] b, [data-theme="night"] .loop-note { color: var(--mustard); }
[data-theme="night"] .phone { box-shadow: 0 0 0 3px #0b1030, 14px 16px 0 var(--ketchup); }
[data-theme="night"] .night { background: #0b1030; }
[data-theme="night"] .wardrobe { background: #7d1d10; }
[data-theme="night"] .event-now { background: #1c2754; box-shadow: inset 0 0 0 3px var(--bun), 8px 8px 0 var(--ketchup); }
[data-theme="night"] .event-now .when { color: var(--mustard); }
[data-theme="night"] .months { box-shadow: inset 0 0 0 2px var(--bun); }
[data-theme="night"] .months span { border-left-color: rgba(255,241,214,.15); }
[data-theme="night"] .months span:nth-child(odd) { background: rgba(255,201,60,.12); }
[data-theme="night"] .bar { background: #3a4ba0; }
[data-theme="night"] .bar .lbl { color: var(--bun); }
[data-theme="night"] .today::after { color: var(--mustard); }
[data-theme="night"] .qa { border-bottom-color: rgba(255,241,214,.16); }
[data-theme="night"] .ticket { color: var(--navy); }
[data-theme="night"] .ticket::after { background-image: radial-gradient(circle at 9px 9px, #11173a 6px, transparent 6.5px); }
[data-theme="night"] .site-footer { background: #0b1030; }
[data-theme="night"] .legal-hero { background: #11173a; }
[data-theme="night"] .legal-body, [data-theme="night"] .fact { background: #1c2754; box-shadow: inset 0 0 0 2px rgba(255,241,214,.12); }
[data-theme="night"] .fact { box-shadow: inset 0 0 0 2px rgba(255,241,214,.12), 8px 8px 0 var(--ketchup); }
[data-theme="night"] .legal-body h2, [data-theme="night"] .press-copy h2 { color: var(--mustard); }
[data-theme="night"] .legal-body a { color: var(--mustard); }
[data-theme="night"] .legal-body code { background: #11173a; }
[data-theme="night"] .dressing { background: #1c2754; color: var(--bun); box-shadow: 0 10px 0 #0b1030, 0 0 0 3px var(--bun); }
[data-theme="night"] .dr-info h3 { color: var(--mustard); }
[data-theme="night"] .dr-spot { background: rgba(0,0,0,.35); }
[data-theme="night"] .lost { background: #161f4a; }
[data-theme="night"] .lost .lede { color: var(--bun); }
@media (prefers-reduced-motion: reduce) { [data-theme="night"] .sign { animation: none; } }

/* v3.52 brand line above the hero headline. */
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 7px 16px 7px 14px;
  border-radius: 999px; background: var(--navy); color: var(--white);
  font: 400 1.15rem/1 var(--display); letter-spacing: 0.5px; box-shadow: 0 4px 0 var(--navy-2);
  white-space: nowrap; max-width: 100%; width: max-content;
}
@media (max-width: 380px) { .hero-kicker { font-size: 1rem; gap: 8px; padding: 6px 12px 6px 12px; } .hero-kicker span { font-size: 0.64rem; letter-spacing: 1px; } }
.hero-kicker span {
  font: 800 0.72rem/1 var(--body); letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; background: var(--mustard); color: var(--navy);
}
[data-theme="night"] .hero-kicker { background: var(--mustard); color: var(--navy); box-shadow: 0 4px 0 var(--mustard-deep); }
[data-theme="night"] .hero-kicker span { background: var(--navy); color: var(--mustard); }
