/* =============================================================================
   Blue Obsidian Solutions — NASA SEWP VI Contract Holder page
   assets/css/site.css — the whole design system. No framework, no build step.

   AESTHETIC: this page is one part of blueobsidian.solutions and is styled
   in that site's idiom so a visitor arriving from it sees the same company:
   a deep navy header carrying the lockup and the corporate menu, condensed
   uppercase display headings (Bebas Neue), Montserrat body, yellow pill
   buttons, white content sections with a light grey band, a navy footer.
   The content follows the NASA SEWP PMO's example of a Contract Holder site:
   the identity, a fact sheet (contract record beside program contacts, the
   PMO's own details beneath), then one disclosure per remaining §A.5.1
   surface. A contracting officer is here to find a phone number.

   LAYOUT RULE. Inside a fact card, every ruled label/value component decides
   its own shape from the width of the card (container queries), not from the
   viewport: a narrow card stacks the label over the value; a wide card sets
   them side by side. Rows in the disclosure bodies span the full sheet and
   keep the viewport rule.

   COLOUR PROVENANCE — read before adding a colour.
   --brand-* values are quoted verbatim from the measured brand record
   (brand/brand-guidelines.md, MEASURED-PROVISIONAL). --corp-* values were
   read on 2026-09-15 from the live corporate site's theme
   (blueobsidian.solutions, Squarespace site.css): accent
   hsl(50.24 99.19% 51.37%) = #fed608, identical to --brand-yellow;
   darkAccent hsl(233.18 52.38% 16.47%) = #141940; "black" hsl(0 0% 35%) =
   #595959. Every other value is a UI neutral derived for this site. The
   measured brand navy (--brand-navy #2b3488) is kept for provenance and is
   currently unused: the corporate site sets its chrome in --corp-navy.

   Contrast (WCAG 2.1, computed), binding:
     - white on --corp-navy .............. 16.9:1  PASS
     - --brand-yellow on --corp-navy ..... 11.9:1  PASS  (yellow AS text is
                                                          legal on navy only)
     - --corp-navy on --brand-yellow ..... 11.9:1  PASS  (pill buttons)
     - --ink #333 on white ............... 12.6:1  PASS
     - --ink-soft #595959 on white ........ 7.0:1  PASS
     - --ink #333 on --grey #d8d8d8 ....... 8.9:1  PASS
     - --corp-navy on --grey ............. 11.9:1  PASS
     - --on-dark-soft on --corp-navy ..... 10.7:1  PASS
     - yellow on white .................... 1.4:1  FAIL — never, at any size.
   ========================================================================== */

/* ----------------------------------------------------------------- 0. fonts */

/* Self-hosted, latin subset, woff2 only; provenance, hashes and the OFL
   text are in assets/fonts/LICENSE.md. The page makes no cross-origin
   request, so the CSP allows font-src 'self' and nothing else.
   src/_layout.html preloads both files by ROOT-ABSOLUTE href. The build
   leaves that href unstamped, and it resolves to the same URL as the
   url() below. If the two ever differ, the browser downloads each font
   twice. The upstream version in the filename is the cache key (nginx serves
   .woff2 immutable for a year): a new download gets a new name, here and
   in the preloads. */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-v16-latin-400.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;
}

/* One variable file carries every weight the page sets (400, 500, 600,
   700). The declared range spans exactly those weights. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/montserrat-v31-latin-wght.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;
}

/* ---------------------------------------------------------------- 1. tokens */

:root {
  /* --- brand, verbatim from the measured record. Do not invent siblings. --- */
  --brand-navy: #2b3488;
  --brand-yellow: #fed608;
  --brand-yellow-mid: #ecc618;
  --brand-blue-pale: #bfe4f3;
  --brand-ink: #333333;

  /* --- corporate site theme, read from blueobsidian.solutions ------------ */
  --corp-navy: #141940;            /* header, hero, dark sections, footer     */
  --corp-navy-deep: #0d1130;       /* footer field, one step deeper           */
  --corp-grey: #d8d8d8;            /* the light grey section                  */
  --corp-black: #595959;           /* paragraph colour on the corporate site  */

  /* --- UI neutrals derived for this site ---------------------------------- */
  --white: #ffffff;
  --paper: #ffffff;
  --paper-2: #f4f4f4;              /* recessed field for open disclosures     */
  --line: #e2e2e2;
  --line-strong: #bdbdbd;
  --line-dark: rgb(255 255 255 / 0.18);

  --ink: var(--brand-ink);
  --ink-soft: var(--corp-black);
  --on-dark: #ffffff;
  --on-dark-soft: #c9cce6;         /* 10.7:1 on --corp-navy                    */

  --danger: #8c1d18;

  /* --- type --------------------------------------------------------------- */
  /* Bebas Neue: the corporate display face, condensed, uppercase by design.
     Montserrat: the corporate body face. Each degrades to an OS face. */
  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-h1: clamp(3rem, 2rem + 4vw, 5rem);
  --t-h2: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  --t-h3: 1.35rem;
  --t-summary: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --t-body: 0.9375rem;
  --t-small: 0.875rem;
  --t-micro: 0.72rem;

  /* --- space -------------------------------------------------------------- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  --measure: 66ch;
  --label-col: 10rem;
  --shell: 1280px;
  --shell-pad: clamp(1rem, 0.5rem + 2vw, 2.5rem);

  --pill: 999px;
  --ring: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* The sticky header's height: the compact bar on narrow viewports, the
     tall one on wide (set below); anchors and the hero offset by it. */
  --bar-h: 4rem;
}
@media (min-width: 64rem) {
  :root { --bar-h: 7rem; }
}

/* --------------------------------------------------------------- 2. reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 1rem);   /* anchors land below the sticky header */
}

/* Anchors jump, they do not glide. Smooth scrolling was here until
   2026-09-27: in at least one Chrome profile every smooth scroll, native
   or scripted, was cancelled before it moved, so anchor links and the
   focus-scroll under the sticky header silently did nothing. An instant
   jump works everywhere and is what reduced-motion users get anyway. */

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;                /* Bebas Neue has one weight */
  line-height: 1.05;
  letter-spacing: 0.02em;          /* the corporate heading tracking */
  text-transform: uppercase;
  margin: 0;
  color: var(--corp-navy);
  overflow-wrap: anywhere;
}

p, ul, ol, dl, figure { margin: 0; }
dd { margin: 0; }

a { color: var(--corp-navy); text-underline-offset: 0.16em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: var(--ring) solid var(--corp-navy);
  outline-offset: 2px;
}

::selection { background: var(--brand-yellow); color: var(--corp-navy); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ------------------------------------------------------------- 3. utility */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.nowrap { white-space: nowrap; }

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

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100%;
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--brand-yellow);
  color: var(--corp-navy);
  font-weight: 700;
  font-size: var(--t-small);
  text-decoration: none;
  border-radius: var(--pill);
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: var(--s-4); }

/* --- buttons: the corporate pill --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.btn--primary {
  background: var(--brand-yellow);
  color: var(--corp-navy);         /* 11.9:1 */
  border: 2px solid var(--brand-yellow);
}
.btn--primary:hover { background: var(--brand-yellow-mid); border-color: var(--brand-yellow-mid); text-decoration: underline; }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgb(255 255 255 / 0.7);
}
.btn--ghost:hover { border-color: var(--white); text-decoration: underline; }

/* --------------------------------------------------------- 4. page chrome */

/* The header, as on the corporate site: deep navy, the lockup at left, the
   corporate menu beside it, Contact Us as a yellow pill at right. Sticky at
   the top on every viewport: tall on a wide one, a compact bar with a Menu
   button on a narrow one. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--corp-navy);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);   /* parts the header from the hero */
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--bar-h);
}

/* The lockup: the decorative mark (alt="") beside the name set in the
   display face — BLUE OBSIDIAN over a tracked SOLUTIONS — so the link text
   carries the company name. Story 9.1 rule. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}
.brand__mark { width: auto; height: 2.5rem; }
.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.brand:hover .brand__name { text-decoration: underline; text-underline-offset: 0.12em; }

/* --- primary navigation --- */
.nav { display: flex; align-items: center; flex: 1 1 auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  padding: var(--s-3) var(--s-3);
  min-height: 2.75rem;
  color: var(--white);             /* 16.9:1 */
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.nav__link[aria-current] { text-decoration: underline; text-underline-offset: 0.3em; }
.nav__cta { margin-left: auto; }

.nav__toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  color: var(--white);
  border: 0;
  cursor: pointer;
}
.nav__toggle-bars {
  display: block;
  position: relative;
  width: 1.5rem; height: 2px;
  background: currentColor;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0; height: 2px;
  background: currentColor;
}
.nav__toggle-bars::before { top: -7px; }
.nav__toggle-bars::after { top: 7px; }

.topbar :focus-visible,
.hero :focus-visible { outline-color: var(--brand-yellow); }   /* 11.9:1 on navy */

@media (min-width: 64rem) {
  .topbar__inner { gap: var(--s-6); }   /* min-height comes from --bar-h */
  .brand__mark { height: 3.75rem; }
  .brand__name { font-size: 2.1rem; }
  .brand__sub { font-size: 0.68rem; }
  .nav__link { font-size: 1.25rem; }
}

/* Narrow viewports. WITHOUT JavaScript the menu stacks below the bar,
   always visible, and the bar does not stick (it would cover the page). WITH JavaScript the list
   collapses behind the Menu button. The collapse keys on `html.js-nav`,
   which site.js itself sets as its first act: if the script is blocked or
   fails to load, the class is never set and the menu stays open and
   reachable. (`html.js` from the inline head script is not used here for
   exactly that reason.) */
@media (max-width: 63.9375rem) {
  .topbar__inner { flex-wrap: wrap; gap: var(--s-3); }

  .nav { display: block; width: 100%; border-top: 1px solid var(--line-dark); padding-bottom: var(--s-4); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: var(--s-3) var(--s-2); border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav__cta { display: flex; margin: var(--s-4) 0 0; }

  html:not(.js-nav) .topbar { position: static; }

  .js-nav .nav__toggle { display: inline-flex; }
  .js-nav .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    width: auto;
    background: var(--corp-navy);
    padding: var(--s-2) var(--shell-pad) var(--s-5);
    max-height: calc(100vh - 5rem);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    box-shadow: 0 12px 24px rgb(0 0 0 / 0.25);
  }
  .js-nav .nav[data-open="true"] { display: block; }
}

@media (max-width: 26.25rem) {
  .brand__mark { height: 2.1rem; }
  .brand__name { font-size: 1.35rem; }
  .brand__sub { font-size: 0.5rem; letter-spacing: 0.28em; }
}

/* ---------------------------------------------------------------- 5. hero */

/* Full-bleed navy, centred, in the corporate page-hero idiom: the badge,
   an eyebrow in yellow, the name in the display face, the two facts a
   contracting officer checks first, the one-paragraph purpose, two pills. */
.hero {
  display: flex;
  align-items: center;             /* content sits in the vertical middle */
  background: var(--corp-navy);
  color: var(--on-dark);
  padding-block: var(--s-7) var(--s-8);
  text-align: center;
  /* Fills the viewport below the sticky header: the compact bar on a
     narrow viewport, the tall one on a wide one (each plus its 1px rule).
     Minimum, not fixed: a short screen still gets all of it. svh keeps the height stable against a phone's URL-bar dance. */
  min-height: calc(100vh - var(--bar-h) - 1px);
  min-height: calc(100svh - var(--bar-h) - 1px);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__badge {
  width: 100%;
  max-width: 21rem;
  background: var(--white);
  border: 1px solid rgb(255 255 255 / 0.25);
  margin-bottom: var(--s-6);
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-yellow);      /* 11.9:1 */
}
.hero h1 {
  color: var(--white);
  font-size: var(--t-h1);
  margin-top: var(--s-1);
}
.hero__meta {
  margin-top: var(--s-4);
  font-size: var(--t-body);
  font-weight: 500;
  color: var(--white);
}
.hero__lede {
  margin-top: var(--s-5);
  max-width: 62ch;
  font-size: 1.05rem;
  color: var(--on-dark-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
/* On a phone the whole hero should sit inside one screen: a smaller badge,
   a tighter lede, and the two pills compact and side by side. */
@media (max-width: 40rem) {
  .hero { padding-block: var(--s-6); }
  .hero__badge { max-width: 18rem; margin-bottom: var(--s-5); }
  .hero__meta { margin-top: var(--s-3); font-size: var(--t-small); }
  .hero__lede { margin-top: var(--s-4); font-size: var(--t-body); }
  .hero__actions { margin-top: var(--s-5); gap: var(--s-2); }
  .hero__actions .btn { min-height: 2.5rem; padding: 0.55rem 1.1rem; font-size: 0.78rem; }
}
@media (min-width: 64rem) {
  .hero {
    padding-block: var(--s-8);
    min-height: calc(100vh - var(--bar-h) - 1px);
    min-height: calc(100svh - var(--bar-h) - 1px);
  }
  .hero__badge { max-width: 26rem; }
}

/* ------------------------------------------------------------- 6. the sheet */

/* The fact sheet: the contract record beside the program contacts as two
   cards, then the PMO's own details as a light grey band. Below 64rem it
   is one column in reading order (the band's tiles go two-up from 40rem).
   Then one native <details> disclosure per remaining surface. */
.page { padding-block: var(--s-8); }
.page > * + * { margin-top: var(--s-8); }

.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
}
@media (min-width: 64rem) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6);
    align-items: start;
  }
  .fact--band { grid-column: 1 / -1; }
}
.fact {
  min-width: 0;
  container-type: inline-size;
  container-name: fact;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--corp-navy);
  padding: var(--s-5) var(--s-5) var(--s-6);
}
@media (min-width: 64rem) {
  .fact { padding: var(--s-6) var(--s-7) var(--s-7); }
}
.fact > h2 {
  font-size: var(--t-h2);
  margin-bottom: var(--s-4);
}
.fact .kv { border-top: 0; }
.fact .kv > dt,
.fact .kv > dd { border-bottom: 1px solid var(--line); }
.fact .contact-card { padding-block: var(--s-3); }
.fact > p { font-size: var(--t-small); color: var(--ink-soft); }

/* --- disclosures --- */
.acc { border-top: 4px solid var(--corp-navy); }
.acc > section { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 4rem;
  padding: var(--s-4) var(--s-3);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary h2 { font-size: var(--t-summary); }
.acc summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--pill);
  background: var(--brand-yellow);
  color: var(--corp-navy);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}
.acc details[open] > summary::after { content: "\2212"; }
/* The glyph is decorative; keep it out of the summary's accessible name
   where the alt-text syntax is supported (older engines keep the plain
   glyph rather than lose the control's affordance). */
@supports (content: "a" / "b") {
  .acc summary::after { content: "+" / ""; }
  .acc details[open] > summary::after { content: "\2212" / ""; }
}
.acc summary:hover h2 { text-decoration: underline; text-underline-offset: 0.15em; }
.acc details[open] > summary { background: var(--paper-2); }
.acc summary:focus-visible { outline-offset: -3px; }
.acc__body { padding: var(--s-4) var(--s-3) var(--s-7); }
@media (min-width: 64rem) {
  .acc summary { padding-inline: var(--s-5); }
  .acc__body { padding-inline: var(--s-5); }
}

/* --- section headings --- */
section h3 {
  font-size: var(--t-h3);
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
}

/* --- running text --- */
section p + p,
section p + ul,
section p + ol,
section p + dl,
section ul + p,
section ol + p,
section dl + p,
section ul + h3,
section dl + h3,
section div + p,
section div + h3 { margin-top: var(--s-3); }
section ul,
section ol { padding-left: 1.25em; }
section li + li { margin-top: var(--s-2); }
section li strong { font-weight: 700; color: var(--corp-navy); }
section p { max-width: var(--measure); }

/* ------------------------------------------------------- 7. key/value rows */

/* A label column and a value column, ruled. Labels are small Montserrat
   caps, as the corporate site sets its own labels. */
.kv {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
}
.kv > dt {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: var(--s-2) 0 0;
}
.kv > dd {
  padding: var(--s-1) 0 var(--s-2);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 30rem) {
  .kv { grid-template-columns: var(--label-col) minmax(0, 1fr); }
  .kv > dt { padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .kv > dd { padding: var(--s-3) 0; }
}
/* Inside a fact card the shape follows the card, not the viewport. Browsers
   without container queries keep the viewport rule above. */
@container fact (max-width: 29.9375rem) {
  .kv { grid-template-columns: minmax(0, 1fr); }
  .fact .kv > dt { padding: var(--s-2) 0 0; border-bottom: 0; }
  .fact .kv > dd { padding: var(--s-1) 0 var(--s-2); }
}
.kv a,
.contact-card dd a {
  display: inline-block;
  padding-block: var(--s-1);   /* ≥ 24px target, WCAG 2.2 2.5.8 */
}

/* --------------------------------------------------------- 8. contact rows */

/* A named person is one ruled row: role at left; name, scope and the
   phone/email pairs at right. The class names are the content's. */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--s-4);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
}
.contact-card + .contact-card { margin-top: 0; }
.contact-card:last-of-type { border-bottom: 1px solid var(--line); }
.contact-card__role {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.2rem;
}
.contact-card__name {
  font-size: var(--t-body);
  font-weight: 700;
  color: var(--corp-navy);
  line-height: 1.3;
}
.contact-card__scope {
  color: var(--ink-soft);
  margin-top: var(--s-1);
}
.contact-card dl {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: var(--s-1) var(--s-2);
  margin-top: var(--s-2);
  align-items: baseline;
}
.contact-card dt {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-card dd { font-size: var(--t-small); font-weight: 500; }
@media (min-width: 30rem) {
  .contact-card { grid-template-columns: var(--label-col) minmax(0, 1fr); }
  .contact-card__role { grid-row: 1 / span 3; }
}
@container fact (max-width: 29.9375rem) {
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .contact-card__role { grid-row: auto; }
}
section h3 + .contact-card,
section p + .contact-card { margin-top: var(--s-2); }
section .contact-card + p { margin-top: var(--s-3); }
section ol > li > .contact-card { margin-top: var(--s-1); margin-bottom: var(--s-2); }

/* ------------------------------------------------------- 9. the PMO band */

/* #sewp-pmo. The corporate site's light grey section: the program office's
   information, set apart from ours. Six tiles, label over value: one per
   row on a phone, two from 40rem, and beside the heading and the
   delivery-order note from 64rem: still two-up there, three-up only from
   74rem, where a tile is wide enough for sewporders@sewp.nasa.gov to sit
   on one line (at 64rem a third of the band is ~150px and the address
   split mid-word). In the markup the note precedes the list, so a
   screen reader hears the instruction first. This block sits after §7 and
   §8 on purpose: `.kv--tiles` overrides `.kv` at equal specificity. */
.fact--band {
  background: var(--corp-grey);
  border: 0;
}
.kv--tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--s-6);
  border-top: 0;
}
.kv--tiles > div {
  min-width: 0;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line-strong);
}
.kv--tiles dt {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--corp-navy);
}
.kv--tiles dd { margin-top: var(--s-1); color: var(--ink); }
.fact--band > p { color: var(--ink); }
.fact--band > p + .kv--tiles { margin-top: var(--s-4); }
@media (min-width: 40rem) {
  .kv--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .fact--band {
    display: grid;
    grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
    column-gap: var(--s-8);
    align-items: start;
  }
  .fact--band > h2 { grid-column: 1; margin-bottom: var(--s-3); }
  .fact--band > p { grid-column: 1; max-width: none; }
  .fact--band > .kv--tiles {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fact--band > p + .kv--tiles { margin-top: 0; }
}
@media (min-width: 74rem) {
  .fact--band > .kv--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --------------------------------------------------- 10. cited / verbatim */

/* Verbatim contract text, ruled and attributed, so quoted clause text can
   never be mistaken for our own summary of it. */
.verbatim {
  margin: 0;
  padding: var(--s-5) var(--s-6);
  background: var(--paper-2);
  border-left: 4px solid var(--brand-yellow);
}
.verbatim p,
.verbatim ol,
.verbatim ul {
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink);
  max-width: var(--measure);
}
.verbatim p + p,
.verbatim p + ol,
.verbatim ol + p { margin-top: var(--s-3); }
.verbatim ol { padding-left: 1.4em; }
.verbatim li + li { margin-top: var(--s-1); }
.verbatim figcaption {
  display: block;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-strong);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink-soft);
}
@media (max-width: 40rem) {
  .verbatim { padding: var(--s-4) var(--s-4); }
}

/* -------------------------------------------------------- 11. placeholder */

/* Every value the Program Manager still owes. Deliberately loud: an
   unfilled contract fact must never reach production quietly.
   tools/check-content.py --release fails while any remain. */
.pending {
  display: inline;
  font-size: 0.92em;
  font-weight: 600;
  color: var(--danger);
  background: repeating-linear-gradient(
    -45deg, #fdf3f2 0 6px, #fbe9e7 6px 12px
  );
  border-bottom: 2px dotted var(--danger);
  padding: 0.05em 0.35em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.pending::after {
  content: " [PENDING]";
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hero .pending,
.foot .pending {
  color: #ffd7d3;
  background: rgb(255 120 105 / 0.16);
  border-bottom-color: #ff9d92;
}

/* ------------------------------------------------------------- 12. footer */

.foot {
  background: var(--corp-navy-deep);
  color: var(--on-dark-soft);
  padding-block: var(--s-7);
  font-size: var(--t-small);
}
.foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
}
.brand--foot { align-self: start; }
.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-5);
}
.foot__links a {
  display: inline-block;
  padding-block: var(--s-2);
  color: var(--white);
  font-weight: 500;
}
.foot__notice { color: var(--white); font-weight: 600; }
.foot__legal { font-size: var(--t-micro); letter-spacing: 0.04em; }
.foot :focus-visible { outline-color: var(--brand-yellow); }
@media (min-width: 64rem) {
  .foot__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: var(--s-8);
    row-gap: var(--s-3);
    align-items: center;
  }
  .brand--foot { grid-row: 1 / span 3; }
}

/* -------------------------------------------------------------- 13. print */

@media print {
  .topbar, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .hero { background: none; color: #000; padding-block: 0 var(--s-5); text-align: left; min-height: 0; }
  .hero__inner { align-items: flex-start; }
  .hero h1, .hero__eyebrow, .hero__meta, .hero__lede { color: #000; }
  .hero__actions { display: none; }
  .page { padding-bottom: 0; }
  .facts { display: block; }
  .facts > .fact + .fact { margin-top: var(--s-4); }
  .fact--band { display: block; background: none; border: 1px solid #999; }
  .kv--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv--tiles > div { border-color: #999; }
  .acc summary::after { display: none; }
  section { break-inside: avoid-page; }
  .verbatim, .contact-card { break-inside: avoid; border-color: #999; }
  .foot { background: #fff !important; color: #000 !important; border-top: 1px solid #000; }
  .foot a, .foot__notice, .brand { color: #000 !important; }
  .foot .pending, .hero .pending { color: #000; background: none; border-bottom: 1px dotted #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}

/* ------------------------------------------------- 14. forced colours a11y */

@media (forced-colors: active) {
  .topbar, .hero, .foot { border-bottom: 1px solid CanvasText; }
  .fact, .acc, .acc > section, .acc summary::after, .kv--tiles > div, .fact--band { border: 1px solid CanvasText; }
  .verbatim, .contact-card, .kv > dd, .kv > dt, .hero__badge { border-color: CanvasText; }
  .nav__toggle { border: 1px solid ButtonText; }
  /* The bars are drawn with background, which forced colours repaint to
     Canvas: without this the Menu button is an empty box. */
  .nav__toggle-bars,
  .nav__toggle-bars::before,
  .nav__toggle-bars::after { forced-color-adjust: none; background: ButtonText; }
  .nav__link[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; }
  .btn, .skip-link { border: 1px solid ButtonText; }
  /* Listed at the specificity of the §11 hero/footer overrides, or those win
     and set pale pink on a light Canvas. */
  .pending,
  .hero .pending,
  .foot .pending { border-bottom: 2px dotted LinkText; forced-color-adjust: none; color: LinkText; background: Canvas; }
}

/* --- download links --- */
/* Decorative tray-and-arrow glyph before every link that saves a file. Drawn
   as a mask so it takes the link colour, including on hover and in forced
   colours. Pseudo-element with empty content, so screen readers skip it;
   the link text already says what is downloaded. */
a[download]::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35em;
  vertical-align: -0.15em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0-5-5m5 5 5-5M4 17v3h16v-3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0-5-5m5 5 5-5M4 17v3h16v-3'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (forced-colors: active) {
  a[download]::before { forced-color-adjust: none; background: LinkText; }
}

/* ------------------------------------------------------------- 404 page */

.notfound {
  max-width: var(--measure);
  padding: var(--s-8) var(--shell-pad);
  margin-inline: auto;
}
.notfound h1 { font-size: var(--t-h2); }
.notfound ul { padding-left: 1.25em; }
.notfound p + ul, .notfound ul + p { margin-top: var(--s-4); }
.notfound li + li { margin-top: var(--s-1); }
.eyebrow {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
