/* Bring It Home, 2019: a world record sample by Alchema Interactive.
   Second pass (Chris, 2026-11-12): black and burnt orange, chrome, reflections, light and motion.
   Every effect answers something: the pointer, the scroll, the active spot. Reduced motion turns movement off. */
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/barlow-condensed-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/barlow-condensed-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/barlow-condensed-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/barlow-condensed-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/barlow-condensed-700i.woff2) format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/barlow-condensed-800i.woff2) format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(../fonts/barlow-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(../fonts/barlow-400i.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(../fonts/barlow-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(../fonts/barlow-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --black: #0B0A09;
  --char: #141210;
  --steel: #221F1C;
  --steel-2: #302C28;
  --steel-3: #4A453F;
  --bone: #F1ECE4;
  --smoke: #A9A198;
  --smoke-2: #7C756D;
  --orange: #D2601A;
  --ember: #FF7B2C;
  --rust: #9C4212;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --bar-h: 54px;
  /* chrome: sky on top, a dark horizon line, ground reflection below, the way a polished tank reads outdoors */
  --chrome: linear-gradient(180deg, #ffffff 0%, #e9edf0 18%, #b9c0c6 40%, #5b6268 49%, #2a2e32 51%, #8e969c 60%, #dfe4e7 78%, #ffffff 92%, #aeb5ba 100%);
  --orange-metal: linear-gradient(180deg, #FF9A55 0%, #E8702A 30%, #C9561A 62%, #A84413 100%);
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), linear-gradient(180deg, #3a3631 0%, #26231f 45%, #1c1a17 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--black); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--bone); background: var(--black); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; isolation: isolate; }
/* asphalt: a fine grain over the whole page so black reads as a surface, not a void */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .06; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: #FFA060; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--cond); line-height: .95; margin: 0; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
.sr { 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: 50; background: var(--ember); color: var(--black); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; }

/* ---------- top bar: smoked glass with a chrome edge ---------- */
.bar { position: sticky; top: 0; z-index: 30; height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gut); background: rgba(11,10,9,.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.bar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35) 20%, rgba(255,123,44,.7) 50%, rgba(255,255,255,.35) 80%, transparent); }
.mark { display: flex; align-items: baseline; gap: 8px; text-decoration: none; font-family: var(--cond); white-space: nowrap; }
.mark b { font-weight: 800; font-style: italic; font-size: 1.45rem; letter-spacing: .01em; text-transform: uppercase; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mark span { font-weight: 700; font-style: italic; font-size: 1.1rem; color: var(--ember); }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; color: rgba(241,236,228,.72); text-decoration: none; white-space: nowrap; font: 700 1.04rem/1 var(--cond); letter-spacing: .03em; text-transform: uppercase; padding: 10px 12px; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--ember); box-shadow: 0 0 12px var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav a:hover, .nav a.on { color: #fff; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.sample-tag { margin: 0; padding: 7px var(--gut); background: var(--char); color: var(--smoke); font: 500 .84rem/1.35 var(--body); border-bottom: 1px solid rgba(255,255,255,.06); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; background: var(--black); isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0 0; z-index: -3; transform: translate3d(0, calc(var(--hp, 0) * 18%), 0) scale(calc(1.06 + var(--hp, 0) * .08)); will-change: transform; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* shadow from the lower left so the title reads; the top of the frame stays bright footage */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
  linear-gradient(180deg, rgba(11,10,9,.5) 0%, transparent 22%, transparent 40%, rgba(11,10,9,.72) 78%, var(--black) 100%),
  radial-gradient(120% 90% at 0% 100%, rgba(11,10,9,.85) 0%, rgba(11,10,9,.35) 50%, transparent 75%); }
/* the sun on chrome: a warm glint follows the pointer across the footage, with a thin lens streak through it */
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: var(--lo, 0); transition: opacity .6s;
  background:
    radial-gradient(circle at var(--lx, 70%) var(--ly, 30%), rgba(255,214,170,.55) 0, rgba(255,140,60,.22) 9%, transparent 26%),
    linear-gradient(180deg, transparent calc(var(--ly, 30%) - .25%), rgba(255,190,130,.45) var(--ly, 30%), transparent calc(var(--ly, 30%) + .25%)); }
.hero-copy { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(64px, 9vh, 112px); transform: translate3d(0, calc(var(--hp, 0) * -10%), 0); opacity: calc(1 - var(--hp, 0) * 1.2); }
.title { display: grid; gap: 6px; }
.title-big { display: block; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.005em; font-size: clamp(3.1rem, 10.4vw, 9.6rem); line-height: .86; padding-right: .08em; position: relative; }
.chrome { background: var(--chrome); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 22px rgba(0,0,0,.55)) drop-shadow(0 1px 0 rgba(0,0,0,.6)); }
/* the light sweep across the chrome title: runs once on load, then tracks the pointer */
.chrome::after { content: attr(data-text); position: absolute; inset: 0; padding-right: inherit; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(105deg, transparent 0%, transparent calc(var(--sweep, -30%) - 8%), rgba(255,255,255,.95) var(--sweep, -30%), rgba(255,170,100,.6) calc(var(--sweep, -30%) + 3%), transparent calc(var(--sweep, -30%) + 10%), transparent 100%); }
.title-name { display: block; font: 700 italic clamp(1.45rem, 3.4vw, 3rem)/1.02 var(--cond); color: var(--ember); text-shadow: 0 2px 18px rgba(0,0,0,.7), 0 0 30px rgba(255,123,44,.25); max-width: 24ch; }

.count { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.count-text { margin: 0; font: 600 clamp(1.2rem, 2.2vw, 1.7rem)/1.15 var(--cond); max-width: 18ch; color: var(--bone); text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.count-text b { display: block; font-weight: 800; font-style: italic; text-transform: uppercase; color: #fff; }
/* the odometer: chrome bezel, glass over the drums, the last drum backlit orange */
.odo { display: flex; width: max-content; font: 800 clamp(3.6rem, 10vw, 7.6rem)/1 var(--cond); }
.odo-wrap { position: relative; display: flex; padding: 7px; border-radius: 12px; background: var(--chrome); box-shadow: 0 24px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.6); }
.odo-wrap::before { content: ''; position: absolute; inset: 7px; border-radius: 6px; background: #050505; z-index: 0; }
.odo-wrap::after { content: ''; position: absolute; inset: 7px; border-radius: 6px; z-index: 2; pointer-events: none; background: linear-gradient(170deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.05) 38%, transparent 40%, transparent 100%); }
.drum { position: relative; z-index: 1; width: .62em; height: 1.06em; overflow: hidden; background: linear-gradient(180deg, #030303 0%, #1d1b19 20%, #2b2825 50%, #1d1b19 80%, #030303 100%); color: var(--bone); }
.drum + .drum { margin-left: 3px; }
.drum.comma { width: .24em; background: transparent; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .1em; font-size: .7em; }
.drum-reel { display: flex; flex-direction: column; transition: transform 2.4s cubic-bezier(.16,.84,.24,1); }
.drum-reel span { height: 1.06em; display: flex; align-items: center; justify-content: center; }
.drum::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.7), transparent 28%, transparent 72%, rgba(0,0,0,.7)); }
.drum.last { color: #1a0c04; background: linear-gradient(180deg, #5a2008 0%, #E8702A 22%, #FF9A55 50%, #E8702A 78%, #5a2008 100%); box-shadow: 0 0 28px rgba(255,123,44,.55); }
@media (prefers-reduced-motion: reduce) { .drum-reel { transition: none; } }
.hero-where { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.hero-where span { font: 700 1.02rem/1 var(--cond); letter-spacing: .04em; text-transform: uppercase; padding: 9px 12px; border-radius: 4px; background: rgba(11,10,9,.55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-credit { position: absolute; right: var(--gut); bottom: 20px; margin: 0; font: 500 .8rem/1.2 var(--body); color: rgba(241,236,228,.7); }

/* ---------- buttons: orange metal and chrome, a highlight runs across on hover, they sink when pressed ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font: 800 1.08rem/1 var(--cond); font-style: italic; letter-spacing: .05em; text-transform: uppercase; transition: transform .14s, box-shadow .25s, filter .25s; }
.btn::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; transform: skewX(-20deg) translateX(0); background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transition: transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.btn:hover::after { transform: skewX(-20deg) translateX(420%); }
.btn:active { transform: translateY(2px) scale(.97); }
.btn-solid { color: #1a0c04; background: var(--orange-metal); box-shadow: 0 10px 26px rgba(210,96,26,.35), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.25); }
.btn-solid:hover { color: #1a0c04; box-shadow: 0 12px 34px rgba(255,123,44,.55), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.25); filter: brightness(1.08); }
.btn-chrome { color: #111; background: var(--chrome); box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.5), inset 0 1px 0 #fff; }
.btn-chrome:hover { color: #000; box-shadow: 0 12px 30px rgba(255,255,255,.18), 0 0 0 1px rgba(0,0,0,.5), inset 0 1px 0 #fff; }
.btn-line { color: var(--bone); background: linear-gradient(180deg, #2e2a26, #1a1815); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-line:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--ember), 0 0 18px rgba(255,123,44,.3); }

/* ---------- film strip of stills: sprocket holes, drifts with the scroll, drag it, tap a frame ---------- */
.film { position: relative; background: #050505; padding: 24px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.film::-webkit-scrollbar { display: none; }
.film-track { position: relative; display: flex; gap: 10px; padding: 0 var(--gut); width: max-content; transform: translate3d(var(--fx, 0px), 0, 0); }
.film-track::before, .film-track::after { content: ''; position: absolute; left: 0; right: 0; height: 9px; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 10px, #2c2926 10px 22px, transparent 22px 32px); }
.film-track::before { top: -17px; } .film-track::after { bottom: -17px; }
.frame { position: relative; flex: none; width: clamp(200px, 22vw, 300px); aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 3px; overflow: hidden; cursor: pointer; background: #111; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.05) brightness(.82); transition: filter .35s, transform .6s cubic-bezier(.2,.8,.2,1); }
.frame span { position: absolute; left: 8px; bottom: 6px; font: 700 italic .95rem/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.frame::after { content: ''; position: absolute; inset: 0; border-radius: 3px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .3s; }
.frame:hover, .frame:focus-visible { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 30px rgba(0,0,0,.7), 0 0 26px rgba(255,123,44,.35); z-index: 1; }
.frame:hover img, .frame:focus-visible img { filter: none; transform: scale(1.06); }
.frame:hover::after, .frame:focus-visible::after { box-shadow: inset 0 0 0 2px var(--ember); }

/* ---------- sections ---------- */
main > section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 128px) var(--gut) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px 48px; align-items: end; margin-bottom: 32px; }
.sec-head p { margin: 0; max-width: 62ch; color: var(--smoke); }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }
/* section titles: heavy italic with a burnt orange speed bar leading in */
.sec-title { position: relative; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(3rem, 7.5vw, 6.2rem); letter-spacing: -.005em; padding-left: .5em; color: #fff; }
.sec-title::before { content: ''; position: absolute; left: 0; top: .14em; bottom: .14em; width: .22em; transform: skewX(-12deg); background: var(--orange-metal); box-shadow: 0 0 22px rgba(255,123,44,.45); }
/* arrival: titles and blocks come in from the left with a little speed blur, once */
.reveal { opacity: 0; transform: translate3d(-40px, 0, 0) skewX(-4deg); filter: blur(6px); transition: opacity .7s ease, transform .8s cubic-bezier(.16,.84,.24,1), filter .7s ease; }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } }

/* ---------- the record ---------- */
.record { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px 64px; align-items: start; }
.record-copy .sec-title { margin-bottom: 26px; }
.record-copy p { max-width: 62ch; color: #d9d2c8; }
.record-copy .lede { font-size: 1.28rem; line-height: 1.5; color: #fff; }
@media (max-width: 880px) { .record { grid-template-columns: 1fr; } }

/* the record plate: our own design, a riveted, brushed steel data plate like the one on a bike's frame. It tilts toward the pointer and the light moves on it. */
.plate-wrap { perspective: 1100px; }
.plate { position: relative; border-radius: 10px; padding: 26px 26px 22px; background: var(--brushed); color: #d8d2c9;
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .25s ease-out;
  box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 3px rgba(255,255,255,.04); }
.plate::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--px, 30%) var(--py, 20%), rgba(255,255,255,.22), rgba(255,200,150,.06) 28%, transparent 55%); mix-blend-mode: screen; }
.plate::after { content: ''; position: absolute; inset: 10px; border-radius: 6px; pointer-events: none; border: 1px solid rgba(0,0,0,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 1px 0 rgba(255,255,255,.07); }
.rivet { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #c7cbce 22%, #6a6f73 60%, #2a2c2e 100%); box-shadow: 0 1px 2px rgba(0,0,0,.8); }
.rivet.a { top: 16px; left: 16px; } .rivet.b { top: 16px; right: 16px; } .rivet.c { bottom: 16px; left: 16px; } .rivet.d { bottom: 16px; right: 16px; }
.engrave { color: #e9e3da; text-shadow: 0 -1px 0 rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.12); }
.plate-top { text-align: center; padding: 6px 18px 0; }
.plate-kicker { font: 800 italic clamp(1.6rem, 3vw, 2.2rem)/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.plate-title { font: 600 1rem/1.25 var(--cond); letter-spacing: .05em; text-transform: uppercase; margin: 6px 0 0; color: #bdb6ac; }
.plate-count { margin: 14px 0 4px; font: 800 italic clamp(4rem, 9vw, 5.6rem)/.9 var(--cond); background: var(--orange-metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)) drop-shadow(0 0 18px rgba(255,123,44,.3)); }
.plate-unit { font: 700 1rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: #bdb6ac; margin: 0 0 16px; }
.plate dl { margin: 0; padding: 0 8px; }
.plate .row { display: grid; grid-template-columns: 8em 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(0,0,0,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.plate dt { font: 700 .92rem/1.25 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: #9e978d; }
.plate dd { margin: 0; font-weight: 500; line-height: 1.35; color: #f1ece4; }
.plate-foot { margin: 12px 0 0; text-align: center; font: 700 .85rem/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: #8b847b; }
@media (prefers-reduced-motion: reduce) { .plate { transform: none !important; } }

.margin { grid-column: 1 / -1; margin: 12px 0 0; padding: 22px 24px; border-radius: 10px; background: linear-gradient(180deg, #171513, #100f0d); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.margin-rows { display: grid; gap: 16px; }
.mrow { display: grid; grid-template-columns: 9em 1fr; gap: 16px; align-items: center; }
.mrow-label { font: 700 1rem/1.15 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--smoke); }
.mrow-label b { display: block; font: 800 italic 2rem/1 var(--cond); color: #fff; letter-spacing: 0; }
.mrow.new .mrow-label b { color: var(--ember); }
.mrow-dots { display: flex; flex-wrap: wrap; gap: 3px; }
.mrow-dots i { width: 7px; height: 7px; border-radius: 1px; background: #4a453f; transform: scale(0); transition: transform .3s ease; }
.mrow.new .mrow-dots i { background: var(--orange); }
.mrow.new .mrow-dots i.over { background: #FFB07A; box-shadow: 0 0 6px rgba(255,123,44,.8); }
.margin.on .mrow-dots i { transform: scale(1); }
.margin figcaption { margin-top: 14px; color: var(--smoke); font-size: .95rem; }
@media (max-width: 520px) { .mrow { grid-template-columns: 1fr; gap: 6px; } .mrow-dots i { width: 5px; height: 5px; } .mrow-dots { gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .mrow-dots i { transition: none; transform: scale(1); } }

/* ---------- full-bleed bands of footage ---------- */
.band { position: relative; margin-top: clamp(64px, 10vw, 128px); height: clamp(420px, 78vh, 760px); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; background: #000; }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08) translate3d(0, calc(var(--bp, 0) * 6%), 0); }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--black) 0%, rgba(11,10,9,.15) 22%, rgba(11,10,9,.1) 55%, rgba(11,10,9,.8) 88%, var(--black) 100%); }
.band-copy { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(40px, 7vh, 80px); }
.band-title { font: 800 italic clamp(3.6rem, 13vw, 12rem)/.86 var(--cond); text-transform: uppercase; white-space: nowrap; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 30px rgba(0,0,0,.7)); transform: translate3d(var(--move, 0px), 0, 0); will-change: transform; }
.band-line { margin: 14px 0 0; max-width: 40ch; font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--cond); color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.85); transform: translate3d(var(--move, 0px), 0, 0); }
.band-flag .band-title { background: var(--orange-metal); -webkit-background-clip: text; background-clip: text; }

/* ---------- bezels: brushed steel frames with glass on top, for the map, the spot and the 3D window ---------- */
.bezel { position: relative; border-radius: 12px; padding: 10px; background: var(--brushed); box-shadow: 0 26px 56px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.16); }

/* ---------- the loop: the airport diagram as a night chart ---------- */
.loop-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .loop-body { grid-template-columns: 1fr; } }
.diagram { position: relative; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #1a1714 0%, #0d0c0b 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 2px 30px rgba(0,0,0,.8); }
.diagram::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.07) 0%, transparent 30%); }
.diagram svg { width: 100%; height: 100%; }
.dg-ground { fill: transparent; }
.dg-boundary { fill: rgba(255,255,255,.025); stroke: rgba(241,236,228,.18); stroke-width: 2; stroke-dasharray: 10 8; }
.dg-taxi { fill: none; stroke: #3a3530; stroke-linecap: round; stroke-linejoin: round; }
.dg-apron { fill: #2e2a26; stroke: #4a443e; stroke-width: 2; }
.dg-bld { fill: #6b645c; }
.dg-road { fill: none; stroke: #24211e; stroke-width: 6; stroke-linecap: round; }
.dg-rwy { fill: #4b4640; }
.dg-rwy-cl { stroke: rgba(241,236,228,.75); stroke-width: 2.4; stroke-dasharray: 18 14; fill: none; }
.dg-rwy-num { font-family: var(--cond); font-weight: 800; font-style: italic; fill: var(--bone); text-anchor: middle; dominant-baseline: middle; }
.dg-label { font-family: var(--cond); font-weight: 700; fill: var(--smoke); letter-spacing: .06em; text-transform: uppercase; }
.dg-route-under { fill: none; stroke: rgba(255,123,44,.22); stroke-linecap: round; stroke-linejoin: round; }
.dg-route { fill: none; stroke: var(--orange); stroke-linecap: round; stroke-linejoin: round; }
/* the flow: bright dashes stream along the loop in the direction of travel */
.dg-route-flow { fill: none; stroke: #FFC79E; stroke-linecap: round; stroke-linejoin: round; animation: flow 1.6s linear infinite; opacity: .9; }
@keyframes flow { to { stroke-dashoffset: var(--flow-len, -60); } }
.dg-route-done { fill: none; stroke: var(--ember); stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.dg-arrow { fill: #1a0c04; }
.dg-north text { font-family: var(--cond); font-weight: 800; fill: var(--bone); text-anchor: middle; }
.dg-north path { fill: var(--ember); }
.dg-scale text { font-family: var(--cond); font-weight: 700; fill: var(--smoke); }
.dg-scale path { stroke: var(--smoke); fill: none; }
.dg-rider { fill: #fff; stroke: var(--ember); }
.dg-pin { cursor: pointer; }
.dg-pin circle { fill: #141210; stroke: var(--ember); transition: fill .2s; }
.dg-pin text { font-family: var(--cond); font-weight: 800; fill: var(--ember); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.dg-pin:hover circle, .dg-pin:focus-visible circle { fill: #3a1d0c; }
.dg-pin.on circle { fill: var(--ember); stroke: #fff; }
.dg-pin.on text { fill: #1a0c04; }
.dg-pin:focus { outline: none; }
.dg-pin:focus-visible circle { stroke: #fff; }
.dg-pin circle.dg-halo { fill: none; stroke: var(--ember); opacity: 0; transform-box: fill-box; transform-origin: center; }
.dg-pin.on circle.dg-halo { fill: none; stroke: var(--ember); animation: halo 1.8s ease-out infinite; }
@keyframes halo { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
@media (prefers-reduced-motion: reduce) { .dg-pin.on circle.dg-halo, .dg-route-flow { animation: none; } .dg-route-flow { opacity: 0; } }
.scrub { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 4px 2px; }
.scrub output { font: 800 italic 1.3rem/1 var(--cond); min-width: 3em; text-align: right; font-variant-numeric: tabular-nums; color: var(--ember); }
.scrub-leg { margin: 2px 4px 0; font: 700 1rem/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--bone); }
.ride-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; background: var(--orange-metal); color: #1a0c04; cursor: pointer; font: 800 italic 1.02rem/1 var(--cond); letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(210,96,26,.35), inset 0 1px 0 rgba(255,255,255,.45); }
.ride-btn:hover { filter: brightness(1.1); }
.ride-btn svg { width: 20px; height: 20px; fill: currentColor; }
.ride-btn .i-pause { display: none; }
.ride-btn[aria-pressed="true"] .i-pause { display: block; }
.ride-btn[aria-pressed="true"] .i-play { display: none; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ember) var(--p, 0%), #3a3530 var(--p, 0%)); box-shadow: 0 0 10px rgba(255,123,44,.25); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #3a3530; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--ember); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9ced2 40%, #6a6f73 100%); box-shadow: 0 2px 8px rgba(0,0,0,.6), 0 0 0 3px rgba(255,123,44,.6); transition: transform .12s; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9ced2 40%, #6a6f73 100%); box-shadow: 0 0 0 3px rgba(255,123,44,.6); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.diagram-note { margin: 10px 4px 2px; font-size: .84rem; color: var(--smoke-2); line-height: 1.45; }

.spot { position: sticky; top: calc(var(--bar-h) + 16px); }
@media (max-width: 900px) { .spot { position: relative; top: auto; } }
.spot-media { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
.spot-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.12) 0%, transparent 28%); }
.spot-media video, .spot-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot-copy { padding: 18px 12px 10px; }
.spot-num { margin: 0 0 6px; font: 800 italic 1.05rem/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--ember); }
.spot h3 { font: 800 italic clamp(2rem, 3.2vw, 2.6rem)/1 var(--cond); text-transform: uppercase; margin-bottom: 12px; color: #fff; }
.spot-copy p { color: #d0c9bf; }
.spot-approx { font-size: .86rem; font-style: italic; color: var(--smoke-2) !important; }
.spot-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.spot.swap .spot-copy { animation: swap .45s cubic-bezier(.16,.84,.24,1); }
.spot.swap .spot-media { animation: wipe .5s cubic-bezier(.16,.84,.24,1); }
@keyframes swap { from { opacity: 0; transform: translateX(18px) skewX(-4deg); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .spot.swap .spot-copy, .spot.swap .spot-media { animation: none; } }

/* ---------- the day: paper strips in a steel rack ---------- */
.strips { list-style: none; margin: 0; padding: 16px 16px 16px 24px; display: grid; gap: 9px; border-radius: 12px; background: var(--brushed); box-shadow: 0 26px 56px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.14); position: relative; }
.strips::before { content: ''; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 4px; border-radius: 2px; background: var(--chrome); box-shadow: 0 0 8px rgba(0,0,0,.6); }
.strip-btn { width: 100%; display: grid; grid-template-columns: 7.4em minmax(0, 1fr) 6.4em; align-items: stretch; text-align: left; color: #1b1814;
  background: linear-gradient(180deg, #f7f3ec, #e9e3d8); border: 0; border-left: 10px solid var(--c, var(--orange)); border-radius: 3px; padding: 0; cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.5), inset 0 1px 0 #fff; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.strip-btn:hover, .strip-btn:focus-visible { transform: translateX(8px); box-shadow: 0 10px 22px rgba(0,0,0,.55), 0 0 18px rgba(255,123,44,.25), inset 0 1px 0 #fff; }
.strip-btn[aria-current="true"] { transform: translateX(8px); background: linear-gradient(180deg, #fff3e6, #f7dcc2); box-shadow: 0 10px 22px rgba(0,0,0,.55), 0 0 22px rgba(255,123,44,.35); }
.strip-time, .strip-main, .strip-code { padding: 12px 14px; }
.strip-time { border-right: 1px solid rgba(0,0,0,.18); font: 800 italic 1.3rem/1.02 var(--cond); text-transform: uppercase; }
.strip-time small { display: block; font: 500 .8rem/1.2 var(--body); font-style: normal; text-transform: none; color: #6a6259; margin-top: 4px; }
.strip-main b { display: block; font: 800 italic 1.4rem/1.05 var(--cond); text-transform: uppercase; }
.strip-main span { display: block; font-size: .95rem; color: #4a433b; line-height: 1.4; margin-top: 4px; }
.strip-code { border-left: 1px solid rgba(0,0,0,.18); font: 700 .95rem/1.1 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: #6a6259; display: flex; flex-direction: column; justify-content: center; }
.strip-code em { font-style: italic; font-weight: 800; color: var(--rust); font-size: 1.5rem; }
.strip-btn[disabled] { cursor: default; opacity: .92; }
.strip-btn[disabled]:hover { transform: none; box-shadow: 0 2px 0 rgba(0,0,0,.5), inset 0 1px 0 #fff; }
@media (max-width: 620px) {
  .strip-btn { grid-template-columns: 5.6em minmax(0, 1fr); }
  .strip-code { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(0,0,0,.18); flex-direction: row; gap: 8px; align-items: baseline; padding: 8px 14px; }
  .strip-time { font-size: 1.08rem; padding: 12px 10px; }
  .strip-btn:hover, .strip-btn:focus-visible, .strip-btn[aria-current="true"] { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .strip-btn { transition: none; } }

/* ---------- the 3D window ---------- */
.window { aspect-ratio: 16 / 9; overflow: hidden; }
@media (max-width: 620px) { .window { aspect-ratio: 4 / 5; } }
.window-still, .window canvas { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; border-radius: 6px; }
.window canvas { touch-action: none; cursor: grab; }
.window canvas:active { cursor: grabbing; }
.window-open { position: absolute; inset: 10px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; background: radial-gradient(circle at 50% 50%, rgba(11,10,9,.15), rgba(11,10,9,.65)); color: #fff; cursor: pointer; }
.window-open-label { position: relative; overflow: hidden; font: 800 italic clamp(1.4rem, 3vw, 2.2rem)/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; padding: 18px 30px; border-radius: 999px; color: #1a0c04; background: var(--orange-metal); box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 40px rgba(255,123,44,.35), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .2s, box-shadow .2s; }
.window-open:hover .window-open-label { transform: scale(1.05); box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 60px rgba(255,123,44,.55), inset 0 1px 0 rgba(255,255,255,.5); }
.window-open-sub { font-size: .9rem; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.window-load { position: absolute; inset: 10px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--bone); background: radial-gradient(circle, #1d1a17, #0b0a09); font: 800 italic 1.2rem/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.window-load-bar { width: min(320px, 70%); height: 14px; background: #2a2622; border-radius: 2px; position: relative; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.8); }
.window-load-bar::before { content: ''; position: absolute; inset: 6px 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 14px, transparent 14px 26px); }
.window-load-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--orange-metal); box-shadow: 0 0 14px var(--ember); transition: width .2s; }
.window-fail { position: absolute; inset: auto 10px 10px 10px; margin: 0; padding: 14px 18px; border-radius: 0 0 6px 6px; background: rgba(11,10,9,.9); color: var(--bone); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 6px; border-radius: 999px; border: 0; background: linear-gradient(180deg, #2e2a26, #1a1815); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.1); cursor: pointer; color: var(--bone); font: 700 italic 1.02rem/1 var(--cond); letter-spacing: .04em; text-transform: uppercase; transition: box-shadow .2s, background .2s; }
.chip i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--chrome); color: #111; font: 800 .95rem/1 var(--cond); font-style: normal; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ember), 0 0 16px rgba(255,123,44,.3); }
.chip[aria-pressed="true"] { background: var(--orange-metal); color: #1a0c04; box-shadow: 0 0 20px rgba(255,123,44,.45), inset 0 1px 0 rgba(255,255,255,.4); }

/* ---------- credits: a projector beam over the roll ---------- */
.credits { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 112px) var(--gut) 48px; background: #070605; text-align: center; }
.credits::after { content: ''; position: absolute; inset: -10%; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .09; animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 1%); } 50% { transform: translate(1%, -2%); } 75% { transform: translate(2%, 2%); } }
.beam { position: absolute; z-index: -2; left: 50%; top: -10%; width: 140%; height: 130%; transform: translateX(-50%); pointer-events: none; background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, transparent 158deg, rgba(255,200,150,.09) 172deg, rgba(255,220,180,.14) 180deg, rgba(255,200,150,.09) 188deg, transparent 202deg, transparent 360deg); animation: flicker 4s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: .86; } 50% { opacity: 1; } 53% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .credits::after, .beam { animation: none; } }
.credits .sec-title { display: inline-block; }
.credits-lede { max-width: 56ch; margin: 18px auto 0; color: var(--smoke); }
.roll-wrap { position: relative; height: min(70vh, 620px); margin: 32px auto 0; max-width: 760px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.roll-wrap.still { overflow-y: auto; }
.roll { padding: 16vh 0 30vh; will-change: transform; }
.roll-wrap.still .roll { padding: 40px 0; }
.cr-group { margin: 0 0 56px; }
.cr-group h3 { font: 800 italic 1.1rem/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; }
.cr-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cr-group li { font: 500 clamp(1.15rem, 2.2vw, 1.45rem)/1.3 var(--body); color: #fff; }
.cr-group li small { display: block; font-size: .82rem; color: var(--smoke-2); margin-top: 1px; }
.cr-group.feature li { font: 800 italic clamp(2rem, 4.4vw, 3rem)/1.05 var(--cond); text-transform: uppercase; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-group.media li:first-child { font: 800 italic clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--cond); text-transform: uppercase; color: var(--ember); }
.cr-end { font: 800 italic clamp(2.4rem, 6vw, 4.2rem)/1.05 var(--cond); text-transform: uppercase; background: var(--orange-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.roll-ctl { margin-top: 18px; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--char); color: var(--smoke); padding: 52px var(--gut) 60px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.3) 20%, rgba(255,123,44,.6) 50%, rgba(255,255,255,.3) 80%, transparent); }
.foot h2 { font: 800 italic 1.7rem/1 var(--cond); text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot p { max-width: 70ch; font-size: .95rem; }
.foot-src { color: var(--smoke-2); }
.foot-alchema { align-self: end; justify-self: end; text-align: right; }
.foot-alchema p { font: 800 italic 1.6rem/1.1 var(--cond); text-transform: uppercase; color: #fff; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } .foot-alchema { justify-self: start; text-align: left; } }

@media (max-width: 620px) {
  :root { --bar-h: 50px; }
  .nav a { padding: 10px 8px; font-size: .92rem; } .nav a::after { left: 8px; right: 8px; }
  .mark span { display: none; } .mark b { font-size: 1.2rem; } .bar { gap: 8px; }
  .hero { min-height: 92svh; }
  .hero-credit { left: var(--gut); right: auto; bottom: 16px; }
  .hero-copy { padding-bottom: 60px; }
  .count { gap: 12px; }
  .band { height: 62svh; }
  .plate { padding: 22px 16px 18px; }
  .plate .row { grid-template-columns: 1fr; gap: 2px; }
}
.dg-block { fill: rgba(255,123,44,.16); stroke: rgba(255,123,44,.55); stroke-width: 2; stroke-dasharray: 6 5; }
.dg-return { fill: none; stroke: var(--ember); stroke-width: 6; stroke-dasharray: 8 8; stroke-linecap: round; opacity: .7; }

/* ---------- 3D window controls: smoked glass over the scene ---------- */
.af-hud { position: absolute; inset: 10px; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; border-radius: 6px; overflow: hidden; }
.af-hud > * { pointer-events: auto; }
.af-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 10px; background: linear-gradient(180deg, rgba(11,10,9,.55), transparent); pointer-events: none; }
.af-top > * { pointer-events: auto; }
.af-counts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.af-counts span { font: 700 .82rem/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: rgba(241,236,228,.85); padding: 7px 10px; border-radius: 4px; background: rgba(11,10,9,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.af-counts b { font: 800 italic 1.15rem/1 var(--cond); color: #fff; margin-right: 4px; font-variant-numeric: tabular-nums; }
.af-counts span.on b { color: var(--ember); }
.af-ride { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; color: #1a0c04; background: var(--orange-metal); font: 800 italic .98rem/1 var(--cond); letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0,0,0,.4), 0 0 18px rgba(255,123,44,.35), inset 0 1px 0 rgba(255,255,255,.45); }
.af-ride:hover { filter: brightness(1.1); }
.af-bar { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px; background: linear-gradient(0deg, rgba(11,10,9,.78), rgba(11,10,9,.35)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.af-play { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #111; background: var(--chrome); box-shadow: 0 0 0 1px rgba(0,0,0,.5), inset 0 1px 0 #fff; }
.af-play svg { width: 18px; height: 18px; fill: currentColor; }
.af-play .i-play { display: none; } .af-play[aria-pressed="false"] .i-play { display: block; } .af-play[aria-pressed="false"] .i-pause { display: none; }
.af-bar output { font: 800 italic 1rem/1 var(--cond); color: var(--ember); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; min-width: 6.5em; }
.af-speed { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.af-speed button { border: 0; border-radius: 999px; min-width: 36px; min-height: 30px; cursor: pointer; background: transparent; color: var(--bone); font: 800 italic .9rem/1 var(--cond); }
.af-speed button[aria-pressed="true"] { background: var(--orange-metal); color: #1a0c04; }
@media (max-width: 620px) {
  .af-bar { grid-template-columns: auto 1fr auto; } .af-bar output { grid-column: 1 / -1; order: -1; min-width: 0; font-size: .9rem; }
  .af-counts span { padding: 6px 7px; font-size: .72rem; } .af-counts b { font-size: 1rem; }
  .af-ride { min-height: 34px; padding: 0 11px; font-size: .88rem; }
}

/* ---------- hero badges: a chrome trophy by the title, and the rally patch (our own designs) ---------- */
.title-row { display: flex; align-items: flex-end; gap: clamp(10px, 2vw, 24px); }
.trophy { flex: none; width: clamp(64px, 9vw, 132px); height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)) drop-shadow(0 0 30px rgba(255,123,44,.22)); transform-origin: 50% 100%; }
.patch { position: absolute; right: var(--gut); top: clamp(14px, 2.5vh, 28px); width: clamp(110px, 12vw, 172px); height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.6)); transform: rotate(var(--patch-r, -8deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hero:hover .patch { --patch-r: -3deg; }
@media (max-width: 760px) { .patch { width: 96px; top: 14px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .patch { transition: none; } }

/* THE WAY HOME (Chris, 2026-11-12: "We need a way to get back to the main Alchema site from the example festival
   websites"). The sample bar opens with the Alchema flask and a plain link to the main site. */
.sample-home { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; padding: 2px 10px 2px 6px; border-radius: 999px; font-weight: 700; text-decoration: none; background: rgba(0, 6, 15, 0.82); color: #ffee00 !important; white-space: nowrap; transition: background .15s, transform .15s; }
.sample-home img { width: 18px; height: 18px; display: block; }
.sample-home:hover { background: #00173d; transform: translateY(-1px); }
.sample-home:focus-visible { outline: 2px solid #ffee00; outline-offset: 2px; }
