/* ==========================================================
   MERIDIAN INTERMEDIARIES — Admiralty Charter
   IBM Plex Serif + IBM Plex Sans + IBM Plex Mono
   Parchment / Admiralty Navy / Compass Brass
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Palette — Admiralty */
  --parch:    #EDE5CD;
  --parch-2:  #F3ECD8;
  --parch-3:  #F8F3E7;

  --navy:     #0B1929;
  --navy-2:   #132236;
  --navy-3:   #1C3050;
  --navy-4:   #264060;

  --stone:    #556070;
  --stone-2:  #7A8899;
  --stone-3:  #A4B0BC;

  --brass:    #9E6D2A;
  --brass-2:  #B88438;
  --brass-3:  #D4A652;
  --brass-light: rgba(158,109,42,0.14);

  --rule:         rgba(11,25,41,0.12);
  --rule-soft:    rgba(11,25,41,0.06);
  --rule-strong:  rgba(11,25,41,0.22);
  --rule-navy:    rgba(11,25,41,0.08);

  --rule-light:      rgba(237,229,205,0.16);
  --rule-light-soft: rgba(237,229,205,0.08);

  --max:        1240px;
  --max-narrow: 960px;

  --t-fast: .22s cubic-bezier(.4,0,.2,1);
  --t-med:  .5s  cubic-bezier(.4,0,.2,1);
  --t-slow: .9s  cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parch);
  color: var(--navy);
  font-family: "IBM Plex Sans", system-ui, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* Paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.1  0 0 0 0 0.16  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }
html, body { max-width: 100%; overflow-x: hidden; }

.wrap, .container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px;
}

/* ---------- Typography ---------- */
.label, .eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
  flex-shrink: 0;
}
.label.light { color: var(--stone-3); }
.label.light::before { background: var(--brass-3); }
.label.no-rule::before { display: none; }

h1, h2, h3, h4 {
  font-family: "IBM Plex Serif", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.8rem); line-height: 1.0; }
h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.15; }
h4 { font-size: 1.1rem; font-weight: 500; line-height: 1.25; }

p { margin: 0; }

.lead {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--navy-3);
}

.body-text {
  font-size: 1.0rem;
  line-height: 1.7;
  color: var(--stone);
  max-width: 58ch;
}

.serif-quote {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.015em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--navy);
  color: var(--parch-3);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-4);
  border-color: var(--navy-4);
}
.btn-ghost {
  border-color: var(--rule-strong);
  color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--parch-3);
  border-color: var(--navy);
}
.btn-brass {
  background: var(--brass);
  color: var(--parch-3);
  border-color: var(--brass);
}
.btn-brass:hover {
  background: var(--brass-2);
  border-color: var(--brass-2);
}
.btn-light {
  border-color: var(--rule-light);
  color: var(--parch-2);
}
.btn-light:hover {
  background: var(--parch-2);
  color: var(--navy);
  border-color: var(--parch-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.text-link:hover::after { transform: scaleX(0.55); }
.text-link.light { color: var(--parch-2); }
.text-link.light::after { background: var(--brass-3); }
.text-link .arrow { transition: transform var(--t-fast); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 0 36px;
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.site-header.scrolled {
  background: rgba(237, 229, 205, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--rule);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

/* Brand — user's SVG mark inline, currentColor for marks, --logo-bg for cutouts */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Real PNG logo — fallback only, hidden by default */
.brand-logo-img {
  display: none;
}

/* SVG mark always visible — uses currentColor for fills, --logo-bg for cutouts */
.brand-svg-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--navy);
  transition: opacity var(--t-fast);
}
.brand:hover .brand-svg-mark { opacity: 0.78; }
.brand-svg-mark .logo-cutout { fill: var(--parch); }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-name {
  font-family: "IBM Plex Serif", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1;
}
.brand-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1;
}

/* Dark header variant */
.site-header.dark .brand-svg-mark { opacity: 0.9; }
.site-header.dark .brand-name { color: var(--parch-2); }
.site-header.dark .brand-sub { color: var(--stone-3); }
.site-header.dark.scrolled {
  background: rgba(11,25,41,0.92);
  border-bottom-color: var(--rule-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 10px 16px;
  position: relative;
  transition: color var(--t-fast);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.is-active {
  color: var(--navy);
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px;
  background: var(--brass);
}
.site-header.dark .main-nav a { color: var(--stone-3); }
.site-header.dark .main-nav a:hover { color: var(--parch-2); }
.site-header.dark .main-nav a.is-active { color: var(--parch-2); }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--rule-strong);
  padding: 9px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
}
.site-header.dark .menu-btn {
  border-color: var(--rule-light);
  color: var(--parch-2);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  padding: 10px 0;
  background: rgba(237,229,205,0.97);
}
.mobile-nav a {
  padding: 14px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Hero — split layout ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--parch);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px 60px 80px 36px;
  padding-left: max(36px, calc((100vw - var(--max)) / 2 + 36px));
  border-right: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}

.hero-coords {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 48px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-coords span { color: var(--brass); }

.hero-title {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 36px;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
}

.hero-desc {
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--stone);
  max-width: 38ch;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-meta {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-meta-item {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.6;
}
.hero-meta-item strong {
  display: block;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Navigation chart (hero right) ---------- */
.hero-right {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.nav-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Grid lines */
.chart-grid line {
  stroke: rgba(164, 176, 188, 0.12);
  stroke-width: 0.75;
}

/* Continent fills */
.continent {
  fill: rgba(38, 64, 96, 0.65);
  stroke: rgba(164, 176, 188, 0.25);
  stroke-width: 0.5;
}

/* Route lines */
.route {
  fill: none;
  stroke: var(--brass-3);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
.route.dashed {
  stroke-dasharray: 6 5;
  stroke-opacity: 0.5;
}

.route-1 { animation: drawRoute 3.5s cubic-bezier(.4,0,.2,1) 0.4s forwards; }
.route-2 { animation: drawRoute 3s cubic-bezier(.4,0,.2,1) 1.2s forwards; }
.route-3 { animation: drawRoute 2.5s cubic-bezier(.4,0,.2,1) 1.9s forwards; }
.route-4 { animation: drawRoute 2s cubic-bezier(.4,0,.2,1) 2.5s forwards; }

@keyframes drawRoute {
  to { stroke-dashoffset: 0; }
}

/* Port markers */
.port-dot {
  fill: var(--brass-3);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}
.port-dot.d1 { animation-delay: 3.2s; }
.port-dot.d2 { animation-delay: 3.8s; }
.port-dot.d3 { animation-delay: 4.2s; }
.port-dot.d4 { animation-delay: 4.6s; }
.port-dot.d5 { animation-delay: 5s; }

.port-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  fill: var(--stone-3);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}
.port-label.d1 { animation-delay: 3.3s; }
.port-label.d2 { animation-delay: 3.9s; }
.port-label.d3 { animation-delay: 4.3s; }
.port-label.d4 { animation-delay: 4.7s; }
.port-label.d5 { animation-delay: 5.1s; }

.chart-overlay-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 7.5px;
  letter-spacing: 0.18em;
  fill: rgba(164, 176, 188, 0.3);
  text-transform: uppercase;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Compass rose */
.compass {
  animation: fadeIn 1s ease 5.5s both;
}

/* Chart caption bar */
.chart-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(11,25,41,0.75);
  backdrop-filter: blur(4px);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(164,176,188,0.15);
}
.chart-caption-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-3);
}
.chart-caption-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--brass-3);
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 120px 36px 60px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .hero-right {
    height: 360px;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section.tight { padding: 60px 0; }
.section.tight-t { padding-top: 60px; }

.section.dark {
  background: var(--navy);
  color: var(--parch-2);
}
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: var(--parch-2); }
.section.dark .body-text { color: var(--stone-3); }
.section.dark .lead { color: var(--stone-2); }
.section.dark .serif-quote { color: var(--parch-2); }

.section.cream { background: var(--parch-3); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.section.dark .section-head { border-color: var(--rule-light); }
.section-head .left .label { margin-bottom: 24px; display: inline-flex; }
.section-head h2 { max-width: 14ch; }
.section-head .right .body-text { max-width: 44ch; }
.section-head .right { padding-bottom: 4px; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 80px 0; }
}

/* ---------- What we do ---------- */
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.what-item {
  padding: 56px 48px;
  border-right: 1px solid var(--rule);
  transition: background var(--t-med);
}
.what-item:nth-child(2n) { border-right: none; }
.what-item:hover { background: var(--parch-3); }

.what-article-label {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.what-item h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  margin-bottom: 16px;
}
.what-item .body-text { margin-bottom: 32px; }
.what-list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.what-list li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--stone);
  line-height: 1.5;
}
.what-list li::before {
  content: "—";
  color: var(--brass);
  font-family: "IBM Plex Mono", monospace;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .what-grid { grid-template-columns: 1fr; }
  .what-item { padding: 40px 0; border-right: none; }
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.process-step {
  padding: 0 40px;
  border-right: 1px solid var(--rule-light);
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: none; padding-right: 0; }

.step-glyph {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(164,176,188,0.3);
  display: grid;
  place-items: center;
  margin-bottom: 48px;
}
.step-glyph svg { width: 26px; height: 26px; }

.step-ref {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-3);
  margin-bottom: 16px;
  display: block;
}
.process-step h3 {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--parch-2);
}
.process-step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--stone-3);
  max-width: 30ch;
}

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 56px; }
  .process-step { padding: 0; border-right: none; }
}

/* ---------- Interactive Contract Document ---------- */
.contract-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contract-intro .label { margin-bottom: 28px; display: inline-flex; }
.contract-intro h2 { margin-bottom: 24px; }
.contract-intro .lead { margin-bottom: 36px; max-width: 36ch; }
.contract-intro .body-text { margin-bottom: 32px; }

/* The document itself */
.contract-doc {
  background: var(--parch-3);
  border: 1px solid var(--rule);
  position: relative;
  box-shadow: 0 20px 60px rgba(11,25,41,0.1), 0 4px 12px rgba(11,25,41,0.06);
  font-family: "IBM Plex Serif", serif;
}

.contract-doc-header {
  background: var(--navy);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contract-doc-ref {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-3);
}
.contract-doc-seal {
  width: 36px;
  height: 36px;
  opacity: 0.7;
}

.contract-doc-title {
  padding: 24px 28px 0;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 20px;
}
.contract-doc-title h4 {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.contract-doc-subtitle {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.contract-articles {
  padding: 4px 0;
}

.contract-article {
  padding: 18px 28px;
  border-bottom: 1px solid var(--rule-soft);
  cursor: pointer;
  transition: background var(--t-fast);
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 90px;
  gap: 14px;
  align-items: start;
}
.contract-article:last-child { border-bottom: none; }
.contract-article:hover { background: rgba(158,109,42,0.05); }
.contract-article.active { background: rgba(158,109,42,0.08); }

.article-no {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  padding-top: 2px;
  line-height: 1.4;
}

.article-body { }
.article-type {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 8px;
  border: 1px solid;
}
.article-type.evidence { color: #2C5F4A; border-color: rgba(44,95,74,0.3); background: rgba(44,95,74,0.07); }
.article-type.compliance { color: var(--navy-3); border-color: rgba(28,48,80,0.25); background: rgba(28,48,80,0.06); }
.article-type.delivery { color: #6B3A1A; border-color: rgba(107,58,26,0.3); background: rgba(107,58,26,0.07); }

.article-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--stone);
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 300;
}

.article-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.verified { background: #2C5F4A; }
.status-dot.review { background: var(--brass); animation: pulse 2s ease infinite; }
.status-dot.pending { background: var(--stone-2); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.status-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.status-text.verified { color: #2C5F4A; }
.status-text.review { color: var(--brass); }
.status-text.pending { color: var(--stone); }

/* Expanded article annotation */
.article-annotation {
  display: none;
  grid-column: 2 / 4;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--parch);
  border-left: 2px solid var(--brass);
  font-size: 13px;
  line-height: 1.55;
  color: var(--stone);
}
.contract-article.active .article-annotation { display: block; }

.contract-doc-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11,25,41,0.03);
}
.contract-doc-footer-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-2);
}
.contract-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contract-progress-bar {
  width: 80px;
  height: 3px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.contract-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--brass);
  transition: width 0.6s ease;
}
.contract-progress-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--brass);
}

@media (max-width: 1000px) {
  .contract-section { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 680px) {
  .contract-article { grid-template-columns: 60px 1fr; }
  .article-status { display: none; }
}

/* ---------- Deliverables ---------- */
.deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.deliverable {
  padding: 52px 36px;
  border-right: 1px solid var(--rule);
  transition: background var(--t-med);
}
.deliverable:last-child { border-right: none; }
.deliverable:hover { background: var(--parch-3); }

.deliverable-mark {
  width: 64px;
  height: 64px;
  border: 1px solid var(--rule-strong);
  display: grid;
  place-items: center;
  margin-bottom: 40px;
  background: var(--parch);
  transition: background var(--t-med), transform var(--t-slow);
}
.deliverable:hover .deliverable-mark {
  background: var(--navy);
  transform: rotate(-3deg);
}
.deliverable-mark svg { width: 28px; height: 28px; }
.deliverable h3 { margin-bottom: 14px; }
.deliverable p { font-size: 14.5px; line-height: 1.65; color: var(--stone); margin-bottom: 28px; }
.deliverable-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-2);
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  display: block;
}

@media (max-width: 900px) {
  .deliverables { grid-template-columns: 1fr; }
  .deliverable { border-right: none; border-bottom: 1px solid var(--rule); }
  .deliverable:last-child { border-bottom: none; }
}

/* ---------- Outcomes ---------- */
.outcomes-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}
.quote-side {
  padding-right: 40px;
  position: relative;
}
.quote-mark {
  font-family: "IBM Plex Serif", serif;
  font-size: 120px;
  line-height: 1;
  color: var(--brass);
  position: absolute;
  left: -16px; top: -50px;
  opacity: 0.2;
  font-style: italic;
  font-weight: 300;
  pointer-events: none;
}
.outcome-list { display: flex; flex-direction: column; }
.outcome-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.outcome-row:last-child { border-bottom: 1px solid var(--rule); }
.outcome-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--brass);
  padding-top: 3px;
}
.outcome-row h4 {
  font-family: "IBM Plex Serif", serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.outcome-row p { font-size: 14.5px; line-height: 1.6; color: var(--stone); max-width: 38ch; }

@media (max-width: 900px) {
  .outcomes-block { grid-template-columns: 1fr; gap: 50px; }
  .quote-side { padding-right: 0; }
}

/* ---------- Group cards ---------- */
.group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.group-card {
  background: var(--navy-2);
  border: 1px solid var(--rule-light);
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med);
}
.group-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,166,82,0.3);
}
.group-card::after {
  content: "";
  position: absolute;
  inset: auto auto -100px -100px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brass) 0%, transparent 70%);
  opacity: 0.05;
  transition: opacity var(--t-med);
}
.group-card:hover::after { opacity: 0.12; }

.group-card-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--stone-3);
  position: absolute;
  top: 28px; right: 28px;
}
.group-icon {
  width: 56px; height: 56px;
  margin-bottom: 36px;
}
.group-icon svg { width: 100%; height: 100%; stroke: var(--parch-2); }

.group-card .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-3);
  margin-bottom: 14px;
  display: block;
}
.group-card h3 {
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--parch-2);
}
.group-card p { font-size: 14.5px; line-height: 1.6; color: var(--stone-3); }

@media (max-width: 900px) { .group-grid { grid-template-columns: 1fr; } }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--parch);
  padding: 100px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 50%, rgba(158,109,42,0.07), transparent 55%);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
}
.cta-inner h2 { font-size: clamp(2.2rem, 4vw, 4rem); margin-bottom: 24px; }
.cta-inner h2 em { font-weight: 300; color: var(--brass); }
.cta-inner .lead { max-width: 36ch; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
.cta-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-actions { align-items: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--parch-2);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "MERIDIAN";
  position: absolute;
  bottom: -16px; left: 0; right: 0;
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.85;
  color: var(--navy-3);
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.04em;
  opacity: 0.55;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule-light);
  position: relative;
  z-index: 1;
}

.footer-brand .brand-svg-mark {
  display: block;
  width: 56px;
  height: 56px;
  color: var(--parch-2);
}
.footer-brand .brand-svg-mark .logo-cutout { fill: var(--navy); }
.footer-brand .brand-name { color: var(--parch-2); }
.footer-brand .brand-sub { color: var(--stone-3); }

.footer-statement {
  margin-top: 28px;
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--parch-2);
  max-width: 30ch;
}

.footer-col h5 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-3);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--stone-2); font-size: 14.5px; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--brass-3); }
.footer-col li.plain { color: var(--stone-2); font-size: 14.5px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-3);
  position: relative;
  z-index: 1;
}
.footer-bottom a { color: var(--stone-3); margin-left: 22px; }
.footer-bottom a:hover { color: var(--brass-3); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   INNER PAGE — SUBHERO
   ============================================================ */
.subhero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.subhero-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  margin-bottom: 56px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.subhero-meta strong { display: block; color: var(--navy); font-weight: 500; margin-top: 4px; }
.subhero h1 { margin-bottom: 44px; }
.subhero h1 em { font-style: italic; font-weight: 300; color: var(--brass); }
.subhero-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .subhero { padding: 130px 0 60px; }
  .subhero-bottom { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   APPROACH / SERVICES
   ============================================================ */
/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.principle {
  padding: 52px 36px;
  border-right: 1px solid var(--rule);
}
.principle:last-child { border-right: none; }
.principle .num {
  font-family: "IBM Plex Serif", serif;
  font-size: 56px;
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 32px;
}
.principle h3 { margin-bottom: 16px; }
.principle p { font-size: 14.5px; line-height: 1.65; color: var(--stone); }

@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: none; border-bottom: 1px solid var(--rule); }
  .principle:last-child { border-bottom: none; }
}

/* Chapter accordion */
.chapter-list { border-top: 1px solid var(--rule); }
.chapter { border-bottom: 1px solid var(--rule); }
.chapter[open] { background: rgba(243,236,216,0.5); }

.chapter > summary {
  list-style: none;
  cursor: pointer;
  padding: 36px 0;
  display: grid;
  grid-template-columns: 76px 1fr 44px;
  gap: 28px;
  align-items: center;
  transition: padding-left var(--t-fast);
}
.chapter > summary::-webkit-details-marker { display: none; }
.chapter > summary:hover { padding-left: 10px; }

.chapter-num {
  font-family: "IBM Plex Serif", serif;
  font-size: 44px;
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
  line-height: 1;
}
.chapter-title {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
}
.chapter-toggle {
  width: 40px; height: 40px;
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center;
  position: relative;
  transition: background var(--t-fast);
}
.chapter-toggle::before, .chapter-toggle::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform var(--t-fast), background var(--t-fast);
}
.chapter-toggle::before { width: 12px; height: 1px; }
.chapter-toggle::after { width: 1px; height: 12px; }
.chapter[open] .chapter-toggle { background: var(--navy); }
.chapter[open] .chapter-toggle::before { background: var(--parch-2); }
.chapter[open] .chapter-toggle::after { background: var(--parch-2); transform: scaleY(0); }

.chapter-body {
  padding: 0 0 52px 104px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  animation: fadeSlide .4s ease both;
}
.chapter-body h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
  font-weight: 500;
}
.chapter-body p, .chapter-body li {
  font-size: 14.5px; line-height: 1.65; color: var(--stone);
}
.chapter-body ul { list-style: none; padding: 0; margin: 0; }
.chapter-body li { display: flex; gap: 10px; padding: 5px 0; }
.chapter-body li::before { content: "—"; color: var(--brass); flex-shrink: 0; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .chapter > summary { grid-template-columns: 50px 1fr 40px; gap: 16px; padding: 24px 0; }
  .chapter-num { font-size: 32px; }
  .chapter-body { grid-template-columns: 1fr; padding: 0 0 36px; gap: 22px; }
}

/* Inputs */
.inputs-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.input-cell {
  padding: 48px 36px;
  border-right: 1px solid var(--rule);
}
.input-cell:last-child { border-right: none; }
.input-cell h4 {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--navy);
}
.input-cell p { font-size: 14.5px; line-height: 1.6; color: var(--stone); }

@media (max-width: 900px) {
  .inputs-band { grid-template-columns: 1fr; }
  .input-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .input-cell:last-child { border-bottom: none; }
}

/* Quality gates */
.quality-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quality-cell {
  padding: 32px 16px;
  border-right: 1px solid var(--rule);
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  text-align: center;
  color: var(--parch-2);
  transition: background var(--t-med);
}
.quality-cell:last-child { border-right: none; }
.quality-cell:hover { background: rgba(158,109,42,0.15); color: var(--brass-3); }

@media (max-width: 900px) {
  .quality-row { grid-template-columns: 1fr 1fr; }
  .quality-cell:nth-child(2n) { border-right: none; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.offer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.offer-strip-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
}
.offer-strip-cell:last-child { border-right: none; }
.offer-strip-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}
.offer-strip-value {
  font-family: "IBM Plex Serif", serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--navy);
}

@media (max-width: 900px) {
  .offer-strip { grid-template-columns: 1fr; }
  .offer-strip-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .offer-strip-cell:last-child { border-bottom: none; }
}

/* Engagement models */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.engagement-card {
  border: 1px solid var(--rule);
  padding: 44px 32px;
  background: var(--parch-3);
  transition: background var(--t-med), transform var(--t-med);
  position: relative;
}
.engagement-card:hover {
  background: var(--navy);
  transform: translateY(-4px);
}
.engagement-card:hover h3,
.engagement-card:hover .engagement-tag,
.engagement-card:hover .body-text { color: var(--parch-2) !important; }
.engagement-card:hover li { color: var(--stone-3) !important; }
.engagement-card:hover li strong { color: var(--parch-2) !important; }
.engagement-card:hover .engagement-rule { background: var(--rule-light); }

.engagement-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
  display: block;
  transition: color var(--t-med);
}
.engagement-card h3 {
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 20px;
  transition: color var(--t-med);
}
.engagement-rule { height: 1px; background: var(--rule); margin: 20px 0; transition: background var(--t-med); }
.engagement-card ul { list-style: none; padding: 0; margin: 0; }
.engagement-card li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--stone);
  transition: color var(--t-med);
}
.engagement-card li strong {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 3px;
  color: var(--navy);
  transition: color var(--t-med);
}

@media (max-width: 900px) { .engagement-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GROUP PAGE
   ============================================================ */
.discipline-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.discipline-row:last-child { border-bottom: 1px solid var(--rule); }

.discipline-mark {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.discipline-glyph {
  width: 96px;
  height: 96px;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  background: var(--parch-3);
}
.discipline-glyph svg { width: 48px; height: 48px; }
.discipline-mark-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.discipline-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 22px;
}
.discipline-copy h3 em { font-weight: 300; color: var(--brass); }
.discipline-copy .lead { margin-bottom: 36px; max-width: 44ch; }
.discipline-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.discipline-detail h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
  font-weight: 500;
}
.discipline-detail p, .discipline-detail li { font-size: 14px; line-height: 1.65; color: var(--stone); }
.discipline-detail ul { list-style: none; padding: 0; margin: 0; }
.discipline-detail li { display: flex; gap: 8px; padding: 4px 0; }
.discipline-detail li::before { content: "—"; color: var(--brass); flex-shrink: 0; }

@media (max-width: 900px) {
  .discipline-row { grid-template-columns: 1fr; gap: 28px; padding: 50px 0; }
  .discipline-mark { position: static; flex-direction: row; align-items: center; }
  .discipline-detail { grid-template-columns: 1fr; }
}

/* Lifecycle */
.lifecycle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.lifecycle-cell {
  padding: 44px 32px;
  border-right: 1px solid var(--rule);
}
.lifecycle-cell:last-child { border-right: none; }
.lifecycle-stage {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}
.lifecycle-lead {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--navy);
}
.lifecycle-cell p { font-size: 14.5px; line-height: 1.6; color: var(--stone); }

@media (max-width: 900px) {
  .lifecycle { grid-template-columns: 1fr; }
  .lifecycle-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .lifecycle-cell:last-child { border-bottom: none; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.briefing-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.briefing-strip-cell { padding: 28px 28px; border-right: 1px solid var(--rule); }
.briefing-strip-cell:last-child { border-right: none; }

.briefing-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
.briefing-side h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 16px;
  font-weight: 500;
}
.briefing-side .block { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.briefing-side .block:first-child { padding-top: 0; }
.briefing-side .block:last-child { border-bottom: none; }
.briefing-side ul { list-style: none; padding: 0; margin: 0; }
.briefing-side li { padding: 6px 0; font-size: 14.5px; color: var(--stone); display: flex; gap: 10px; }
.briefing-side li::before { content: "—"; color: var(--brass); }
.briefing-details { display: grid; gap: 10px; }
.briefing-details-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.briefing-details-row strong { color: var(--navy); font-weight: 500; }
.briefing-details-row span { color: var(--stone); }

.form-shell {
  border: 1px solid var(--rule);
  padding: 44px;
  background: var(--parch-3);
  position: relative;
}
.form-shell h3 {
  font-family: "IBM Plex Serif", serif;
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 36px;
  color: var(--navy);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-field label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 11px 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  color: var(--navy);
  outline: none;
  transition: border-color var(--t-fast);
}
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--brass); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-actions {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .briefing-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-shell { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .briefing-strip { grid-template-columns: 1fr; }
  .briefing-strip-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .briefing-strip-cell:last-child { border-bottom: none; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
body.legal .subhero { padding: 140px 0 50px; }
body.legal .legal-section { padding: 36px 0; border-top: 1px solid var(--rule); }
body.legal .legal-section h2 {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
body.legal .legal-section p {
  font-size: 14.5px; line-height: 1.7; color: var(--stone);
  max-width: 68ch; margin-bottom: 12px;
}
body.legal .legal-section ul { list-style: none; padding: 0; margin: 0; max-width: 68ch; }
body.legal .legal-section li {
  display: flex; gap: 10px; padding: 6px 0;
  font-size: 14.5px; color: var(--stone); line-height: 1.65;
}
body.legal .legal-section li::before { content: "—"; color: var(--brass); flex-shrink: 0; }
body.legal .legal-section b { color: var(--navy); font-weight: 500; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .32s; }
.reveal.delay-4 { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Helpers */
.muted { color: var(--stone); }
.divider { height: 1px; background: var(--rule); border: none; margin: 0; }

/* ============================================================
   DISCIPLINE PAGES — shared structure
   ============================================================ */

/* Discipline hero — split layout with thematic visual */
.discipline-hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--parch);
  border-bottom: 1px solid var(--rule);
}
.discipline-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 60px 80px 36px;
  padding-left: max(36px, calc((100vw - var(--max)) / 2 + 36px));
  border-right: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}
.discipline-hero-right {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.discipline-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.discipline-tag::before {
  content: "";
  width: 26px; height: 1px; background: var(--brass);
}
.discipline-hero-title {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 36px;
}
.discipline-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
}
.discipline-hero-desc {
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--stone);
  max-width: 42ch;
  margin-bottom: 44px;
}
.discipline-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  .discipline-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .discipline-hero-left {
    padding: 120px 36px 60px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .discipline-hero-right { height: 380px; }
}

/* ============================================================
   COMPLIANCE — Evidence Library Visualization
   ============================================================ */
.evidence-vault {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 60px;
  background: var(--navy);
}
.evidence-vault::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(164,176,188,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164,176,188,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.vault-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  z-index: 2;
}
.vault-doc {
  position: relative;
  background: var(--parch-3);
  margin: 0 0 -180px;
  padding: 28px 32px 40px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  transform: translateX(0) rotate(0deg);
  transition: transform var(--t-slow);
  border-left: 3px solid var(--brass);
  font-family: "IBM Plex Serif", serif;
}
.vault-doc:nth-child(1) { transform: translateX(-12px) rotate(-2.2deg); z-index: 3; }
.vault-doc:nth-child(2) { transform: translateX(8px) rotate(1.4deg); z-index: 2; }
.vault-doc:nth-child(3) { transform: translateX(-4px) rotate(-0.8deg); z-index: 1; }
.evidence-vault:hover .vault-doc:nth-child(1) { transform: translateX(-22px) rotate(-3.5deg); }
.evidence-vault:hover .vault-doc:nth-child(2) { transform: translateX(16px) rotate(2.5deg); }

.vault-doc-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.vault-doc-ref {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.vault-doc-status {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid;
  background: rgba(44,95,74,0.07);
  color: #2C5F4A;
  border-color: rgba(44,95,74,0.3);
}
.vault-doc-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--navy);
}
.vault-doc-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--stone);
}
.vault-doc-lines {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vault-doc-line {
  height: 4px;
  background: rgba(11,25,41,0.08);
  border-radius: 1px;
}
.vault-doc-line.short { width: 60%; }
.vault-doc-line.med { width: 82%; }

/* Evidence categories */
.evidence-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.evidence-cat {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  cursor: pointer;
  transition: background var(--t-med);
}
.evidence-cat:nth-child(2n) { border-right: none; }
.evidence-cat:hover { background: var(--parch-3); }
.evidence-cat:hover .evidence-cat-arrow { transform: translateX(6px); color: var(--brass); }
.evidence-cat-no {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-2);
  margin-bottom: 14px;
}
.evidence-cat h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.evidence-cat h3 em { font-style: italic; font-weight: 400; color: var(--brass); }
.evidence-cat p { font-size: 14px; line-height: 1.6; color: var(--stone); margin-bottom: 18px; }
.evidence-cat ul {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--rule); padding-top: 14px;
}
.evidence-cat li {
  display: flex; gap: 10px; padding: 4px 0;
  font-size: 13px; color: var(--stone);
}
.evidence-cat li::before { content: "—"; color: var(--brass); flex-shrink: 0; }
.evidence-cat-arrow {
  position: absolute; top: 40px; right: 36px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--stone-2);
  transition: transform var(--t-fast), color var(--t-fast);
}

@media (max-width: 900px) {
  .evidence-categories { grid-template-columns: 1fr; }
  .evidence-cat { border-right: none; }
}

/* ============================================================
   PROCUREMENT — Scoring Matrix Visualization
   ============================================================ */
.scoring-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 60px 50px;
  background: var(--navy);
}
.scoring-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(164,176,188,0.04) 1px, transparent 1px);
  background-size: 100% 28px;
  pointer-events: none;
}
.score-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: var(--parch-3);
  padding: 28px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.4);
  font-family: "IBM Plex Serif", serif;
}
.score-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 2px solid var(--navy);
}
.score-card-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.score-card-bid {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--brass);
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto 70px;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.score-row:last-child { border-bottom: none; }
.score-criterion {
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}
.score-criterion small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--stone);
  margin-top: 2px;
}
.score-bar {
  width: 100px;
  height: 4px;
  background: rgba(11,25,41,0.1);
  position: relative;
  overflow: hidden;
}
.score-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--brass);
  width: 0;
  animation: scoreFill 1.6s cubic-bezier(.4,0,.2,1) forwards;
}
.score-row[data-score="92"] .score-bar-fill { animation-delay: 0.3s; --w: 92%; }
.score-row[data-score="88"] .score-bar-fill { animation-delay: 0.5s; --w: 88%; }
.score-row[data-score="95"] .score-bar-fill { animation-delay: 0.7s; --w: 95%; }
.score-row[data-score="86"] .score-bar-fill { animation-delay: 0.9s; --w: 86%; }
.score-row[data-score="91"] .score-bar-fill { animation-delay: 1.1s; --w: 91%; }

@keyframes scoreFill {
  to { width: var(--w); }
}

.score-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--brass);
  letter-spacing: 0.04em;
  text-align: right;
}
.score-card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.score-card-total-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}
.score-card-total {
  font-family: "IBM Plex Serif", serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.score-card-total em { font-style: italic; color: var(--brass); }

/* ============================================================
   INTERMEDIATION — Delivery Flow Diagram
   ============================================================ */
.delivery-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 60px;
  background: var(--navy);
  overflow: hidden;
}
.delivery-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(158,109,42,0.06), transparent 60%);
  pointer-events: none;
}
.delivery-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  position: relative;
  z-index: 2;
}
.delivery-svg .conn {
  stroke: rgba(212,166,82,0.4);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawConn 2s cubic-bezier(.4,0,.2,1) forwards;
}
.delivery-svg .conn.d1 { animation-delay: 0.4s; }
.delivery-svg .conn.d2 { animation-delay: 0.7s; }
.delivery-svg .conn.d3 { animation-delay: 1s; }
.delivery-svg .conn.d4 { animation-delay: 1.3s; }
.delivery-svg .conn.d5 { animation-delay: 1.6s; }

@keyframes drawConn {
  to { stroke-dashoffset: 0; }
}

.delivery-svg .node {
  fill: var(--parch-3);
  stroke: var(--brass);
  stroke-width: 1.5;
  opacity: 0;
  animation: nodeFade 0.5s ease forwards;
}
.delivery-svg .node-central {
  fill: var(--brass);
  stroke: var(--brass-3);
  stroke-width: 2;
}
.delivery-svg .node.n1 { animation-delay: 1.8s; }
.delivery-svg .node.n2 { animation-delay: 2s; }
.delivery-svg .node.n3 { animation-delay: 2.2s; }
.delivery-svg .node.n4 { animation-delay: 2.4s; }
.delivery-svg .node.n5 { animation-delay: 2.6s; }
.delivery-svg .node.n0 { animation-delay: 0.2s; }
.delivery-svg .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--parch-2);
  opacity: 0;
  animation: nodeFade 0.5s ease forwards;
}
.delivery-svg .label.l1 { animation-delay: 1.9s; }
.delivery-svg .label.l2 { animation-delay: 2.1s; }
.delivery-svg .label.l3 { animation-delay: 2.3s; }
.delivery-svg .label.l4 { animation-delay: 2.5s; }
.delivery-svg .label.l5 { animation-delay: 2.7s; }
.delivery-svg .label.l0 { animation-delay: 0.3s; fill: var(--brass-3); font-weight: 500; }

@keyframes nodeFade {
  to { opacity: 1; }
}

/* ============================================================
   INTELLIGENCE — Demand Source Scanner
   ============================================================ */
.scanner-frame {
  position: absolute;
  inset: 0;
  background: var(--navy);
  overflow: hidden;
}
.scanner-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(164,176,188,0.06) 1px, transparent 1px);
  background-size: 100% 24px;
  pointer-events: none;
}
.scanner-feed {
  position: absolute;
  inset: 0;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 2;
}
.scanner-head {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scanner-head-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scanner-head-title::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brass);
  animation: pulse 1.6s ease infinite;
}
.scanner-head-status {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--stone-3);
}

.opp-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}
.opp-row {
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--brass);
  padding: 12px 14px;
  font-family: "IBM Plex Mono", monospace;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  opacity: 0;
  animation: oppSlideIn 0.6s cubic-bezier(.4,0,.2,1) forwards;
  transition: background var(--t-fast);
}
.opp-row:hover { background: rgba(255,255,255,0.06); }
.opp-row.r1 { animation-delay: 0.4s; }
.opp-row.r2 { animation-delay: 0.7s; }
.opp-row.r3 { animation-delay: 1s; }
.opp-row.r4 { animation-delay: 1.3s; }
.opp-row.r5 { animation-delay: 1.6s; }

@keyframes oppSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.opp-source {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--brass-3);
  background: rgba(158,109,42,0.12);
  padding: 3px 6px;
  border: 1px solid rgba(158,109,42,0.3);
}
.opp-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11.5px;
  color: var(--parch-2);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.opp-title small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  color: var(--stone-3);
  letter-spacing: 0.12em;
  margin-top: 3px;
  text-transform: uppercase;
}
.opp-value {
  font-size: 10.5px;
  color: var(--brass-3);
  letter-spacing: 0.06em;
  text-align: right;
}

/* Source registry */
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.source-card {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background var(--t-med);
}
.source-card:nth-child(3n) { border-right: none; }
.source-card:hover { background: var(--parch-3); }
.source-acronym {
  font-family: "IBM Plex Serif", serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}
.source-acronym em { font-style: italic; color: var(--brass); }
.source-region {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-2);
  margin-bottom: 16px;
}
.source-card p { font-size: 13.5px; line-height: 1.6; color: var(--stone); }

@media (max-width: 900px) {
  .source-grid { grid-template-columns: 1fr; }
  .source-card { border-right: none; }
}

/* Two-stage commercial model */
.stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  border-top: 1px solid var(--rule);
}
.stage-card {
  padding: 56px 44px;
  position: relative;
  border-right: 1px solid var(--rule);
}
.stage-card:last-child { border-right: none; }
.stage-card.dark {
  background: var(--navy);
  color: var(--parch-2);
}
.stage-card.dark h3 { color: var(--parch-2); }
.stage-card.dark .stage-detail h4 { color: var(--stone-3); }
.stage-card.dark .stage-detail p { color: var(--stone-3); }
.stage-card.dark .stage-question { color: var(--brass-3); border-color: var(--rule-light); }
.stage-card.dark .stage-detail { border-color: var(--rule-light); }

.stage-no {
  font-family: "IBM Plex Serif", serif;
  font-size: 78px;
  font-weight: 300;
  font-style: italic;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 20px;
}
.stage-question {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(158,109,42,0.3);
  padding: 10px 14px;
  margin-bottom: 28px;
  display: block;
  background: rgba(158,109,42,0.05);
}
.stage-card h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.stage-card h3 em { font-style: italic; font-weight: 300; }
.stage-lead {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 38ch;
}
.stage-detail {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.stage-detail h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
  font-weight: 500;
}
.stage-detail p { font-size: 14px; line-height: 1.65; color: var(--stone); }
.stage-detail ul { list-style: none; padding: 0; margin: 0; }
.stage-detail li { padding: 5px 0; font-size: 13.5px; color: var(--stone); display: flex; gap: 10px; }
.stage-detail li::before { content: "—"; color: var(--brass); flex-shrink: 0; }

@media (max-width: 900px) {
  .stage-grid { grid-template-columns: 1fr; }
  .stage-card { border-right: none; border-bottom: 1px solid var(--rule); padding: 40px 28px; }
  .stage-card.dark { border-bottom-color: var(--rule-light); }
  .stage-no { font-size: 56px; }
}

/* Product ladder */
.ladder-list {
  border-top: 1px solid var(--rule);
}
.ladder-item {
  display: grid;
  grid-template-columns: 56px 1fr 200px 140px;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  transition: padding-left var(--t-fast), background var(--t-fast);
}
.ladder-item:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, var(--parch-3), transparent 60%);
}
.ladder-no {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
}
.ladder-name {
  font-family: "IBM Plex Serif", serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ladder-name em { font-style: italic; font-weight: 400; color: var(--brass); }
.ladder-name small {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--stone);
  margin-top: 4px;
  line-height: 1.55;
}
.ladder-scope {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.55;
}
.ladder-price {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-align: right;
  letter-spacing: 0.04em;
}
.ladder-price small {
  display: block;
  font-size: 9.5px;
  font-weight: 400;
  color: var(--stone-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .ladder-item {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 22px 0;
  }
  .ladder-scope, .ladder-price { grid-column: 2; }
  .ladder-price { text-align: left; margin-top: 8px; }
}

/* Journey flow */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-light);
  position: relative;
}
.journey-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass) 20%, var(--brass) 80%, transparent);
  opacity: 0.3;
  z-index: 0;
}
.journey-step {
  padding: 36px 18px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.journey-bullet {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--brass);
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--brass);
}
.journey-step h4 {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--parch-2);
}
.journey-step p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--stone-3);
}

@media (max-width: 900px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-grid::before { display: none; }
  .journey-step { border-bottom: 1px solid var(--rule-light); }
}

/* Metric cards */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.metric-cell {
  padding: 36px 24px;
  border-right: 1px solid var(--rule);
}
.metric-cell:last-child { border-right: none; }
.metric-value {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
}
.metric-value em { font-style: italic; color: var(--brass); font-weight: 300; }
.metric-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

@media (max-width: 900px) {
  .metric-row { grid-template-columns: 1fr 1fr; }
  .metric-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 520px) {
  .metric-row { grid-template-columns: 1fr; }
  .metric-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .metric-cell:last-child { border-bottom: none; }
}
