:root {
  color-scheme: dark;
  --ink: #111110;
  --ink-soft: #191918;
  --paper: #f2eee7;
  --muted: #9c9992;
  --red: #e0261c;
  --line: rgba(242, 238, 231, .2);
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "Manrope", Arial, sans-serif;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--paper); outline-offset: 5px; }
::selection { background: var(--red); color: var(--paper); }

.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .8rem 1rem; color: var(--ink); background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: absolute; z-index: 10; inset: 0 0 auto; min-height: 88px; padding: 0 6.2vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); }
.wordmark { font-size: 1.08rem; letter-spacing: .16em; font-weight: 800; }
.wordmark-period { color: var(--red); }
.primary-navigation { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.3rem); font-size: .72rem; }
.primary-navigation a:not(.nav-index) { color: rgba(255,255,255,.82); transition: color .2s ease; }
.primary-navigation a:hover { color: var(--red); }
.nav-index { margin-left: 1rem; color: var(--muted); font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; }
.nav-index span { color: var(--red); margin-left: .45rem; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(850px, 100svh); min-height: max(680px, 100svh); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 0 11vw 9.3vh; }
.hero-image, .hero-video { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: center 52%; }
.hero-video { display: block; opacity: 0; pointer-events: none; }
.hero-video-last { display: none; }
.hero.is-video-ready .hero-video { opacity: 1; }
.hero.is-video-ready .hero-video-start { display: none; }
.hero.is-video-static .hero-video, .hero.is-video-static .hero-video-start { display: none; }
.hero.is-video-static .hero-video-last { display: block; }
.hero.is-video-ended .hero-video, .hero.is-video-ended .hero-video-start { display: none; }
.hero.is-video-ended .hero-video-last { display: block; }
.hero-shade { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; background: linear-gradient(90deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.45) 42%, rgba(8,8,8,.08) 100%), linear-gradient(0deg, rgba(8,8,8,.72) 0%, transparent 48%); }
.hero-content { position: relative; z-index: 3; width: min(100%, 1020px); }
.hero-index, .scroll-cue { z-index: 3; }
.eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--muted); font: 500 .64rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 30px; height: 1px; background: var(--red); }
.hero-eyebrow { color: rgba(255,255,255,.83); margin: 0 0 1.5rem .5rem; }
h1, h2, p { margin-top: 0; }
.hero h1 { margin: 0; font-size: clamp(4.2rem, 10.5vw, 10rem); line-height: .83; letter-spacing: -.09em; font-weight: 800; animation: hero-title-arrive .9s ease-out .15s both; }
@keyframes hero-title-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 span { color: var(--red); }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; width: min(690px, 100%); margin-top: clamp(2rem, 5vw, 4.3rem); }
.text-link { display: inline-flex; gap: 1.2rem; align-items: center; border-bottom: 1px solid rgba(242,238,231,.58); padding: 0 0 .7rem; font-size: .78rem; transition: border-color .25s ease, color .25s ease; }
.text-link span { color: var(--red); font-size: 1rem; transition: transform .25s ease; }
.text-link:hover { border-color: var(--red); }
.text-link:hover span { transform: translate(3px, 3px); }
.hero-note { margin: 0; color: rgba(255,255,255,.66); font-size: .68rem; line-height: 1.8; }
.hero-index, .scroll-cue { position: absolute; color: rgba(255,255,255,.65); font: .58rem var(--mono); letter-spacing: .08em; }
.hero-index { right: 6.2vw; bottom: 9.3vh; }
.scroll-cue { left: 6.2vw; bottom: 3.2vh; display: flex; gap: .7rem; align-items: center; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 25px; background: var(--red); }

.section-pad { padding: clamp(6rem, 12vw, 11rem) 11vw; }
.collection.section-pad { padding-top: clamp(5rem, 7vw, 7rem); padding-bottom: clamp(4.5rem, 6vw, 6.5rem); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.collection .section-heading { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-heading .eyebrow { margin-bottom: 1.5rem; }
.section-heading h2, .story-copy h2 { margin: 0; font-size: clamp(3.4rem, 7.5vw, 7.5rem); line-height: .88; letter-spacing: -.085em; font-weight: 800; }
.section-heading h2 span { color: var(--red); }
.section-aside { margin: 0 0 .35rem; color: var(--muted); font: .72rem/1.8 var(--mono); }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.car-card { min-width: 0; }
.car-card-button { height: 100%; }
.car-card-button { display: block; width: 100%; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; }
.card-image-wrap { position: relative; display: block; overflow: hidden; background: #242321; }
.card-image-wrap { aspect-ratio: 3 / 2; }
.car-card-feature .card-image-wrap img { object-position: center 58%; }
.car-card-offset .card-image-wrap img { object-position: center 52%; }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
.car-card-button:hover img, .car-card-button:focus-visible img { transform: scale(1.045); filter: brightness(.76); }
.card-open { position: absolute; right: 1.2rem; bottom: 1.2rem; color: white; font: .61rem var(--mono); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.card-open span { color: var(--red); padding-left: .5rem; }
.car-card-button:hover .card-open, .car-card-button:focus-visible .card-open { opacity: 1; transform: translateY(0); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; min-height: 1.2em; margin-top: 1.2rem; color: var(--muted); font: .65rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.card-title { display: block; margin-top: .65rem; font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: -.06em; font-weight: 600; }
.card-title em { color: var(--muted); font-style: normal; font-weight: 400; }
.collection-footnote { display: flex; gap: .65rem; align-items: center; margin: 3.5rem 0 0; color: var(--muted); font: .68rem var(--mono); }
.collection-footnote span { color: var(--red); }

.story { position: relative; display: grid; grid-template-columns: 1fr .9fr; min-height: 780px; background: #e9e5dd; color: var(--ink); }
.story-image { position: relative; min-height: 600px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 55%; }
.image-caption { position: absolute; left: 2rem; bottom: 1.3rem; margin: 0; font: .58rem var(--mono); color: rgba(255,255,255,.85); }
.story-copy { align-self: center; padding: 7rem 10% 7rem 12%; }
.story-copy .eyebrow { color: #69665f; margin-bottom: 2.6rem; }
.story-copy h2 { font-size: clamp(3.3rem, 6.6vw, 6.8rem); }
.story-copy h2 span { color: var(--red); }
.story-body { max-width: 390px; margin: 2rem 0 1.8rem; color: #56534e; font-size: .82rem; line-height: 1.9; }
.story-signoff { max-width: 320px; margin: 0; color: #807b72; font: .59rem/1.8 var(--mono); }
.story-number { position: absolute; right: 3rem; bottom: 2rem; color: rgba(17,17,16,.4); font: .62rem var(--mono); }

.gallery { padding-top: clamp(7rem, 14vw, 13rem); padding-bottom: clamp(7rem, 14vw, 13rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.2rem); align-items: start; }
.gallery-item { position: relative; display: block; overflow: hidden; width: 100%; padding: 0; border: 0; background: #252422; cursor: zoom-in; text-align: left; }
.gallery-item { aspect-ratio: 3 / 2; }
.gallery-item:nth-child(1) img { object-position: center 52%; }
.gallery-item:nth-child(2) img { object-position: center 55%; }
.gallery-item:nth-child(3) img { object-position: center 50%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.97) contrast(1.02); transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); filter: brightness(.78) saturate(.97) contrast(1.02); }
.gallery-number { position: absolute; left: 1.1rem; bottom: 1rem; color: white; font: .55rem var(--mono); letter-spacing: .08em; }
.gallery-plus { position: absolute; right: 1rem; top: .65rem; color: white; font-size: 1.8rem; font-weight: 300; opacity: 0; transform: rotate(-45deg); transition: opacity .2s ease, transform .2s ease; }
.gallery-item:hover .gallery-plus, .gallery-item:focus-visible .gallery-plus { opacity: 1; transform: rotate(0); }
.gallery-note { margin: 3rem 0 0; color: var(--muted); text-align: right; font: .6rem var(--mono); }

.closing { min-height: 480px; padding: 8rem 11vw; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing .eyebrow { margin-bottom: 2rem; }
.closing-line { margin: 0 0 2rem; font-size: clamp(3.5rem, 8.8vw, 8rem); line-height: .88; letter-spacing: -.09em; font-weight: 800; }
.closing-line span { color: var(--red); }
.site-footer { padding: 3rem 6.2vw 1.5rem; }
.footer-wordmark { display: inline-block; margin-bottom: 2rem; }
.disclaimer { margin: 0 0 3rem; font-size: .74rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font: .55rem var(--mono); }
.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: var(--paper); }

.detail-dialog { position: fixed; width: min(900px, calc(100% - 2rem)); max-height: min(90vh, 900px); padding: 0; border: 1px solid rgba(255,255,255,.18); background: var(--ink-soft); color: var(--paper); }
.detail-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; z-index: 1; top: 1rem; right: 1rem; display: flex; align-items: center; gap: .8rem; padding: .65rem .8rem; border: 1px solid rgba(255,255,255,.45); background: rgba(17,17,16,.78); color: white; font: .62rem var(--mono); cursor: pointer; }
.dialog-close span { color: var(--red); font-size: 1.1rem; }
.dialog-image { width: 100%; max-height: 58vh; object-fit: cover; }
.dialog-copy { padding: 2rem clamp(1.5rem, 5vw, 3.5rem) 2.8rem; }
.dialog-copy .eyebrow { margin-bottom: 1rem; }
.dialog-copy h2 { margin: 0 0 .8rem; font-size: clamp(1.7rem, 5vw, 3.4rem); letter-spacing: -.06em; }
.dialog-description { max-width: 580px; margin: 0; color: #c3bfb8; font-size: .82rem; line-height: 1.8; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .menu-toggle-label { font: .72rem var(--mono); }
  .eyebrow { font-size: .72rem; }
  .hero-note { font-size: .8rem; }
  .hero-index, .scroll-cue { font-size: .68rem; }
  .section-aside { font-size: .78rem; }
  .card-meta, .card-open { font-size: .75rem; }
  .collection-footnote { font-size: .75rem; }
  .image-caption, .story-signoff { font-size: .75rem; }
  .story-body { font-size: .9rem; }
  .story-number { font-size: .7rem; }
  .gallery-number { font-size: .7rem; }
  .gallery-note { font-size: .75rem; }
  .disclaimer { font-size: .82rem; }
  .footer-bottom { font-size: .68rem; }
}

@media (max-width: 760px) {
  .site-header { min-height: 72px; padding: 0 6vw; }
  .menu-toggle { display: flex; align-items: center; gap: .8rem; padding: .7rem 0 .7rem .7rem; border: 0; background: none; cursor: pointer; }
  .menu-icon { display: grid; gap: 5px; width: 18px; }
  .menu-icon span { display: block; height: 1px; width: 100%; background: var(--paper); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-navigation { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 6vw; background: rgba(17,17,16,.97); overflow: hidden; max-height: 0; visibility: hidden; transition: max-height .3s ease, padding .3s ease, visibility .3s; }
  .primary-navigation.is-open { max-height: 340px; padding-top: .5rem; padding-bottom: 1rem; visibility: visible; }
  .primary-navigation a:not(.nav-index) { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .nav-index { margin: 1.1rem 0 .5rem; }
  .hero { min-height: max(680px, 100svh); padding: 0 7vw 12vh; }
  .hero-image, .hero-video { object-position: 55% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,8,8,.66), rgba(8,8,8,.12)), linear-gradient(0deg, rgba(8,8,8,.78), transparent 65%); }
  .hero h1 { font-size: clamp(3.8rem, 15vw, 7rem); }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 1.5rem; margin-top: 2.2rem; }
  .hero-note { padding-left: .1rem; font-size: .8rem; }
  .hero-index { right: 7vw; bottom: 5vh; }
  .scroll-cue { left: 7vw; bottom: 4.5vh; }
  .section-pad { padding: 6rem 7vw; }
  .collection.section-pad { padding-top: 5rem; padding-bottom: 4.5rem; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 3rem; }
  .collection .section-heading { margin-bottom: 2.5rem; }
  .section-heading h2 { font-size: clamp(3.1rem, 12vw, 5.5rem); }
  .section-aside { margin: 0; }
  .collection-grid { grid-template-columns: 1fr; row-gap: 2.75rem; }
  .card-open { opacity: 1; transform: none; }
  .collection-footnote { margin-top: 2.5rem; line-height: 1.6; }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 64vw; }
  .story-copy { padding: 5rem 7vw 6rem; }
  .story-copy h2 { font-size: clamp(3.5rem, 14vw, 6rem); }
  .story-number { right: 7vw; bottom: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-note { text-align: left; line-height: 1.7; }
  .closing { min-height: 390px; padding: 6rem 7vw; }
  .closing-line { font-size: clamp(3.1rem, 12vw, 6rem); }
  .site-footer { padding: 2.5rem 7vw 1.2rem; }
  .footer-bottom { flex-wrap: wrap; row-gap: .8rem; }
  .footer-bottom span:last-child { width: 100%; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 3.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-image, .hero-video, .hero h1 { animation: none !important; opacity: 1; transform: none; }
  .hero .hero-video, .hero .hero-video-start { display: none; }
  .hero .hero-video-last { display: block; }
}
