/* Shared art direction for the live homepage and its no-JavaScript fallback. */
.audi-hero { position: relative; isolation: isolate; overflow: hidden; background: #181b1b; }
.audi-hero .audi-hero-photo { position: absolute; inset: 96px 0 0; z-index: -2; display: block; mask-image: linear-gradient(180deg,transparent,#000 8%); }
.audi-hero .audi-hero-photo::before { content: ""; position: absolute; inset: -24px; background: url("/gallery/toyota-hero-1000.webp") center / cover no-repeat; filter: blur(24px); opacity: .45; pointer-events: none; }
.audi-hero .audi-hero-photo img { position: relative; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center bottom; transform: scale(.9); transform-origin: center bottom; mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.audi-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,rgba(24,27,27,.8),rgba(24,27,27,.73) 48%,rgba(24,27,27,.65) 78%,#181b1b),linear-gradient(90deg,rgba(24,27,27,.2),transparent); }
.audi-hero .audi-hero-content { padding-bottom: 80px; }
@media (max-width: 767px) {
  .audi-hero .audi-hero-photo {
    inset: auto 0 0;
    aspect-ratio: 1800 / 1680;
  }
  .audi-hero::after {
    background: linear-gradient(180deg,#181b1b,rgba(24,27,27,.96) 58%,rgba(24,27,27,.18) 76%,rgba(24,27,27,.08) 95%,rgba(24,27,27,.5));
  }
  .audi-hero .audi-hero-content {
    padding-bottom: clamp(320px,82vw,480px);
    text-shadow: 0 1px 4px rgba(0,0,0,.85);
  }
  .audi-hero .audi-hero-content a,
  .audi-hero .audi-hero-content summary { text-shadow: none; }
}
@media (min-width: 768px) {
  .audi-hero .audi-hero-photo img { object-position: center bottom; }
  .audi-hero::after { background: linear-gradient(90deg,rgba(24,27,27,.96),rgba(24,27,27,.86) 30%,rgba(24,27,27,.56) 55%,rgba(24,27,27,.2) 85%),linear-gradient(0deg,#181b1b,transparent 28%); }
  .audi-hero .audi-hero-content { padding-bottom: 80px; }
  .audi-hero .audi-hero-content > div { max-width: 600px; }
  .audi-hero h1 { font-size: clamp(3.5rem,5.5vw,4.75rem); }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .audi-hero .audi-hero-content > div { max-width: 540px; }
  .audi-hero::after { background: linear-gradient(90deg,#181b1b,rgba(24,27,27,.85) 42%,rgba(24,27,27,.15) 85%),linear-gradient(0deg,#181b1b,transparent 20%); }
}
