/* VRC Arese — temporary one-pager (missions only) */

.page-arese {
  --arese-ink: #12081f;
  --arese-mist: rgba(255, 255, 255, 0.88);
  --arese-glow: #9b6cff;
}

/*
 * Dropdown must escape the header paint/filter box.
 * backdrop-filter on .site-header creates a containing block that clips
 * absolute menus below the header height — looks like "behind the hero".
 */
.page-arese .site-header {
  z-index: 10000;
  overflow: visible;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-arese .site-header__inner,
.page-arese .site-header__brand,
.page-arese .location-selector {
  overflow: visible;
}

.page-arese .location-selector {
  z-index: 10001;
}

.page-arese .location-selector__menu {
  z-index: 10002;
  max-height: min(70vh, 28rem);
  overflow: auto;
}

.page-arese .arese-hero {
  z-index: 0;
  isolation: isolate;
}

.page-arese .site-nav a[href^="#"] {
  scroll-margin-top: calc(var(--header-height, 72px) + 12px);
}

/* —— Hero photo slideshow full-bleed —— */
.arese-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0415;
  color: #fff;
}

.arese-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.arese-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.arese-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.35s ease,
    transform 7.5s ease-out;
  will-change: opacity, transform;
}

.arese-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.arese-hero__slide.is-leaving {
  opacity: 0;
  transform: scale(1.04);
  z-index: 0;
}

.arese-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(8, 3, 18, 0.42) 0%,
      rgba(8, 3, 18, 0.22) 34%,
      rgba(8, 3, 18, 0.78) 68%,
      rgba(8, 3, 18, 0.96) 100%
    ),
    radial-gradient(circle at 72% 38%, rgba(125, 53, 232, 0.32), transparent 44%);
  pointer-events: none;
}

.arese-hero__inner {
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
  padding: clamp(6.5rem, 18vh, 9rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vh, 3.75rem);
  animation: areseHeroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.arese-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-medium, inherit);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d9c8ff;
}

.arese-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-bold, inherit);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  font-weight: 400;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.arese-hero__title-accent {
  color: var(--arese-glow);
}

.arese-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--arese-mist);
}

.arese-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.arese-hero__ghost,
.page-arese .btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.page-arese .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

@keyframes areseHeroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Strip —— */
.arese-strip {
  background: linear-gradient(90deg, #1a0b2e 0%, #2a1450 50%, #1a0b2e 100%);
  color: #efe8ff;
  border-block: 1px solid rgba(155, 108, 255, 0.25);
}

.arese-strip__list {
  list-style: none;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  max-width: 1440px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.arese-strip__list strong {
  color: #fff;
  font-family: var(--font-bold, inherit);
  font-weight: 400;
}

/* —— Sections —— */
.arese-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.arese-section__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.arese-section__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cta, #6225e6);
  font-family: var(--font-medium, inherit);
}

.arese-section__title {
  margin: 0 0 1rem;
  font-family: var(--font-bold, inherit);
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  line-height: 1.12;
  font-weight: 400;
  color: var(--arese-ink);
}

.arese-section__lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(18, 8, 31, 0.78);
}

.arese-missions {
  background:
    radial-gradient(circle at 12% 0%, rgba(155, 108, 255, 0.12), transparent 40%),
    #faf8ff;
}

.arese-missions__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.arese-arena {
  background: #fff;
}

.arese-arena__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.arese-arena__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.arese-arena__facts li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(18, 8, 31, 0.8);
}

.arese-arena__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-cta, #6225e6);
  box-shadow: 0 0 0 4px rgba(98, 37, 230, 0.12);
}

.arese-arena__figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 8, 31, 0.16);
}

.arese-arena__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.arese-gallery {
  background: #10081c;
  color: #fff;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.arese-gallery .arese-section__eyebrow {
  color: #cbb6ff;
}

.arese-gallery .arese-section__title {
  color: #fff;
}

.arese-gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.arese-gallery__grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  grid-column: span 2;
}

.arese-gallery__grid figure:nth-child(1),
.arese-gallery__grid figure:nth-child(2) {
  grid-column: span 3;
}

.arese-gallery__grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.7s ease;
}

.arese-gallery__grid figure:hover img {
  transform: scale(1.03);
}

.arese-place {
  background:
    linear-gradient(180deg, #f7f4ff 0%, #fff 55%);
}

.arese-place__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.arese-place__address {
  display: block;
  font-style: normal;
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--color-cta, #6225e6);
  background: rgba(98, 37, 230, 0.05);
  line-height: 1.55;
}

.arese-place__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.arese-place__actions .btn--ghost {
  color: var(--arese-ink);
  border-color: rgba(18, 8, 31, 0.18);
  background: #fff;
}

.arese-place__card {
  padding: 1.4rem 1.35rem;
  border-radius: 20px;
  background: linear-gradient(160deg, #2a1450 0%, #12081f 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(18, 8, 31, 0.22);
}

.arese-place__card-label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbb6ff;
}

.arese-place__card-text {
  margin: 0 0 1rem;
  line-height: 1.55;
  font-size: 1.05rem;
}

.arese-place__card-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.arese-cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(155, 108, 255, 0.35), transparent 40%),
    #160a28;
  color: #fff;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  text-align: center;
}

.arese-cta__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-bold, inherit);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
}

.arese-cta__lead {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
  .arese-strip__list {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .arese-arena__grid,
  .arese-place__grid {
    grid-template-columns: 1fr;
  }

  .arese-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .arese-gallery__grid figure,
  .arese-gallery__grid figure:nth-child(1),
  .arese-gallery__grid figure:nth-child(2) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .arese-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .arese-hero__actions .btn,
  .arese-hero__ghost {
    width: 100%;
  }

  .arese-gallery__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arese-hero__inner,
  .arese-gallery__grid img,
  .arese-hero__slide {
    animation: none;
    transition: none;
  }

  .arese-hero__slide {
    transform: none;
  }

  .arese-hero__slide:not(.is-active) {
    display: none;
  }
}
