:root {
  color-scheme: light;
  --ink: #0e1111;
  --paper: #f4f1ea;
  --surface: #fffdf8;
  --surface-muted: #ebe7de;
  --oxide: #e97a4a;
  --oxide-dark: #b44a2a;
  --muted: #565d60;
  --line: rgba(14, 17, 17, 0.2);
  --line-strong: rgba(14, 17, 17, 0.72);
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--ink);
  background: var(--oxide);
}

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

:focus-visible {
  outline: 3px solid var(--oxide-dark);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 50;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 82px;
  padding: 0 max(2rem, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  min-width: 0;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-wordmark {
  display: block;
  width: 9.75rem;
  height: auto;
  flex: 0 0 auto;
}

.brand-context {
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  align-items: center;
}

.site-header nav a,
footer > a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero,
.section,
footer {
  width: min(1200px, calc(100% - 4rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.hero > * {
  min-width: 0;
}

.archive-hero {
  min-height: min(50rem, calc(100svh - 82px));
}

.eyebrow,
.kicker,
.project-category {
  margin: 0;
  color: var(--oxide-dark);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.eyebrow > span {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.8rem, 7.1vw, 6.8rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 42rem;
  margin: 1.9rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 0.15rem;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-line {
  background: transparent;
}

.archive-summary {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--ink);
  background: var(--surface);
  box-shadow: 1rem 1rem 0 rgba(14, 17, 17, 0.06);
}

.archive-summary__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.archive-summary__heading > span {
  color: var(--oxide-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.archive-summary h2 {
  max-width: 12ch;
  margin-top: 2.75rem;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}

.archive-summary > p {
  margin: 1.25rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.archive-summary dl {
  margin: 2.25rem 0 0;
  border-top: 1px solid var(--line);
}

.archive-summary dl > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.6fr) 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.archive-summary dt,
.archive-summary dd {
  margin: 0;
  font-size: 0.76rem;
}

.archive-summary dt {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.archive-summary dd {
  font-weight: 750;
  text-align: right;
}

.section {
  padding: clamp(5.5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.5fr);
  gap: 1.25rem 4rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(3rem, 5.8vw, 5.3rem);
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.5fr);
}

.project-index {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.project-record {
  border-bottom: 1px solid var(--line-strong);
}

.project-record > article {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) minmax(17rem, 0.48fr);
  gap: 2rem;
  min-width: 0;
  padding: clamp(2rem, 4.5vw, 3.5rem) 0;
  transition: padding 160ms ease;
}

.project-record__number {
  padding-top: 0.25rem;
  color: var(--oxide-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.project-record__body,
.project-record__details {
  min-width: 0;
}

.project-record h3 {
  margin-top: 0.85rem;
  font-size: clamp(2.45rem, 4.4vw, 4.25rem);
  overflow-wrap: anywhere;
}

.project-record__body > p:not(.project-category, .project-note) {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.project-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.project-note a {
  color: var(--ink);
  font-weight: 750;
}

.project-record__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.project-record__details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-record__details li {
  padding: 0.42rem 0.55rem;
  border: 1px solid var(--line-strong);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.project-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-actions a {
  position: relative;
  display: inline-flex;
  min-width: 0;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--ink);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.project-actions a + a {
  margin-left: -1px;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.standard-grid article {
  min-width: 0;
  min-height: 18rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.42);
}

.standard-grid article > span {
  color: var(--oxide-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.standard-grid h3 {
  max-width: 15ch;
  margin-top: 4.5rem;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  line-height: 1.08;
}

.standard-grid p {
  max-width: 31rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-hero {
  min-height: min(52rem, calc(100svh - 82px));
}

.project-hero h1 {
  max-width: 11ch;
}

.product-panel {
  padding: clamp(1.6rem, 4vw, 2.75rem);
  color: var(--paper);
  background: var(--ink);
  box-shadow: 1rem 1rem 0 rgba(180, 74, 42, 0.22);
}

.product-panel__heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.22);
  color: rgba(244, 241, 234, 0.7);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.product-panel h2 {
  max-width: 10ch;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  font-size: clamp(2.5rem, 4.7vw, 4.3rem);
}

.product-panel > p {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: rgba(244, 241, 234, 0.73);
  line-height: 1.65;
}

.product-facts {
  margin: 2.25rem 0 0;
  border-top: 1px solid rgba(244, 241, 234, 0.22);
}

.product-facts > div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.65fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.22);
}

.product-facts dt,
.product-facts dd {
  margin: 0;
  font-size: 0.72rem;
}

.product-facts dt {
  color: rgba(244, 241, 234, 0.66);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-facts dd {
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 750;
  text-align: right;
}

.safety-banner {
  display: grid;
  grid-template-columns: minmax(12rem, 0.34fr) 1fr;
  gap: 1.5rem 3rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  color: var(--paper);
  background: var(--ink);
}

.safety-banner strong {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.safety-banner p {
  margin: 0;
  color: rgba(244, 241, 234, 0.76);
  line-height: 1.65;
}

.release-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.release-strip > div {
  display: grid;
  gap: 2.5rem;
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
}

.release-strip > div:nth-child(2) {
  background: var(--surface-muted);
}

.release-strip span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-strip strong {
  font-size: clamp(1.55rem, 2.9vw, 2.65rem);
  line-height: 1.08;
}

.release-placeholder {
  width: fit-content;
  margin: 2rem 0 0;
  padding: 0.85rem 1.15rem;
  border: 1px dashed var(--muted);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-history {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* JDoor engineering record */

.jdoor-record__hero {
  align-items: stretch;
}

.record-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.6rem, 4vw, 2.75rem);
  color: var(--paper);
  background:
    linear-gradient(rgba(244, 241, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 3.5rem 3.5rem;
  box-shadow: 1rem 1rem 0 rgba(180, 74, 42, 0.22);
}

.record-panel__heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.22);
  color: rgba(244, 241, 234, 0.7);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.record-panel h2 {
  max-width: 11ch;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  font-size: clamp(2.4rem, 4.5vw, 4.15rem);
}

.record-panel > p {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: rgba(244, 241, 234, 0.73);
  line-height: 1.65;
}

.record-facts {
  margin: auto 0 0;
  padding-top: 2.25rem;
}

.record-facts > div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.65fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(244, 241, 234, 0.22);
}

.record-facts dt,
.record-facts dd {
  margin: 0;
  font-size: 0.72rem;
}

.record-facts dt {
  color: rgba(244, 241, 234, 0.66);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-facts dd {
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 750;
  text-align: right;
}

.record-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.record-evidence article {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.42);
}

.record-evidence article > span,
.fit-column__label {
  color: var(--oxide-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-evidence h3 {
  margin-top: 3.25rem;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
}

.record-evidence p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
}

.fit-column {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--surface);
}

.fit-column + .fit-column {
  border-left: 1px solid var(--line-strong);
  background: var(--surface-muted);
}

.fit-column ul {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.fit-column li {
  display: grid;
  grid-template-columns: minmax(8rem, 0.55fr) minmax(0, 1.45fr);
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.fit-column li:last-child {
  border-bottom: 1px solid var(--line);
}

.fit-column strong {
  font-size: 0.9rem;
}

.fit-column li span {
  color: var(--muted);
  line-height: 1.55;
}

.decision-table {
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.decision-table__head,
.decision-table article {
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(16rem, 1.15fr) minmax(16rem, 1.2fr);
}

.decision-table__head span,
.decision-table article > * {
  min-width: 0;
  margin: 0;
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.decision-table__head {
  color: var(--paper);
  background: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.decision-table article:nth-child(odd) {
  background: var(--surface);
}

.decision-table h3 {
  color: var(--oxide-dark);
  font-size: 1rem;
  line-height: 1.35;
}

.decision-table article p {
  color: var(--muted);
  line-height: 1.55;
}

.provenance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  list-style: none;
}

.provenance-list li {
  display: flex;
  min-width: 0;
  min-height: 13rem;
  flex-direction: column;
  padding: 1.5rem;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.provenance-list span {
  color: var(--oxide-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 800;
}

.provenance-list strong {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.15;
}

.provenance-list a {
  width: fit-content;
  min-height: 2.75rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.record-links a {
  display: grid;
  min-width: 0;
  min-height: 8rem;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: end;
  padding: 1.2rem;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
}

.record-links span {
  align-self: start;
  color: var(--oxide-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
}

.record-links strong {
  overflow-wrap: anywhere;
}

.record-links i {
  font-style: normal;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-brand .brand-wordmark {
  width: 8.8rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > a:last-child {
  justify-self: end;
  color: var(--ink);
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 2rem;
}

.not-found main {
  width: min(44rem, 100%);
  padding: clamp(2rem, 8vw, 5rem);
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 1rem 1rem 0 var(--oxide);
}

.not-found-brand {
  display: block;
  width: fit-content;
  margin-bottom: 3.5rem;
}

.not-found-brand .brand-wordmark {
  width: 9rem;
}

.not-found h1 {
  max-width: none;
  font-size: clamp(3.6rem, 15vw, 7.5rem);
}

.not-found p {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button-dark:hover {
    border-color: var(--oxide-dark);
    background: var(--oxide-dark);
  }

  .button-line:hover,
  .site-header nav a:hover,
  footer > a:hover,
  .project-note a:hover {
    color: var(--oxide-dark);
  }

  .project-actions a:hover {
    color: var(--paper);
    background: var(--ink);
  }
}

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

  .archive-hero,
  .project-hero {
    min-height: auto;
  }

  .archive-summary,
  .product-panel,
  .record-panel {
    width: min(100%, 42rem);
  }

  .section-heading,
  .section-heading.compact {
    grid-template-columns: 1fr;
  }

  .project-record > article {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .project-record__details {
    grid-column: 2;
  }

  .decision-table__head {
    display: none;
  }

  .decision-table article {
    grid-template-columns: minmax(11rem, 0.65fr) minmax(0, 1.35fr);
  }

  .decision-table article p:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    min-height: 72px;
    padding-inline: 1rem;
  }

  .brand-wordmark {
    width: 7.4rem;
  }

  .brand-context {
    display: none;
  }

  .site-header nav {
    gap: 0.85rem;
  }

  .site-header nav a {
    font-size: 0.61rem;
  }

  .site-header nav a:nth-child(2) {
    display: none;
  }

  .hero,
  .section,
  footer {
    width: calc(100% - 2rem);
  }

  .hero {
    padding: 4.5rem 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.85rem, 13.6vw, 4.35rem);
  }

  .section {
    padding: 4.75rem 0;
  }

  .section-heading h2 {
    font-size: clamp(2.7rem, 12.5vw, 4rem);
  }

  .standard-grid {
    grid-template-columns: 1fr;
  }

  .record-evidence,
  .fit-grid,
  .provenance-list,
  .record-links {
    grid-template-columns: 1fr;
  }

  .fit-column + .fit-column {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .record-links a {
    min-height: 5.25rem;
  }

  .standard-grid article {
    min-height: auto;
  }

  .standard-grid h3 {
    margin-top: 3.25rem;
  }

  .safety-banner {
    grid-template-columns: 1fr;
  }

  .release-strip {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .release-strip > div {
    gap: 1.5rem;
    border-top: 1px solid var(--line-strong);
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 560px) {
  .project-record > article {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-record__number,
  .project-record__details {
    grid-column: auto;
  }

  .project-record__details {
    gap: 1.75rem;
  }

  .project-record h3 {
    font-size: clamp(2.35rem, 13vw, 3.3rem);
  }

  .archive-summary {
    box-shadow: 0.55rem 0.55rem 0 rgba(14, 17, 17, 0.06);
  }

  .archive-summary dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .archive-summary dd {
    text-align: left;
  }

  .product-panel {
    box-shadow: 0.55rem 0.55rem 0 rgba(180, 74, 42, 0.22);
  }

  .record-panel {
    box-shadow: 0.55rem 0.55rem 0 rgba(180, 74, 42, 0.22);
  }

  .product-facts > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .product-facts dd {
    text-align: left;
  }

  .record-facts > div,
  .fit-column li,
  .decision-table article {
    grid-template-columns: 1fr;
  }

  .record-facts dd {
    text-align: left;
  }

  .decision-table article p:last-child {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .site-header nav {
    gap: 0.65rem;
  }

  .site-header nav a {
    letter-spacing: 0.045em;
  }

  .project-detail .site-header nav a:last-child {
    display: none;
  }

  .project-actions {
    grid-template-columns: 1fr;
  }

  .project-actions a + a {
    margin-top: 0;
    margin-left: 0;
    border-top: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(14, 17, 17, 0.55);
    --line-strong: #0e1111;
  }

  .lead,
  .section-heading > p:last-child,
  .record-evidence p,
  .fit-column li span,
  .decision-table article p {
    color: var(--ink);
  }
}

@media (forced-colors: active) {
  .record-panel,
  .decision-table__head {
    border: 1px solid CanvasText;
  }

  .button,
  .record-links a,
  .provenance-list a {
    forced-color-adjust: auto;
  }
}
