/* Gully Race: the website. The app's own language: smoked glass, hairlines, the gold of its buttons, Baloo 2 to read and
   Rajdhani for what is pressed. The hero's glass is drawn in WebGL (js/glass.js); everything here is the page around it. */
:root {
  --bg: #06070b; --ivory: #f4efe4; --ivory-2: rgba(244, 239, 228, .8); --ivory-3: rgba(244, 239, 228, .62); --dim: #8b8f99;
  --hair: rgba(255, 255, 255, .12); --hair-2: rgba(255, 255, 255, .2);
  --gold: #e3c489; --gold-hot: #c59a4f; --gold-pale: #f3e2b4;
  --gold-grad: linear-gradient(100deg, #f7e9c2, #e3c489 45%, #b98a3e);
  --gold-line: linear-gradient(90deg, rgba(227,196,137,0), rgba(227,196,137,.85) 22%, rgba(227,196,137,.85) 78%, rgba(227,196,137,0));
  --rani: #e5007d; --kesari: #ff6a13; --haldi: #ffc629;
  --font-display: "Baloo 2", "Baloo Tamma 2", "Baloo Da 2", "Baloo Thambi 2", "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif;
  --font-util: Rajdhani, "Baloo 2", "Arial Narrow", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: min(1180px, calc(100% - 44px));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ivory); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 500 18px/1.55 var(--font-display); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ivory); color: #111; font: 700 14px var(--font-util); letter-spacing: .12em; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- the hero ---------- */
#hero { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; background: var(--bg) url(../assets/poster.jpg) center / cover no-repeat; }
/* (the film plays where the hero is, under the canvas that draws it: a video the browser thinks is out of sight gets paused) */
#promo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.nogl #gl { display: none; }
.hero-ui { position: absolute; inset: 0; z-index: 2; will-change: opacity, transform; display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)); }
.topbar { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { position: relative; display: inline-flex; align-items: center; gap: 11px; height: 42px; padding: 0 17px; border: 0; border-radius: 12px; background: transparent;
  color: var(--ivory); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pill-t { font: 700 12px/1 var(--font-util); letter-spacing: .26em; white-space: nowrap; padding-top: 1px; }
.pill-t b { font-weight: 700; color: var(--gold); }
.mark { width: 9px; height: 9px; background: var(--gold-grad); transform: rotate(45deg); flex: none; box-shadow: 0 0 12px rgba(227,196,137,.55); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.eq i { width: 2px; height: 4px; background: var(--ivory); border-radius: 1px; opacity: .8; transition: height .3s var(--ease-out); }
.snd-on .eq i { background: var(--gold); animation: eq .9s ease-in-out infinite alternate; }
.snd-on .eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.snd-on .eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.6s; }
.snd-on .eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.2s; }
@keyframes eq { from { height: 3px; } to { height: 13px; } }
.stage { align-self: center; display: grid; justify-items: center; gap: clamp(18px, 3.2vh, 34px); width: 100%; margin-top: -2vh; }
#logo { width: min(570px, 40vw, 60vh); height: auto; filter: drop-shadow(0 22px 40px rgba(0,0,0,.5)); user-select: none; -webkit-user-drag: none;
  opacity: 0; transform: translate3d(0, 14px, 0) scale(.97); transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out); }
.plate { padding: 10px; border-radius: 14px; opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity 1s var(--ease-out) .25s, transform 1.2s var(--ease-out) .25s; }
.ready #logo, .ready .plate { opacity: 1; transform: none; }
.cue { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; padding: 12px 16px 10px; border-radius: 12px; text-decoration: none; color: var(--ivory-2); }
.cue-line { width: 1px; height: 22px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
/* glass the page draws itself where WebGL is missing */
.nogl .pill, .nogl .plate, .nogl .cue { background: rgba(8,9,12,.5); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px var(--hair), 0 14px 34px rgba(0,0,0,.4); }

/* the gold button: the app's .sr-go */
.go { position: relative; height: 62px; min-width: 272px; padding: 0 30px 0 32px; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 3px; color: #17110a; text-decoration: none; background: var(--gold-grad); border-radius: 4px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,244,214,.35) inset, 0 14px 40px rgba(0,0,0,.55), 0 0 34px rgba(227,196,137,.32);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), filter .2s; -webkit-tap-highlight-color: transparent; }
.go::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: 0; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translate3d(-150%, 0, 0); animation: goshine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes goshine { 0%, 55% { transform: translate3d(-150%, 0, 0); } 85%, 100% { transform: translate3d(325%, 0, 0); } }
.go span { font: 700 26px/1 var(--font-util); letter-spacing: .3em; white-space: nowrap; }
.go small { font: 700 10.5px/1 var(--font-util); letter-spacing: .26em; opacity: .78; white-space: nowrap; }
.go:hover { transform: translate3d(0, -1px, 0); box-shadow: 0 0 0 1px rgba(255,244,214,.5) inset, 0 18px 46px rgba(0,0,0,.6), 0 0 52px rgba(227,196,137,.5); }
.go:active { filter: brightness(.9); transform: none; }
.go-sm { height: 54px; min-width: 214px; padding: 0 24px 0 26px; }
.go-sm span { font-size: 22px; }
.go-sm small { font-size: 10px; }

/* the dock: once the hero has gone by, the logo and PLAY stay at hand */
.dock { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 50%; z-index: 30; width: min(1180px, calc(100% - 24px)); height: 58px; padding: 0 9px 0 16px;
  display: flex; align-items: center; justify-content: space-between; border-radius: 16px; transform: translate3d(-50%, -140%, 0); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s; background: rgba(10,11,15,.55); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px var(--hair), 0 18px 44px rgba(0,0,0,.45); }
.dock.on { transform: translate3d(-50%, 0, 0); opacity: 1; }
.broken .dock { display: none; }
.dock-logo img { height: 38px; width: auto; }
.go-xs { height: 42px; min-width: 0; padding: 0 18px 0 20px; }
.go-xs span { font-size: 16px; letter-spacing: .22em; }

/* ---------- the page below ---------- */
#page { position: relative; z-index: 2; background: var(--bg); }
.sec { position: relative; padding: clamp(84px, 12vw, 168px) 0; }
.sec-head { margin-bottom: clamp(34px, 5vw, 64px); }
h2 { font: 800 clamp(46px, 7.4vw, 104px)/.9 var(--font-display); letter-spacing: -.012em; color: var(--ivory); margin-bottom: .26em; text-wrap: balance; }
.lede { max-width: 33em; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--ivory-2); text-wrap: pretty; }
#tour { padding-bottom: clamp(60px, 8vw, 110px); }

/* the cities: one long reel, a card at a time */
.reel { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 6px max(22px, calc((100vw - 1180px) / 2)) 26px; scroll-padding-inline: max(22px, calc((100vw - 1180px) / 2)); }
.reel::-webkit-scrollbar { display: none; }
.reel:focus-visible { outline-offset: -4px; }
.city { position: relative; flex: 0 0 min(900px, 86vw); scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: #0d0e13;
  box-shadow: 0 0 0 1px var(--hair), 0 24px 60px rgba(0,0,0,.5); }
.city-art { position: relative; aspect-ratio: 1200 / 540; overflow: hidden; }
.city-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out); }
.city:hover .city-art img { transform: scale(1.06); }
.city-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,11,0) 45%, rgba(6,7,11,.55) 100%); }
.city-num { position: absolute; left: 18px; top: 16px; z-index: 1; font: 700 12px/1 var(--font-util); letter-spacing: .26em; color: var(--ivory); padding: 8px 11px 7px;
  border-radius: 9px; background: rgba(8,9,12,.42); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px var(--hair); }
.city-cap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 8px 34px; padding: 26px 30px 30px; }
.city-cap::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 1px; background: var(--gold-line); opacity: .55; }
.city-local { grid-column: 1; font: 700 17px/1.3 var(--font-display); color: var(--gold); letter-spacing: .01em; }
.city h3 { grid-column: 1; font: 800 clamp(40px, 4.2vw, 58px)/.92 var(--font-display); letter-spacing: -.01em; }
.city-title { grid-column: 1; font: 700 12.5px/1.35 var(--font-util); letter-spacing: .22em; color: var(--ivory-3); text-transform: uppercase; }
.city-blurb { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 16.5px; line-height: 1.6; color: var(--ivory-2); text-wrap: pretty; }
.reel-nav { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.nav-btn { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px var(--hair); transition: background .25s, box-shadow .25s; }
.nav-btn:hover { background: rgba(227,196,137,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(227,196,137,.5); }
.nav-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ivory); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn:disabled { opacity: .35; cursor: default; }
.reel-dots { display: flex; gap: 7px; flex-wrap: wrap; }
.reel-dots i { width: 22px; height: 3px; border-radius: 2px; background: var(--hair-2); transition: background .3s, width .4s var(--ease-out); }
.reel-dots i.on { width: 40px; background: var(--gold); }

/* the arsenal */
#fight { background: radial-gradient(1200px 600px at 85% 0%, rgba(229,0,125,.07), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(255,106,19,.06), transparent 60%); }
.arsenal { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.arm { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 318px; padding: 26px 22px 24px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px var(--hair); }
.arm-hi { font: 800 clamp(30px, 2.5vw, 38px)/1.08 var(--font-display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-top: 4px; }
.arm h3 { font: 700 12.5px/1.3 var(--font-util); letter-spacing: .22em; color: var(--ivory); }
.arm-tag { font-size: 16px; line-height: 1.4; color: var(--gold-pale); }
.arm-does { margin-top: auto; font-size: 15.5px; line-height: 1.5; color: var(--ivory-3); padding-top: 14px; border-top: 1px solid var(--hair); }

/* ride now */
#get { overflow: hidden; }
.get-bg { position: absolute; inset: 0; background: url(../assets/hero.webp) 70% 40% / cover no-repeat; opacity: .5; }
.get-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgba(6,7,11,.7) 46%, rgba(6,7,11,.35)), linear-gradient(0deg, var(--bg), transparent 40%, transparent 70%, var(--bg)); }
.get-in { position: relative; }
.plats { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; margin-top: clamp(26px, 4vw, 44px); max-width: 1000px; }
.plat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 26px 26px; border-radius: 18px;
  background: rgba(10,11,15,.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px var(--hair), 0 20px 50px rgba(0,0,0,.4); }
.plat h3 { font: 800 26px/1.1 var(--font-display); }
.plat p { color: var(--ivory-3); font-size: 16px; margin-bottom: 18px; }
.plat .go { margin-top: auto; }
.soon { margin-top: auto; display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 10px; font: 700 12px/1 var(--font-util); letter-spacing: .24em;
  text-transform: uppercase; color: var(--ivory-2); box-shadow: inset 0 0 0 1px var(--hair-2); text-decoration: none; cursor: default; }
.soon.live { cursor: pointer; color: #17110a; background: var(--gold-grad); box-shadow: none; }
.is-android [data-plat="android"], .is-ios [data-plat="ios"] { order: -1; }

/* footer */
.foot { position: relative; padding: 120px 0 calc(40px + env(safe-area-inset-bottom)); overflow: hidden; }
.skyline { position: absolute; left: 50%; bottom: 0; width: max(1600px, 120vw); aspect-ratio: 2400 / 640; transform: translateX(-50%); background: url(../assets/skyline.webp) center bottom / contain no-repeat; opacity: .16; pointer-events: none; }
.foot-in { position: relative; display: grid; gap: 8px; color: var(--ivory-3); font-size: 15px; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); font-size: 17px; }
.foot-c { font: 700 11.5px/1 var(--font-util); letter-spacing: .24em; margin-top: 14px; color: var(--dim); }

/* ---------- through the glass ---------- */
#beyond { position: fixed; inset: 0; z-index: 40; background: var(--bg); }
#beyond.pre { visibility: hidden; pointer-events: none; }
.layer { position: absolute; inset: 0; }
#gameWrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: var(--bg); }
.loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; background: var(--bg); transition: opacity .3s; }
.loading .bar { width: 220px; height: 3px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.loading .bar i { display: block; height: 100%; width: 30%; background: var(--gold-grad); animation: load 1.4s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.loading.gone { opacity: 0; pointer-events: none; }
#appPanel { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.app-bg { position: fixed; inset: 0; background: url(../assets/art/mumbai.webp) center / cover no-repeat; filter: blur(2px) saturate(1.1); transform: scale(1.05); }
.app-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,11,.55), rgba(6,7,11,.86) 55%, var(--bg)); }
.app-in { position: relative; min-height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: calc(64px + env(safe-area-inset-top)) 24px calc(36px + env(safe-area-inset-bottom)); }
.app-logo { width: min(330px, 74vw); margin-bottom: 8px; }
#appPanel h2 { font-size: clamp(32px, 8.6vw, 48px); margin-bottom: 8px; }
.store { display: grid; gap: 10px; width: min(360px, 100%); }
.store-btn { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; text-align: left; text-decoration: none;
  background: rgba(10,11,15,.55); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px var(--hair-2), 0 18px 40px rgba(0,0,0,.4); color: var(--ivory); }
.store-btn svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store-btn b { display: block; font: 800 20px/1.15 var(--font-display); }
.store-btn em { display: block; font-style: normal; font: 700 11px/1.3 var(--font-util); letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-3); }
.store-btn .tag { font: 700 10.5px/1 var(--font-util); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: 7px 9px 6px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(227,196,137,.45); }
.or { font: 700 11px/1 var(--font-util); letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-3); margin: 6px 0; }
.hint { font-size: 15px; color: var(--ivory-3); }
.other { font-size: 14px; color: var(--dim); margin-top: auto; padding-top: 18px; }
.close { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(10,11,15,.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px var(--hair-2); }
.close svg { width: 20px; height: 20px; stroke: var(--ivory); stroke-width: 2; stroke-linecap: round; }
/* the glass, once it breaks: on top of everything */
#gl.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; pointer-events: none; }
.broken #page, .broken .hero-ui { visibility: hidden; }

/* ---------- a phone held upright: turn it first ---------- */
/* (by media query, so it is there at the first paint, before any script: a phone narrower than 600 px in portrait) */
#turn { display: none; }
@media (orientation: portrait) and (max-width: 599px) and (pointer: coarse) {
  html, body { overflow: hidden; height: 100%; }
  #turn { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: var(--bg); text-align: center;
    padding: max(28px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom)); }
}
.turn-bg { position: absolute; inset: 0; background: url(../assets/poster.jpg) 38% center / cover no-repeat; filter: blur(3px) saturate(1.15); transform: scale(1.06); }
.turn-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 70% at 50% 46%, rgba(6,7,11,.52), rgba(6,7,11,.9) 70%), linear-gradient(180deg, rgba(6,7,11,.3), rgba(6,7,11,.8)); }
.turn-in { position: relative; display: grid; justify-items: center; gap: 10px; }
.turn-logo { width: min(290px, 72vw); height: auto; margin-bottom: 10px; filter: drop-shadow(0 12px 28px rgba(0,0,0,.55)); }
.turn-phone { position: relative; width: 150px; height: 150px; margin: 4px 0 2px; }
.turn-phone svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.turn-arc path { stroke: var(--gold); stroke-width: 3.2; }
.turn-arc { animation: turn-arc 3.2s var(--ease-out) infinite; }
.turn-ph { animation: turn-ph 3.2s var(--ease-out) infinite; transform-origin: 50% 50%; }
.turn-ph .body { stroke: var(--ivory); stroke-width: 3.4; fill: rgba(244,239,228,.05); }
.turn-ph .screen { fill: rgba(227,196,137,.14); stroke: rgba(244,239,228,.25); stroke-width: 1; }
.turn-ph .road { stroke: var(--gold-pale); stroke-width: 1.6; opacity: .75; }
.turn-ph .bike { fill: var(--kesari); stroke: none; }
/* (upright for a moment, swung round to its side, held there, gone, and again) */
@keyframes turn-ph { 0%, 14% { transform: rotate(0deg); opacity: 1; } 44%, 80% { transform: rotate(-90deg); opacity: 1; } 92% { transform: rotate(-90deg); opacity: 0; } 100% { transform: rotate(0deg); opacity: 0; } }
@keyframes turn-arc { 0%, 10% { opacity: 0; transform: rotate(18deg); } 22%, 46% { opacity: 1; transform: rotate(0deg); } 62%, 100% { opacity: 0; transform: rotate(-24deg); } }
.turn-arc { transform-origin: 50% 50%; }
#turnH { font: 800 clamp(30px, 9vw, 40px)/1.05 var(--font-display); letter-spacing: .005em; color: var(--ivory); text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.turn-hi { font: 600 19px/1.3 var(--font-display); color: var(--gold-pale); }
.turn-hi::before { content: ""; display: block; width: 120px; height: 1px; margin: 4px auto 12px; background: var(--gold-line); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .arsenal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .city-cap { grid-template-columns: 1fr; padding: 20px 20px 24px; }
  .city-cap::before { left: 20px; right: 20px; }
  .city-blurb { grid-column: 1; grid-row: auto; margin-top: 8px; font-size: 16px; }
  .plats { grid-template-columns: 1fr; max-width: 520px; }
  .arsenal { grid-template-columns: 1fr 1fr; }
  .arm { min-height: 0; }
}
@media (max-width: 640px) {
  #logo { width: min(88vw, 52vh); }
  .pill { height: 38px; padding: 0 13px; gap: 9px; }
  .pill-t { font-size: 11px; letter-spacing: .22em; }
  .go { min-width: min(272px, 74vw); }
  .arsenal { grid-template-columns: 1fr; }
  .arm { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 22px 20px; }
  .arm-hi { flex: 1 1 100%; }
  .arm-does { flex: 1 1 100%; margin-top: 4px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  #logo { width: min(46vw, 50vh); }
  .stage { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .go::after, .cue-line, .snd-on .eq i, .loading .bar i { animation: none; }
  #logo, .plate { transition: opacity .4s; transform: none; }
  .city-art img { transition: none; }
  .turn-ph { animation: none; transform: rotate(-90deg); }
  .turn-arc { animation: none; opacity: 1; }
}
