/* ============================================================
   1 OF 1 CAR CLUB - STYLE.CSS
   Phase 2 Build
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */

:root {
  --cream:        #F5F1EA;
  --cream-mid:    #EDE8DF;
  --cream-dark:   #E0D8CA;
  --charcoal:     #1A1A1A;
  --charcoal-mid: #3D3A36;
  --charcoal-lt:  #706B63;
  --ink:          #1A2A44;
  --red:          #A4312A;
  --navy:         #1F3A68;
  --navy-dark:    #1A2A44;
  --navy-light:   #243454;
  --sky-blue:     #7BA7BC;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;

  --max-w:      1200px;
  --text-w:     700px;
  --nav-h:      72px;

  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-6:   24px;
  --sp-8:   32px;
  --sp-10:  40px;
  --sp-12:  48px;
  --sp-16:  64px;
  --sp-20:  80px;
  --sp-24:  96px;
  --sp-32:  128px;

  --ease:   300ms ease;
  --ease-slow: 700ms ease;
}

/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--ease), color var(--ease);
}

a:hover {
  text-decoration-color: currentColor;
}

ul {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--charcoal);
}

.display {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-6);
  padding-right: var(--sp-6);
}

.wrap--text {
  max-width: var(--text-w);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background-color var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.nav--opaque {
  background-color: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}

.nav--transparent {
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background-color: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: 0 2px 20px rgba(15, 13, 11, 0.06);
}

.nav__inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--ease);
}

.nav--transparent .nav__logo {
  color: var(--cream);
}

.nav--scrolled .nav__logo {
  color: var(--charcoal);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--ease);
}

.nav--transparent .nav__links a {
  color: rgba(245, 241, 234, 0.85);
}

.nav--scrolled .nav__links a {
  color: var(--charcoal);
}

.nav__links a:hover {
  color: var(--red);
}

.nav__links .nav__apply {
  color: var(--red);
  font-weight: 600;
}

.nav--transparent .nav__links .nav__apply {
  color: var(--cream);
}

.nav--scrolled .nav__links .nav__apply {
  color: var(--red);
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--charcoal);
  transition: background-color var(--ease), transform var(--ease), opacity var(--ease);
  transform-origin: center;
}

.nav--transparent .nav__burger span {
  background-color: var(--cream);
}

.nav--scrolled .nav__burger span {
  background-color: var(--charcoal);
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background-color: var(--cream);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--sp-12) var(--sp-6);
}

.nav__overlay.is-open {
  display: flex;
}

.nav__overlay nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.nav__overlay a {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.nav__overlay a:hover {
  color: var(--red);
}

.nav__overlay-locs {
  margin-top: var(--sp-10);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  padding: 14px 32px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
  border-radius: 0;
  line-height: 1;
}

.btn--red {
  background-color: var(--red);
  color: var(--cream);
  border-color: var(--red);
}

.btn--red:hover {
  background-color: transparent;
  color: var(--red);
  text-decoration: none;
}

.btn--outline {
  background-color: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--outline:hover {
  background-color: var(--charcoal);
  color: var(--cream);
  text-decoration: none;
}

.btn--outline-light {
  background-color: transparent;
  color: var(--cream);
  border-color: rgba(245, 241, 234, 0.5);
}

.btn--outline-light:hover {
  background-color: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
  text-decoration: none;
}

/* ============================================================
   PHOTO PLACEHOLDERS
   ============================================================ */

.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy-light);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ph__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 13, 11, 0.45);
  text-align: center;
  padding: var(--sp-4);
  line-height: 1.7;
  max-width: 360px;
  position: relative;
  z-index: 1;
}

.ph--hero {
  position: absolute;
  inset: 0;
  height: 100%;
  background-color: var(--navy-dark);
}

.ph--track {
  aspect-ratio: 4 / 3;
}

.ph--card {
  aspect-ratio: 3 / 2;
}

.ph--featured {
  position: absolute;
  inset: 0;
  height: 100%;
  background-color: var(--navy-light);
}

.ph--strip {
  aspect-ratio: 21 / 9;
}

.ph--phil {
  aspect-ratio: 16 / 9;
  background-color: var(--navy-dark);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.section-rule {
  width: 40px;
  height: 2px;
  background-color: var(--red);
  margin-bottom: var(--sp-8);
}

/* ============================================================
   HERO (index.html)
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10, 8, 6, 0.88) 0%,
    rgba(10, 8, 6, 0.45) 45%,
    rgba(10, 8, 6, 0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6) var(--sp-20);
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.8);
  margin-bottom: var(--sp-4);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 5.75rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--cream);
  max-width: 860px;
  margin-bottom: var(--sp-6);
}

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(245, 241, 234, 0.85);
  margin-bottom: var(--sp-10);
  letter-spacing: 0.01em;
}

/* ============================================================
   PITCH
   ============================================================ */

.pitch {
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
}

.pitch__text {
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--charcoal-mid);
  max-width: var(--text-w);
}

.pitch__text p:first-child {
  font-size: 1.3125rem;
  color: var(--charcoal);
  line-height: 1.65;
}

.pitch__text p + p {
  margin-top: 1.2em;
}

/* ============================================================
   TWO COLUMN: WHAT THIS IS / ISN'T
   ============================================================ */

.split {
  background-color: var(--cream-mid);
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split__col {
  padding: var(--sp-16) var(--sp-10);
}

.split__col--is {
  border-right: 1px solid var(--cream-dark);
}

.split__col-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-4);
  border-bottom: 2px solid;
  display: inline-block;
}

.split__col--is .split__col-label {
  color: var(--red);
  border-color: var(--red);
}

.split__col--isnot .split__col-label {
  color: var(--charcoal-lt);
  border-color: var(--cream-dark);
}

.split__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 1.0625rem;
  line-height: 1.4;
}

.split__col--is .split__list li {
  color: var(--charcoal);
}

.split__col--isnot .split__list li {
  color: var(--charcoal-lt);
}

/* ============================================================
   TRACK
   ============================================================ */

.track {
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
}

.track__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.track__text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-6);
}

.track__text p {
  font-size: 1.0625rem;
  color: var(--charcoal-mid);
  line-height: 1.75;
}

.track__text p + p {
  margin-top: 1em;
}

.track__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-6);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.track__link:hover {
  color: var(--red);
}

.track__link::after {
  content: '↗';
  font-size: 0.8em;
}

/* ============================================================
   EVENTS (dark section)
   ============================================================ */

.events {
  background-color: var(--ink);
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
}

.events__header {
  margin-bottom: var(--sp-12);
}

.events__header h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
}

.events__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(245, 241, 234, 0.1);
}

.events__city-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-4);
}

.events__city p {
  font-size: 1.0625rem;
  color: rgba(245, 241, 234, 0.85);
  line-height: 1.75;
}

.events__foot {
  margin-top: var(--sp-8);
}

.events__foot p {
  font-size: 0.9375rem;
  color: rgba(245, 241, 234, 0.65);
  line-height: 1.65;
}

.events__foot p + p {
  margin-top: 0.5em;
}

.events__foot strong {
  color: rgba(245, 241, 234, 0.85);
  font-weight: 500;
}

/* ============================================================
   CARS TEASER
   ============================================================ */

.cars-teaser {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cars-teaser__media {
  position: absolute;
  inset: 0;
}

.cars-teaser__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10, 8, 6, 0.88) 0%,
    rgba(10, 8, 6, 0.55) 40%,
    rgba(10, 8, 6, 0.15) 100%
  );
}

/* Suppress placeholder label text — invisible behind gradient anyway */
.cars-teaser .ph__label {
  display: none;
}

.cars-teaser__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cars-teaser__content .wrap {
  padding-bottom: var(--sp-16);
}

.cars-teaser__content h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  max-width: 560px;
  margin-bottom: var(--sp-4);
}

.cars-teaser__content p {
  font-size: 1.0625rem;
  color: rgba(245, 241, 234, 0.85);
  max-width: 480px;
  margin-bottom: var(--sp-8);
  line-height: 1.65;
}

.cars-teaser__content p + p {
  margin-top: 0.75em;
}

/* ============================================================
   APPLICATION FORM
   ============================================================ */

.apply {
  background-color: var(--cream);
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
  scroll-margin-top: var(--nav-h);
}

.apply__header {
  margin-bottom: var(--sp-12);
  max-width: var(--text-w);
}

.apply__header h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: var(--sp-4);
}

.apply__header p {
  font-size: 1.0625rem;
  color: var(--charcoal-lt);
}

.form {
  max-width: 640px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.form__group {
  margin-bottom: var(--sp-6);
}

.form__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  margin-bottom: 8px;
}

.form__input,
.form__textarea,
.form__select {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  background-color: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--cream-dark);
  padding: 10px 0;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color var(--ease);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--charcoal);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--charcoal-lt);
  opacity: 0.6;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.65;
  padding-top: 12px;
}

.form__submit {
  margin-top: var(--sp-10);
}

.form__note {
  margin-top: var(--sp-6);
  font-size: 0.875rem;
  color: var(--charcoal-lt);
  line-height: 1.65;
  max-width: 520px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: var(--ink);
  padding: var(--sp-10) var(--sp-6);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__locs {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.footer__contact a {
  font-size: 0.875rem;
  color: rgba(245, 241, 234, 0.45);
  text-decoration: none;
  transition: color var(--ease);
}

.footer__contact a:hover {
  color: var(--cream);
}

.footer__copy {
  width: 100%;
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(245, 241, 234, 0.08);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: rgba(245, 241, 234, 0.25);
}

/* ============================================================
   PHILOSOPHY PAGE
   ============================================================ */

.page-intro {
  padding-top: calc(var(--nav-h) + var(--sp-20));
  padding-bottom: var(--sp-16);
}

.page-intro__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  margin-bottom: var(--sp-8);
}

.page-intro__title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--charcoal);
}

.page-intro__title em {
  font-style: italic;
  color: var(--red);
}

/* Philosophy sections */
.phil-section {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
  border-top: 1px solid var(--cream-dark);
}

.phil-section:first-of-type {
  border-top: none;
  padding-top: var(--sp-12);
}

.phil-section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  margin-bottom: var(--sp-8);
}

.phil-section__body p {
  font-size: 1.125rem;
  color: var(--charcoal-mid);
  line-height: 1.82;
  max-width: var(--text-w);
}

.phil-section__body p + p {
  margin-top: 1.3em;
}

.phil-section__body .lede {
  font-size: 1.3125rem;
  color: var(--charcoal);
  line-height: 1.65;
  font-weight: 400;
}

/* Philosophy image break */
.phil-image {
  padding: 0;
}

/* Philosophy CTA */
.phil-cta {
  background-color: var(--cream-mid);
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
  text-align: center;
}

.phil-cta p {
  font-size: 1.125rem;
  color: var(--charcoal-mid);
  margin-bottom: var(--sp-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================================
   COLLECTION PAGE
   ============================================================ */

.col-intro {
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-20);
  border-bottom: 1px solid var(--cream-dark);
}

.col-intro__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  margin-bottom: var(--sp-8);
}

.col-intro h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  margin-bottom: var(--sp-8);
  max-width: 700px;
}

.col-intro__body {
  max-width: 620px;
}

.col-intro__body p {
  font-size: 1.0625rem;
  color: var(--charcoal-mid);
  line-height: 1.78;
}

.col-intro__body p + p {
  margin-top: 1.1em;
}

/* Grid section */
.col-grid-section {
  background-color: var(--cream-mid);
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
}

.col-grid-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--cream-dark);
}

.col-grid-section__header h2 {
  font-size: 1.5rem;
}

.col-grid-section__count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.car-card {
  background-color: var(--cream);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 13, 11, 0.1);
}

.car-card__media {
  overflow: hidden;
}

.car-card__media .ph {
  transition: transform 0.6s ease;
}

.car-card:hover .car-card__media .ph {
  transform: scale(1.03);
}

.car-card__body {
  padding: var(--sp-6);
}

.car-card__year {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  margin-bottom: 6px;
}

.car-card__model {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.015em;
}

.car-card__note {
  font-size: 0.875rem;
  color: var(--charcoal-lt);
  line-height: 1.6;
}

.car-card--tbd .car-card__year {
  color: var(--cream-dark);
}

.car-card--tbd .car-card__model {
  color: var(--charcoal-lt);
}

.car-card--tbd .car-card__note {
  color: var(--cream-dark);
  font-style: italic;
}

/* Featured cars */
.featured-section {
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
}

.featured-section__header {
  margin-bottom: var(--sp-16);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--cream-dark);
}

.featured-section__header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.featured-car {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  margin-bottom: var(--sp-12);
}

.featured-car:last-child {
  margin-bottom: 0;
}

.featured-car__media {
  position: relative;
  min-height: 500px;
}

.featured-car__body {
  padding: var(--sp-12) var(--sp-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-car--reverse {
  direction: rtl;
}

.featured-car--reverse > * {
  direction: ltr;
}

.featured-car__year {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  margin-bottom: var(--sp-3);
}

.featured-car__model {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-8);
}

.featured-car__text p {
  font-size: 1rem;
  color: var(--charcoal-mid);
  line-height: 1.78;
}

.featured-car__text p + p {
  margin-top: 1em;
}

.featured-car__badge {
  margin-top: var(--sp-8);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 5px 10px;
}

/* Past collection */
.past-col {
  background-color: var(--ink);
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
}

.past-col__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.3);
  margin-bottom: var(--sp-8);
}

.past-col h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-8);
}

.past-col p {
  font-size: 1.0625rem;
  color: rgba(245, 241, 234, 0.55);
  line-height: 1.78;
  max-width: 620px;
}

.past-col p + p {
  margin-top: 1.1em;
}

/* Collection CTA */
.col-cta {
  background-color: var(--cream-mid);
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
  text-align: center;
}

.col-cta p {
  font-size: 1.125rem;
  color: var(--charcoal-mid);
  margin-bottom: var(--sp-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .track__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .track__media {
    order: -1;
  }

  .featured-car {
    grid-template-columns: 1fr;
  }

  .featured-car__media {
    min-height: 340px;
    aspect-ratio: 16 / 9;
  }

  .featured-car--reverse {
    direction: ltr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --sp-24: 72px;
    --sp-20: 60px;
    --sp-16: 48px;
    --sp-12: 36px;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

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

  .split__col--is {
    border-right: none;
    border-bottom: 1px solid var(--cream-dark);
  }

  .split__col {
    padding: var(--sp-10) var(--sp-6);
  }

  .events__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

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

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

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-car__body {
    padding: var(--sp-8) var(--sp-6);
  }

  .col-grid-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: 2.25rem;
  }

  .page-intro__title {
    font-size: 3.5rem;
  }

  .car-card__model {
    font-size: 1.0625rem;
  }
}

/* ============================================================
   PHASE 3 ADDITIONS
   ============================================================ */

/* -------------------------------------------------------
   EDITORIAL CARD PLACEHOLDER
   Shown when a car has no photos yet. Looks intentional,
   not broken. Vintage Porsche brochure plate aesthetic.
   ------------------------------------------------------- */

.car-card__placeholder {
  aspect-ratio: 3 / 2;
  background-color: var(--cream-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Inner inset frame: the detail that makes it feel designed */
.car-card__placeholder::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--cream-dark);
  pointer-events: none;
}

.car-card__placeholder--tbd {
  background-color: var(--cream-dark);
}

.car-card__placeholder--tbd::before {
  border-color: rgba(224, 216, 202, 0.5);
}

/* Full-height variant for featured car sections */
.car-card__placeholder--featured {
  aspect-ratio: unset;
  position: absolute;
  inset: 0;
  height: 100%;
  background-color: var(--navy-light);
}

.car-card__placeholder--featured::before {
  border-color: rgba(245, 241, 234, 0.12);
}

.car-card__placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-6);
  position: relative;
  z-index: 1;
}

.car-card__placeholder-year {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cream-dark);
  margin-bottom: 6px;
}

.car-card__placeholder--tbd .car-card__placeholder-year {
  color: rgba(224, 216, 202, 0.5);
}

.car-card__placeholder--featured .car-card__placeholder-year {
  color: rgba(245, 241, 234, 0.2);
  font-size: clamp(3rem, 8vw, 6rem);
}

.car-card__placeholder-model {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal-lt);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.car-card__placeholder--tbd .car-card__placeholder-model {
  color: var(--cream-dark);
}

.car-card__placeholder--featured .car-card__placeholder-model {
  color: rgba(245, 241, 234, 0.3);
  font-size: 1.25rem;
}

.car-card__placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dark);
  margin-top: var(--sp-3);
}

.car-card__placeholder--tbd .car-card__placeholder-label {
  color: rgba(224, 216, 202, 0.5);
}

.car-card__placeholder--featured .car-card__placeholder-label {
  color: rgba(245, 241, 234, 0.2);
}

/* -------------------------------------------------------
   CAR CARD: badge (used for "In production", "Factory race car")
   ------------------------------------------------------- */

.car-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 8px;
  margin-top: var(--sp-4);
}

/* -------------------------------------------------------
   FEATURED CAR: image styles (JS-rendered)
   ------------------------------------------------------- */

.featured-car__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------------
   FORM: validation error states
   ------------------------------------------------------- */

.form__error {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 6px;
}

.form__group--error .form__error {
  display: block;
}

.form__group--error .form__input,
.form__group--error .form__textarea {
  border-bottom-color: var(--red);
}

/* -------------------------------------------------------
   PAST COLLECTION: list items (JS-rendered)
   ------------------------------------------------------- */

.past-col__list {
  margin-top: var(--sp-12);
  border-top: 1px solid rgba(245, 241, 234, 0.1);
}

.past-col__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.08);
}

.past-col__item-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(245, 241, 234, 0.7);
  letter-spacing: -0.015em;
}

.past-col__item-note {
  font-size: 0.9375rem;
  color: rgba(245, 241, 234, 0.4);
  line-height: 1.6;
}

/* -------------------------------------------------------
   THANKS PAGE
   ------------------------------------------------------- */

.thanks-section {
  padding-top: calc(var(--nav-h) + var(--sp-32));
  padding-bottom: var(--sp-32);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thanks-section h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: var(--sp-6);
}

.thanks-section p {
  font-size: 1.125rem;
  color: var(--charcoal-mid);
  margin-bottom: var(--sp-2);
  max-width: 480px;
}

.thanks-section .thanks-back {
  display: inline-block;
  margin-top: var(--sp-10);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------
   RESPONSIVE ADDITIONS
   ------------------------------------------------------- */

@media (max-width: 768px) {
  .car-card__placeholder-year {
    font-size: 2rem;
  }
}
