:root {
  --ink: #22160f;
  --deep: #160e0a;
  --coffee: #2d1b12;
  --walnut: #53331f;
  --caramel: #9b6a3c;
  --paper: #f3dfb5;
  --cream: #fff2cf;
  --brass: #d8b26a;
  --green: #203d2f;
  --red: #7e241c;
  --line: rgba(255, 232, 185, .28);
  --shadow: 0 18px 50px rgba(16, 9, 5, .4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 10% 12%, rgba(216, 178, 106, .18), transparent 22rem),
    radial-gradient(circle at 82% 8%, rgba(126, 36, 28, .22), transparent 20rem),
    linear-gradient(135deg, rgba(255, 242, 207, .04) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(45deg, rgba(255, 242, 207, .035) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(180deg, #2b1a11 0%, #140d09 48%, #2f1d13 100%);
  font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .025) 1px, transparent 1px, transparent 4px),
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, .35) 100%);
  mix-blend-mode: overlay;
  z-index: 5;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(53, 32, 21, .96), rgba(29, 18, 12, .92));
  border-bottom: 1px solid rgba(255, 232, 185, .22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .32);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: min(365px, 50vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.nav-shell a,
.ios-button,
.card-link,
.back-link,
.control-button,
.timeline-chip {
  text-decoration: none;
  border: 1px solid rgba(255, 245, 209, .36);
  color: #fff4cc;
  border-radius: 8px;
  padding: .62rem .9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .05) 43%, rgba(0, 0, 0, .17) 44%, rgba(255, 255, 255, .08)),
    linear-gradient(180deg, #9a683b, #4b2c1a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(0, 0, 0, .25),
    0 6px 14px rgba(0, 0, 0, .23);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
}

.ios-button.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, .07) 43%, rgba(0, 0, 0, .18) 44%, rgba(255, 255, 255, .1)),
    linear-gradient(180deg, #c99a55, #67401f);
}

.nav-shell a:hover,
.ios-button:hover,
.card-link:hover,
.back-link:hover,
.control-button:hover,
.timeline-chip:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

main {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: clamp(520px, 78vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 3rem 0 2rem;
  background:
    linear-gradient(90deg, rgba(22, 14, 10, .9), rgba(22, 14, 10, .18)),
    url("assets/images/mini-cross-section.jpg") center right / min(720px, 76vw) auto no-repeat;
  border: 1px solid rgba(255, 232, 185, .16);
  box-shadow: var(--shadow);
  z-index: -1;
}

.hero-copy {
  padding: 2rem 0 2rem clamp(.25rem, 3vw, 2rem);
}

.eyebrow {
  margin: 0 0 .6rem;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 11vw, 8.5rem);
  text-shadow: 0 6px 0 rgba(0, 0, 0, .28), 0 0 26px rgba(216, 178, 106, .25);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  margin: 0;
  font-size: 1.45rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #f2dec0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.35rem;
}

.hero-dossier {
  justify-self: end;
  width: min(310px, 100%);
  padding: 1.35rem;
  border: 2px solid rgba(216, 178, 106, .42);
  background:
    linear-gradient(180deg, rgba(255, 242, 207, .17), rgba(255, 242, 207, .04)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .12) 2px, transparent 2px, transparent 7px),
    rgba(83, 51, 31, .82);
  box-shadow: var(--shadow);
}

.hero-dossier strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
}

.hero-dossier span:last-child {
  color: #efdcb8;
  line-height: 1.35;
}

.stamp {
  display: inline-block;
  margin-bottom: .6rem;
  color: #f8e7bd;
  border: 2px solid rgba(248, 231, 189, .58);
  padding: .25rem .45rem;
  transform: rotate(-4deg);
  font-weight: 800;
}

.ticker {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding: .8rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 232, 185, .2);
  background: #130d09;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .035);
}

.ticker span {
  flex: 0 0 auto;
  color: #ffedbd;
  border: 1px solid rgba(216, 178, 106, .28);
  background: rgba(83, 51, 31, .7);
  padding: .5rem .75rem;
  border-radius: 6px;
}

.panel {
  border: 1px solid rgba(255, 232, 185, .22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)),
    rgba(36, 22, 15, .82);
  box-shadow: var(--shadow);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
}

.intro-grid article {
  padding: clamp(1.1rem, 3vw, 2rem);
  background: rgba(49, 30, 19, .7);
}

.intro-grid p,
.sources p,
.model-copy p {
  color: #ead8bd;
  line-height: 1.65;
}


.creator-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1rem;
  padding: 1px;
}

.creator-panel > div {
  display: grid;
  align-content: start;
  gap: .8rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: rgba(49, 30, 19, .7);
}

.creator-panel p {
  margin: 0;
  color: #ead8bd;
  line-height: 1.65;
}

.creator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .2rem;
}

.section-head {
  display: grid;
  gap: .8rem;
  margin: clamp(3rem, 8vw, 5rem) 0 1.25rem;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(auto-fit, minmax(150px, 220px));
  gap: .7rem;
}

input,
select {
  width: 100%;
  color: var(--cream);
  border: 1px solid rgba(255, 232, 185, .32);
  border-radius: 8px;
  padding: .72rem .85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .08)),
    #2a1a11;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .28);
}

input::placeholder {
  color: rgba(255, 242, 207, .55);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.model-card {
  min-height: 100%;
  cursor: pointer;
  display: grid;
  grid-template-rows: 168px 1fr;
  border: 1px solid rgba(255, 232, 185, .22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    rgba(36, 22, 15, .88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.model-card figure {
  margin: 0;
  position: relative;
  background:
    linear-gradient(135deg, rgba(216, 178, 106, .24), transparent),
    repeating-linear-gradient(45deg, #27170e, #27170e 8px, #321f14 8px, #321f14 16px);
}

.model-card img,
.model-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(.18) saturate(.9) contrast(1.04);
}

.model-card figure::after {
  content: attr(data-years);
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  background: rgba(22, 14, 10, .78);
  border: 1px solid rgba(255, 232, 185, .38);
  color: var(--cream);
  padding: .3rem .5rem;
  border-radius: 6px;
  font-weight: 800;
}

.card-body {
  padding: 1rem;
  display: grid;
  gap: .7rem;
}

.card-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.chip {
  border: 1px solid rgba(216, 178, 106, .35);
  background: rgba(216, 178, 106, .12);
  color: #f7dfaa;
  border-radius: 999px;
  padding: .24rem .5rem;
  font-size: .78rem;
}

.model-card p {
  color: #ead7ba;
  margin: 0;
  line-height: 1.48;
}

.model-card:hover,
.model-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 242, 207, .46);
  filter: brightness(1.04);
}

.card-link {
  justify-self: start;
  margin-top: .2rem;
}

.section-copy {
  max-width: 720px;
  margin: 0;
  color: #ead8bd;
  line-height: 1.55;
}

.more-row {
  display: flex;
  justify-content: center;
  margin: 1.4rem 0 0;
}

.library-hero {
  margin: 2rem 0 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.library-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.library-hero p:last-child {
  max-width: 760px;
  color: #ead8bd;
  line-height: 1.6;
}

.compact-head {
  margin-top: 1rem;
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 1rem;
  align-items: stretch;
}

.builder-view {
  position: relative;
  min-height: 540px;
  border: 1px solid rgba(255, 232, 185, .24);
  background:
    linear-gradient(180deg, rgba(255, 242, 207, .08), rgba(0, 0, 0, .08)),
    radial-gradient(circle at 50% 70%, rgba(216, 178, 106, .25), transparent 18rem),
    #1a110c;
  overflow: hidden;
  box-shadow: var(--shadow);
}

#miniCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.builder-status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #f9e7bc;
  background: rgba(22, 14, 10, .75);
  border: 1px solid rgba(255, 232, 185, .25);
  border-radius: 8px;
  padding: .5rem .7rem;
}

.builder-controls {
  display: grid;
  align-content: start;
  gap: .8rem;
  border: 1px solid rgba(255, 232, 185, .24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    rgba(36, 22, 15, .9);
  box-shadow: var(--shadow);
  padding: 1rem;
  border-top: 4px solid var(--brass);
}

.builder-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
}

.control-button {
  width: 100%;
  cursor: pointer;
  text-align: center;
}

.control-row {
  display: grid;
  gap: .35rem;
}

.control-row label,
.toggle-line {
  color: #f1dcaf;
  font-size: .9rem;
  font-weight: 800;
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.toggle-line input {
  width: auto;
  accent-color: var(--brass);
}

.builder-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .3rem;
}

.builder-readout div,
.compat-box,
.builder-reference {
  border: 1px solid rgba(216, 178, 106, .26);
  background: rgba(18, 11, 7, .55);
  padding: .75rem;
}

.builder-readout span {
  display: block;
  color: #cdb187;
  font-size: .72rem;
}

.builder-readout strong {
  display: block;
  margin-top: .22rem;
  color: #fff1c7;
}

.compat-box {
  color: #ead8bd;
  line-height: 1.45;
}

.compat-box strong {
  color: #f9e2a7;
}

.compat-box .warn {
  color: #ffb49a;
}

.builder-reference {
  display: grid;
  gap: .5rem;
}

.builder-reference span {
  color: #cdb187;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.builder-reference img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 232, 185, .2);
  filter: sepia(.15) saturate(.9);
}

.missing-image {
  width: 100%;
  height: 100%;
  min-height: 150px;
  display: grid;
  place-items: center;
  color: #f5d9a6;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(216, 178, 106, .12), rgba(216, 178, 106, .12) 10px, rgba(18, 11, 7, .35) 10px, rgba(18, 11, 7, .35) 20px),
    #21140d;
}

.timeline-tools {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.timeline-toolbar,
.timeline-categories,
.zoom-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.zoom-label {
  color: #f1dcaf;
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.zoom-help {
  flex: 1 1 100%;
  margin: .1rem 0 0;
  color: #d7c19c;
  font-size: .86rem;
  line-height: 1.4;
}

.timeline-toolbar {
  justify-content: space-between;
}

.timeline-chip {
  cursor: pointer;
  opacity: .62;
}

.timeline-chip.is-active {
  opacity: 1;
  border-color: rgba(255, 242, 207, .72);
}

.timeline-ranges {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: .8rem;
}

.timeline-ranges label {
  display: grid;
  gap: .35rem;
  color: #f1dcaf;
  font-weight: 800;
}

.timeline-ranges input {
  padding: 0;
  accent-color: var(--brass);
}

.timeline-window {
  color: #f8e5b7;
  font-weight: 800;
}

.history-board {
  position: relative;
  margin-top: 1rem;
  padding: 1rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(111, 143, 157, .18), rgba(36, 22, 15, .82)),
    radial-gradient(circle at 50% 46%, rgba(216, 178, 106, .16), transparent 18rem),
    rgba(36, 22, 15, .88);
}

.history-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("assets/images/mini-cross-section.jpg") center / min(860px, 105vw) auto no-repeat;
  opacity: .08;
}

.history-title {
  position: relative;
  z-index: 1;
  margin: .3rem 0 1rem;
  text-align: center;
  color: #fff1c7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .28);
}

.timeline {
  --timeline-zoom: 1.2;
  position: relative;
  z-index: 1;
  min-height: 1540px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0 2rem;
  touch-action: pan-x pan-y;
}

.year-track {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: 720px;
  display: grid;
  grid-template-columns: repeat(var(--year-count), minmax(calc(92px * var(--timeline-zoom)), 1fr));
  min-width: calc(var(--year-count) * 92px * var(--timeline-zoom));
  height: 54px;
  background: linear-gradient(90deg, #4a5b66, #647987);
  border-radius: 2px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .26);
}

.year-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(0,0,0,.12));
}

.year-tick {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  border: 0;
  border-left: 1px solid rgba(255, 242, 207, .18);
  color: #fff4cc;
  background: transparent;
  font: inherit;
  font-weight: 900;
  font-size: clamp(.78rem, 1.2vw, 1rem);
  cursor: pointer;
}

.year-tick:hover,
.year-tick:focus-visible,
.year-tick.is-selected {
  background: rgba(216, 178, 106, .28);
  outline: 2px solid rgba(255, 242, 207, .42);
  outline-offset: -2px;
}

.history-events {
  position: relative;
  z-index: 2;
  min-width: calc(var(--year-count) * 92px * var(--timeline-zoom));
  min-height: 1500px;
}

.history-event {
  --event-offset: calc(var(--event-index) * 92px * var(--timeline-zoom));
  position: absolute;
  left: var(--event-offset);
  width: 290px;
}

.history-event.lane-0 {
  top: 20px;
}

.history-event.lane-1 {
  top: 260px;
}

.history-event.lane-2 {
  top: 500px;
}

.history-event.lane-3 {
  top: 860px;
}

.history-event.lane-4 {
  top: 1100px;
}

.history-event.lane-5 {
  top: 1340px;
}

.history-event::before {
  content: "";
  position: absolute;
  left: 28px;
  width: 2px;
  background: rgba(255, 232, 185, .28);
}

.history-event.lane-0::before {
  top: 84px;
  height: 616px;
}

.history-event.lane-1::before {
  top: 84px;
  height: 376px;
}

.history-event.lane-2::before {
  top: 84px;
  height: 136px;
}

.history-event.lane-3::before {
  top: -136px;
  height: 126px;
}

.history-event.lane-4::before {
  top: -376px;
  height: 366px;
}

.history-event.lane-5::before {
  top: -616px;
  height: 606px;
}

.history-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 82px;
  aspect-ratio: 1;
  border: 3px solid rgba(255, 242, 207, .54);
  border-radius: 999px;
  color: #fff4cc;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.24), transparent 28%),
    linear-gradient(145deg, #845335, #22140d);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .32);
  font-weight: 900;
  cursor: pointer;
}

.history-event {
  cursor: pointer;
}

.history-event.is-open {
  z-index: 5;
}

.history-card {
  position: relative;
  z-index: 2;
  margin-top: .65rem;
  border: 1px solid rgba(255, 232, 185, .24);
  background: rgba(18, 11, 7, .78);
  padding: .8rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.26);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.history-event:hover .history-card,
.history-event:focus-visible .history-card,
.history-event.is-open .history-card {
  transform: translateY(-3px);
  border-color: rgba(255, 242, 207, .58);
  background: rgba(18, 11, 7, .92);
}

.history-card h3 {
  margin-top: .2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.history-card p {
  margin: .4rem 0 0;
  color: #ead8bd;
  line-height: 1.48;
}

.empty-history {
  padding: 1rem;
}

.timeline-badge {
  display: inline-block;
  margin-bottom: .4rem;
  color: #2a1a11;
  background: var(--brass);
  border-radius: 999px;
  padding: .18rem .45rem;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.category-sorties .history-node,
.category-sorties { border-color: #d8b26a; }
.category-marques .history-node,
.category-marques { border-color: #8fb8c5; }
.category-technique .history-node,
.category-technique { border-color: #c7a06a; }
.category-sport .history-node,
.category-sport { border-color: #c95846; }
.category-entreprise .history-node,
.category-entreprise { border-color: #9ca66d; }
.category-fin .history-node,
.category-fin { border-color: #f3dfb5; }

.created-by {
  margin: 1rem 0 1.2rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.created-by h2 {
  margin-bottom: 1rem;
}

.sources {
  margin: 1.2rem 0 2rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.source-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .7rem;
}

.source-list a {
  text-decoration: none;
  color: #f8e5b7;
  border: 1px solid rgba(216, 178, 106, .25);
  background: rgba(18, 11, 7, .45);
  padding: .8rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1220px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: 1.2rem 0 2rem;
  color: #d3b88e;
  border-top: 1px solid rgba(255, 232, 185, .2);
}

.model-root {
  padding-top: 2rem;
}

.model-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.model-hero figure {
  margin: 0;
  min-height: 430px;
  border: 1px solid rgba(255, 232, 185, .2);
  background: #1a110c;
  box-shadow: var(--shadow);
}

.model-copy {
  padding: clamp(1rem, 3vw, 2rem);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: 1rem 0;
}

.spec {
  border: 1px solid rgba(216, 178, 106, .24);
  background: rgba(18, 11, 7, .45);
  padding: .8rem;
}

.spec span {
  display: block;
  color: #cdb187;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.spec strong {
  display: block;
  margin-top: .22rem;
  color: #fff1c7;
}

.detail-panel {
  margin-top: 1rem;
  padding: 1.2rem;
}

.detail-panel ul {
  margin: .7rem 0 0;
  padding-left: 1.1rem;
  color: #ead8bd;
  line-height: 1.6;
}

.hidden-note {
  color: #d7b987;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-shell {
    justify-content: flex-start;
  }

  .hero,
  .builder-shell,
  .model-hero {
    grid-template-columns: 1fr;
  }

  .hero::before {
    inset: 1rem 0;
    background:
      linear-gradient(180deg, rgba(22, 14, 10, .92), rgba(22, 14, 10, .35)),
      url("assets/images/mini-cross-section.jpg") center bottom / 95vw auto no-repeat;
  }

  .hero-dossier {
    justify-self: start;
  }

  .intro-grid,
  .creator-panel,
  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .builder-view {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  main,
  .site-footer {
    width: min(100% - 1rem, 1220px);
  }

  .nav-shell a {
    padding: .55rem .65rem;
  }

  .model-card {
    grid-template-rows: 150px 1fr;
  }

  .builder-readout,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    min-height: 1600px;
  }

  .history-event {
    width: 270px;
  }
}


.contact-hero .ios-button {
  justify-self: start;
}

.contact-note {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.contact-note p {
  color: #ead8bd;
  line-height: 1.65;
}
