.night-drive {
  --night-bg: #0a101c;
  --night-surface: #111a29;
  --night-paper: #e7ebf1;
  --night-ink: #142135;
  --night-text: #f3f5f8;
  --night-muted: #b4bfd2;
  --night-accent: #c7d5f1;
  --night-line: #2d394c;
  --night-pad: clamp(58px, 8vw, 118px);
  --black: var(--night-bg);
  --cyan: var(--night-accent);
  --cyan-soft: var(--night-text);
  --line: var(--night-line);
  color: var(--night-text);
  background: var(--night-bg);
}

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

.night-drive :is(a, button, summary, iframe):focus-visible {
  outline: 2px solid var(--night-accent);
  outline-offset: 5px;
}

.night-skip {
  position: absolute;
  z-index: 3;
  inset: 12px auto auto 12px;
  padding: 12px;
  transform: translateY(calc(-100% - 20px));
  color: var(--night-bg);
  background: var(--night-accent);
}

.night-skip:focus {
  transform: translateY(0);
}

.night-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--night-line);
  background-color: var(--night-bg);
}

.night-header-inner,
.night-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.night-header-inner {
  gap: 14px;
  min-height: 72px;
}

.night-header .brand-mark {
  color: var(--night-accent);
}

.night-header .brand-copy > span {
  color: var(--night-muted);
}

.night-nav {
  gap: clamp(20px, 3vw, 40px);
  color: var(--night-muted);
  font-size: 0.875rem;
}

.night-header-link {
  color: var(--night-text);
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
}

.night-header-link span {
  margin-inline-start: 4px;
  color: var(--night-accent);
}

.night-header a:hover,
.night-drive .site-footer a:hover {
  color: var(--night-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.night-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(780px, max(565px, calc(100svh - 73px)));
  background: var(--night-surface);
}

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

.night-hero-image {
  z-index: -2;
  display: block;
  object-fit: cover;
  object-position: 65% 8%;
}

.night-hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, var(--night-bg), transparent 31%),
    linear-gradient(90deg, rgba(10, 16, 28, 0.96) 0%, rgba(10, 16, 28, 0.87) 26%, rgba(10, 16, 28, 0.54) 52%, rgba(10, 16, 28, 0.09) 76%);
}

.night-hero-inner {
  padding-block: clamp(58px, 8vw, 110px);
}

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

.night-kicker {
  margin: 0;
  color: var(--night-accent);
  font-size: 0.875rem;
  font-weight: 750;
}

.night-hero h1 {
  margin-block: 16px 23px;
  color: var(--night-text);
  font-size: clamp(3.2rem, 6.75vw, 6.9rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.072em;
}

.night-hero h1 span {
  display: block;
  margin-top: 0.14em;
  font-size: 0.78em;
  letter-spacing: -0.06em;
}

.night-hero h1 .night-title-city {
  margin-top: 0;
  font-size: 1em;
  letter-spacing: inherit;
  white-space: nowrap;
}

.night-intro,
.night-hero-note {
  margin: 0;
}

.night-intro {
  max-width: 38ch;
  color: var(--night-text);
  font-size: clamp(1.1rem, 1.85vw, 1.46rem);
  font-weight: 650;
  line-height: 1.5;
}

.night-hero-note {
  max-width: 36ch;
  margin-top: 12px;
  color: var(--night-muted);
  line-height: 1.6;
}

.night-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: fit-content;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid #5a6b87;
  border-radius: 4px;
  color: var(--night-text);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.night-button:hover {
  border-color: var(--night-accent);
  background: var(--night-surface);
}

.night-button-primary {
  border-color: var(--night-paper);
  background: var(--night-paper);
  color: var(--night-ink);
}

.night-button-primary:hover {
  border-color: var(--night-accent);
  background: var(--night-accent);
}

.night-hero-copy > .night-button,
.night-hero-actions {
  margin-top: 28px;
}

.night-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.night-section {
  padding-block: var(--night-pad);
  scroll-margin-top: 16px;
}

.night-drive main h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.9vw, 4.35rem);
  font-weight: 800;
  line-height: 1.035;
  letter-spacing: -0.057em;
  text-wrap: balance;
}

.night-drive main h3 {
  margin: 0;
  font-size: clamp(1.14rem, 1.8vw, 1.46rem);
  line-height: 1.25;
  letter-spacing: -0.027em;
}

.night-split,
.night-person,
.night-experience-inner,
.night-session-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(26px, 6vw, 94px);
}

.night-copy {
  display: grid;
  justify-items: start;
  gap: 15px;
}

.night-drive main :is(.night-copy, .night-section-heading, .night-contact, .night-situation-grid, .night-session, .night-faq) p {
  max-width: 61ch;
  margin: 0;
  line-height: 1.7;
}

.night-copy p,
.night-section-heading p,
.night-contact p,
.night-situation-grid p,
.night-faq details p {
  color: var(--night-muted);
}

.night-drive main :is(.night-section-heading, .night-contact) p {
  margin-top: 12px;
}

.night-copy .night-lead {
  color: var(--night-text);
  font-size: clamp(1.1rem, 1.7vw, 1.33rem);
}

.night-situation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 7vw, 100px);
  margin-top: clamp(30px, 4.6vw, 62px);
}

.night-situation-grid article {
  padding-block: clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--night-line);
}

.night-drive main .night-situation-grid p,
.night-drive main .night-flow p {
  margin-top: 9px;
}

.night-session {
  color: var(--night-ink);
  background: var(--night-paper);
}

.night-drive main .night-session-intro p {
  align-self: end;
  max-width: 43ch;
  color: #3b4a61;
  font-size: clamp(1.08rem, 1.6vw, 1.27rem);
}

.night-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(21px, 4vw, 54px);
  margin: clamp(34px, 6vw, 68px) 0 0;
  padding: 0;
  list-style: none;
}

.night-flow li {
  padding-block-start: 17px;
  border-top: 1px solid #a1adc0;
}

.night-flow p {
  color: #3b4a61;
}

.night-person {
  grid-template-columns: clamp(190px, 25vw, 320px) minmax(0, 580px);
  align-items: center;
  justify-content: center;
}

.night-person-photo,
.night-playlist-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.night-person-photo {
  aspect-ratio: 5 / 6;
  object-position: 50% 35%;
  background: var(--night-surface);
}

.night-text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  padding-block: 8px;
  color: var(--night-accent);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.night-text-link:hover {
  color: var(--night-text);
}

.night-experience,
.night-faq {
  border-block: 1px solid var(--night-line);
  background: var(--night-surface);
}

.night-experience-inner {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}

.night-experience-copy .night-copy + .night-copy {
  margin-top: clamp(24px, 3vw, 35px);
  padding-top: clamp(24px, 3vw, 35px);
  border-top: 1px solid var(--night-line);
}

.night-drive main .night-experience h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

.night-playlist-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--night-bg);
}

.night-playlist-photo img {
  height: 100%;
}

.night-car-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(17px, 2.2vw, 30px);
  margin-top: clamp(24px, 4vw, 40px);
}

.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: 9px;
  padding-block: 17px 20px;
}

.night-car p {
  margin: 0 0 auto;
  color: var(--night-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.night-price {
  margin-block: 8px 3px;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-variant-numeric: tabular-nums;
}

.night-note {
  max-width: 77ch;
  margin: 17px 0 0;
  color: var(--night-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.night-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 54px;
  padding-block: 12px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.night-faq summary::-webkit-details-marker {
  display: none;
}

.night-faq summary:hover,
.night-faq details[open] summary {
  color: var(--night-accent);
}

.night-faq-list {
  border-top: 1px solid var(--night-line);
}

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

.night-faq-mark {
  flex: 0 0 auto;
  color: var(--night-accent);
  font-size: 1.3em;
  font-weight: 500;
}

.night-faq-mark::before {
  content: "+";
}

.night-faq details[open] .night-faq-mark::before {
  content: "−";
}

.night-drive main .night-faq details p {
  margin: 0 22px 16px 0;
}

.night-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}

.night-drive .site-footer .footer-brand > p,
.night-drive .site-footer .footer-nav > p,
.night-drive .site-footer .footer-contacts > p,
.night-drive .site-footer .footer-legal a {
  color: var(--night-muted);
}

.night-drive :is(.cookie-banner, .cookie-dialog) {
  --cookie-ink: var(--night-ink);
  --cookie-paper: var(--night-paper);
  --cookie-muted: #3b4a61;
  --cookie-cyan: var(--night-accent);
  border-color: var(--night-line);
  background: var(--night-paper);
}

.night-drive :is(.cookie-banner, .cookie-dialog) a,
.night-drive .cookie-dialog__eyebrow {
  color: #36527f;
}

.night-drive .cookie-button--primary:hover {
  border-color: #b1c4e8;
  background: #b1c4e8;
}

@media (max-width: 1030px) {
  .night-car-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 27px;
  }
}

@media (max-width: 720px) {
  .night-header-inner {
    min-height: 64px;
  }

  .night-nav {
    display: none;
  }

  .night-hero {
    align-items: end;
    min-height: min(680px, max(550px, calc(100svh - 65px)));
  }

  .night-hero-image {
    inset-block-end: auto;
    height: 74%;
    object-position: 73% 51%;
  }

  .night-hero::after {
    background: linear-gradient(0deg, var(--night-bg) 26%, rgba(10, 16, 28, 0.97) 43%, rgba(10, 16, 28, 0.4) 62%, transparent 78%);
  }

  .night-hero-inner {
    padding-block: 220px 39px;
  }

  .night-hero-with-actions .night-hero-inner {
    padding-block: clamp(124px, 23svh, 190px) 32px;
  }

  .night-hero h1 {
    margin-block: 13px 18px;
    font-size: clamp(2.65rem, 10.6vw, 4.8rem);
  }

  .night-hero-with-actions h1 {
    font-size: clamp(2.25rem, 11.3vw, 4.8rem);
  }

  .night-hero-copy > .night-button,
  .night-hero-actions {
    margin-top: 22px;
  }

  .night-split,
  .night-session-intro,
  .night-experience-inner,
  .night-flow {
    grid-template-columns: 1fr;
  }

  .night-person {
    grid-template-columns: 1fr;
  }

  .night-person-photo {
    max-width: 295px;
  }

  .night-situation-grid {
    grid-template-columns: 1fr;
  }

  .night-playlist-photo {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 418px) {
  .night-header .brand-mark {
    width: 25px;
    flex-basis: 25px;
  }

  .night-header .brand-monogram {
    width: 25px;
  }

  .night-header .brand-copy > span {
    display: none;
  }

  .night-header-link {
    font-size: 0.8rem;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .night-hero-copy {
    animation: night-appear 630ms ease-out both;
  }

  .night-button {
    transition: background-color 180ms ease, border-color 180ms ease;
  }

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