/* Use the established Gallery navigation treatment. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 80px;
  padding: 12px clamp(24px, 5vw, 96px);
  background: rgba(3, 11, 24, .88);
  border-bottom: 1px solid rgba(146, 222, 222, .2);
  backdrop-filter: blur(20px);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.55;
}

.brand {
  width: 220px;
  height: 52px;
  background: url('../../assets/rapid-lightning-gold.svg') center / contain no-repeat;
  filter: drop-shadow(0 0 .35rem rgba(255, 221, 132, .22)) drop-shadow(0 .12rem .18rem rgba(0, 0, 0, .58));
  color: inherit;
}

.brand img { display: none; }

.site-nav {
  display: flex;
  gap: 0;
  align-items: center;
  color: #8e8e93;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.55;
  text-transform: none;
}

.site-nav a {
  position: relative;
  width: 86px;
  padding: 5px 0;
  text-align: center;
  color: inherit;
}

.site-nav a.active { color: #fff; }
.site-nav a.active::after,
.nav-group[open] summary::after,
.nav-group.active summary::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 65px;
  height: 2px;
  border-radius: 2px;
  background: #00d4aa;
  transform: translateX(-50%);
}

.site-nav.nav-group-open > a.active::after { display: none; }
.nav-group { position: relative; width: 86px; }
.nav-group summary {
  cursor: pointer;
  list-style: none;
  padding: 5px 0;
  text-align: center;
}
.nav-group[open] summary,
.nav-group.active summary { position: relative; color: #fff; font-weight: 500; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-submenu {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 50%;
  display: grid;
  min-width: 190px;
  padding: 5px;
  transform: translateX(-50%);
  background: rgba(6, 20, 38, .78);
  border: 1px solid rgba(146, 222, 222, .32);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 1px 0 0 rgba(146, 222, 222, .1), 0 0 16px rgba(86, 240, 220, .16), 0 12px 26px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  gap: 0;
  color: #8e8e93;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.55;
  text-transform: none;
}
.nav-submenu a { width: auto; padding: 6px 10px; text-align: left; white-space: nowrap; }
.nav-submenu a[aria-current="page"] { color: #fff; font-weight: 700; }
.nav-submenu a::after { display: none; }
.nav-submenu a:hover,
.nav-submenu a:focus-visible { color: #56f0dc; background: rgba(86, 240, 220, .08); }
.nav-submenu a[aria-current="page"]:hover,
.nav-submenu a[aria-current="page"]:focus-visible { color: #fff; background: transparent; }
.assortment-card { border-radius: 18px; }

/* Match the compact-header breakpoint used by the other Gallery pages. */
@media (max-width: 480px) {
  .site-header { min-height: 72px; padding-inline: 18px; }
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    padding: 22px;
    flex-direction: column;
    align-items: center;
    background: #061426;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 120px; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 0; }
  .nav-group { width: 120px; }
  .nav-group summary { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 0; }
  .nav-submenu { position: static; width: max-content; max-width: calc(100vw - 32px); min-width: 0; transform: translateX(-50%); margin: 0 0 8px 50%; box-shadow: none; background: rgba(11, 49, 86, .45); }
  .nav-submenu a { width: 100%; min-height: 38px; padding: 8px 10px; text-align: center; white-space: normal; }
}

.lightbox-panel {
  position: relative;
  overflow: visible;
  border-radius: 18px;
  width: min(1320px, 100%);
  max-width: 100%;
  height: min(820px, 100%);
}

.model-lightbox {
  z-index: 100;
}

.lightbox-bar {
  border-radius: 17px 17px 0 0;
}

.lightbox-viewer {
  overflow: hidden;
  border-radius: 0 0 17px 17px;
}

.lightbox-viewer iframe {
  border-radius: inherit;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -22px;
  right: -22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #fff;
  background: #07182b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font: 400 2rem/1 sans-serif;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: #07182b;
  background: #78aeb2;
  outline: none;
}

@media (min-width: 821px) {
  .model-lightbox {
    padding: 30px clamp(16px, 4vw, 48px);
  }

  .lightbox-panel {
    width: min(1320px, 100%);
    max-width: 100%;
    height: min(820px, 100%);
  }
}

@media (max-width: 820px) {
  .lightbox-panel,
  .lightbox-bar,
  .lightbox-viewer,
  .lightbox-viewer iframe {
    border-radius: 0;
  }

  .lightbox-close {
    top: 4px;
    right: 8px;
  }
}

/* Match the approved site-wide footer exactly. */
.assortment-page .site-footer,
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-template-columns: none;
  gap: 18px;
  padding: 44px max(24px, calc((100vw - 1240px) / 2));
  background: #020711;
  border-top: 1px solid rgba(146, 222, 222, .2);
  color: #8fa1b4;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
}

.site-footer img {
  display: none;
  width: auto;
  height: auto;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.site-footer p {
  width: 100%;
  margin: 0;
  color: #f4d98a;
  text-align: center;
}

.assortment-grid-section .section-heading {
  display: block;
  max-width: 760px;
  margin-bottom: 38px;
}

.assortment-grid-section .section-heading .eyebrow {
  color: #3eaca0;
  font-weight: 700;
}

.assortment-card .card-kicker {
  color: #3eaca0;
  font-weight: 700;
}

.assortment-grid-section {
  padding-top: 56px;
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
}

.assortment-grid-section .section-heading > div {
  width: 100%;
}

.assortment-grid-section .section-heading > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #516477;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  line-height: 1.55;
}

.assortment-grid-section .section-heading h2 {
  margin: 0 0 12px;
  color: #102033;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.assortment-hero {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 2.5 / 1;
  padding: 0;
  overflow: hidden;
  background: #07182b;
}

.assortment-hero .gallery-hero-copy .eyebrow {
  margin: 0 0 16px;
  color: #56f0dc;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.assortment-hero .gallery-hero-copy h1 {
  display: block;
  color: #fff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: normal;
}

.assortment-hero .gallery-hero-copy .gallery-hero-subtitle {
  display: block;
  max-width: 440px;
  white-space: normal;
  color: #f4d98a;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: clamp(.95rem, 1.25vw, 1.15rem);
  line-height: 1.55;
}

/* Leave the future banner artwork behind the copy without supplying a placeholder image. */
.assortment-hero .gallery-hero-media {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  grid-column: auto;
  grid-row: auto;
  z-index: 0;
  background-image: url("assets/assortment-banner-401.jpg?revision=20260830-banner-401");
  background-position: right center;
  background-size: cover;
}

.assortment-hero .gallery-hero-copy {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  width: min(720px, calc(100% - 48px));
  margin: 0 max(24px, calc((100vw - 1240px) / 2));
  padding: 0;
  background: transparent;
}

.assortment-hero::after {
  display: none;
}

.assortment-note {
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  text-align: center;
}

.assortment-note .eyebrow,
.assortment-note h2,
.assortment-note-copy {
  margin-right: auto;
  margin-left: auto;
}

.assortment-note h2 {
  color: #f4d98a;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.assortment-note-copy {
  max-width: 590px;
  margin-top: 0;
  margin-bottom: 36px;
  color: #d6e3dc;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

body {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: 18px;
}

.lightbox-bar h2 {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-weight: 700;
}

.assortment-card .card-copy h3 {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.assortment-card .card-copy p:not(.card-kicker):not(.card-meta):not(.source-credit) {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: 18px;
}

@media (max-width: 820px) {
  .assortment-grid-section .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .assortment-grid-section {
    padding-top: 52px;
  }

  .assortment-grid-section .section-heading > div,
  .assortment-grid-section .section-heading > p:last-child {
    flex-basis: auto;
    max-width: none;
  }

  .assortment-hero {
    display: block;
    aspect-ratio: auto;
    min-height: 560px;
  }

  .assortment-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 16, 33, .5) 0%, rgba(3, 16, 33, .5) 35%, transparent 50%);
  }

  .assortment-hero .gallery-hero-copy {
    position: relative;
    z-index: 2;
    width: calc(100% - 12vw);
    margin: 0 6vw;
    padding-top: 64px;
  }

  .assortment-hero .gallery-hero-copy h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
    white-space: normal;
  }
}
