:root {
  --paper: #f1efe7;
  --paper-deep: #e6e2d7;
  --ink: #151515;
  --muted: #625f58;
  --rule: #181818;
  --light-rule: #b9b4a9;
  --signal: #b9331f;
  --blue: #1846a3;
  --content: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.2em; }

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 20;
  padding: 0.6rem 0.8rem;
  color: var(--paper);
  background: var(--ink);
}

.skip-link:focus { top: 1rem; }

.masthead,
main,
footer {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.masthead {
  min-height: 104px;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  border-bottom: 2px solid var(--rule);
}

.wordmark {
  width: max-content;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0;
  color: var(--ink);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span { padding: 0.38rem 0.42rem 0.32rem; border: 2px solid var(--rule); }
.wordmark span + span { color: var(--paper); background: var(--ink); }

.masthead-note {
  margin: 0;
  color: var(--muted);
  font: 0.72rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav { display: flex; gap: 1.6rem; }
nav a { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.7fr);
  gap: 7rem;
  align-items: end;
  padding: 7.5rem 0 5rem;
  border-bottom: 1px solid var(--rule);
}

.kicker,
.sheet-title {
  margin: 0 0 1rem;
  color: var(--signal);
  font: 700 0.7rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 { max-width: 850px; font-size: clamp(3.4rem, 6.2vw, 6.15rem); }
h2 { max-width: 820px; font-size: clamp(2.4rem, 4.4vw, 4.35rem); }

.standfirst {
  max-width: 760px;
  margin: 2.2rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.release-sheet { border-top: 6px solid var(--ink); padding-top: 1rem; }
.release-sheet .sheet-title { color: var(--ink); }
.release-sheet dl { margin: 0; }
.release-sheet dl div { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem; padding: 0.58rem 0; border-top: 1px solid var(--light-rule); }
.release-sheet dt { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; }
.release-sheet dd { margin: 0; font-size: 0.82rem; font-weight: 700; }
.text-link { display: inline-block; margin-top: 1.5rem; color: var(--signal); font-size: 0.86rem; font-weight: 700; }

.number-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 2px solid var(--rule);
}

.number-strip p { margin: 0; padding: 1.7rem 1.2rem 1.7rem 0; border-right: 1px solid var(--light-rule); }
.number-strip p:not(:first-child) { padding-left: 1.2rem; }
.number-strip p:last-child { border-right: 0; }
.number-strip strong { display: block; font: 400 clamp(1.6rem, 2.6vw, 2.7rem)/1 Georgia, "Times New Roman", serif; }
.number-strip span { display: block; margin-top: 0.45rem; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; }

.section { padding: 7rem 0; border-bottom: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: 90px 1fr; margin-bottom: 4rem; }
.section-number { margin: 0.3rem 0 0; color: var(--muted); font: 0.72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }

.inventory-table,
.access-table { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 2px solid var(--rule); }
table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
table th { text-align: left; }
table thead { background: var(--paper-deep); }
table thead th { font: 700 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.05em; text-transform: uppercase; }
table tr > * { padding: 1rem 1.2rem 1rem 0; border-bottom: 1px solid var(--light-rule); vertical-align: top; }
table tr > * + * { padding-left: 1.2rem; border-left: 1px solid var(--light-rule); }
.inventory-table col:nth-child(1) { width: 26%; }
.inventory-table col:nth-child(2) { width: 28%; }
.inventory-table col:nth-child(3) { width: 46%; }
.inventory-table tbody th { font-size: 0.9rem; }
.inventory-table tbody td { color: var(--muted); font-size: 0.84rem; }

.evidence-grid { display: grid; grid-template-columns: 1.45fr 0.75fr; gap: 4rem; }
figure { margin: 0; }
.track-figure svg { width: 100%; height: auto; display: block; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule); background: #ebe8df; }
.plot-grid path { fill: none; stroke: #c9c4b8; stroke-width: 1; }
.trace { fill: none; stroke-width: 4; vector-effect: non-scaling-stroke; }
.trace-bird { stroke: var(--signal); }
.trace-insect { stroke: var(--blue); }
.trace-aircraft { stroke: var(--ink); stroke-width: 7; }
.trace-error { stroke: #77736b; stroke-dasharray: 7 6; }
.trace-points circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.plot-labels { fill: var(--ink); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.plot-labels text:last-child { fill: var(--muted); font-size: 10px; text-transform: uppercase; }
.track-figure figcaption,
.figure-note { margin-top: 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.55; }

.label-figure { border-top: 2px solid var(--rule); padding-top: 0.85rem; }
.label-figure > figcaption { margin-bottom: 2rem; font: 700 0.72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.05em; text-transform: uppercase; }
.bar-list p { display: grid; grid-template-columns: 125px 1fr 46px; align-items: center; gap: 0.75rem; margin: 0 0 0.85rem; }
.bar-list span { color: var(--muted); font-size: 0.72rem; }
.bar-list i { width: var(--value); min-width: 3px; height: 9px; display: block; background: var(--signal); }
.bar-list strong { font: 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }

.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--rule); }
.fit-grid > div { padding: 1.7rem 2rem 1rem 0; }
.fit-grid > div + div { padding-left: 2rem; border-left: 1px solid var(--light-rule); }
h3 { margin: 0 0 1.5rem; font: 700 0.75rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.fit-grid ul { margin: 0; padding: 0; list-style: none; }
.fit-grid li { position: relative; padding: 0.85rem 0 0.85rem 1.3rem; border-top: 1px solid var(--light-rule); font-size: 0.9rem; }
.fit-grid li::before { content: "—"; position: absolute; left: 0; color: var(--signal); }
.method-note { display: grid; grid-template-columns: 1fr 2.2fr; gap: 3rem; margin-top: 4rem; padding: 1.5rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.method-note .kicker { margin: 0; }
.method-note > p:last-child { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1.45; }

.access-table col:nth-child(1) { width: 20%; }
.access-table col:nth-child(2) { width: 40%; }
.access-table col:nth-child(3) { width: 17%; }
.access-table col:nth-child(4) { width: 23%; }
.access-table tbody th { font-size: 0.9rem; }
.access-table tbody td { color: var(--muted); font-size: 0.82rem; }
.access-table a { color: var(--signal); font-size: 0.8rem; font-weight: 700; }

.provenance-copy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; margin-left: 90px; }
.provenance-copy p { margin: 0; max-width: 520px; font-size: 0.95rem; }

.sample-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  padding: 7rem 0;
  border-bottom: 1px solid var(--rule);
}
.sample-band h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.sample-details { align-self: end; border-top: 2px solid var(--rule); }
.sample-details > p:first-child { margin: 0; padding: 1.2rem 0 1.5rem; font-size: 0.9rem; }
.sample-download {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--light-rule);
  border-bottom: 1px solid var(--light-rule);
  color: var(--signal);
  font-weight: 700;
}
.sample-download small { color: var(--muted); font: 0.65rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.checksum { margin: 1rem 0 0; color: var(--muted); font: 0.62rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.checksum code { word-break: break-all; text-transform: none; }

.contact-band { padding: 7rem 0; border-bottom: 2px solid var(--rule); }
.contact-band h2 { max-width: 900px; }
.contact-band > div { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-top: 4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.contact-band > div p { margin: 0; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; }
.contact-band > div a { justify-self: end; color: var(--signal); font-weight: 700; }

footer { min-height: 150px; display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 2rem; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; }
footer a { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .masthead { grid-template-columns: 150px 1fr; }
  .masthead-note { justify-self: end; }
  nav { grid-column: 1 / -1; justify-content: space-between; padding: 0.9rem 0; border-top: 1px solid var(--light-rule); }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 4rem; padding: 5rem 0; }
  .release-sheet { max-width: 520px; }
  .number-strip { grid-template-columns: repeat(2, 1fr); }
  .number-strip p:nth-child(2) { border-right: 0; }
  .number-strip p:nth-child(-n+2) { border-bottom: 1px solid var(--light-rule); }
  .evidence-grid { grid-template-columns: 1fr; }
  .sample-band { grid-template-columns: 1fr; gap: 3rem; }
  .bar-list p { grid-template-columns: 155px 1fr 48px; }
  .access-table col:nth-child(1) { width: 20%; }
  .access-table col:nth-child(2) { width: 38%; }
  .access-table col:nth-child(3) { width: 18%; }
  .access-table col:nth-child(4) { width: 24%; }
}

@media (max-width: 620px) {
  .masthead, main, footer { width: min(calc(100% - 1.5rem), var(--content)); }
  .masthead { min-height: 88px; }
  .masthead-note { font-size: 0.58rem; }
  nav { gap: 0.7rem; }
  nav a { font-size: 0.66rem; }
  .hero { padding: 4rem 0 3.5rem; }
  h1 { font-size: clamp(3.1rem, 15.5vw, 5.2rem); }
  .number-strip strong { font-size: 1.55rem; }
  .section { padding: 5rem 0; }
  .section-head { grid-template-columns: 42px 1fr; margin-bottom: 2.8rem; }
  .inventory-table colgroup, .access-table colgroup, .inventory-table thead, .access-table thead { display: none; }
  .inventory-table, .access-table, .inventory-table tbody, .access-table tbody, .inventory-table tr, .access-table tr, .inventory-table th, .access-table th, .inventory-table td, .access-table td { display: block; width: 100%; }
  .inventory-table tr, .access-table tr { padding: 1rem 0; border-bottom: 1px solid var(--light-rule); }
  .inventory-table tr > *, .access-table tr > * { padding: 0.25rem 0; border: 0; }
  .inventory-table tbody th, .access-table tbody th { margin-bottom: 0.3rem; }
  .track-figure svg { min-height: 250px; }
  .bar-list p { grid-template-columns: 112px 1fr 40px; gap: 0.55rem; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-grid > div { padding: 1.5rem 0; }
  .fit-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .method-note { grid-template-columns: 1fr; gap: 1rem; }
  .access-table td:last-child { margin-top: 0.5rem; padding-top: 0.7rem; border-top: 1px solid var(--light-rule); }
  .provenance-copy { grid-template-columns: 1fr; gap: 1.5rem; margin-left: 42px; }
  .sample-band { padding: 5rem 0; }
  .sample-download { grid-template-columns: 1fr; gap: 0.45rem; }
  .contact-band { padding: 5rem 0; }
  .contact-band > div { grid-template-columns: 1fr; gap: 1rem; }
  .contact-band > div a { justify-self: start; }
  footer { min-height: 190px; grid-template-columns: 1fr; align-content: center; gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
