/* NOF one-page site, direction B: "Navy institutional".
   Deep navy hero and footer, white body sections, NOF blue only as accent.
   Type: IBM Plex Sans (400, 500) for text, IBM Plex Mono (400) for small labels and indices.
   Five sizes only: display, h2, h3, body, label.
   Grid: one 12-column grid with zero column gap, so every hairline lands on a column boundary;
   text blocks keep their gutter with padding instead. Spacing scale: 8 16 24 32 48 64 96. */

:root {
  --navy: #0b1f33;
  --navy-2: #163452;
  --ink: #0b1f33;
  --muted: #4c5f73;
  --soft: #7d8ea0;
  --line: rgba(11, 31, 51, 0.13);
  --line-2: rgba(11, 31, 51, 0.26);
  --tint: #f3f6f9;
  --blue: #00b7ff;
  --blue-ink: #0070a8;

  --d-muted: #a7b8ca;
  --d-soft: #7f95ab;
  --d-line: rgba(255, 255, 255, 0.14);
  --d-line-2: rgba(255, 255, 255, 0.3);

  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --fs-1: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
  --fs-2: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  --fs-3: 1.25rem;
  --fs-4: 1rem;
  --fs-5: 0.8125rem;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  --wrap: 1280px;
  --pad: 16px;
  --hdr: 64px;
  --tile: 44px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-hover: .35s;
}
@media (min-width: 720px) {
  :root { --pad: 32px; --hdr: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 var(--fs-4)/1.65 var(--sans);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.b-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.b-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.b-grid > * { grid-column: 1 / -1; }

/* ---------- Icons and tiles ---------- */
.b-ic { width: 20px; height: 20px; flex: none; display: block; }
.b-tile {
  width: var(--tile); height: var(--tile); flex: none;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--navy); background: #fff;
  transition: background-color .25s, border-color .25s, color .25s;
}
.b-tile.is-dark { border-color: var(--d-line-2); color: var(--blue); background: transparent; }

/* ---------- Type ---------- */
.b-display, .b-h2, .b-h3, .b-footer-brand, .b-stat-val, .b-year, .b-brand { font-weight: 500; }
.b-display { font-size: var(--fs-1); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.b-h2 { font-size: var(--fs-2); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.b-h3 { font-size: var(--fs-3); line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
.b-display .b-soft, .b-h2 .b-soft { display: block; }
.b-soft { color: var(--soft); }
.b-kicker, .b-label, .b-step-no, .b-reg-head, .b-reg-no, .b-gal-no, .b-list-no, .b-new, .b-field label,
.b-hero-media figcaption, .b-footer-bottom {
  font-family: var(--mono); font-size: var(--fs-5); font-weight: 400;
  line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase;
}
.b-kicker { display: flex; align-items: center; gap: var(--s2); color: var(--muted); }
.b-num { color: var(--blue-ink); }
.b-label { display: block; color: var(--muted); }

/* ---------- Buttons ---------- */
.b-btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 var(--s3);
  font: 500 var(--fs-4)/1 var(--sans);
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  position: relative; isolation: isolate; overflow: hidden;
  transition: color .25s, border-color .35s, background-color .3s;
}
/* Low contrast fills (ghost, navy) sweep in from the left and leave to the right.
   The bright blue button crossfades instead, so no hard white edge ever crosses it. */
.b-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, transparent);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--ease);
}
.b-btn .b-ic { transition: transform var(--t-hover) var(--ease); }
.b-btn-blue { background: var(--blue); border-color: var(--blue); color: var(--navy); }
.b-btn-ghost { border-color: var(--d-line-2); color: #fff; --fill: rgba(255, 255, 255, 0.07); }
.b-btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; --fill: var(--navy-2); }
/* Hover only where a real pointer hovers, so a tap on a phone never leaves a button filled */
@media (hover: hover) and (pointer: fine) {
  .b-btn:hover::before { transform: scaleX(1); transform-origin: left center; }
  .b-btn:hover .b-ic:last-child { transform: translateX(4px); }
  .b-btn-blue:hover { background: #fff; border-color: #fff; }
  .b-btn-ghost:hover { border-color: #fff; }
  .b-btn-ghost:hover .b-ic:last-child { transform: none; }
  .b-btn-ghost:hover .b-ic:first-child { transform: translateY(-2px); }
  .b-btn-navy:hover { border-color: var(--navy-2); transition-delay: 0s, .12s, 0s; }
  .b-btn-navy:active::before { transition-duration: .2s; }
}

/* ---------- Header ---------- */
.b-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  border-bottom: 1px solid var(--d-line);
  transition: border-color .4s var(--ease);
}
/* Once the page has scrolled, the header's own hairline firms up; no shadow, nothing moves */
.b-header.is-scrolled { border-bottom-color: var(--d-line-2); }
.b-nav-ind { display: none; }
.b-header-row { display: flex; align-items: center; gap: var(--s4); height: var(--hdr); }
.b-brand { font-size: var(--fs-4); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; margin-right: auto; }
.b-nav { display: none; }
.b-nav a { text-decoration: none; }
.b-header-cta { display: none; }
.b-burger {
  width: var(--tile); height: var(--tile); margin-right: -6px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--d-line-2); color: #fff; cursor: pointer;
}
.b-burger-close { display: none; }
.b-header.is-open .b-burger-open { display: none; }
.b-header.is-open .b-burger-close { display: block; }

/* Mobile and tablet menu panel */
@media (max-width: 1179px) {
  .b-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    padding: var(--s1) var(--pad) var(--s3);
    background: var(--navy); border-bottom: 1px solid var(--d-line);
  }
  .b-header.is-open .b-nav { display: flex; animation: b-drop .3s var(--ease); }
  .b-nav a:not(.b-btn) {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 52px; border-bottom: 1px solid var(--d-line); color: #fff;
  }
  .b-nav a:not(.b-btn) .b-ic { color: var(--d-soft); }
  .b-nav-cta { margin-top: var(--s3); }
  /* Without JS the burger cannot open the panel, so the links show inline under the brand. */
  html:not(.js) .b-header-row { height: auto; flex-wrap: wrap; padding-top: var(--s2); }
  html:not(.js) .b-burger { display: none; }
  html:not(.js) .b-nav { display: flex; position: static; width: 100%; padding: 0 0 var(--s2); }
}
@keyframes b-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) {
  .b-header-cta { display: inline-flex; }
}
@media (min-width: 1180px) {
  .b-burger, .b-nav-cta, .b-nav-arrow { display: none; }
  .b-nav { display: flex; align-self: stretch; gap: var(--s4); }
  .b-nav a { position: relative; display: flex; align-items: center; white-space: nowrap; color: var(--d-muted); transition: color .2s; }
  .b-nav .b-nav-cta { display: none; }
  .b-nav a:hover, .b-nav a.is-active { color: #fff; }
  .b-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .b-nav a:hover::after, .b-nav a.is-active::after { transform: scaleX(1); }
  /* With JS one indicator slides between links instead of each link drawing its own */
  .b-nav { position: relative; }
  .b-nav.has-ind a::after { display: none; }
  .b-nav-ind {
    display: block; position: absolute; left: 0; bottom: -1px; width: 1px; height: 2px;
    background: var(--blue); transform-origin: left center; opacity: 0; pointer-events: none;
    transition: transform .5s var(--ease), opacity .3s;
  }
  .b-nav-ind.is-on { opacity: 1; }
  .b-nav-ind.no-anim { transition: opacity .3s; }
}

/* ---------- Hero ---------- */
.b-hero { position: relative; isolation: isolate; background: var(--navy); color: #fff; overflow: hidden; }
/* Ambient light: two very faint NOF blue glows drifting slowly behind the content */
.b-hero::before, .b-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
}
.b-hero::before {
  width: 640px; height: 640px; top: -300px; right: -260px;
  background: radial-gradient(closest-side, rgba(0, 183, 255, 0.11), rgba(0, 183, 255, 0));
  animation: b-drift-a 28s ease-in-out infinite alternate;
}
.b-hero::after {
  width: 520px; height: 520px; bottom: -320px; left: -240px;
  background: radial-gradient(closest-side, rgba(0, 183, 255, 0.06), rgba(0, 183, 255, 0));
  animation: b-drift-b 36s ease-in-out infinite alternate;
}
/* The script pauses the drift while the hero is off screen */
.b-hero.is-off::before, .b-hero.is-off::after { animation-play-state: paused; }
@media (min-width: 960px) {
  .b-hero::before { width: 1100px; height: 1100px; top: -520px; right: -380px; }
  .b-hero::after { width: 900px; height: 900px; bottom: -560px; left: -340px; }
}
@keyframes b-drift-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-160px, 120px, 0); } }
@keyframes b-drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(180px, -90px, 0); } }
.b-hero-wrap { position: relative; }
/* Faint blueprint lines on the 12 column boundaries */
.b-hero-lines {
  position: absolute; top: 0; bottom: 0; left: var(--pad); right: var(--pad);
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: calc(100% / 4) 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.b-hero-main { position: relative; padding: var(--s6) 0; row-gap: var(--s5); align-items: center; }
.b-hero .b-kicker { align-items: flex-start; color: var(--d-muted); text-wrap: balance; }
.b-hero .b-kicker .b-pulse { margin-top: 6px; }
.b-pulse { position: relative; width: 8px; height: 8px; flex: none; background: var(--blue); }
.b-pulse::after {
  content: ""; position: absolute; inset: -4px; border: 1px solid var(--blue);
  opacity: 0;
  animation: b-pulse 2.4s var(--ease) .4s 3;
}
@keyframes b-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
.b-display { margin-top: var(--s3); }
.b-hero .b-soft { color: var(--d-soft); }
.b-lead { margin-top: var(--s3); font-size: var(--fs-3); line-height: 1.55; color: var(--d-muted); max-width: 36em; }
.b-hero .b-btn-row { margin-top: var(--s5); }
.b-hero .b-btn { flex: 1 1 auto; }
@media (min-width: 720px) { .b-hero .b-btn { flex: 0 0 auto; } }
.b-hero-media { border: 1px solid var(--d-line-2); background: var(--navy); }
.b-hero-img { aspect-ratio: 4 / 3; overflow: hidden; }
.b-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.b-hero-media figcaption {
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--s2); border-top: 1px solid var(--d-line-2); color: var(--d-muted);
}
.b-hero-media figcaption .b-ic { color: var(--blue); }

.b-stats { position: relative; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--d-line-2); }
.b-stat {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; border-bottom: 1px solid var(--d-line);
}
.b-stat:last-child { border-bottom: 0; }
.b-stat .b-label { color: var(--d-soft); }
.b-stat-val { display: block; font-size: var(--fs-3); line-height: 1.35; text-wrap: balance; font-variant-numeric: tabular-nums; }

@media (min-width: 960px) {
  .b-hero-lines { background-size: calc(100% / 12) 100%; }
  .b-hero-main { padding: var(--s7) 0; column-gap: 0; }
  .b-hero-text { grid-column: 1 / 8; padding-right: var(--s6); }
  .b-hero-media { grid-column: 8 / 13; }
  .b-stats { grid-template-columns: repeat(3, 1fr); }
  .b-stat { position: relative; padding: var(--s4); border-bottom: 0; border-left: 1px solid var(--d-line); }
  .b-stat:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Sections ---------- */
.b-sec { padding: var(--s6) 0; }
.b-sec-tint { background: var(--tint); }
.b-sec + .b-sec { border-top: 1px solid var(--line); }
@media (min-width: 960px) { .b-sec { padding: var(--s7) 0; } }

/* Section head: icon tile, index and label, a hairline that draws in, then title and text */
.b-head { margin-bottom: var(--s5); }
.b-head-bar { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s4); }
.b-rule { flex: 1; height: 1px; background: var(--line-2); transform-origin: left center; }
.b-rule.is-dark { background: var(--d-line-2); }
.b-head-grid { row-gap: var(--s3); }
.b-head-text { display: grid; gap: var(--s2); color: var(--muted); max-width: 62ch; }
@media (min-width: 960px) {
  .b-head { margin-bottom: var(--s6); }
  .b-head-bar { margin-bottom: var(--s5); }
  .b-head-grid .b-h2 { grid-column: 1 / 7; padding-right: var(--s5); }
  .b-head-text { grid-column: 7 / 13; padding-top: 6px; }
}

/* ---------- Bordered cells (vision, mission, goals) ---------- */
.b-cells { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.b-cell {
  position: relative; display: flex; flex-direction: column; gap: var(--s2);
  padding: var(--s4) var(--s3);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}
.b-cell .b-tile { margin-bottom: var(--s2); }
.b-cell .b-tile .b-ic { transition: transform var(--t-hover) var(--ease); }
.b-cell p, .b-cell li { color: var(--muted); }
.b-cell::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform var(--t-hover) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .b-cell:hover { background: var(--tint); }
  .b-cell:hover::before { transform: scaleX(1); }
  .b-cell:hover .b-tile { border-color: var(--navy); }
  .b-cell:hover .b-tile .b-ic { transform: translateY(-2px); }
}
.b-list { display: grid; gap: 12px; }
.b-list li { display: grid; grid-template-columns: 32px 1fr; align-items: baseline; }
.b-list-no { color: var(--blue-ink); }
@media (min-width: 960px) {
  .b-cells-3 { grid-template-columns: repeat(3, 1fr); }
  .b-cell { padding: var(--s4); }
}

/* ---------- History timeline ---------- */
.b-tl { position: relative; }
.b-tl-rail { display: none; }
.b-tl-list { display: grid; }
.b-tl-item { position: relative; padding: 0 0 var(--s5) var(--s4); border-left: 1px solid var(--line-2); }
.b-tl-item:last-child { padding-bottom: 0; }
.b-tl-node {
  position: absolute; left: -5px; top: 10px; width: 9px; height: 9px;
  background: var(--tint); border: 1px solid var(--navy);
}
.b-tl-item.is-now .b-tl-node { background: var(--blue); border-color: var(--blue); }
.b-tl-item.is-now .b-tl-node::after {
  content: ""; position: absolute; inset: -5px; border: 1px solid var(--blue); opacity: 0; pointer-events: none;
}
.b-year { display: block; font-size: var(--fs-2); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.b-tl-item.is-now .b-year { color: var(--blue-ink); }
.b-tl-item .b-h3 { margin-top: var(--s3); }
.b-tl-item p { margin-top: var(--s1); color: var(--muted); }
@media (min-width: 960px) {
  .b-tl-rail { display: block; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--navy); transform-origin: left center; z-index: 1; }
  .b-tl-list { grid-template-columns: repeat(4, 1fr); }
  .b-tl-item { padding: var(--s5) var(--s4); border-left: 1px solid var(--line); }
  .b-tl-list { border-bottom: 1px solid var(--line); }
  .b-tl-item { padding-bottom: var(--s5); }
  .b-tl-item:last-child { padding-bottom: var(--s5); border-right: 1px solid var(--line); }
  .b-tl-node { left: var(--s4); top: -4px; z-index: 2; }
}

/* ---------- Document register ---------- */
.b-reg { border: 1px solid var(--line-2); background: #fff; }
.b-reg-head { display: none; }
.b-reg-row {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto;
  grid-template-areas: "no level go" "doc doc doc";
  column-gap: var(--s2); row-gap: 12px; align-items: center;
  padding: var(--s3) var(--s2);
  text-decoration: none; color: inherit;
  transition: background-color .25s;
}
.b-reg-list > li + li { border-top: 1px solid var(--line); }
.b-reg-row::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
  background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform var(--t-hover) var(--ease);
}
.b-reg-no { grid-area: no; min-width: 20px; color: var(--soft); transition: color .25s; }
.b-reg-level { grid-area: level; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--muted); }
.b-reg-doc { grid-area: doc; display: flex; gap: var(--s2); align-items: flex-start; }
.b-reg-file { color: var(--soft); margin-top: 2px; transition: color .25s; }
.b-reg-txt { display: grid; gap: 4px; }
.b-reg-txt strong { font-weight: 500; }
.b-reg-txt span { color: var(--muted); }
.b-reg-go { grid-area: go; }
.b-reg-go .b-ic { transition: transform var(--t-hover) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .b-reg-row:hover { background: var(--tint); }
  .b-reg-row:hover::before { transform: scaleY(1); }
  .b-reg-row:hover .b-reg-no, .b-reg-row:hover .b-reg-file { color: var(--blue-ink); }
  .b-reg-row:hover .b-reg-go .b-tile { background: var(--navy); border-color: var(--navy); color: #fff; }
  .b-reg-row:hover .b-reg-go .b-ic { transform: translate(2px, -2px); }
}
/* Novo badge: same box as the approved build; its light blue fill sweeps in once (see Motion) */
.b-new {
  display: inline-block; padding: 0 8px;
  border: 1px solid var(--blue); color: var(--blue-ink);
  background: linear-gradient(90deg, rgba(0, 183, 255, 0.08) 50%, rgba(0, 183, 255, 0) 50%) 0 0 / 200% 100% no-repeat;
}
@media (min-width: 960px) {
  .b-reg-head, .b-reg-row { grid-template-columns: 1fr 3fr 7fr 1fr; }
  .b-reg-head {
    display: grid; color: var(--muted); background: var(--tint);
    border-bottom: 1px solid var(--line-2);
  }
  .b-reg-head span { padding: 12px var(--s3); }
  .b-reg-head span + span { border-left: 1px solid var(--line); }
  .b-reg-head span:last-child { text-align: center; }
  .b-reg-row { grid-template-areas: "no level doc go"; padding: 0; column-gap: 0; align-items: stretch; }
  .b-reg-row > span { padding: var(--s3); }
  .b-reg-row > span + span { border-left: 1px solid var(--line); }
  .b-reg-level { align-content: flex-start; align-items: flex-start; flex-direction: column; gap: var(--s1); }
  .b-reg-go { display: grid; place-items: center; }
}

/* ---------- Initiative: steps pane and form pane in one frame ---------- */
.b-init { display: grid; border: 1px solid var(--line-2); background: #fff; }
.b-steps { border-bottom: 1px solid var(--line-2); }
.b-step {
  position: relative;
  display: grid; grid-template-columns: var(--tile) 1fr; column-gap: var(--s3);
  padding: var(--s3) var(--s2);
  transition: background-color .25s;
}
.b-step::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
  background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform var(--t-hover) var(--ease);
}
.b-step .b-tile .b-ic { transition: transform var(--t-hover) var(--ease); }
.b-step + .b-step { border-top: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) {
  .b-step:hover { background: var(--tint); }
  .b-step:hover::before { transform: scaleY(1); }
  .b-step:hover .b-tile { border-color: var(--navy); }
  .b-step:hover .b-tile .b-ic { transform: translateY(-2px); }
}
.b-step-no { color: var(--blue-ink); }
.b-step .b-h3 { margin-top: 2px; }
.b-step p:last-child { margin-top: var(--s1); color: var(--muted); }

.b-form { padding: var(--s4) var(--s2); }
.b-form-head { display: flex; align-items: center; gap: var(--s2); padding-bottom: var(--s3); margin-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.b-fields { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.b-field { position: relative; display: grid; gap: var(--s1); min-width: 0; }
.b-field label { color: var(--muted); transition: color .25s; }
.b-field:focus-within label { color: var(--ink); }
/* Focus underline drawing in from the left along the bottom edge of the control */
.b-field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease); pointer-events: none;
}
.b-field:focus-within::after { transform: scaleX(1); }
.b-field input, .b-field select, .b-field textarea {
  width: 100%; min-height: 48px; padding: 12px var(--s2);
  background: #fff; border: 1px solid var(--line-2); border-radius: 0;
  font-size: var(--fs-4); line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.b-field textarea { resize: vertical; min-height: 144px; }
.b-field input::placeholder, .b-field textarea::placeholder { color: var(--soft); }
.b-field input:hover, .b-field select:hover, .b-field textarea:hover { border-color: var(--soft); }
.b-field input:focus, .b-field select:focus, .b-field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.18);
}
.b-select { position: relative; }
.b-select select { appearance: none; -webkit-appearance: none; padding-right: var(--s6); cursor: pointer; }
.b-select .b-ic { position: absolute; right: 14px; top: 50%; margin-top: -10px; pointer-events: none; color: var(--muted); }
.b-field input[type="file"] { padding: 8px; border-style: dashed; cursor: pointer; color: var(--muted); }
.b-field input[type="file"]::file-selector-button {
  min-height: 30px; margin-right: var(--s2); padding: 0 var(--s2);
  font: 500 var(--fs-5)/1 var(--sans); letter-spacing: 0.02em;
  background: var(--tint); color: var(--navy); border: 1px solid var(--line-2); cursor: pointer;
}
.b-form-foot { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.b-form-foot .b-btn { width: 100%; }
/* Honeypot field for bots, kept out of sight and out of the tab order */
.b-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; visibility: hidden; }
/* Send status next to the button */
.b-form-msg { margin: 0 0 var(--s2); color: var(--muted); overflow-wrap: anywhere; }
/* Stays rendered while empty, so screen readers already know the live region */
.b-form-msg:empty { margin: 0; }
.b-form-msg.is-ok { color: var(--navy); }
.b-form-msg.is-err { color: #b42318; }
.b-form.is-busy .b-btn { opacity: .6; pointer-events: none; }
.b-fcell a { overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .b-step { padding: var(--s3) var(--s4); }
  .b-form { padding: var(--s4); }
  .b-fields { grid-template-columns: 1fr 1fr; }
  .b-full { grid-column: 1 / -1; }
  .b-form-foot { display: flex; align-items: center; justify-content: flex-end; gap: var(--s3); }
  .b-form-msg { margin: 0 auto 0 0; }
  .b-form-foot .b-btn { width: auto; }
}
@media (min-width: 960px) {
  .b-init { grid-template-columns: 5fr 7fr; }
  .b-steps { display: grid; grid-auto-rows: 1fr; border-bottom: 0; border-right: 1px solid var(--line-2); background: #fff; }
  .b-step { padding: var(--s4); align-content: center; }
  .b-form { padding: var(--s4) var(--s5) var(--s5); }
}

/* ---------- News: skeleton loader that keeps running until posts exist ---------- */
.b-load { border: 1px solid var(--line-2); }
.b-load-status { display: flex; align-items: center; gap: 12px; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); font: 400 var(--fs-5)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.b-spin { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); border-top-color: var(--blue); animation: b-spin 0.9s linear infinite; }
.b-load-grid { display: grid; grid-template-columns: 1fr; }
.b-load-card { display: flex; flex-direction: column; gap: 12px; padding: var(--s3); border-bottom: 1px solid var(--line); }
.b-load-card:last-child { border-bottom: 0; }
.b-sk {
  display: block; height: 10px; border-radius: 2px;
  background: linear-gradient(90deg, var(--tint) 0%, #e3eaf1 40%, var(--tint) 80%) 0 0 / 250% 100%;
  animation: b-shimmer 1.6s linear infinite;
}
.b-sk-img { height: 150px; margin-bottom: 8px; }
.b-sk-meta { width: 32%; }
.b-sk-title { height: 16px; width: 92%; }
.b-sk-line { width: 100%; }
.b-sk.is-short { width: 58%; }
@keyframes b-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes b-spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) {
  .b-load-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-load-card { border-bottom: 0; border-right: 1px solid var(--line); padding: var(--s4); }
  .b-load-card:last-child { border-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .b-sk { animation-duration: 3.2s; } .b-spin { animation-duration: 1.8s; } }

/* ---------- Gallery: archive contact sheet ---------- */
.b-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.b-gal-item { padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.b-gal-item.is-wide { grid-column: span 2; }
.b-gal-img { height: 180px; overflow: hidden; background: var(--tint); }
.b-gal-item.is-wide .b-gal-img { height: 220px; }
/* Seven images on a two column sheet: the last one spans both so no cell is left empty */
.b-gal-item:last-child { grid-column: span 2; }
.b-gal-item:last-child .b-gal-img { height: 260px; }
.b-gal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.b-gal-item:hover img { transform: scale(1.035); }
.b-gal-no { transition: transform var(--t-hover) var(--ease); }
.b-gal-item:hover .b-gal-no { transform: translateX(2px); }
.b-gal-item figcaption { text-wrap: balance; display: flex; gap: 12px; padding: 12px 4px 0; color: var(--muted); font-size: var(--fs-5); line-height: 1.5; }
.b-gal-no { color: var(--blue-ink); }
@media (min-width: 720px) {
  .b-gal { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .b-gal-item, .b-gal-item:last-child { grid-column: span 4; padding: var(--s2); }
  .b-gal-item.is-wide { grid-column: span 8; }
  .b-gal-img, .b-gal-item.is-wide .b-gal-img, .b-gal-item:last-child .b-gal-img { height: clamp(220px, 24vw, 320px); }
}

/* ---------- Footer ---------- */
.b-footer { background: var(--navy); color: #fff; padding: var(--s6) 0 0; }
.b-footer-top { display: grid; gap: var(--s4); margin-bottom: var(--s4); }
.b-footer-brand { font-size: var(--fs-2); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; max-width: 14em; }
.b-footer .b-rule { flex: none; width: 100%; }
.b-footer-cells { display: grid; grid-template-columns: 1fr; }
.b-fcell { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; border-bottom: 1px solid var(--d-line); }
.b-fcell .b-label { color: var(--d-soft); margin-bottom: 4px; }
.b-fcell a { display: inline-flex; align-items: center; gap: var(--s1); min-height: 28px; text-decoration: none; border-bottom: 1px solid var(--d-line-2); transition: border-color .2s, color .2s; }
.b-fcell a:hover { color: var(--blue); border-color: var(--blue); }
.b-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2);
  padding: var(--s3) 0; color: var(--d-soft);
}
.b-footer-bottom a { display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; text-decoration: none; transition: color .2s; }
.b-footer-bottom a:hover { color: #fff; }
.b-footer-bottom a:hover .b-ic { transform: translateY(-2px); }
.b-footer-bottom .b-ic { transition: transform .25s var(--ease); }
@media (min-width: 960px) {
  .b-footer { padding-top: var(--s7); }
  .b-footer-top { margin-bottom: 0; gap: var(--s5); }
  .b-footer-cells { grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--d-line); }
  .b-fcell { padding: var(--s4); border-bottom: 0; border-left: 1px solid var(--d-line); }
  .b-fcell:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Motion ----------
   Hidden or undrawn states apply only when html.js is set by the inline head script
   (which removes it again after 3 s if this site's script never reported ready).
   Everything plays once when it enters the viewport. The only continuous motion is the slow hero glow
   and the news loader; the hero kicker pulses three times, then rests.
   Timing: 300 to 900 ms for reveals, ease-out, travel 12px or less, staggers 60 to 120 ms. */
html.js .rv {
  opacity: 0; transform: translateY(12px);
  transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s), background-color .25s;
}
html.js .rv.is-in { opacity: 1; transform: none; }
html.js .ln { transform: scaleX(0); transition: transform .9s cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0s); }
html.js .ln.is-in { transform: scaleX(1); }

/* Hero: blueprint lines draw down, headline lines rise out of a mask, photo settles */
html.js .b-hero-lines { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease) .05s; }
html.js .b-hero-lines.is-in { clip-path: inset(0 0 0 0); }
html.js .b-display.rv { opacity: 1; transform: none; }
.b-line { display: block; }
/* Bottom-only room for descenders; padding and negative margin cancel, so the layout is unchanged */
html.js .b-line { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
html.js .b-line > span {
  display: block; transform: translateY(calc(100% + .3em));
  transition: transform .9s var(--ease) var(--d, 0s);
}
html.js .b-line ~ .b-line > span { transition-delay: calc(var(--d, 0s) + .12s); }
html.js .b-display.is-in .b-line > span { transform: none; }
html.js .b-hero-media.rv { --d: .24s; }
html.js .b-hero-img img { transform: scale(1.05); transition: transform 1.6s var(--ease) .25s; }
html.js .b-hero-media.is-in .b-hero-img img { transform: none; }

/* Hero stats: the top rule and the column dividers draw in */
html.js .b-stats { border-top-color: transparent; }
html.js .b-stats::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--d-line-2);
  transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(0.65, 0, 0.35, 1) .45s;
}
html.js .b-stats.is-in::before { transform: scaleX(1); }
@media (min-width: 960px) {
  html.js .b-stat:not(:first-child) { border-left-color: transparent; }
  html.js .b-stat:not(:first-child)::before {
    content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--d-line);
    transform: scaleY(0); transform-origin: top center; transition: transform .8s var(--ease) calc(var(--d, 0s) + .15s);
  }
  html.js .b-stat.is-in::before { transform: scaleY(1); }
}

/* Section head icons: strokes draw once (pathLength is set to 1 by the script).
   The script applies the undrawn state under .no-tr, so it never animates backwards on load. */
html.js .b-ic.is-draw > * {
  stroke-dasharray: 1 2; stroke-dashoffset: 1.01;
  transition: stroke-dashoffset .9s var(--ease) .1s;
}
html.js .b-ic.is-draw > :nth-child(2) { transition-delay: .2s; }
html.js .b-ic.is-draw > :nth-child(3) { transition-delay: .3s; }
html.js .b-ic.is-draw > :nth-child(n+4) { transition-delay: .4s; }
html.js .b-ic.no-tr > * { transition: none !important; }
html.js .b-head-bar.is-in .b-ic.is-draw > * { stroke-dashoffset: 0; }

/* Emphasis: one thin NOF blue underline per section, drawn once under the key phrase of the heading */
.b-mark {
  padding-bottom: .1em;
  background: linear-gradient(90deg, var(--blue) 50%, transparent 50%) 0 100% / 200% 2px no-repeat;
}
html.js .b-mark { background-position: 100% 100%; transition: background-position 1s var(--ease) .6s; }
html.js .b-mark.is-in { background-position: 0% 100%; }

/* Timeline: nodes switch on in sequence behind the drawing rail; the current year rings twice */
html.js .b-tl-node { transform: scale(0); transition: transform .5s var(--ease) calc(var(--d, 0s) * 2 + .3s); }
html.js .b-tl-item.is-in .b-tl-node { transform: none; }
html.js .b-tl-item.is-now.is-in .b-tl-node::after { animation: b-pulse 2.4s var(--ease) 1.1s 2; }

/* Register: the Novo badge's light blue fill sweeps in once, just after its row appears */
html.js .b-new { background-position: 100% 0; transition: background-position .6s var(--ease) calc(var(--d, 0s) + .4s); }
html.js .rv.is-in .b-new { background-position: 0 0; }

/* Gallery: photos settle from a hair larger as they appear (backwards fill keeps hover zoom free) */
html.js .b-gal-item.is-in img { animation: b-settle 1.4s var(--ease) var(--d, 0s) backwards; }
@keyframes b-settle { from { transform: scale(1.05); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rv, html.js .ln, html.js .b-line > span, html.js .b-tl-node,
  html.js .b-hero-img img, html.js .b-stats::before, html.js .b-stat::before { opacity: 1; transform: none; transition: none; }
  html.js .b-hero-lines { clip-path: none; }
  html.js .b-mark { background-position: 0% 100%; }
  html.js .b-new { background-position: 0 0; }
  .b-hero::before, .b-hero::after, .b-pulse::after, .b-tl-node::after, .b-gal-item img { animation: none !important; }
  .b-header.is-open .b-nav { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* Print and save as PDF: everything shown in its final state, whether or not it was scrolled to */
@media print {
  html.js .rv, html.js .ln, html.js .b-line > span, html.js .b-tl-node,
  html.js .b-hero-img img, html.js .b-stats::before, html.js .b-stat::before { opacity: 1 !important; transform: none !important; }
  html.js .b-hero-lines { clip-path: none; }
  html.js .b-mark { background-position: 0% 100%; }
  html.js .b-new { background-position: 0 0; }
  html.js .b-ic.is-draw > * { stroke-dashoffset: 0; }
  .b-hero::before, .b-hero::after { animation: none; }
}