/* =====================================================================
   INC3
   One typography system (Geist + Source Serif 4, strict roles).
   Pure dark surface. Gold as the only accent.
   ===================================================================== */

@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource-variable/geist/files/geist-latin-wght-normal.woff2') format('woff2-variations');
}

/* =====================================================================
   TOKENS
   ===================================================================== */
:root {
  /* surface */
  --bg:        #040506;
  --surface:   #0C0E11;
  --surface-2: #14181E;

  /* type */
  --bone:      #F4F2EE;
  --bone-2:    #C8C4B8;
  --steel:     #8A8E94;
  --steel-2:   #5A5E64;

  /* accent */
  --gold:      #DAA247;
  --gold-soft: #E5B764;

  /* lines */
  --hairline:        rgba(232, 226, 212, 0.10);
  --hairline-strong: rgba(232, 226, 212, 0.22);
  --hairline-gold:   rgba(217, 164, 65, 0.45);

  /* fonts */
  --sans:  'Geist Variable', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Source Serif 4', 'Source Serif Pro', 'Times New Roman', Georgia, serif;

  /* spacing */
  --pad-x: clamp(24px, 5vw, 72px);
  --pad-y: clamp(120px, 16vw, 220px);
  --max:   1320px;

  /* prose width — tight editorial column */
  --prose: 38rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--bg);
  font-feature-settings: "ss01", "ss02", "cv01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
hr { border: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

::selection { background: var(--gold); color: var(--bg); }
:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 4px;
  border-radius: 1px;
}

/* small caps, used sparingly for true acronyms */
.sc {
  font-variant-caps: all-small-caps;
  font-feature-settings: "c2sc", "smcp";
  letter-spacing: 0.06em;
  font-weight: 500;
}
.tnum { font-variant-numeric: tabular-nums; }

/* =====================================================================
   ANIMATIONS — used sparingly
   ===================================================================== */
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(217, 164, 65, 0.04); }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-chrome-right .live,
  .phase--active .phase-status .dot { animation: none !important; }
}

/* =====================================================================
   HEADER — minimal
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 5, 6, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.78; }
.brand-word {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.contact-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--bone-2);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s ease;
}
.contact-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.contact-link:hover { color: var(--gold); }
.contact-link:hover::after { transform: scaleX(1); }

.monogram { color: currentColor; }
.monogram--sm { width: 28px; height: 28px; }

/* header collapses to monogram-only on small screens so the
   four-item nav fits without crowding */
@media (max-width: 600px) {
  .brand-word { display: none; }
  .header-nav { gap: 14px; }
  .header-nav .contact-link { font-size: 12px; }
}

/* =====================================================================
   §00 HERO — full-screen, single statement
   ===================================================================== */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(140px, 18vw, 240px) var(--pad-x) clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(232, 226, 212, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 226, 212, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, rgba(0,0,0,0.95) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, rgba(0,0,0,0.95) 0%, transparent 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-thesis {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7.6vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--bone);
  max-width: 17ch;
  text-wrap: balance;
}
.hero-tag {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--steel);
  margin: clamp(28px, 3vw, 40px) 0 0;
  max-width: 44ch;
}

.hero-chrome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-chrome-left,
.hero-chrome-right {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-chrome-right .live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.18);
  animation: pulse-ring 2.4s ease-in-out infinite;
}

@media (max-width: 720px) {
  .hero-chrome { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =====================================================================
   SECTION FRAMEWORK — chapter marker + opener
   ===================================================================== */
.section {
  padding: var(--pad-y) 0;
  position: relative;
}
.section + .section { padding-top: 0; }

.chapter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: baseline;
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
  margin-bottom: clamp(80px, 11vw, 160px);
}
.chapter-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-feature-settings: "tnum";
}
.chapter-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0;
}
.chapter-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin: 0;
  text-align: right;
}
@media (max-width: 720px) {
  .chapter { grid-template-columns: auto 1fr; }
  .chapter-meta { display: none; }
}

.opener {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin: 0 0 clamp(40px, 6vw, 88px);
  max-width: 18ch;
  text-wrap: balance;
}
.opener--narrow { max-width: 14ch; }

.lede {
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--bone);
  margin: 0 0 clamp(40px, 6vw, 80px);
  max-width: 56ch;
}

/* =====================================================================
   §01 DOCTRINE
   ===================================================================== */
.doctrine .opener { margin-bottom: clamp(56px, 7vw, 96px); }

.prose {
  max-width: var(--prose);
  color: var(--bone);
}
.prose p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--bone-2);
  margin: 0 0 1.6em;
  font-weight: 400;
}
.prose p:last-child { margin-bottom: 0; }
.prose-lead {
  font-size: clamp(19px, 1.5vw, 22px) !important;
  line-height: 1.55 !important;
  color: var(--bone) !important;
  margin-bottom: 1.8em !important;
  font-weight: 400;
}

.fn-ref {
  font-size: 0.65em;
  vertical-align: super;
  line-height: 0;
  color: var(--gold);
  font-weight: 500;
  margin-left: 2px;
  text-decoration: none;
}

/* numbered claims — hanging Roman numerals, no card chrome */
.claim {
  display: grid;
  grid-template-columns: 5ch 1fr;
  column-gap: clamp(20px, 3vw, 40px);
  margin: clamp(64px, 8vw, 96px) 0;
  align-items: baseline;
}
.claim-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-feature-settings: "tnum";
  padding-top: 10px;
}
.claim-name {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--bone);
  margin: 0 0 24px;
  max-width: 22ch;
}
.claim p { margin: 0 0 1.4em; }
.claim p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .claim { grid-template-columns: 1fr; row-gap: 12px; }
  .claim-num { padding-top: 0; }
}

/* doctrine inline figure — break out wider than prose */
.figure-doctrine { margin: clamp(64px, 8vw, 112px) 0; }
.figure-doctrine .diagram { width: 100%; height: auto; }
.figure-doctrine figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  margin-top: 18px;
  max-width: 64ch;
}
.fig-num {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-right: 8px;
  font-feature-settings: "tnum";
}

/* pull-quote */
.pullquote {
  margin: clamp(96px, 12vw, 160px) auto;
  max-width: 32ch;
  text-align: center;
  position: relative;
}
.pullquote::before,
.pullquote::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}
.pullquote::before { margin-bottom: clamp(40px, 5vw, 64px); }
.pullquote::after  { margin-top: clamp(40px, 5vw, 64px); }
.pullquote p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--bone);
  margin: 0;
  text-wrap: balance;
}

/* notes */
.notes-divider {
  height: 1px;
  background: var(--hairline);
  margin: clamp(64px, 8vw, 96px) 0 32px;
  max-width: var(--prose);
}
.notes {
  display: grid;
  gap: 14px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--steel);
  max-width: var(--prose);
}
.notes li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 4px;
}
.note-num {
  color: var(--gold);
  font-weight: 500;
  font-feature-settings: "tnum";
}

/* =====================================================================
   FIGURES (shared)
   ===================================================================== */
.diagram {
  width: 100%;
  height: auto;
  color: var(--bone);
  background: transparent;
  font-family: var(--sans);
  font-feature-settings: "tnum";
}
.diagram .dg-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: currentColor;
  opacity: 0.55;
}
.diagram .dg-node-label {
  font-size: 9px;
  font-weight: 600;
  fill: var(--bg);
}
.diagram .dg-caption {
  font-size: 10px;
  font-weight: 400;
  fill: currentColor;
  opacity: 0.6;
}

.figure-full { margin: clamp(56px, 7vw, 96px) 0 0; }
.figure-full figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  margin-top: 18px;
  max-width: 72ch;
}

/* =====================================================================
   §02 SYSTEM
   ===================================================================== */
.system .opener { margin-bottom: clamp(40px, 6vw, 72px); }

.system-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--bone-2);
  max-width: 60ch;
  margin: 0 0 clamp(72px, 9vw, 120px);
  font-weight: 400;
}

.deployment { margin: 0 calc(var(--pad-x) * -0.4); }
@media (min-width: 1100px) {
  .deployment { margin: 0; }
}
.deployment .diagram {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(20px, 3vw, 40px);
}
.deployment figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  margin-top: 18px;
  max-width: 72ch;
}

/* spec strip — refined with stronger numerical emphasis */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--hairline);
}
.spec-strip > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2vw, 28px) clamp(28px, 3vw, 40px) 0;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.spec-strip > div:nth-child(4n) { border-right: 0; padding-right: 0; }
.spec-strip > div:nth-child(n+5) { border-bottom: 0; padding-bottom: 0; }
.spec-strip > div:not(:nth-child(4n+1)) { padding-left: clamp(20px, 2vw, 28px); }

.spec-key {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-2);
}
.spec-val {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.spec-val .unit {
  font-weight: 400;
  color: var(--bone-2);
  letter-spacing: 0.005em;
  font-size: 0.78em;
  margin-left: 4px;
}

@media (max-width: 880px) {
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec-strip > div { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 24px 20px 24px 0 !important; }
  .spec-strip > div:nth-child(2n) { border-right: 0; padding-right: 0 !important; }
  .spec-strip > div:nth-child(2n+1) { padding-left: 0 !important; }
  .spec-strip > div:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0 !important; }
}

/* nose / frontier subsections */
.nose { margin-top: clamp(96px, 12vw, 160px); }
.nose-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin: 0 0 24px;
}
.nose-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(40px, 5vw, 64px);
  max-width: 24ch;
  color: var(--bone);
}
.nose .diagram {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(24px, 3vw, 40px);
}
.nose figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  margin-top: 18px;
  max-width: 64ch;
}
.frontier-text {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--bone-2);
  max-width: 62ch;
  margin: 0 0 clamp(40px, 5vw, 64px);
  font-weight: 400;
}

/* =====================================================================
   §03 AUTONOMY
   ===================================================================== */
.autonomy-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(72px, 9vw, 120px);
}
.autonomy-grid .prose { max-width: 52ch; }
.autonomy-fig .diagram {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(20px, 2.5vw, 32px);
}
.autonomy-fig figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  margin-top: 14px;
}

.caps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
  max-width: 64rem;
}
.caps li {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(22px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.cap-key {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.cap-val {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bone-2);
  max-width: 60ch;
}
@media (max-width: 720px) {
  .autonomy-grid { grid-template-columns: 1fr; }
  .caps li { grid-template-columns: 1fr; gap: 8px; }
}

/* =====================================================================
   §04 PROGRAMME
   ===================================================================== */
.programme-intro {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--bone-2);
  max-width: 60ch;
  margin: 0 0 clamp(48px, 6vw, 80px);
  font-weight: 400;
}

.programme-timeline { margin: 0 0 clamp(64px, 8vw, 96px); }
.programme-timeline .diagram {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(20px, 3vw, 40px) clamp(8px, 2vw, 24px);
}
.programme-timeline figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  margin-top: 18px;
  max-width: 72ch;
}

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  max-width: 64rem;
}
.phase {
  padding: clamp(28px, 3vw, 36px) clamp(20px, 2vw, 28px) clamp(28px, 3vw, 36px) 0;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phase:nth-child(3n) { border-right: 0; padding-right: 0; }
.phase:not(:nth-child(3n+1)) { padding-left: clamp(20px, 2vw, 28px); }
.phase:nth-last-child(-n+3):nth-child(n+4) { border-bottom: 0; padding-bottom: 0; }

.phase-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.phase-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin: 0;
  font-feature-settings: "tnum";
}
.phase-status {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.phase-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.phase--active .phase-status { color: var(--gold); }
.phase--active .phase-status .dot {
  animation: dot-pulse 2.4s ease-in-out infinite;
}
.phase--closed .phase-status { color: var(--bone-2); }
.phase--closed .phase-status .dot { background: var(--bone-2); }
.phase--planned .phase-status { color: var(--steel-2); }
.phase--planned .phase-status .dot {
  background: transparent;
  border: 1px solid var(--steel-2);
  width: 5px; height: 5px;
}

.phase-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--bone);
  margin: 0;
}
.phase-date {
  font-size: 12px;
  color: var(--steel);
  margin: 0;
  font-feature-settings: "tnum";
  letter-spacing: 0.01em;
}
.phase-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone-2);
  margin: 0;
}

@media (max-width: 940px) {
  .phases { grid-template-columns: repeat(2, 1fr); }
  .phase { border-right: 1px solid var(--hairline); padding-right: clamp(20px, 2vw, 28px); padding-left: 0; }
  .phase:nth-child(3n) { border-right: 1px solid var(--hairline); padding-right: clamp(20px, 2vw, 28px); }
  .phase:nth-child(2n) { border-right: 0; padding-right: 0; }
  .phase:not(:nth-child(2n+1)) { padding-left: clamp(20px, 2vw, 28px); }
  .phase:nth-child(2n+1) { padding-left: 0; }
  .phase:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 540px) {
  .phases { grid-template-columns: 1fr; }
  .phase {
    border-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .phase:not(:last-child) { border-bottom: 1px solid var(--hairline); }
  .phase:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* =====================================================================
   §05 ACADEMY / §06 PROTECTION — reused from autonomy-grid pattern
   ===================================================================== */
.op-list {
  display: grid;
  gap: 0;
  margin-top: 0;
  border-top: 1px solid var(--hairline);
}
.op-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
  font-size: 14px;
  line-height: 1.5;
}
.op-list-key {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.op-list-val { color: var(--bone-2); }

@media (max-width: 540px) {
  .op-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* =====================================================================
   §07 CONTACT — huge email
   ===================================================================== */
.contact .opener { margin-bottom: 0; }

.contact-mail {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--bone);
  margin: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 112px);
  position: relative;
  transition: color 0.25s ease;
}
.contact-mail::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.contact-mail:hover { color: var(--gold); }
.contact-mail:hover::after { transform: scaleX(1); }

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(32px, 4vw, 48px);
  max-width: 56rem;
}
.cm-key {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 12px;
}
.cm-line {
  font-size: 16px;
  font-weight: 400;
  color: var(--bone);
  margin: 0 0 6px;
}
.cm-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  margin: 0;
}
.cm-note em { color: var(--bone); font-style: italic; }
@media (max-width: 720px) {
  .contact-meta { grid-template-columns: 1fr; gap: 32px; }
}

/* =====================================================================
   FOOTER — colophon
   ===================================================================== */
.site-footer {
  background: var(--bg);
  color: var(--steel-2);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--bone);
}
.foot-word {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--bone);
}
.foot-entity {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin: 0;
  text-align: center;
}
.foot-rights {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.005em;
  margin: 0;
  text-align: right;
  max-width: 32ch;
  line-height: 1.5;
  color: var(--steel-2);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .foot-entity, .foot-rights { text-align: left; max-width: none; }
}

/* =====================================================================
   MOBILE — diagram scrolling + vertical density
   The technical diagrams carry small SVG labels. Rather than let them
   shrink to illegibility, the diagram is held at a legible minimum
   width inside a horizontally-scrollable frame; the caption stays
   full-width below it. Section rhythm is tightened so the page does
   not feel padded-out on a phone.
   ===================================================================== */
@media (max-width: 720px) {
  :root { --pad-y: 92px; }

  .hero { padding-top: 116px; }
  .hero-thesis { letter-spacing: -0.022em; }

  .chapter { margin-bottom: 56px; }
  .nose { margin-top: 64px; }
  .pullquote { margin: 76px auto; }
  .deployment { margin: 0; }

  .figure-doctrine { margin: 56px 0; }
  .autonomy-grid { margin-bottom: 56px; }

  /* horizontally scrollable diagram frame */
  .dgm {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--steel-2) transparent;
  }
  .dgm::-webkit-scrollbar { height: 4px; }
  .dgm::-webkit-scrollbar-track { background: transparent; }
  .dgm::-webkit-scrollbar-thumb { background: var(--steel-2); border-radius: 2px; }
  .dgm > .diagram { min-width: 600px; }
  /* the mesh diagram is small enough to read scaled down — let it fit */
  .autonomy-fig .dgm > .diagram { min-width: 0; }
}

@media (max-width: 520px) {
  /* spec strip stacks to a single readable column */
  .spec-strip { grid-template-columns: 1fr; }
  .spec-strip > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--hairline) !important;
    padding: 22px 0 !important;
  }
  .spec-strip > div:first-child { padding-top: 0 !important; }
  .spec-strip > div:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
}
