/* DIRECT ACTION: Tactical Operations, the public splash page (directactionops.com).
   Spec: Docs/40 · The Great Hall/Direct Action Design Doc.md, Part A. Rules: Docs/RV-Theme & UI Design Doc.md and
   80 · The Codex/Anti-AI-slop design standard.md.

   How this sheet is built:
   - Every colour is a palette token (three palettes below, picked with data-palette on <html>). No hex below the palettes.
   - Every space is a --s-* step on the 4px grid; every corner is a --r-* step; every font size a --fs-* step.
   - Chrome is solid: no gradients, no glow, no glass. The owner's art (the banner, the image slots) keeps its own light.
   - The red is a FILL (buttons, the active nav bar, the play button, the focus ring). Text on it is white.
     Red as text exists only as --da-red-text, on icons and large type, where it clears 3:1. */

/* ---------- Palettes (all three taken from the banner: near-black, gunmetal, steel, one signal red) ---------- */

/* A: Gunmetal. Neutral cool greys, the signal red of the logotype's rules. The default. */
:root,
[data-palette="a"] {
  --da-deep: #050606;          /* the banner's own black; the hero and the video theatre */
  --da-ink: #0A0B0C;           /* page ground */
  --da-s1: #121417;            /* panels */
  --da-s2: #181B1F;            /* raised panels */
  --da-s3: #1F2328;            /* hover */
  --da-rule: #2B3036;          /* hairlines */
  --da-rule-strong: #3A4048;   /* control borders, frame corners */
  --da-steel: #E6E9EC;         /* strong text, headlines */
  --da-text: #B4BBC2;          /* body text: 10.2:1 on ink */
  --da-dim: #858D96;           /* captions, labels: 5.9:1 on ink, 4.7:1 on s3 */
  --da-red: #C1121F;           /* the accent, as a fill: white on it 6.2:1 */
  --da-red-hover: #D11A27;     /* white on it 5.4:1 */
  --da-red-press: #9E0E19;
  --da-red-text: #E5383F;      /* icons, focus ring, large text only: 4.7:1 on ink */
  --da-on-red: #FFFFFF;
}

/* B: Ember. Warm iron neutrals (the Merc's side of the banner), a deeper crimson. */
[data-palette="b"] {
  --da-deep: #060505;
  --da-ink: #0C0A09;
  --da-s1: #151211;
  --da-s2: #1C1816;
  --da-s3: #241F1C;
  --da-rule: #352E2A;
  --da-rule-strong: #463D38;
  --da-steel: #EEE9E5;
  --da-text: #BDB4AE;          /* 9.7:1 on ink */
  --da-dim: #8F8680;           /* 5.5:1 on ink, 4.6:1 on s3 */
  --da-red: #A3161A;           /* white on it 7.8:1 */
  --da-red-hover: #B81C21;     /* white on it 6.5:1 */
  --da-red-press: #84100F;
  --da-red-text: #E0443F;      /* 4.8:1 on ink */
  --da-on-red: #FFFFFF;
}

/* C: Arctic. Cold blue-steel neutrals (the Tac-Ops side), a brighter flare red. */
[data-palette="c"] {
  --da-deep: #040507;
  --da-ink: #080A0D;
  --da-s1: #0F1318;
  --da-s2: #151A21;
  --da-s3: #1B222A;
  --da-rule: #28313C;
  --da-rule-strong: #36414E;
  --da-steel: #E3E9F0;
  --da-text: #AAB5C1;          /* 9.5:1 on ink */
  --da-dim: #7D8997;           /* 5.6:1 on ink, 4.5:1 on s3 */
  --da-red: #D62A1E;           /* white on it 5.0:1 */
  --da-red-hover: #BF2318;     /* darker on hover, so white stays above 4.5:1 */
  --da-red-press: #A01D14;
  --da-red-text: #F0473B;      /* 5.4:1 on ink */
  --da-on-red: #FFFFFF;
}

/* ---------- Geometry and type tokens ---------- */
:root {
  color-scheme: dark;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --r-sm: 2px; --r-md: 3px; --r-lg: 4px; --r-full: 999px;

  --font-display: "Saira Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --fs-display: clamp(2rem, 1.1rem + 3vw, 3.75rem);   /* section headlines, 32 to 60 */
  --fs-h2: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem);  /* block headlines, 24 to 34 */
  --fs-h3: 1.25rem;                                   /* card titles */
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;                                /* uppercase labels, tracked */

  --track-micro: 0.1em;
  --track-display: 0.01em;

  --gutter: clamp(var(--s-4), 4vw, var(--s-7));
  --page-max: 1280px;
  --bar-h: var(--s-8);
  --sec-pad: clamp(var(--s-8), 8vw, var(--s-10));
  --btn-h: 44px;                                      /* every button on the page is this tall */

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--s-4)); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; } }
body {
  margin: 0;
  background: var(--da-ink);
  color: var(--da-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--da-steel); font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
ul, ol, dl, dd { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--da-red-text); outline-offset: 2px; }
.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; }
.skip { position: absolute; left: var(--s-4); top: calc(-1 * var(--s-9)); z-index: 100; padding: var(--s-2) var(--s-4); background: var(--da-red); color: var(--da-on-red); text-decoration: none; border-radius: var(--r-md); }
.skip:focus { top: var(--s-4); }

.wrap { width: min(100% - 2 * var(--gutter), var(--page-max)); margin-inline: auto; }

.icon { width: 1.125em; height: 1.125em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: var(--btn-h);
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn--primary { background: var(--da-red); color: var(--da-on-red); }
.btn--primary:hover { background: var(--da-red-hover); }
.btn--primary:active { background: var(--da-red-press); }
.btn--secondary { background: transparent; color: var(--da-steel); border-color: var(--da-rule-strong); }
.btn--secondary:hover { background: var(--da-s2); border-color: var(--da-dim); }
.btn--secondary .icon { color: var(--da-red-text); }

/* a text link: steel text, the underline is the accent (a fill, 2px), never red small type */
.link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--da-steel);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body);
  text-decoration: underline;
  text-decoration-color: var(--da-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color 150ms ease;
}
.link:hover { text-decoration-color: var(--da-red-text); }
.link .icon { color: var(--da-red-text); }

/* ---------- Top bar ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--da-ink); border-bottom: 1px solid var(--da-rule); }
.bar__in { display: flex; align-items: center; gap: var(--s-6); min-height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--da-steel); text-decoration: none; flex: 0 0 auto; }
.brand__mark { width: var(--s-6); height: var(--s-6); }
.brand__mark path { fill: var(--da-steel); }
.brand__mark .brand__tip { fill: var(--da-red); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: 0.04em; line-height: 1; text-transform: uppercase; }
.nav { display: flex; align-items: stretch; gap: var(--s-5); align-self: stretch; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--da-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 150ms ease;
}
.nav a:hover { color: var(--da-steel); }
.nav a.is-active { color: var(--da-steel); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--da-red); }
.bar__end { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
.iconbtn {
  display: inline-grid;
  place-items: center;
  width: var(--btn-h);
  height: var(--btn-h);
  border: 1px solid var(--da-rule-strong);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--da-steel);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.iconbtn:hover { border-color: var(--da-dim); background: var(--da-s2); }
.menu-btn { display: none; }
.drawer { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .drawer:not([hidden]) { display: block; border-top: 1px solid var(--da-rule); background: var(--da-ink); }
  .drawer ul { list-style: none; padding-block: var(--s-3) var(--s-5); }
  .drawer a { display: block; padding: var(--s-3) 0; color: var(--da-steel); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); border-bottom: 1px solid var(--da-rule); }
}
@media (max-width: 560px) {
  .bar__end .btn { padding: 0 var(--s-3); }
  .bar__end .btn .btn__long { display: none; }
  .bar__yt { display: none; }
  .bar__cc { display: none; }   /* phones: the hero's "Open the command centre" and the account menu carry the way in */
  .brand__name { font-size: var(--fs-h3); }
}
@media (min-width: 561px) { .btn__short { display: none; } }

/* ---------- Account (da-auth.js): the signed-in chip and its menu, the sign-in notice ---------- */
[hidden] { display: none !important; }   /* the signed-in / signed-out blocks are toggled with el.hidden */
.acct { position: relative; }
.acct__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: var(--btn-h);
  max-width: 16rem;
  padding: 0 var(--s-3) 0 var(--s-2);
  border: 1px solid var(--da-rule-strong);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--da-steel);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.acct__btn:hover, .acct__btn[aria-expanded="true"] { border-color: var(--da-dim); background: var(--da-s2); }
.acct__av, .acct__init { width: 28px; height: 28px; border-radius: var(--r-sm); flex: 0 0 auto; }
.acct__av { object-fit: cover; background: var(--da-s3); }
.acct__init { display: inline-grid; place-items: center; background: var(--da-s3); color: var(--da-steel); font-size: var(--fs-small); text-transform: uppercase; }
.acct__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__menu {
  position: absolute;
  right: 0;
  top: calc(100% + var(--s-2));
  min-width: 14rem;
  padding: var(--s-2);
  background: var(--da-s2);
  border: 1px solid var(--da-rule-strong);
  border-radius: var(--r-lg);
  z-index: 60;
}
.acct__who { padding: var(--s-2) var(--s-3) var(--s-3); color: var(--da-dim); font-size: var(--fs-small); border-bottom: 1px solid var(--da-rule); margin-bottom: var(--s-2); }
.acct__item {
  display: block;
  width: 100%;
  padding: var(--s-3);
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--da-steel);
  font: inherit;
  font-size: var(--fs-body);
  text-align: left;
  cursor: pointer;
}
.acct__item:hover { background: var(--da-s3); }
a.acct__item { text-decoration: none; }          /* the menu's links (Command centre, Clan HQ, Clans) read like its buttons */
@media (max-width: 560px) { .acct__name { display: none; } .acct__btn { padding: 0 var(--s-2); } }
.notice {
  position: fixed;
  left: 50%;
  bottom: var(--s-5);
  transform: translateX(-50%);
  max-width: min(32rem, calc(100% - 2 * var(--gutter)));
  padding: var(--s-3) var(--s-5);
  background: var(--da-s2);
  border: 1px solid var(--da-rule-strong);
  border-radius: var(--r-md);
  color: var(--da-steel);
  font-size: var(--fs-small);
  z-index: 70;
}

/* ---------- Hero ---------- */
.hero { background: var(--da-deep); border-bottom: 1px solid var(--da-rule); }
.hero__art { position: relative; aspect-ratio: 1983 / 793; max-height: 78vh; overflow: hidden; margin-inline: auto; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* phones: a taller frame, so the logo (20% to 80% across) stays whole and the two soldiers crop at the edges */
@media (max-width: 720px) { .hero__art { aspect-ratio: 8 / 5; max-height: none; } }
.hero__plate { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-5); padding-block: var(--s-6) var(--s-8); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-1) var(--s-3);
  border: 1px solid var(--da-rule-strong);
  border-radius: var(--r-sm);
  color: var(--da-steel);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  line-height: 1.6;
}
.tag__sq { width: var(--s-2); height: var(--s-2); background: var(--da-steel); }
.hero__line { max-width: 60ch; color: var(--da-steel); font-size: clamp(var(--fs-lead), 1rem + 0.6vw, 1.375rem); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
@media (max-width: 440px) { .hero__actions { flex-direction: column; align-self: stretch; } }

/* the facts strip: big value over a small label, four cells */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--da-rule); border-radius: var(--r-lg); background: var(--da-ink); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-1); padding: var(--s-5); }
.facts > div + div { border-left: 1px solid var(--da-rule); }
.facts dt { color: var(--da-dim); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-micro); text-transform: uppercase; }
.facts dd { color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--da-rule); }
}
.hero__facts { padding-bottom: var(--s-8); }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec-pad); border-bottom: 1px solid var(--da-rule); }
.sec--deep { background: var(--da-deep); }
.sec--raised { background: var(--da-s1); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5) var(--s-7); margin-bottom: var(--s-8); }
.sec-head__text { display: flex; flex-direction: column; gap: var(--s-4); max-width: 72ch; }
.sec-head__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.sec-title { font-size: var(--fs-display); font-weight: 800; letter-spacing: var(--track-display); line-height: 1; text-transform: uppercase; }
.sec-lead { color: var(--da-text); font-size: var(--fs-lead); max-width: 64ch; }
.block-title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: var(--track-display); text-transform: uppercase; }
.card-title { font-size: var(--fs-h3); font-weight: 700; letter-spacing: 0.01em; line-height: 1.2; }
.prose { display: flex; flex-direction: column; gap: var(--s-4); max-width: 64ch; }

/* ---------- Image slots (the owner's art drops in by filename; until then a labelled placeholder of the exact ratio) ---------- */
.slot { position: relative; margin: 0; aspect-ratio: var(--ar, 16 / 9); background: var(--da-s1); border: 1px solid var(--da-rule); border-radius: var(--r-md); overflow: hidden; }
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 250ms ease; }
.slot.is-loaded > img { opacity: 1; }
.slot__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.slot.is-loaded > .slot__ph { display: none; }
.slot__cross { width: var(--s-8); height: var(--s-8); stroke: var(--da-rule-strong); stroke-width: 1; fill: none; }
.slot__label {
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  color: var(--da-dim);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}
.slot__label b { color: var(--da-steel); font-weight: 600; }
/* viewfinder corners on the big frames: two steel brackets, top left and bottom right */
.slot--framed::before,
.slot--framed::after { content: ""; position: absolute; z-index: 2; width: var(--s-5); height: var(--s-5); border: 0 solid var(--da-dim); pointer-events: none; }
.slot--framed::before { top: var(--s-3); left: var(--s-3); border-top-width: 2px; border-left-width: 2px; }
.slot--framed::after { right: var(--s-3); bottom: var(--s-3); border-right-width: 2px; border-bottom-width: 2px; }
.slot--framed .slot__label { left: var(--s-6); right: var(--s-7); bottom: var(--s-4); }
@media (max-width: 720px) {
  .slot--framed::before, .slot--framed::after { width: var(--s-4); height: var(--s-4); }
  .slot--framed .slot__label { left: var(--s-3); right: var(--s-3); bottom: var(--s-3); }
}
@media (max-width: 480px) { .slot__cross { width: var(--s-6); height: var(--s-6); } }

/* ---------- Feature rows (image + text) ---------- */
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-7); align-items: center; }
.feature + .feature { margin-top: var(--s-9); }
.feature--flip { grid-template-columns: 5fr 7fr; }
.feature--flip > .feature__media { order: 2; }
.feature__body { display: flex; flex-direction: column; gap: var(--s-4); }
.feature__body .prose { margin-bottom: var(--s-2); }
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; gap: var(--s-5); }
  .feature--flip > .feature__media { order: 0; }
  .feature + .feature { margin-top: var(--s-8); }
}

/* key facts: a value over its label, in a row */
.keys { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--da-rule); }
.keys > div { display: flex; flex-direction: column-reverse; gap: var(--s-1); }
.keys dt { color: var(--da-dim); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-micro); text-transform: uppercase; }
.keys dd { color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; }

/* ---------- Status badges (a fact about the build, never decoration; neutral, because red means "click") ---------- */
.state { display: inline-flex; align-items: center; padding: 0 var(--s-2); border: 1px solid var(--da-rule-strong); border-radius: var(--r-sm); color: var(--da-steel); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-micro); text-transform: uppercase; line-height: 1.8; white-space: nowrap; }
.state--designed { color: var(--da-dim); }
.state--later { color: var(--da-dim); border-style: dashed; }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; background: var(--da-s1); border: 1px solid var(--da-rule); border-radius: var(--r-lg); overflow: hidden; }
.card > .slot { border: 0; border-bottom: 1px solid var(--da-rule); border-radius: 0; }
.card__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1 1 auto; }
.card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); }
/* on a raised band the cards step DOWN to the ground colour, so they still read as panels */
.sec--raised .card { background: var(--da-ink); }
.modes .card-title { text-transform: uppercase; font-weight: 800; }
.card__meta { margin-top: auto; padding-top: var(--s-3); color: var(--da-dim); font-size: var(--fs-small); }

/* game modes: the two signature modes large, the other three beneath */
.modes { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-5); }
.modes > .card { grid-column: span 2; }
.modes > .card--wide { grid-column: span 3; }
.modes > .card--wide .card-title { font-size: var(--fs-h2); text-transform: uppercase; font-weight: 800; }
/* a mode card left alone on its own row (an odd one out at the end of the grid) spans the full row instead of sitting
   half-width with blank space beside it */
.modes > .card--full { grid-column: 1 / -1; }
@media (max-width: 1000px) {
  .modes { grid-template-columns: 1fr 1fr; }
  .modes > .card, .modes > .card--wide { grid-column: span 1; }
  .modes > .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .modes { grid-template-columns: 1fr; }
  .modes > .card:last-child { grid-column: auto; }
}

/* ---------- Operators ---------- */
.sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-6); max-width: 1080px; margin-inline: auto; }
.side { display: flex; flex-direction: column; gap: var(--s-5); }
.side__text { display: flex; flex-direction: column; gap: var(--s-3); }
.side__name { font-size: var(--fs-display); font-weight: 800; letter-spacing: var(--track-display); line-height: 1; text-transform: uppercase; }
.side__sub { color: var(--da-dim); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-micro); text-transform: uppercase; }
.side--right .side__text { text-align: right; align-items: flex-end; }
.versus { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); padding-top: var(--s-8); }
.versus::before, .versus::after { content: ""; width: 1px; flex: 1 1 auto; background: var(--da-rule-strong); }
.versus span { color: var(--da-steel); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); letter-spacing: 0.04em; }
@media (max-width: 720px) {
  .sides { gap: var(--s-3); }
  .versus { padding-top: var(--s-6); }
  .versus span { font-size: var(--fs-h3); }
  .side__name { font-size: var(--fs-h2); }
  .side__text p { font-size: var(--fs-small); }
}
@media (max-width: 560px) { .side--right .side__text { text-align: left; align-items: flex-start; } }

.roster-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-5); margin: var(--s-9) 0 var(--s-5); }
.roster-head p { color: var(--da-dim); font-size: var(--fs-small); }
.roster { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.roster figcaption { display: flex; flex-direction: column; gap: 0; padding-top: var(--s-3); }
.roster figcaption strong { color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; }
.roster figcaption span { color: var(--da-dim); font-size: var(--fs-small); }
.roster figure { margin: 0; }
/* Operator-card hover: a chasing light runs once around the card's border (owner, 2026-10-28: "a gold glowing line that chases its self
   around the Operator card border"). Built in the site's own red, not gold: gold is the OTHER RV site's accent, and this site's whole look
   (A.5/A.10) was built around avoiding it, so the chase uses --da-red-text instead - the brand-correct version of the same idea. A ring built
   from a rotating conic-gradient, masked down to a thin line with mask-composite so only the ring (not the card's face) is covered; the glow
   is a drop-shadow on that same ring, never on the whole card. Static (no motion, no colour) until hovered or focused. */
@property --da-chase-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.roster li { position: relative; }
.roster .slot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--da-chase-angle), transparent 0 78%, var(--da-red-text) 92%, var(--da-steel) 97%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 6px var(--da-red-text));
  opacity: 0; transition: opacity 200ms ease;
}
.roster li:hover .slot::after, .roster li:focus-within .slot::after { opacity: 1; animation: da-chase 2.6s linear infinite; }
@keyframes da-chase { to { --da-chase-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .roster li:hover .slot::after, .roster li:focus-within .slot::after { animation: none; } }
@media (max-width: 1000px) {
  .roster { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(160px, 30%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); }
  .roster > li { scroll-snap-align: start; }
}
@media (max-width: 560px) { .roster { grid-auto-columns: 44%; } }
/* the full operator list (owner, 2026-10-28: "a drop down arrow to see full Operator list for both the Tac-Ops and the Mercenaries") */
.oplist { margin-top: var(--s-6); border: 1px solid var(--da-rule); border-radius: var(--r-md); background: var(--da-s1); }
.oplist__toggle { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-5); cursor: pointer; list-style: none;
  color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); text-transform: uppercase; letter-spacing: 0.04em; }
.oplist__toggle::-webkit-details-marker { display: none; }
.oplist__toggle:hover { background: var(--da-s2); }
.oplist__toggle:focus-visible { outline: 2px solid var(--da-red-text); outline-offset: 2px; }
.oplist__count { color: var(--da-dim); font-family: inherit; font-size: var(--fs-small); font-weight: 600; letter-spacing: var(--track-micro); }
.oplist__arrow { margin-left: auto; width: var(--s-5); height: var(--s-5); color: var(--da-steel); transition: transform 150ms ease; }
.oplist[open] .oplist__arrow { transform: rotate(180deg); color: var(--da-red-text); }
.oplist__body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); padding: var(--s-5); border-top: 1px solid var(--da-rule); }
.oplist__title { display: flex; align-items: baseline; gap: var(--s-2); margin: 0 0 var(--s-3); padding-bottom: var(--s-2); border-bottom: 2px solid var(--da-red);
  color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); text-transform: uppercase; letter-spacing: 0.04em; }
.oplist__title span { color: var(--da-dim); font-size: var(--fs-small); }
.oplist__names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: var(--s-2) var(--s-4); }
.oplist__names li { color: var(--da-text); font-size: var(--fs-small); padding: var(--s-1) 0; border-bottom: 1px solid var(--da-rule); }
.oplist__note { grid-column: 1 / -1; margin: 0; color: var(--da-dim); font-size: var(--fs-small); max-width: 72ch; }
.oplist__group { margin: var(--s-4) 0 var(--s-2); color: var(--da-dim); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-micro); text-transform: uppercase; }
.oplist__group span { color: var(--da-steel); }
.oplist__title + .oplist__group { margin-top: 0; }
.oplist__names--locked li { color: var(--da-dim); }
.oplist__f { margin-left: var(--s-1); padding: 0 var(--s-1); border: 1px solid var(--da-rule-strong); border-radius: var(--r-sm); color: var(--da-steel); font-size: var(--fs-micro); font-weight: 600; text-decoration: none; cursor: help; }
@media (max-width: 720px) { .oplist__body { grid-template-columns: 1fr; } }

/* ---------- Maps strip ---------- */
.strip-ctrl { display: flex; gap: var(--s-2); }
.strip-ctrl .iconbtn:disabled { opacity: 0.4; cursor: default; }
.strip { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--s-5)) / 3); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--da-rule-strong) transparent; padding-bottom: var(--s-4); }
.strip > li { scroll-snap-align: start; }
.strip .card__body { gap: var(--s-1); padding: var(--s-4) var(--s-5) var(--s-5); }
.strip .card__body span { color: var(--da-dim); font-size: var(--fs-small); }
@media (max-width: 900px) { .strip { grid-auto-columns: calc((100% - var(--s-5)) / 2); } }
@media (max-width: 560px) { .strip { grid-auto-columns: 84%; } }
.strip-note { margin-top: var(--s-5); color: var(--da-dim); font-size: var(--fs-small); max-width: 72ch; }

/* ---------- Arsenal and vehicles ---------- */
.wide-art { margin-bottom: var(--s-7); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; }
.split + .wide-art { margin-top: var(--s-9); }
.split__col { display: flex; flex-direction: column; gap: var(--s-4); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } .wide-art { margin-bottom: var(--s-5); } .split + .wide-art { margin-top: var(--s-8); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--da-rule); border-radius: var(--r-lg); background: var(--da-s1); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.table caption { text-align: left; padding: var(--s-4) var(--s-4) var(--s-2); color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); }
.table th, .table td { padding: var(--s-3) var(--s-4); text-align: left; border-top: 1px solid var(--da-rule); }
.table thead th { color: var(--da-dim); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-micro); text-transform: uppercase; }
.table tbody th { color: var(--da-steel); font-weight: 600; white-space: nowrap; }

.vehicle { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: var(--da-s1); border: 1px solid var(--da-rule); border-radius: var(--r-lg); height: 100%; }
.vehicle .card__top { margin-bottom: var(--s-1); }

/* ---------- Development updates ---------- */
.theatre { display: flex; flex-direction: column; gap: var(--s-4); }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--da-ink); border: 1px solid var(--da-rule); border-radius: var(--r-lg); overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--da-ink); cursor: pointer; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: var(--s-9); height: var(--s-9); border-radius: var(--r-full); background: var(--da-red); color: var(--da-on-red); transition: background-color 150ms ease; }
.play .icon { width: var(--s-6); height: var(--s-6); margin-left: var(--s-1); }
.poster:hover .play, .vcard:hover .play { background: var(--da-red-hover); }
@media (max-width: 560px) { .play { width: var(--s-8); height: var(--s-8); } .play .icon { width: var(--s-5); height: var(--s-5); } }
.now { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-5); }
.now__title { font-size: var(--fs-h2); font-weight: 700; line-height: 1.15; }
.now__date { color: var(--da-dim); font-size: var(--fs-small); white-space: nowrap; }

.vgrid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-5); margin-top: var(--s-8); }
.vcard { display: flex; flex-direction: column; gap: var(--s-3); width: 100%; height: 100%; padding: 0 0 var(--s-4); background: var(--da-s1); border: 1px solid var(--da-rule); border-radius: var(--r-lg); overflow: hidden; text-align: left; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
.vcard:hover { border-color: var(--da-rule-strong); background: var(--da-s2); }
.vcard[aria-current="true"] { border-color: var(--da-red); }
.vcard__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--da-ink); border-bottom: 1px solid var(--da-rule); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard .play { width: var(--s-7); height: var(--s-7); opacity: 0; transition: opacity 150ms ease, background-color 150ms ease; }
.vcard .play .icon { width: var(--s-4); height: var(--s-4); }
.vcard:hover .play, .vcard:focus-visible .play { opacity: 1; }
.vcard__title { padding-inline: var(--s-4); color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead); line-height: 1.25; }
.vcard__date { margin-top: auto; padding-inline: var(--s-4); color: var(--da-dim); font-size: var(--fs-small); }
.vcard__now { display: none; padding-inline: var(--s-4); color: var(--da-steel); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-micro); text-transform: uppercase; }
.vcard[aria-current="true"] .vcard__now { display: block; }
.vmore { margin-top: var(--s-6); display: flex; justify-content: center; }
@media (max-width: 560px) {
  .vgrid { grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-7); }
  .vcard__title { padding-inline: var(--s-3); font-size: var(--fs-body); }
  .vcard__date, .vcard__now { padding-inline: var(--s-3); }
  .vcard { padding-bottom: var(--s-3); gap: var(--s-2); }
}
.nowrap { white-space: nowrap; }

.empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding: var(--s-7); background: var(--da-s1); border: 1px solid var(--da-rule); border-radius: var(--r-lg); }
.empty p { max-width: 60ch; }
.empty__title { font-size: var(--fs-h2); font-weight: 700; }
.loading { padding: var(--s-7); color: var(--da-dim); border: 1px solid var(--da-rule); border-radius: var(--r-lg); background: var(--da-s1); }

/* ---------- Clans and Clan Battles ---------- */
.hq { margin-top: var(--s-9); padding: var(--s-7); background: var(--da-s1); border: 1px solid var(--da-rule); border-radius: var(--r-lg); }
.hq__head { display: flex; flex-direction: column; gap: var(--s-3); max-width: 72ch; margin-bottom: var(--s-6); }
.hq__rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5) var(--s-6); }
.hq__rooms > div { display: flex; flex-direction: column; gap: var(--s-1); padding-top: var(--s-3); border-top: 1px solid var(--da-rule); }
.hq__rooms dt { color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; }
.hq__rooms dd { color: var(--da-text); font-size: var(--fs-small); }
.hq + .feature { margin-top: var(--s-9); }
@media (max-width: 900px) { .hq { padding: var(--s-5); } .hq + .feature { margin-top: var(--s-8); } .hq__rooms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hq__rooms { grid-template-columns: 1fr; } }

.steps { list-style: none; display: flex; flex-direction: column; gap: var(--s-5); counter-reset: step; }
.steps > li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-4); counter-increment: step; }
.steps > li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: var(--s-7); height: var(--s-7); border: 1px solid var(--da-rule-strong); border-radius: var(--r-full); color: var(--da-steel); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); }
.steps strong { color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; align-self: end; }
.steps span { font-size: var(--fs-body); }

.sub-block { display: flex; flex-direction: column; gap: var(--s-3); }
.sub-block + .sub-block { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--da-rule); }

.enlist { margin-top: var(--s-9); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-6) var(--s-7); padding: var(--s-7); background: var(--da-s2); border: 1px solid var(--da-rule-strong); border-radius: var(--r-lg); }
.enlist__text { display: flex; flex-direction: column; gap: var(--s-3); max-width: 64ch; }
.enlist__note { color: var(--da-dim); font-size: var(--fs-small); }
.enlist__actions { display: flex; flex-direction: column; gap: var(--s-3); align-items: stretch; }   /* signed in: the command centre, then Clan HQ */
@media (max-width: 760px) { .enlist { grid-template-columns: 1fr; padding: var(--s-5); } .enlist .btn { justify-self: stretch; } }

/* ---------- FAQ ---------- */
.faq { max-width: 960px; border-top: 1px solid var(--da-rule); }
.faq details { border-bottom: 1px solid var(--da-rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-5) 0; cursor: pointer; list-style: none; color: var(--da-steel); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: 0 0 auto; width: var(--s-6); height: var(--s-6); border: 1px solid var(--da-rule-strong); border-radius: var(--r-sm); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--s-3); height: 2px; background: var(--da-steel); transform: translate(-50%, -50%); transition: transform 150ms ease; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon { background: var(--da-red); border-color: var(--da-red); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--da-on-red); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .faq__icon { border-color: var(--da-dim); }
.faq__a { display: flex; flex-direction: column; gap: var(--s-3); padding: 0 var(--s-8) var(--s-5) 0; max-width: 72ch; }
@media (max-width: 560px) { .faq__a { padding-right: 0; } }

/* ---------- Footer ---------- */
.foot { padding-block: var(--s-9) var(--s-6); background: var(--da-deep); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-7); }
.foot__brand { display: flex; flex-direction: column; gap: var(--s-4); max-width: 40ch; }
.foot__brand p { font-size: var(--fs-small); }
.foot h3 { margin-bottom: var(--s-4); color: var(--da-dim); font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-micro); text-transform: uppercase; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.foot ul a { color: var(--da-text); font-size: var(--fs-small); text-decoration: none; transition: color 150ms ease; }
.foot ul a:hover { color: var(--da-steel); text-decoration: underline; text-decoration-color: var(--da-red); text-underline-offset: 4px; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--da-rule); color: var(--da-dim); font-size: var(--fs-small); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 440px) { .foot__grid { grid-template-columns: 1fr; } }
