/* The Jeremiah Foundation. Flight Line direction.
   Navy ground, sand bands, one amber accent. Type does the work: no photography. */

@font-face {
  font-family: 'Archivo Black';
  src: url('../fonts/archivo-black.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial');
  size-adjust: 104%;
  ascent-override: 86%;
  descent-override: 21%;
}

html { color-scheme: dark; scroll-padding-top: 6rem; }
body {
  background: var(--color-bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.98;
  text-wrap: balance;
}
h2 { font-size: var(--step-4); }
h3 {
  font-family: var(--font-body);
  font-weight: 750;
  font-size: var(--step-1);
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--color-accent); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 78rem); }
@media (min-width: 48rem) { .wrap { width: min(100% - 4rem, 78rem); } }
.skip-link { background: var(--color-accent); color: var(--navy); font-weight: 700; }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.amber { color: var(--color-accent); }
.light { font-family: var(--font-body); font-weight: 300; text-transform: none; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn {
  --h: 3.25rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--h);
  padding: 0 1.4rem;
  font-family: var(--font-body);
  font-weight: 750;
  font-size: var(--step-0);
  text-decoration: none;
  background: var(--color-accent);
  color: var(--navy);
  border: 2px solid var(--color-accent);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform var(--dur-base) var(--ease); }
.btn:hover { background: var(--sand); border-color: var(--sand); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: transparent; border-color: var(--color-accent); color: inherit; }
.btn--dark { background: var(--navy); border-color: var(--navy); color: var(--sand); }
.btn--dark:hover { background: var(--navy-3); border-color: var(--navy-3); color: var(--sand); }
.btn--sm { --h: 2.75rem; padding: 0 1rem; font-size: var(--step--1); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--navy) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand svg { width: 2.25rem; height: 2.25rem; flex: none; }
.brand__name { display: grid; line-height: 1.05; }
.brand__name b { font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.01em; }
.brand__name span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--color-muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.75rem;
  background: linear-gradient(var(--color-accent), var(--color-accent)) 0 85% / 0 2px no-repeat;
  transition: background-size var(--dur-base) var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current='page'] { background-size: 100% 2px; }
.menu-btn { display: none; }
@media (max-width: 56rem) {
  .nav { display: none; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    background: none;
    color: var(--sand);
    border: 1px solid var(--line);
    font: 500 0.75rem/1 var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
  }
}
.menu {
  inset: 4.5rem 0 auto 0;
  width: 100%;
  margin: 0;
  padding: 1rem 1rem 1.5rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: var(--sand);
}
.menu a:not(.btn) {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--step-2);
  text-decoration: none;
}
.menu .btn { margin-top: 1.25rem; }
.menu[popover] { opacity: 0; transform: translateY(-8px); transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), display var(--dur-base) allow-discrete, overlay var(--dur-base) allow-discrete; }
.menu[popover]:popover-open { opacity: 1; transform: none; }
@starting-style { .menu[popover]:popover-open { opacity: 0; transform: translateY(-8px); } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 4.5rem);
  display: grid;
  align-items: center;
  padding-block: clamp(2rem, 7vh, 4rem) calc(clamp(2rem, 7vh, 4rem) + 1.5rem);
  background: radial-gradient(ellipse 70% 60% at 85% 30%, var(--navy-3), transparent 70%), var(--navy);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 15%, transparent 75%);
  opacity: 0.6;
}
.runway {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.75rem;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--color-accent) 0 56px, transparent 56px 112px);
  opacity: 0.85;
}
.runway::after {
  content: attr(data-label);
  position: absolute;
  right: 1rem;
  bottom: 14px;
  font: 500 0.68rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--color-muted);
}
.hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 64rem) { .hero__grid { grid-template-columns: 1.25fr 1fr; gap: var(--space-6); } }
.hero__tag { display: flex; align-items: center; gap: 0.75rem; color: var(--color-muted); margin-bottom: var(--space-5); }
.hero__tag::before { content: ''; width: 2.5rem; height: 2px; background: var(--color-accent); }
.hero h1 { font-size: var(--step-5); margin-bottom: var(--space-5); }
.hero h1 .light { display: block; font-size: 0.5em; line-height: 1.1; margin-top: 0.35em; }
.hero__lede { font-size: var(--step-1); color: var(--color-muted); max-width: 36ch; line-height: 1.5; }
.hero__fact {
  display: grid;
  gap: 0.2rem;
  margin: var(--space-5) 0 var(--space-6);
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
  max-width: 44ch;
}
.hero__fact .mono { color: var(--color-accent); }
.hero__fact p { margin: 0; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chev-bg {
  position: absolute;
  right: -6vw;
  top: 50%;
  width: min(70vw, 54rem);
  translate: 0 -50%;
  z-index: -1;
  color: color-mix(in oklch, var(--color-accent) 16%, transparent);
  stroke-width: 1.2;
}

/* ---------- translator console ---------- */
.tx {
  position: relative;
  background: color-mix(in oklch, var(--color-surface) 92%, transparent);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.tx__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--color-muted);
}
.tx__head .live { display: inline-flex; align-items: center; gap: 0.5rem; }
.tx__head .live::before { content: ''; width: 0.5rem; height: 0.5rem; background: var(--color-accent); border-radius: 50%; }
.tx__body { padding: 1.5rem 1.25rem 1.25rem; display: grid; gap: 0.35rem; }
.tx__label { color: var(--color-muted); }
.tx__term { margin: 0; min-height: 2.6em; display: flex; align-items: flex-start; line-height: 1.2; }
.tx__mil { font-weight: 650; font-size: var(--step-2); }
.tx__civ { font-family: var(--font-display); font-size: var(--step-2); text-transform: uppercase; color: var(--color-accent); line-height: 1.08; }
.tx__arrow { display: flex; gap: 2px; color: var(--color-accent); margin: 0.6rem 0 0.9rem; }
.tx__arrow svg { width: 1.6rem; height: 1.6rem; }
.tx__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--color-muted);
}
.tx__controls { display: flex; gap: 0.25rem; }
.tx__controls[hidden], .tx__controls [hidden] { display: none; }
.tx__controls button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: none;
  color: var(--sand);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.tx__controls button:hover { border-color: var(--color-accent); color: var(--color-accent); }
.tx__controls svg { width: 1rem; height: 1rem; }
.js .tx [data-swap] { transition: opacity 260ms var(--ease), transform 420ms var(--ease); }
.js .tx.is-out [data-swap] { opacity: 0; transform: translateY(-6px); transition-timing-function: var(--ease-in); transition-duration: 200ms; }
.tx.is-in .tx__arrow svg { animation: chev 600ms var(--ease) both; }
.tx.is-in .tx__arrow svg:nth-child(2) { animation-delay: 80ms; }
.tx.is-in .tx__arrow svg:nth-child(3) { animation-delay: 160ms; }
@keyframes chev { from { opacity: 0.15; transform: translateX(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .js .tx [data-swap], .tx.is-in .tx__arrow svg { transition: none; animation: none; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--space-8); position: relative; }
.sand { background: var(--sand); color: var(--navy); color-scheme: light; }
.sand .muted, .sand .lede { color: var(--slate); }
.sand :focus-visible { outline-color: var(--navy); }
.surface { background: var(--color-surface); }
.amberband { background: var(--color-accent); color: var(--navy); color-scheme: light; }
.amberband :focus-visible { outline-color: var(--navy); }
.muted { color: var(--color-muted); }
.lede { font-size: var(--step-1); color: var(--color-muted); max-width: 46ch; line-height: 1.5; }
.sec-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head .mono { color: var(--color-accent); display: flex; gap: 0.75rem; align-items: center; }
.sand .sec-head .mono { color: var(--amber-deep); }
.sec-head .mono::before { content: ''; width: 1.75rem; height: 2px; background: currentColor; }
@media (min-width: 64rem) {
  .sec-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: var(--space-6); }
  .sec-head--split .mono { grid-column: 1 / -1; }
}

/* who we help: ruled rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li {
  position: relative;
  display: grid;
  gap: 0.5rem 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.rows li::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .rows li:hover::before { transform: scaleX(1); } }
.rows .num { color: var(--color-accent); }
.rows h3 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-2); line-height: 1.05; }
.rows p { margin: 0; color: var(--color-muted); }
@media (min-width: 48rem) {
  .rows li { grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1fr); align-items: baseline; }
}

/* training: sticky head + numbered list */
.split { display: grid; gap: var(--space-6); }
@media (min-width: 64rem) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-7); }
  .split__aside { position: sticky; top: 7rem; align-self: start; }
}
.split__aside h2 { margin-bottom: var(--space-5); }
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: t; }
.topics li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line-dark); counter-increment: t; }
.topics li::before { content: counter(t, decimal-leading-zero); font: 500 0.8rem/1.9 var(--font-mono); color: var(--amber-deep); letter-spacing: 0.1em; }
.topics h3 { margin: 0 0 0.25rem; }
.topics p { margin: 0; color: var(--slate); }
.formats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--space-5) 0 var(--space-6); padding: 0; list-style: none; }
.formats li { padding: 0.45rem 0.8rem; border: 1px solid var(--navy); font: 500 0.74rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* the 10/90 rule */
.rule-bar { display: grid; grid-template-columns: 1fr 9fr; height: clamp(5rem, 12vw, 9rem); margin: var(--space-6) 0 var(--space-4); border: 1px solid var(--line); }
.rule-bar__ours { background: var(--color-accent); transform-origin: left; }
.rule-bar__yours {
  background: repeating-linear-gradient(135deg, color-mix(in oklch, var(--sand) 12%, transparent) 0 2px, transparent 2px 14px);
  transform-origin: left;
}
.js .rule-bar[data-reveal] { opacity: 1; transform: none; }
.js .rule-bar[data-reveal] > * { transform: scaleX(0); transition: transform 900ms var(--ease); }
.js .rule-bar[data-reveal] > :last-child { transition-delay: 300ms; transition-duration: 1200ms; }
.js .rule-bar.is-revealed > * { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rule-bar[data-reveal] > * { transform: none; transition: none; } }
.rule-legend { display: grid; grid-template-columns: 1fr 9fr; gap: 1rem; }
.rule-legend div { display: grid; gap: 0.25rem; align-content: start; }
.rule-legend b { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1; }
.rule-legend .ours b { color: var(--color-accent); }
.rule-legend span { color: var(--color-muted); }
@media (max-width: 40rem) {
  .rule-legend { grid-template-columns: 1fr; }
  .rule-legend .yours { padding-left: 0; }
}
.pull {
  margin: var(--space-7) 0 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-accent);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.3;
  max-width: 34ch;
  letter-spacing: -0.01em;
}
.pull cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); }

/* track record */
.stats { display: grid; gap: 0; border-top: 2px solid var(--navy); }
.stats > div { padding: var(--space-5) 0; border-bottom: 2px solid var(--navy); display: grid; gap: 0.25rem; }
.stats b { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.25rem, 1.6rem + 4.6vw, 6.4rem); line-height: 0.9; letter-spacing: -0.02em; white-space: nowrap; }
.stats b span { display: inline-block; min-width: 2.9ch; font-variant-numeric: tabular-nums; }
.stats p { margin: 0; font-weight: 600; max-width: 30ch; }
@media (min-width: 56rem) {
  .stats { grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid var(--navy); }
  .stats > div { border-bottom: 0; padding: var(--space-5) var(--space-5) var(--space-5) 0; }
  .stats > div + div { border-left: 2px solid var(--navy); padding-left: var(--space-5); }
}
.note { margin-top: var(--space-5); font-weight: 500; max-width: 60ch; }

/* employers */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-1); line-height: 1.4; }
.checks svg { width: 1.4rem; height: 1.4rem; color: var(--color-accent); margin-top: 0.15rem; }
.sand .checks { border-color: var(--line-dark); }
.sand .checks li { border-color: var(--line-dark); }
.sand .checks svg { color: var(--amber-deep); }

/* founder service record */
.record {
  background: var(--navy);
  color: var(--sand);
  padding: var(--space-5);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.record__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--color-muted); }
.record__top svg { width: 2.5rem; height: 2.5rem; }
.record dl { margin: 0; display: grid; }
.record dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.record dt { color: var(--color-muted); padding-top: 0.2rem; }
.record dd { margin: 0; font-weight: 600; }
.record dd.big { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-2); line-height: 1; }
@media (max-width: 30rem) { .record dl > div { grid-template-columns: 1fr; gap: 0.2rem; } }
.founder { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 64rem) { .founder { grid-template-columns: 1fr 1.1fr; gap: var(--space-7); } }
.founder blockquote { margin: var(--space-5) 0; font-size: var(--step-2); font-weight: 300; line-height: 1.3; letter-spacing: -0.01em; }
.founder blockquote::before { content: '\201C'; display: block; font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--amber-deep); margin-bottom: 0.75rem; }

/* close */
.close { overflow: hidden; isolation: isolate; text-align: left; }
.close__num {
  position: absolute;
  right: -2vw;
  bottom: -0.12em;
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(9rem, 26vw, 26rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in oklch, var(--color-accent) 35%, transparent);
  letter-spacing: -0.03em;
  user-select: none;
}
.verse { margin: 0 0 var(--space-6); max-width: 30ch; font-size: var(--step-2); font-weight: 300; line-height: 1.35; }
.verse strong { font-weight: 700; color: var(--color-accent); }
.verse cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); }
.close h2 { max-width: 16ch; }

/* page heads (inner pages) */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-8) calc(var(--space-7) + 1.5rem);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 80% at 90% 0%, var(--navy-3), transparent 70%), var(--navy);
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  opacity: 0.5;
}
.page-head h1 { font-size: min(var(--step-5), 9vw); max-width: 15ch; margin-bottom: var(--space-5); }
.page-head .lede { max-width: 50ch; }

/* translation table */
.tx-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.tx-table caption { text-align: left; padding-bottom: 1rem; color: var(--slate); }
.tx-table th, .tx-table td { text-align: left; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.tx-table thead th { font: 500 0.74rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep); border-bottom: 2px solid var(--navy); }
.tx-table tbody th { font-weight: 600; }
.tx-table td { font-weight: 750; }
.tx-table td::before { content: '\2192\00a0\00a0'; color: var(--amber-deep); }

/* fees */
.fees { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fees > div { background: var(--navy); padding: var(--space-5); display: grid; gap: 0.75rem; align-content: start; }
.fees .mono { color: var(--color-accent); }
.fees h3 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-2); line-height: 1.05; }
.fees p { margin: 0; color: var(--color-muted); }
@media (min-width: 56rem) { .fees { grid-template-columns: 1.3fr 1fr 1fr; } .fees > div:first-child { grid-row: span 1; } }

/* prose and lists on inner pages */
.prose p { max-width: 62ch; }
.prose p + p { margin-top: 0; }
.cols { display: grid; gap: var(--space-6); }
@media (min-width: 56rem) { .cols { grid-template-columns: 1fr 1fr; gap: var(--space-7); } }
.agency { list-style: none; margin: 0; padding: 0; columns: 2 16rem; column-gap: 2rem; }
.agency li { break-inside: avoid; padding: 0.7rem 0; border-bottom: 1px solid var(--line-dark); font-weight: 600; }
.agency li span { display: block; font-weight: 400; color: var(--slate); font-size: var(--step--1); }
.mv { display: grid; gap: 1px; background: var(--line); }
.mv > div { background: var(--color-surface); padding: var(--space-6) var(--space-5); }
.mv h2 { font-size: var(--step-3); margin-bottom: var(--space-4); }
.mv p { font-size: var(--step-1); line-height: 1.5; font-weight: 300; margin: 0; }
@media (min-width: 56rem) { .mv { grid-template-columns: 1fr 1fr; } }

/* contact */
.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: lowercase;
  font-size: clamp(1.25rem, 0.6rem + 3.2vw, 3.2rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration: none;
  border-bottom: 4px solid var(--color-accent);
  padding-bottom: 0.2rem;
}
.contact-email:hover { color: var(--color-accent); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line-dark); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 0.8rem/1.8 var(--font-mono); color: var(--amber-deep); letter-spacing: 0.1em; }
.steps p { margin: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-7) var(--space-5); background: var(--navy); }
.footer__grid { display: grid; gap: var(--space-6); }
@media (min-width: 56rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__grid h2 { font-size: var(--step--1); font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.14em; color: var(--color-muted); margin-bottom: var(--space-4); }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.footer__grid ul a { display: inline-block; padding-block: 0.4rem; text-decoration: none; }
.footer__grid ul a:hover { color: var(--color-accent); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); color: var(--color-muted); }

/* voice switch */
.voice {
  display: inline-flex;
  border: 1px solid var(--line);
  margin-left: auto;
}
.nav + .voice { margin-left: 0; }
.voice[hidden] { display: none; }
.voice button {
  min-height: 2.75rem;
  padding: 0 0.7rem;
  background: none;
  border: 0;
  color: var(--color-muted);
  font: 500 0.68rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.voice button:hover { color: var(--sand); }
.voice button { white-space: nowrap; }
@media (max-width: 30rem) { .voice__long { display: none; } }
@media (min-width: 56rem) and (max-width: 72rem) { .voice__long { display: none; } .nav { gap: 1.1rem; } }
.voice button[aria-pressed='true'] { background: var(--color-accent); color: var(--navy); }
@media (max-width: 26rem) {
  .brand__name b { font-size: 0.82rem; }
  .brand__name span { display: none; }
  .voice button { padding: 0 0.5rem; letter-spacing: 0.06em; }
  .site-header .wrap { gap: 0.6rem; }
}
@media (max-width: 22.5rem) { .site-header .brand__name { display: none; } }
.voice-mil-pending main { visibility: hidden; }
.footer__doc { color: var(--color-muted); text-decoration: none; }
.footer__doc:hover { color: var(--color-accent); }

.section--auto { content-visibility: auto; contain-intrinsic-size: auto 900px; }
