:root {
  --bg: #0c0b0a;
  --bg-elevated: #141210;
  --bg-card: #1a1816;
  --text: #ece8e1;
  --text-muted: #9a948a;
  --accent: #c41e14;
  --accent-soft: rgba(196, 30, 20, 0.15);
  --border: rgba(236, 232, 225, 0.08);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --max: 72rem;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(12, 11, 10, 0.95), transparent);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.logo__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  padding-top: var(--header-h);
}

.hero__media {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 42vh;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.05) saturate(0.85);
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.2;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    var(--bg) 100%
  );
}

.hero__content {
  padding: 2rem 1.25rem 1rem;
  max-width: var(--max);
  margin: 0 auto;
}

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

.eyebrow--light {
  color: rgba(255, 255, 255, 0.6);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(3.5rem, 12vw, 6.5rem);
}

h2 {
  font-size: clamp(2.5rem, 7vw, 4rem);
}

h3 {
  font-size: 1.75rem;
}

.hero__lead {
  max-width: 36rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: #a81911;
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 0.85rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 1.25rem 0;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat {
  padding: 1.25rem 1rem;
  text-align: center;
  background: var(--bg-elevated);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--accent);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: 1fr auto;
    align-items: end;
    gap: 0 3rem;
    padding: var(--header-h) 2rem 0;
    max-width: var(--max);
    margin: 0 auto;
  }

  .hero__media {
    grid-row: 1 / 3;
    grid-column: 1;
    min-height: calc(100svh - var(--header-h) - 2rem);
    border-radius: 4px;
  }

  .hero__content {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    padding: 2rem 0;
  }

  .hero__stats {
    grid-column: 2;
    grid-row: 2;
    margin: 0 0 2rem;
  }
}

/* Bands */
.band {
  padding: 5rem 1.25rem;
}

.band--dark {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.band__inner--split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .band__inner--split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .band__inner--reverse .figure {
    order: -1;
  }
}

.band__copy p {
  color: var(--text-muted);
}

.band__copy p strong {
  color: var(--text);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border-radius: 4px;
  filter: saturate(0.9) contrast(1.02);
  border: 1px solid var(--border);
}

.figure--offset {
  transform: rotate(-1deg);
}

.figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}

.checklist {
  margin: 1.5rem 0 0;
}

.checklist > div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.checklist > div:last-child {
  border-bottom: none;
}

.checklist dt {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.checklist dd {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

/* Fleet */
.fleet {
  padding: 5rem 1.25rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--accent-soft), transparent),
    var(--bg);
}

.fleet__header {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.fleet__grid {
  display: grid;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .fleet__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fleet-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.fleet-card__num {
  position: absolute;
  top: -0.15em;
  right: 0.1em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 8rem);
  line-height: 1;
  color: rgba(236, 232, 225, 0.04);
  pointer-events: none;
}

.fleet-card p {
  margin: 0;
  color: var(--text-muted);
}

.fleet-card--944 {
  border-top: 3px solid var(--accent);
}

.fleet-card--356 {
  border-top: 3px solid #8a8278;
}

/* Gallery */
.gallery {
  padding: 5rem 1.25rem;
}

.gallery__header {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
}

.gallery__intro {
  max-width: 32rem;
  color: var(--text-muted);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s;
  filter: saturate(0.85);
}

.gallery__item:hover img {
  transform: scale(1.03);
  filter: saturate(1);
}

.gallery__item--wide {
  grid-column: 1 / -1;
}

.video-block {
  max-width: var(--max);
  margin: 0 auto;
}

.video-block h3 {
  margin-bottom: 1rem;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 4px;
  display: grid;
  place-items: center;
}

.video-placeholder__inner {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.video-placeholder__icon {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.video-placeholder code {
  font-size: 0.85em;
  color: var(--text);
}

.video-placeholder__hint {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.garage-video,
.video-block video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #000;
}

.video-block__caption {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* CTA */
.cta {
  padding: 5rem 1.25rem;
  background: linear-gradient(135deg, #1a1210 0%, var(--bg) 50%);
  border-top: 1px solid var(--border);
}

.cta__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.cta__inner p {
  color: var(--text-muted);
}

.cta__domain {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.cta__domain a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer__note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery__item:hover img {
    transform: none;
  }
}
