@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/BarlowCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/BarlowCondensed-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/BarlowCondensed-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0b0d11;
  --bg-elev: #11151d;
  --surface: #151a24;
  --card: #19202c;
  --card-hover: #1f2736;
  --yellow: #ffc21a;
  --yellow-soft: rgba(255, 194, 26, 0.14);
  --red: #e01634;
  --red-soft: rgba(224, 22, 52, 0.16);
  --ink: #f5f6f8;
  --muted: #98a2b3;
  --dim: #6e7889;
  --border: rgba(255, 255, 255, 0.1);
  --border-hi: rgba(255, 194, 26, 0.45);
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  --max-w: 1220px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 17, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-link img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn.active {
  background: var(--card-hover);
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.14s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: #0b0d11;
}

.btn-primary:hover {
  background: #ffd147;
}

.btn-secondary {
  background: rgba(25, 32, 44, 0.85);
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--card-hover);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 840px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 88px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 17, 0.92) 0%, rgba(11, 13, 17, 0.72) 48%, rgba(11, 13, 17, 0.34) 100%),
    linear-gradient(180deg, rgba(11, 13, 17, 0.55) 0%, rgba(11, 13, 17, 0.12) 40%, rgba(11, 13, 17, 0.96) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 36px;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(17, 21, 29, 0.86);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.8rem, 6.2vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.hero h1 em {
  font-style: italic;
  color: var(--yellow);
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 600px;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  color: #d6dce6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(17, 21, 29, 0.8);
  font-size: 0.85rem;
  color: #dce2ec;
}

.store-pill strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-pill span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-toggle {
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(11, 13, 17, 0.74);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-toggle:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.25);
}

.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 21, 29, 0.9);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--yellow);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-elev);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-sub {
  margin: 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Trailer Theater */
.theater-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #05070a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.theater-cover {
  position: relative;
  width: 100%;
  height: 100%;
}

.theater-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theater-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11, 13, 17, 0.25) 0%, rgba(11, 13, 17, 0.72) 100%);
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
}

.play-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0b0d11;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(255, 194, 26, 0.35);
  transition: transform 0.16s ease;
}

.play-overlay:hover .play-circle {
  transform: scale(1.07);
}

.play-label {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(11, 13, 17, 0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theater-video {
  width: 100%;
  height: 100%;
  background: #000;
}

.theater-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.meta-box {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.meta-box strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 3px;
}

.meta-box span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Filter Tabs / Region Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pill {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pill:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.28);
}

.pill.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #0b0d11;
}

/* Region Showcase */
.region-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.region-photo {
  position: relative;
  min-height: 360px;
  background: #0d1016;
}

.region-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-badges {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: rgba(11, 13, 17, 0.86);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.tag-accent {
  border-color: var(--border-hi);
  color: var(--yellow);
}

.region-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.region-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1;
}

.region-desc {
  margin: 0 0 18px;
  color: #cfd6e2;
  font-size: 0.96rem;
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.stage-chip {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.region-extra {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  font-size: 0.86rem;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.gallery-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  text-align: left;
}

.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-shot:hover img {
  transform: scale(1.04);
}

.gallery-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 13, 17, 0.9) 100%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Cars Grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.car-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.car-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.car-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 60%, #273145 0%, #121721 100%);
  display: grid;
  place-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.car-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.car-class-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(11, 13, 17, 0.88);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
}

.car-drive-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(11, 13, 17, 0.78);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.car-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.car-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.car-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.car-era {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.car-bars {
  display: grid;
  gap: 6px;
}

.bar-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--muted);
}

.bar-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e01634 0%, #ffc21a 100%);
}

.livery-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.livery-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Features & Co-driver */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.feature-card.span-2 {
  grid-column: span 2;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.55rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feature-card p {
  margin: 0;
  color: #cfd6e2;
  font-size: 0.95rem;
}

.codriver-studio {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.voice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.voice-btn:hover {
  border-color: var(--border-hi);
}

.voice-btn.playing {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #0b0d11;
}

.pace-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #0d1016;
}

.pace-call {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--yellow);
}

.pace-status {
  font-size: 0.84rem;
  color: var(--muted);
}

.modes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mode-chip {
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 600;
  color: #dce2ec;
}

/* Honest Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.price-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-card.featured {
  border-color: var(--border-hi);
  background: linear-gradient(180deg, #1d2433 0%, #171d29 100%);
}

.price-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--yellow);
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  color: #d6dce6;
  font-size: 0.94rem;
}

.check-list li::before {
  content: "✓ ";
  color: var(--yellow);
  font-weight: 700;
  margin-right: 6px;
}

/* Subpages (Privacy & Support) */
.doc-main {
  padding: 56px 0 84px;
}

.doc-header {
  margin-bottom: 32px;
}

.doc-header h1 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.doc-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.doc-card h2 {
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.doc-meta {
  font-size: 0.88rem;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 16px;
}

.doc-card ul {
  margin: 14px 0 18px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: #d6dce6;
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--yellow);
}

.faq-item p {
  margin: 0;
  color: #d6dce6;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  background: #080a0d;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-copy {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--dim);
}

/* Modal Lightbox / Video */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 10, 0.9);
  backdrop-filter: blur(8px);
}

.modal.open {
  display: flex;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 1060px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #090b0f;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(11, 13, 17, 0.88);
  color: var(--ink);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.modal-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.modal-caption {
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .region-card {
    grid-template-columns: 1fr;
  }
  .region-photo {
    min-height: 260px;
  }
  .telemetry-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .doc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding-inline: 16px;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .telemetry-strip > *,
  .region-card > *,
  .features-grid > *,
  .pricing-grid > *,
  .theater-meta > *,
  .cars-grid > * {
    min-width: 0;
  }
  .nav-links {
    display: none;
  }
  .btn-nav-hide {
    display: none;
  }
  .hero {
    min-height: 760px;
    padding-top: 64px;
  }
  .hero-toggle {
    top: 12px;
    right: 16px;
  }
  .telemetry-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px;
  }
  .theater-meta,
  .gallery-grid,
  .features-grid,
  .pricing-grid,
  .cars-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.span-2 {
    grid-column: span 1;
  }
  .stage-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover,
  .car-card:hover,
  .gallery-shot:hover img {
    transform: none;
  }
}
