/* Roadblock Rodeo: night city, neon and siren light, bold low-poly.
   Colours are taken from the game's own screen: the cyan HUD, the magenta bounty line, the amber street and window light,
   the red and blue of the sirens, on a near-black blue night.
   Fonts (SIL OFL 1.1, served from /fonts/ beside their licences): Bungee for the lettering, Barlow for the text.
   No script anywhere on the site, and no style="" attributes, so the server's strict policy needs no exceptions.
   Mobile first: the base rules are the phone, the min-width queries add the wide layouts. */

@font-face { font-family: "Bungee"; src: url("/fonts/Bungee-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --night: #070916;
  --night-2: #0d1128;
  --panel: rgba(13, 17, 40, 0.88);
  --edge: #2f3a78;
  --rule: rgba(120, 140, 220, 0.25);

  --text: #e6e9ff;
  --muted: #a3acd8;
  --white: #ffffff;

  --siren-red: #ff2d55;
  --siren-red-dark: #b3123a;
  --siren-blue: #27b4ff;
  --siren-blue-dark: #0b6fb8;
  --cyan: #4de8ff;      /* the HUD */
  --magenta: #ff3df2;   /* the bounty line */
  --amber: #ffb340;     /* window and street light */
  --yellow: #ffd23f;    /* the centre line */

  --display: "Bungee", "Impact", "Arial Black", sans-serif;
  --sans: "Barlow", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --wrap: 1120px;
  --gutter: 16px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--white); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 10px 14px; border-radius: var(--radius);
  background: var(--night-2); border: 2px solid var(--yellow); color: var(--yellow);
  font-family: var(--display); text-decoration: none;
}
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: 0.02em; }

.box-title {
  color: var(--white);
  font-size: clamp(1.3rem, 5vw, 1.9rem);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.box-title::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.45em; background: var(--siren-red); transform: skewX(-18deg); }

.box-hint { color: var(--cyan); font-weight: 600; margin: 0 0 16px; }

.small { font-size: 0.9rem; }
.dim { color: var(--muted); }
.accent { color: var(--yellow); }
.tbd { color: var(--yellow); white-space: nowrap; }

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

/* ---------- The siren bar: two lamps that take turns (a still bar for anyone who asks for less motion) ---------- */

.siren { display: grid; grid-template-columns: 1fr 1fr; height: 8px; }
.siren i { display: block; }
.siren .r { background: var(--siren-red); animation: lampR 1.1s steps(1, end) infinite; }
.siren .b { background: var(--siren-blue); animation: lampB 1.1s steps(1, end) infinite; }
@keyframes lampR { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.18; } }
@keyframes lampB { 0%, 49% { opacity: 0.18; } 50%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .siren .r, .siren .b { animation: none; opacity: 1; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: 40px 0 44px;
  overflow: hidden;
  border-bottom: 2px solid var(--edge);
  background-color: var(--night);
}

/* A real frame of the game behind the title: the chase camera down a lit street at night. */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: url("/img/hero-sm.jpg") center 55% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(7, 9, 22, 0.55) 0%, rgba(7, 9, 22, 0.35) 40%, rgba(7, 9, 22, 0.92) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(7, 9, 22, 0.55), rgba(7, 9, 22, 0) 70%);
}
@media (min-width: 700px) { .hero::before { background-image: url("/img/hero.jpg"); } }

.hero-in { text-align: center; }

.studio-line {
  color: var(--muted);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 22px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.lockup { margin: 0; text-transform: uppercase; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.7), 0 0 28px rgba(0, 0, 0, 0.6); }
.lockup span { display: block; }
.lockup .road { color: var(--white); font-size: clamp(2.3rem, 12.5vw, 6.2rem); line-height: 1; }
.lockup .rodeo {
  color: var(--siren-red);
  font-size: clamp(3.6rem, 20vw, 9.6rem);
  line-height: 0.95;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.7), 0 0 22px rgba(255, 45, 85, 0.65), 0 0 60px rgba(255, 45, 85, 0.35);
}

.tagline-sub { margin: -6px 0 0; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan, #19e8ff); }
.tagline {
  color: var(--cyan);
  font-weight: 600;
  font-size: clamp(1.05rem, 3.4vw, 1.5rem);
  letter-spacing: 0.04em;
  margin: 16px 0 0;
  text-shadow: 0 0 14px rgba(77, 232, 255, 0.55), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-grid { display: grid; gap: 22px; margin-top: 30px; text-align: left; }

.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* ---------- Panels and buttons ---------- */

.box {
  position: relative;
  background: var(--panel);
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.45);
  padding: 20px 18px;
}
.box.hot { border-color: var(--siren-red); box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 45, 85, 0.2); }

.btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: var(--night-2);
  border: 2px solid var(--edge);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
  transition: filter 80ms linear, border-color 80ms linear;
}
.btn:hover { filter: brightness(1.25); color: var(--white); border-color: var(--cyan); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); }

.btn.siren-btn {
  color: var(--white);
  background: linear-gradient(to bottom, var(--siren-red), var(--siren-red-dark));
  border-color: #ff7b95;
}
.btn.siren-btn:hover { border-color: var(--white); }

.pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--siren-blue-dark);
  border: 1.5px solid var(--siren-blue);
  color: var(--white);
  font-family: var(--display);
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.status .pill { margin-bottom: 12px; }
.status .box-title { font-size: 1.25rem; }
.status ul { margin: 12px 0 0; padding: 0; list-style: none; }
.status li { padding: 7px 0; border-top: 1px solid var(--rule); color: var(--white); font-weight: 600; }
.status li span { color: var(--muted); font-weight: 400; }
.status .btn { margin-top: 14px; }

/* ---------- Sections ---------- */

main { padding: 34px 0 20px; }
.section { margin: 0 0 28px; scroll-margin-top: 16px; }
.two { display: grid; gap: 22px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { padding-left: 24px; position: relative; }
/* A small siren-red road marker, slanted like the lettering. */
.facts li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em;
  width: 10px; height: 10px; background: var(--yellow); transform: skewX(-18deg);
}
.facts strong { color: var(--white); font-weight: 600; }

.gap-top { margin-top: 22px; }
.notice { border-left: 4px solid var(--yellow); padding: 4px 0 4px 14px; margin: 18px 0 0; }

/* ---------- Pictures ---------- */

.shot { margin: 0; overflow: hidden; background: var(--panel); border: 2px solid var(--edge); border-radius: var(--radius); box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.45); }
.shot img, .shot video { width: 100%; background: #000; }
.shot figcaption { padding: 10px 14px 12px; border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--muted); }
.shot figcaption b { display: block; font-family: var(--display); font-weight: 400; color: var(--cyan); letter-spacing: 0.05em; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 2px; }

.gallery { display: grid; gap: 18px; align-items: start; }

/* The three cameras */
.cams { display: grid; gap: 18px; }
.cam-num { display: inline-block; font-family: var(--display); color: var(--night); background: var(--yellow); padding: 1px 8px; margin-right: 8px; transform: skewX(-12deg); }

/* Platforms */
.platforms { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.platforms li { background: var(--night-2); border: 2px solid var(--siren-blue); border-radius: var(--radius); padding: 12px 16px; }
.platforms .pname { display: block; font-family: var(--display); color: var(--white); font-size: 1.1rem; text-transform: uppercase; }
.platforms .pstate { display: block; color: var(--cyan); font-weight: 600; }
.platforms .pnote { display: block; font-size: 0.9rem; color: var(--muted); }

.table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 9px 14px 9px 0; border-top: 1px solid var(--rule); }
.table th { font-weight: 600; color: var(--white); width: 34%; }
.table td { color: var(--text); }
.table caption { text-align: left; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; padding-bottom: 6px; font-weight: 600; }

/* Studio */
.hallmarks { display: grid; gap: 16px; margin: 0 0 18px; }
.hallmarks figure { margin: 0; border: 2px solid var(--edge); border-radius: var(--radius); overflow: hidden; background: #000; }
.hallmarks figcaption { padding: 8px 12px; border-top: 1px solid var(--rule); font-weight: 600; color: var(--white); background: var(--panel); }

/* ---------- Footer ---------- */

.footer { border-top: 2px solid var(--edge); background: #04050e; padding: 20px 0 28px; color: var(--muted); font-size: 0.92rem; }
.footer p { margin: 0 0 6px; }
.footer .name { font-family: var(--display); color: var(--siren-red); letter-spacing: 0.04em; }

/* ---------- Not found ---------- */

.lost { min-height: 100vh; display: flex; align-items: center; padding: 40px 0; }
.lost .box { max-width: 560px; margin: 0 auto; text-align: center; }
.lost .btn { margin-top: 18px; }
.lost .big { font-family: var(--display); font-size: clamp(4rem, 22vw, 7rem); line-height: 1; color: var(--siren-red); text-shadow: 0 0 24px rgba(255, 45, 85, 0.5); margin: 0 0 6px; }

/* ---------- Plain pages (privacy, terms) ---------- */

.page-head { padding: 28px 0 0; text-align: center; }
.page-head a { text-decoration: none; display: inline-block; }
.page-head .lockup .road { font-size: clamp(1.3rem, 6vw, 2rem); }
.page-head .lockup .rodeo { font-size: clamp(2rem, 10vw, 3.4rem); }

.legal h2 { font-size: 1.15rem; color: var(--white); margin: 26px 0 8px; text-transform: uppercase; }
.legal h3 { font-size: 1rem; color: var(--cyan); margin: 18px 0 6px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal pre { white-space: pre-wrap; background: var(--night-2); padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-top: 1px solid var(--rule); }
.draft .pill { background: var(--siren-red-dark); border-color: var(--siren-red); }

/* ---------- Wider screens ---------- */

@media (min-width: 700px) {
  body { font-size: 18px; }
  .box { padding: 24px 26px; }
  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; max-width: 880px; margin-left: auto; margin-right: auto; }
  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .facts.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .gallery .wide { grid-column: 1 / -1; }
  .cams { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .hallmarks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (min-width: 1000px) {
  .siren { height: 10px; }
}

@media print {
  .siren, .menu, .skip { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
