.gallery-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12), transparent 28%),
    #000;
}

.gallery-shell {
  min-height: 100svh;
  display: grid;
  align-content: center;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 90px 0;
}

.gallery-shell h1 {
  max-width: 820px;
}

.gallery-shell p:last-child {
  max-width: 620px;
}

.back-link {
  width: fit-content;
  margin-bottom: 42px;
  color: var(--silver);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  pointer-events: none;
}

.gallery-header .brand-mark,
.gallery-header .back-link {
  pointer-events: auto;
}

.gallery-header .back-link {
  margin: 0;
}

.corporate-detail-page .gallery-header .brand-mark {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.corporate-detail-page.detail-logo-visible .gallery-header .brand-mark {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.experience-index-page {
  overflow-x: hidden;
}

.experience-index-shell {
  position: relative;
  min-height: 100svh;
  padding: clamp(110px, 12vw, 150px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
}

.experience-index-shell .section-heading {
  width: min(820px, calc(100% - 96px));
  margin: 0 auto clamp(34px, 5vw, 62px);
  text-align: center;
}

.experience-index-shell .section-heading h1 {
  max-width: 100%;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 0.92;
  overflow-wrap: normal;
  word-break: normal;
}

.experience-index-page .carousel {
  width: min(1380px, calc(100% - 48px));
  min-height: auto;
}

.experience-index-page .carousel-stage {
  width: min(1120px, 86vw);
  height: clamp(580px, 72vh, 780px);
}

.experience-index-page .experience-card {
  grid-template-rows: minmax(250px, 42%) minmax(0, 58%);
}

.experience-index-page .experience-card img,
.experience-index-page .experience-card video {
  min-height: 0;
  filter: saturate(0.95) contrast(1.08) brightness(0.78);
}

.experience-index-page .shows-live-card img {
  object-position: 52% 34%;
}

.experience-index-page .immersive-card img {
  object-position: 50% 38%;
}

.experience-index-page .infantiles-card img {
  object-position: 38% 50%;
}

.infantiles-feli-card img {
  object-position: 42% 50%;
}

.infantiles-zoom-card img {
  transform: scale(1.12);
  object-position: 50% 40%;
}

.immersive-grupal-card img {
  object-position: 50% 38%;
}

.immersive-bella-card img {
  object-position: 50% 34%;
}

.immersive-rapunzel-card img {
  object-position: 50% 31%;
}

.immersive-duende-card img {
  object-position: 50% 34%;
}

.immersive-grinch-card img {
  object-position: 50% 24%;
}

.immersive-elsa-card img {
  object-position: 50% 28%;
}

.experience-index-page .card-copy {
  min-height: 0;
  padding: clamp(22px, 3.4vw, 40px);
  overflow: visible;
}

.experience-index-page .card-copy h2 {
  margin: 8px 0 10px;
  max-width: 820px;
  font-size: clamp(38px, 5.5vw, 74px);
  line-height: 0.92;
  text-transform: uppercase;
}

.experience-index-page .card-copy p {
  max-width: 680px;
  margin-bottom: 16px;
}

.experience-index-page .carousel-arrow.prev {
  left: clamp(4px, 3vw, 52px);
}

.experience-index-page .carousel-arrow.next {
  right: clamp(4px, 3vw, 52px);
}

.experience-index-page .carousel-dots {
  justify-content: center;
}

@media (max-width: 760px) {
  .gallery-header {
    padding: 18px;
  }

  .experience-index-page .carousel {
    width: min(100% - 28px, 1280px);
  }

  .experience-index-page .carousel-stage {
    width: 100%;
    height: min(680px, 74svh);
  }

  .experience-index-page .experience-card {
    grid-template-rows: minmax(210px, 38%) minmax(0, 62%);
  }

  .experience-index-page .card-copy {
    padding: 24px;
  }

  .experience-index-page .card-copy h2 {
    font-size: clamp(30px, 9vw, 48px);
  }

  .experience-index-page .carousel-arrow {
    top: auto;
    bottom: -70px;
    transform: none;
  }

  .experience-index-page .carousel-arrow.prev {
    left: calc(50% - 66px);
  }

  .experience-index-page .carousel-arrow.next {
    right: calc(50% - 66px);
  }

  .experience-index-page .carousel-dots {
    margin-top: 88px;
  }
}

.detail-page {
  background: #000;
}

.detail-shell {
  min-height: 100svh;
  padding-bottom: clamp(70px, 8vw, 120px);
}

.detail-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 58%, rgba(0, 0, 0, 0.34));
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.72);
}

.immersive-detail-hero > img {
  object-position: 50% 43%;
}

.detail-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 42px));
  margin: 0 auto;
  padding: 0 0 clamp(70px, 10vw, 130px);
}

.detail-hero-copy h1 {
  max-width: min(980px, 100%);
  margin-bottom: 18px;
  font-size: clamp(48px, 7.8vw, 108px);
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.detail-hero-copy p:last-child {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.detail-content {
  width: min(1120px, calc(100% - 42px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

.detail-content h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 82px);
}

.detail-content > p {
  margin: 0;
  align-self: end;
}

.detail-gallery {
  width: min(1280px, calc(100% - 42px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-gallery figure {
  min-height: clamp(340px, 38vw, 560px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070707;
}

.detail-gallery img,
.detail-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08) brightness(0.78);
  transition: transform 700ms ease, filter 700ms ease;
}

.detail-gallery figure:hover img,
.detail-gallery figure:hover video {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.1) brightness(0.92);
}

.detail-gallery + .detail-gallery {
  margin-top: 12px;
}

.media-placeholder {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    #070707;
}

.media-placeholder::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
  .detail-content,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery figure {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .detail-hero {
    min-height: 86svh;
  }

  .detail-hero-copy {
    width: calc(100% - 28px);
    padding-bottom: 58px;
  }

  .detail-content {
    width: calc(100% - 28px);
    padding: 58px 0;
    gap: 28px;
  }

  .detail-gallery {
    width: calc(100% - 28px);
    gap: 10px;
  }

  .detail-gallery figure {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
}

/* Mobile polish for launch */
@media (max-width: 760px) {
  .gallery-page {
    overflow-x: hidden;
  }

  .gallery-header {
    padding: 16px;
  }

  .gallery-header .brand-mark {
    width: clamp(112px, 30vw, 142px);
  }

  .back-link {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .experience-index-shell {
    min-height: 100svh;
    padding: 94px 0 84px;
  }

  .experience-index-shell .section-heading {
    width: calc(100% - 28px);
    margin-bottom: 24px;
  }

  .experience-index-shell .section-heading h1 {
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 0.92;
    overflow-wrap: normal;
    word-break: normal;
  }

  .experience-index-page .carousel-stage {
    width: 100%;
    height: min(620px, 72svh);
    min-height: 520px;
  }

  .experience-index-page .experience-card {
    grid-template-rows: minmax(210px, 42%) minmax(0, 58%);
  }

  .experience-index-page .card-copy {
    display: grid;
    align-content: center;
    padding: 22px 18px;
  }

  .experience-index-page .card-copy h2 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 8.6vw, 38px);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  .experience-index-page .card-copy p {
    max-width: 32ch;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.55;
  }

  .experience-index-page .card-copy a {
    width: fit-content;
    min-height: 36px;
  }

  .detail-hero {
    min-height: 82svh;
  }

  .detail-hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.78)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18));
  }

  .detail-hero-copy {
    width: calc(100% - 28px);
    padding-bottom: 44px;
  }

  .detail-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(34px, 13vw, 52px);
    line-height: 0.9;
    overflow-wrap: normal;
    word-break: normal;
  }

  .detail-hero-copy p:last-child {
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.6;
  }

  .detail-content {
    width: calc(100% - 28px);
    padding: 56px 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-content h2 {
    font-size: clamp(34px, 13vw, 58px);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .detail-content > p {
    font-size: 14px;
    line-height: 1.7;
  }

  .detail-gallery {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-gallery figure {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 420px) {
  .experience-index-page .carousel-stage {
    height: min(600px, 76svh);
    min-height: 500px;
  }

  .experience-index-page .card-copy h2 {
    font-size: clamp(25px, 8.5vw, 34px);
  }

  .detail-hero-copy h1 {
    font-size: clamp(32px, 12.5vw, 48px);
  }
}
