/* Moto Bucharest Ukraine — night · road · light · motion
   Mobile first. Heavy effects are opt-in from JS on desktop only. */

:root {
  --black: #050505;
  --bg: #0b0b0b;
  --graphite: #151515;
  --graphite-2: #222222;
  --white: #f2f2f2;
  --muted: #b4b4b4;
  --dim: #7a7a7a;
  --accent: #f2a504;          /* sampled from the logo lettering (#F1A504) */
  --accent-hi: #ffc53a;
  --accent-glow: rgba(242, 165, 4, .45);
  --red: #d7191a;             /* tail light / flag red */
  --red-glow: rgba(230, 30, 20, .55);
  --blue: #1f5aa8;            /* flag blue, used sparingly */

  --f-head: "Oswald", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --cut: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sy: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--black); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 300;
  padding: 10px 16px; background: var(--accent); color: var(--black);
  font-weight: 700; text-decoration: none; transform: translateY(-160%);
  transition: transform .2s;
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- Atmosphere layers ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07;
  background-image: 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='.9' 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 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.ambient i {
  position: absolute; inset: -10%; opacity: 0; transition: opacity 1.4s ease;
}
.ambient__a { background: radial-gradient(60% 50% at 80% 30%, rgba(242, 165, 4, .10), transparent 70%); }
.ambient__r { background: radial-gradient(55% 45% at 50% 100%, rgba(215, 25, 26, .16), transparent 70%); }
.ambient__b { background: radial-gradient(50% 45% at 10% 40%, rgba(31, 90, 168, .12), transparent 70%); }
html[data-zone="about"] .ambient__a,
html[data-zone="rides"] .ambient__a,
html[data-zone="rides"] .ambient__b,
html[data-zone="videos"] .ambient__b,
html[data-zone="join"] .ambient__r { opacity: 1; }

/* road marking running along the page (moves with scroll from JS) */
.road {
  position: fixed; top: 0; bottom: 0; left: clamp(8px, 2.4vw, 40px); width: 2px;
  z-index: 0; pointer-events: none; overflow: hidden; opacity: .55;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}
.road__dash {
  position: absolute; left: 0; top: -120px; width: 2px; height: calc(100% + 240px);
  background: repeating-linear-gradient(to bottom, rgba(242, 165, 4, .55) 0 38px, transparent 38px 120px);
  transform: translate3d(0, var(--road, 0px), 0);
  will-change: transform;
}
.road__edge { display: none; }

/* ---------- Intro (~5 s): trident lights up → light sweep → tail light → logo ---------- */
.intro { display: none; }
.js .intro {
  --L: min(62vw, 360px);
  position: fixed; inset: 0; z-index: 400; display: block;
  background: #000; cursor: pointer;
  animation: intro-out .55s ease 4.95s forwards;
}
.js.intro-done .intro { display: none; }
.intro__stage {
  position: absolute; left: 50%; top: 50%; width: var(--L); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: intro-zoom 1.9s cubic-bezier(.3, .5, .3, 1) 3.4s forwards;
}
.intro__stage { isolation: isolate; }
.intro__stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 1. trident on the jacket glows up out of the dark */
.intro__trident {
  opacity: 0; z-index: 3; will-change: transform, opacity;
  transform-origin: 49.7% 59.3%;
  transform: translateZ(0) scale(2.6);
  filter: drop-shadow(0 0 0 rgba(242, 165, 4, 0));
  animation: intro-trident 2s ease-out .3s forwards, intro-tri-place .9s cubic-bezier(.6, 0, .25, 1) 1.9s forwards;
}
/* 2. light streak passes like a headlight */
.intro__line {
  position: absolute; left: 0; top: 50%; width: 60%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 40%, #fff7da 60%, transparent);
  box-shadow: 0 0 18px 2px var(--accent-glow);
  transform: translate3d(-110%, 0, 0);
  animation: intro-line 1s cubic-bezier(.6, 0, .3, 1) 2.2s forwards;
}
/* 3. tail light switches on, slowly, with a flicker */
.intro__glow {
  position: absolute; left: 49.6%; top: 86.6%; z-index: 2;
  width: 42%; height: 22%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 70, 40, .95), rgba(215, 25, 26, .55) 45%, transparent);
  filter: blur(6px); opacity: 0; mix-blend-mode: screen;
  animation: intro-tail 1.8s linear 2.8s forwards;
}
/* 4. the whole logo appears around them */
.intro__logo { opacity: 0; z-index: 1; animation: intro-logo 2.2s ease 2.5s forwards; }
@media (max-width: 600px) { .intro__trident { transform: translateZ(0) scale(3.4); } }

@keyframes intro-trident {
  0% { opacity: 0; filter: drop-shadow(0 0 0 rgba(242, 165, 4, 0)); }
  45% { opacity: 1; filter: drop-shadow(0 0 6px rgba(242, 165, 4, .9)) drop-shadow(0 0 2px rgba(255, 220, 140, .9)); }
  75% { opacity: 1; filter: drop-shadow(0 0 10px rgba(242, 165, 4, .8)) drop-shadow(0 0 2px rgba(255, 220, 140, .8)); }
  100% { opacity: .9; filter: drop-shadow(0 0 5px rgba(242, 165, 4, .55)); }
}
@keyframes intro-tri-place { to { transform: translateZ(0) scale(1); } }
@keyframes intro-line {
  0% { transform: translate3d(-110%, 0, 0); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate3d(190%, 0, 0); opacity: 0; }
}
@keyframes intro-tail {
  0% { opacity: 0; }
  10% { opacity: .85; }
  18% { opacity: .15; }
  30% { opacity: .95; }
  38% { opacity: .4; }
  55% { opacity: 1; }
  100% { opacity: .7; }
}
@keyframes intro-logo { 0% { opacity: 0; } 30% { opacity: .3; } 100% { opacity: 1; } }
@keyframes intro-zoom { to { transform: translate(-50%, -50%) scale(1.06); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* ---------- Header ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px;
  background: linear-gradient(to bottom, rgba(5, 5, 5, .9), rgba(5, 5, 5, 0));
  transition: background .3s;
}
.topbar.is-scrolled { background: rgba(5, 5, 5, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar__brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font: 600 .95rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .06em;
  min-height: 44px; opacity: 0; transform: translateY(-6px);
  transition: opacity .35s, transform .35s;
}
.topbar.is-scrolled .topbar__brand, .no-js .topbar__brand { opacity: 1; transform: none; }
.topbar__brand img { width: 36px; height: 36px; border-radius: 50%; }
.topbar__brand em { font-style: normal; color: var(--accent); }
@media (max-width: 420px) { .topbar__brand span { display: none; } }

.lang { display: flex; align-items: center; font: 600 .9rem/1 var(--f-head); letter-spacing: .12em; }
.lang a {
  display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 4px;
  text-decoration: none; color: var(--muted); position: relative; transition: color .2s;
}
.lang a:hover { color: var(--white); }
.lang a[aria-current="page"] { color: var(--accent); }
.lang a[aria-current="page"]::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: 8px; height: 2px; background: var(--accent);
}
.lang__sep { color: var(--graphite-2); }

/* ---------- Buttons ---------- */
.btn {
  --line: var(--accent);
  --fill: var(--accent);
  --ink: var(--black);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 54px; padding: 0 1.7em;
  font: 600 1rem/1 var(--f-head); letter-spacing: .07em; text-transform: uppercase;
  color: var(--white); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), color .3s, filter .3s;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
.btn__bg, .btn__bg::before, .btn__bg::after, .btn::before {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn__bg { position: absolute; inset: 0; z-index: -1; background: var(--line); }
.btn__bg::before { content: ""; position: absolute; inset: 1.5px; background: var(--black); }
.btn__bg::after {
  content: ""; position: absolute; inset: 0; background: var(--fill);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.btn::before { /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%);
  transform: translateX(-130%);
}
.btn__icon { width: 1.25em; height: 1.25em; flex: none; }
.btn__label { position: relative; }
.btn:hover { color: var(--ink); transform: scale(1.04); }
.btn:hover .btn__bg::after { transform: scaleX(1); }
.btn:hover::before { transform: translateX(130%); transition: transform .8s ease; }
.btn:active { transform: scale(.96); transition-duration: .08s; }
.btn--primary { filter: drop-shadow(0 0 10px rgba(242, 165, 4, .25)); }
.btn--primary:hover { filter: drop-shadow(0 0 22px rgba(242, 165, 4, .6)); }
.btn--ghost { --line: var(--accent); color: var(--white); filter: drop-shadow(0 0 8px rgba(242, 165, 4, .18)); }
.btn--ghost:hover { color: var(--black); filter: drop-shadow(0 0 22px rgba(242, 165, 4, .55)); }
.btn--xl { min-height: 62px; font-size: 1.15rem; padding: 0 2.2em; --cut: 14px; }
.btn--pulse { animation: pulse 2.6s ease-in-out infinite; }
.btn--pulse:hover { animation: none; }
@keyframes pulse {
  0%, 100% { scale: 1; filter: drop-shadow(0 0 8px rgba(242, 165, 4, .22)); }
  50% { scale: 1.025; filter: drop-shadow(0 0 20px rgba(242, 165, 4, .5)); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 84px var(--gutter) 72px;
  text-align: center;
}
.hero__layers { position: absolute; inset: 0; z-index: -1; transform: translate3d(0, calc(var(--hero-sy, 0) * 1px), 0); }
.hero__bg, .hero__beams { position: absolute; inset: -16px; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.6) contrast(1.1); }
.hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 30% at 50% 78%, rgba(215, 25, 26, .18), transparent 70%),
    radial-gradient(60% 50% at 50% 40%, rgba(242, 165, 4, .07), transparent 70%),
    linear-gradient(to bottom, rgba(5, 5, 5, .75), rgba(5, 5, 5, .35) 35%, rgba(5, 5, 5, .55) 70%, var(--black));
}
/* light streaks */
.hero__beams i {
  position: absolute; left: 0; height: 1px; width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; animation: beam 7s linear infinite;
}
.hero__beams i:nth-child(1) { top: 22%; animation-delay: .4s; }
.hero__beams i:nth-child(2) { top: 64%; animation-delay: 2.2s; animation-duration: 6s; width: 55%; }
.hero__beams i:nth-child(3) { top: 74%; animation-delay: 4.1s; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.hero__beams i:nth-child(4) { top: 38%; animation-delay: 5.3s; animation-duration: 9s; width: 30%; }
.hero__beams i:nth-child(5) { top: 84%; animation-delay: 1.3s; animation-duration: 5s; height: 2px; }
@keyframes beam {
  0% { transform: translate3d(-100%, 0, 0); opacity: 0; }
  10% { opacity: .55; }
  45% { opacity: .55; }
  60% { transform: translate3d(260%, 0, 0); opacity: 0; }
  100% { transform: translate3d(260%, 0, 0); opacity: 0; }
}
/* perspective road with moving centre line */
.hero__horizon {
  position: absolute; left: 50%; bottom: -2%; width: 140vw; max-width: 2200px; height: 46%;
  transform: translateX(-50%) perspective(260px) rotateX(58deg); transform-origin: 50% 100%;
  background:
    linear-gradient(90deg, transparent calc(50% - 3px), rgba(242, 165, 4, .0) calc(50% - 3px)),
    linear-gradient(90deg, transparent 18%, rgba(242, 242, 242, .16) 18.2%, transparent 18.4%, transparent 81.6%, rgba(242, 242, 242, .16) 81.8%, transparent 82%);
  mask-image: linear-gradient(to top, #000 10%, transparent 92%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 92%);
  overflow: hidden;
}
.hero__horizon::before {
  content: ""; position: absolute; left: calc(50% - 3px); width: 6px; top: -100px; bottom: 0;
  background: repeating-linear-gradient(to bottom, rgba(242, 165, 4, .75) 0 50px, transparent 50px 100px);
  animation: lane 1.6s linear infinite;
}
@keyframes lane { to { transform: translate3d(0, 100px, 0); } }

.hero__inner {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: clamp(12px, 2.2vh, 20px); max-width: 860px;
  transform: translate3d(0, calc(var(--hero-sy, 0) * -.15px), 0);
  opacity: var(--hero-o, 1);
}
.hero__logo {
  position: relative; width: clamp(200px, 60vw, 360px); aspect-ratio: 1;
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .4s var(--ease);
  margin-bottom: clamp(4px, 1vh, 12px);
}
@media (max-height: 700px) and (max-width: 700px) { .hero__logo { width: clamp(180px, 50vw, 260px); } }
.hero__img {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  animation: breathe 7s ease-in-out infinite;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .7));
}
@keyframes breathe { 50% { transform: scale(1.015); } }
.hero__halo {
  position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 165, 4, .16), rgba(242, 165, 4, .05) 60%, transparent);
  animation: halo 5s ease-in-out infinite;
}
@keyframes halo { 50% { opacity: .55; } }
.hero__edge {
  position: absolute; inset: -3px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(transparent 0 72%, rgba(242, 165, 4, .0) 74%, var(--accent) 86%, #fff3c4 88%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 9s linear infinite; opacity: .8;
}
@keyframes spin { to { transform: rotate(1turn); } }
.hero__tail {
  position: absolute; left: 49.6%; top: 86.6%; width: 13%; height: 8%;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 80, 50, .9), rgba(215, 25, 26, .4) 55%, transparent);
  mix-blend-mode: screen; filter: blur(3px);
  animation: tail 3.4s ease-in-out infinite;
}
@keyframes tail { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }

.hero__title {
  margin: 0; font: 700 clamp(1.9rem, 7.6vw, 3.6rem)/1.02 var(--f-head);
  text-transform: uppercase; letter-spacing: .02em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .8);
}
.hero__emoji { display: block; margin-top: .25em; font-size: .5em; vertical-align: middle; letter-spacing: 0; text-shadow: none; }
.hero__tagline { margin: 0; max-width: 40ch; font-size: clamp(1.02rem, 3.6vw, 1.3rem); font-weight: 500; color: #dcdcdc; }
.hero__chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  margin: 0; padding: 0; list-style: none;
  font: 500 clamp(.78rem, 2.8vw, .92rem)/1.4 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero__chips li:not(:last-child)::after { content: "•"; color: var(--accent); margin: 0 .7em; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }
.hero__scroll {
  position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
}
.hero__scroll span {
  display: block; width: 2px; height: 30px; background: linear-gradient(var(--accent), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; width: min(100%, 320px); }
  .hero__scroll { display: none; }
}

/* ---------- Sections ---------- */
.section {
  position: relative; overflow: clip;
  padding: clamp(80px, 13vw, 170px) var(--gutter);
}
.section > *:not(.bigword) { position: relative; max-width: var(--max); margin-left: auto; margin-right: auto; }
.h2 {
  margin: 0 0 clamp(24px, 4vw, 48px);
  font: 700 clamp(2.1rem, 9vw, 4.4rem)/1 var(--f-head); text-transform: uppercase; letter-spacing: .01em;
}
.h2__index {
  display: block; margin-bottom: 14px;
  font: 500 .85rem/1 var(--f-head); letter-spacing: .3em; color: var(--accent);
}
.h2__index::after { content: ""; display: inline-block; width: 46px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--accent); }
.bigword {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font: 700 clamp(6rem, 26vw, 19rem)/.8 var(--f-head); text-transform: uppercase; letter-spacing: -.01em;
  color: rgba(242, 242, 242, .028); white-space: nowrap;
  transform: translate3d(0, var(--p, 0px), 0);
}
.bigword--l { top: 6%; left: -2vw; }
.bigword--r { top: 2%; right: -4vw; }

/* About */
.about__grid { display: grid; gap: 28px; }
.about__meta { display: flex; gap: 18px; flex-wrap: wrap; }
.coords { font: 500 .78rem/1 var(--f-head); letter-spacing: .24em; color: var(--accent); }
.coords--dim { color: var(--dim); }
.lead { margin: 0; max-width: 62ch; font-size: clamp(1.06rem, 2.6vw, 1.42rem); line-height: 1.65; color: #d9d9d9; }
.route { width: 100%; max-width: 760px; height: auto; margin-top: 12px; overflow: visible; justify-self: end; }
.route__grid { stroke: rgba(242, 242, 242, .06); stroke-width: 1; fill: none; }
.route__path {
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .2s;
  filter: drop-shadow(0 0 6px rgba(242, 165, 4, .5));
}
.no-js .route__path, .route.is-in .route__path { stroke-dashoffset: 0; }
.route__dot { fill: var(--black); stroke: var(--accent); stroke-width: 2; }
.route__dot--home { fill: var(--red); stroke: #ff8a6e; filter: drop-shadow(0 0 8px var(--red-glow)); }
.route__label { font: 600 14px var(--f-head); letter-spacing: .2em; fill: var(--muted); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 220px 1fr; align-items: start; column-gap: 48px; }
  .about__meta { flex-direction: column; padding-top: 34px; }
  .route { grid-column: 1 / -1; margin-top: 40px; }
}

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 10px; }
.g-item { break-inside: avoid; margin-bottom: 10px; }
@media (min-width: 700px) { .gallery { column-gap: 16px; } .g-item { margin-bottom: 16px; } }
@media (min-width: 1000px) {
  .gallery { columns: 3; column-gap: 20px; }
  .g-item { margin-bottom: 20px; }
}
.g-item__btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
}
.g-item__frame {
  position: relative; display: block; overflow: hidden; aspect-ratio: var(--ar);
  background: var(--graphite);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.g-item__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease), filter .5s;
}
.g-item__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(5, 5, 5, .75), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.g-item__shade::after { /* light overlay */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 220, 150, .18) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .9s var(--ease);
}
.g-item__cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px;
  font: 500 .72rem/1.2 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease);
}
.g-item__cap strong { font-size: 1.15rem; letter-spacing: .06em; color: var(--white); }
.g-item__btn:focus-visible .g-item__shade,
.g-item__btn:focus-visible .g-item__cap { opacity: 1; transform: none; }
@media (hover: hover) {
  .g-item__btn:hover img { transform: scale(1.06); }
  .g-item__btn:hover .g-item__shade, .g-item__btn:hover .g-item__cap { opacity: 1; transform: none; }
  .g-item__btn:hover .g-item__shade::after { transform: translateX(100%); }
  .gallery:has(.g-item__btn:hover) .g-item__btn:not(:hover) img { filter: brightness(.5) saturate(.7); }
}
@media (max-width: 699px) { .g-item__cap { opacity: 1; transform: none; } .g-item__shade { opacity: .8; } }

/* Videos */
.videos__list { display: flex; flex-wrap: wrap; gap: 24px; }
.v-card { width: 100%; }
.v-card--portrait { width: min(100%, 380px); margin-inline: auto; }
@media (min-width: 900px) {
  .videos--portrait { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 64px; align-items: center; padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); }
  .videos--portrait .h2 { margin: 0; }
  .videos--portrait .videos__list { margin: 0; }
  .videos--portrait .v-card--portrait { width: 380px; }
}
.v-card__btn, .v-card video {
  position: relative; display: block; width: 100%; aspect-ratio: var(--ar, 16 / 9); padding: 0; border: 0;
  background: transparent; cursor: pointer;
}
.v-card__frame {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.v-card video { clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); background: #000; }
.v-card__poster { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.v-card__shade { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(5, 5, 5, .1), rgba(5, 5, 5, .65)); }
.v-card__title {
  position: absolute; left: 20px; bottom: 16px;
  font: 600 .85rem/1 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--white);
}
.play {
  position: absolute; left: 50%; top: 50%; width: clamp(72px, 14vw, 96px); aspect-ratio: 1;
  transform: translate(-50%, -50%); display: grid; place-items: center;
}
.play__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(5, 5, 5, .55); border: 1.5px solid var(--accent);
  box-shadow: 0 0 24px rgba(242, 165, 4, .35), inset 0 0 18px rgba(242, 165, 4, .15);
  transition: transform .35s var(--ease);
  animation: ring 2.8s ease-in-out infinite;
}
.play__ring-dash { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); animation: spin 14s linear infinite; }
.play__ring-dash circle { fill: none; stroke: rgba(242, 165, 4, .55); stroke-width: .8; stroke-dasharray: 2 6; }
.play__icon { position: relative; width: 38%; height: 38%; color: var(--white); margin-left: 6%; }
@keyframes ring { 50% { box-shadow: 0 0 36px rgba(242, 165, 4, .55), inset 0 0 18px rgba(242, 165, 4, .2); } }
.v-card__btn:hover .play__ring, .v-card__btn:focus-visible .play__ring { transform: scale(1.12); }
.v-card__btn:hover .v-card__poster { transform: scale(1.03); }

/* FAQ */
.faq__lead { margin: -12px 0 clamp(24px, 4vw, 40px); max-width: 60ch; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.15rem); }
.faq__list { display: grid; gap: 10px; max-width: 900px; }
.faq__item {
  position: relative; background: rgba(21, 21, 21, .7);
  border: 1px solid var(--graphite-2);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.faq__item::before { /* light sweep on hover */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 210, 120, .10) 50%, transparent 65%);
  transform: translateX(-100%);
}
.faq__item::after { /* accent edge, like a tail-light strip */
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
  transform: scaleY(0); transition: transform .45s var(--ease);
}
.faq__item:hover { border-color: rgba(242, 165, 4, .3); }
.faq__item:hover::before { transform: translateX(100%); transition: transform .9s ease; }
.faq__item[open]:not(.is-closing) { border-color: rgba(242, 165, 4, .5); background: rgba(21, 21, 21, .95); box-shadow: inset 0 0 40px rgba(242, 165, 4, .05); }
.faq__item[open]:not(.is-closing)::after { transform: scaleY(1); }
.faq__item[open]:not(.is-closing) .faq__q { color: var(--accent-hi); }
.js .faq__item.reveal { transition-delay: calc(var(--i, 0) * 80ms); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(16px, 3vw, 26px); min-height: 56px; cursor: pointer; list-style: none;
  font: 600 clamp(1.02rem, 2.6vw, 1.22rem)/1.3 var(--f-head); letter-spacing: .02em; text-transform: uppercase;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q { transition: color .3s; }
.faq__q:hover { color: var(--accent-hi); }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--accent);
  transition: transform .3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open]:not(.is-closing) .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 clamp(16px, 3vw, 26px) 20px; color: #d6d6d6; max-width: 70ch; }
.faq__a p { margin: 0 0 .7em; line-height: 1.65; }
.faq__a p:last-child { margin-bottom: 0; }
.no-js .faq__item[open] .faq__a { animation: faq-open .35s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* Final CTA */
.final {
  position: relative; overflow: clip; isolation: isolate;
  min-height: 90vh; min-height: 90svh; display: grid; place-items: center;
  padding: clamp(90px, 14vw, 180px) var(--gutter);
  text-align: center;
  background:
    radial-gradient(50% 38% at 50% 105%, rgba(215, 25, 26, .32), transparent 70%),
    radial-gradient(70% 60% at 50% 40%, rgba(242, 165, 4, .06), transparent 70%);
  border-top: 1px solid rgba(242, 242, 242, .06);
}
.final__word {
  position: absolute; inset: 0; z-index: -1; display: grid; place-items: center;
  font: 700 clamp(4.6rem, 21vw, 17rem)/.82 var(--f-head); text-transform: uppercase;
  color: rgba(242, 242, 242, .035); letter-spacing: -.01em; pointer-events: none; user-select: none;
}
.final__route { position: absolute; left: 0; bottom: 6%; width: 100%; height: 34%; z-index: -1; overflow: visible; }
.final__route path {
  fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .7;
  transition: stroke-dashoffset 2.8s var(--ease);
  filter: drop-shadow(0 0 6px rgba(242, 165, 4, .6));
}
.no-js .final__route path, .final__route.is-in path { stroke-dashoffset: 0; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 3vw, 28px); max-width: 900px; }
.final__q { margin: 0; font: 700 clamp(1.9rem, 6.4vw, 3.8rem)/1.06 var(--f-head); text-transform: uppercase; text-wrap: balance; }
.final__join { margin: 0; font-size: clamp(1.05rem, 3vw, 1.4rem); font-weight: 600; color: #e2e2e2; }
.final__cta { margin-top: 10px; }

/* Footer */
.footer {
  display: grid; gap: 18px; padding: 40px var(--gutter) max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--graphite-2); color: var(--muted); font-size: .92rem;
}
.footer__brand { display: grid; gap: 4px; }
.footer__brand strong { color: var(--white); font: 600 1.05rem/1.2 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
.footer__links { display: flex; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 .9rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--white); transition: color .2s;
}
.footer__links a:hover { color: var(--accent); }
.footer__copy { margin: 0; color: var(--dim); font-size: .82rem; }
@media (min-width: 800px) {
  .footer { grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 250;
  display: grid; place-items: center;
  background: rgba(3, 3, 3, .95);
  touch-action: pan-y; animation: fadein .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } }
.lightbox__track { position: relative; width: 100%; height: 100%; overflow: hidden; }
.lightbox__img {
  position: absolute; left: 50%; top: 50%;
  max-width: calc(100vw - 32px); max-height: calc(100vh - 150px); max-height: calc(100svh - 150px);
  width: auto; height: auto; transform: translate(-50%, -50%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  user-select: none; -webkit-user-drag: none;
}
.lightbox__meta {
  position: absolute; left: 0; right: 0; bottom: max(22px, env(safe-area-inset-bottom)); margin: 0;
  text-align: center; font: 500 .85rem/1.4 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.lightbox__meta b { color: var(--accent); font-weight: 600; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid rgba(242, 242, 242, .2); background: rgba(5, 5, 5, .7); color: var(--white); cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lightbox__prev, .lightbox__next { bottom: max(64px, calc(env(safe-area-inset-bottom) + 50px)); }
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }
@media (min-width: 800px) {
  .lightbox__img { max-width: calc(100vw - 200px); max-height: calc(100vh - 120px); }
  .lightbox__prev, .lightbox__next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lightbox__prev { left: 28px; }
  .lightbox__next { right: 28px; }
}
html.lb-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal--title { transform: translate3d(0, 26px, 0); }
.js .reveal--photo { transform: scale(.95); }
.js .reveal--btn { transform: scale(.94); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .g-item.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------- Desktop cursor (enabled from JS only) ---------- */
.cursor, .cursor-ring, .fx { display: none; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor .cursor, .has-cursor .cursor-ring { display: block; }
.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 240; pointer-events: none; mix-blend-mode: screen; }
.has-fx .fx { display: block; }
/* Both cursor parts are zero-size anchors moved by JS; the visible shapes are
   centred on the anchor with translate(-50%,-50%), so size changes and the
   press "squeeze" always happen around the pointer and never shift it. */
.cursor, .cursor-ring {
  position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 260; pointer-events: none;
  will-change: transform;
}
.cursor__c, .cursor-ring__c {
  position: absolute; left: 0; top: 0; border-radius: 50%;
  transform: translate(-50%, -50%) scale(var(--press, 1));
}
.cursor__c { width: 6px; height: 6px; background: #fff3d1; box-shadow: 0 0 10px 2px var(--accent-glow); transition: opacity .2s; }
.cursor-ring__c {
  width: 34px; height: 34px;
  border: 1px solid rgba(242, 165, 4, .6);
  background: radial-gradient(closest-side, rgba(242, 165, 4, .10), transparent);
  display: grid; place-items: center;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s, opacity .2s, transform .18s var(--ease);
}
.cursor-ring__c span {
  font: 600 10px/1 var(--f-head); letter-spacing: .2em; color: var(--black); opacity: 0; transition: opacity .2s;
  padding-left: .2em; white-space: nowrap;
}
.cursor-ring.is-hover .cursor-ring__c { width: 64px; height: 64px; border-color: var(--accent); background: radial-gradient(closest-side, rgba(242, 165, 4, .25), transparent); }
.cursor-ring.is-label .cursor-ring__c { width: 72px; height: 72px; background: var(--accent); border-color: var(--accent); }
.cursor-ring.is-label .cursor-ring__c span { opacity: 1; }
.cursor-ring.is-down .cursor-ring__c { --press: .8; }
.cursor.is-label .cursor__c { opacity: 0; }
.cursor.is-hidden .cursor__c, .cursor-ring.is-hidden .cursor-ring__c { opacity: 0; }

/* ---------- 404 ---------- */
.notfound main { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; }
.notfound h1 { margin: 0; font: 700 5rem/1 var(--f-head); color: var(--accent); }
.notfound a { color: var(--white); font-family: var(--f-head); letter-spacing: .15em; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .js .intro { animation: intro-out .3s ease .55s forwards !important; }
  .intro__line, .intro__trident { display: none; }
  .intro__glow { animation: none !important; opacity: .6; }
  .intro__stage { animation: none !important; }
  .intro__trident { transform: none; }
  .intro__logo { animation: intro-logo .35s ease forwards !important; }
  .btn--pulse, .hero__beams i, .hero__horizon::before, .hero__img, .hero__halo, .hero__edge, .hero__tail,
  .play__ring, .play__ring-dash, .hero__scroll span { animation: none !important; }
  .hero__beams { display: none; }
  .hero__tail { opacity: .6; }
  .js .reveal { transform: none !important; transition: opacity .3s ease !important; }
  .road__dash, .bigword, .hero__layers, .hero__inner { transform: none !important; }
  .route__path, .final__route path { transition: none !important; stroke-dashoffset: 0; }
}
