/* Indigo Adventure — homepage teaser + gallery */

.section.adventure {
  position: relative;
  overflow: hidden;
  padding: 32px 0 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 170, 188, 0.22), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(46, 49, 145, 0.38), transparent 42%),
    linear-gradient(180deg, #071018 0%, #0c1824 48%, #08131c 100%);
  color: #fff;
}

.adventure__mist {
  position: absolute;
  inset: -20% 30% auto;
  height: 140px;
  background: radial-gradient(circle, rgba(125, 231, 242, 0.12), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.adventure__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}

.adventure__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.adventure__logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 210px;
  margin: 0;
  object-fit: contain;
  background: transparent;
  flex: 0 0 auto;
}

.adventure__head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.adventure__head p {
  margin: 4px 0 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.4;
}

.adventure__head .btn {
  flex: 0 0 auto;
  box-shadow: 0 10px 22px rgba(0, 170, 188, 0.24);
}

.adventure__stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 0.72fr 0.72fr 0.72fr;
  gap: 10px;
  height: 200px;
}

.adventure__film {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  background: #081018;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.adventure__film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.adventure__stills {
  display: contents;
}

.adventure__stills a,
.adventure__stills img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.adventure__stills a {
  overflow: hidden;
  min-height: 0;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.adventure__stills a:hover img {
  transform: scale(1.05);
}

.adventure__stills img {
  transition: transform 0.45s ease;
}

/* Gallery page */
.adv-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 80% at 12% 20%, rgba(0, 170, 188, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 80%, rgba(46, 49, 145, 0.05), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.adv-hero__copy {
  position: relative;
  text-align: center;
  padding: 36px 20px 32px;
}

.adv-hero__logo {
  width: min(240px, 58vw);
  margin: 0 auto 6px;
  background: transparent;
}

.adv-hero__logo video {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.adv-hero__copy p {
  margin: 0 auto;
  max-width: 46ch;
  color: #5b6573;
  font-size: 1.08rem;
  line-height: 1.6;
}

.adv-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 170, 188, 0.28);
  background: rgba(0, 170, 188, 0.08);
  color: #0d8a99;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adv-stories {
  padding: 48px 0 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 170, 188, 0.12), transparent 34%),
    linear-gradient(180deg, #071018 0%, #0c1824 100%);
}

.adv-albums {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}

.adv-album {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 22px;
  overflow: hidden;
  background: #081018;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.adv-album--feature {
  min-height: 420px;
}

.adv-album img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.adv-album:hover img {
  transform: scale(1.06);
}

.adv-album__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.08) 20%, rgba(7, 16, 24, 0.88) 100%);
}

.adv-album__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px 20px 20px;
  color: #fff;
}

.adv-album__no {
  display: inline-flex;
  margin-bottom: 8px;
  color: #7de7f2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.adv-album__body h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.adv-album__body p {
  margin: 0 0 12px;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.adv-album__meta {
  color: rgba(125, 231, 242, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adv-chapter {
  padding: 56px 0 64px;
  background: #f4f8fb;
}

.adv-chapter--alt {
  background:
    radial-gradient(circle at 88% 0%, rgba(0, 170, 188, 0.08), transparent 36%),
    #eef4f8;
}

.adv-chapter__head {
  max-width: 640px;
  margin: 0 0 28px;
}

.adv-chapter__head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #008fa0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.adv-chapter__head h2 {
  margin: 0 0 8px;
  color: #14151c;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.adv-chapter__head p {
  margin: 0;
  color: #5b6573;
  font-size: 1rem;
  line-height: 1.6;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.adv-card {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0c1824;
  border: 1px solid rgba(46, 49, 145, 0.08);
  box-shadow: 0 14px 32px rgba(7, 16, 24, 0.1);
  cursor: pointer;
  aspect-ratio: 3 / 4;
}

.adv-card--video {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}

.adv-card--square {
  aspect-ratio: 1 / 1;
}

.adv-card img,
.adv-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.adv-card:hover img,
.adv-card:hover video {
  transform: scale(1.04);
}

.adv-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 16, 24, 0.72);
  color: #7de7f2;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.adv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 16, 24, 0.88);
  backdrop-filter: blur(8px);
}

.adv-lightbox.is-open {
  display: grid;
}

.adv-lightbox__inner {
  width: min(1100px, 96vw);
  max-height: 88vh;
}

.adv-lightbox__inner img,
.adv-lightbox__inner video {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
}

.adv-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #071018;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Special event: album card */
.adv-event-card {
  position: relative;
  display: block;
  min-height: 380px;
  margin-bottom: 16px;
  border-radius: 26px;
  overflow: hidden;
  background: #081018;
  border: 1px solid rgba(255, 211, 77, 0.45);
  box-shadow:
    0 0 0 4px rgba(255, 211, 77, 0.08),
    0 24px 50px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.adv-event-card > img,
.adv-event-card > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 0.7s ease;
}

.adv-event-card:hover > img,
.adv-event-card:hover > video {
  transform: scale(1.05);
}

.adv-event-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.92) 0%, rgba(7, 16, 24, 0.6) 45%, rgba(7, 16, 24, 0.05) 80%),
    linear-gradient(180deg, transparent 55%, rgba(7, 16, 24, 0.6) 100%);
}

.adv-event-card__body {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  max-width: 620px;
  padding: 28px 30px 30px;
}

.adv-event-card__date {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffd34d;
  font-family: "Space Grotesk", var(--font, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.adv-event-card__body h3 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.adv-event-card__body p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
}

.adv-event-card__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.adv-event-card__route span {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(125, 231, 242, 0.35);
  background: rgba(7, 16, 24, 0.45);
  color: #7de7f2;
  font-size: 0.78rem;
  font-weight: 700;
}

.adv-event-card__route b {
  width: 18px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #ffd34d 0 4px, transparent 4px 7px);
}

.adv-event-card__cta {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2e3191, #00aabc);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 170, 188, 0.3);
  transition: transform 0.25s ease;
}

.adv-event-card:hover .adv-event-card__cta {
  transform: translateX(4px);
}

/* Special event: chapter */
.adv-event {
  position: relative;
  padding: 0 0 72px;
  background:
    radial-gradient(circle at 85% 30%, rgba(46, 49, 145, 0.35), transparent 40%),
    radial-gradient(circle at 10% 60%, rgba(0, 170, 188, 0.16), transparent 38%),
    linear-gradient(180deg, #0c1824 0%, #071018 100%);
  color: #fff;
}

.adv-event__banner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.adv-event__banner > img,
.adv-event__banner > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.adv-event__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.15) 0%, rgba(7, 16, 24, 0.55) 55%, #0c1824 100%);
}

.adv-event__banner-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 36px;
  text-align: center;
}

.adv-event__banner h2 {
  margin: 0 auto 8px;
  max-width: 16ch;
  color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.adv-event__date {
  margin: 0;
  color: #ffd34d;
  font-family: "Space Grotesk", var(--font, sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.adv-event__intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  margin: 28px 0 48px;
}

.adv-event__story p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  line-height: 1.7;
}

.adv-event__story .adv-event__lead {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.55;
}

.adv-event__side {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.adv-event__side h3 {
  margin: 0 0 16px;
  color: #7de7f2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.adv-event__route {
  position: relative;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.adv-event__route::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: repeating-linear-gradient(180deg, #ffd34d 0 5px, transparent 5px 10px);
}

.adv-event__route li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 16px 30px;
}

.adv-event__route li:last-child {
  padding-bottom: 0;
}

.adv-event__route li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0c1824;
  border: 3px solid #00aabc;
}

.adv-event__route li:last-child::before {
  border-color: #ffd34d;
  background: #ffd34d;
}

.adv-event__route em {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.adv-event__route strong {
  font-size: 1.05rem;
}

.adv-event__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.adv-event__stats div {
  display: flex;
  flex-direction: column;
}

.adv-event__stats strong {
  color: #ffd34d;
  font-family: "Space Grotesk", var(--font, sans-serif);
  font-size: 1.8rem;
  line-height: 1;
}

.adv-event__stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.adv-event__gallery-head h3 {
  margin: 0 0 18px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.adv-event__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 14px;
}

.adv-card.adv-ev-tile {
  aspect-ratio: auto;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.adv-ev-tile.adv-ev-tile--tall { grid-row: span 2; }
.adv-ev-tile.adv-ev-tile--wide { grid-column: span 2; }
.adv-ev-tile.adv-ev-tile--big { grid-column: span 2; grid-row: span 2; }

.adv-event__outro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 44px 0 0;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  text-align: center;
}

.adv-event__compass {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffd34d;
  color: #14151c;
}

.adv-event__compass svg {
  width: 24px;
  height: 24px;
}

.adv-event__kicker {
  margin: 0;
  color: #7de7f2;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.adv-event__banner .adv-event__kicker + h2 {
  margin-top: 12px;
}

/* Night event theme */
.adv-event-card--night {
  border-color: rgba(125, 160, 255, 0.45);
  box-shadow:
    0 0 0 4px rgba(90, 120, 255, 0.1),
    0 24px 50px rgba(0, 0, 0, 0.45);
}

.adv-event-card--night .adv-event-card__shade {
  background:
    linear-gradient(90deg, rgba(4, 6, 20, 0.94) 0%, rgba(8, 10, 40, 0.62) 48%, rgba(8, 10, 40, 0.1) 82%),
    linear-gradient(180deg, transparent 55%, rgba(4, 6, 20, 0.65) 100%);
}

.adv-event-card--night .adv-event-card__date {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.adv-event--night {
  background:
    radial-gradient(1px 1px at 12% 20%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 32% 64%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 58% 34%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 76% 78%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 90% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(circle at 80% 30%, rgba(70, 90, 220, 0.3), transparent 42%),
    radial-gradient(circle at 15% 75%, rgba(255, 211, 77, 0.07), transparent 40%),
    linear-gradient(180deg, #060818 0%, #04050f 100%);
}

.adv-event--night .adv-event__banner::after {
  background: linear-gradient(180deg, rgba(6, 8, 24, 0.25) 0%, rgba(6, 8, 24, 0.6) 55%, #060818 100%);
}

.adv-event--night .adv-event__side {
  border-color: rgba(125, 160, 255, 0.18);
  background: rgba(90, 110, 255, 0.06);
}

.adv-event--night .adv-event__route li::before {
  border-color: #8aa2ff;
  background: #060818;
}

.adv-event--night .adv-event__route li:last-child::before {
  border-color: #ffd34d;
  background: #ffd34d;
}

.adv-event--night .adv-event__compass {
  background: linear-gradient(135deg, #2e3191, #5b6cff);
  color: #ffd34d;
  box-shadow: 0 0 24px rgba(91, 108, 255, 0.5);
}

@media (max-width: 900px) {
  .adv-event__intro {
    grid-template-columns: 1fr;
  }

  .adv-event__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .adv-event__banner {
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .adv-event-card {
    min-height: 460px;
  }

  .adv-event-card__shade {
    background: linear-gradient(180deg, rgba(7, 16, 24, 0.1) 0%, rgba(7, 16, 24, 0.92) 60%);
  }

  .adv-event-card__body {
    padding: 22px 20px;
  }

  .adv-event__gallery {
    grid-auto-rows: 140px;
    gap: 10px;
  }

  .adv-event__outro {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adv-event-card > img {
    transition: none;
  }
}

@media (max-width: 900px) {
  .section.adventure {
    padding: 28px 0 32px;
  }

  .adventure__head {
    flex-wrap: wrap;
  }

  .adventure__stage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 168px 112px;
    height: auto;
  }

  .adventure__film {
    grid-column: 1 / -1;
    height: 168px;
    min-height: 168px;
  }

  .adventure__stills a {
    height: 112px;
  }

  .adv-albums {
    grid-template-columns: 1fr 1fr;
  }

  .adv-album--feature {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .adv-grid {
    grid-template-columns: 1fr 1fr;
  }

  .adv-card--video {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .adventure__brand {
    width: 100%;
  }

  .adventure__head p {
    display: none;
  }

  .adventure__stage {
    grid-template-rows: 148px 96px;
  }

  .adventure__film {
    height: 148px;
    min-height: 148px;
  }

  .adventure__stills a {
    height: 96px;
  }

  .adv-albums {
    grid-template-columns: 1fr;
  }

  .adv-album,
  .adv-album--feature {
    min-height: 260px;
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }

  .adv-card,
  .adv-card--video,
  .adv-card--square {
    grid-column: span 1;
    aspect-ratio: 4 / 5;
  }

  .adv-card--video {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adventure__stills img,
  .adv-card img,
  .adv-card video,
  .adv-album img {
    transition: none;
  }
}
