/* The landing page: scrolling is descending. --heat runs 0 -> 1 from Depth 1 to 190. */

:root { --heat: 0; --rail: clamp(92px, 9vw, 132px); }
/* The background: a cold layer and a hot one fixed behind the page; the hot one fades in with --heat, an opacity
   change the compositor handles (a fixed background-attachment repainted the whole screen on every scroll). */
body { background: transparent; }
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -10; pointer-events: none; }
body::before { background: radial-gradient(120vw 80vh at 50% 120%, rgba(255, 70, 10, .05), transparent 70%), linear-gradient(180deg, #0d0b0b, #0f0b09); }
body::after {
  background: radial-gradient(120vw 80vh at 50% 120%, rgba(255, 70, 10, .33), transparent 70%), linear-gradient(180deg, #0d0b0b, #3a0906);
  opacity: var(--heat); will-change: opacity;
}
main { padding-left: var(--rail); }
video { background: #0d0806; }

/* ---------- Depth gauge ---------- */
.gauge { position: fixed; z-index: 50; left: 0; top: 0; bottom: 0; width: var(--rail); display: flex; flex-direction: column; align-items: center; padding: 22px 0 96px; pointer-events: none; }
.gauge-panel {
  position: relative; width: calc(var(--rail) - 22px); padding: 12px 6px 10px; text-align: center;
  background: linear-gradient(180deg, rgba(30, 10, 8, .92), rgba(14, 6, 5, .92));
  border: 1px solid #8a1414; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8), inset 0 0 18px rgba(195, 22, 28, .25), 0 0 20px rgba(0, 0, 0, .6);
}
.gauge-panel::before, .gauge-panel::after { content: ""; position: absolute; left: 50%; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); background: #c3161c; box-shadow: 0 0 8px #ff2a1a; }
.gauge-panel::before { top: -5px; } .gauge-panel::after { bottom: -5px; }
.gauge-label { display: block; font: 400 clamp(16px, 1.6vw, 22px)/1 var(--display); color: var(--bone); }
.gauge-num {
  display: block; font: 400 clamp(40px, 4.4vw, 64px)/1 var(--display); margin: 2px 0;
  color: color-mix(in srgb, var(--bone), var(--molten) calc(var(--heat) * 100%));
  text-shadow: 0 0 calc(4px + var(--heat) * 22px) rgba(255, 90, 20, calc(.2 + var(--heat) * .6));
  font-variant-numeric: tabular-nums;
}
.gauge-sub { display: block; font: 500 11px/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.gauge-shaft { position: relative; flex: 1; width: 3px; margin-top: 18px; background: repeating-linear-gradient(180deg, #3a2a22 0 6px, transparent 6px 10px); }
.gauge-shaft i { position: absolute; left: 50%; top: 0; width: 13px; height: 13px; transform: translate(-50%, -50%) rotate(45deg); background: var(--molten); box-shadow: 0 0 14px var(--ember), 0 0 3px #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; margin-left: calc(var(--rail) * -1); padding-left: var(--rail); isolation: isolate; }
/* The still is the section's own background, so the hero is never a dark box while the script and clip load. */
.hero { background: #0d0806 url("assets/shots/hero.webp") 50% 50% / cover no-repeat; }
@media (max-aspect-ratio: 4/5) { .hero { background-image: url("assets/shots/hero-phone.webp"); } }
.hero-bg { z-index: -3; }   /* no grading: the clip shows the game's own look (encode fixed 2026-12-01) */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 70% at 50% 42%, transparent 55%, rgba(15, 11, 9, .55) 100%), linear-gradient(180deg, transparent 70%, #0d0b0b); }
.hero-embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-in { text-align: center; padding: 8vh var(--gutter) 14vh; }
.hero h1 { margin: 0 auto; width: min(560px, 78vw); }
.hero-logo { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(255, 80, 10, .35)); animation: logo-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.hero-tag { font: 400 clamp(20px, 1.2rem + .8vw, 30px)/1.2 var(--serif); margin: .4em 0 1.4em; text-shadow: 0 2px 12px #000; letter-spacing: .02em; text-wrap: balance; }
h2, .stop-head p { text-wrap: balance; }
.hero-loop { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin: -.6em 0 2em; color: var(--molten); letter-spacing: .22em; text-shadow: 0 1px 8px #000; }
.hero-loop i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--crimson); box-shadow: 0 0 8px #ff2a1a; }
.stores { display: flex; flex-wrap: wrap; gap: 18px 22px; justify-content: center; }
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 22px; }
.cta-links a { color: var(--brass-hi); text-decoration: none; border-bottom: 1px solid rgba(201, 162, 74, .5); padding-bottom: 2px; }
.cta-links a:hover { color: #fff3cf; border-color: var(--ember); }
.facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 24px 0 0; padding: 0; color: #cdbda5; text-shadow: 0 1px 6px #000; }
.facts li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 14px .2em; transform: rotate(45deg); background: var(--crimson); vertical-align: middle; }
.descend { position: absolute; bottom: 26px; left: calc(50% + var(--rail) / 2); transform: translateX(-50%); color: var(--ash); text-decoration: none; display: grid; justify-items: center; gap: 8px; }
.descend i { width: 2px; height: 46px; background: linear-gradient(var(--molten), transparent); animation: drip 2.2s ease-in infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Stops ---------- */
.stop { position: relative; padding: clamp(90px, 14vh, 170px) var(--gutter); }
.stop-head { max-width: 780px; margin: 0 auto clamp(34px, 5vh, 60px); text-align: center; }
.stop-depth { color: var(--crimson-text); margin: 0 0 .9em; display: inline-flex; align-items: center; gap: 14px; }
.stop-depth::before, .stop-depth::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--crimson)); }
.stop-depth::after { transform: scaleX(-1); }
.stop h2 { font-size: clamp(42px, 3rem + 2.6vw, 88px); color: var(--bone); margin-bottom: .32em; text-shadow: 0 0 30px rgba(255, 60, 10, calc(var(--heat) * .5)); }
.stop-head p:last-child { color: #cdbda5; max-width: 640px; margin: 0 auto; }
.frame { border: 1px solid #5c1010; box-shadow: 0 0 0 4px #0b0605, 0 0 0 5px #3b0c0b, 0 24px 60px rgba(0, 0, 0, .7); }
figure { margin: 0; }
figcaption.ui, figure .ui { color: var(--ash); }

/* ---------- Gameplay reel ---------- */
.reel { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; max-width: 1500px; margin: 0 auto; }
.reel figure { position: relative; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; border: 1px solid #5c1010; box-shadow: 0 0 0 4px #0b0605, 0 0 0 5px #3b0c0b, 0 24px 60px rgba(0, 0, 0, .7); }
.reel-main { grid-row: span 2; aspect-ratio: 16 / 9; }
.reel-side { min-height: 0; }
.reel figcaption { position: absolute; left: 12px; bottom: 10px; padding: 5px 9px 4px; background: rgba(12, 5, 4, .78); border: 1px solid #5a1a14; color: var(--bone); }

/* ---------- Arsenal: gun vs vow ---------- */
.guns { display: grid; gap: clamp(46px, 7vh, 80px); max-width: 1400px; margin: 0 auto; }
.guns.is-tabbed { gap: 28px; }
.gun-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.gun-tab {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 6px; min-width: 180px; padding: 14px 18px 11px;
  color: #b8a58c; background: linear-gradient(180deg, #24170e, #140c07); border: 1px solid #3a2610;
  box-shadow: 0 0 0 3px #0c0705, 0 8px 22px rgba(0, 0, 0, .5); transition: color .2s, border-color .2s, box-shadow .2s;
}
.gun-tab b { font: 400 clamp(26px, 2.2vw, 36px)/1 var(--display); }
.gun-art { display: grid; place-items: center; width: 100%; height: 60px; }
.gun-art img { width: auto; height: auto; max-width: 150px; max-height: 60px; opacity: .8; filter: grayscale(.5) brightness(1.7); transition: opacity .2s, filter .2s; }
.gun-tab:hover .gun-art img { opacity: .9; }
.gun-tab[aria-selected="true"] .gun-art img { opacity: 1; filter: brightness(1.5) saturate(1.2) drop-shadow(0 0 10px rgba(255, 90, 30, .45)); }
.gun-tab .ui { font-size: 11px; color: var(--ash); }
.gun-tab:hover { color: var(--bone); border-color: #6b4a1e; }
.gun-tab:focus-visible { outline: 2px solid var(--molten); outline-offset: 3px; }
.gun-tab[aria-selected="true"] { color: var(--brass-hi); border-color: var(--brass); box-shadow: 0 0 0 3px #0c0705, 0 0 0 4px #6b4a1e, 0 0 26px rgba(201, 162, 74, .25); }
/* With the tabs naming the gun, the panel keeps its one-line character note (the name stays for screen readers). */
.is-tabbed .gun-title { justify-content: center; text-align: center; }
.is-tabbed .gun-title h3, .is-tabbed .gun-title > .ui { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-tabbed .gun-title p { flex: 0 1 auto; }

/* The two loops share one row (subgrid), so they line up whatever the length of their captions. */
.gun { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 18px; }
.gun-title { grid-column: 1 / -1; grid-row: 1; margin-bottom: 16px; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.gun-title h3 { font-size: clamp(40px, 3.4vw, 58px); color: var(--brass-hi); text-shadow: 0 0 18px rgba(255, 150, 40, .25); }
.gun-title .ui { color: var(--crimson-text); }
.gun-title p { margin: 0; color: #cdbda5; flex: 1 1 260px; }
.mode { position: relative; }
.mode video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 65% 70%; display: block; }
.mode { grid-row: 2 / span 2; display: grid; grid-template-rows: subgrid; align-content: start; }
.mode.plain { grid-column: 1; } .mode.vow { grid-column: 3; }
.mode .tag { position: absolute; left: 12px; top: 10px; padding: 5px 9px 4px; background: rgba(12, 5, 4, .82); border: 1px solid #5a1a14; font: 500 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.mode.vow .tag { border-color: var(--brass); color: var(--brass-hi); box-shadow: 0 0 12px rgba(201, 162, 74, .3); }
.mode.vow video { box-shadow: 0 0 0 4px #0b0605, 0 0 0 5px #6b4a1e, 0 0 30px rgba(201, 162, 74, .18), 0 24px 60px rgba(0, 0, 0, .7); }
.mode figcaption { margin: 12px 2px 0; font-size: .92em; color: #d7c7ad; }
.mode figcaption small { display: block; margin-top: 4px; color: var(--ash); font: 500 12px/1.4 var(--ui); letter-spacing: .04em; }
.vs { grid-column: 2; grid-row: 2; align-self: center; font: 400 clamp(28px, 2.4vw, 40px)/1 var(--display); color: var(--crimson); text-shadow: 0 0 16px rgba(195, 22, 28, .6); }

/* ---------- Elements ---------- */
.els { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1400px; margin: 0 auto; }
.el { position: relative; }
.el video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 60% 60%; display: block; }
.el-head { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.el-head img { width: clamp(96px, 8vw, 128px); height: auto; flex: none; filter: drop-shadow(0 4px 10px #000); }
.el h3 { font-size: clamp(32px, 2.6vw, 44px); color: var(--hue); text-shadow: 0 0 18px color-mix(in srgb, var(--hue), transparent 50%), 0 2px 0 #000; }
.el p { margin: 6px 0 0; color: #d0c0a6; font-size: .95em; }
.meet { text-align: center; font-size: clamp(34px, 3vw, 52px); margin: clamp(60px, 9vh, 100px) 0 28px; color: var(--bone); }
.combos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1200px; margin: 0 auto; }
.combo { position: relative; }
.combo video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.combo-head { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.combo-head img { width: 140px; height: auto; flex: none; filter: drop-shadow(0 4px 10px #000); }
.combo h3 { font-size: clamp(34px, 2.8vw, 48px); color: var(--molten); }
.combo .ui { color: var(--ash); }
.combo p { margin: 4px 0 0; color: #d0c0a6; font-size: .95em; }
.sealed { text-align: center; margin: 46px auto 0; color: var(--ash); display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.sealed i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 400 22px/1 var(--display); font-style: normal; color: #6f5a48; background: radial-gradient(circle at 38% 32%, #3a2016, #160b08 70%); box-shadow: inset 0 0 0 1px #3a2016, 0 4px 10px rgba(0, 0, 0, .6); }

/* ---------- Upgrade web ---------- */
.web-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; max-width: 1500px; margin: 0 auto; }
.web-shot { position: relative; overflow: hidden; border: 1px solid #5c1010; box-shadow: 0 0 0 4px #0b0605, 0 0 0 5px #3b0c0b, 0 0 60px rgba(195, 22, 28, .18), 0 24px 60px rgba(0, 0, 0, .7); }
.web-shot img { width: 100%; height: auto; display: block; }
.web-zoom { display: block; position: relative; cursor: zoom-in; }
.web-zoom .ui { position: absolute; right: 12px; bottom: 10px; padding: 5px 9px 4px; background: rgba(12, 5, 4, .82); border: 1px solid #5a1a14; color: var(--bone); }
.web-zoom:hover .ui, .web-zoom:focus-visible .ui { border-color: var(--brass); color: var(--brass-hi); }
dialog.zoom { padding: 0; border: 1px solid var(--brass); background: #0b0605; max-width: 96vw; max-height: 94vh; overflow: auto; }
dialog.zoom::backdrop { background: rgba(5, 2, 2, .86); }
dialog.zoom img { display: block; max-width: calc(96vw - 2px); max-height: calc(94vh - 2px); width: auto; height: auto; }
.zoom-close { all: unset; position: absolute; top: 10px; right: 10px; padding: 7px 11px 6px; cursor: pointer; background: rgba(12, 5, 4, .86); border: 1px solid var(--brass); color: var(--brass-hi); font: 500 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
.zoom-close:focus-visible { outline: 2px solid var(--molten); outline-offset: 2px; }
/* Stills shown instead of the clips when JavaScript is off. */
img.still { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.el img.still { aspect-ratio: 16 / 10; }
.reel img.still { height: 100%; aspect-ratio: auto; }
.web-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.web-notes li { padding: 14px 0 14px 22px; border-left: 2px solid #5c1010; color: #d0c0a6; font-size: .95em; }
.web-notes b { display: block; font: 400 clamp(24px, 1.8vw, 30px)/1.1 var(--display); color: var(--bone); margin-bottom: 4px; }

.ults { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1500px; margin: clamp(40px, 6vh, 70px) auto 0; }
.ults video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ults figcaption { margin-top: 14px; color: #d0c0a6; font-size: .95em; }
.ults figcaption .ui { display: block; color: var(--crimson-text); }
.ults figcaption b { display: block; font: 400 clamp(32px, 2.6vw, 44px)/1 var(--display); color: var(--molten); margin: 4px 0 6px; }

/* ---------- Colossus ---------- */
.colossus { min-height: 96vh; display: grid; align-items: end; overflow: hidden; isolation: isolate; margin-left: calc(var(--rail) * -1); padding-left: calc(var(--rail) + var(--gutter)); }
.colossus-bg { z-index: -2; }
.colossus::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 4, 3, .6) 0%, transparent 12%, transparent 55%, rgba(20, 4, 3, .95) 92%), linear-gradient(90deg, rgba(20, 4, 3, .75), transparent 45%); }
.colossus-in { max-width: 680px; padding-bottom: 12vh; }
.colossus h2 { font-size: clamp(48px, 3rem + 3.4vw, 110px); }

/* ---------- Prestige ---------- */
.circles { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); max-width: 1500px; margin: 0 auto; align-items: stretch; }
.circle-view { position: relative; }
.circle-view video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border: 1px solid #5c1010; box-shadow: 0 0 0 4px #0b0605, 0 0 0 5px #3b0c0b, 0 24px 60px rgba(0, 0, 0, .7); }
.circle-view figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(10, 4, 3, .92)); }
.circle-view figcaption .ui { display: block; color: var(--crimson-text); }
.circle-view figcaption b { display: block; font: 400 clamp(36px, 3.2vw, 56px)/1 var(--display); color: var(--bone); margin: 4px 0 6px; }
.circle-view figcaption span:last-child { color: #d7c7ad; }
.circle-view.is-swap figcaption b { animation: swap .6s ease-out; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.circle-list { list-style: none; margin: 0; padding: 0; display: grid; align-content: space-between; }
.circle-list li { border-bottom: 1px solid rgba(92, 16, 16, .5); }
.circle-btn { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 10px 0; cursor: pointer; color: #b8a58c; font: 400 clamp(22px, 1.7vw, 30px)/1 var(--display); transition: color .4s, padding .4s; }
.circle-btn .ui { width: 3.2em; color: inherit; font-size: 11px; }
.circle-btn:hover { color: var(--bone); }
.circle-btn:focus-visible { outline: 2px solid var(--molten); outline-offset: 2px; }
.circle-btn[aria-pressed="true"] { color: var(--molten); padding-left: 10px; text-shadow: 0 0 14px rgba(255, 106, 26, .5); }
.circle-list li.sealed-circles { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; color: #a8967f; font: 400 clamp(16px, 1.2vw, 20px)/1.3 var(--serif); border-bottom: 0; }
.circle-list li.sealed-circles .ui { width: 3.2em; flex: none; font-size: 11px; }
/* Pacts: sealed cards, each with the game's emblem on a wax seal that breaks the top edge. */
.pacts { max-width: 1500px; margin: clamp(60px, 9vh, 100px) auto 0; text-align: center; }
.pacts-head { font-size: clamp(34px, 3vw, 52px); color: var(--bone); }
.pacts-intro { color: #cdbda5; margin: 10px auto 0; max-width: 560px; }
.pact-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pact {
  position: relative; margin-top: 64px; padding: 0 24px 26px;
  background: radial-gradient(120% 55% at 50% 0%, rgba(195, 22, 28, .17), transparent 62%), linear-gradient(180deg, #1e100c, #120907);
  border: 1px solid #4b1a12;
  box-shadow: inset 0 0 0 5px #150a07, inset 0 0 0 6px rgba(107, 74, 30, .35), 0 18px 40px rgba(0, 0, 0, .5);
}
.pact-seal {
  width: 96px; height: 96px; margin: -48px auto 16px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #9a1d18, #4c0a07 62%, #2a0504);
  box-shadow: 0 0 0 3px #1a0806, 0 0 0 4px #6b1410, 0 8px 22px rgba(0, 0, 0, .7), 0 0 28px rgba(195, 22, 28, .35);
}
.pact-seal img { width: 64%; height: auto; filter: drop-shadow(0 2px 0 rgba(40, 0, 0, .7)); }
.pact h4 { font: 400 clamp(26px, 2vw, 34px)/1 var(--display); color: var(--bone); margin: 0 0 12px; }
.pact .gift { display: inline-grid; justify-items: center; gap: 2px; margin: 0 0 12px; padding: 5px 12px 5px; border: 1px solid #6b4a1e; background: rgba(40, 24, 10, .7); font: 500 12px/1.3 var(--ui); letter-spacing: .05em; color: var(--brass-hi); }
.pact .gift span { color: var(--ash); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.pact p:last-child { margin: 0; color: #cdbda5; font-size: .92em; text-wrap: pretty; }

/* ---------- Pit ---------- */
.pit { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 16vh var(--gutter) 0; overflow: hidden; }
.pit-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pit::before { content: ""; position: absolute; left: 50%; bottom: -30vh; width: 140vw; height: 70vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 120, 30, .55), rgba(195, 22, 28, .25) 50%, transparent); filter: blur(10px); }
.pit-in { position: relative; max-width: 760px; }
.pit h2 { font-size: clamp(46px, 3rem + 3vw, 104px); margin-bottom: .35em; }
.pit-in > p:not(.stop-depth) { color: #d9c9ae; margin-bottom: 2em; }
.pit .facts { text-shadow: none; }
.pit-logo { width: min(520px, 80vw); height: auto; margin: 9vh auto 0; opacity: .9; filter: drop-shadow(0 0 30px rgba(255, 80, 10, .4)); }
.foot { position: relative; padding: 40px 0 30px; color: var(--ash); font-size: 11px; line-height: 1.6; }
.foot p { margin: 0; }
.foot a { color: var(--brass-hi); }

/* ---------- Skip link and the motion switch ---------- */
.skip { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 10px 14px; background: #1b0f08; border: 1px solid var(--brass); color: var(--brass-hi); text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
/* On wide screens it sits in the gauge's rail, under the shaft, where it covers nothing. */
.motion-toggle {
  position: fixed; z-index: 60; left: 11px; bottom: 16px; width: calc(var(--rail) - 22px);
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; line-height: 1.25;
  padding: 10px 6px 9px; cursor: pointer; color: var(--bone); background: rgba(16, 8, 6, .82); border: 1px solid #5a1a14;
  box-shadow: 0 0 0 3px rgba(12, 5, 4, .6); font-size: 11px;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { border-color: var(--brass); color: var(--brass-hi); }
.motion-toggle i { width: 9px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-toggle.is-paused i { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.motion-paused .descend i { animation-play-state: paused; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  :root { --rail: 0px; }
  .gauge { display: none; }   /* no room beside the text on a phone; the section labels still name the Depth */
  .reel { grid-template-columns: 1fr; grid-template-rows: none; }
  .reel-main { grid-row: auto; }
  .reel-side video { aspect-ratio: 16 / 9; }
  .gun-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gun-tab { min-width: 0; }
  .gun { grid-template-columns: 1fr; grid-template-rows: none; }
  .gun .gun-title, .gun .mode, .gun .vs { grid-column: 1; grid-row: auto; }
  .gun .mode { display: block; }
  .vs { margin: 14px 0 10px; text-align: center; }
  .els, .combos, .web-wrap, .circles, .ults { grid-template-columns: 1fr; }
  .pact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .el { margin-top: 30px; }
  .circle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .circle-list li.sealed-circles { grid-column: 1 / -1; }
  .facts { font-size: 11px; }
  .motion-toggle { left: auto; right: 10px; bottom: 10px; width: auto; flex-direction: row; gap: 9px; padding: 9px 13px 8px; backdrop-filter: blur(4px); }
}
/* Phones: the hero's lines stack instead of wrapping with a stray diamond, and the store plates match. */
@media (max-width: 560px) {
  .pact-row { grid-template-columns: 1fr; }
  .hero-in { padding-top: 5vh; }
  .hero h1 { width: min(560px, 64vw); }
  .hero-loop { flex-direction: column; gap: 6px; margin-bottom: 1.5em; }
  .hero-loop i { width: 5px; height: 5px; }
  .facts { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 8px 22px; }
  .facts li + li::before { display: none; }
  .stores { flex-direction: column; align-items: center; gap: 12px; }
  .stores > .bh-store { width: min(100%, 300px); justify-content: center; }
  /* The switch shrinks to its icon (the label stays for screen readers) so it covers less of the text. */
  .motion-toggle { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo, .descend i { animation: none; }
}
