:root {
  color-scheme: dark;
  --red: #b00013;
  --red-2: #e1261c;
  --ink: #101115;
  --panel: #17191f;
  --panel-2: #20242c;
  --paper: #f5efe2;
  --paper-dim: #d8cbb6;
  --steel: #aab0b8;
  --line: rgba(245, 239, 226, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(176, 0, 19, 0.25), transparent 28rem),
    linear-gradient(180deg, #111216 0%, #191b20 48%, #f5efe2 48%, #f5efe2 100%);
  color: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  translate: 0 -150%;
  background: var(--paper);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  color: var(--paper);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header:has(.site-nav.is-open) {
  background: rgba(16, 17, 21, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer,
.section-grid,
.split,
.join,
.contact,
.board {
  display: flex;
}

.brand {
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 0.2rem;
}

.brand span {
  display: grid;
  gap: 0.08rem;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1;
}

.brand small {
  color: var(--paper-dim);
  font-size: 0.78rem;
}

.site-nav {
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  color: rgba(245, 239, 226, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(245, 239, 226, 0.12);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 239, 226, 0.08);
  color: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero {
  position: relative;
  min-height: min(860px, 100svh);
  display: grid;
  align-items: end;
  padding: clamp(8rem, 14vh, 12rem) clamp(1rem, 4vw, 3.5rem) clamp(2rem, 7vh, 4.5rem);
  overflow: clip;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 17, 21, 0.94) 0%, rgba(16, 17, 21, 0.7) 43%, rgba(16, 17, 21, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 17, 21, 0.95) 0%, transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 120px);
}

.hero-content {
  position: relative;
}

.hero-content {
  max-width: 860px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: #ffc342;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  color: inherit;
  font-size: clamp(2.1rem, 5vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-copy {
  max-width: 690px;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--red-2);
  color: white;
  box-shadow: 0 12px 30px rgba(176, 0, 19, 0.35);
}

.button.ghost {
  border: 1px solid rgba(245, 239, 226, 0.34);
  background: rgba(245, 239, 226, 0.08);
}

.vehicle-list span {
  color: var(--red);
  font-weight: 900;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 4vw, 2rem);
}

.feature,
.timeline,
.join,
.contact,
.board {
  color: var(--ink);
}

.section-grid {
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-grid > * {
  flex: 1 1 0;
}

.feature .section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.feature .vehicle-intro {
  max-width: 860px;
}

.vehicle-intro h2 {
  color: #fff4dc;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}

.vehicle-intro h2::first-line {
  color: #ffc342;
}

.vehicle-intro p {
  color: rgba(245, 239, 226, 0.84);
}

.vehicle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.vehicle-card,
.join-options article,
.board-grid article {
  border: 1px solid rgba(16, 17, 21, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  padding: 1.25rem;
}

.vehicle-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  gap: 0;
  min-height: 288px;
  height: 288px;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.vehicle-card:hover,
.vehicle-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(176, 0, 19, 0.42);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(16, 17, 21, 0.12);
}

.vehicle-card-media {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(176, 0, 19, 0.18), rgba(245, 239, 226, 0.62)),
    #d9d1c0;
}

.vehicle-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
  transition: transform 220ms ease;
}

.vehicle-card:hover .vehicle-card-media img,
.vehicle-card:focus-visible .vehicle-card-media img {
  transform: scale(1.04);
}

.vehicle-card-body {
  display: grid;
  gap: 0.18rem;
  min-height: 0;
  padding: 0.78rem 0.95rem 0.9rem;
}

.vehicle-card small {
  align-self: end;
  color: var(--red);
  font-weight: 900;
}

.vehicle-card small::after {
  content: " ->";
}

.vehicle-card h3,
.join-options h3 {
  margin: 0.12rem 0 0.22rem;
}

.vehicle-card p {
  margin-bottom: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vehicle-page {
  background: var(--paper);
  color: var(--ink);
}

.vehicle-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  padding: clamp(7rem, 14vh, 11rem) clamp(1rem, 4vw, 3.5rem) clamp(2.5rem, 7vh, 4rem);
  overflow: clip;
  color: var(--paper);
}

.vehicle-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.vehicle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 17, 21, 0.95), rgba(16, 17, 21, 0.62) 48%, rgba(16, 17, 21, 0.18)),
    linear-gradient(0deg, rgba(16, 17, 21, 0.92), transparent 52%);
}

.vehicle-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.vehicle-hero h1 {
  max-width: 9ch;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(245, 239, 226, 0.34);
  border-radius: var(--radius);
  padding: 0.68rem 0.9rem;
  text-decoration: none;
  font-weight: 800;
}

.vehicle-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.vehicle-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.vehicle-copy {
  display: grid;
  gap: 1.2rem;
}

.vehicle-copy p {
  max-width: 760px;
}

.fact-panel {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(16, 17, 21, 0.14);
  box-shadow: 0 22px 64px rgba(16, 17, 21, 0.12);
}

.fact-panel div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.62);
}

.fact-panel dt {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-panel dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.vehicle-gallery {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.vehicle-gallery h2 {
  max-width: 760px;
}

.gallery-carousel {
  margin-top: 1.4rem;
  border: 1px solid rgba(16, 17, 21, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 70px rgba(16, 17, 21, 0.12);
  overflow: hidden;
}

.gallery-stage {
  position: relative;
  margin: 0;
  background: rgba(16, 17, 21, 0.94);
}

.gallery-stage img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-stage figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: fit-content;
  max-width: min(520px, calc(100% - 2rem));
  border: 1px solid rgba(245, 239, 226, 0.24);
  border-radius: var(--radius);
  background: rgba(16, 17, 21, 0.76);
  color: var(--paper);
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.3;
  backdrop-filter: blur(14px);
}

.gallery-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-thumb,
.gallery-arrow {
  border: 0;
  cursor: pointer;
}

.gallery-thumb {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(16, 17, 21, 0.9);
  box-shadow: inset 0 0 0 1px rgba(16, 17, 21, 0.08);
}

.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: inherit;
  pointer-events: none;
}

.gallery-thumb.is-active::after {
  border-color: var(--red);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.74;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.gallery-thumb:hover img,
.gallery-thumb.is-active img {
  opacity: 1;
  transform: scale(1.03);
}

.gallery-thumb span {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(245, 239, 226, 0.92);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.gallery-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.gallery-arrow:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.vehicle-more {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.vehicle-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.vehicle-more-grid a {
  min-height: 150px;
  border: 1px solid rgba(16, 17, 21, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.vehicle-more-grid strong,
.vehicle-more-grid span {
  display: block;
}

.vehicle-more-grid span {
  margin-top: 0.45rem;
  color: rgba(16, 17, 21, 0.66);
  line-height: 1.45;
}

.image-rail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin-top: 3rem;
}

figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 20px 60px rgba(16, 17, 21, 0.18);
}

figure img {
  width: 100%;
  height: min(62vw, 520px);
  object-fit: cover;
}

figcaption {
  padding: 0.9rem 1rem;
  color: var(--paper-dim);
  font-size: 0.9rem;
  line-height: 1.45;
}

.split {
  max-width: none;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-inline: clamp(1rem, 5vw, 5rem);
  background: var(--ink);
  color: var(--paper);
}

.split > * {
  flex: 1 1 0;
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.main-photo {
  width: 92%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
}

.seal {
  position: absolute;
  right: 0;
  bottom: -2rem;
  width: min(36vw, 260px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 0.5rem;
  box-shadow: var(--shadow);
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.principles span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  background: rgba(245, 239, 226, 0.08);
  color: #fff;
  font-weight: 750;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(16, 17, 21, 0.16);
}

.timeline article {
  min-height: 320px;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.55);
}

time {
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 900;
}

.timeline h3 {
  margin: 1.2rem 0 0.6rem;
}

.timeline-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.history-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 960px;
  margin: 0 auto;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.history-aside {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
}

.history-aside-card {
  border: 1px solid rgba(16, 17, 21, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 1.15rem;
  box-shadow: 0 18px 50px rgba(16, 17, 21, 0.08);
}

.history-aside-card strong {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.history-aside-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.28;
}

.history-story {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  text-align: center;
}

.history-story h2 {
  margin: 0 0 0.2rem;
}

.history-story h3 {
  margin: 1.2rem 0 0;
  color: var(--red);
}

.history-story p {
  max-width: 860px;
  margin: 0 auto;
}

.history-quote {
  width: min(100%, 860px);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 1.2rem 1.3rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.25;
}

.join {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding-right: max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--max)) / 2 + clamp(1rem, 4vw, 2rem)));
  padding-left: max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--max)) / 2 + clamp(1rem, 4vw, 2rem)));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: stretch;
  border-top: 1px solid rgba(16, 17, 21, 0.13);
  border-bottom: 1px solid rgba(16, 17, 21, 0.13);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 17, 21, 0.92), rgba(16, 17, 21, 0.68) 54%, rgba(16, 17, 21, 0.48)),
    url("assets/image-1000023.jpg") center / cover;
  color: var(--paper);
}

.join > * {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
}

.join h2,
.join p {
  color: var(--paper);
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
}

.join-options {
  display: grid;
  gap: 1rem;
}

.join-options article {
  border-color: rgba(245, 239, 226, 0.26);
  background: rgba(245, 239, 226, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.join-options article p {
  color: rgba(16, 17, 21, 0.72);
  text-shadow: none;
}

.board {
  justify-content: space-between;
  gap: 2rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 1rem;
  min-width: min(100%, 560px);
}

.board-grid article {
  display: grid;
  gap: 0.35rem;
}

.board-grid strong {
  font-size: 1.08rem;
}

.board-grid span {
  color: rgba(16, 17, 21, 0.66);
}

.board-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  color: var(--ink);
}

.board-intro p {
  max-width: 640px;
}

.board-grid-large {
  min-width: 0;
}

.board-grid-large article {
  min-height: 150px;
  align-content: end;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42)),
    linear-gradient(180deg, rgba(176, 0, 19, 0.1), transparent);
}

.site-nav a[aria-current="page"] {
  background: rgba(245, 239, 226, 0.16);
  color: #fff;
}

.legal-page {
  background: var(--paper);
  color: var(--ink);
}

.legal-hero {
  padding: clamp(8rem, 15vh, 11rem) clamp(1rem, 4vw, 3.5rem) clamp(2rem, 5vw, 3rem);
  background:
    linear-gradient(90deg, rgba(16, 17, 21, 0.95), rgba(16, 17, 21, 0.78)),
    url("assets/image-1000023.jpg") center / cover;
  color: var(--paper);
}

.legal-hero h1 {
  margin-bottom: 0;
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.legal-content h2 {
  margin: 2.5rem 0 0.7rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.1;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: rgba(16, 17, 21, 0.76);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-content a {
  color: var(--red);
  font-weight: 750;
  text-underline-offset: 4px;
}

.legal-updated {
  display: inline-flex;
  border: 1px solid rgba(16, 17, 21, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.contact {
  display: block;
  color: var(--ink);
}

.contact > div {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  border: 1px solid rgba(16, 17, 21, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56)),
    linear-gradient(180deg, rgba(176, 0, 19, 0.08), transparent 42%);
  padding: clamp(1rem, 3vw, 1.6rem);
  box-shadow: 0 26px 70px rgba(16, 17, 21, 0.12);
}

.contact-form > input[aria-hidden="true"] {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(16, 17, 21, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.field-full,
.privacy-check,
.form-actions {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 17, 21, 0.13);
  border-radius: var(--radius);
  background: rgba(245, 239, 226, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  padding: 0.95rem 1rem;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 190px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(176, 0, 19, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(176, 0, 19, 0.12);
}

.privacy-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 650;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 0.18rem;
  accent-color: var(--red);
}

.privacy-check a,
.legal-mini a {
  color: var(--red);
  font-weight: 800;
  text-underline-offset: 4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.1rem;
  padding-top: 0.2rem;
}

.form-actions .button {
  border: 0;
  cursor: pointer;
}

.form-actions span {
  color: rgba(16, 17, 21, 0.62);
  font-size: 0.92rem;
  line-height: 1.4;
}

.form-actions a {
  color: var(--red);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.form-response {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 1rem;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--paper);
  color: var(--ink);
}

.form-response img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.form-response h1 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(3rem, 10vw, 7rem);
}

.form-response p {
  max-width: 680px;
}

.form-response.error .button {
  background: var(--ink);
}

.site-footer {
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  background: var(--ink);
  color: var(--paper);
}

.site-footer div,
.site-footer nav {
  display: grid;
  gap: 0.45rem;
}

.site-footer span,
.site-footer a {
  color: var(--paper-dim);
  font-size: 0.92rem;
}

.site-footer nav {
  grid-template-columns: repeat(auto-fit, minmax(150px, auto));
  gap: 0.8rem 1rem;
}

.site-footer a {
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section {
      animation: reveal both ease-out;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }

  @keyframes reveal {
    from {
      opacity: 0.2;
      transform: translateY(32px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 12;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 0.6rem;
    background: rgba(16, 17, 21, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-size: 1.45rem;
    text-align: center;
  }

  .hero,
  .section-grid,
  .split,
  .join,
  .board,
  .contact {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .image-rail,
  .timeline-track,
  .vehicle-list,
  .vehicle-more-grid,
  .site-footer nav {
    grid-template-columns: 1fr 1fr;
  }

  .vehicle-detail-grid {
    grid-template-columns: 1fr;
  }

  .history-layout {
    grid-template-columns: 1fr;
  }

  .history-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .board-page {
    grid-template-columns: 1fr;
  }

  .fact-panel {
    position: static;
  }

}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero {
    padding-top: 7rem;
  }

  h1 {
    font-size: clamp(3.3rem, 19vw, 5.4rem);
  }

  .hero-actions,
  .site-footer {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .image-rail,
  .timeline-track,
  .vehicle-list,
  .vehicle-more-grid,
  .history-aside,
  .board-grid,
  .site-footer nav {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .gallery-controls {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 0.55rem;
    padding: 0.75rem;
  }

  .gallery-thumbs {
    gap: 0.45rem;
  }

  .gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }

  .gallery-stage figcaption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .main-photo {
    width: 100%;
    height: 420px;
  }

  .seal {
    width: 170px;
  }
}
