@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "League Gothic";
  src: url("assets/fonts/league-gothic-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Editorial Sans";
  src: url("assets/fonts/inter-tight-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Editorial Sans";
  src: url("assets/fonts/inter-tight-semibold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  color-scheme: light;
  --paper: #e6ded5;
  --paper-bright: #f0e9e0;
  --paper-dim: #d7cec4;
  --ink: #1c1d1b;
  --ink-soft: #45443f;
  --signal: #e1c819;
  --cobalt: #0d1f75;
  --rule: #beb7b0;
  --positive: #315f3d;
  --canvas: 1600px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--ink);
  font-family: "Editorial Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::selection,
body *::selection {
  color: var(--paper-bright);
  background: var(--cobalt);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.arrow-icon {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

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

.skip-link {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  color: var(--paper-bright);
  background: var(--cobalt);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 12px 16px;
  overflow: visible;
  clip-path: none;
}

.page-ground {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 18%, rgb(255 255 255 / 0.22) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 57%, rgb(28 29 27 / 0.09) 0 0.8px, transparent 1.4px),
    var(--paper);
  background-size: 17px 23px, 29px 31px, auto;
}

.site-shell {
  width: min(100%, var(--canvas));
  min-height: 100vh;
  margin-inline: auto;
  overflow: clip;
  background: rgb(230 222 213 / 0.93);
  border-inline: 1px solid var(--rule);
}

.masthead {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  padding: 8px clamp(18px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.concept-stamp {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 14px;
  border: 1px solid var(--ink);
  text-decoration: none;
}

.concept-stamp:hover,
.concept-stamp:focus-visible {
  color: var(--paper-bright);
  background: var(--ink);
}

.issue-picker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.masthead__links {
  justify-self: end;
  display: flex;
  gap: clamp(18px, 3vw, 42px);
}

.masthead__links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.masthead__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease-out);
}

.masthead__links a:hover::after,
.masthead__links a:focus-visible::after {
  transform: scaleX(1);
}

.issue-dot {
  width: 18px;
  height: 18px;
  background: var(--cobalt);
  border-radius: 50%;
}

.hero {
  position: relative;
  padding: 0 clamp(18px, 3vw, 38px) 0;
}

.register {
  position: absolute;
  z-index: 5;
  width: 30px;
  height: 30px;
  pointer-events: none;
}

.register::before,
.register::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.register::before {
  top: 14px;
  left: 0;
  width: 30px;
  height: 1px;
}

.register::after {
  top: 0;
  left: 14px;
  width: 1px;
  height: 30px;
}

.register--tl {
  top: 12px;
  left: 6px;
}

.register--tr {
  top: 12px;
  right: 6px;
}

.hero__plate {
  min-height: clamp(500px, 44vw, 700px);
  display: grid;
  grid-template-columns: minmax(350px, 40%) 1fr;
  margin-top: 12px;
  border: 1px solid var(--rule);
}

.hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(30px, 4vw, 56px) clamp(22px, 3vw, 46px) 28px;
  background: rgb(240 233 224 / 0.96);
}

.hero-ledger {
  position: absolute;
  z-index: 3;
  top: 28px;
  right: 10px;
  display: flex;
  gap: 16px;
  border-right: 1px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.signal-slashes {
  position: absolute;
  top: 74px;
  left: 20px;
  display: grid;
  gap: 6px;
}

.signal-slashes i {
  width: 10px;
  height: 28px;
  display: block;
  background: var(--signal);
  transform: skewY(-42deg);
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-family: "League Gothic", sans-serif;
  font-size: clamp(7rem, 12.6vw, 12.5rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__kind {
  margin: 12px 0 14px;
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.spec-ledger {
  width: min(100%, 420px);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.62rem, 0.75vw, 0.74rem);
  line-height: 1.35;
  text-transform: uppercase;
}

.spec-ledger div {
  display: grid;
  grid-template-columns: minmax(112px, 0.9fr) 1.1fr;
  gap: 12px;
}

.spec-ledger dt,
.spec-ledger dd {
  margin: 0;
}

.spec-ledger dt::after {
  content: " :";
  float: right;
}

.source-note {
  margin: 14px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero__media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #938b81;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(0.84) contrast(1.04);
  transition: transform 850ms var(--ease-out), filter 450ms ease;
}

.hero__media > a,
.fold-card__media,
.active-vehicle__media > a {
  display: block;
}

.hero__media figcaption a {
  color: var(--paper-bright);
  font-weight: 500;
}

.hero__media figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  color: var(--paper-bright);
  background: rgb(28 29 27 / 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.hero__plate:hover .hero__media img {
  transform: scale(1.015);
  filter: saturate(0.9) contrast(1.05);
}

.issue-strip {
  position: relative;
  z-index: 4;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(175px, auto) 110px;
  align-items: center;
  margin-top: -64px;
  margin-left: 38%;
  color: var(--ink);
  background: var(--signal);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  transform-origin: center;
}

.issue-strip__action {
  padding-left: clamp(18px, 5vw, 70px);
  font-family: "Anton", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.issue-strip svg {
  width: 42px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  transition: transform 220ms var(--ease-out);
}

.issue-strip__note {
  padding-inline: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.issue-strip__number {
  align-self: stretch;
  display: grid;
  place-content: center;
  color: var(--paper-bright);
  background: var(--cobalt);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.issue-strip__number b {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.issue-strip:hover svg,
.issue-strip:focus-visible svg {
  transform: translateX(8px);
}

.issue-strip:hover .issue-strip__action,
.issue-strip:focus-visible .issue-strip__action {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.issue-strip.is-opening {
  animation: issue-open 680ms var(--ease-out);
}

@keyframes issue-open {
  0% { clip-path: inset(0 94% 0 0); }
  62% { clip-path: inset(0 0 0 0); transform: scaleY(1.08); }
  100% { clip-path: inset(0 0 0 0); transform: scaleY(1); }
}

.fold-preview {
  display: grid;
  grid-template-columns: 1.04fr 1.18fr 0.9fr;
  border-bottom: 1px solid var(--rule);
}

.fold-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 16px;
  border-right: 1px solid var(--rule);
}

.fold-card:last-child {
  border-right: 0;
}

.fold-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-family: "Anton", sans-serif;
  font-size: 1.18rem;
  text-transform: uppercase;
}

.fold-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: saturate(0.62) contrast(1.08);
}

.feature-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.fold-card p {
  max-width: 54ch;
  margin: 10px 0 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.fold-card > a {
  min-height: 44px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
  font-family: "Anton", sans-serif;
  font-size: 1.05rem;
  text-decoration: none;
  text-transform: uppercase;
}

.fold-card > a:hover,
.fold-card > a:focus-visible {
  color: var(--cobalt);
}

.inspection-list,
.classified-index {
  margin-bottom: 14px;
  border-top: 1px solid var(--rule);
}

.inspection-row,
.index-row {
  min-height: 30px;
  display: grid;
  align-items: center;
  gap: 10px;
  padding-block: 5px;
  border-bottom: 1px solid var(--rule);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.inspection-row {
  grid-template-columns: minmax(96px, 0.9fr) 9px minmax(50px, 0.5fr) 1.5fr;
}

.inspection-row i {
  width: 8px;
  height: 8px;
  display: block;
  background: var(--signal);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.inspection-row:nth-child(4n) i {
  background: var(--cobalt);
}

.index-row {
  grid-template-columns: 1fr auto;
}

.inventory {
  position: relative;
  padding: clamp(70px, 9vw, 140px) clamp(18px, 4vw, 62px) clamp(80px, 10vw, 150px);
  background: var(--paper-bright);
  border-top: 1px solid var(--ink);
}

.chapter-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) minmax(280px, 1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: clamp(24px, 4vw, 72px);
  margin-bottom: clamp(42px, 6vw, 80px);
}

.chapter-ledger {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.chapter-ledger span {
  display: block;
}

.chapter-ledger span:first-child {
  margin-bottom: 12px;
  color: var(--cobalt);
  font-weight: 500;
}

.chapter-heading h2 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(4.6rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.chapter-heading__summary {
  max-width: 43ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.inventory-toolbar {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 10px;
  border-block: 1px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 44px;
  padding: 9px 15px;
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
  text-transform: uppercase;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--ink);
}

.filter-button[aria-pressed="true"] {
  color: var(--paper-bright);
  background: var(--ink);
  border-color: var(--ink);
}

.result-count {
  margin: 0;
  text-align: right;
}

.inventory-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  border-bottom: 1px solid var(--ink);
}

.vehicle-list {
  border-right: 1px solid var(--ink);
}

.vehicle-entry {
  width: 100%;
  min-height: 120px;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 18px 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.vehicle-entry:last-child {
  border-bottom: 0;
}

.vehicle-entry[aria-pressed="true"],
.vehicle-entry[aria-current="true"] {
  background: var(--signal);
  box-shadow: inset 6px 0 0 var(--ink);
}

.vehicle-entry:hover:not([aria-pressed="true"]):not([aria-current="true"]) {
  background: var(--paper-dim);
}

.vehicle-entry img {
  width: 148px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.68) contrast(1.05);
}

.vehicle-entry__copy {
  min-width: 0;
}

.vehicle-entry__copy b {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.vehicle-entry__copy span,
.vehicle-entry__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.vehicle-entry__meta {
  text-align: right;
}

.vehicle-entry__arrow {
  display: block;
  width: 22px;
  height: 22px;
}

.active-vehicle {
  min-width: 0;
  padding: clamp(24px, 4vw, 54px);
  background: var(--paper);
}

.active-vehicle__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.active-vehicle__media {
  position: relative;
  margin: 0 0 20px;
  overflow: hidden;
}

.active-vehicle__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.05);
}

.active-vehicle__media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 6px 10px;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.active-vehicle h3 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(3.6rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.active-vehicle__description {
  max-width: 58ch;
  margin: 14px 0 24px;
  font-size: 1.05rem;
}

.active-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
  border-block: 1px solid var(--ink);
}

.active-specs div {
  padding: 10px 12px;
  border-right: 1px solid var(--rule);
}

.active-specs div:last-child {
  border-right: 0;
}

.active-specs span,
.active-specs b {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.active-specs b {
  margin-top: 3px;
  font-size: 0.72rem;
}

.active-notes h4 {
  margin: 0 0 10px;
  font-family: "Anton", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
}

.active-notes .inspection-row {
  grid-template-columns: minmax(100px, 0.7fr) 9px minmax(70px, 0.45fr) 1.6fr;
}

.active-vehicle__link {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  font-family: "Anton", sans-serif;
  font-size: 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
}

.active-vehicle__link:hover,
.active-vehicle__link:focus-visible {
  color: var(--cobalt);
}

.template-seams {
  padding: clamp(70px, 9vw, 140px) clamp(18px, 4vw, 62px) clamp(80px, 9vw, 130px);
  color: var(--paper-bright);
  background: var(--ink);
}

.chapter-heading--dark {
  grid-template-columns: minmax(150px, 0.3fr) 1fr;
}

.chapter-heading--dark .chapter-ledger {
  border-color: var(--paper-bright);
}

.chapter-heading--dark .chapter-ledger span:first-child {
  color: var(--signal);
}

.seam-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgb(240 233 224 / 0.5);
}

.seam-ledger article {
  padding: clamp(24px, 4vw, 48px);
  border-right: 1px solid rgb(240 233 224 / 0.35);
}

.seam-ledger article:last-child {
  border-right: 0;
}

.seam-ledger span {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.seam-ledger h3 {
  margin: 28px 0 12px;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.seam-ledger p {
  max-width: 45ch;
  margin: 0;
  color: #d8d0c7;
}

code {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
}

.site-footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 62px);
  color: var(--paper-bright);
  background: var(--cobalt);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.detail-page {
  min-height: calc(100vh - 142px);
  padding: 0 clamp(18px, 3vw, 38px) clamp(80px, 9vw, 140px);
}

.detail-back,
.detail-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.detail-back:hover,
.detail-back:focus-visible,
.detail-action:hover,
.detail-action:focus-visible {
  color: var(--cobalt);
}

.detail-record {
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}

.detail-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(18px, 3vw, 46px);
  padding: clamp(28px, 4vw, 58px);
  border-bottom: 1px solid var(--ink);
}

.detail-ledger {
  align-self: stretch;
  display: flex;
  gap: 18px;
  padding-right: 9px;
  border-right: 1px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.detail-ledger span:first-child {
  color: var(--cobalt);
}

.detail-heading h1,
.detail-error h1,
.detail-loading h1 {
  margin: 0;
  font-family: "League Gothic", sans-serif;
  font-size: clamp(5.5rem, 10vw, 10rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  white-space: nowrap;
}

.detail-heading__copy p {
  max-width: 65ch;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.detail-status {
  min-width: 170px;
  padding: 14px 0 4px 18px;
  border-left: 1px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.detail-status span,
.detail-status strong {
  display: block;
}

.detail-status strong {
  color: var(--cobalt);
}

.detail-plate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  border-bottom: 1px solid var(--ink);
}

.detail-figure {
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--ink);
  background: var(--ink);
}

.detail-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--ink);
}

.detail-figure figcaption {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 14px;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.detail-spec-panel {
  min-width: 0;
  padding: clamp(24px, 3vw, 44px);
  background: var(--paper);
}

.detail-spec-panel h2,
.detail-gallery h2,
.detail-inspection h2 {
  margin: 0 0 24px;
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.detail-gallery {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) 1fr;
  gap: clamp(32px, 5vw, 86px);
  padding: clamp(42px, 6vw, 86px);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.detail-gallery__images {
  min-width: 0;
}

.detail-gallery figure {
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.detail-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.detail-gallery figcaption {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 14px;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.detail-specs {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.detail-specs div {
  min-height: 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 18px;
  padding-block: 8px;
  border-bottom: 1px solid var(--rule);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.detail-specs dt,
.detail-specs dd {
  margin: 0;
}

.detail-specs dd {
  font-weight: 500;
}

.detail-disclosure {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.detail-inspection {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) 1fr;
  gap: clamp(32px, 5vw, 86px);
  padding: clamp(42px, 6vw, 86px);
  border-bottom: 1px solid var(--ink);
}

.detail-inspection__rows {
  border-top: 1px solid var(--ink);
}

.detail-inspection .inspection-row {
  min-height: 44px;
  font-size: 0.68rem;
}

.detail-record-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.detail-record-nav a {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 3vw, 36px);
  color: inherit;
  border-right: 1px solid var(--ink);
  text-decoration: none;
}

.detail-record-nav a:nth-child(2) {
  justify-content: center;
  text-align: center;
}

.detail-record-nav a:last-child {
  border-right: 0;
  text-align: right;
}

.detail-record-nav a:hover,
.detail-record-nav a:focus-visible {
  color: var(--paper-bright);
  background: var(--cobalt);
}

.detail-record-nav small,
.detail-record-nav b {
  display: block;
}

.detail-record-nav small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.detail-record-nav b {
  margin-top: 4px;
  font-family: "Anton", sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.detail-loading,
.detail-error {
  min-height: 60vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  padding: clamp(42px, 8vw, 120px);
}

.detail-loading p,
.detail-error p {
  max-width: 60ch;
  margin: 0;
  font-size: 1.1rem;
}

.interaction-status {
  position: fixed;
  z-index: 40;
  right: 16px;
  bottom: 16px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 14px;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid var(--paper-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 320ms var(--ease-out);
}

.interaction-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero__plate {
    grid-template-columns: minmax(310px, 42%) 1fr;
  }

  .hero h1 {
    font-size: clamp(6.5rem, 13vw, 9rem);
  }

  .issue-strip {
    margin-left: 32%;
  }

  .issue-strip__note {
    display: none;
  }

  .issue-strip {
    grid-template-columns: 1fr 54px 88px;
  }

  .fold-preview {
    grid-template-columns: 1fr 1fr;
  }

  .fold-card--index {
    grid-column: 1 / -1;
    border-top: 1px solid var(--rule);
  }

  .chapter-heading {
    grid-template-columns: 0.35fr 1fr;
  }

  .chapter-heading__summary {
    grid-column: 2;
  }

  .inventory-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  }

  .vehicle-entry {
    grid-template-columns: 108px 1fr;
  }

  .vehicle-entry img {
    width: 108px;
  }

  .vehicle-entry__meta {
    grid-column: 2;
    text-align: left;
  }
}

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

  .site-shell {
    border-inline: 0;
  }

  .masthead {
    position: relative;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding-inline: 14px;
  }

  .concept-stamp {
    padding-inline: 9px;
    font-size: 0.62rem;
  }

  .masthead__links {
    display: none;
  }

  .hero {
    padding-inline: 0;
  }

  .register {
    display: none;
  }

  .hero__plate {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    border-inline: 0;
  }

  .hero__copy {
    padding: 30px 18px 24px;
  }

  .hero-ledger {
    top: 28px;
    right: 5px;
    gap: 12px;
    font-size: 0.65rem;
  }

  .signal-slashes {
    top: 62px;
    left: 8px;
    gap: 4px;
  }

  .signal-slashes i {
    width: 7px;
    height: 20px;
  }

  .hero h1 {
    padding-right: 12px;
    font-size: clamp(6.2rem, 31vw, 9rem);
  }

  .hero__kind {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .spec-ledger {
    font-size: 0.72rem;
  }

  .source-note {
    font-size: 0.7rem;
  }

  .hero__media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-position: 58% 55%;
  }

  .issue-strip {
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) 40px 70px;
    margin: 0;
    border-inline: 0;
  }

  .issue-strip__action {
    padding-left: 16px;
    font-size: clamp(1.6rem, 8vw, 2.3rem);
  }

  .issue-strip svg {
    width: 34px;
  }

  .issue-strip__number {
    font-size: 0.5rem;
  }

  .issue-strip__number b {
    font-size: 1.6rem;
  }

  .fold-preview {
    display: block;
  }

  .fold-card {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .fold-card--index {
    border-top: 0;
  }

  .fold-card img {
    aspect-ratio: 16 / 9;
  }

  .inventory,
  .template-seams {
    padding: 76px 18px 92px;
  }

  .chapter-heading,
  .chapter-heading--dark {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    margin-bottom: 42px;
  }

  .chapter-ledger {
    grid-row: 1 / span 2;
    align-self: stretch;
    padding: 0 8px 0 0;
    border-right: 1px solid currentColor;
    border-bottom: 0;
    font-size: 0.66rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .chapter-ledger span:first-child {
    margin: 0 0 14px;
  }

  .chapter-heading h2 {
    grid-column: 2;
    font-size: clamp(4.2rem, 21vw, 7rem);
  }

  .chapter-heading__summary {
    grid-column: 2;
    margin-top: 24px;
  }

  .inventory-toolbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .inventory-toolbar > span {
    align-self: end;
  }

  .filter-list {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-button {
    width: 100%;
  }

  .inventory-layout {
    display: block;
  }

  .vehicle-list {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .vehicle-entry {
    grid-template-columns: 104px 1fr;
    min-height: 112px;
    padding-right: 10px;
  }

  .vehicle-entry img {
    width: 104px;
  }

  .active-vehicle {
    padding: 42px 0 0;
  }

  .active-vehicle h3 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .active-specs {
    grid-template-columns: 1fr;
  }

  .active-specs div {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .active-specs div:last-child {
    border-bottom: 0;
  }

  .active-notes .inspection-row,
  .inspection-row {
    min-height: 44px;
    grid-template-columns: minmax(110px, 1fr) 9px auto;
    gap: 7px;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .inspection-row span:last-child {
    grid-column: 1 / -1;
    padding-top: 2px;
    font-size: 0.67rem;
  }

  .active-specs span {
    font-size: 0.68rem;
  }

  .active-specs b {
    font-size: 0.76rem;
  }

  .active-vehicle__header,
  .vehicle-entry__copy span,
  .vehicle-entry__meta,
  .site-footer {
    font-size: 0.68rem;
  }

  .seam-ledger {
    display: block;
  }

  .seam-ledger article {
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid rgb(240 233 224 / 0.35);
  }

  .seam-ledger article:last-child {
    border-bottom: 0;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    margin-top: 10px;
  }

  .detail-page {
    padding: 0 0 76px;
  }

  .detail-back {
    margin-inline: 18px;
  }

  .detail-record {
    border-inline: 0;
  }

  .detail-heading {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 34px 18px 38px;
  }

  .detail-ledger {
    grid-row: 1 / span 2;
    font-size: 0.66rem;
  }

  .detail-heading h1,
  .detail-error h1,
  .detail-loading h1 {
    font-size: clamp(4.5rem, 22vw, 6.5rem);
  }

  .detail-heading__copy p {
    margin-top: 18px;
  }

  .detail-status {
    grid-column: 2;
    min-width: 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
    font-size: 0.7rem;
    text-align: left;
  }

  .detail-plate {
    display: block;
  }

  .detail-figure {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .detail-figure figcaption {
    display: block;
    padding: 11px 14px;
    font-size: 0.68rem;
  }

  .detail-figure figcaption span {
    display: block;
  }

  .detail-figure figcaption span + span {
    margin-top: 4px;
  }

  .detail-spec-panel {
    padding: 38px 18px 48px;
  }

  .detail-specs div {
    font-size: 0.7rem;
  }

  .detail-inspection {
    display: block;
    padding: 48px 18px 54px;
  }

  .detail-gallery {
    display: block;
    padding: 48px 18px 54px;
  }

  .detail-gallery h2 {
    margin-bottom: 28px;
  }

  .detail-gallery figcaption {
    font-size: 0.68rem;
  }

  .detail-inspection h2 {
    margin-bottom: 28px;
  }

  .detail-record-nav {
    display: block;
  }

  .detail-record-nav a {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .detail-record-nav a:nth-child(2) {
    justify-content: flex-start;
    text-align: left;
  }

  .detail-record-nav a:last-child {
    border-bottom: 0;
  }

  .detail-loading,
  .detail-error {
    min-height: 70vh;
    padding: 48px 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  html,
  body,
  .page-ground {
    background: white;
  }

  .masthead,
  .issue-strip,
  .inventory-toolbar,
  .site-footer {
    display: none;
  }

  .site-shell {
    max-width: none;
    border: 0;
  }
}
