:root {
  --ink: #17212a;
  --ink-soft: #4b5862;
  --navy: #121c26;
  --navy-2: #223241;
  --paper: #f5f2eb;
  --paper-2: #ebe7de;
  --white: #fffefb;
  --accent: #d9652b;
  --accent-dark: #9f431c;
  --green: #1f694b;
  --green-bg: #e7f1eb;
  --amber: #8a5c14;
  --amber-bg: #f4ead2;
  --gray-bg: #e9ecee;
  --line: #c9c4b9;
  --focus: #005fcc;
  --max: 1180px;
  --reading: 760px;
  --s1: .35rem;
  --s2: .6rem;
  --s3: .9rem;
  --s4: 1.2rem;
  --s5: 1.7rem;
  --s6: 2.4rem;
  --s7: 3.5rem;
  --s8: 5rem;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
img, iframe { display: block; max-width: 100%; }
a { color: #144f76; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
::selection { background: #f0c2a7; color: var(--navy); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy);
  padding: .7rem 1rem;
  border: 2px solid var(--navy);
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 28, 38, .98);
  color: white;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 4.8rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: white;
  text-decoration: none;
  min-height: 44px;
}
.brand:hover { color: white; }
.brand strong { display: block; font-size: .96rem; letter-spacing: .01em; }
.brand small { display: block; margin-top: .05rem; color: #bbc4cc; font-size: .69rem; }
.brand-mark { position: relative; width: 34px; height: 34px; background: #0b1118; border: 1px solid #607080; overflow: hidden; }
.brand-mark i, .brand-mark b { position: absolute; display: block; content: ""; }
.brand-mark i { width: 43px; height: 4px; background: var(--accent); transform: rotate(-42deg); top: 14px; left: -5px; }
.brand-mark b { width: 25px; height: 2px; background: white; bottom: 7px; left: 4px; }
.section-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: .35rem 0;
}
.section-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .64rem;
  color: #e9edf0;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
}
.section-nav a:hover { color: white; text-decoration: underline; }

.hero {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 5.4rem) 0 clamp(2.5rem, 5vw, 4.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(1.8rem, 4vw, 4.2rem);
  align-items: center;
}
.kicker, .eyebrow {
  margin: 0 0 .8rem;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.kicker { display: flex; align-items: center; gap: .48rem; }
.status-dot { width: .62rem; height: .62rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #dce9e1; }
h1, h2, h3 { margin: 0; line-height: 1.1; color: var(--navy); letter-spacing: -.025em; }
h1 { max-width: 800px; font-size: clamp(2.35rem, 5vw, 4.85rem); font-weight: 830; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.15rem); font-weight: 820; }
h3 { font-size: clamp(1.08rem, 2vw, 1.38rem); }
p { margin: .7rem 0 0; }
.lead { max-width: 760px; margin-top: 1.35rem; font-size: clamp(1.08rem, 1.55vw, 1.27rem); color: #34434e; }
.lead strong { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .72rem 1rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
}
.button.primary { background: var(--navy); color: white; }
.button.primary:hover { background: #283847; color: white; }
.button.secondary:hover { background: var(--white); color: var(--navy); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-facts div { padding: .9rem .7rem .9rem 0; }
.hero-facts div + div { border-left: 1px solid var(--line); padding-left: .8rem; }
.hero-facts dt { color: var(--ink-soft); font-size: .71rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.hero-facts dd { margin: .25rem 0 0; font-weight: 800; color: var(--navy); }
.hero-media { margin: 0; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1000/667; object-fit: cover; border: 1px solid #a9a397; }
figcaption { margin-top: .62rem; color: var(--ink-soft); font-size: .75rem; line-height: 1.48; }

.section {
  padding: clamp(3.4rem, 7vw, 6.8rem) max(1rem, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 900px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-heading > p:not(.eyebrow) { max-width: var(--reading); font-size: 1.07rem; color: var(--ink-soft); }
.section-heading.compact { margin-bottom: 1.7rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: end; }
.split-heading > p { margin: 0; }

.status-section { background: var(--white); }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.status-item { padding: 1.5rem 1.6rem 1.6rem 0; }
.status-item + .status-item { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.status-label { display: inline-block; margin-bottom: .85rem; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.confirmed .status-label { color: var(--green); }
.context .status-label { color: #345878; }
.unknown .status-label { color: var(--amber); }
.status-item p { color: var(--ink-soft); }
.source-link, .text-link { display: inline-flex; margin-top: 1rem; font-weight: 800; font-size: .88rem; }
.stale-notice { margin: 1.4rem 0 0; padding: 1rem 1.1rem; border-left: 5px solid var(--amber); background: var(--amber-bg); }
.timeline { margin-top: 2.5rem; border-left: 2px solid #88939b; }
.timeline-row { display: grid; grid-template-columns: 9rem 1fr; gap: 1.4rem; position: relative; padding: .25rem 0 1.7rem 1.6rem; }
.timeline-row:last-child { padding-bottom: .2rem; }
.timeline-row::before { content: ""; position: absolute; left: -7px; top: .55rem; width: 12px; height: 12px; background: var(--paper); border: 2px solid #64717b; border-radius: 50%; }
.timeline-row.current::before { background: var(--accent); border-color: var(--accent-dark); }
.timeline-row time { font-weight: 900; color: var(--navy); font-size: .88rem; }
.timeline-row p { color: var(--ink-soft); font-size: .94rem; }

.quick-facts { background: var(--navy); color: #e8edf0; border-color: #334451; }
.quick-facts h2 { color: white; }
.quick-facts .eyebrow { color: #ef9a70; }
.fact-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #52616e; border-bottom: 1px solid #52616e; }
.fact-list article { padding: 1.2rem 1.35rem 1.3rem 0; }
.fact-list article + article { border-left: 1px solid #52616e; padding-left: 1.35rem; }
.fact-list strong { display: block; color: white; font-size: 1.02rem; line-height: 1.3; }
.fact-list span { display: block; margin-top: .55rem; color: #c8d0d6; font-size: .9rem; }
.fact-note { max-width: 940px; margin-top: 1.25rem; color: var(--ink-soft); font-size: .8rem; }
.quick-facts .fact-note { color: #b9c4cb; }
.quick-facts a { color: #fff; }

.how-section { background: var(--paper); }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.process-list li { position: relative; padding: 1.25rem 1.1rem 1.4rem 0; }
.process-list li + li { border-left: 1px solid var(--line); padding-left: 1.1rem; }
.process-number { margin-bottom: 1.6rem; color: var(--accent-dark); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.process-list p { color: var(--ink-soft); font-size: .9rem; }
.mechanism-media { margin-top: 3.6rem; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.mechanism-media figure { margin: 0; }
.mechanism-media img { width: 100%; height: auto; border: 1px solid #a9a397; }
.mechanism-note { max-width: 470px; }
.mechanism-note p:not(.eyebrow) { color: var(--ink-soft); }

.compare-section { background: var(--white); }
.comparison-wrap { border-top: 3px solid var(--navy); overflow: hidden; }
.comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.comparison-table th, .comparison-table td { padding: 1rem 1.05rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table thead th { background: var(--navy); color: white; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.comparison-table thead th:first-child { width: 25%; }
.comparison-table tbody th { color: var(--navy); font-size: .9rem; }
.comparison-table td { color: #394955; font-size: .91rem; }
.comparison-table tbody tr:nth-child(even) td, .comparison-table tbody tr:nth-child(even) th { background: #f3f1eb; }
.tradeoff-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tradeoff-row div { padding: 1.2rem 1.2rem 1.3rem 0; }
.tradeoff-row div + div { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.tradeoff-row span { display: block; color: var(--ink-soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.tradeoff-row strong { display: block; margin-top: .25rem; font-size: 1.3rem; color: var(--navy); }
.tradeoff-row p { font-size: .88rem; color: var(--ink-soft); }

.gallery-section { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; align-items: start; }
.gallery-item { margin: 0; grid-column: span 4; }
.gallery-wide { grid-column: span 5; grid-row: span 2; }
.gallery-landscape { grid-column: span 7; }
.gallery-item img { width: 100%; height: auto; object-fit: cover; background: #d7d3ca; border: 1px solid #a9a397; }
.gallery-wide img { aspect-ratio: 2/3; }
.gallery-item:not(.gallery-wide):not(.gallery-landscape) img { aspect-ratio: 4/3; }
.gallery-landscape img { aspect-ratio: 1000/580; }
.gallery-item figcaption { padding-right: .4rem; }
.gallery-item figcaption strong { color: var(--navy); }

.watch-section { background: var(--navy); color: #e2e7ea; }
.watch-section h2, .watch-section h3 { color: white; }
.watch-section .eyebrow { color: #ef9a70; }
.watch-section .section-heading > p:not(.eyebrow) { color: #c5ced4; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.video-card { min-width: 0; }
.video-facade { aspect-ratio: 16/9; min-height: 280px; display: flex; align-items: end; position: relative; overflow: hidden; background: #1f3140; border: 1px solid #607382; }
.video-facade[data-provider="youtube"] { background: #263643; }
.video-facade[data-provider="dvids"] { background: #1f2d38; }
.video-facade-copy { position: relative; width: 100%; padding: clamp(1.1rem, 3vw, 2rem); }
.video-source { color: #f2a47f; font-size: .7rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.video-facade h3 { max-width: 520px; margin-top: .35rem; font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.video-facade p { max-width: 570px; color: #c7d0d6; font-size: .91rem; }
.play-button { margin-top: 1.15rem; min-height: 46px; border: 1px solid white; background: white; color: var(--navy); padding: .6rem .85rem; cursor: pointer; font-weight: 850; display: inline-flex; align-items: center; gap: .5rem; }
.play-button:hover { background: #e9edef; }
.play-icon { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; }
.video-facade iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; background: #000; }
.video-note { color: #aebbc4; font-size: .78rem; }
.watch-section a { color: white; }

.questions-section { background: var(--white); }
.faq-list { max-width: 980px; border-top: 2px solid var(--navy); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; min-height: 56px; padding: 1rem 3rem 1rem 0; cursor: pointer; font-weight: 800; color: var(--navy); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: .72rem; font-size: 1.55rem; font-weight: 400; color: var(--accent-dark); }
details[open] summary::after { content: "−"; }
details > div { padding: 0 3rem 1.2rem 0; color: var(--ink-soft); max-width: 820px; }

.closing-section { background: #e8e3d9; }
.bottom-line { max-width: 920px; }
.bottom-line > p:not(.eyebrow) { max-width: var(--reading); font-size: 1.03rem; color: var(--ink-soft); }
.bottom-line .button { margin-top: 1.35rem; }

.site-footer { background: #0d151d; color: #aeb9c1; border-top: 3px solid var(--accent); }
.footer-inner { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 2.2rem 0 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; font-size: .78rem; }
.site-footer strong { color: white; }
.footer-inner p { max-width: 620px; }
.footer-meta { border-left: 1px solid #33434f; padding-left: 2rem; }

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

@media (max-width: 980px) {
  .header-inner { display: block; padding: .55rem 0 .25rem; }
  .brand { margin-bottom: .15rem; }
  .section-nav { margin: 0 -.2rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 860px; }
  .hero-media { max-width: 820px; }
  .status-grid { grid-template-columns: 1fr; }
  .status-item, .status-item + .status-item { padding: 1.25rem 0; border-left: 0; }
  .status-item + .status-item { border-top: 1px solid var(--line); }
  .fact-list { grid-template-columns: 1fr 1fr; }
  .fact-list article:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid #52616e; }
  .fact-list article:nth-child(4) { border-top: 1px solid #52616e; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li { border-bottom: 1px solid var(--line); }
  .process-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .process-list li:nth-child(5) { grid-column: 1 / -1; }
  .gallery-item, .gallery-wide, .gallery-landscape { grid-column: span 6; }
  .gallery-wide { grid-row: auto; }
}

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

@media (max-width: 760px) {
  :root { --s8: 3.5rem; }
  html { scroll-padding-top: 8.7rem; }
  .header-inner { width: calc(100% - 1.25rem); }
  .brand small { display: none; }
  .section-nav a { font-size: .76rem; padding-inline: .55rem; }
  .hero { width: calc(100% - 1.5rem); padding-top: 2.25rem; }
  h1 { font-size: clamp(2.25rem, 11.2vw, 3.55rem); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .section { padding-left: .75rem; padding-right: .75rem; }
  .split-heading { grid-template-columns: 1fr; gap: .8rem; align-items: start; }
  .timeline-row { grid-template-columns: 1fr; gap: .2rem; padding-left: 1.3rem; }
  .fact-list { grid-template-columns: 1fr; }
  .fact-list article, .fact-list article + article, .fact-list article:nth-child(3) { border-left: 0; border-top: 1px solid #52616e; padding: 1rem 0; }
  .fact-list article:first-child { border-top: 0; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li + li { border-left: 0; padding: 1rem 0 1.25rem; }
  .process-list li:nth-child(5) { grid-column: auto; }
  .process-number { margin-bottom: .5rem; }
  .mechanism-media { grid-template-columns: 1fr; }

  .comparison-wrap { overflow: visible; border-top: 0; }
  .comparison-table, .comparison-table tbody { display: block; }
  .comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .comparison-table tr { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; border: 1px solid var(--line); background: var(--white); }
  .comparison-table tbody th { grid-column: 1 / -1; background: var(--navy) !important; color: white; border: 0; }
  .comparison-table td { position: relative; border: 0; padding-top: 2.2rem; background: transparent !important; }
  .comparison-table td:nth-child(2) { border-right: 1px solid var(--line); }
  .comparison-table td::before { position: absolute; top: .65rem; left: 1.05rem; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 900; color: var(--accent-dark); }
  .comparison-table td:nth-child(2)::before { content: "Steam"; }
  .comparison-table td:nth-child(3)::before { content: "EMALS"; }
  .tradeoff-row { grid-template-columns: 1fr; }
  .tradeoff-row div, .tradeoff-row div + div { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0; }
  .tradeoff-row div:first-child { border-top: 0; }

  .gallery-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .gallery-item, .gallery-wide, .gallery-landscape { grid-column: auto; }
  .gallery-wide img { aspect-ratio: auto; max-height: 720px; object-fit: cover; object-position: 50% 32%; }
  .video-grid { grid-template-columns: 1fr; }
  .video-facade { min-height: 245px; }
  details > div { padding-right: 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1rem; }
  .footer-meta { border-left: 0; border-top: 1px solid #33434f; padding: 1rem 0 0; }
}

@media (max-width: 430px) {
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .comparison-table tr { grid-template-columns: 1fr; }
  .comparison-table td:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .video-facade { min-height: 270px; aspect-ratio: auto; }
}

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