:root {
  --bg: #050505;
  --bg-soft: #0e0e0e;
  --surface: linear-gradient(180deg, rgba(19, 19, 19, 0.96), rgba(10, 10, 10, 0.96));
  --surface-strong: #121212;
  --text: #e4c46a;
  --muted: #c7af63;
  --accent: #f2d27d;
  --accent-dark: #a88321;
  --line: rgba(242, 210, 125, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 210, 125, 0.09), transparent 24%),
    radial-gradient(circle at top right, rgba(168, 131, 33, 0.08), transparent 20%),
    linear-gradient(180deg, #080808 0%, #000000 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  justify-content: center;
}

.brand-name {
  font-size: 2.8rem;
  color: var(--accent);
}

.menu {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(242, 210, 125, 0.08);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.16rem 0;
  border-radius: 999px;
  background: var(--accent);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu {
  display: none;
  padding: 0 0 1rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-links {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  color: var(--muted);
}

.mobile-menu a.active,
.mobile-menu a:hover {
  color: var(--accent);
}

.menu a {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.menu a.active,
.menu a:hover,
.text-link:hover {
  color: var(--accent);
  border-color: currentColor;
}

.hero,
.page-hero {
  padding: 4.5rem 0 3rem;
}

.hero-banner {
  padding: 0 0 3rem;
}

.hero-grid,
.about-grid,
.cta-box,
.intro-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: clamp(460px, 78vh, 760px);
  overflow: hidden;
  background: #000000;
  --hero-image-opacity: 1;
  --hero-image-scale: 1;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.58)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.hero-stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-image-opacity);
  transform: scale(var(--hero-image-scale));
  transform-origin: center center;
  transition: opacity 120ms linear, transform 120ms linear;
}

.hero-stage-overlay {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.hero-stage-content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-stage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  width: 100%;
}

.hero-stage-copy {
  grid-column: 1;
}

.hero-stage-content .hero-title {
  max-width: 12ch;
}

.hero-stage-content .hero-text {
  max-width: 38rem;
  color: #f0dfb0;
}

.page-hero {
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 1rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0;
}

h3 {
  font-size: 2rem;
  margin: 1rem 0 0.5rem;
}

.hero-text,
.about-copy p,
.cta-box p,
.event-card p,
.intro-grid p,
.footer-row p,
.placeholder-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy .hero-text {
  max-width: 36rem;
  margin: 0;
}

.page-hero .hero-text {
  max-width: 44rem;
  margin: 0.75rem auto 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #080808;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(242, 210, 125, 0.06);
}

.placeholder-card,
.event-card,
.gallery-item,
.cta-box {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.placeholder-card {
  min-height: 460px;
  border-radius: 36px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(242, 210, 125, 0.08), rgba(242, 210, 125, 0.02)),
    repeating-linear-gradient(
      -45deg,
      rgba(242, 210, 125, 0.08),
      rgba(242, 210, 125, 0.08) 18px,
      rgba(255, 255, 255, 0.02) 18px,
      rgba(255, 255, 255, 0.02) 36px
    );
}

.compact-card {
  min-height: 320px;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-media {
  height: 460px;
}

.about-media {
  min-height: 100%;
}

.about-media img {
  min-height: 420px;
}

.placeholder-label {
  display: inline-block;
  width: fit-content;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(242, 210, 125, 0.1);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.intro-strip {
  padding: 1.5rem 0 0;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
}

.intro-grid article {
  padding: 1.5rem;
  border-top: 1px solid var(--line);
}

.intro-grid h2 {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.centered {
  text-align: center;
}

.section-copy {
  max-width: 760px;
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

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

.event-card {
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.card-media {
  margin: -1rem -1rem 1rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.card-media img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
}

.image-slot,
.gallery-item {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.image-slot {
  min-height: 250px;
  border-radius: 20px;
  border: 1px dashed rgba(242, 210, 125, 0.35);
  background: linear-gradient(135deg, rgba(242, 210, 125, 0.08), rgba(168, 131, 33, 0.08));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.car-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  min-height: 220px;
  border-radius: 22px;
  padding: 1rem;
}

.gallery-item.large {
  grid-row: span 2;
  min-height: 456px;
}

.car-gallery-item {
  min-height: 220px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
}

.car-gallery-item img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.car-gallery-item:hover img {
  transform: scale(1.03);
}

.photo-columns {
  columns: 3 280px;
  column-gap: 1rem;
}

.photo-card {
  break-inside: avoid;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.photo-button img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 180ms ease;
}

.photo-button:hover img {
  transform: scale(1.02);
}

.photo-caption {
  padding: 0.95rem 1rem 1.05rem;
  color: var(--muted);
  line-height: 1.55;
}

.photo-caption strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.car-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.car-showcase-more {
  margin-top: 1rem;
}

.car-showcase-more[hidden] {
  display: none;
}

.car-showcase-toggle-row {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.car-showcase-toggle {
  border: 1px solid var(--line);
  background: rgba(242, 210, 125, 0.08);
  color: var(--accent);
}

.car-showcase-grid .photo-card {
  margin: 0;
}

.car-showcase-grid .photo-button img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lightbox-content {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.lightbox-caption {
  margin: 0;
  max-width: min(92vw, 820px);
  text-align: center;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(242, 210, 125, 0.1);
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.about-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.feature-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.9;
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.cta-box {
  border-radius: 32px;
  padding: 2rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .gallery-grid,
  .car-gallery-grid,
  .car-showcase-grid,
  .about-grid,
  .intro-grid,
  .cta-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    min-height: 260px;
  }

  .placeholder-card {
    min-height: 320px;
  }

  .hero-media {
    height: 320px;
  }

  .hero-stage {
    min-height: 400px;
  }

  .hero-stage-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage-copy {
    grid-column: auto;
  }

  .hero-stage-content .hero-title,
  .hero-stage-content .hero-text {
    max-width: 100%;
  }

  .photo-columns {
    columns: 2 220px;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: center;
  }

  .menu {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-name {
    font-size: 2rem;
  }

  .hero,
  .page-hero {
    padding-top: 3rem;
  }

  .hero-banner {
    padding-top: 0;
  }

  .hero-stage {
    min-height: 360px;
  }

  h1 {
    line-height: 1;
  }

  .footer-row {
    flex-direction: column;
  }

  .photo-columns {
    columns: 1;
  }
}
