/* ==========================================================================
   RedAid Nigeria — 2026 register layer
   Hairlines, tabular numerals, display-scale type. No gradients, no shadows,
   no glass, no decorative borders. Tokens only; both themes resolve here.
   Loads after styles.css; nothing in styles.css is edited by this file.
   ========================================================================== */

/* ------------------------------------------------------------ utilities --- */

.v26-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.v26-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.v26-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--text);
  text-wrap: balance;
  max-width: 22ch;
}

.v26-lede {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 58ch;
}

.v26-rule {
  height: 1px;
  background-color: var(--border);
  border: 0;
  margin: 0;
}

.v26-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ==========================================================================
   01 · Impact register  (#clinical-impact-dashboard)
   Replaces the navy hero card, floating badge, rounded KPI cards, pill tabs
   and every fabricated trend. Keeps every id the dashboard script writes to.
   ========================================================================== */

.impact-register {
  position: relative;
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 108px) 0 clamp(48px, 7vw, 88px);
}

.ir-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.ir-head {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(30px, 4.4vw, 56px);
}

.ir-head-left {
  display: grid;
  gap: 14px;
}

.ir-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--text);
  text-wrap: balance;
  max-width: 20ch;
}

/* Lens row: plain type, one hairline, a 3px underline on the active lens. */
.ir-lenses {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(14px, 2vw, 26px);
  border-bottom: 1px solid var(--border);
}

.dash-tab-btn {
  position: relative;
  display: inline-block;
  min-height: 44px;
  padding: 12px 0 calc(12px + 3px);
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.dash-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background-color: var(--text);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-tab-btn:hover,
.dash-tab-btn:focus-visible {
  color: var(--text);
}

.dash-tab-btn.active {
  color: var(--text);
  font-weight: 600;
  background: none;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dash-tab-btn.active::after {
  transform: scaleX(1);
}

@media (min-width: 900px) {
  .ir-head {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: clamp(28px, 4vw, 64px);
    align-items: end;
  }
  .ir-lenses {
    justify-content: flex-start;
  }
}

/* ------------------------------------------------------- the measure --- */

.ir-measure {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .ir-measure {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
    column-gap: clamp(28px, 4vw, 64px);
    align-items: stretch;
  }
}

.ir-figure {
  padding: clamp(24px, 3.4vw, 40px) 0 clamp(26px, 3.4vw, 40px);
  min-width: 0;
}

.ir-figure-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  margin-bottom: clamp(10px, 1.4vw, 16px);
}

.ir-figure-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 12vw, 156px);
  line-height: 0.82;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  margin-bottom: clamp(14px, 1.8vw, 22px);
}

.ir-figure-note {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 46ch;
}

.ir-provenance {
  display: grid;
  gap: 0;
  align-content: start;
  padding: clamp(24px, 3.4vw, 40px) 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .ir-provenance {
    border-top: 0;
    border-left: 1px solid var(--border);
    padding-left: clamp(20px, 2.6vw, 36px);
  }
}

.ir-prov-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

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

.ir-prov-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.ir-prov-list .k {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
}

.ir-prov-list .v {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

/* ------------------------------------------------------ the column chart --- */

.ir-chart {
  border-top: 1px solid var(--border);
  padding-top: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(22px, 3vw, 34px);
}

.ir-chart-head {
  display: grid;
  gap: 6px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.ir-chart-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--text);
  max-width: 44ch;
  text-wrap: balance;
}

.ir-chart-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 56ch;
}

.ir-bars {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: end;
  gap: clamp(4px, 0.9vw, 12px);
  height: clamp(132px, 15vw, 196px);
  margin: 22px 0 32px;
  border-bottom: 1px solid var(--border);
}

/* Each cell owns its own baseline; the fill sits on it, the value rides
   above the cap as a tabular label, the abbreviation falls below the rule. */
.dash-bar-col {
  position: relative;
  display: block;
  height: 100%;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dash-bar-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: var(--bar-h, 50%);
  background-color: var(--border);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: height 420ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease;
}

/* The value label. Empty data-val renders nothing, so untraceable bars
   carry no artefact. */
.dash-bar-col::before {
  content: attr(data-val);
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: calc(var(--bar-h, 50%) + 7px);
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transition: color 220ms ease;
}

.dash-bar-col:hover .dash-bar-fill,
.dash-bar-col:focus-visible .dash-bar-fill {
  background-color: var(--text-secondary);
  transform: none;
}

.dash-bar-col:hover::before,
.dash-bar-col:focus-visible::before {
  color: var(--text);
}

.dash-bar-col.is-peak .dash-bar-fill {
  background-color: var(--red-600);
  transform: none;
}

.dash-bar-col.is-peak:hover .dash-bar-fill,
.dash-bar-col.is-peak:focus-visible .dash-bar-fill {
  background-color: var(--red-text);
}

.dash-bar-col.is-peak::before {
  color: var(--text);
}

.dash-bar-col:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 0;
}

.dash-bar-tag {
  position: absolute;
  left: 50%;
  top: 100%;
  display: block;
  margin-top: 9px;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: var(--text-secondary);
  white-space: nowrap;
  pointer-events: none;
}

.dash-bar-col:hover .dash-bar-tag {
  color: var(--text);
}

.dash-bar-col.is-peak .dash-bar-tag {
  color: var(--text);
  font-weight: 600;
}

/* Selection line: replaces the floating badge pill. */
.ir-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  min-height: 44px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.ir-selected .badge-val {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--text);
}

.ir-selected .badge-lbl {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.ir-chart-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: clamp(14px, 1.8vw, 20px);
}

.ir-chart-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 54ch;
}

.ir-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 4px;
  transition: color 180ms ease, border-color 180ms ease;
}

.ir-link svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.ir-link:hover,
.ir-link:focus-visible {
  color: var(--link);
  border-bottom-color: var(--link);
  text-decoration: none;
}

/* --------------------------------------------------------- definition rows --- */

.ir-kpis {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--border);
}

@media (min-width: 760px) {
  .ir-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 3.4vw, 52px);
  }
}

@media (min-width: 1080px) {
  .ir-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ir-kpi {
  display: grid;
  gap: 5px;
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

.ir-kpi-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.ir-kpi-value {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
}

.ir-kpi-note {
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--text-secondary);
}

.impact-register a:focus-visible,
.impact-register button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

/* ==========================================================================
   02 · Alliances register  (#who-we-work-with)
   Marquee, duplicate aria-hidden set and rotation are gone. Nine named
   partners on hairlines, then one clearly labelled strip for the rest.
   ========================================================================== */

.alliances-register {
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 108px) 0 clamp(48px, 7vw, 88px);
}

.al-head {
  display: grid;
  gap: 16px;
  padding-bottom: clamp(28px, 4vw, 48px);
}

.al-standfirst {
  display: grid;
  gap: 12px;
  max-width: 62ch;
}

.al-standfirst p {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.62;
  color: var(--text-secondary);
}

.al-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.al-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 820px) {
  .al-row {
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 0.86fr);
    column-gap: clamp(20px, 3vw, 44px);
    align-items: baseline;
  }
}

.al-index {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.al-body {
  display: grid;
  gap: 10px;
  justify-items: start;
  min-width: 0;
}

/* Colour pass, 2026-11-21. The marks were greyed to hold a hairline register
   together, but the funders asked to be recognised by their own marks, so the
   filter is gone and multiply keeps the white JPEG plates from floating. */
.al-mark {
  display: block;
  max-height: 38px;
  max-width: 148px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  filter: none;
  opacity: 1;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.al-name {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.022em;
  color: var(--text);
  text-wrap: balance;
  margin: 0;
}

.al-role {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.al-marks {
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border);
  padding-top: clamp(16px, 2vw, 24px);
}

.al-marks-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: clamp(16px, 2vw, 20px);
}

.al-marks-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: center;
}

.al-marks-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: none;
  opacity: 0.96;
  transition: opacity 200ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.al-marks-grid img:hover {
  opacity: 1;
}

.al-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: clamp(20px, 2.6vw, 30px);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 4px;
}

.al-link:hover,
.al-link:focus-visible {
  color: var(--link);
  border-bottom-color: var(--link);
  text-decoration: none;
}

.al-link svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   03 · Desktop overlay — moved to css/veritas-overlay.css
   The drawer is namespaced to #veritas-menu-drawer, so its rules ship as their
   own file and load on every page that carries the menu.
   ========================================================================== */

/* ==========================================================================
   04 · Contact — plate and record
   ========================================================================== */

.ct-hero {
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
}

.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4.4vw, 64px);
  align-items: start;
}

@media (min-width: 980px) {
  .ct-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    column-gap: clamp(36px, 5vw, 88px);
  }
}

.ct-left {
  display: grid;
  gap: clamp(20px, 2.6vw, 30px);
  min-width: 0;
}

.ct-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--text);
}

.ct-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 44ch;
}

.ct-record {
  display: grid;
  border-top: 1px solid var(--border);
  margin: 0;
}

.ct-record > div {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.ct-record dt {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.ct-record dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}

.ct-record dd a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 180ms ease, border-color 180ms ease;
}

.ct-record dd a:hover,
.ct-record dd a:focus-visible {
  color: var(--link);
  border-bottom-color: var(--link);
}

.ct-form-plate {
  border-top: 1px solid var(--border);
  padding-top: clamp(18px, 2.4vw, 26px);
  min-width: 0;
}

.ct-form-plate .form-group,
.ct-form-plate .ct-field {
  margin-bottom: 0;
}

.ct-form-plate input[type="text"],
.ct-form-plate input[type="email"],
.ct-form-plate input[type="tel"],
.ct-form-plate textarea,
.ct-form-plate select {
  width: 100%;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 13px 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  box-shadow: none;
  transition: border-color 180ms ease;
}

.ct-form-plate input:focus,
.ct-form-plate textarea:focus {
  outline: none;
  border-bottom-color: var(--text);
  box-shadow: none;
}

.ct-form-plate label,
.ct-form-plate .form-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: 2px;
  display: block;
}

.ct-form-plate textarea {
  min-height: 132px;
  resize: vertical;
}

.ct-form-plate button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: clamp(18px, 2.4vw, 24px);
  padding: 0 26px;
  background-color: var(--text);
  color: var(--bg);
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.ct-form-plate button[type="submit"]:hover,
.ct-form-plate button[type="submit"]:focus-visible {
  background-color: var(--red-600);
  color: #FFFFFF;
}

.ct-map-band {
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
}

.ct-map-band .virto-map-frame {
  width: 100%;
  height: clamp(320px, 46vw, 520px);
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.ct-map-band #virto-map {
  width: 100%;
  height: 100%;
}

.ct-faq {
  background-color: var(--bg);
  padding: clamp(48px, 6vw, 88px) 0 clamp(44px, 6vw, 76px);
}

.ct-faq-list {
  border-top: 1px solid var(--border);
  margin-top: clamp(24px, 3vw, 36px);
}

.ct-faq-item {
  border-bottom: 1px solid var(--border);
}

.ct-faq-item > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: clamp(16px, 2vw, 22px) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--text);
}

.ct-faq-item > summary::-webkit-details-marker {
  display: none;
}

.ct-faq-item > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-faq-item[open] > summary::after {
  transform: rotate(-135deg);
}

.ct-faq-item > summary:hover {
  color: var(--red-text);
}

.ct-faq-answer {
  padding: 0 0 clamp(16px, 2vw, 22px);
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.66;
  color: var(--text-secondary);
}

/* --- Contact: hero furniture, FAQ accordion, promo row ---------------- */

.ct-intro {
  display: grid;
  gap: 8px;
}

.ct-kicker {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red-text);
  margin: 0;
}

.ct-chat {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--text);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background-color: transparent;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.ct-chat:hover,
.ct-chat:focus-visible {
  background-color: var(--text);
  color: var(--bg);
}

.ct-record dd a + a::before {
  content: " \00b7 ";
  color: var(--text-secondary);
}

.ct-form-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 clamp(14px, 2vw, 20px);
}

.ct-form-plate .ct-field {
  display: grid;
  gap: 0;
  padding-bottom: 4px;
}

.ct-form-plate .ct-field + .ct-field {
  margin-top: clamp(10px, 1.4vw, 16px);
}

.ct-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: clamp(18px, 2.4vw, 26px);
}

.ct-submit-row button[type="submit"] {
  margin-top: 0;
  width: auto;
  min-width: 190px;
}

.ct-terms {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  color: var(--text-secondary);
  max-width: 34ch;
}

.ct-terms a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.ct-terms a:hover,
.ct-terms a:focus-visible {
  color: var(--link);
  border-bottom-color: var(--link);
}

.ct-status {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--link);
  border-left: 2px solid var(--link);
  padding: 2px 0 2px 12px;
  margin: 14px 0 0;
}

.ct-map-band {
  max-width: none;
  padding: 0;
  margin: 0;
}

.ct-map-band .virto-map-frame {
  max-width: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

/* --- FAQ hairline accordion ------------------------------------------- */

.ct-faq-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  padding-bottom: clamp(24px, 3vw, 34px);
}

@media (min-width: 860px) {
  .ct-faq-head {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(36px, 5vw, 88px);
    align-items: end;
  }
}

.ct-faq-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0;
}

.ct-faq-lead {
  font-size: 14.5px;
  line-height: 1.64;
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0;
}

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

.ct-faq-list .virto-faq-item {
  border-bottom: 1px solid var(--border);
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

.ct-faq-list .virto-faq-trigger {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  padding: clamp(15px, 1.9vw, 21px) 0;
  background: none;
  border: 0;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}

.ct-faq-list .virto-faq-trigger:hover,
.ct-faq-list .virto-faq-trigger:focus-visible {
  color: var(--red-text);
}

.ct-faq-list .virto-faq-trigger:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.ct-faq-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.ct-faq-q {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.02em;
}

.ct-faq-list .virto-faq-icon {
  justify-self: end;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  background: none;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  font-size: 15px;
  line-height: 1;
  color: var(--text-secondary);
  transition: color 180ms ease;
}

.ct-faq-list .virto-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-faq-list .virto-faq-item.is-open .virto-faq-panel {
  max-height: 40em;
}

.ct-faq-list .virto-faq-panel p {
  margin: 0;
  padding: 0 34px clamp(18px, 2.2vw, 24px) 48px;
  max-width: 78ch;
  font-size: 14px;
  line-height: 1.66;
  color: var(--text-secondary);
}

.ct-faq-list .virto-faq-panel a {
  color: var(--link);
}

.ct-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  border-bottom: 1px solid var(--border);
  padding: clamp(18px, 2.4vw, 26px) 0;
}

.ct-promo-copy {
  margin: 0;
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ct-promo-heading {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.ct-promo-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  background-color: transparent;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.ct-promo-btn:hover,
.ct-promo-btn:focus-visible {
  border-color: var(--text);
  color: var(--red-text);
}

@media (max-width: 700px) {
  .ct-faq-list .virto-faq-trigger {
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    gap: 10px;
  }

  .ct-faq-list .virto-faq-panel p {
    padding: 0 0 clamp(16px, 2vw, 22px) 36px;
  }
}

/* ==========================================================================
   05 · Work with us — opportunities register
   ========================================================================== */

.wwu-hero {
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 5vw, 64px);
}

.wwu-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
}

@media (min-width: 980px) {
  .wwu-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    column-gap: clamp(36px, 5vw, 88px);
    align-items: end;
  }
}

.wwu-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.6vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.042em;
  color: var(--text);
  text-wrap: balance;
  max-width: 18ch;
}

.wwu-hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--border);
}

.wwu-hero-facts li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.wwu-hero-facts .k {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
}

.wwu-hero-facts .v {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}

.wwu-body {
  background-color: var(--bg);
  padding: 0 0 clamp(48px, 7vw, 88px);
}

.wwu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.4vw, 44px);
}

@media (min-width: 1000px) {
  .wwu-layout {
    grid-template-columns: 196px minmax(0, 1fr);
    column-gap: clamp(36px, 5vw, 76px);
    align-items: start;
  }
}

.wwu-index {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

@media (min-width: 1000px) {
  .wwu-index {
    position: sticky;
    top: 104px;
  }
}

.wwu-index-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.wwu-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

@media (min-width: 1000px) {
  .wwu-index ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

.wwu-index a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 10px;
  min-height: 44px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--text);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 200ms ease, color 200ms ease;
}

.wwu-index a span:first-child {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.wwu-index a:hover,
.wwu-index a:focus-visible,
.wwu-index a.is-active {
  opacity: 1;
  color: var(--red-text);
  text-decoration: none;
}

.wwu-group {
  border-top: 1px solid var(--border);
  padding-top: clamp(18px, 2.4vw, 26px);
  margin-bottom: clamp(34px, 4.4vw, 56px);
  scroll-margin-top: 96px;
}

.wwu-group-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.wwu-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
}

.wwu-group-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 62ch;
}

.wwu-reg {
  border-top: 1px solid var(--border);
}

.wwu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 820px) {
  .wwu-row {
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, 0.58fr);
    column-gap: clamp(20px, 3vw, 40px);
    align-items: start;
  }
}

.wwu-row-index {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  padding-top: 4px;
}

.wwu-row-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--text);
  margin-bottom: 6px;
  text-wrap: balance;
}

.wwu-row-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 58ch;
}

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

.wwu-meta li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 7px 0;
  border-top: 1px solid var(--border-subtle);
}

.wwu-meta li:first-child {
  border-top: 0;
  padding-top: 0;
}

.wwu-meta .k {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

.wwu-meta .v {
  font-size: 13px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.wwu-apply {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 3px;
}

.wwu-apply:hover,
.wwu-apply:focus-visible {
  color: var(--link);
  border-bottom-color: var(--link);
  text-decoration: none;
}

.wwu-apply svg {
  width: 12px;
  height: 12px;
}

.wwu-notice {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 30px) 0;
  margin-top: clamp(28px, 4vw, 44px);
}

.wwu-notice-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red-text);
  margin-bottom: 8px;
}

.wwu-notice p {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 74ch;
}

.wwu-kicker {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red-text);
  margin: 0 0 12px;
}

.wwu-lede {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: clamp(14px, 1.8vw, 20px) 0 0;
}

.wwu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: clamp(20px, 2.6vw, 28px);
}

.wwu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  background-color: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.wwu-btn svg {
  width: 13px;
  height: 13px;
}

.wwu-btn:hover,
.wwu-btn:focus-visible {
  background-color: var(--red-600);
  border-color: var(--red-600);
  color: #FFFFFF;
}

.wwu-btn.is-quiet {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border);
}

.wwu-btn.is-quiet:hover,
.wwu-btn.is-quiet:focus-visible {
  background-color: transparent;
  border-color: var(--text);
  color: var(--red-text);
}

.wwu-col {
  min-width: 0;
}

.wwu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.wwu-filters .tc-filter-btn {
  position: relative;
  min-height: 44px;
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 180ms ease;
}

.wwu-filters .tc-filter-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background-color: transparent;
  transform-origin: left center;
  transition: background-color 180ms ease;
}

.wwu-filters .tc-filter-btn:hover,
.wwu-filters .tc-filter-btn:focus-visible {
  color: var(--text);
}

.wwu-filters .tc-filter-btn:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}

.wwu-filters .tc-filter-btn.is-active {
  color: var(--text);
}

.wwu-filters .tc-filter-btn.is-active::after {
  background-color: var(--red-600);
}

.wwu-row-ref {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.wwu-row-desc strong {
  color: var(--text);
  font-weight: 600;
}

.wwu-notice-title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.026em;
  color: var(--text);
  margin: 0 0 10px;
}

.wwu-notice-contact {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.wwu-notice-contact a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.wwu-notice-contact a:hover,
.wwu-notice-contact a:focus-visible {
  color: var(--link);
  border-bottom-color: var(--link);
}

/* The register reuses the legacy job/tender hooks for its click handlers, so
   their old card chrome has to be neutralised rather than left to win. */
.wwu-reg .tc-job-card {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  padding: clamp(18px, 2.2vw, 26px) 0;
}

.wwu-reg .tc-job-card:hover {
  border-color: var(--border);
}

.wwu-reg .tc-job-apply-btn,
.wwu-reg .tc-tender-rfp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  gap: 9px;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 0 3px;
  background-color: transparent;
  background-image: none;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.wwu-reg .tc-job-apply-btn:hover,
.wwu-reg .tc-job-apply-btn:focus-visible,
.wwu-reg .tc-tender-rfp-btn:hover,
.wwu-reg .tc-tender-rfp-btn:focus-visible {
  background-color: transparent;
  color: var(--link);
  border-bottom-color: var(--link);
}

.wwu-reg .tc-job-apply-btn:focus-visible,
.wwu-reg .tc-tender-rfp-btn:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}

/* ==========================================================================
   06 · Motion and theme guards
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .dash-bar-fill,
  .dash-tab-btn::after,
  .drawer-img-layer,
  .drawer-submenu,
  .drawer-submenu-toggle svg,
  .ct-faq-item > summary::after {
    transition: none;
  }
}

[data-theme="dark"] .drawer-plate-caption {
  background-color: rgba(8, 7, 7, 0.6);
}

/* Inverting a mark on the dark theme erased every brand colour, so the mark
   sits on a paper chip instead and keeps its own palette. */
[data-theme="dark"] .al-marks-grid img,
[data-theme="dark"] .al-mark {
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  background-color: var(--mark-plate);
  padding: 4px 8px;
  border-radius: 2px;
}


/* ==========================================================================
   Section tokens for the two surfaces added on 2026-11-21.
   The band's palette is the link family walked down to its archival shade;
   --mark-plate is the paper chip the marks sit on in the dark theme.
   ========================================================================== */

:root {
  --mark-plate: #F8F7F6;
  --dx-blue: #0B2747;
  --dx-blue-deep: #071B31;
  --dx-ink: #F4F7FC;
  --dx-ink-soft: rgba(244, 247, 252, 0.74);
  --dx-ink-ghost: rgba(244, 247, 252, 0.22);
  --dx-rule: rgba(244, 247, 252, 0.18);
  --dx-sky: #9FC2EC;
  --dx-ember: #F0647A;
}

/* ==========================================================================
   02b Â· Main funders plate  (#who-we-work-with)
   The organisations the site calls its main funders, set above the full
   register as a plate of marks rather than another list of names. DAHW leads
   it. One pixel of border between cells, so the plate reads as a single
   ruled table rather than five floating cards.
   ========================================================================== */

.al-funders {
  margin: 0 0 clamp(28px, 3.6vw, 40px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--border);
}

.al-funders-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 860px) {
  .al-funders-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.al-funder {
  background-color: var(--bg);
  padding: clamp(16px, 1.8vw, 24px) clamp(16px, 1.5vw, 20px) clamp(20px, 2vw, 24px);
  display: grid;
  grid-template-rows: 40px auto auto;
  align-content: start;
  gap: 8px;
  min-height: 138px;
}

@media (min-width: 860px) {
  .al-funder {
    grid-template-rows: 46px auto auto;
  }
}

.al-funder.is-lead {
  background-color: var(--surface);
  box-shadow: inset 0 2px 0 0 var(--crimson);
}

@media (max-width: 859px) {
  .al-funder.is-lead {
    grid-column: span 2;
  }
}

/* The trimmed marks are cropped to their ink box, so a fixed box with
   object-fit gives every logo the same optical height and puts the names on
   one baseline no matter how wide the wordmark is. */
.al-funder-mark {
  display: block;
  width: 100%;
  height: 30px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

@media (min-width: 860px) {
  .al-funder-mark {
    height: 34px;
  }
}

.al-funder.is-lead .al-funder-mark {
  height: 40px;
}

@media (min-width: 860px) {
  .al-funder.is-lead .al-funder-mark {
    height: 46px;
  }
}

.al-funder-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--text);
}

.al-funder-role {
  font-family: var(--font-body);
  font-size: 10.5px;
  line-height: 1.42;
  color: var(--text-secondary);
}

.al-funder-tag {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
}

[data-theme="dark"] .al-funder {
  background-color: var(--surface);
}

[data-theme="dark"] .al-funder-mark {
  mix-blend-mode: normal;
  background-color: var(--mark-plate);
  padding: 4px 8px;
  border-radius: 2px;
}

/* ==========================================================================
   07 Â· Featured dispatch (landing, 2026-11-21)
   One published story pulled out of the archive and set as a printed spread
   on a deep blue field: a meta rail, the headline, the e-poster title quoted
   as a record, the plate that carries it, and the photographs filed from Rio.
   The blue is the link family (#1E5AA8 / #164883) walked down to its archival
   shade. Flat colour, hairlines and outline type only - the register layer's
   rules hold here too.
   ========================================================================== */

.dx-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--dx-blue);
  color: var(--dx-ink);
  border-top: 1px solid var(--dx-rule);
  padding: clamp(56px, 7.5vw, 100px) 0 clamp(36px, 5vw, 60px);
}

.dx-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.dx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 36px);
}

@media (min-width: 900px) {
  .dx-grid {
    grid-template-columns: 168px minmax(0, 1fr) minmax(280px, 0.8fr);
    column-gap: clamp(28px, 3.4vw, 56px);
    align-items: start;
  }
}

/* --- meta rail ---------------------------------------------------------- */

.dx-meta {
  display: grid;
  gap: 12px;
  align-content: start;
}

@media (min-width: 900px) {
  .dx-meta {
    border-right: 1px solid var(--dx-rule);
    padding-right: clamp(16px, 1.6vw, 24px);
    min-height: 100%;
  }
}

.dx-meta-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dx-sky);
}

.dx-meta-index {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
  color: var(--dx-ink-ghost);
}

.dx-facts {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--dx-rule);
}

.dx-facts div {
  display: grid;
  gap: 4px;
}

.dx-facts dt {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dx-ink-soft);
}

.dx-facts dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--dx-ink);
}

@media (max-width: 899px) {
  .dx-meta {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 16px;
  }

  .dx-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 16px;
    padding-top: 12px;
  }
}

/* --- body --------------------------------------------------------------- */

.dx-body {
  display: grid;
  gap: clamp(16px, 1.6vw, 20px);
  align-content: start;
}

.dx-kicker {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dx-sky);
}

.dx-dot {
  width: 6px;
  height: 6px;
  margin-top: 4px;
  flex: 0 0 auto;
  background-color: var(--dx-ember);
  border-radius: 50%;
}

.dx-title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(31px, 4.3vw, 56px);
  line-height: 1;
  letter-spacing: -0.032em;
  color: var(--dx-ink);
  text-wrap: balance;
}

.dx-lede {
  margin: 0;
  max-width: 48ch;
  font-family: var(--font-body);
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.66;
  color: var(--dx-ink-soft);
}

.dx-poster {
  margin: 2px 0 0;
  padding-left: 16px;
  border-left: 1px solid var(--dx-rule);
  display: grid;
  gap: 8px;
  max-width: 48ch;
}

.dx-poster p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.52;
  font-style: italic;
  color: var(--dx-ink);
}

.dx-poster cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dx-ink-soft);
}

.dx-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 48px;
  margin-top: 4px;
  padding-bottom: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--dx-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--dx-sky);
  transition: color 180ms ease, border-color 180ms ease;
}

.dx-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dx-cta:hover,
.dx-cta:focus-visible {
  color: var(--dx-sky);
  border-bottom-color: var(--dx-ink);
}

.dx-cta:hover svg,
.dx-cta:focus-visible svg {
  transform: translateX(5px);
}

.dx-cta:focus-visible {
  outline: 2px solid var(--dx-sky);
  outline-offset: 5px;
}

/* --- plate -------------------------------------------------------------- */

.dx-plate {
  margin: 0;
  display: grid;
  gap: 12px;
}

.dx-plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: var(--dx-blue-deep);
}

.dx-plate figcaption {
  display: grid;
  gap: 8px;
  max-width: 46ch;
  padding-top: 12px;
  border-top: 1px solid var(--dx-rule);
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--dx-ink-soft);
}

@media (min-width: 1180px) {
  .dx-plate {
    margin-right: calc(-1 * clamp(20px, 5vw, 64px));
  }

  .dx-plate figcaption {
    padding-right: clamp(20px, 5vw, 64px);
  }
}

/* --- the photographs filed with the story ------------------------------- */

.dx-credit {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dx-sky);
}

.dx-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 3.6vw, 44px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--dx-rule);
}

.dx-strip-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dx-sky);
}

.dx-thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.dx-thumbs img {
  display: block;
  width: clamp(52px, 6.4vw, 80px);
  height: clamp(52px, 6.4vw, 80px);
  object-fit: cover;
  border: 1px solid var(--dx-rule);
  transition: border-color 200ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dx-thumbs img:hover {
  border-color: var(--dx-sky);
}

.dx-strip-note {
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--dx-ink-soft);
}

@media (max-width: 640px) {
  .dx-strip-note {
    margin-left: 0;
  }
}

.dx-strip-numeral {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--dx-ink);
}

@media (prefers-reduced-motion: reduce) {
  .dx-cta svg,
  .dx-thumbs img {
    transition: none;
  }
}

/* ============================================================
   00b. Masthead rail (desktop only)

   Every page carries the same thin bar: mark left, three utilities right.
   From 1024px up it becomes a masthead instead of a toolbar - the wordmark
   leads at full size and the utilities are set as a hairline ledger, the
   menu cell inverting on hover. Below 1024px none of this applies and the
   bar behaves as before.
   ============================================================ */

@media (min-width: 1024px) {
  /* Two tiers: a 36px desk strip over an 88px masthead. */
  body {
    padding-top: 124px;
  }

  /* Paper furniture, not a glass pane: no blur, no shadow, one hairline. */
  .veritas-site-header,
  .veritas-site-header.is-scrolled {
    background-color: var(--surface);
    /* The blanket overflow-x:hidden on sections also clips this element's
       reading line, so the header opts out of it on desktop. */
    overflow: visible !important;
  }

  .veritas-site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    border-bottom-color: var(--border);
  }

  .veritas-header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 24px;
    align-items: center;
    height: 88px;
    padding: 0 40px;
  }

  .header-brand {
    grid-column: 1;
    gap: 0;
  }

  .veritas-logo-img {
    height: 44px;
  }

  /* Three utilities as one closed table, not three floating icons. */
  .veritas-header-right {
    grid-column: 2;
    justify-self: end;
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 44px;
  }

  .header-search-btn,
  .theme-toggle-btn,
  .veritas-hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    height: 100%;
    padding: 0 20px;
    border: none;
    border-left: 1px solid var(--border);
    border-radius: 0;
    background-color: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    transition: background-color 160ms ease, color 160ms ease;
  }

  .header-search-btn svg,
  .header-search-btn .search-btn-icon {
    width: 14px;
    height: 14px;
    stroke-width: 1.9;
  }

  .theme-icon,
  .theme-icon svg {
    width: 14px;
    height: 14px;
  }

  .search-btn-label,
  .theme-label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: inherit;
  }

  /* Quiet tint on the two reading cells; the menu cell is the ink cell. */
  .header-search-btn:hover,
  .header-search-btn:hover .search-btn-label,
  .header-search-btn:hover svg,
  .theme-toggle-btn:hover,
  .theme-toggle-btn:hover .theme-label {
    color: var(--text);
  }

  .header-search-btn:hover svg {
    transform: none;
  }

  .theme-toggle-btn:hover {
    background-color: var(--bg);
  }

  .header-search-btn:hover {
    background-color: var(--bg) !important;
  }

  .veritas-hamburger-btn:hover,
  .veritas-hamburger-btn.is-active {
    background-color: var(--text);
    color: var(--surface);
  }

  /* One ring for the three cells: inset, square, in the site's focus blue. */
  .header-search-btn:focus-visible,
  .theme-toggle-btn:focus-visible,
  .veritas-hamburger-btn:focus-visible {
    outline: none !important;
    border-radius: 0;
    box-shadow: inset 0 0 0 2px var(--blue-600) !important;
  }

  [data-theme="dark"] .veritas-site-header,
  [data-theme="dark"] .veritas-site-header.is-scrolled {
    background-color: var(--surface);
  }

  [data-theme="dark"] .header-search-btn:hover,
  [data-theme="dark"] .theme-toggle-btn:hover {
    background-color: var(--bg) !important;
  }

  [data-theme="dark"] .header-search-btn:hover,
  [data-theme="dark"] .header-search-btn:hover .search-btn-label,
  [data-theme="dark"] .header-search-btn:hover svg,
  [data-theme="dark"] .theme-toggle-btn:hover,
  [data-theme="dark"] .theme-toggle-btn:hover .theme-label {
    color: var(--text);
  }

  [data-theme="dark"] .header-search-btn:focus-visible,
  [data-theme="dark"] .theme-toggle-btn:focus-visible,
  [data-theme="dark"] .veritas-hamburger-btn:focus-visible {
    box-shadow: inset 0 0 0 2px var(--focus-ring-dark) !important;
  }
}

/* --------------------------------------------------------------------------
   00c. Reading line on the masthead (replaces the free-floating top beam)

   The line is a child of the header now, so it rides the bar's bottom edge
   and travels with it when the bar hides. bottom:-1px puts the fill on the
   hairline itself: the rule becomes the meter instead of a beam above it.
   -------------------------------------------------------------------------- */
.veritas-site-header #scroll-progress-bar {
  position: absolute;
  top: auto;
  bottom: -1px;
  left: 0;
  height: 1px;
  background-color: var(--crimson);
  z-index: 3;
  box-shadow: none;
  pointer-events: none;
  transition: none;
}


/* --------------------------------------------------------------------------
   00d. Desk strip

   The second tier: a 36px ink band above the paper masthead that carries the
   institutional register - tenders, contact, and one accent action. Same
   1400/40 grid as the rail below it, so
   the two bands read as one header. Desktop only: below 1024px the strip is
   not rendered and the single bar behaves exactly as before.
   -------------------------------------------------------------------------- */

/* The band is the only ink surface on the site, so it carries its own small
   ramp rather than borrowing the paper palette. */
:root {
  --desk-ink: #1F1C1B;
  --desk-ink-deep: #0B0A09;
  --desk-paper: #F7F5F2;
  --desk-text: rgba(255, 255, 255, 0.62);
  --desk-rule: rgba(255, 255, 255, 0.14);
  --desk-hover: rgba(255, 255, 255, 0.07);
  --desk-press: rgba(255, 255, 255, 0.12);
  --desk-ring: rgba(255, 255, 255, 0.8);
  --desk-accent: #F4A9B2;
  --desk-accent-wash: rgba(244, 169, 178, 0.14);
  --desk-underline: rgba(255, 255, 255, 0.55);
  --focus-ring-dark: #79B5F2;
}

.header-utility {
  display: none;
}

@media (min-width: 1024px) {
  .header-utility {
    display: block;
    height: 36px;
    background-color: var(--desk-ink);
    color: var(--desk-text);
  }

  .header-utility-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
  }

  .header-utility a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    color: inherit;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
  }

  .utility-links {
    display: flex;
    align-items: stretch;
    margin-left: auto;
  }

  .utility-links a {
    padding: 0 16px;
    border-left: 1px solid var(--desk-rule);
  }

  .utility-links a:first-child {
    border-left: none;
  }

  .utility-links a:hover {
    background-color: var(--desk-hover);
    color: var(--desk-paper);
  }

  /* One accent in the band: the rose tint of the crimson, since crimson
     itself cannot hold 4.5:1 on ink. */
  .utility-support {
    padding-right: 0;
    font-weight: 600;
    color: var(--desk-accent);
  }

  .utility-support:hover {
    background-color: var(--desk-accent-wash) !important;
    color: var(--desk-paper) !important;
  }

  .utility-arrow {
    display: inline-block;
    transition: transform 150ms ease;
  }

  .utility-support:hover .utility-arrow {
    transform: translateX(2px);
  }

  /* Press feedback: one step above hover so a tap on a touch laptop
     acknowledges the hit even after the pointer has left. */
  .utility-links a:active {
    background-color: var(--desk-press);
    color: var(--desk-paper);
  }

  .utility-links a[aria-current="page"] {
    color: var(--desk-paper);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 7px;
    text-decoration-color: var(--desk-underline);
  }

  .header-utility a:focus-visible {
    outline: none !important;
    color: var(--desk-paper);
    box-shadow: inset 0 0 0 2px var(--desk-ring);
  }

  [data-theme="dark"] .header-utility {
    background-color: var(--desk-ink-deep);
    color: var(--desk-text);
  }

  /* Anchor targets were tuned to an 88px bar; the bar is 124px now, so the
     jump has to clear 124 + the same 8px of air the old offset kept. */
  .wwu-group,
  .worlds-stack .world {
    scroll-margin-top: 132px;
  }

  /* The only full-height screen in the site; keep it on the fold. */
  .ran-404-minimal-page {
    min-height: calc(100vh - 124px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-utility a,
  .utility-arrow {
    transition: none;
  }
}
