.header .primary-navigation {
  padding: 0;
  gap: 4px;
  background: none;
  border: 0;
}

.header .primary-navigation a,
.header .primary-navigation a:first-child {
  padding-inline: clamp(7px, .9vw, 14px);
  border: 0;
  border-radius: 6px;
  background: none;
}

.header .primary-navigation a::before,
.header .primary-navigation a::after {
  content: none;
}

.header .primary-navigation a:hover,
.header .primary-navigation a:focus-visible,
.header .mobile-navigation .mobile-feature-link:hover {
  background: #245b3f55;
}

.header .mobile-navigation .mobile-feature-link,
.header .mobile-navigation .mobile-feature-link:first-child {
  border: 0;
  border-bottom: 1px solid var(--metal-line);
  border-radius: 5px;
  background: none;
  margin: 0;
  padding-inline: 8px;
}

.header .mobile-navigation .mobile-feature-link::before {
  content: none;
}

.header .language-picker {
  position: relative;
  gap: 6px;
  min-width: 66px;
  min-height: 36px;
  justify-content: center;
  padding: 0 8px;
  border-radius: 6px;
}

.header .language-picker .language-icon {
  width: 14px;
  height: 14px;
}

.header .language-picker .language-code {
  font-size: 11px;
  font-weight: 700;
}

.header .language-picker .language-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  cursor: pointer;
}

.contact-panel {
  align-self: start;
}

.contact-panel > summary,
.contact-panel[open] > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--action);
  border-radius: 5px;
  list-style: none;
  background: var(--action);
  color: var(--paper);
  font: 700 clamp(23px, 3vw, 30px)/1.15 var(--display);
  cursor: pointer;
}

.contact-panel > summary:hover,
.contact-panel > summary:focus-visible {
  background: var(--night);
}

.contact-panel > summary > [data-i18n="contactFormTitle"] {
  display: block;
  width: auto;
  height: auto;
  background: none;
  color: inherit;
  font: inherit;
}

.contact-panel summary::-webkit-details-marker {
  display: none;
}

.contact-panel[open] summary {
  margin-bottom: 20px;
}

.contact-panel > summary > .contact-toggle-icon {
  flex: none;
  width: 12px;
  min-width: 12px;
  height: 12px;
  margin-right: 4px;
  background: none;
  border: solid var(--amber);
  border-radius: 0;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-panel[open] > summary > .contact-toggle-icon {
  transform: rotate(225deg);
}

.ignition-button {
  position: relative;
}

.ignition-button.is-loading::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 3px solid #f4ce4b36;
  border-top-color: var(--amber);
  border-radius: 50%;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .ignition-button.is-loading::after {
    animation: ignition-loading .75s linear infinite;
  }
}

@keyframes ignition-loading {
  to { transform: rotate(360deg); }
}

.header .mobile-language-picker {
  display: flex;
  align-items: center;
  width: 58px;
  min-width: 58px;
  min-height: 44px;
}

.hero.hero-gallery {
  display: grid;
  min-height: 0;
  overflow: hidden;
  background: var(--night);
}

.hero-gallery::before,
.hero-gallery::after {
  content: none;
}

.hero-slide,
.hero-slide-media,
.hero-slide-media::before,
.hero-slide-media::after {
  grid-area: 1 / 1;
}

.hero-slide {
  display: grid;
  isolation: isolate;
  min-height: clamp(510px, 46vw, 770px);
}

.hero-slide[hidden] {
  display: none;
}

.hero-slide-media {
  display: grid;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background: #101713;
}

.hero-slide-media::before,
.hero-slide-media::after {
  content: "";
  display: block;
}

.hero-slide-media::before {
  background: var(--slide-photo) center / cover no-repeat;
  filter: blur(26px);
  opacity: .5;
  transform: scale(1.14);
}

.hero-slide-media img {
  grid-area: 1 / 1;
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  mask-image: linear-gradient(90deg, transparent, #000 27%);
}

.hero-slide-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a100ef5 4%, #0a100ee8 29%, #0a100e38 63%, transparent 80%),
    linear-gradient(0deg, #0a100edb, transparent 26%);
}

.hero-slide-cowl img { object-position: center 53%; }
.hero-slide-sound img { object-position: center 39%; }
.hero-slide-garage img {
  width: 100%;
  mask-image: none;
  object-position: center 65%;
}

.hero-slide-inner {
  display: flex;
  align-items: center;
  width: min(88%, 1440px);
  margin-inline: auto;
  padding: 48px 0 90px;
}

.hero-slide-copy {
  width: min(49%, 560px);
  color: white;
}

.hero-gallery #hero-title,
.hero-gallery .hero-slide h2 {
  color: white;
  margin: 0;
  max-width: 15ch;
  font: 750 clamp(45px, 5.4vw, 86px)/.98 var(--display);
  letter-spacing: -.012em;
  transform: none;
  overflow-wrap: break-word;
}

.hero-gallery .hero-slide-title {
  margin: 0 0 10px;
  color: var(--amber);
  font-weight: 700;
  font-size: 14px;
}

.hero-gallery .hero-slide-description {
  max-width: 39ch;
  margin: 16px 0 23px;
  color: #f0f2ef;
  font-size: clamp(15px, 1.55vw, 20px);
  line-height: 1.45;
}

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

.hero-slide-actions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: white;
  font: 700 14px/1.2 var(--font);
  text-align: center;
  cursor: pointer;
}

.hero-slide-actions .hero-primary { background: #245b3f; }
.hero-slide-actions .hero-outline { background: #11131255; border-color: #ffffffa0; }
.hero-slide-actions > *:hover { background: #367455; }

.hero-slide-controls {
  position: absolute;
  inset: auto 0 14px;
  display: flex;
  width: max-content;
  margin-inline: auto;
  align-items: center;
  gap: 4px;
}

.hero-slide-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero-slide-controls [data-slide-index]::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50px;
  background: #ffffffa0;
}

.hero-slide-controls [aria-current="true"]::before {
  width: 24px;
  background: var(--amber);
}

.hero-slide-pause span {
  width: 10px;
  height: 11px;
  border-inline: 2px solid white;
}

.hero-slide-pause[aria-pressed="true"] span {
  border: 5px solid transparent;
  border-left: 8px solid white;
  transform: translateX(2px);
}

.hero-slide-controls button:focus-visible,
.hero-slide-actions > *:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-slide:not([hidden]) .hero-slide-media {
    animation: hero-media-appear .6s ease-out both;
  }
}

@keyframes hero-media-appear {
  from { opacity: .45; }
  to { opacity: 1; }
}

@media (max-width: 760px) {
  .hero-slide {
    min-height: clamp(510px, 140vw, 620px);
  }

  .hero-slide-media img {
    width: 100%;
    height: 65%;
    object-position: center 52%;
    mask-image: none;
  }

  .hero-slide-sound img { object-position: center 36%; }
  .hero-slide-garage img { object-position: center 68%; }

  .hero-slide-media::after {
    background: linear-gradient(0deg, #101713 33%, #101713f5 40%, #10171355 72%, transparent);
  }

  .hero-slide-inner {
    align-items: flex-end;
    padding: 240px 0 66px;
  }

  .hero-slide-copy { width: 100%; }
  .hero-gallery #hero-title,
  .hero-gallery .hero-slide h2 {
    font-size: clamp(37px, 9vw, 57px);
  }

  .hero-gallery .hero-slide-description { margin: 11px 0 16px; }
}

/* Homepage and catalog reading scale. */
main {
  --home-hero-size: clamp(36px, 4.8vw, 76px);
  --home-section-size: clamp(30px, 3.5vw, 48px);
  --home-product-size: clamp(24px, 2.35vw, 34px);
  --home-price-size: clamp(22px, 1.9vw, 28px);
  --home-copy-size: clamp(16px, 1.25vw, 18px);
}

.hero-gallery #hero-title,
.hero-gallery .hero-slide h2 {
  max-width: 19ch;
  font-size: var(--home-hero-size);
  font-weight: 750;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-gallery .hero-slide-description {
  font-size: var(--home-copy-size);
  line-height: 1.6;
}

.hero-slide-actions > * {
  min-height: 48px;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-slide-actions .hero-primary {
  min-height: 52px;
  padding-inline: 24px;
  background: var(--amber);
  color: var(--night);
  border-color: var(--amber);
}

.hero-slide-actions .hero-primary:hover {
  background: var(--paper);
  border-color: var(--paper);
}

main :is(#collection-title, #garage-title, #story-title, #contact-title, #faq h2) {
  font-size: var(--home-section-size);
  font-weight: 750;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

#collection .section-top > p,
#collection .product-desc {
  font-size: var(--home-copy-size);
  line-height: 1.65;
}

#collection .section-top > p { color: var(--paper); }
#collection .product-desc { color: #3a423d; }

#collection .section-top > * {
  min-width: 0;
}

#collection .product-name-row {
  justify-content: flex-start;
  padding-top: 10px;
  gap: 7px;
}

#collection .product-name-row h3 {
  max-width: 100%;
  font-size: var(--home-product-size);
  font-weight: 750;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

#collection .product-name-row .price {
  color: var(--action);
  font-size: var(--home-price-size);
  font-weight: 750;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

#collection .card-button,
#collection .filter {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

#collection .filter {
  min-height: 44px;
}

#collection .card-button > span {
  flex: none;
}

@media (max-width: 760px) {
  main {
    --home-hero-size: clamp(34px, 8.3vw, 54px);
  }

  .hero-slide-actions .hero-primary {
    width: 100%;
    min-height: 54px;
    margin-inline-end: auto;
  }

  #collection .product-name-row {
    min-height: 0;
  }

  #collection .product-card[data-product-id="sound"] .product-name-row {
    min-height: 96px;
  }
}
