/* ==========================================================================
   niketkaushik.com — "The Intelligence Archive"
   Core design system
   Designed and Developed by Creaa Think Designs
   ========================================================================== */

/* --------------------------------------------------------------------------
   01  TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:        #17191A;
  --charcoal:   #252827;
  --bone:       #F0EDE5;
  --paper:      #F8F7F2;
  --oxide:      #C85C38;
  --sage:       #8C9A8A;

  --ink-70:     rgba(23, 25, 26, .70);
  --ink-55:     rgba(23, 25, 26, .55);
  --ink-38:     rgba(23, 25, 26, .38);
  --ink-16:     rgba(23, 25, 26, .16);
  --ink-08:     rgba(23, 25, 26, .085);

  --bone-72:    rgba(240, 237, 229, .72);
  --bone-45:    rgba(240, 237, 229, .45);
  --bone-18:    rgba(240, 237, 229, .18);

  /* Type */
  --serif: "Instrument Serif", "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 64px);
  --measure: 68ch;
  --rule: 1px solid var(--ink-16);
  --rule-soft: 1px solid var(--ink-08);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   02  RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

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

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

/* Focus — always visible, never removed */
:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--bone);
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   03  TYPE SCALE
   -------------------------------------------------------------------------- */
.d1, .d2, .d3, .d4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.012em;
}
.d1 { font-size: clamp(3.1rem, 10.5vw, 8.6rem); line-height: .90; }
.d2 { font-size: clamp(2.3rem, 6.2vw, 4.6rem);  line-height: 1.02; }
.d3 { font-size: clamp(1.8rem, 4.1vw, 3.1rem);  line-height: 1.10; }
.d4 { font-size: clamp(1.35rem, 2.6vw, 2.05rem); line-height: 1.20; }

.lede {
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.60;
  color: var(--ink-70);
  max-width: 56ch;
}

.body-copy { max-width: var(--measure); }
.body-copy p + p { margin-top: 0; }

/* Editorial micro-label */
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--ink-55);
  display: block;
}
.label--oxide { color: var(--oxide); }
.label--sage  { color: #63715F; }

/* Section marker: "01 / CAREER" */
.marker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--ink-55);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.marker__num { color: var(--oxide); font-weight: 600; }
.marker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink-16);
  transform: translateY(-4px);
}

/* Oversized initial */
.initial::first-letter {
  font-family: var(--serif);
  font-size: 3.9em;
  line-height: .82;
  float: left;
  padding: .08em .12em 0 0;
  color: var(--ink);
}

/* Footnote-style source reference */
.source {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--ink-55);
  border-top: var(--rule-soft);
  padding-top: 12px;
  margin-top: 26px;
}
.source b { font-weight: 600; color: var(--ink-70); }

/* Pull quote (thematic, never attributed as a quotation) */
.pull {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.1vw, 2.4rem);
  line-height: 1.22;
  color: var(--ink);
  border-left: 2px solid var(--oxide);
  padding-left: clamp(18px, 3vw, 34px);
  max-width: 24ch;
}

/* --------------------------------------------------------------------------
   04  LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.shell--tight { max-width: 1180px; }

.band { padding-block: clamp(58px, 8vw, 128px); }
.band--sm { padding-block: clamp(40px, 5vw, 76px); }
.band--ink  { background: var(--ink);  color: var(--bone-72); }
.band--bone { background: var(--bone); }

.band--ink .d1, .band--ink .d2, .band--ink .d3, .band--ink .d4 { color: var(--bone); }
.band--ink .label, .band--ink .marker { color: var(--bone-45); }
.band--ink .marker::after { background: var(--bone-18); }
.band--ink .lede { color: var(--bone-72); }
.band--ink .source { color: var(--bone-45); border-top-color: var(--bone-18); }
.band--ink .source b { color: var(--bone-72); }
.band--ink .pull { color: var(--bone); }
.band--ink .initial::first-letter { color: var(--bone); }

.hr { height: 1px; background: var(--ink-16); border: 0; margin: 0; }
.band--ink .hr { background: var(--bone-18); }

/* --------------------------------------------------------------------------
   05  NAVIGATION — sticky, unobtrusive
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(248, 247, 242, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.masthead.is-stuck {
  background: rgba(248, 247, 242, .96);
  border-bottom-color: var(--ink-16);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding-block: 10px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}
.wordmark__name {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1;
}
.wordmark__suffix {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--oxide);
  font-weight: 600;
}

.nav { display: flex; align-items: center; }
.nav__list {
  display: flex;
  list-style: none;
  gap: clamp(14px, 1.9vw, 30px);
  align-items: center;
}
.nav__link {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-70);
  padding: 8px 0 7px;
  position: relative;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--oxide);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Menu trigger (mobile / narrow) */
.menu-btn {
  display: none;
  align-items: center;
  gap: 11px;
  background: none;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink);
}
.menu-btn__rules {
  display: grid;
  gap: 4px;
  width: 22px;
}
.menu-btn__rules span {
  display: block; height: 1.5px; background: var(--ink);
  transition: transform .32s var(--ease), opacity .2s var(--ease);
}
.menu-btn__rules span:nth-child(2) { width: 14px; margin-left: auto; }

/* Full-screen menu panel */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .38s var(--ease), visibility .38s;
  overflow-y: auto;
}
.menu-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.menu-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  border-bottom: 1px solid var(--bone-18);
  padding-bottom: 18px;
}
.menu-panel__top .wordmark__name { color: var(--bone); }

.menu-close {
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .19em; text-transform: uppercase;
  color: var(--bone); padding: 10px 0;
  display: flex; align-items: center; gap: 10px;
}
.menu-close__x {
  width: 18px; height: 18px; position: relative; display: block;
}
.menu-close__x::before, .menu-close__x::after {
  content: ""; position: absolute; top: 50%; left: 0; right: 0;
  height: 1.5px; background: var(--bone);
}
.menu-close__x::before { transform: rotate(45deg); }
.menu-close__x::after  { transform: rotate(-45deg); }

.menu-nav { margin-top: auto; margin-bottom: auto; padding-block: 40px; }
.menu-nav__list { list-style: none; }
.menu-nav__item { border-bottom: 1px solid var(--bone-18); }
.menu-nav__item:first-child { border-top: 1px solid var(--bone-18); }
.menu-nav__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: clamp(13px, 2.2vw, 20px) 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 7vw, 2.6rem);
  line-height: 1;
  color: var(--bone);
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}
.menu-nav__link:hover,
.menu-nav__link:focus-visible { color: var(--oxide); padding-left: 10px; }
.menu-nav__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--oxide);
  flex-shrink: 0;
  width: 26px;
}
.menu-nav__link[aria-current="page"] { color: var(--oxide); }

.menu-panel__foot {
  border-top: 1px solid var(--bone-18);
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--bone-45);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

/* --------------------------------------------------------------------------
   06  ARCHIVE STRIP (home) — horizontal index, not cards
   -------------------------------------------------------------------------- */
.strip {
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.strip__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.strip__item + .strip__item { border-left: var(--rule-soft); }
.strip__link {
  display: block;
  padding: clamp(20px, 2.4vw, 34px) clamp(10px, 1.3vw, 20px);
  height: 100%;
  transition: background .3s var(--ease);
}
.strip__link:hover { background: var(--bone); }
.strip__idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--oxide);
  display: block;
  margin-bottom: 14px;
}
.strip__term {
  font-family: var(--sans);
  font-size: clamp(.80rem, 1.05vw, .93rem);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.35;
  display: block;
}
.strip__note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  color: var(--ink-55);
  margin-top: 9px;
  display: block;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   07  LEDGER — ruled analytical rows (used by several pages, restyled per page)
   -------------------------------------------------------------------------- */
.ledger { border-top: var(--rule); }
.ledger__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(26px, 3.4vw, 46px);
  border-bottom: var(--rule);
  align-items: start;
}
.ledger__key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oxide);
  padding-top: .55em;
}
.ledger__head { margin-bottom: 14px; }
.ledger__body { color: var(--ink-70); max-width: var(--measure); }
.band--ink .ledger { border-top-color: var(--bone-18); }
.band--ink .ledger__row { border-bottom-color: var(--bone-18); }
.band--ink .ledger__body { color: var(--bone-72); }

/* --------------------------------------------------------------------------
   08  FIGURES / IMAGE FRAMES
   Portraits are never cropped: frames use contain + an archival ground.
   -------------------------------------------------------------------------- */
.fig { margin: 0; }
.fig__frame {
  position: relative;
  background: var(--bone);
  border: var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fig__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.fig__frame--ink { background: #111213; border-color: rgba(240,237,229,.14); }

.fig__cap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: baseline;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--ink-55);
  border-top: var(--rule-soft);
  padding-top: 11px;
}
.fig__cap b { color: var(--oxide); font-weight: 600; letter-spacing: .16em; }
.band--ink .fig__cap { color: var(--bone-45); border-top-color: var(--bone-18); }

/* Aspect helpers */
.ar-1x1   { aspect-ratio: 1 / 1; }
.ar-4x5   { aspect-ratio: 4 / 5; }
.ar-3x4   { aspect-ratio: 3 / 4; }
.ar-16x9  { aspect-ratio: 16 / 9; }
.ar-3x2   { aspect-ratio: 3 / 2; }

/* --------------------------------------------------------------------------
   09  FOOTER
   -------------------------------------------------------------------------- */
.colophon {
  background: var(--ink);
  color: var(--bone-72);
  padding-block: clamp(48px, 6vw, 84px) 0;
}
.colophon__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(30px, 4vw, 64px);
  padding-bottom: clamp(38px, 4.5vw, 62px);
}
.colophon__mark {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.02;
  color: var(--bone);
  letter-spacing: -.01em;
}
.colophon__desig {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-top: 14px;
  display: block;
  line-height: 1.7;
}
.colophon h2 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone-45);
  margin-bottom: 18px;
}
.colophon__list { list-style: none; }
.colophon__list li { margin-bottom: 9px; }
.colophon__list a, .colophon address {
  color: var(--bone-72);
  font-style: normal;
  transition: color .25s var(--ease);
}
.colophon__list a:hover { color: var(--oxide); }
.colophon__person {
  color: var(--bone);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.social__link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--bone-18);
  border-radius: 50%;
  color: var(--bone-72);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.social__link:hover { background: var(--oxide); color: var(--ink); border-color: var(--oxide); }
.social__link svg { width: 17px; height: 17px; fill: currentColor; }

.colophon__base {
  border-top: 1px solid var(--bone-18);
  padding-block: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--bone-45);
}
.colophon__base a { color: var(--bone-72); border-bottom: 1px solid var(--bone-18); }
.colophon__base a:hover { color: var(--oxide); border-bottom-color: var(--oxide); }

/* --------------------------------------------------------------------------
   10  PAGE MASTHEAD (interior pages) — shared skeleton, per-page variants
   -------------------------------------------------------------------------- */
.opener { padding-block: clamp(46px, 6.5vw, 104px) clamp(34px, 4.5vw, 62px); }
.opener__marker { margin-bottom: clamp(24px, 3vw, 42px); }
.opener__title { margin-bottom: clamp(20px, 2.4vw, 32px); }

/* --------------------------------------------------------------------------
   11  MOTION
   -------------------------------------------------------------------------- */
/* Only hide-then-reveal when JavaScript is running; without it, everything
   is visible from the start. Content is never left invisible. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.rule-draw { transform-origin: left; transition: transform .9s var(--ease); }
.js .rule-draw { transform: scaleX(0); }
.rule-draw.is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .js .rule-draw, .rule-draw { transform: none; }
}

/* --------------------------------------------------------------------------
   12  FORMS
   -------------------------------------------------------------------------- */
.field { margin-bottom: 26px; }
.field__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-55);
  display: block;
  margin-bottom: 9px;
}
.field__input,
.field__area {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-16);
  padding: 10px 0 12px;
  font-size: 1.05rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .28s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field__area { resize: vertical; min-height: 118px; line-height: 1.6; }
.field__input:focus,
.field__area:focus { outline: none; border-bottom-color: var(--oxide); }
.field__input:focus-visible,
.field__area:focus-visible { outline: none; }
.field__err {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: #9C3E20;
  margin-top: 8px;
  min-height: 1em;
  display: block;
}
.field.has-error .field__input,
.field.has-error .field__area { border-bottom-color: #9C3E20; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--bone);
  border: 1px solid var(--ink);
  padding: 15px 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.btn:hover { background: var(--oxide); border-color: var(--oxide); color: var(--paper); }
.btn__arrow { transition: transform .28s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.form-note {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.75;
  letter-spacing: .04em;
  color: var(--ink-55);
  border-left: 2px solid var(--sage);
  padding-left: 16px;
  margin-top: 30px;
}

.form-status {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: .05em;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--ink-16);
  background: var(--bone);
  color: var(--ink);
  display: none;
}
.form-status.is-shown { display: block; }
.form-status a { color: var(--oxide); border-bottom: 1px solid currentColor; }

/* ==========================================================================
   PAGE COMPOSITIONS — each page is a different chapter of one publication
   ========================================================================== */

/* --------------------------------------------------------------------------
   H O M E   ·  "The Open File"
   Asymmetric masthead spread: text block left, portrait right, metadata rail.
   -------------------------------------------------------------------------- */
.openfile {
  padding-block: clamp(34px, 4.6vw, 78px) clamp(44px, 5.5vw, 92px);
}
.openfile__spread {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(30px, 4.2vw, 76px);
  align-items: end;
}
.openfile__name {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 11.2vw, 9.4rem);
  line-height: .86;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: clamp(22px, 3vw, 40px) 0 0;
}
.openfile__name span { display: block; }
.openfile__name em {
  font-style: normal;
  display: inline-block;
  color: var(--oxide);
}
.openfile__rank {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: clamp(20px, 2.6vw, 34px);
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.openfile__ips {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--ink);
}
.openfile__desig {
  font-size: clamp(.94rem, 1.25vw, 1.06rem);
  line-height: 1.45;
  color: var(--ink-70);
  font-weight: 500;
}
.openfile__desig strong { color: var(--ink); font-weight: 700; display: block; }

.openfile__aside {
  margin-top: clamp(26px, 3vw, 40px);
  max-width: 46ch;
}

/* Portrait column */
.openfile__plate { position: relative; }
.openfile__portrait {
  background: var(--bone);
  border: var(--rule-soft);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.openfile__portrait img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
.openfile__meta {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  margin-top: 0;
}
.openfile__meta li {
  padding: 15px 14px 16px 0;
}
.openfile__meta li + li { border-left: var(--rule-soft); padding-left: 16px; }
.openfile__meta dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 7px;
}
.openfile__meta dd {
  margin: 0;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.4;
}

/* Statement band */
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 88px);
  align-items: start;
}
.statement__head {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6.4vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.018em;
  color: var(--bone);
}
.statement__head em { font-style: normal; color: var(--oxide); }
.statement__chain {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.statement__chain li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-45);
  border: 1px solid var(--bone-18);
  padding: 7px 11px;
}
.statement__chain li:nth-child(odd) { color: var(--oxide); border-color: rgba(200,92,56,.42); }

/* Complexity ledger — home only variant */
.complexity .ledger__row { grid-template-columns: 150px minmax(0, 1fr); }
.complexity .ledger__key { color: var(--ink); font-weight: 600; }
.complexity .ledger__row:hover .ledger__key { color: var(--oxide); }

/* Language section */
.language__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: start;
}
.language__terms {
  list-style: none;
  border-top: var(--rule);
  margin-top: clamp(26px, 3vw, 38px);
}
.language__terms li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  padding-block: 17px;
  border-bottom: var(--rule);
  align-items: baseline;
}
.language__terms b {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--oxide);
  font-weight: 600;
}
.language__terms span { color: var(--ink-70); font-size: .97rem; }
.language__terms strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   P R O F I L E   ·  "The Person Behind the Uniform"
   Portrait magazine: bleed image column + narrow measure + margin annotations.
   -------------------------------------------------------------------------- */
.pf-open {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 0;
  align-items: stretch;
  border-bottom: var(--rule);
}
.pf-open__image {
  background: var(--bone);
  border-right: var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 52px);
  min-height: 340px;
}
.pf-open__image img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
}
.pf-open__text {
  padding: clamp(34px, 5vw, 88px) 0 clamp(34px, 5vw, 76px) clamp(26px, 4vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pf-open__title {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5.2vw, 4.3rem);
  line-height: 1.0;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: clamp(18px, 2.2vw, 28px) 0 clamp(20px, 2.4vw, 30px);
  max-width: 16ch;
}

/* Annotated article body: text column + margin notes */
.annotated {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(24px, 4vw, 66px);
  align-items: start;
}
.annotated__note {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.85;
  letter-spacing: .04em;
  color: var(--ink-55);
  border-top: 2px solid var(--oxide);
  padding-top: 14px;
  position: sticky;
  top: 96px;
}
.annotated__note b {
  display: block;
  color: var(--ink);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 9px;
  font-size: 10px;
}

.dossier { border-top: var(--rule); margin-top: clamp(30px, 3.6vw, 48px); }
.dossier__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 44px);
  padding-block: clamp(20px, 2.5vw, 30px);
  border-bottom: var(--rule);
}
.dossier__term {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-55);
  padding-top: .35em;
}
.dossier__val { color: var(--ink); font-weight: 500; }
.dossier__val small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  color: var(--ink-55);
  font-weight: 400;
  margin-top: 6px;
  line-height: 1.7;
}

/* Requirements of the role — sage-keyed index */
.reqs { list-style: none; counter-reset: r; border-top: var(--rule); }
.reqs li {
  counter-increment: r;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  padding-block: clamp(20px, 2.4vw, 30px);
  border-bottom: var(--rule);
}
.reqs li::before {
  content: counter(r, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--sage);
  padding-top: .5em;
  font-weight: 600;
}
.reqs h3 {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 9px;
}
.reqs p { color: var(--ink-70); max-width: 62ch; }

/* --------------------------------------------------------------------------
   C A R E E R   ·  "The Career Map"
   Vertical hairline chronology, mono year gutter. No cards, no rounded boxes.
   -------------------------------------------------------------------------- */
.chrono { position: relative; }
.chrono__stem {
  position: absolute;
  left: 128px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--ink-16);
}
.chrono__entry {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 60px);
  padding-block: clamp(30px, 4vw, 58px);
  position: relative;
}
.chrono__entry + .chrono__entry { border-top: var(--rule-soft); }
.chrono__when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink);
  line-height: 1.75;
  text-align: right;
  padding-right: 26px;
  padding-top: .35em;
}
.chrono__when b { display: block; color: var(--oxide); font-size: 12px; letter-spacing: .12em; }
.chrono__when span { color: var(--ink-55); display: block; }
.chrono__dot {
  position: absolute;
  left: 124px;
  top: calc(clamp(30px, 4vw, 58px) + .55em);
  width: 9px; height: 9px;
  background: var(--paper);
  border: 2px solid var(--oxide);
  border-radius: 50%;
}
.chrono__entry--current .chrono__dot { background: var(--oxide); }
.chrono__role {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.9vw, 2.25rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 12px;
  max-width: 22ch;
}
.chrono__where {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  color: #63715F;
  margin-bottom: 16px;
  display: block;
}
.chrono__ctx { color: var(--ink-70); max-width: 58ch; }
.chrono__resp {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chrono__resp li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-55);
  border: 1px solid var(--ink-16);
  padding: 6px 10px;
}

/* Career page — region panel */
.region__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.districts { list-style: none; border-top: 1px solid var(--bone-18); margin-top: 26px; }
.districts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
  border-bottom: 1px solid var(--bone-18);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone);
}
.districts li i { font-style: normal; color: var(--oxide); font-size: 10px; }

/* --------------------------------------------------------------------------
   C O M M A N D   ·  "Command Is A System"
   Strategy-report grammar: strict numbered matrix, wide analytical rows.
   -------------------------------------------------------------------------- */
.cmd-open {
  background: var(--ink);
  color: var(--bone-72);
  padding-block: clamp(52px, 7vw, 118px);
}
.cmd-open__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: end;
}
.cmd-open__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8.2vw, 6.6rem);
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--bone);
}
.cmd-open__title em { font-style: normal; color: var(--oxide); }
.cmd-open__plate {
  background: #111213;
  border: 1px solid rgba(240,237,229,.14);
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cmd-open__plate img { width: 100%; height: 100%; object-fit: contain; }

.principles { counter-reset: p; border-top: 2px solid var(--ink); }
.principle {
  counter-increment: p;
  display: grid;
  grid-template-columns: 76px 250px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(30px, 4vw, 56px);
  border-bottom: var(--rule);
  align-items: start;
  transition: background .35s var(--ease);
}
.principle:hover { background: var(--bone); }
.principle__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--oxide);
  padding-top: .5em;
}
.principle__name {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.06;
  color: var(--ink);
}
.principle__name small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-top: 11px;
}
.principle__body { color: var(--ink-70); max-width: 66ch; }
.principle__body p + p { margin-top: 0; }

/* Commissionerate brief — report-style stat rail (institutional facts only) */
.brief {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink-16);
}
.brief__cell { padding: clamp(22px, 2.6vw, 34px) clamp(14px, 1.6vw, 26px) clamp(24px, 2.8vw, 38px) 0; }
.brief__cell + .brief__cell { border-left: var(--rule-soft); padding-left: clamp(16px, 1.8vw, 28px); }
.brief__k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oxide);
  display: block;
  margin-bottom: 13px;
}
.brief__v {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.06;
  color: var(--ink);
  display: block;
}
.brief__n {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.65;
  letter-spacing: .04em;
  color: var(--ink-55);
  margin-top: 10px;
  display: block;
}

/* --------------------------------------------------------------------------
   I N V E S T I G A T I O N S   ·  "Follow The Information"
   Layered, offset editorial. Index terms + stacked evidence blocks.
   -------------------------------------------------------------------------- */
.inv-open {
  position: relative;
  padding-block: clamp(48px, 6.5vw, 112px) clamp(34px, 4vw, 62px);
  overflow: hidden;
}
.inv-open__title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 9.6vw, 8rem);
  line-height: .88;
  letter-spacing: -.024em;
  color: var(--ink);
}
.inv-open__title span { display: block; }
.inv-open__title span:nth-child(2) { padding-left: clamp(0px, 8vw, 150px); }
.inv-open__title span:nth-child(3) { padding-left: clamp(0px, 16vw, 300px); color: var(--oxide); }
.inv-open__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(34px, 4.4vw, 62px);
  padding-top: clamp(22px, 2.6vw, 34px);
  border-top: 2px solid var(--ink);
  align-items: start;
}

/* Index of themes — redacted-rule motif (abstract, never a fake stamp) */
.themes { border-top: var(--rule); }
.theme {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 52px);
  padding-block: clamp(26px, 3.2vw, 44px);
  border-bottom: var(--rule);
  align-items: start;
}
.theme__name {
  font-family: var(--sans);
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}
.theme__name i {
  font-style: normal;
  flex: 1;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--ink-16) 0 6px, transparent 6px 11px);
}
.theme__body { color: var(--ink-70); max-width: 64ch; }

/* Two dark editorial essays with an offset plate */
.essay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.6vw, 80px);
  align-items: start;
}
.essay--flip .essay__figure { order: 2; }
.essay__kicker {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

/* --------------------------------------------------------------------------
   P U B L I C   S E R V I C E   ·  "The Citizen At The Centre"
   Warm, photographic, generous air. Sage-keyed rather than oxide-keyed.
   -------------------------------------------------------------------------- */
.civic { background: var(--bone); }
.civic-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 52px);
  padding-block: clamp(44px, 6vw, 96px) clamp(30px, 3.6vw, 54px);
}
.civic-open__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 8vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 13ch;
}
.civic-open__title em { font-style: normal; color: #6E7C6B; }
.civic-open__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 66px);
  align-items: end;
}

.civic-hero {
  background: var(--paper);
  border: var(--rule-soft);
  aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.civic-hero img { width: 100%; height: 100%; object-fit: contain; }

/* Trust moments — soft ruled index with sage keys */
.moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid #6E7C6B;
}
.moment {
  padding: clamp(24px, 2.8vw, 38px) clamp(16px, 2vw, 30px) clamp(28px, 3.2vw, 44px) 0;
  border-bottom: var(--rule);
}
.moment + .moment { border-left: var(--rule-soft); padding-left: clamp(18px, 2.2vw, 32px); }
.moment__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #63715F;
  display: block;
  margin-bottom: 14px;
}
.moment h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.14;
  color: var(--ink);
  margin-bottom: 12px;
}
.moment p { color: var(--ink-70); font-size: .96rem; }

/* Photo pair */
.photo-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
}

/* Communication list */
.comms { list-style: none; counter-reset: c; }
.comms li {
  counter-increment: c;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  padding-block: clamp(16px, 2vw, 24px);
  border-bottom: var(--rule-soft);
  align-items: baseline;
}
.comms li::before {
  content: counter(c, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: #63715F;
  font-weight: 600;
}
.comms strong { color: var(--ink); font-weight: 700; }
.comms span { color: var(--ink-70); }

/* --------------------------------------------------------------------------
   R E C O G N I T I O N   ·  "The Record"
   Archival catalogue. Year gutter, official terminology, sourced footnotes.
   -------------------------------------------------------------------------- */
.record-open {
  padding-block: clamp(46px, 6vw, 100px) clamp(28px, 3.4vw, 48px);
  border-bottom: 2px solid var(--ink);
}
.record-open__title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 14vw, 11rem);
  line-height: .82;
  letter-spacing: -.03em;
  color: var(--ink);
}
.record-open__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 66px);
  align-items: end;
  margin-top: clamp(26px, 3.2vw, 44px);
}

.catalogue { list-style: none; }
.entry {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(18px, 3vw, 52px);
  padding-block: clamp(30px, 3.8vw, 54px);
  border-bottom: var(--rule);
  align-items: start;
}
.entry__year {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: var(--oxide);
}
.entry__year small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-top: 10px;
}
.entry__award {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  line-height: 1.14;
  color: var(--ink);
  margin-bottom: 14px;
}
.entry__desc { color: var(--ink-70); font-size: .98rem; }
.entry__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.8;
  letter-spacing: .05em;
  color: var(--ink-55);
  border-top: 2px solid var(--ink-16);
  padding-top: 13px;
}
.entry__meta b {
  display: block;
  color: var(--ink);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 9.5px;
  margin-bottom: 8px;
}

/* Attribution note block — distinguishes personal / unit / department work */
.attrib {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--bone-18);
  border-bottom: 1px solid var(--bone-18);
}
.attrib__cell { padding: clamp(22px, 2.6vw, 34px) clamp(14px, 1.8vw, 26px) clamp(24px, 2.8vw, 36px) 0; }
.attrib__cell + .attrib__cell { border-left: 1px solid var(--bone-18); padding-left: clamp(16px, 2vw, 28px); }
.attrib__k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oxide);
  display: block;
  margin-bottom: 12px;
}
.attrib__v { color: var(--bone-72); font-size: .94rem; }

/* --------------------------------------------------------------------------
   C O N T A C T   ·  Minimal institutional
   -------------------------------------------------------------------------- */
.contact-open {
  padding-block: clamp(48px, 6.5vw, 110px) clamp(30px, 3.6vw, 52px);
}
.contact-open__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: .92;
  letter-spacing: -.024em;
  color: var(--ink);
  max-width: 12ch;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5.5vw, 96px);
  align-items: start;
  border-top: 2px solid var(--ink);
  padding-top: clamp(30px, 3.8vw, 56px);
}
.contact-card { }
.contact-card__list { list-style: none; border-top: var(--rule); margin-top: 22px; }
.contact-card__list li {
  padding-block: clamp(16px, 2vw, 22px);
  border-bottom: var(--rule);
}
.contact-card__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-55);
  display: block;
  margin-bottom: 8px;
}
.contact-card__v {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  color: var(--ink);
  word-break: break-word;
}
a.contact-card__v { border-bottom: 1px solid var(--ink-16); transition: color .25s var(--ease), border-color .25s var(--ease); }
a.contact-card__v:hover { color: var(--oxide); border-bottom-color: var(--oxide); }

.contact-plate {
  background: var(--bone);
  border: var(--rule-soft);
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.contact-plate img { width: 100%; height: 100%; object-fit: contain; }

/* --------------------------------------------------------------------------
   13  UTILITIES & SMALL COMPONENTS
   -------------------------------------------------------------------------- */
.u-mt-s  { margin-top: clamp(16px, 2vw, 24px); }
.u-mt-m  { margin-top: clamp(24px, 3vw, 42px); }
.u-mt-l  { margin-top: clamp(30px, 3.8vw, 56px); }
.u-mb-m  { margin-bottom: clamp(24px, 3vw, 42px); }
.u-mb-l  { margin-bottom: clamp(30px, 3.8vw, 56px); }
.u-narrow { max-width: 18ch; }
.u-narrower { max-width: 14ch; }
.u-top-rule { border-top: 2px solid var(--ink); }

.inline-link {
  border-bottom: 1px solid var(--ink-16);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.inline-link:hover { color: var(--oxide); border-bottom-color: var(--oxide); }
.band--ink .inline-link { border-bottom-color: var(--bone-18); }
.source .inline-link { border-bottom-color: currentColor; }

.intro-stack {
  display: grid;
  gap: clamp(18px, 2.6vw, 32px);
  margin-block: clamp(24px, 3vw, 40px) clamp(30px, 3.6vw, 52px);
}

/* Social icons with no verified destination are shown but never linked. */
.social__link.is-inert { cursor: default; opacity: .78; }
.social__link.is-inert:hover { background: none; color: var(--bone-72); border-color: var(--bone-18); }
.social__note {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .05em;
  color: var(--bone-45);
  margin-top: 14px;
  max-width: 30ch;
}

.form-status__actions { display: block; margin-top: 18px; }
.form-status__actions .btn { font-size: 10px; padding: 13px 22px; }

/* --------------------------------------------------------------------------
   14  LATE ADDITIONS / CORRECTIONS
   -------------------------------------------------------------------------- */

/* Career opener: text block + archival plate */
.career-open {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: end;
}

/* Moments grid wraps to a second row — reset the divider on each row start */
.moments .moment:nth-child(3n+1) { border-left: 0; padding-left: 0; }

/* Full-bleed figure inside the profile opening plate */
.fig--fill { width: 100%; }

/* Oxide button, for use on ink grounds */
.btn--oxide { background: var(--oxide); border-color: var(--oxide); color: var(--ink); }
.btn--oxide:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }

/* Flush rule */
.hr--flush { margin-bottom: 0; }
.shell--flush { padding-inline: 0; }

/* --------------------------------------------------------------------------
   15  EXACT-RATIO IMAGE FRAMES
   Each frame is given the source photograph's own aspect ratio, so
   object-fit:contain produces neither a crop nor a letterbox band. Faces are
   never cut and proportions are never altered.
   -------------------------------------------------------------------------- */
.ar-1600x900   { aspect-ratio: 1600 / 900; }   /* home  · commissioner portrait */
.ar-759x422    { aspect-ratio: 759 / 422; }    /* profile · portrait            */
.ar-1525x1920  { aspect-ratio: 1525 / 1920; }  /* career · early service        */
.ar-387x516    { aspect-ratio: 387 / 516; }    /* 3:4 sources                   */
.ar-675x1200   { aspect-ratio: 675 / 1200; }   /* command · briefing            */
.ar-417x479    { aspect-ratio: 417 / 479; }    /* office photographs            */
.ar-1201x800   { aspect-ratio: 1201 / 800; }   /* public service · community    */
.ar-800x1066   { aspect-ratio: 800 / 1066; }   /* recognition · BPR&D           */

.openfile__portrait { aspect-ratio: 1600 / 900; }
.cmd-open__plate    { aspect-ratio: 675 / 1200; max-width: 360px; }
.civic-hero         { aspect-ratio: 1201 / 800; }
.contact-plate      { aspect-ratio: 387 / 516; max-width: 380px; }

/* Tall plates should not tower over the copy beside them. */
.fig--tall .fig__frame { max-width: 420px; }

/* ==========================================================================
   16  CONTRAST PASS
   Every value below was measured against its ground. Small text now clears
   WCAG AA (4.5:1); rules, borders and outlines clear 3:1 as UI components.
   -------------------------------------------------------------------------- */
:root {
  /* Quiet text, strengthened: 3.8:1 -> 6.0:1 on paper */
  --ink-55: rgba(23, 25, 26, .68);
  /* Quiet text on ink, strengthened: 4.0:1 -> 6.3:1 */
  --bone-45: rgba(240, 237, 229, .62);

  /* Oxide has three weights: display, small-on-light, small-on-dark. */
  --oxide-deep: #A8482A;   /* 5.5:1 on paper — small text, light grounds */
  --oxide-lift: #DE7E5C;   /* 6.1:1 on ink   — small text, dark grounds  */
}

/* --- small oxide text on light grounds ---------------------------------- */
.marker__num,
.label--oxide,
.ledger__key,
.strip__idx,
.fig__cap b,
.openfile__meta dt,
.brief__k,
.principle__num,
.chrono__when b,
.language__terms b,
.wordmark__suffix,
.contact-card .label--oxide { color: var(--oxide-deep); }

/* --- small oxide text on ink grounds ------------------------------------ */
.band--ink .marker__num,
.band--ink .label--oxide,
.band--ink .ledger__key,
.band--ink .fig__cap b,
.menu-nav__num,
.districts li i,
.attrib__k,
.colophon__desig,
.statement__chain li:nth-child(odd) { color: var(--oxide-lift); }
.statement__chain li:nth-child(odd) { border-color: rgba(222, 126, 92, .48); }
.menu-nav__link:hover,
.menu-nav__link:focus-visible,
.menu-nav__link[aria-current="page"] { color: var(--oxide-lift); }

/* --- interactive states -------------------------------------------------- */
.btn:hover { background: var(--oxide-deep); border-color: var(--oxide-deep); color: var(--paper); }
.btn--oxide { background: var(--oxide-lift); border-color: var(--oxide-lift); color: var(--ink); }
.btn--oxide:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.inline-link:hover { color: var(--oxide-deep); border-bottom-color: var(--oxide-deep); }
.band--ink .inline-link:hover { color: var(--oxide-lift); border-bottom-color: var(--oxide-lift); }
a.contact-card__v:hover { color: var(--oxide-deep); border-bottom-color: var(--oxide-deep); }
.colophon__list a:hover,
.colophon__base a:hover { color: var(--oxide-lift); border-bottom-color: var(--oxide-lift); }
.social__link:hover { background: var(--oxide-lift); color: var(--ink); border-color: var(--oxide-lift); }
::selection { background: var(--oxide-deep); color: var(--paper); }

/* --- form error text ----------------------------------------------------- */
.field__err { color: #9C3E20; }

/* Paired photographs share one frame height so their tops and bottoms align.
   The shared ratio sits between the two sources, so each image is centred on
   the bone ground with a hairline of it either side — never cropped. */
.photo-pair .fig { display: flex; flex-direction: column; height: 100%; }
.photo-pair .fig__frame { aspect-ratio: 5 / 6; }
.photo-pair .fig__cap { margin-top: auto; padding-top: 11px; }
