/* ==========================================================================
   Ember Döner (concept site by Kaaf Studio)
   Palette sampled from the approved hero footage: blue-black shadows,
   burner amber, ember orange, counter wood, toasted bread.
   ========================================================================== */

:root {
  color-scheme: dark;

  --canvas: #0C0E11;
  --panel: #16130F;
  --panel-2: #1E1913;
  --wood: #64432A;
  --accent: #EE7A2F;
  --accent-hover: #FF8E45;
  --accent-muted: rgba(238, 122, 47, .22);
  --amber: #E5AC65;
  --bread: #C98A2E;
  --text-primary: #F5EBDD;
  --text-secondary: #BCAE9D;
  --line: rgba(229, 172, 101, .16);
  --line-strong: rgba(229, 172, 101, .45);
  --focus: #FFC680;

  --font-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --nav-h: 68px;
  --r: 14px;
  --r-lg: 22px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --tshadow: 0 1px 2px rgba(5, 5, 10, .95), 0 3px 12px rgba(5, 5, 10, .78), 0 10px 44px rgba(5, 5, 10, .8);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--amber); text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: #1A0D04; font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .25s var(--ease-out); }
.skip:focus-visible { transform: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* one environment layer: slow warm glow + grain behind everything */
.env { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(238, 122, 47, .10), transparent 70%); }
.env::before {
  content: "";
  position: absolute;
  width: 80vmax;
  aspect-ratio: 1;
  left: -20vmax;
  top: -30vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(229, 172, 101, .07), transparent);
  animation: drift 80s var(--ease-in-out) infinite alternate;
  animation-delay: -30s;
}
.env::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { to { transform: translate(30vmax, 40vmax) scale(1.15); } }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* ---------- shared ---------- */

.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.sec-head { display: grid; gap: 16px; max-width: 720px; margin-block-end: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; justify-items: center; text-align: center; }
.sec-head h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.8rem); }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--text-secondary); max-width: 52ch; }
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease-out), background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn-fire { background: var(--accent); color: #1A0D04; box-shadow: 0 10px 30px -12px rgba(238, 122, 47, .9); }
.btn-fire:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(255, 142, 69, .95); }
.btn-ghost { background: rgba(12, 14, 17, .35); color: var(--text-primary); box-shadow: inset 0 0 0 1.5px rgba(245, 235, 221, .55); }
.btn-ghost:hover { background: rgba(245, 235, 221, .1); box-shadow: inset 0 0 0 1.5px rgba(245, 235, 221, .9); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  background: linear-gradient(to bottom, rgba(12, 14, 17, .75), rgba(12, 14, 17, 0));
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.nav.is-solid { background: rgba(12, 14, 17, .94); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-inline-end: auto; color: var(--text-primary); text-decoration: none; }
.flame { width: 26px; height: 26px; fill: var(--accent); filter: drop-shadow(0 0 8px rgba(238, 122, 47, .6)); }
.wordmark { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.wordmark span { margin-inline-start: .25em; color: var(--amber); font-weight: 700; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--text-primary); text-decoration: none; font-weight: 500; transition: background-color .2s; }
.nav-links a:hover { background: rgba(245, 235, 221, .08); }

/* ---------- hero: sticky stage scrubbed by scroll ---------- */

.hero { position: relative; height: 560vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #07090C; }
.poster, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.poster { background: #07090C center / cover no-repeat; }
.stage video { opacity: 0; transform: translateZ(0); will-change: transform; transition: opacity .6s var(--ease-out); }
.stage.video-ready video { opacity: 1; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 120% 90% at 50% 45%, rgba(5, 6, 10, 0) 40%, rgba(5, 6, 10, .6) 100%), linear-gradient(to bottom, rgba(5, 6, 10, .55), rgba(5, 6, 10, 0) 22%); }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.band {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: min(500px, 38vw);
  display: grid;
  gap: 18px;
  text-shadow: var(--tshadow);
  opacity: 0;
  visibility: hidden;
}
.band-left { left: clamp(20px, 6vw, 96px); transform: translateY(-50%); }
.band-right { right: clamp(20px, 6vw, 96px); transform: translateY(-50%); text-align: right; justify-items: end; }
.band-settle { top: 38%; width: min(430px, 31vw); }
/* per-band scrim: dims only around this band's column, the centre lane stays bright */
.band::before {
  content: "";
  position: absolute;
  inset: -45% -40%;
  z-index: -1;
  pointer-events: none;
  opacity: calc(.3 + .7 * var(--k, 1));
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(5, 6, 10, .66) 0%, rgba(5, 6, 10, .42) 46%, rgba(5, 6, 10, 0) 76%);
}
.band h1, .band h2, .static-title { font-size: clamp(3rem, 1.4rem + 4vw, 5.4rem); line-height: .9; }
.band h2 { font-size: clamp(2.8rem, 1.4rem + 3.8vw, 5rem); }
.eyebrow { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.band-sub { font-size: 1.15rem; line-height: 1.5; color: rgba(245, 235, 221, .9); max-width: 38ch; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 6px; }
.band .btn { text-shadow: none; }

/* split words: each entrance is scrubbed off the band's --k (0 to 1) */
.split .w { display: inline-block; white-space: nowrap; }
.band[data-entrance="settled"] .w,
.band[data-entrance="rise"] .w { --kc: clamp(0, (var(--k, 0) - var(--th, 0)) * 3, 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * 30px)); }
.band[data-entrance="drift"] .w { --kc: clamp(0, (var(--k, 0) - var(--th, 0)) * 2.8, 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * -26px)); }
.band[data-entrance="blur"] .w { --kc: clamp(0, (var(--k, 0) - var(--th, 0)) * 2.6, 1); opacity: var(--kc); transform: scale(calc(.82 + .18 * var(--kc))); }
.band .band-sub { --ks: clamp(0, (var(--k, 0) - .55) * 3, 1); opacity: var(--ks); transform: translateY(calc((1 - var(--ks)) * 12px)); }
.band .band-ctas { --kb: clamp(0, (var(--k, 0) - .75) * 4, 1); opacity: var(--kb); transform: translateY(calc((1 - var(--kb)) * 12px)); }
.band .eyebrow { opacity: clamp(0, var(--k, 0) * 3, 1); }

.ring { position: absolute; left: 50%; bottom: 34px; z-index: 3; width: 40px; height: 40px; margin-left: -20px; color: var(--amber); transform: rotate(-90deg); transition: opacity .5s var(--ease-out); }
.ring circle { transition: stroke-dashoffset .2s linear; }
.stage.video-ready .ring, .stage.video-failed .ring { opacity: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-secondary); opacity: 0; transition: opacity .6s var(--ease-out); }
.scroll-cue span { display: inline-block; padding-block-end: 22px; background: linear-gradient(var(--amber), var(--amber)) center bottom / 1px 16px no-repeat; animation: cue 2.4s var(--ease-in-out) infinite; animation-delay: -.4s; }
@keyframes cue { 50% { transform: translateY(6px); } }
.stage.video-ready .scroll-cue, .stage.video-failed .scroll-cue { opacity: 1; }
.stage.is-scrolled .scroll-cue { opacity: 0; }

.static-copy { display: none; }

/* ---------- static hero: phones, portrait tablets, reduced motion ----------
   These five conditions must match the GATES list in main.js exactly. */
@media (max-width: 720px), (orientation: portrait) and (max-width: 1024px), (orientation: portrait) and (pointer: coarse), (orientation: landscape) and (pointer: coarse) and (max-height: 560px), (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .stage { position: relative; height: auto; min-height: 100svh; display: flex; align-items: flex-end; }
  .stage video, .band, .ring, .scroll-cue, .sparks { display: none; }
  .poster { background-image: url("../media/hero-ending.jpg"); background-position: 50% 40%; }
  .scrim { background: linear-gradient(to top, rgba(5, 6, 10, .95) 0%, rgba(5, 6, 10, .75) 35%, rgba(5, 6, 10, .1) 70%), linear-gradient(to bottom, rgba(5, 6, 10, .6), rgba(5, 6, 10, 0) 20%); }
  .static-copy { position: relative; z-index: 2; display: grid; gap: 16px; padding: 0 var(--gutter) clamp(40px, 8vh, 72px); text-shadow: var(--tshadow); }
  .static-copy .btn { text-shadow: none; }
  .static-title { font-size: clamp(3rem, 12vw, 4.8rem); }
}

/* ---------- menu ---------- */

.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.dish { display: grid; gap: 18px; align-content: start; }
.dish-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--panel); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line); }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.dish:hover .dish-photo img { transform: scale(1.05); }
.dish-info { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 16px; }
.dish-info h3 { font-size: 2.2rem; }
.price { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 500; color: var(--amber); }
.dish-info p { grid-column: 1 / -1; color: var(--text-secondary); }
.sides { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-block-start: clamp(40px, 5vw, 56px); padding-block-start: 24px; border-block-start: 1px solid var(--line); }
.sides li { display: flex; align-items: baseline; gap: 12px; }
.sides b { font-family: var(--font-mono); font-weight: 500; color: var(--amber); }

/* ---------- how it's built ---------- */

.built-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.built-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.layers-wrap { position: relative; padding-inline-start: 64px; }
.fuse { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 4px; height: calc(100% - 44px); overflow: visible; }
.fuse path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--fuse, 0)); vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(238, 122, 47, .8)); }
.layers { display: grid; gap: clamp(28px, 4vw, 44px); }
.layer { position: relative; }
.layer-no { position: absolute; left: -64px; top: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--panel-2); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--font-mono); font-size: .8rem; color: var(--amber); transition: background-color .4s var(--ease-out), color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.layer.lit .layer-no { background: var(--accent); color: #1A0D04; box-shadow: 0 0 0 6px var(--accent-muted), 0 0 24px rgba(238, 122, 47, .6); }
.layer h3 { font-size: 2rem; margin-block-end: 6px; }
.layer p { color: var(--text-secondary); }

/* ---------- build your döner ---------- */

.build { background: linear-gradient(to bottom, transparent, rgba(30, 25, 19, .55) 30%, rgba(30, 25, 19, .55) 70%, transparent); }
.builder { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.builder-options { display: grid; gap: 22px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { margin-block-end: 10px; padding: 0; font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-weight: 500;
  transition: background-color .25s var(--ease-out), box-shadow .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.chips em { font-style: normal; font-family: var(--font-mono); font-size: .85rem; color: var(--text-secondary); }
.chips label:hover span { box-shadow: inset 0 0 0 1.5px var(--amber); }
.chips input:checked + span { background: var(--accent); color: #1A0D04; box-shadow: 0 8px 24px -10px rgba(238, 122, 47, .9); }
.chips input:checked + span em { color: rgba(26, 13, 4, .75); }
.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.ticket {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.ticket-label { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); }
.ticket-name { font-size: 2.3rem; }
.stack { display: grid; gap: 4px; justify-items: center; padding: 18px 0 8px; }
.stack span { display: block; height: 14px; border-radius: 8px; transition: width .5s var(--ease-out), height .5s var(--ease-out), opacity .4s var(--ease-out), background .4s var(--ease-out), transform .5s var(--ease-out); }
.s-bread { width: 78%; height: 20px !important; border-radius: 40px 40px 10px 10px !important; background: linear-gradient(180deg, #E6B062, #B87A2A); }
.s-bread.s-bottom { border-radius: 10px 10px 30px 30px !important; }
.s-meat { width: 84%; height: 26px !important; background: repeating-linear-gradient(100deg, #7A4A26 0 10px, #9A6236 10px 18px, #5E3519 18px 24px); }
.s-salad { width: 88%; background: repeating-linear-gradient(90deg, #6FA552 0 12px, #B5304A 12px 18px, #D9512F 18px 26px, #8CC06C 26px 34px); }
.s-sauce { width: 80%; height: 8px !important; background: #F1E6D2; }
.s-extra { width: 70%; height: 0 !important; opacity: 0; background: repeating-linear-gradient(90deg, #F7F3EA 0 10px, transparent 10px 16px); }
.stack.has-extra .s-extra { height: 10px !important; opacity: 1; }
.stack.extra-meat .s-meat { height: 38px !important; }
.stack.sauce-herb .s-sauce { background: #A9C77A; }
.stack.sauce-chili .s-sauce { background: #D9472B; }
.stack.wrap .s-bread { width: 92%; height: 10px !important; border-radius: 8px !important; background: linear-gradient(180deg, #EBC788, #C7954B); }
.stack.box .s-bread:not(.s-bottom) { opacity: 0; height: 0 !important; }
.stack.box .s-bread.s-bottom { height: 22px !important; border-radius: 6px 6px 14px 14px !important; background: repeating-linear-gradient(90deg, #E9B44C 0 6px, #C98A2E 6px 9px); }
.ticket-lines { display: grid; gap: 8px; padding-block: 14px; border-block: 1px solid var(--line); color: var(--text-secondary); font-size: .95rem; }
.ticket-lines li { display: flex; justify-content: space-between; gap: 12px; }
.ticket-lines li b { color: var(--text-primary); font-weight: 500; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }
.ticket-total b { color: var(--amber); }
.added { min-height: 1.4em; font-size: .9rem; color: var(--amber); text-align: center; }

/* ---------- reviews ---------- */

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.quote { display: grid; gap: 14px; align-content: start; padding-block-start: 22px; border-block-start: 2px solid var(--accent); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 700; line-height: 1.05; text-transform: uppercase; }
.quote p { font-family: var(--font-mono); font-size: .875rem; color: var(--text-secondary); }

/* ---------- visit ---------- */

.visit-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.visit-photo { overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 0 0 1px var(--line); }
.visit-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.visit-info { display: grid; gap: 16px; }
.visit-info h2 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.6rem); }
.address { font-size: 1.25rem; font-weight: 600; }
.hours { display: grid; gap: 8px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-block-end: 8px; border-block-end: 1px solid var(--line); }
.hours dt { color: var(--text-secondary); }
.hours dd { margin: 0; font-family: var(--font-mono); }
.note { color: var(--text-secondary); font-size: .95rem; }

/* ---------- order ---------- */

.order { overflow: hidden; background: radial-gradient(ellipse 70% 80% at 80% 100%, rgba(238, 122, 47, .18), transparent 70%); }
.order-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.order-grid h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.8rem); margin-block: 16px 18px; }
.order-card { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.order-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .95rem; }
.req, .opt { font-family: var(--font-mono); font-weight: 400; font-size: .75rem; color: var(--text-secondary); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid rgba(229, 172, 101, .5);
  border-radius: 12px;
  background: #0E0C0A;
  color: var(--text-primary);
  transition: border-color .2s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5AC65' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-inline-end: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--amber); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #FF8A7A; }
.err { font-size: .9rem; color: #FFA597; }
.err[hidden] { display: none; }
.order-done { display: grid; gap: 14px; justify-items: start; }
.order-done[hidden] { display: none; }
.order-done:focus { outline: none; }
.done-title { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; text-transform: uppercase; }
.order-done p:not(.done-title) { color: var(--text-secondary); }
.sparks-order { opacity: .7; }

/* ---------- faq ---------- */

.faq-list { max-width: 780px; margin-inline: auto; border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding-block: 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: transform .3s var(--ease-out), background-color .3s var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; border-radius: 2px; background: var(--text-primary); transition: transform .3s var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--accent); box-shadow: none; transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: #1A0D04; }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { padding-block-end: 22px; color: var(--text-secondary); max-width: 62ch; }

/* ---------- footer ---------- */

.footer { padding-block: 56px 96px; border-block-start: 1px solid var(--line); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.disclosure { max-width: 56ch; color: var(--text-secondary); font-size: .95rem; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.demo-badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(12, 14, 17, .82);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.demo-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.demo-badge:hover { box-shadow: inset 0 0 0 1px var(--amber); }

/* ---------- reveals ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in.settled, .js .reveal.in.settled[style] { transition-delay: 0s; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-grid, .quotes { grid-template-columns: 1fr; max-width: 560px; }
  .built-grid, .builder, .visit-grid, .order-grid { grid-template-columns: 1fr; }
  .built-grid .sec-head, .ticket { position: static; }
  .band { width: min(460px, 44vw); }
}
@media (max-width: 720px) {
  .demo-badge { display: none; }   /* the footer carries the credit on small screens */
}
@media (max-width: 480px) {
  .nav .btn-sm { padding: 0 14px; font-size: .9rem; }
  .wordmark { font-size: 1.35rem; }
}
@media (max-height: 560px) and (min-width: 721px) { .scroll-cue, .ring { display: none; } }
@media (pointer: coarse) { .chips span, .btn { min-height: 46px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .fuse path { stroke-dashoffset: 0; }
  .layer .layer-no { background: var(--accent); color: #1A0D04; }
  .env::before { animation: none; }
}
