/* SimDriven — direction 1 "Ignition" (v16: housings, firsts cards, tighter rhythm) */
:root {
  --bg: #060607;
  --bg-2: #0c0c0e;
  --panel: #111114;
  --ink: #f2ecdc;          /* warm white of the gauge numerals */
  --ink-2: #bdb7aa;
  --mute: #858176;
  --line: rgba(242, 236, 220, 0.10);
  --line-2: rgba(242, 236, 220, 0.18);
  --org: #ff7a00;          /* RACECORE / gauge orange */
  --org-soft: rgba(255, 122, 0, 0.16);
  --font: "Barlow", system-ui, sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-seg: "DSEG7-Classic", "Barlow Condensed", monospace;
  --wrap: 1400px;
  --gut: clamp(16px, 3vw, 40px);
  --sec: clamp(52px, 7vh, 96px);        /* vertical rhythm between sections */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  /* moulded carbon housing: fine twill weave under a soft top-light */
  --carbon:
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 38%),
    linear-gradient(27deg, #101012 2.5px, transparent 2.5px) 0 2.5px,
    linear-gradient(207deg, #101012 2.5px, transparent 2.5px) 5px 0,
    linear-gradient(27deg, #19191c 2.5px, transparent 2.5px) 0 5px,
    linear-gradient(207deg, #19191c 2.5px, transparent 2.5px) 5px 2.5px,
    linear-gradient(90deg, #141416 5px, transparent 5px),
    linear-gradient(#161619 25%, #121214 25%, #121214 50%, transparent 50%, transparent 75%, #1b1b1e 75%, #1b1b1e);
  --carbon-size: 100% 100%, 10px 10px, 10px 10px, 10px 10px, 10px 10px, 10px 10px, 10px 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--org); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }

h1, h2, h3 { margin: 0; }
h1 { font-weight: 500; font-size: clamp(48px, 6.4vw, 104px); line-height: .96; letter-spacing: -0.025em; }
h2 { font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -0.02em; }
h3 { font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.12; letter-spacing: -0.01em; }

.eyebrow { font: 600 13px/1.2 var(--font-cond); letter-spacing: .22em; text-transform: uppercase; color: var(--org); margin: 0 0 18px; }
.index { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 12px/1 var(--font-cond); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }
.index .num { font-size: 12px; margin: 0; }
.index::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-2); }
.num { font-family: var(--font-seg); font-size: 13px; letter-spacing: 0; color: var(--org); margin-right: 10px; }
.wf { margin: 0 0 12px; font: 600 13px/1.3 var(--font-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--org); }
.excl { margin: 18px 0 0; font: 600 12px/1.3 var(--font-cond); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.link { font: 600 15px/1 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--org); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hint { color: var(--mute); font-size: 15px; margin: 0; }
.pill { background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; cursor: pointer; font: 600 12px/1 var(--font-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pill:hover { color: var(--ink); border-color: var(--ink-2); }

/* section rhythm + shared two-column heading */
section { position: relative; }
.firsts, .racecore, .backfire, .lab, .board, .cta { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 72px); align-items: end; margin-bottom: clamp(24px, 3.5vh, 40px); }
.sec-head > p, .sec-head > div > p:not(.index):not(.wf):not(.hint) { margin: 0; color: var(--ink-2); max-width: 56ch; }
.sec-head .hint { margin-top: 14px; }
.sec-head-sub { margin-top: 0; }

/* ---------- nav + brand mark ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gut); background: rgba(6, 6, 7, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; }
.nav a { font: 500 15px/1 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .wordmark, .foot .wordmark { font: 600 clamp(26px, 2.5vw, 38px)/1 var(--font-cond); letter-spacing: .16em; color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; }

/* ---------- housings: what a real gauge sits in ---------- */
.housing, .bezel {
  position: relative; background: var(--carbon); background-size: var(--carbon-size); background-color: #131315;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .9), 0 18px 40px -18px rgba(0, 0, 0, .9);
}
.housing { padding: clamp(10px, 1.1vw, 16px); border-radius: clamp(14px, 1.6vw, 22px); }
.housing-bar { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .9), 0 40px 120px -40px rgba(255, 122, 0, .2); }
.bezel { display: inline-block; padding: 9px; border-radius: 12px; }
.bezel-round { border-radius: 50%; padding: 10px; }
.bezel-pill { border-radius: 999px; padding: 9px; }
/* a thin glossy lip where the glass meets the housing */
.bezel .face, .housing .screen-glass { box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(255, 255, 255, .06); }

/* ---------- hero / ignition ---------- */
.hero { padding: clamp(20px, 3vh, 44px) 0 var(--sec); }
.hero-copy { display: grid; grid-template-columns: auto minmax(0, 46ch); gap: clamp(24px, 5vw, 96px); align-items: end; justify-content: space-between; }
.hero-copy .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.hero-copy h1 { white-space: nowrap; }
.lede { margin: 0 0 .4em; font-size: clamp(17px, 1.2vw, 20px); color: var(--ink-2); }
.screen-wrap { margin-top: clamp(22px, 3.5vh, 44px); }
.screen { margin: 0; }
.screen-glass { position: relative; aspect-ratio: 8 / 3; background: #000; border-radius: 8px; overflow: hidden; }
.screen-glass iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #050505; }
.screen-bar { display: flex; align-items: center; gap: 24px; margin-top: 18px; font: 500 14px/1.2 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.screen-name { color: var(--ink); }
.screen-name em { font-style: normal; color: var(--mute); }
.screen-step { margin-left: auto; color: var(--org); min-width: 14ch; text-align: right; }
.rc-controls { display: flex; align-items: center; gap: 28px; margin-top: 14px; flex-wrap: wrap; }
.rc-controls .tabs { margin-right: auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; cursor: pointer; font: 600 14px/1 var(--font-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.tabs button:hover { color: var(--ink); border-color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--org); border-color: var(--org); color: #140800; }
.ignition { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 6px 0; cursor: pointer; font: 600 14px/1.1 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; }
.ignition small { display: block; font-weight: 500; color: var(--mute); letter-spacing: .1em; }
.ignition-label { text-align: left; }
.switch { position: relative; width: 26px; height: 44px; border-radius: 6px; background: #121214; box-shadow: inset 0 0 0 1px var(--line-2), inset 0 6px 14px rgba(0, 0, 0, .7); }
.lever { position: absolute; left: 7px; width: 12px; height: 22px; border-radius: 4px; background: linear-gradient(#3a3a3e, #1b1b1e); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); top: 18px; transition: top .25s var(--ease-out), background .25s; }
.ignition[aria-pressed="true"] .lever { top: 4px; background: linear-gradient(#ff9a3d, var(--org)); box-shadow: 0 0 14px rgba(255, 122, 0, .6); }
.rc-cue { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 3; width: 22%; aspect-ratio: 1; transition: opacity .5s var(--ease-out); }
.rc-cue .cue-label { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap; font: 600 13px/1 var(--font-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: rgba(6, 6, 7, .78); padding: 10px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2); }
.rc-cue .cue-label em { font-style: normal; color: var(--org); }
.rc-cue.gone { opacity: 0; }

/* ---------- world firsts: picture cards ---------- */
.fcards { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.fcard a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--panel); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s; }
.fcard a:hover { box-shadow: 0 0 0 1px rgba(255, 122, 0, .55); }
.fmedia { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #050505; }
.fmedia > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.fcard a:hover .fmedia > img { transform: scale(1.04); }
.ftext { position: relative; padding: 16px 18px 20px; }
.ftext h3 { font-size: clamp(19px, 1.5vw, 23px); }
.ftext p:not(.wf) { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.ftext .wf { font-size: 11.5px; letter-spacing: .18em; margin-bottom: 8px; }
.fnum { position: absolute; right: 18px; top: 18px; font: 12px/1 var(--font-seg); color: var(--mute); }
.fcard-hero { grid-column: span 2; grid-row: span 2; }
.fcard-hero .fmedia { aspect-ratio: auto; flex: 1; min-height: 320px; }
.fcard-hero .ftext h3 { font-size: clamp(24px, 2.2vw, 34px); }
.fmedia .fx { position: absolute; inset: 0; border-radius: 0; }
.fmedia .fx img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fmedia-scope canvas { width: 100%; height: 100%; display: block; }
.scope-tag { position: absolute; left: 12px; top: 10px; font: 600 11px/1 var(--font-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

/* ---------- gauges: every screen up close, each in its housing ---------- */
.fleet { margin-top: clamp(40px, 6vh, 72px); }
.gauges { list-style: none; margin: 0; padding: clamp(24px, 3vw, 44px); display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(22px, 2.6vw, 40px) clamp(22px, 2.6vw, 44px); background: radial-gradient(120% 80% at 50% 0%, #141417, #0b0b0d 70%); border: 1px solid var(--line); border-radius: 16px; }
.gauge { display: flex; flex-direction: column; align-items: center; }
.face { background: #000; border-radius: 4px; overflow: hidden; display: block; }
.face video, .face img { width: 100%; height: 100%; object-fit: contain; }
.bezel-round .face { border-radius: 50%; }
.bezel-pill .face { border-radius: 999px; }
/* display sizes: the 2x-encoded faces never upscale on retina screens */
.f-wide { width: 268px; height: 120px; }
.f-bar { width: 288px; height: 153px; }
.f-sq { width: 220px; height: 220px; }
.f-rpm { width: 232px; height: 232px; }
.f-gear { width: 150px; height: 150px; }
.f-cue { width: 150px; height: 150px; }
.f-dual { width: 124px; height: 253px; }
.f-therm { width: 172px; height: 229px; }
.f-stage { width: 118px; height: 302px; }
.gname { margin: 12px 0 0; font: 600 14px/1.2 var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }

/* ---------- lighting FX ---------- */
.bf-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.bf-render { margin: 0; }
.bf-copy p:not(.index):not(.wf):not(.excl) { color: var(--ink-2); margin: 20px 0 0; }
.bf-copy .link { display: inline-block; margin-top: 26px; }
.fx { position: relative; border-radius: 14px; overflow: hidden; background: #050505; }
.fx img { display: block; width: 100%; height: auto; }
.fx img[data-glow] { position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0; will-change: opacity, filter; }
.fx-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; font: 500 13px/1.4 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ---------- the rig ---------- */
.rig { border-top: 1px solid var(--line); }
.rig-photo { margin: 0 auto; position: relative; max-width: 1920px; } /* source frame is 3840 px: never upscaled on 5K screens */
.rig-photo img { width: 100%; height: min(78vh, 860px); object-fit: cover; object-position: 50% 62%; }
.rig-photo figcaption { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 60px); z-index: 1; }
.rig-photo figcaption > * { max-width: 560px; }
.rig-photo figcaption h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, .65); }
.rig-photo figcaption p:not(.index) { margin: 16px 0 0; color: var(--ink); text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.rig-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 6, 7, .82) 0%, rgba(6, 6, 7, .35) 42%, rgba(6, 6, 7, 0) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 6, 7, 0) 22%); }

/* ---------- the lab ---------- */
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.evo-pair { margin: 0; padding: clamp(18px, 2vw, 28px); background: var(--panel); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(8px, 1.2vw, 18px); }
.pair-item { display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 12px/1 var(--font-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.pair-item .bezel { display: block; width: 100%; }
.pair-item .face { width: 100%; height: auto; }
.pair-item:last-child span { color: var(--org); }
.pair-arrow { font: 500 22px/1 var(--font); color: var(--org); }
.evo-pair figcaption { color: var(--ink-2); font-size: 15px; }
.evo-pair figcaption strong { color: var(--ink); font-weight: 500; }
.log-strip { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.log-strip img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 12px; }

/* ---------- drawing board ---------- */
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); align-items: start; }
.plate { margin: 0; position: relative; background: #0d0d0e; border-radius: 14px; padding: clamp(10px, 1.4vw, 18px); box-shadow: 0 0 0 1px var(--line); }
.plate img { width: 100%; height: auto; display: block; }
.plate canvas { position: absolute; left: clamp(10px, 1.4vw, 18px); top: clamp(10px, 1.4vw, 18px); width: calc(100% - 2 * clamp(10px, 1.4vw, 18px)); pointer-events: none; }
.plate.is-drawing img { opacity: 0; }
.plate figcaption { margin-top: 10px; font: 500 13px/1.4 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.plate-a { grid-column: 1 / -1; }

/* ---------- contact ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cta-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.cta-copy h2 { margin-top: 10px; }
.cta-copy p:not(.excl) { color: var(--ink-2); margin: 16px 0 0; max-width: 44ch; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 44px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; color: var(--mute); font: 500 14px/1 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; }
.foot p { margin: 0; }
.foot .wordmark { font-size: clamp(22px, 2vw, 30px); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcard-hero { grid-column: 1 / -1; grid-row: auto; }
  .fcard-hero .fmedia { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
}
@media (max-width: 900px) {
  .sec-head, .hero-copy, .bf-grid, .lab-grid, .plates, .cta-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { white-space: normal; }
  .plate-a { grid-column: auto; }
  .log-strip { grid-template-columns: 1fr 1fr; }
}
/* ---------- phone ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav ul { display: none; }
  .nav .wordmark { font-size: 24px; letter-spacing: .14em; }
  .nav-toggle { display: inline-block; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font: 600 13px/1 var(--font-cond); letter-spacing: .16em; text-transform: uppercase; }
  .nav.open ul { display: flex; flex-direction: column; position: absolute; top: 64px; right: var(--gut); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; gap: 16px; }
  .screen-wrap { width: 100%; }
  .screen-wrap > .index { padding: 0 var(--gut); }
  .housing { border-radius: 0; padding: 6px 0; }
  .screen-glass { border-radius: 0; }
  .screen-bar { padding: 0 var(--gut); flex-wrap: wrap; gap: 14px; }
  .screen-step { display: none; }
  .rc-controls { padding: 0 var(--gut); gap: 16px; }
  .rc-controls .tabs { width: 100%; }
  .rc-cue { width: 34%; }
  .rc-cue .cue-label { font-size: 11px; padding: 8px 10px; }
  .fcards { grid-template-columns: 1fr; }
  .gauges { padding: 22px 14px; gap: 22px 16px; }
  .f-wide { width: min(268px, calc(100vw - 2 * var(--gut) - 46px)); height: auto; aspect-ratio: 536 / 240; }
  .f-bar { width: min(288px, calc(100vw - 2 * var(--gut) - 46px)); height: auto; aspect-ratio: 640 / 340; }
  .f-sq, .f-rpm { width: 150px; height: 150px; }
  .f-gear, .f-cue { width: 120px; height: 120px; }
  .f-dual { width: 96px; height: 196px; }
  .f-therm { width: 132px; height: 176px; }
  .f-stage { width: 84px; height: 215px; }
  .rig-photo img { height: 100vh; object-position: 50% 50%; }
  .rig-photo::after { background: linear-gradient(0deg, rgba(6, 6, 7, .92) 0%, rgba(6, 6, 7, .5) 38%, rgba(6, 6, 7, 0) 62%); }
  .pair-arrow { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lever, .fmedia > img { transition: none; }
}

/* v17: firsts row three, lab oil pair stacked, giant footer mark */
.fcard-wide { grid-column: span 2; }
.fcard-wide .fmedia { aspect-ratio: 16 / 7; }
.evo-pair-oil { grid-row: span 1; }
.lab-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.pair-vert { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; }
.pair-vert .pair-item { width: min(100%, 380px); }
.pair-vert .pair-arrow { transform: rotate(90deg); }
.foot { padding: 36px 0 0; overflow: hidden; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.mega { margin: clamp(18px, 2.6vw, 36px) 0 0; padding: 0 var(--gut) clamp(10px, 1.4vw, 22px); font: 600 100px/.84 var(--font-cond); letter-spacing: .01em; white-space: nowrap; color: var(--ink); user-select: none; }
.mega span { display: inline-block; }
@media (max-width: 1100px) { .fcard-wide { grid-column: span 1; } .fcard-wide .fmedia { aspect-ratio: 4 / 3; } }
@media (max-width: 900px) { .lab-grid { grid-template-columns: 1fr; } .foot-row { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* v19: drawing-board plates three across (their sources stay sharp at this size on retina screens) */
@media (min-width: 1100px) {
  .plates { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
  .plate-a { grid-column: auto; }
}
.cta-media img { aspect-ratio: 16 / 9; }

/* v20: the gauges grouped into their consoles (CAD render + live screens in the windows) */
.modules { margin-top: clamp(40px, 6vh, 72px); }
.mod-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); align-items: end; }
.module { margin: 0; }
.mod-face { position: relative; border-radius: 10px; overflow: hidden; background: #060607; }
.mod-face > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.win { position: absolute; border-radius: 2px; }
.win video, .win img { width: 100%; height: 100%; object-fit: contain; }
.win-round { border-radius: 50%; }
.win-round video { object-fit: cover; }
.win .eye-top { object-position: 50% 0%; }
.win .eye-bottom { object-position: 50% 100%; }
.module figcaption { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.module figcaption strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .mod-grid { grid-template-columns: 1fr; } }

/* v21: gear display (8x8 light matrix canvas) */
.f-matrix { width: 172px; height: 172px; }
.face canvas, .win canvas { width: 100%; height: 100%; display: block; }
.win-matrix { border-radius: 3px; overflow: hidden; }
@media (max-width: 700px) { .f-matrix { width: 132px; height: 132px; } }

/* v22: control center + gauge pod stacked beside the center console */
.mod-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.mod-col { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .mod-grid { grid-template-columns: 1fr; } }
