/* ═══════════════════════════════════════════════════════════════════
   WARDYN TECHNOLOGIES — DESIGN SYSTEM
   Conforms to Wardyn Technologies Ltd. Brand Guidelines V1.0 (2026).

   §05 Colour   Monochrome by default. Signal Red marks contact only.
                Target ≈ 90% neutral / 10% red.
   §06 Type     Orbitron 900 — display only, caps always.
                Archivo   — headlines 700–800, body 400–500. Never skewed.
                IBM Plex Mono — labels, captions, specs. Tracked wide, small.
   §02 Logo     Fixed geometry. Vector only, never redrawn.
   §03 Quiet    Nav, footers and UI chrome use the quiet variant.
   ═══════════════════════════════════════════════════════════════════ */

/* ── FONTS (self-hosted; no third-party requests) ─────────────────── */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/archivo-400-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/archivo-400-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/orbitron-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── TOKENS ───────────────────────────────────────────────────────── */
:root {
  /* §05 — the only approved colours */
  --ink:        #0A0B0C;
  --signal:     #C8102E;
  --steel-900:  #16181B;
  --steel-700:  #2B2F33;
  --steel-500:  #595F66;
  --steel-300:  #9AA0A6;
  --steel-200:  #C8CBCE;
  --paper:      #F3F2EF;
  --chalk:      #E7E8E9;   /* wordmark white, from the vector lockup */

  /* Surface roles — reassigned per section by .s-* below */
  --bg:         var(--ink);
  --surface:    var(--steel-900);
  --hairline:   var(--steel-700);
  --heading:    var(--chalk);
  --body:       var(--steel-300);
  --caption:    var(--steel-300);   /* Steel 500 on Ink is ~3.2:1 — fails AA at label sizes */
  --motif:      url('../img/brand/motif-reticle-red.svg');

  --lean:       -8deg;     /* §02 — the only angle in the system */
  --measure:    68ch;
  --gutter:     clamp(1.25rem, 5vw, 3rem);
  --bay:        clamp(4.5rem, 10vw, 8rem);   /* vertical section rhythm */
  --shell:      1160px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  background: var(--bg);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--signal); color: var(--paper); }

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

.skip-link {
  position: absolute; left: var(--gutter); top: -100%;
  z-index: 200; padding: .7rem 1.1rem;
  background: var(--signal); color: var(--paper);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus-visible { top: 1rem; }

/* ── SURFACES ─────────────────────────────────────────────────────── */
/* §05 — monochrome by default; Ink-dominant with Paper sections. */
.s-ink   { background: var(--ink); }
.s-steel { background: var(--steel-900); }

.s-paper {
  background: var(--paper);
  --bg:       var(--paper);
  --surface:  #FFFFFF;
  --hairline: var(--steel-200);
  --heading:  var(--ink);
  --body:     var(--steel-700);
  --caption:  var(--steel-500);
  color: var(--steel-700);
}

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.bay   { padding-block: var(--bay); }

/* ── TYPE ─────────────────────────────────────────────────────────── */

/* §06 — Orbitron: display only, caps always. Never for running text. */
.display {
  font-family: 'Orbitron', 'Archivo', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--heading);
  line-height: 1.06;
  letter-spacing: .01em;
}

/* §06 — Archivo carries everything read at length. Never skewed. */
h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  color: var(--heading);
  text-wrap: balance;
}
h1, h2 {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.7vw, 2.9rem); }
h3 {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--heading);
}

p { max-width: var(--measure); }
p + p { margin-top: 1.1em; }
h1 + p, h2 + p, h3 + p, h2 + ul, h2 + dl { margin-top: 1.35rem; }
strong, b { font-weight: 700; color: var(--heading); }
em { font-style: italic; }
sup { font-size: .55em; vertical-align: super; line-height: 0; }

.lead {
  font-size: clamp(1.05rem, 1rem + .45vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
}

/* §06 — IBM Plex Mono: labels, captions, specs. Tracked wide, small sizes. */
.label, .mono {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--caption);
}

.label {
  display: block;
  margin-bottom: .9rem;
}
/* Section numerals ride in Signal Red, as in the guidelines document. */
.label .num { color: var(--signal); }
.label .num::after { content: ' — '; color: var(--caption); }
/* Red emphasis inside a label without the numeral separator. */
.label .accent { color: var(--signal); }

/* ── THE CUT ──────────────────────────────────────────────────────── */
/* §01 — the raked line is the brand's one gesture. It replaces any rule. */
.cut {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--signal);
  transform: skewX(var(--lean));
  margin-bottom: 1.9rem;
}
.cut-wide { width: 100%; max-width: 220px; height: 2px; }

/* §03 — the bracketed lock marker, used alone as a bullet or marker. */
.motif-list { list-style: none; }
.motif-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .55rem;
}
.motif-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .42em;
  width: 1.05rem; height: 1.05rem;
  background: var(--motif) center / contain no-repeat;
}

/* ── SECTION HEADER ───────────────────────────────────────────────── */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-header p, .section-sub {
  margin-top: 1.25rem;
  font-size: clamp(1rem, .97rem + .3vw, 1.15rem);
}

/* ── LINKS ────────────────────────────────────────────────────────── */
.link {
  color: var(--heading);
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
  padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}
.link:hover { color: var(--signal); }

/* ── BUTTONS ──────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .95rem 2rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
/* Signal Red is contact — reserved for the primary action. */
.btn-primary {
  background: var(--signal);
  color: var(--paper);
  border-color: var(--signal);
}
.btn-primary:hover { background: #A80D26; border-color: #A80D26; }

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: var(--heading); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }

/* ── CARDS ────────────────────────────────────────────────────────── */
/* Square corners throughout — the geometry is hard-edged. */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.card h3 { margin-bottom: .65rem; }
.card h3 + p { margin-top: 0; }   /* cards keep a tighter head-to-body gap */
.card p  { font-size: .95rem; line-height: 1.6; max-width: none; }

/* §05 — Signal Red marks contact, never decoration. Card icons run neutral;
   red is kept for the cut, section numerals, spec keys and actions. */
.card-icon {
  width: 26px; height: 26px;
  stroke: var(--steel-300);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.35rem;
}

/* Hairlines come from each cell's outline rather than a background showing
   through the gaps, so a row that does not fill leaves space, not a grey block. */
.grid { display: grid; gap: 1px; }
.grid > .card { border: 0; outline: 1px solid var(--hairline); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 28vw, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 40vw, 420px), 1fr)); }

/* ── SPEC / DATA ROWS ─────────────────────────────────────────────── */
.spec {
  display: grid;
  grid-template-columns: minmax(9rem, 15rem) 1fr;
  gap: .6rem 1.75rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
  margin-top: 1rem;
}
.spec dt {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--signal);
  padding-top: .25em;
}
.spec dd { color: var(--body); font-size: .95rem; }

/* ── QUALIFYING NOTE ──────────────────────────────────────────────── */
/* Regulatory caveats and conditions — a caption, so it runs in mono (§06). */
.note {
  display: flex;
  gap: .8rem;
  margin-top: 1.75rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem;
  line-height: 1.75;
  letter-spacing: .05em;
  color: var(--caption);
  max-width: var(--measure);
}
.note::before {
  content: '';
  flex: none;
  width: 12px; height: 2px;
  margin-top: .75em;
  background: var(--signal);
  transform: skewX(var(--lean));
}

/* ── SOVEREIGNTY BAR ──────────────────────────────────────────────── */
/* §01 — "Sovereign" is one of the four brand attributes. It rides under
   every hero as a standing claim, in mono because it reads as a spec. */
.sovereign-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1.6rem;
  list-style: none;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--hairline);
}
.sovereign-bar li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--body);
}
/* The cut, at bullet scale. */
.sovereign-bar li::before {
  content: '';
  width: 12px; height: 2px;
  flex: none;
  background: var(--signal);
  transform: skewX(var(--lean));
}
.sovereign-bar .flag {
  width: 18px; height: 18px;
  margin-right: -.15rem;
}
.sovereign-bar li:has(.flag)::before { display: none; }

/* ── MADE IN BRITAIN ──────────────────────────────────────────────── */
.mib-badge {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  margin-bottom: 1.35rem;
}
.mib-badge img { width: 42px; height: 42px; flex: none; }
.card .mib-badge { margin-bottom: 1.35rem; }
.card .mib-badge img { width: 26px; height: 26px; }
.mib-badge span {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--heading);
}
.mib-badge:hover span { color: var(--signal); }

/* ── HEADLINE FIGURES ─────────────────────────────────────────────── */
/* A number that carries an argument. Value in Orbitron (display only, §06),
   note in mono because it is a caption. */
.figure-row {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 2.25rem;
}
/* Hairlines are drawn by each cell's outline, not by a background showing
   through the gaps — so an odd count leaves empty space, not a filled cell. */
.figure {
  background: var(--surface);
  outline: 1px solid var(--hairline);
  padding: clamp(1.4rem, 3vw, 1.85rem);
}
.figure-value {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: .75rem;
}
.figure-note {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem;
  line-height: 1.65;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--caption);
  max-width: none;
}

/* ── TAGS ─────────────────────────────────────────────────────────── */
.tag-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--body);
  border: 1px solid var(--hairline);
  padding: .5rem .85rem;
}

/* ── NAV ──────────────────────────────────────────────────────────── */
/* §03 — UI chrome takes the quiet variant. */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem var(--gutter);
  background: rgba(10, 11, 12, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--steel-700);
}
.nav-logo { display: block; }
/* §02 — the brandmark alone, so the nav never falls below the lockup's
   140px minimum. The wordmark still carries the name in the footer. */
.nav-logo img { width: 62px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.nav-link {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chalk);
  text-decoration: none;
  transition: color .18s ease;
}
.nav-link:hover, .nav-link[aria-current='page'] { color: #FFFFFF; }
.nav-contact { color: var(--signal); }
.nav-contact:hover { color: var(--signal); text-decoration: underline; text-underline-offset: 4px; }

/* ── NAV DISCLOSURES ──────────────────────────────────────────────── */
.nav-group { position: relative; display: flex; align-items: center; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chalk);
  transition: color .18s ease;
}
.nav-toggle::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.nav-toggle:hover,
.nav-group[data-open='true'] .nav-toggle { color: #FFFFFF; }
.nav-group[data-open='true'] .nav-toggle::after { transform: translateY(1px) rotate(-135deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + .9rem);
  left: -1.1rem;
  z-index: 10;
  min-width: 15rem;
  list-style: none;
  padding: .4rem 0;
  background: var(--ink);
  border: 1px solid var(--steel-700);
  /* The cut, as the menu's leading edge. */
  border-top: 2px solid var(--signal);
  display: none;
}
.nav-group[data-open='true'] .nav-menu { display: block; }
@media (hover: hover) {
  .nav-group:hover .nav-menu { display: block; }
}

/* The menu is offset below its trigger, and that gap belongs to neither
   element — so travelling to the menu would drop :hover and close it.
   This invisible bridge spans the gap; being a descendant of .nav-group it
   keeps the group hovered the whole way down. */
.nav-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1rem;
  height: 1rem;
}

.nav-menu a {
  display: block;
  padding: .75rem 1.1rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
/* The label is already white, so hover reads as the row lighting up rather
   than the text changing colour. */
.nav-menu a:hover,
.nav-menu a[aria-current='page'] { color: #FFFFFF; background: var(--steel-900); }
.nav-menu .menu-note {
  display: block;
  margin-top: .2rem;
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: none;
  /* Kept a step down from the white label so the hierarchy survives, but
     lifted off Steel 500, which fails AA on Ink at this size. */
  color: var(--steel-300);
}

.nav-only-sm { display: none; }
@media (max-width: 620px) {
  .nav { flex-wrap: wrap; row-gap: .55rem; }
  .nav-links { width: 100%; justify-content: space-between; gap: .5rem; }
  /* Keep a menu from running off the right edge of a narrow screen. */
  .nav-menu { left: -.6rem; min-width: 12.5rem; }
  .nav-group:last-of-type .nav-menu { left: auto; right: -.6rem; }
}
@media (max-width: 860px) {
  .nav-logo img { width: 54px; height: auto; }
  .nav-links { gap: 1rem; }
  .nav-link, .nav-toggle { font-size: .72rem; letter-spacing: .1em; }
  .nav-hide-sm { display: none; }
  .nav-only-sm { display: inline; }
}

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(8rem, 18vh, 11rem) 0 var(--bay);
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* §04 — never introduce unapproved colours. Photography runs monochrome. */
  filter: grayscale(1) contrast(1.06) brightness(1.02);
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,11,12,.62) 0%, rgba(10,11,12,.22) 34%, rgba(10,11,12,.72) 80%, var(--ink) 100%),
    linear-gradient(to right, rgba(10,11,12,.90) 0%, rgba(10,11,12,.55) 45%, rgba(10,11,12,.15) 100%);
}
/* The hero is a flex container — the shell must span it, not shrink-wrap,
   so hero content aligns to the same gutter as every other section. */
.hero > .shell { width: 100%; }
.hero-inner { position: relative; z-index: 1; }
.hero-mark { width: min(430px, 74vw); margin-bottom: clamp(2rem, 5vw, 3rem); }
.hero-statement {
  font-size: clamp(1.35rem, .85rem + 2.1vw, 2.4rem);
  margin-bottom: 1.5rem;
}
.hero p { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); max-width: 60ch; }

/* Compact hero for interior pages — no photography. */
.page-hero {
  padding: clamp(9rem, 20vh, 12rem) 0 var(--bay);
  border-bottom: 1px solid var(--steel-700);
  background: var(--steel-900);
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
/* §03 — document footers take the quiet variant. */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--steel-700);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
/* The footer spans the page rather than sitting in the content column: it is
   chrome, not content, and the legal text reads better on one or two lines. */
.site-footer .shell { max-width: none; }
.site-footer img { width: 190px; margin-bottom: 1.75rem; }
.footer-social {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0 0 1.75rem;
}
.footer-social a {
  display: block;
  color: var(--steel-300);
  transition: color .18s ease;
}
.footer-social a:hover { color: var(--chalk); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; display: block; }

.footer-legal {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .68rem;
  line-height: 2;
  letter-spacing: .06em;
  color: var(--steel-300);
  max-width: none;
}
.footer-legal a { color: var(--steel-300); text-decoration: none; }
.footer-legal a:hover { color: var(--signal); }

/* The full legal footer appears on About Us only — deliberately quiet. */
.footer-statutory {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--steel-700);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .62rem;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--steel-500);
  max-width: none;
}

/* ── UTILITIES ────────────────────────────────────────────────────── */
.narrow  { max-width: 800px; }
.mt-0    { margin-top: 0; }
/* ── NEWS ─────────────────────────────────────────────────────────── */
.news-list { list-style: none; display: grid; gap: 1px; background: var(--hairline); }
.news-item { background: var(--bg); padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.news-meta {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--caption); margin-bottom: .9rem;
}
.news-title {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.85rem);
  line-height: 1.22; margin-bottom: 1rem; max-width: 46ch;
}
.news-title a { text-decoration: none; }
.news-title a:hover { color: var(--signal); }
.news-more {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 1.1rem;
}
.news-more a { color: var(--signal); text-decoration: none; border-bottom: 1px solid transparent; }
.news-more a:hover { border-bottom-color: var(--signal); }

/* A press release reads as one column of body copy. Headings keep sentence
   case: the site's uppercase headlines would print SENTRAIR for SENTRair. */
.release h1, .release h2, .news-title { text-transform: none; letter-spacing: -.01em; }
.release h1 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); line-height: 1.16; }
.release h2 { font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); margin-top: 2.5rem; margin-bottom: .9rem; }
.release p { margin-top: 1.1rem; }
.release-dateline {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--caption); margin-top: 1.5rem;
}
.release-quote {
  margin-top: 1.5rem; padding-left: clamp(1rem, 3vw, 1.75rem);
  border-left: 2px solid var(--signal);
}
.release-quote p { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.6; }
.release-ends {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .7rem; letter-spacing: .2em; color: var(--caption); margin-top: 2.5rem;
}

/* The fixed nav and the announcement strip below it publish their heights as
   --nav-h / --flash-h (js/newsflash.js). Page tops clear whichever is larger:
   their designed padding, or the chrome above them. */
:root { --top-chrome: calc(var(--nav-h, 4.6rem) + var(--flash-h, 0px)); }
.hero      { padding-top: max(clamp(8rem, 18vh, 11rem), calc(var(--top-chrome) + 2.5rem)); }
.page-hero { padding-top: max(clamp(9rem, 20vh, 12rem), calc(var(--top-chrome) + 3rem)); }

/* ── NEWS FLASH ───────────────────────────────────────────────────── */
/* A thin strip below the fixed nav. Signal Red, one line, dismissible.
   Its height feeds --flash-h so page tops can allow for it. */
.newsflash {
  position: fixed;
  top: var(--nav-h, 4.6rem);
  left: 0; right: 0;
  z-index: 99;
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  padding: .45rem var(--gutter);
  background: var(--signal);
  color: var(--paper);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
}
.newsflash[hidden] { display: none; }
.newsflash a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(243,242,239,.5); }
.newsflash a:hover { border-bottom-color: var(--paper); }
.newsflash-label { opacity: .75; }
.newsflash-close {
  position: absolute; right: var(--gutter);
  background: none; border: 0; padding: .1rem .3rem;
  color: var(--paper); font: inherit; line-height: 1; cursor: pointer; opacity: .75;
}
.newsflash-close:hover { opacity: 1; }
@media (max-width: 620px) {
  .newsflash { font-size: .58rem; letter-spacing: .12em; padding-right: 2.5rem; justify-content: flex-start; }
  .newsflash-label { display: none; }
}

/* ── SIGNUP FORM ──────────────────────────────────────────────────── */
.signup { margin-top: clamp(2rem, 4vw, 3rem); max-width: 34rem; }
.signup-field { margin-bottom: 1.1rem; }
.signup-field label {
  display: block; margin-bottom: .4rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--caption);
}
.signup-field input {
  width: 100%;
  padding: .8rem .9rem;
  background: var(--bg);
  border: 1px solid var(--hairline);
  color: var(--heading);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 1rem;
}
.signup-field input:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.signup-optional { text-transform: none; letter-spacing: 0; opacity: .8; }
.signup-consent { display: flex; gap: .7rem; align-items: flex-start; margin: 1.5rem 0; }
.signup-consent input { flex: none; margin-top: .25rem; width: 1.05rem; height: 1.05rem; accent-color: var(--signal); }
.signup-consent label { font-size: .9rem; line-height: 1.55; color: var(--body); }
.signup-note { font-size: .82rem; color: var(--caption); margin-top: 1.25rem; }
.signup-status { margin-top: 1.25rem; font-size: .95rem; }
.signup-status[data-state="error"] { color: var(--signal); }

/* ── GHOST-RENDERED CONTENT ───────────────────────────────────────── */
/* The News section is published from Ghost, which emits its own card markup
   (kg-*). These keep it inside the measure and stop images overflowing. */
.release-figure { margin: 1.75rem 0 0; }
.release-figure img, .release .kg-card img, .release figure img { width: 100%; height: auto; display: block; }
.release figure { margin: 1.75rem 0 0; }
.release figcaption { margin-top: .75rem; color: var(--caption); font-size: .85rem; }
/* Ghost's wide and full-width cards. The measure is deliberately narrow, so
   these are the two escapes an editor has for a big image or embed. */
.release .kg-width-wide { width: min(100vw - 2 * var(--gutter), 60rem); margin-inline: calc(50% - min(50vw - var(--gutter), 30rem)); }
.release .kg-width-full { width: calc(100vw - 2 * var(--gutter)); margin-inline: calc(50% - 50vw + var(--gutter)); }
.release .kg-width-wide img, .release .kg-width-full img { width: 100%; height: auto; }
.release ul, .release ol { margin: 1.1rem 0 0 1.25rem; }
.release li { margin-top: .4rem; }
.release .kg-bookmark-card, .release .kg-embed-card { margin-top: 1.75rem; }
.release hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--hairline); }
.release blockquote {
  margin-top: 1.5rem; padding-left: clamp(1rem, 3vw, 1.75rem);
  border-left: 2px solid var(--signal);
}

/* ── COOKIE CONSENT ───────────────────────────────────────────────── */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--steel-900);
  border-top: 1px solid var(--steel-700);
  padding: clamp(.9rem, 2vw, 1.25rem) var(--gutter);
}
.consent[hidden] { display: none; }
.consent-inner {
  max-width: var(--shell); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  align-items: center; justify-content: space-between;
}
.consent-text {
  margin: 0; max-width: 72ch;
  font-size: .85rem; line-height: 1.55; color: var(--steel-300);
}
.consent-text a { color: var(--chalk); }
.consent-actions { display: flex; gap: .6rem; flex: none; }
.consent .btn { padding: .6rem 1.15rem; font-size: .64rem; }

/* A button that has to look like a link — the footer cookie control. */
.link-button {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline;
}

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