/*
 * DLA Imaging design tokens
 * Canonical source for brand, semantic, layout, motion, and component values.
 * No external font, image, or script dependency is introduced here.
 */

:root,
:root[data-theme="light"] {
  color-scheme: light;

  /*
   * Brand palette.
   *
   * Four values are owner supplied and authoritative. Everything else in this
   * block is a tint or shade derived from them:
   *   Blue        #192C76
   *   Orange      #FF7403
   *   Light blue  #93DAFE
   *   White       #FFFFFF
   *
   * Usage rule that the whole system depends on: #FF7403 is a 2.71:1 colour on
   * white. It never carries body text, link text, small UI text or meaning on a
   * light surface. It is used for fills, rules, graphic accents and text on
   * navy. Where orange has to read as text on light, the system uses the
   * darkened --dla-orange-700 instead, which measures 5.28:1.
   *
   * Raw values are not component APIs. Consume the semantic tokens below.
   */
  --dla-blue-950: #060a1c;
  --dla-blue-900: #0a1136;
  --dla-blue-850: #101b4b;
  --dla-blue-800: #14235e;
  --dla-blue-700: #192c76;
  --dla-blue-600: #263a8f;
  --dla-blue-500: #3a51ab;
  --dla-blue-400: #6479c8;
  --dla-blue-300: #93a4dd;
  --dla-blue-200: #c0cbec;
  --dla-blue-100: #dfe6f8;
  --dla-blue-50: #eff3fd;
  --dla-sky-600: #2c9fd9;
  --dla-sky-500: #55b9ed;
  --dla-sky-400: #75cbf9;
  --dla-sky-300: #93dafe;
  --dla-sky-200: #b6e6fe;
  --dla-sky-100: #d6f1ff;
  --dla-sky-50: #edf8ff;
  --dla-orange-900: #5c2600;
  --dla-orange-800: #8f3d00;
  --dla-orange-700: #b34d00;
  --dla-orange-600: #d45f00;
  --dla-orange-500: #ff7403;
  --dla-orange-400: #ff9138;
  --dla-orange-300: #ffb271;
  --dla-orange-200: #ffd2ac;
  --dla-orange-100: #ffe7d3;
  --dla-orange-50: #fff5ec;
  --dla-white: #ffffff;

  /*
   * The literal brand orange, for fills and graphics only. Kept as its own
   * token so a review can grep for it and confirm no text rule consumes it.
   */
  --brand-orange: #ff7403;
  --brand-blue: #192c76;
  --brand-sky: #93dafe;

  /* Surfaces and text. */
  --color-bg: #f4f7fd;
  --color-surface: #ffffff;
  --color-surface-subtle: #ecf1fb;
  --color-surface-strong: #dce4f5;
  --color-surface-inverse: #101b4b;
  --color-text: #0f1937;
  --color-text-body: #28305a;
  --color-text-muted: #555f8c;
  --color-text-inverse: #f5f8ff;
  --color-border: #d2daee;
  --color-border-strong: #7b86ac;
  --color-overlay: rgb(6 10 28 / 74%);

  /* Action colors. */
  --color-primary: #192c76;
  --color-primary-hover: #14235e;
  --color-primary-active: #101b4b;
  --color-on-primary: #ffffff;
  --color-primary-soft: #dfe6f8;
  --color-on-primary-soft: #182a70;
  --color-accent: #b34d00;
  --color-accent-hover: #8f3d00;
  --color-accent-active: #742f00;
  --color-on-accent: #ffffff;
  --color-accent-soft: #ffe7d3;
  --color-on-accent-soft: #843800;
  --color-link: #1b3186;
  --color-link-hover: #14235e;
  --color-focus: #192c76;

  /*
   * Two-tone focus ring. The inner band is the surface colour, so the outer
   * brand band always has a light gap to contrast against, including when the
   * focused control is itself navy. Meets 2.4.11 on every surface in the system.
   */
  --focus-ring: 0 0 0 2px var(--color-surface), 0 0 0 5px var(--color-focus), 0 0 0 8px rgb(255 116 3 / 38%);

  /* Workflow status colors. Color never carries status by itself. */
  --status-routine-bg: #dfe6f8;
  --status-routine-fg: #182a70;
  --status-routine-border: #93a4dd;
  --status-urgent-bg: #ffe7d3;
  --status-urgent-fg: #843800;
  --status-urgent-border: #e09a52;
  --status-stat-bg: #fde3e0;
  --status-stat-fg: #8a1c1c;
  --status-stat-border: #df8b82;
  --status-complete-bg: #dcf2ea;
  --status-complete-fg: #145b45;
  --status-complete-border: #7bc2aa;

  /* Data-visualization colors, ordered for separation on light surfaces. */
  --chart-1: #192c76;
  --chart-2: #b34d00;
  --chart-3: #2c7d9e;
  --chart-4: #6a4c9e;
  --chart-5: #1f7a5c;
  --chart-grid: #ccd5ea;

  /* Theme-aware icon hooks used by inline modality SVGs. */
  --dla-icon-ink: #192c76;
  --dla-icon-accent: #b34d00;

  /*
   * Typography.
   *
   * Gotham ships here in two static weights, so hierarchy below heading level
   * is carried by size, tracking and colour rather than by weight. The two
   * "middle" weight tokens deliberately resolve to Light: asking for 500 and
   * getting Black is a far worse outcome than two tokens sharing a face.
   * Geist Mono is retained for tabular and code-like accents only.
   */
  --font-display: "DLA Gotham", "DLA Gotham Display Fallback", "Avenir Next", "Futura", "Century Gothic", "Segoe UI", Arial, sans-serif;
  --font-body: "DLA Gotham", "DLA Gotham Fallback", "Avenir Next", "Futura", "Century Gothic", "Segoe UI", Arial, sans-serif;
  --font-mono: "DLA Geist Mono", "SFMono-Regular", Consolas, monospace;
  --font-weight-regular: 300;
  --font-weight-medium: 300;
  --font-weight-semibold: 900;
  --font-weight-bold: 900;
  --line-height-tight: 1.06;
  --line-height-heading: 1.12;
  --line-height-body: 1.68;
  --line-height-ui: 1.4;
  --tracking-tight: -0.022em;
  /*
   * Display tracking. Applied to the hero and section display steps only.
   * Previously five rules hard coded -0.041em, -0.04em and -0.035em, which left
   * --tracking-tight documented but unused and pinched Gotham's counters at the
   * largest step. One token, retuned for this face.
   */
  --tracking-display: -0.028em;
  --tracking-normal: 0;
  --tracking-wide: 0.1em;
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-base: 1.125rem;
  --font-size-md: 1.26rem;
  --font-size-lg: clamp(1.22rem, 1.1rem + 0.4vw, 1.44rem);
  --font-size-xl: clamp(1.42rem, 1.19rem + 0.72vw, 1.82rem);
  --font-size-2xl: clamp(1.68rem, 1.3rem + 1.18vw, 2.34rem);
  --font-size-3xl: clamp(1.98rem, 1.42rem + 1.85vw, 3.06rem);
  --font-size-hero: clamp(2.5rem, 1.62rem + 2.85vw, 4.2rem);

  /* Four-point spatial scale. */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-section: clamp(4.75rem, 7.5vw, 7.75rem);
  --space-section-compact: clamp(2.75rem, 4.5vw, 4.5rem);

  /* Grid and sizing. */
  --container-wide: 90rem;
  --container: 84rem;
  --container-reading: 46rem;
  --page-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --grid-columns: 12;
  --grid-gap: clamp(1rem, 2vw, 2rem);
  --header-height: 5.25rem;
  --control-height-sm: 2.85rem;
  --control-height: 3.35rem;
  --control-height-lg: 3.75rem;
  --tap-target: 3rem;

  /* Shape and border. */
  --radius-xs: 0.25rem;
  --radius-sm: 0.55rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.85rem;
  --radius-pill: 999px;
  --border-width: 1px;
  --border-width-strong: 2px;

  /* Elevation. Shadows supplement, never replace, a visible boundary. */
  --shadow-xs: 0 1px 2px rgb(15 25 55 / 5%), 0 3px 9px rgb(15 25 55 / 4%);
  --shadow-sm: 0 8px 24px rgb(15 25 55 / 8%);
  --shadow-md: 0 18px 42px rgb(15 25 55 / 11%);
  --shadow-lg: 0 32px 80px rgb(15 25 55 / 16%);
  --shadow-focus: var(--focus-ring);

  /* Motion. */
  --duration-instant: 80ms;
  --duration-fast: 140ms;
  --duration-base: 220ms;
  --duration-slow: 360ms;
  --duration-signature: 720ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);

  /* Layering. */
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 100;
  --z-nav: 200;
  --z-popover: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Shared component contracts. */
  --button-radius: var(--radius-md);
  --field-radius: var(--radius-sm);
  --card-radius: var(--radius-lg);
  --card-padding: clamp(1.2rem, 2.2vw, 1.8rem);
  --card-border: var(--border-width) solid var(--color-border);
  --answer-block-border: 0.25rem solid var(--color-accent);
  --prose-measure: 68ch;

  /*
   * Compatibility aliases used by the framework-free page templates.
   * Components may consume these names; theme changes still flow through
   * the semantic tokens above.
   */
  --bg: var(--color-bg);
  --surface: var(--color-surface);
  --surface-raised: var(--color-surface-subtle);
  --text: var(--color-text);
  --text-muted: var(--color-text-muted);
  --brand: var(--color-primary);
  --brand-strong: var(--color-primary-hover);
  --brand-soft: var(--color-primary-soft);
  --answer-block-accent: var(--brand-orange);
  --accent: var(--color-accent);
  --accent-strong: var(--color-accent-hover);
  /*
   * This alias was missing while five rules in site.css consumed it with no
   * fallback, so those backgrounds were invalid at computed-value time and
   * rendered fully transparent rather than tinted.
   */
  --accent-soft: var(--color-accent-soft);
  --border: var(--color-border);
  --focus: var(--color-focus);
  --urgent: var(--status-urgent-fg);
  --routine: var(--status-routine-fg);
  --stat: var(--status-stat-fg);
  --complete: var(--status-complete-fg);
  --max-width: var(--container);
  --ease: var(--ease-standard);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #070c20;
  --color-surface: #0d1534;
  --color-surface-subtle: #141e46;
  --color-surface-strong: #1e2b5e;
  --color-surface-inverse: #f5f8ff;
  --color-text: #eff3ff;
  --color-text-body: #c7d2ee;
  --color-text-muted: #9eabd1;
  --color-text-inverse: #0f1937;
  --color-border: #2e3b69;
  --color-border-strong: #6c7aa8;
  --color-overlay: rgb(3 6 18 / 80%);
  --color-primary: #93dafe;
  --color-primary-hover: #b6e6fe;
  --color-primary-active: #d6f1ff;
  --color-on-primary: #06091c;
  --color-primary-soft: #152452;
  --color-on-primary-soft: #afd9f8;
  --color-accent: #ff9138;
  --color-accent-hover: #ffb271;
  --color-accent-active: #ffd2ac;
  --color-on-accent: #2e1300;
  --color-accent-soft: #43230a;
  --color-on-accent-soft: #ffcfa6;
  --color-link: #93dafe;
  --color-link-hover: #b6e6fe;
  --color-focus: #93dafe;
  --focus-ring: 0 0 0 2px var(--color-surface), 0 0 0 5px var(--color-focus), 0 0 0 8px rgb(255 145 56 / 34%);
  --status-routine-bg: #152452;
  --status-routine-fg: #afd9f8;
  --status-routine-border: #3e5599;
  --status-urgent-bg: #43230a;
  --status-urgent-fg: #ffcfa6;
  --status-urgent-border: #9a6e26;
  --status-stat-bg: #4d1f20;
  --status-stat-fg: #ffc4be;
  --status-stat-border: #985154;
  --status-complete-bg: #173d33;
  --status-complete-fg: #bce8d8;
  --status-complete-border: #4d8b78;
  --chart-1: #93dafe;
  --chart-2: #ff9138;
  --chart-3: #8fd5bc;
  --chart-4: #c3b2ea;
  --chart-5: #f2cf7d;
  --chart-grid: #33406e;
  --dla-icon-ink: #93dafe;
  --dla-icon-accent: #ff9138;
  /*
   * On dark surfaces the literal brand orange clears 3:1 comfortably, so the
   * graphic accent can be the true brand value here.
   */
  --answer-block-accent: var(--brand-orange);
  --shadow-xs: 0 1px 2px rgb(0 0 0 / 30%);
  --shadow-sm: 0 6px 16px rgb(0 0 0 / 34%);
  --shadow-md: 0 16px 38px rgb(0 0 0 / 42%);
  --shadow-lg: 0 32px 72px rgb(0 0 0 / 52%);
  --shadow-focus: var(--focus-ring);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-instant: 0.01ms;
    --duration-fast: 0.01ms;
    --duration-base: 0.01ms;
    --duration-slow: 0.01ms;
    --duration-signature: 0.01ms;
  }

  html:focus-within {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: more) {
  :root {
    --border-width: 2px;
    --color-border: var(--color-border-strong);
  }
}

/*
 * Brand type. Gotham is supplied by the owner in two static weights, Light and
 * Black. Each face declares a weight RANGE so that any weight the stylesheet
 * asks for resolves to a real face instead of a browser-synthesised fake:
 * 300 to 500 resolves to Light, 501 to 900 resolves to Black. Synthesis is
 * switched off globally further down, so a missing weight or italic degrades
 * to the nearest real face rather than a skewed or smeared one.
 *
 * Licensing note: these files are owner supplied. Web use of Gotham requires a
 * webfont licence from the foundry. That confirmation is tracked as a launch
 * gate in CONFIRM_BEFORE_LAUNCH.md and launch/APPROVALS.example.json.
 */
@font-face {
  font-family: "DLA Gotham";
  src: url("/assets/fonts/gotham-light.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DLA Gotham";
  src: url("/assets/fonts/gotham-black.woff2") format("woff2");
  font-weight: 501 900;
  font-style: normal;
  font-display: swap;
}

/*
 * Metric matched fallback.
 *
 * Gotham arrives over the network, so until it does the text renders in a
 * system face. If that face occupies a different amount of space, the swap
 * relays out the paragraph and the browser counts the RESHAPED paint as the
 * largest contentful paint. On the two pages with the longest ledes,
 * /technology/ and /for-us-facilities/, that consistently cost about 150 ms and
 * pushed both over an 1800 ms budget.
 *
 * These overrides scale Arial so it occupies Gotham Light's box exactly.
 * Derived from the real font tables rather than guessed:
 *   Gotham Light  upem 1000, x-height 510 (0.5100), ascender 800, descender 200
 *   Arial         upem 2048, x-height 1062 (0.5186)
 *   size-adjust      = 0.5100 / 0.5186 = 98.35%
 *   ascent-override  = 0.800 / 0.9835   = 81.34%
 *   descent-override = 0.200 / 0.9835   = 20.34%
 *
 * The visible effect is that the first paint already has the final vertical
 * geometry, so line boxes do not move when Gotham lands.
 *
 * MEASURED LIMIT, do not remove the font preloads on the strength of this.
 * size-adjust corrects scale and vertical metrics, not per-glyph advance
 * widths, and Arial and Gotham differ enough there that a paragraph can rewrap
 * on swap. Dropping the two preloads was tested on /technology/ over five runs:
 * largest contentful paint improved from 1828 ms to 1728 ms, but cumulative
 * layout shift went from 0.000 to 0.061, past the 0.05 budget, and the
 * performance score fell to 99. The preloads stay.
 */
@font-face {
  font-family: "DLA Gotham Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 98.35%;
  ascent-override: 81.34%;
  descent-override: 20.34%;
  line-gap-override: 0%;
  font-display: swap;
}

/*
 * The display face needs its own match.
 *
 * Gotham Black is not a heavier Gotham Light with the same proportions: its
 * x-height is 0.541 of the em against Light's 0.510, a six percent difference.
 * One fallback tuned to Light therefore left every heading reshaping on swap.
 * Same derivation as above, against Arial's 0.5186:
 *   size-adjust      = 0.5410 / 0.5186 = 104.32%
 *   ascent-override  = 0.800 / 1.0432   = 76.69%
 *   descent-override = 0.200 / 1.0432   = 19.17%
 */
@font-face {
  font-family: "DLA Gotham Display Fallback";
  src: local("Arial Bold"), local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 104.32%;
  ascent-override: 76.69%;
  descent-override: 19.17%;
  line-gap-override: 0%;
  font-weight: 501 900;
  font-display: swap;
}

@font-face {
  font-family: "DLA Geist Mono";
  src: url("/assets/fonts/geist-mono-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  color-scheme: light;
  background: var(--bg, #f4f7fd);
  scroll-behavior: smooth;
  text-size-adjust: 100%;

  /*
   * Gotham ships in two real weights and no italic. Without this, a browser
   * asked for 600 or for italic would fake it by smearing or skewing Light,
   * which looks broken next to genuine Black. Off means the nearest real face
   * is used instead.
   */
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--bg, #f4f7fd);
  color: var(--text, #0f1937);
  font-family: var(--font-body, "DLA Gotham", system-ui, sans-serif);
  font-size: var(--font-size-base, 1.075rem);
  font-kerning: normal;
  font-optical-sizing: auto;
  line-height: var(--line-height-body, 1.64);
  letter-spacing: -0.004em;
  text-rendering: optimizeLegibility;
  transition: background-color var(--duration-base, 180ms) var(--ease, ease),
    color var(--duration-base, 180ms) var(--ease, ease);
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary,
select {
  cursor: pointer;
}

a {
  color: var(--brand, #192c76);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-strong, #14235e);
}

:focus-visible {
  outline: 0.2rem solid var(--focus, #192c76);
  outline-offset: 0.22rem;
}

/*
 * The footer paints a dark navy gradient in both themes, so it does not follow
 * --color-focus, which is the light-theme navy. Keyboard focus on all twelve
 * footer links was invisible in the default theme. Sky measures 6.5:1 against
 * the footer's lightest composited endpoint.
 */
.site-footer :focus-visible {
  outline-color: var(--brand-sky);
  box-shadow: 0 0 0 2px var(--dla-blue-900), 0 0 0 5px var(--brand-sky);
}

::selection {
  background: var(--accent, #b34d00);
  color: var(--color-on-accent, #fff);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text, #0f1937);
  font-family: var(--font-display, "DLA Gotham", system-ui, sans-serif);
  font-weight: 900;
  letter-spacing: var(--tracking-tight, -0.022em);
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-hero, clamp(3rem, 5vw, 5.25rem));
  line-height: 1.04;
}

h2 {
  font-size: var(--font-size-3xl, clamp(2.25rem, 4vw, 3.75rem));
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h4 {
  line-height: 1.2;
  letter-spacing: -0.018em;
}

p,
ul,
ol {
  margin-block: 0 1.25rem;
}

main {
  overflow: clip;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 0.75rem auto auto 0.75rem;
  transform: translateY(-150%);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm, 0.35rem);
  background: var(--text, #0f1937);
  color: var(--bg, #fff);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 0.2rem;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--brand-orange, #ff7403);
}

.shell {
  width: min(calc(100% - (var(--page-gutter, 1.25rem) * 2)), var(--max-width, 80rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border, #d2daee) 72%, transparent);
  background: color-mix(in srgb, var(--bg, #f4f7fd) 84%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--surface) 48%, transparent);
  backdrop-filter: blur(16px) saturate(1.25);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: var(--header-height, 5.25rem);
  align-items: center;
  gap: 1.6rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/*
 * The header wordmark is the outlined lockup asset, never live type. BRAND.md
 * forbids setting "DLA Imaging" in a live font, and doing so also meant the
 * header and the footer showed two different treatments of the same name.
 * Height is fixed and width follows, so the 2:1 lockup can never distort.
 */
.brand-link img {
  width: auto;
  height: 2.55rem;
}

/*
 * Two lockups, one shown per theme.
 *
 * The lockup ships as an <img>, so it cannot inherit currentColor the way the
 * mono SVG variants can. Shipping only the light lockup put navy letterforms on
 * the navy dark-theme header, where the wordmark all but disappeared. The
 * inverse copy is aria-hidden with empty alt text, so the name is still
 * announced exactly once, by the visible image and the link's own aria-label.
 */
.brand-lockup-dark {
  display: none;
}

:root[data-theme="dark"] .brand-lockup-light {
  display: none;
}

:root[data-theme="dark"] .brand-lockup-dark {
  display: block;
}

.main-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  margin: 0;
  align-items: center;
  gap: clamp(0.15rem, 0.65vw, 0.7rem);
  list-style: none;
  padding: 0;
}

.nav-list > li > a,
.nav-list summary {
  display: inline-flex;
  min-height: var(--tap-target, 3rem);
  align-items: center;
  padding: 0.48rem 0.56rem;
  border-radius: var(--radius-md, 0.75rem);
  color: var(--text);
  font-size: 1rem;
  /*
   * Light, not Black. The dropdown items one click below are Light 300, and
   * with nothing between 300 and 900 the two levels of the same component read
   * as two different sites' navigation stacked together, with the child items
   * looking disabled beside their own parent. The whole nav now sits on one
   * weight; current and hover state are carried by colour and the inset rule
   * below. 900 is reserved in the header for the brand lockup and the CTA.
   */
  font-weight: 300;
  letter-spacing: 0.004em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list summary {
  list-style: none;
}

.nav-list summary::-webkit-details-marker {
  display: none;
}

.nav-list summary::after {
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.48rem;
  border-right: 0.1rem solid currentColor;
  border-bottom: 0.1rem solid currentColor;
  content: "";
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform var(--duration-fast, 120ms) var(--ease, ease);
}

.nav-list details[open] summary::after {
  transform: translateY(0.12rem) rotate(225deg);
}

.nav-list a:hover,
.nav-list summary:hover {
  background: color-mix(in srgb, var(--brand-soft, #dfe6f8) 78%, transparent);
  color: var(--brand-strong, #14235e);
}

/*
 * Current page indicator.
 *
 * This was an inset box-shadow, which inherits the item's border-radius and so
 * rendered as a curved tray under the label rather than an underline. A
 * text-decoration underline sits flush and follows the text width, and it
 * survives forced-colours mode, which a box-shadow does not.
 */
.nav-list a[aria-current="page"],
.nav-list summary.is-current {
  background: transparent;
  color: var(--color-primary);
  text-decoration: underline;
  /*
   * Navy, not brand orange. Orange measures 2.52:1 against the header, below
   * the 3.0 a non-text indicator needs, and it is the exact use BRAND.md
   * forbids. Navy measures 11.77:1. The colour change alone was not enough
   * either, at 1.37:1 against the resting link colour, so the underline is the
   * indicator and the colour change only reinforces it.
   */
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 0.16rem;
  text-underline-offset: 0.42rem;
}

.nav-group {
  position: relative;
}

.nav-popover {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  width: max-content;
  min-width: 16rem;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 1.25rem);
  background: color-mix(in srgb, var(--surface) 94%, var(--brand-soft));
  box-shadow: var(--shadow-lg, 0 1rem 3rem rgba(8, 34, 52, 0.12));
  list-style: none;
}

.nav-popover a {
  display: block;
  padding: 0.72rem 0.82rem;
  border-radius: var(--radius-md, 0.75rem);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 300;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-cta {
  display: inline-flex;
  min-height: var(--control-height-sm, 2.85rem);
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1rem;
  border: 1px solid var(--brand);
  border-radius: var(--button-radius, 0.85rem);
  background: var(--brand);
  color: var(--color-on-primary, #fff);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: -0.012em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  color: var(--color-on-primary, #fff);
  transform: translateY(-0.08rem);
  box-shadow: var(--shadow-sm);
}

.icon-button,
.language-link {
  display: inline-grid;
  min-width: var(--tap-target, 3rem);
  min-height: var(--tap-target, 3rem);
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--text);
  font-family: var(--font-body, "DLA Gotham", system-ui, sans-serif);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.icon-button:hover,
.language-link:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.theme-icon::before {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  border: 0.13rem solid currentColor;
  border-radius: 50%;
  content: "";
  box-shadow: inset 0.23rem -0.15rem 0 var(--surface);
  transition: background-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}

[data-theme-toggle][aria-pressed="true"] .theme-icon::before {
  background: currentColor;
  box-shadow: 0 -0.38rem 0 -0.31rem currentColor,
    0 0.38rem 0 -0.31rem currentColor,
    0.38rem 0 0 -0.31rem currentColor,
    -0.38rem 0 0 -0.31rem currentColor;
}

.mobile-nav {
  display: none;
}

.menu-icon,
.menu-icon svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.menu-icon svg,
.arrow svg {
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  min-height: var(--control-height-lg, 3.75rem);
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--button-radius, 0.85rem);
  background: var(--brand, #192c76);
  color: var(--color-on-primary, #fff);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.012em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--duration-fast, 120ms) var(--ease, ease),
    background-color var(--duration-fast, 120ms) var(--ease, ease),
    box-shadow var(--duration-fast, 120ms) var(--ease, ease),
    border-color var(--duration-fast, 120ms) var(--ease, ease);
}

.button:hover {
  background: var(--brand-strong, #14235e);
  color: var(--color-on-primary, #fff);
  transform: translateY(-0.1rem);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translateY(0);
}

.button-secondary {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--border));
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.header-actions .header-cta {
  min-height: var(--control-height-sm, 2.85rem);
  padding: 0.68rem 1rem;
  font-size: 0.94rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  color: var(--brand);
  font-family: var(--font-body, "DLA Gotham", system-ui, sans-serif);
  font-size: var(--font-size-xs, 0.825rem);
  font-weight: 900;
  letter-spacing: 0.095em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 0.14rem;
  background: var(--brand-orange);
  content: "";
}

.hero {
  position: relative;
  min-height: min(49rem, calc(100svh - 5rem));
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 6.5vw, 6.75rem);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 3% auto auto 39%;
  width: min(54vw, 49rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--brand-soft) 62%, transparent),
    transparent 69%
  );
  content: "";
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(25rem, 0.94fr) minmax(28rem, 1.16fr);
  grid-template-areas:
    "kicker media"
    "summary media";
  align-items: center;
  gap: 0;
}

.hero-kicker,
.hero-summary {
  position: relative;
  z-index: 3;
  padding-right: clamp(3.25rem, 6.5vw, 6.5rem);
}

.hero-kicker {
  grid-area: kicker;
  align-self: end;
  padding-top: 1.25rem;
}

.hero-summary {
  grid-area: summary;
  align-self: start;
  padding-bottom: 1.25rem;
}

.hero h1 {
  max-width: 14ch;
  font-size: var(--font-size-hero, clamp(3.3rem, 5vw, 5.65rem));
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: var(--tracking-display);
}

.hero-lede {
  max-width: 36rem;
  margin-block: 1.55rem 0;
  color: var(--color-text-body, var(--text-muted));
  font-size: clamp(1.2rem, 1.3vw, 1.42rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.85rem;
}

.entity-line {
  max-width: 38rem;
  margin-top: 1.75rem;
  padding-left: 1rem;
  border-left: 0.14rem solid var(--accent);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.4;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-proof li::before {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border: 0.13rem solid var(--accent);
  border-radius: 50%;
  content: "";
}

.slice-stage {
  position: relative;
  z-index: 1;
  grid-area: media;
  width: min(56vw, 50rem);
  aspect-ratio: 1585 / 992;
  justify-self: end;
  margin-left: clamp(-6rem, -6vw, -3rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--border));
  border-radius: clamp(1.25rem, 2vw, 1.85rem);
  background: color-mix(in srgb, var(--surface) 86%, var(--brand-soft));
  box-shadow: 0 2rem 4.75rem color-mix(in srgb, var(--text) 14%, transparent);
  isolation: isolate;
}

.slice-stage::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 38%, transparent);
  content: "";
  pointer-events: none;
}

.slice-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:root[data-theme="dark"] .slice-stage {
  border-color: color-mix(in srgb, var(--brand) 22%, var(--border));
  background: var(--surface);
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 38%);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 7.5vw, 7.25rem) clamp(3.25rem, 5.5vw, 5.5rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-soft) 72%, var(--surface)),
    var(--surface)
  );
}

.page-hero::after {
  content: none;
}

.page-hero > .shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(3rem, 5.8vw, 5.55rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: var(--tracking-display);
}

.page-hero .hero-lede {
  max-width: 50rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
  grid-template-areas:
    "kicker media"
    "summary media";
  align-items: center;
  column-gap: clamp(2.5rem, 5vw, 5rem);
  row-gap: 0;
}

.page-hero-kicker {
  grid-area: kicker;
  align-self: end;
}

.page-hero-summary {
  grid-area: summary;
  align-self: start;
}

.page-hero-with-media h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 4.7vw, 4.95rem);
}

.page-hero-media {
  grid-area: media;
  align-self: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border));
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

/*
 * No forced aspect ratio and no cropping.
 *
 * This rule used to force every editorial image to 1.82:1 with object-fit:
 * cover. The compositions are authored at 1.6:1 and 1.778:1, so the 1.6:1 ones
 * lost 12 percent of their height, six percent off the top and six off the
 * bottom. On secure-imaging-network-v1 that sliced the outermost of the four
 * concentric control rings, which is the entire subject of the image, and cut
 * the decorative nodes near the top edge away completely.
 *
 * The img now carries correct intrinsic width and height attributes, sourced
 * from brand/editorial-art-manifest.json at build time, so the browser reserves
 * the right box from the markup alone and there is no layout shift without a
 * ratio override.
 */
.page-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero-media figcaption {
  margin: 0;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.kind-article .page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.9rem, 5vw, 5rem);
}

.kind-utility .page-hero {
  padding-block: clamp(3.5rem, 6vw, 5.75rem) clamp(2.75rem, 4.5vw, 4.5rem);
}

html[lang^="es"] .page-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.9rem, 5.25vw, 5.1rem);
}

.breadcrumb {
  margin-bottom: 2rem;
  font-family: var(--font-body, "DLA Gotham", system-ui, sans-serif);
  font-size: 0.92rem;
  font-weight: 300;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 0.65rem;
  color: var(--text-muted);
  content: "/";
}

.breadcrumb a {
  color: var(--text-muted);
}

.facts-band {
  padding-block: clamp(3rem, 5vw, 4.75rem);
  background:
    radial-gradient(circle at 88% 0%, rgb(147 218 254 / 16%), transparent 28rem),
    linear-gradient(135deg, #0f1a47, #22368f);
  color: #fff;
}

.editorial-visual {
  margin: 0 0 clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius-xl);
  background: var(--dla-blue-850, #101b4b);
  box-shadow: 0 2.25rem 5rem rgb(0 7 13 / 30%);
}

.editorial-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.editorial-visual figcaption {
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  background: #101b4b;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.5;
}

.facts-band .eyebrow {
  color: color-mix(in srgb, #fff 82%, var(--accent));
}

.facts-title {
  max-width: 21ch;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  font-weight: 900;
  letter-spacing: var(--tracking-display);
}

.facts-band h2,
.facts-band h3 {
  color: #fff;
}

.facts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-block: 1px solid rgb(255 255 255 / 20%);
  list-style: none;
}

.facts-list li {
  min-height: 8rem;
  padding: 1.45rem clamp(1.15rem, 2.4vw, 1.9rem);
  border: 0;
  border-left: 1px solid rgb(255 255 255 / 20%);
  border-radius: 0;
  background: transparent;
  font-size: clamp(1.08rem, 1.5vw, 1.27rem);
  line-height: 1.5;
  box-shadow: none;
}

.facts-list li:first-child {
  border-left: 0;
}

.facts-list li::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-sky, #93dafe);
  font-family: var(--font-mono, "DLA Geist Mono", monospace);
  font-size: 0.82rem;
  font-weight: 900;
  content: counter(list-item, decimal-leading-zero);
}

.kind-expansion .page-hero {
  border-bottom-color: var(--border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-soft) 82%, var(--surface)),
    var(--surface)
  );
}

.kind-expansion .page-hero::after {
  content: none;
}

.kind-expansion .page-hero h1,
.kind-expansion .page-hero .hero-lede {
  color: var(--text);
}

.kind-expansion .page-hero .hero-lede {
  max-width: 58rem;
  color: var(--color-text-body);
}

.kind-expansion .page-hero .eyebrow {
  color: var(--brand);
}

.kind-expansion .page-hero .breadcrumb a,
.kind-expansion .page-hero .breadcrumb span,
.kind-expansion .page-hero .breadcrumb li:not(:last-child)::after {
  color: var(--text-muted);
}

.kind-expansion .page-hero .button {
  background: var(--brand);
  color: var(--color-on-primary);
}

.kind-expansion .page-hero .button:hover {
  background: var(--brand-strong);
  color: var(--color-on-primary);
}

.kind-expansion .page-hero .button-secondary {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--border));
  background: var(--surface);
  color: var(--text);
}

.kind-expansion .page-hero .button-secondary:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.kind-expansion .facts-band {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.kind-expansion .facts-band .eyebrow {
  color: var(--brand);
}

.kind-expansion .facts-band .facts-title {
  color: var(--text);
}

.kind-expansion .facts-list {
  border-color: var(--border);
}

.kind-expansion .facts-list li {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.kind-expansion .facts-list li::before {
  color: var(--accent);
}

.content-section {
  padding-block: var(--space-section);
}

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.content-section:nth-of-type(even) {
  background: color-mix(in srgb, var(--surface-raised) 44%, transparent);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 8vw, 8rem);
}

.section-heading {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.section-heading h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.section-heading .number {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: var(--font-mono, "DLA Geist Mono", monospace);
  font-size: 0.84rem;
  font-weight: 900;
}

.section-copy {
  max-width: 48rem;
  color: var(--color-text-body, var(--text-muted));
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
}

.section-copy p,
.article-body p,
.faq-answer {
  text-wrap: pretty;
}

.direct-answer {
  margin-bottom: 1.4rem;
  color: var(--text);
  font-size: clamp(1.28rem, 2vw, 1.68rem);
  font-weight: 300;
  line-height: 1.5;
}

.content-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-left: 0.15rem solid var(--accent);
  color: var(--text);
}

/*
 * Grouped card sections on the insights hub.
 *
 * Twenty-two guides in one undifferentiated grid read as a wall. The four
 * editorial groups already existed in the source files; these rules make them
 * visible without adding a filter, a script, or a dependency.
 */
.card-group {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.card-group + .card-group {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.card-group-title {
  margin: 0 0 0.4rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(1.24rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 900;
  letter-spacing: var(--tracking-tight);
}

.card-group-blurb {
  max-width: 62ch;
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.55;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  border: 0;
  background: transparent;
}

.path-card {
  position: relative;
  min-height: 13rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 3rem clamp(1.5rem, 3vw, 2.25rem) 0;
  border: 0;
  border-top: 2px solid color-mix(in srgb, var(--brand) 32%, var(--border));
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    background-color var(--duration-base) var(--ease),
    box-shadow var(--duration-base) var(--ease);
}

.path-card:hover,
.path-card:focus-visible {
  border-color: var(--accent);
  background: transparent;
  color: var(--brand-strong);
  transform: translateY(-0.12rem);
  box-shadow: none;
}

.path-card .path-index {
  display: block;
  margin-bottom: 2.25rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 900;
}

.path-card h3 {
  max-width: 18ch;
}

.path-card .arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  transform: translateX(0);
  transition: transform var(--duration-fast) var(--ease);
}

.path-card .arrow,
.path-card .arrow svg {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
}

.path-card:hover .arrow {
  transform: translateX(0.25rem);
}

.path-card-featured {
  min-height: 13.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border));
  border-top: 0.22rem solid var(--accent);
  border-radius: var(--card-radius);
  background:
    radial-gradient(
      circle at 100% 0%,
      color-mix(in srgb, var(--brand-soft) 72%, transparent),
      transparent 14rem
    ),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.path-card-featured:hover,
.path-card-featured:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--border));
  border-top-color: var(--accent);
  background:
    radial-gradient(
      circle at 100% 0%,
      color-mix(in srgb, var(--brand-soft) 92%, transparent),
      transparent 15rem
    ),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.path-card-featured .arrow {
  right: 1.5rem;
}

.notice {
  margin-block: 2rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-left: 0.22rem solid var(--accent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  box-shadow: var(--shadow-xs);
}

.notice strong {
  display: block;
  margin-bottom: 0.35rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

.interactive {
  margin-block: 3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.interactive-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-soft) 52%, var(--surface)),
    var(--surface)
  );
}

.interactive-header p {
  max-width: 48rem;
  margin: 0.55rem 0 0;
  color: var(--text-muted);
}

.local-badge {
  align-self: start;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.interactive-body {
  padding: clamp(1.3rem, 4vw, 2.5rem);
}

.readiness-section {
  background:
    radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--brand-soft) 55%, transparent), transparent 28rem),
    var(--bg);
}

.bid-case-section {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.bid-case-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}

.bid-case-intro h2 {
  max-width: 18ch;
}

.bid-case-lede {
  margin: 0;
  color: var(--color-text-body);
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1.58;
}

.bid-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.bid-pillar {
  min-height: 15rem;
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-top: 0.2rem solid color-mix(in srgb, var(--brand) 48%, var(--border));
}

.bid-pillar h3 {
  margin-block: 1.25rem 0.75rem;
  font-size: 1.35rem;
}

.bid-pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.58;
}

.bid-process {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid rgb(147 218 254 / 24%);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 0%, rgb(147 218 254 / 18%), transparent 24rem),
    linear-gradient(135deg, #0f1a47, #22368f);
  box-shadow: var(--shadow-lg);
}

.bid-process .eyebrow {
  /*
   * Not --brand-orange. This panel's gradient composites up to #3654a3, where
   * #FF7403 measures 2.62:1 and fails AA for text. Sky measures 4.8:1 here.
   * The orange rule drawn by .eyebrow::before is decoration and stays orange.
   */
  color: var(--brand-sky, #93dafe);
}

.bid-process h2,
.bid-process h3 {
  color: #fff;
}

.bid-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bid-process-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.bid-process-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.bid-process-list li > span {
  /* Same gradient, same reason as .bid-process .eyebrow above. */
  color: var(--brand-sky, #93dafe);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.bid-process-list h3 {
  font-size: 1.25rem;
}

.bid-process-list p {
  margin: 0.4rem 0 0;
  color: var(--dla-blue-100, #dfe6f8);
  font-size: 1rem;
  line-height: 1.55;
}

.bid-response-block {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.bid-response-block > h2 {
  max-width: 20ch;
}

.bid-response-block > p:not(.eyebrow) {
  max-width: 62rem;
  color: var(--color-text-body);
  font-size: 1.13rem;
}

.bid-response-table {
  margin-top: 2rem;
}

.bid-response-table th[scope="row"] {
  width: 25%;
  color: var(--text);
  font-size: 1rem;
}

.readiness-brief {
  border-color: color-mix(in srgb, var(--brand) 36%, var(--border));
  box-shadow: var(--shadow-lg);
}

.readiness-brief .interactive-header {
  align-items: start;
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--accent-soft) 48%, transparent), transparent 20rem),
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 72%, var(--surface)), var(--surface));
}

.readiness-brief .interactive-header .eyebrow {
  margin-bottom: 0.85rem;
}

.readiness-brief .interactive-header h2 {
  max-width: 20ch;
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
  letter-spacing: var(--tracking-display);
}

.readiness-boundary {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-left: 0.22rem solid var(--accent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-soft) 58%, var(--surface));
}

.readiness-boundary p {
  max-width: 68rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.readiness-controls {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
}

.readiness-group {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
}

.readiness-group:first-of-type {
  padding-top: 0.4rem;
  border-top: 0;
}

.readiness-group > h3 {
  margin-bottom: 1rem;
  color: var(--brand-strong);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.readiness-confirmation {
  margin-top: 0.5rem;
}

.readiness-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

[data-copy-us-brief][hidden],
[data-download-us-brief][hidden] {
  display: none;
}

.readiness-result {
  min-height: 11rem;
}

.readiness-result .eyebrow {
  margin-bottom: 0.75rem;
}

.readiness-result h4 {
  margin-block: 1.65rem 0.7rem;
  color: var(--brand-strong);
  font-size: 1.1rem;
}

.readiness-summary {
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1fr);
  margin-block: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.readiness-summary dt,
.readiness-summary dd {
  margin: 0;
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.readiness-summary dt {
  color: var(--text);
  font-weight: 900;
}

.readiness-summary dd {
  color: var(--text-muted);
}

.readiness-summary dt:nth-last-of-type(1),
.readiness-summary dd:nth-last-of-type(1) {
  border-bottom: 0;
}

.readiness-result ul {
  display: grid;
  gap: 0.45rem;
  margin-block: 1rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.readiness-result .readiness-package {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 2rem;
}

.readiness-caveat {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 300;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.field legend {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 900;
}

.field select,
.field input,
.field textarea,
textarea.field {
  width: 100%;
  min-height: var(--control-height, 3.35rem);
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--field-radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 1px 2px color-mix(in srgb, var(--text) 5%, transparent);
  transition: border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}

.field select:focus,
.field input:focus,
.field textarea:focus,
textarea.field:focus {
  border-color: var(--brand);
  box-shadow: inset 0 1px 2px color-mix(in srgb, var(--text) 5%, transparent), var(--shadow-focus);
  outline: 0;
}

.field textarea,
textarea.field {
  min-height: 8rem;
  resize: vertical;
}

.field input[type="checkbox"],
.field input[type="radio"],
input[type="checkbox"],
input[type="radio"] {
  width: 1.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  min-height: 1.15rem;
  margin: 0.15rem 0.45rem 0 0;
  accent-color: var(--accent);
  box-shadow: none;
  vertical-align: top;
}

.result-panel {
  min-height: 7rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border));
  border-left: 0.2rem solid var(--brand);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--brand-soft) 72%, var(--surface));
}

.result-panel h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.result-panel p:last-child {
  margin-bottom: 0;
}

.stepper {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stepper-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--border);
  background: var(--bg);
}

.stepper-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
  transition: background-color var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease);
}

.stepper-tab[aria-selected="true"] {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
}

.stepper-panel {
  min-height: 18rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: var(--surface);
}

.stepper-panel[hidden] {
  display: none;
}

.report-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--border);
  box-shadow: var(--shadow-sm);
}

.synthetic-report,
.report-explanation {
  padding: clamp(1.3rem, 4vw, 2.5rem);
  background: var(--surface);
}

.synthetic-report {
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.report-block {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  text-align: left;
}

.report-block[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.table-scroll {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 48rem;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--bg);
  color: var(--text);
  font-size: 0.88rem;
}

.comparison-table button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 900;
}

.comparison-table button::after {
  content: "↕";
  color: var(--text-muted);
}

.comparison-table button[data-direction="asc"]::after {
  content: "↑";
}

.comparison-table button[data-direction="desc"]::after {
  content: "↓";
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(14rem, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.coverage-map {
  width: 100%;
  height: auto;
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--brand-sky, #93dafe) 34%, transparent);
  border-radius: var(--card-radius);
  background: var(--dla-blue-850, #101b4b);
  box-shadow: var(--shadow-lg);
}

.coverage-map a path,
.coverage-map a circle {
  fill: var(--dla-blue-600, #263a8f);
  stroke: var(--brand-sky, #93dafe);
  stroke-width: 1.5;
  transition: fill var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
  transform-box: fill-box;
  transform-origin: center;
}

.coverage-map a:hover path,
.coverage-map a:focus path,
.coverage-map a:hover circle,
.coverage-map a:focus circle {
  fill: var(--brand-orange, #ff7403);
  transform: scale(1.035);
}

.map-label {
  fill: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  pointer-events: none;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  margin: 2rem 0 0;
  padding: 0;
  background: transparent;
  list-style: none;
}

.area-grid li {
  min-height: 13rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.area-grid h3 {
  margin-block: 1rem 0.75rem;
  font-size: 1.32rem;
}

.area-grid p {
  margin: 0;
  color: var(--text-muted);
}

.coverage-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 300;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.coverage-list a:hover {
  color: var(--brand-strong);
  transform: translateX(0.2rem);
}

.coverage-list a::after {
  content: "↗";
  color: var(--accent);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 900;
  list-style: none;
  transition: color var(--duration-fast) var(--ease);
}

.faq-list summary:hover {
  color: var(--brand-strong);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--accent);
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--duration-fast) var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 50rem;
  padding: 0 3rem 1.4rem 0;
  color: var(--color-text-body, var(--text-muted));
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1.1fr) minmax(11rem, 0.48fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.article-toc,
.article-aside {
  position: sticky;
  top: 7rem;
  align-self: start;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-xs);
  font-size: 0.92rem;
}

.article-toc ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
}

.article-toc a {
  color: var(--text-muted);
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--brand-strong);
}

.article-body {
  min-width: 0;
  max-width: 46rem;
}

.article-body h2 {
  margin-block: 3.25rem 1rem;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  letter-spacing: var(--tracking-display);
}

.article-body h3 {
  margin-block: 2rem 0.75rem;
}

.article-body p,
.article-body li {
  color: var(--color-text-body, var(--text-muted));
  font-size: 1.14rem;
}

.article-body .direct-answer {
  color: var(--text);
  font-size: 1.3rem;
}

.source-list {
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 8rem);
}

.contact-routes {
  display: grid;
  gap: 0.75rem;
  border: 0;
  background: transparent;
}

.contact-route {
  display: block;
  position: relative;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

a.contact-route:hover,
a.contact-route:focus-visible,
button.contact-route:hover,
button.contact-route:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 68%, var(--border));
  background: color-mix(in srgb, var(--brand-soft) 44%, var(--surface));
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transform: translateY(-0.08rem);
}

button.contact-route {
  width: 100%;
  font: inherit;
  text-align: left;
}

.contact-route.is-selected,
.contact-route[aria-current="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 46%, var(--surface));
  box-shadow: inset 0.22rem 0 var(--accent);
}

.contact-route h3 {
  margin-bottom: 0.45rem;
  color: inherit;
  font-size: 1.05rem;
}

.contact-route p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  padding: clamp(1.3rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.contact-form > h2,
.scope-brief-title {
  max-width: 18ch;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.scope-brief-intro {
  max-width: 62ch;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.scope-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.scope-brief-boundary {
  margin-block: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-left: 0.22rem solid var(--accent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-soft) 46%, var(--surface));
  color: var(--text-muted);
}

.scope-brief-boundary p:last-child {
  margin-bottom: 0;
}

.confirmation-check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-soft) 42%, var(--surface));
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.5;
}

.confirmation-check input {
  flex: 0 0 auto;
}

.scope-actions,
.scope-brief-actions,
.contact-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.scope-preview,
.scope-brief-preview,
textarea.scope-brief-preview,
.brief-preview,
[data-form-preview],
[data-brief-preview] {
  width: 100%;
  min-height: 12rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--field-radius);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.55;
  resize: vertical;
}

[data-download-brief][hidden] {
  display: none;
}

.form-status {
  min-height: 1.5rem;
  color: var(--brand-strong);
  font-weight: 900;
}

.related-section {
  background: color-mix(in srgb, var(--surface-raised) 64%, var(--surface));
}

.related-title {
  max-width: 18ch;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  border: 0;
  background: transparent;
}

.related-links a {
  min-height: 7.5rem;
  padding: 1.4rem 1rem 1.4rem 0;
  border: 0;
  border-top: 2px solid color-mix(in srgb, var(--brand) 28%, var(--border));
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  box-shadow: none;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    background-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-base) var(--ease);
}

.related-links a:hover,
.related-links a:focus-visible {
  border-color: var(--accent);
  background: transparent;
  transform: translateY(-0.12rem);
  box-shadow: none;
}

.changelog {
  padding-block: 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer {
  padding-block: clamp(3rem, 7vw, 6rem) 2rem;
  background:
    radial-gradient(circle at 12% 0%, rgb(147 218 254 / 15%), transparent 34rem),
    linear-gradient(145deg, #070c20, #16255f);
  color: #c7d2ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1.1fr) repeat(3, minmax(8rem, 0.65fr));
  gap: 2rem;
}

.footer-brand img {
  width: min(13rem, 100%);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  max-width: 32rem;
}

/*
 * Footer navigation labels.
 *
 * These were set in Geist Mono, which BRAND.md restricts to tabular and code
 * like accents. Three navigation headings on all 113 pages made it the most
 * repeated non-brand text on the site. Gotham Black at this size with open
 * tracking already reads as a small caps label, so the brand face does the job.
 *
 * They were also <h2>, which put four h2 elements in every footer competing
 * with each page's real headings. They are now <p> with the list labelled by
 * them, so the document outline belongs to the content again.
 */
.footer-column-title {
  margin: 0 0 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #dbe6eb;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #a9bbc5;
  font-size: 0.88rem;
}

/*
 * Mid desktop, 1216 px to 1536 px.
 *
 * Above 76rem the full desktop navigation and the CTA are both visible. Spanish
 * navigation labels and the Spanish CTA are longer than the English ones, and
 * the CTA does not wrap, so this range is where the header runs out of room.
 * The JavaScript-disabled reflow gate caught it on /es/tecnologia/ at 1280 px
 * with 38 px of horizontal overflow. Tightening the gaps and the CTA here
 * recovers roughly 90 px, which clears both languages with margin.
 */
@media (min-width: 76.0625rem) and (max-width: 96rem) {
  .header-inner {
    gap: 1rem;
  }

  .nav-list {
    gap: clamp(0.1rem, 0.35vw, 0.35rem);
  }

  .nav-list > li > a,
  .nav-list summary {
    padding: 0.48rem 0.42rem;
    font-size: 0.94rem;
  }

  .header-cta {
    padding: 0.62rem 0.78rem;
    font-size: 0.86rem;
  }

  .header-actions {
    gap: 0.5rem;
  }
}

@media (max-width: 76rem) {
  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero-grid {
    grid-template-columns: minmax(21rem, 0.95fr) minmax(23rem, 1.05fr);
  }

  .slice-stage {
    width: min(54vw, 44rem);
    margin-left: -2.5rem;
  }

  .mobile-nav {
    display: block;
    justify-self: end;
  }

  .mobile-nav > summary {
    display: inline-flex;
    min-width: var(--tap-target);
    min-height: var(--tap-target);
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    list-style: none;
  }

  .mobile-nav > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu {
    position: absolute;
    inset: calc(100% + 1px) 0 auto;
    max-height: calc(100svh - 5rem);
    overflow: auto;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow-lg);
  }

  .mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-menu a {
    display: block;
    padding: 0.82rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-menu .mobile-child a {
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 0.98rem;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.35fr);
  }

  .article-toc {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 0.7fr);
  }
}

@media (max-width: 48rem) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }

  .header-inner {
    min-height: 4.85rem;
    gap: 0.5rem;
  }

  .brand-link {
    gap: 0.5rem;
    font-size: 1rem;
  }

  .language-link,
  .icon-button,
  .mobile-nav > summary {
    min-width: var(--tap-target);
    min-height: var(--tap-target);
  }

  .hero {
    min-height: auto;
    padding-block: 3.75rem 4.25rem;
  }

  .hero-grid,
  .page-hero-grid,
  .section-grid,
  .coverage-layout,
  .contact-layout,
  .report-viewer,
  .bid-case-intro,
  .bid-process,
  .stepper {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-areas:
      "kicker"
      "summary"
      "media";
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .bid-pillar-grid {
    grid-template-columns: 1fr;
  }

  .readiness-summary,
  .readiness-result .readiness-package {
    grid-template-columns: 1fr;
  }

  .readiness-summary dt {
    padding-bottom: 0.2rem;
    border-bottom: 0;
  }

  .readiness-summary dd {
    padding-top: 0.2rem;
  }

  .bid-pillar {
    min-height: auto;
  }

  .slice-stage {
    width: min(100%, 30rem);
    justify-self: center;
    margin-left: 0;
  }

  .page-hero {
    padding-block: 3.5rem 3.25rem;
  }

  .page-hero::after {
    inset: auto -7rem -8rem auto;
    width: 20rem;
  }

  .hero h1,
  .page-hero h1,
  html[lang^="es"] .page-hero h1,
  .kind-article .page-hero h1 {
    max-width: 19ch;
    font-size: clamp(2.65rem, 10vw, 3.85rem);
  }

  .hero-grid {
    gap: 2rem;
  }

  .page-hero-grid {
    gap: 2rem;
  }

  .hero-kicker,
  .hero-summary {
    padding-block: 0;
    padding-right: 0;
  }

  .hero-proof {
    display: grid;
    gap: 0.65rem;
  }

  .content-section {
    padding-block: clamp(3.5rem, 12vw, 5rem);
  }

  .section-heading {
    position: static;
  }

  .facts-list {
    grid-template-columns: 1fr;
  }

  .facts-list li {
    min-height: auto;
    border: 0;
    border-top: 1px solid rgb(255 255 255 / 20%);
  }

  .facts-list li:first-child {
    border-top: 0;
  }

  .kind-expansion .facts-list li {
    border-color: var(--border);
  }

  .stepper-tabs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scroll-snap-type: inline proximity;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stepper-tab {
    min-width: min(76vw, 15rem);
    flex: 0 0 auto;
    border-right: 1px solid var(--border);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .scope-brief-grid {
    grid-template-columns: 1fr;
  }

  .scope-actions,
  .scope-brief-actions,
  .contact-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .scope-actions .button,
  .scope-brief-actions .button,
  .contact-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    order: 2;
  }

  .related-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 25rem) {
  .hero h1,
  .page-hero h1,
  html[lang^="es"] .page-hero h1,
  .kind-article .page-hero h1 {
    font-size: clamp(2.25rem, 11.5vw, 2.65rem);
  }

  .header-actions {
    gap: 0.18rem;
  }

  .brand-link {
    font-size: 0.86rem;
  }

  .interactive-header {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 30rem) {
  .hero-actions,
  .section-actions {
    display: grid;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .hero-actions,
  .section-actions,
  .interactive {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .page-hero,
  .content-section {
    padding-block: 1.5rem;
  }

  a {
    color: inherit;
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 180ms;
}
