/* ==========================================================================
   WARDOGS Wiki - design system
   Palette sampled from the official WARDOGS key art: warm near-black ground,
   dusty tactical amber, bone type, olive/rust supports.
   ========================================================================== */

:root {
  /* ground */
  --bg:        #0d0c0a;
  --bg-2:      #131110;
  --surface:   #191614;
  --surface-2: #211d19;
  --line:      #2e2924;
  --line-2:    #423a31;

  /* type */
  --ink:       #ece8dc;
  --ink-2:     #bdb4a4;
  --ink-3:     #8b8274;

  /* brand */
  --amber:     #e2a233;
  --amber-hi:  #f5bd55;
  --amber-dim: #8a6320;
  --rust:      #c0603a;
  --olive:     #7f8a55;

  /* factions (wiki convention, colour-coded for scanning) */
  --lonestar:  #d8a33c;
  --valkyra:   #c0453a;
  --manticore: #3f9a92;

  /* semantic */
  --ok:        #7fa85a;
  --warn:      #d9a441;
  --bad:       #c0574a;

  --wrap: 1160px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --measure: 74ch;
  --radius: 3px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont,
               "Segoe UI Semibold", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fluid gutter: guarantees visible breathing room at every width instead of
   collapsing to nothing just above --wrap. */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Visually hidden without moving off-canvas (off-canvas positioning can add to
   document scroll width). */
.skip {
  position: absolute; top: 8px; left: 8px; z-index: 999;
  background: var(--amber); color: #14110c; padding: 10px 18px; font-weight: 700;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { clip-path: none; }

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

/* ---------------------------------------------------------------- headings */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: #fff;
  line-height: 1.16;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.15rem); font-weight: 800; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); font-weight: 750; margin-top: 2.4em; }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.32rem); font-weight: 700; margin-top: 2em; color: var(--amber-hi); }
h4 { font-size: 1.02rem; font-weight: 700; margin-top: 1.7em; color: var(--ink); }
h2 + h3, h3 + h4 { margin-top: 1.1em; }

p, ul, ol, dl { margin: 0 0 1.15em; }
li { margin-bottom: .42em; }
ul, ol { padding-left: 1.35em; }
li::marker { color: var(--amber-dim); }

a { color: var(--amber-hi); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
p a, li a, td a, dd a { text-decoration: underline; text-decoration-color: rgba(226,162,51,.42); }
p a:hover, li a:hover, td a:hover { text-decoration-color: var(--amber-hi); }

/* Navigational chrome is never underlined — the rule above is for prose links only. */
.brand, .brand:hover,
.mainnav a, .subnav a, .crumbs a,
.fgroup a, .foot-legal .copyright a,
.card, .card a, .index-grid a, .toc a,
.pill-row a, .btn, .related a { text-decoration: none; }

strong, b { color: #fff; font-weight: 700; }
em { color: var(--ink); }
small { font-size: .86em; color: var(--ink-3); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
code {
  font-family: var(--font-mono); font-size: .87em;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: .1em .38em; border-radius: 2px; color: var(--amber-hi);
}
abbr[title] { text-decoration: underline dotted var(--line-2); cursor: help; }

/* ------------------------------------------------------------ unofficial bar */

.unofficial-bar {
  background: linear-gradient(90deg, #1a1510, #221a11 45%, #1a1510);
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12.5px;
  letter-spacing: .015em;
  padding: 7px 20px;
  display: flex; gap: 10px; align-items: center; justify-content: center;
  text-align: center;
}
.unofficial-bar a { color: var(--amber); }
.wiki-badge {
  background: var(--amber); color: #14110c;
  font-weight: 800; font-size: 10px; letter-spacing: .16em;
  padding: 2px 7px; border-radius: 2px; flex: none;
}

/* --------------------------------------------------------------------- head */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,12,10,.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 22px; min-height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head);
  color: #fff; font-weight: 850; font-size: 20px; letter-spacing: .085em;
}
.brand-sub {
  color: var(--amber); font-weight: 700; font-size: 8.5px;
  letter-spacing: .36em; margin-top: 4px;
}

.mainnav { margin-left: auto; }
.mainnav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mainnav > ul > li { position: relative; margin: 0; }
.mainnav > ul > li > a {
  display: block; padding: 9px 12px; border-radius: var(--radius);
  color: var(--ink-2); font-size: 14px; font-weight: 600; letter-spacing: .015em;
  white-space: nowrap;
}
.mainnav > ul > li > a:hover { background: var(--surface-2); color: #fff; text-decoration: none; }
.mainnav a.is-section, .mainnav a[aria-current="page"] { color: var(--amber); }

.subnav {
  position: absolute; top: 100%; left: 0; min-width: 245px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 6px;
  list-style: none; margin: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: opacity .13s ease, transform .13s ease, visibility .13s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Dropdowns near the right edge open inward. A hidden dropdown still occupies
   layout, so a left-aligned one on the last item pushes the document wider
   than the viewport and creates a horizontal scrollbar. */
.mainnav > ul > li:nth-last-child(-n+4) .subnav { left: auto; right: 0; }
.subnav li { margin: 0; }
.subnav a {
  display: block; padding: 7px 11px; border-radius: 2px;
  color: var(--ink-2); font-size: 13.5px; font-weight: 500;
}
.subnav a:hover { background: var(--surface-2); color: var(--amber-hi); text-decoration: none; }

.navtoggle {
  display: none; margin-left: auto;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  width: 42px; height: 38px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.navtoggle span { display: block; width: 18px; height: 2px; background: var(--ink); }

/* -------------------------------------------------------------- breadcrumbs */

.crumbwrap {
  max-width: calc(880px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.crumbs { padding: 14px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.crumbs li { margin: 0; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; color: var(--line-2); margin-right: 6px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ------------------------------------------------------------------ article */

.page { max-width: calc(880px + 2 * var(--gutter)); margin-inline: auto; padding: 26px var(--gutter) 80px; }
.page > * { max-width: var(--measure); }
.page > .full, .page > figure, .page > .gallery, .page > table,
.page > .tablewrap, .page > .cards, .page > .grid-2, .page > .factions,
.page > .answer-box, .page > .callout, .page > .fact-table, .page > .video { max-width: none; }

.page-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: 12.5px; color: var(--ink-3);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 10px 0; margin: 0 0 30px;
}
.page-meta .tag {
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 2px; color: var(--ink-2); font-size: 11.5px;
}
.lede { font-size: 1.12rem; color: var(--ink-2); line-height: 1.62; }

/* answer-first block: the thing Google snippets and AI engines lift */
.answer-box {
  background: linear-gradient(180deg, #1d1811, #171310);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 20px 24px; margin: 0 0 32px;
}
.answer-box > :last-child { margin-bottom: 0; }
.answer-box h2, .answer-box h3 {
  margin: 0 0 .5em; font-size: 12px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--amber); font-weight: 800;
}
.answer-box p { font-size: 1.05rem; color: var(--ink); }
.answer-box strong { color: var(--amber-hi); }

.callout {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--line-2);
  padding: 16px 20px; margin: 26px 0; border-radius: var(--radius);
  font-size: .96rem; color: var(--ink-2);
}
.callout > :last-child { margin-bottom: 0; }
.callout strong:first-child { color: var(--amber-hi); }
.callout--warn { border-left-color: var(--warn); }
.callout--source { border-left-color: var(--olive); font-size: .89rem; }
.callout--unconfirmed { border-left-color: var(--rust); }

/* ------------------------------------------------------------------- tables */

.tablewrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
caption { text-align: left; padding: 12px 16px; color: var(--ink-3); font-size: 12.5px; border-bottom: 1px solid var(--line); }
th, td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--surface-2); color: var(--amber);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.018); }
td strong { color: #fff; }
.num { font-family: var(--font-mono); font-size: .92em; white-space: nowrap; }

/* fact strip (homepage metadata bar) */
.fact-table {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  margin: 0 0 34px; overflow: hidden;
}
.fact-table div { background: var(--bg-2); padding: 13px 16px; }
.fact-table dt { font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; }
.fact-table dd { margin: 0; font-weight: 700; color: #fff; font-size: 14.5px; line-height: 1.35; }
.fact-table dd small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11.5px; margin-top: 2px; }

/* --------------------------------------------------------------------- hero */

.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,12,10,.62) 0%, rgba(13,12,10,.80) 45%, rgba(13,12,10,.97) 100%);
}
/* The hero sits in the same reading flow as the article below it, so its text
   column shares the article's left edge rather than the wider header .wrap. */
.hero > .wrap { max-width: calc(880px + 2 * var(--gutter)); }
.hero-inner { position: relative; padding: 62px 0 46px; max-width: 780px; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem); color: var(--ink); max-width: 62ch; }
.hero-credit { position: absolute; right: 12px; bottom: 8px; font-size: 10.5px; color: rgba(236,232,220,.45); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
  border: 1px solid var(--line-2); color: var(--ink);
  background: var(--surface-2);
}
.btn:hover { background: var(--surface); border-color: var(--ink-3); text-decoration: none; color: #fff; }
.btn--primary { background: var(--amber); border-color: var(--amber); color: #14110c; }
.btn--primary:hover { background: var(--amber-hi); border-color: var(--amber-hi); color: #14110c; }

/* --------------------------------------------------------------------- cards */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; margin: 26px 0 32px; }
.card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; color: var(--ink-2);
}
.card:hover { border-color: var(--amber-dim); background: var(--surface-2); text-decoration: none; }
.card h3, .card .card-title {
  margin: 0 0 .4em; font-size: 15.5px; color: #fff; font-weight: 700;
  font-family: var(--font-head); letter-spacing: 0;
}
.card:hover .card-title, .card:hover h3 { color: var(--amber-hi); }
.card p { margin: 0; font-size: 13.6px; line-height: 1.56; color: var(--ink-3); }
.card .kw { display: block; margin-top: 9px; font-size: 11px; color: var(--amber-dim); letter-spacing: .05em; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; margin: 24px 0; }

/* index list (homepage full guide index) */
.index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 22px 30px; margin: 24px 0 10px; }
.index-grid h3 { margin: 0 0 .6em; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); }
.index-grid ul { list-style: none; padding: 0; margin: 0; }
.index-grid li { margin-bottom: .42em; }
.index-grid a { color: var(--ink-2); font-size: 14px; }
.index-grid a:hover { color: var(--amber-hi); }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0; }
.steps > li {
  counter-increment: s; position: relative; padding-left: 46px; margin-bottom: 18px;
}
.steps > li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--amber); background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: 2px;
  width: 32px; height: 27px; display: grid; place-items: center;
}
.steps > li strong { display: block; color: #fff; margin-bottom: 2px; }

/* --------------------------------------------------------------------- media */

figure { margin: 26px 0; }
.shot img, .gallery img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); }
figcaption { font-size: 12.8px; color: var(--ink-3); margin-top: 9px; line-height: 1.5; }
.credit { display: block; color: var(--line-2); font-size: 11px; margin-top: 3px; }
.credit a { color: var(--ink-3); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 16px; margin: 28px 0; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 12px; }
.gallery-credit { grid-column: 1 / -1; font-size: 11.5px; color: var(--ink-3); margin: 2px 0 0; }

.video { margin: 28px 0; }
.video-facade {
  position: relative; display: block; width: 100%; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #000; aspect-ratio: 16/9; line-height: 0;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video-facade:hover img { opacity: 1; }
.video-facade .play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 46px;
  background: rgba(226,162,51,.94); border-radius: 8px;
}
.video-facade .play::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0; border-left: 17px solid #14110c;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  transform: translateX(3px);
}
.video iframe { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: var(--radius); }

/* --------------------------------------------------------------------- misc */

.faq-list { margin: 26px 0; }
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 .5em; font-size: 1.06rem; color: #fff; }
.faq-item p:last-child { margin-bottom: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; padding: 0; list-style: none; }
.pill-row li { margin: 0; }
.pill-row a, .pill {
  display: inline-block; padding: 6px 13px; border-radius: 20px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.pill-row a:hover { border-color: var(--amber-dim); color: var(--amber-hi); text-decoration: none; }

.factions { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 16px; margin: 26px 0; }
.faction { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--line-2); border-radius: var(--radius); padding: 20px; }
.faction--lonestar  { border-top-color: var(--lonestar); }
.faction--valkyra   { border-top-color: var(--valkyra); }
.faction--manticore { border-top-color: var(--manticore); }
.faction h3 { margin-top: 0; font-size: 1.15rem; letter-spacing: .05em; }
.faction--lonestar h3  { color: var(--lonestar); }
.faction--valkyra h3   { color: var(--valkyra); }
.faction--manticore h3 { color: var(--manticore); }
.faction p:last-child { margin-bottom: 0; font-size: .93rem; }

.status-good, .status-bad, .status-partial, .status-unknown {
  font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
}
.status-good { color: var(--ok); }
.status-bad { color: var(--bad); }
.status-partial { color: var(--warn); }
.status-unknown { color: var(--ink-3); }

.related { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 26px; }
.related h2 { margin-top: 0; font-size: 12px; letter-spacing: .17em; text-transform: uppercase; color: var(--amber); }

.toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; margin: 0 0 32px;
}
.toc h2 { margin: 0 0 .6em; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.toc ol, .toc ul { margin: 0; padding-left: 1.2em; column-gap: 30px; }
.toc li { font-size: 14px; margin-bottom: .3em; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--amber-hi); }

.section-band { background: var(--bg-2); border-block: 1px solid var(--line); padding: 46px 0; margin: 0; }
.section-band h2 { margin-top: 0; }

/* --------------------------------------------------------------------- foot */

.site-foot { background: #0a0908; border-top: 1px solid var(--line); margin-top: 60px; padding: 46px 0 26px; }
.foot-top { display: grid; grid-template-columns: minmax(210px, 250px) 1fr; gap: 40px; }
.foot-brand .brand--foot { display: inline-flex; align-items: center; gap: 10px; }
.foot-tag { color: var(--ink-3); font-size: 13.4px; margin: 14px 0 6px; }
.foot-updated { color: var(--line-2); font-size: 12px; margin: 0; }

/* Multi-column packing keeps the groups tight instead of leaving grid-row gaps. */
.foot-cols { columns: 3; column-gap: 30px; }
.fgroup { break-inside: avoid; margin-bottom: 28px; }
.fgroup ul { list-style: none; margin: 0; padding: 0; }
.fgroup li { margin-bottom: .38em; }
.fgroup a { color: var(--ink-3); font-size: 13.2px; }
.fgroup a:hover { color: var(--amber-hi); }
.fgroup-title {
  font-family: var(--font-head); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 .85em; font-weight: 800;
}
.fgroup--official .fgroup-note { font-size: 11.5px; color: var(--line-2); margin: -.5em 0 .8em; line-height: 1.45; }
.fgroup--official li { break-inside: avoid; }
.ext { font-size: 9px; opacity: .5; margin-left: 3px; }

.foot-legal { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 22px; }
.foot-legal p { font-size: 12px; color: var(--line-2); line-height: 1.62; margin: 0 0 .7em; max-width: 92ch; }
.foot-legal .disclaimer { color: var(--ink-3); }
.foot-legal a { color: var(--ink-3); }
.foot-legal a:hover { color: var(--amber); }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .mainnav > ul > li > a { padding: 9px 9px; font-size: 13.4px; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .navtoggle { display: flex; }
  .mainnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 120;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0,0,0,.6);
    max-height: 76vh; overflow-y: auto; padding: 10px 16px 20px;
  }
  .mainnav.open { display: block; }
  .mainnav > ul { flex-direction: column; gap: 0; }
  .mainnav > ul > li { border-bottom: 1px solid var(--line); }
  .mainnav > ul > li > a { padding: 12px 4px; font-size: 15px; color: var(--ink); }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent;
    padding: 0 0 10px 14px; min-width: 0;
  }
  .subnav a { padding: 6px 4px; font-size: 13.6px; }
  /* relative, not static: the absolutely-positioned menu anchors to this and
     needs a stacking context above .hero */
  .site-head { position: relative; z-index: 120; }
  .hero-inner { padding: 44px 0 34px; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .foot-cols { columns: 2; }
}

@media (min-width: 780px) {
  .fact-table { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 560px) {
  .page { padding: 20px var(--gutter) 60px; }
  .unofficial-bar { font-size: 11.5px; padding: 6px 14px; line-height: 1.35; }
  .fact-table { grid-template-columns: repeat(2, 1fr); }
  th, td { padding: 9px 11px; font-size: 13.6px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .brand-name { font-size: 17.5px; }
  .brand-mark { height: 30px; }
  .foot-cols { columns: 1; }
}

@media print {
  .site-head, .site-foot, .unofficial-bar, .crumbs, .navtoggle, .video { display: none; }
  body { background: #fff; color: #000; }
}
