.night-drive {
  --night-muted: #b9c4c8;
  --night-line: #273438;
  --night-surface: #0b1519;
}

.night-drive :is(a, button):focus-visible {
  outline: 2px solid var(--center-cyan-soft);
  outline-offset: 5px;
}

.night-shell {
  width: min(100% - var(--center-gutter) * 2, var(--center-content-width));
  margin-inline: auto;
}

.night-header {
  border-bottom: 1px solid var(--night-line);
}

.night-header-inner,
.night-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.night-header-inner {
  min-height: 68px;
}

.night-brand {
  display: grid;
  gap: 2px;
  line-height: 1.25;
}

.night-brand span,
.night-header-link,
.night-footer,
.night-note {
  color: var(--night-muted);
  font-size: 0.875rem;
}

.night-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(670px, calc(100svh - 68px));
  background-color: #091317;
}

.night-hero-image,
.night-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.night-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 60% 60%;
}

.night-hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(2, 7, 10, 0.96), rgba(2, 7, 10, 0.78) 41%, rgba(2, 7, 10, 0.08) 100%);
}

.night-hero-inner {
  padding-block: clamp(72px, 11vw, 148px);
}

.night-hero-copy {
  max-width: 620px;
}

.night-kicker {
  color: var(--center-cyan-soft);
  font-weight: 700;
  font-size: 0.875rem;
}

.night-hero h1 {
  margin-block: 16px 22px;
  max-width: 11ch;
  font-size: clamp(2.65rem, 6.5vw, 5.45rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.night-intro {
  max-width: 39ch;
  color: #e4edf0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.night-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: fit-content;
  min-height: 46px;
  padding: 9px 14px;
  border: 1px solid var(--night-line);
  border-radius: 4px;
  color: var(--center-cyan-soft);
  font-weight: 700;
  line-height: 1.35;
}

.night-button:hover {
  border-color: var(--center-cyan-soft);
  background: #10252a;
}

.night-button-primary {
  margin-top: 27px;
  border-color: var(--center-cyan-soft);
  background-color: var(--center-cyan-soft);
  color: #061215;
}

.night-button-primary:hover {
  border-color: #fff;
  background: #fff;
}

.night-cars {
  padding-block: clamp(58px, 8vw, 107px);
  scroll-margin-top: 24px;
}

.night-section-heading {
  margin-bottom: clamp(25px, 4vw, 45px);
}

.night-drive h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.night-section-heading p,
.night-note {
  margin-top: 13px;
  color: var(--night-muted);
  line-height: 1.55;
}

.night-car-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 32px);
}

.night-car {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--night-line);
}

.night-car img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--night-surface);
}

.night-car .night-car-bmw {
  object-position: 77% center;
}

.night-car-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-block: 18px 22px;
}

.night-car h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.05vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.night-car p {
  margin-bottom: auto;
  color: var(--night-muted);
  line-height: 1.55;
}

.night-price {
  margin-block: 8px 4px;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}

.night-note {
  margin-top: 20px;
}

.night-route {
  padding-block: clamp(42px, 7vw, 83px);
  border-block: 1px solid var(--night-line);
  background: var(--night-surface);
}

.night-route-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 80px);
}

.night-steps {
  display: grid;
  gap: 18px;
  margin: 0;
}

.night-steps div + div {
  padding-top: 18px;
  border-top: 1px solid var(--night-line);
}

.night-steps dt {
  margin-bottom: 5px;
  color: var(--center-cyan-soft);
  font-weight: 800;
}

.night-steps dd {
  margin: 0;
  color: #d8e0e4;
  line-height: 1.56;
}

.night-footer {
  min-height: 83px;
  flex-wrap: wrap;
}

.night-header-link:hover,
.night-footer a:hover {
  color: var(--center-cyan-soft);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .night-hero {
    align-items: end;
    min-height: min(630px, calc(100svh - 68px));
  }

  .night-hero-image {
    object-position: 68% 28%;
  }

  .night-hero::after {
    background: linear-gradient(0deg, #02070a 0%, rgba(2, 7, 10, 0.97) 26%, rgba(2, 7, 10, 0.3) 75%);
  }

  .night-hero-inner {
    padding-block: 190px 38px;
  }

  .night-car-grid,
  .night-route-inner {
    grid-template-columns: 1fr;
  }

  .night-car-grid {
    gap: 25px;
  }

  .night-footer {
    justify-content: flex-start;
    padding-block: 17px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .night-button {
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  }

  .night-hero-copy {
    animation: night-appear 600ms ease-out both;
  }

  @keyframes night-appear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
