@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800&display=swap");

:root {
  --bg: #02070f;
  --text: #eef4ff;
  --muted: #c0d2e8;
  --accent: #ffffff;
  --page-padding-x: clamp(1.75rem, 4vw, 3.5rem);
  --page-padding-y: clamp(1.75rem, 4vw, 3.5rem);
  --drop-shadow-strong: 0 12px 24px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
}

.p-link {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #67d9e8;
  border-bottom: 1px solid rgba(103, 217, 232, 0.75);
  padding-bottom: 0.1em;
}

/* Global chapter geometry for mockup-like full panels */
.chapter-section,
.hero {
  position: relative;
  min-height: 98vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.chapter-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 98vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vw;
  text-align: center;
  opacity: 0.66;
  transform: translateY(24px);
  transition: opacity 760ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.chapter-section.is-visible .chapter-content {
  opacity: 1;
  transform: translateY(0);
}

/* Targeted chapter blends: chapter1->2 and chapter2->3 */
#journey::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(80px, 14vh, 170px);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    #000 100%
  );
  pointer-events: none;
  z-index: 1;
}

#chapter2::before,
#chapter3::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: clamp(54px, 10vh, 120px);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 46%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

#chapter2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(54px, 10vh, 120px);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.32) 54%,
    rgba(0, 0, 0, 0.78) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.chapter-title,
.chapter-rhythms-heading,
.sonic-waves-heading,
.chapter3-heading {
  margin: 0;
  line-height: 1.2;
  font-size: clamp(1.45rem, 2.8vw, 3rem);
  font-weight: 300;
  text-wrap: balance;
}

.sonic-emphasis {
  font-weight: 700;
  color: #fff;
}

/* Right rail: mute above FT partner mark */
.side-ft-rail {
  position: fixed;
  right: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.85rem, 2.2vh, 1.35rem);
  opacity: 0.95;
}

.side-ft-logo {
  position: static;
  transform: none;
}

.side-ft-logo-img {
  width: 30px;
  height: auto;
  display: block;
}

.audio-mute-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  border-radius: 50%;
  transition: opacity 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.audio-mute-btn:hover {
  opacity: 0.88;
}

.audio-mute-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.audio-mute-btn:active {
  transform: scale(0.94);
}

.audio-mute-btn__svg {
  display: block;
}

.audio-mute-btn__x {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.audio-mute-btn.is-muted .audio-mute-btn__columns {
  opacity: 0.45;
}

.audio-mute-btn.is-muted .audio-mute-btn__x {
  opacity: 1;
}

.mobile-top-ui {
  display: none;
}

/* Hero */
.hero {
  min-height: 94vh;
  padding: var(--page-padding-y) var(--page-padding-x);
  display: flex;
  flex-direction: column;
  background: #01060f;
}

.hero-bg-video,
.chapter2-bg-video,
.chapter3-bg-video,
.chapter-rhythms-bg-video,
.chapter-jelly-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-jelly-bg-video {
  /* Softens top and lower edges for smoother section transitions */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 12%,
    rgba(0, 0, 0, 1) 24%,
    rgba(0, 0, 0, 1) 72%,
    rgba(0, 0, 0, 0.45) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 12%,
    rgba(0, 0, 0, 1) 24%,
    rgba(0, 0, 0, 1) 72%,
    rgba(0, 0, 0, 0.45) 88%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.4), transparent 50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26vh;
}

.hero-logo-img {
  max-width: min(260px, 40vw);
  height: auto;
  display: block;
  filter: drop-shadow(var(--drop-shadow-strong));
}

.hero-event-meta {
  color: #fff;
  font-size: clamp(0.75rem, 1.6vw, 1.9rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.9;
  align-self: center;
  margin-top: 20vh;
  text-align: center;
}

.hero-event-meta p {
  margin: 0;
}

.hero-event-meta sup {
  font-size: 0.45em;
  top: -0.4em;
}

.hero-event-meta .p-link {
  color: #67d9e8;
  font-size: clamp(0.85rem, 2.2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: inline-block;
  border-bottom: 1px solid rgba(103, 217, 232, 0.9);
  padding-bottom: 0.15em;
}

/* Landscape hero: place metadata at bottom-left like the mockup */
@media (orientation: landscape) and (min-width: 900px) {
  .hero {
    padding-bottom: clamp(2rem, 5vh, 3.25rem);
  }

  .hero-inner {
    grid-template-rows: 1fr auto;
  }

  .hero-event-meta {
    align-self: end;
    justify-self: start;
    margin-top: 28vh;
    margin-left: clamp(1rem, 2.5vw, 2.5rem);
    margin-bottom: clamp(0.75rem, 2.5vh, 1.6rem);
    text-align: left;
    font-size: clamp(0.95rem, 1.6vw, 1.4rem);
    letter-spacing: 0.05em;
  }
}

.p-link:hover {
  color: #8ceaf4;
  border-bottom-color: #8ceaf4;
}

/* Chapter 1 – sonic waves (cinematic ripple + heading reveal) */
.chapter2-backdrop,
.chapter3-backdrop,
.chapter-jelly-backdrop {
  position: absolute;
  inset: 0;
}

.sonic-waves-section.chapter-section {
  min-height: 100vh;
  padding: var(--page-padding-y) var(--page-padding-x);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000000;
}

.sonic-waves-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

#sonic-waves-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#chapter2-dust-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.sonic-waves-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(4, 16, 32, 0.95), transparent 65%);
  pointer-events: none;
}

.sonic-waves-section .sonic-waves-content.chapter-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(880px, 90vw);
  min-height: unset;
  height: auto;
  padding: 0;
  flex: 0 1 auto;
}

.sonic-waves-heading {
  opacity: 0;
  transform: translateY(15px);
  filter: blur(10px);
  animation: sonic-heading-in 2.6s ease-out 420ms forwards;
  white-space: normal;
}

.sonic-waves-heading .sonic-emphasis {
  font-weight: 600;
}

@media (min-width: 1025px) {
  .sonic-waves-heading {
    white-space: nowrap;
    animation: none;
  }

  .sonic-waves-section.is-inview .sonic-waves-heading {
    animation: sonic-heading-in 2.6s ease-out 420ms forwards;
  }
}

@keyframes sonic-heading-in {
  0% {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}



/* Chapter 2 */
.chapter2-section {
  min-height: 60vh;
  background: #000;
}

.chapter2-mist {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 85, 119, 0.28) 0%, rgba(2, 10, 22, 0.4) 42%, rgba(0, 0, 0, 0.9) 100%);
}

.chapter2-content {
  flex-direction: column;
}

/* Chapter 2: match global chapter fade (backdrop + copy use same is-visible gate) */
.chapter2-section .chapter2-backdrop {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease;
  will-change: opacity;
}

.chapter2-section.is-visible .chapter2-backdrop {
  opacity: 1;
  transform: none;
}

/* Chapter 3 */
.chapter3-section {
  min-height: 64vh;
}

.chapter3-section .chapter3-backdrop {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease;
  will-change: opacity;
}

.chapter3-section.is-visible .chapter3-backdrop {
  opacity: 1;
  transform: none;
}

.chapter3-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 7, 15, 0.2) 0%, rgba(2, 7, 15, 0.62) 42%, rgba(0, 0, 0, 0.82) 100%);
}

/* Rhythms (stingray-style panel — text only, no jellyfish) */
.chapter-rhythms-section {
  min-height: 72vh;
  background: #000;
}

.chapter-rhythms-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(18, 52, 82, 0.55) 0%, rgba(0, 3, 10, 0.96) 55%, #000 100%);
  /* Soft fade on top (from chapter 3) and bottom (into chapter-jelly) */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 12%,
    rgba(0, 0, 0, 1) 24%,
    rgba(0, 0, 0, 1) 74%,
    rgba(0, 0, 0, 0.45) 89%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 12%,
    rgba(0, 0, 0, 1) 24%,
    rgba(0, 0, 0, 1) 74%,
    rgba(0, 0, 0, 0.45) 89%,
    rgba(0, 0, 0, 0) 100%
  );
}

.chapter-rhythms-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 7, 18, 0.32) 0%, rgba(0, 0, 0, 0.52) 46%, rgba(0, 0, 0, 0.76) 100%);
  pointer-events: none;
}

.chapter-rhythms-backdrop::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -18%;
  width: 58%;
  height: 55%;
  background: radial-gradient(ellipse 80% 60% at 40% 60%, rgba(25, 55, 78, 0.35), transparent 70%);
  pointer-events: none;
  opacity: 0.55;
}

.chapter-rhythms-stingray {
  position: absolute;
  left: 50%;
  top: 66%;
  width: min(46vw, 480px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.chapter-rhythms-stingray-img {
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0.82) contrast(0.92);
  transform-origin: center center;
}

.chapter-rhythms-content {
  position: relative;
  align-items: center;
  justify-content: center;
}

.chapter-rhythms-heading {
  font-weight: 300;
  color: #fff;
}

.chapter-rhythms-cta {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 4.5vh, 3rem);
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  z-index: 3;
}

/* Jellyfish + manifesto (mockup: copy over video, bottom-centered) */
.chapter-jelly-section {
  background: #000;
}

.chapter-jelly-video-section {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.chapter-jelly-artists-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.6rem, 4vh, 3rem);
  padding: clamp(2rem, 7vh, 5rem) var(--page-padding-x) clamp(2rem, 8vh, 5rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 1) 100%);
}

.chapter-jelly-artists-top {
  width: 100%;
  max-width: min(1220px, 96vw);
  height: clamp(42px, 8vh, 92px);
  /*background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.06) 35%,
    rgba(255, 255, 255, 0) 100%
  );*/
  opacity: 0.34;
  pointer-events: none;
}

.chapter-jelly-artists-grid {
  width: 100%;
  max-width: min(1220px, 96vw);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 2rem);
  align-items: end;
}

.jelly-artist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.35rem, 1.2vh, 0.9rem);
  --artist-base-offset: 0px;
  opacity: 0;
  transform: translateY(calc(40px + var(--artist-base-offset)));
  transition: opacity 700ms ease, transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.jelly-artist-card.is-revealed {
  opacity: 1;
  transform: translateY(var(--artist-base-offset));
}

.jelly-artist-card:nth-child(1) {
  --artist-base-offset: 14px;
}

.jelly-artist-card:nth-child(2) {
  --artist-base-offset: -18px;
}

.jelly-artist-card:nth-child(3) {
  --artist-base-offset: 26px;
}

.jelly-artist-card:nth-child(4) {
  --artist-base-offset: -10px;
}

.jelly-artist-name,
.jelly-artist-photo {
  display: block;
  width: 100%;
  height: auto;
}

.jelly-artist-name {
  width: min(100%, 220px);
}

.jelly-artist-photo {
  width: min(100%, 225px);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
  transform: translate3d(0, var(--artist-photo-shift, 0px), 0);
  transition: transform 160ms linear;
  will-change: transform;
}

.jelly-artist-card:nth-child(2) .jelly-artist-name,
.jelly-artist-card:nth-child(4) .jelly-artist-name {
  order: 2;
}

.jelly-artist-card:nth-child(2) .jelly-artist-photo,
.jelly-artist-card:nth-child(4) .jelly-artist-photo {
  order: 1;
}

.chapter-jelly-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(89, 142, 176, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(0, 5, 12, 0.06) 0%, rgba(0, 2, 8, 0.66) 65%, #000 100%);
}

.mission-jelly-inner {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 100%;
  margin-top: clamp(0.5rem, 2.5vh, 3.2rem);
  margin-bottom: 0;
  max-width: 900px;
  font-size: clamp(0.7rem, 0.9vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.7;
  opacity: 0.75;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-inline: var(--page-padding-x);
}

.mission-jelly-inner p {
  margin: 0;
}

.mission-jelly-inner .p-link {
  font-size: inherit;
}

/* Footer */
footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: clamp(2.5rem, 4vh, 3rem);
  padding-bottom: clamp(1.1rem, 3vh, 1.2rem);
  background-color: #000;
  background-image: linear-gradient(
      to bottom,
      #000000 0%,
      rgba(0, 0, 0, 0.9) 18%,
      rgba(0, 0, 0, 0.6) 38%,
      rgba(0, 0, 0, 0.3) 60%,
      rgba(0, 0, 0, 0) 85%
    ),
    url("../media/images/footer_image.png");
  background-size: cover, cover;
  background-position: top center, center;
  background-repeat: no-repeat, no-repeat;
  min-height: 480px;
}

.footer-logo-img {
  display: block;
  height: auto;
}

.footer-logo-desktop {
  width: auto;
}

.footer-logo-mobile {
  display: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0.85;
}

.brand-mark span {
  white-space: nowrap;
}

.contact {
  text-align: center;
}

.contact div {
  font-size: inherit;
}

.contact a {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 0.15em;
}

.contact a:hover {
  border-color: #ffffff;
}

.footer-credit {
  font-size: clamp(0.62rem, 0.85vw, 0.72rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
  color: #d9e7f7;
  text-align: center;
  white-space: nowrap;
}

.footer-ft-logo {
  display: none;
}

.footer-ft-logo p {
  margin: 0 0 0.35rem;
}

.footer-ft-logo-img {
  display: block;
  height: auto;
  opacity: 0.85;
}

/* Mobile (aligned to v2-0 responsive behavior) */
@media (max-width: 768px) {
  .mobile-top-ui {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    pointer-events: none;
  }

  .mobile-scroll-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .mobile-scroll-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #67d9e8 0%, #ffffff 100%);
    transition: width 120ms linear;
  }

  .mobile-menu-toggle {
    position: absolute;
    top: 0.55rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-toggle span {
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mobile-top-ui.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-top-ui.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .mobile-top-ui.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu-panel {
    position: absolute;
    top: 3.4rem;
    right: 0.75rem;
    min-width: 210px;
    background: rgba(0, 8, 20, 0.9);
    border: 0px solid transparent;
    border-radius: 12px;
    padding: 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    overflow: hidden;
  }

  .mobile-menu-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(103, 217, 232, 0.35) 38%,
      rgba(255, 255, 255, 0.22) 70%,
      rgba(255, 255, 255, 0.45) 100%
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    filter: blur(1.1px);
    opacity: 0.9;
    pointer-events: none;
  }

  .mobile-menu-panel[hidden] {
    display: none !important;
  }

  .mobile-audio-mute-btn {
    width: auto;
    min-width: 112px;
    height: 16px;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 0.45rem;
    padding: 0 0.2rem 0 0;
  }

  .mobile-audio-mute-btn .audio-mute-btn__label {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
  }

  .mobile-audio-mute-btn .audio-mute-btn__svg {
    margin-bottom: -1px;
  }

  .mobile-menu-link {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: #67d9e8;
    text-transform: uppercase;
  }

  .mobile-menu-ft-link {
    display: inline-flex;
    align-items: center;
  }

  .mobile-menu-ft-logo {
    width: auto;
    max-height: 28px;
    max-width: 132px;
    display: block;
    opacity: 0.95;
  }

  .chapter-jelly-bg-video {
    object-position: 72% center;
  }

  .chapter-rhythms-bg-video {
    object-position: 78% center;
  }

  .chapter-jelly-video-section {
    min-height: 78vh;
  }

  .chapter-jelly-artists-section {
    min-height: auto;
    padding-top: clamp(2.2rem, 8vh, 3.5rem);
    padding-bottom: clamp(2.2rem, 8vh, 3.5rem);
    gap: 1.25rem;
  }

  .chapter-jelly-artists-top {
    max-width: 100%;
    height: 34px;
  }

  .chapter-jelly-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 0.75rem;
    max-width: 560px;
  }

  .jelly-artist-name {
    width: min(100%, 170px);
  }

  .jelly-artist-photo {
    width: min(100%, 170px);
  }

  .jelly-artist-card:nth-child(1) {
    --artist-base-offset: 8px;
  }

  .jelly-artist-card:nth-child(2) {
    --artist-base-offset: -8px;
  }

  .jelly-artist-card:nth-child(3) {
    --artist-base-offset: 14px;
  }

  .jelly-artist-card:nth-child(4) {
    --artist-base-offset: -4px;
  }

  .chapter-content {
    opacity: 0.8;
    transform: translateY(16px);
    transition: opacity 480ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .chapter2-section .chapter2-backdrop {
    opacity: 1;
    transform: none;
    transition: opacity 320ms ease;
  }

  .chapter3-section .chapter3-backdrop {
    opacity: 1;
    transform: none;
    transition: opacity 320ms ease;
  }

  .side-ft-rail {
    display: none;
  }

  .side-ft-logo-img {
    width: auto;
    max-height: 130px;
  }

  .hero {
    padding: 1.5rem 1.5rem;
  }

  .hero,
  .hero-inner {
    min-height: 80vh;
  }

  .hero-inner {
    padding: 0;
  }

  .hero-logo {
    margin-top: 18vh;
  }

  .hero-event-meta {
    margin-top: 32vh;
    font-size: 0.9rem;
    text-align: center;
  }

  .sonic-waves-section.chapter-section {
    min-height: 100vh;
    padding-top: clamp(3rem, 14vh, 5rem);
    padding-bottom: clamp(3rem, 14vh, 5rem);
  }

  .sonic-waves-section .sonic-waves-content.chapter-content {
    min-height: unset;
    padding: 0;
  }

  .chapter-content {
    padding: 1rem 1.25rem;
  }

  .chapter-title,
  .chapter-rhythms-heading,
  .sonic-waves-heading,
  .chapter3-heading {
    font-size: clamp(1.05rem, 5.2vw, 1.45rem);
  }

  .sonic-waves-heading {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .chapter-rhythms-stingray {
    display: none;
  }

  .mission-jelly-inner {
    max-width: 90vw;
    padding-inline: var(--page-padding-x);
    padding-top: clamp(1rem, 4vh, 2rem);
    margin-top: 0.2rem;
  }

  .mission-jelly-inner p {
    margin: 0;
  }

  .mission-jelly-inner .p-link {
    font-size: inherit;
  }

  footer {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 4.25rem;
    min-height: 360px;
    padding-left: var(--page-padding-x);
    padding-right: var(--page-padding-x);
  }

  .brand-mark {
    margin-left: 0;
    justify-content: center;
  }

  .footer-logo-desktop {
    display: none;
  }

  .footer-logo-mobile {
    display: block;
    max-height: 220px;
    max-width: min(220px, 55vw);
  }

  .contact {
    text-align: center;
    margin-right: 0;
  }

  .contact div,
  .contact a {
    font-size: inherit;
  }

  .footer-credit {
    white-space: normal;
    line-height: 1.4;
  }

  .footer-ft-logo {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
  }

  .footer-ft-logo-img {
    max-height: 80px;
    max-width: 140px;
    transform: none;
  }
}

/* Large portrait hero – match v2-0 poster placement */
@media (min-width: 720px) and (max-aspect-ratio: 3/4) {
  .hero {
    padding-bottom: clamp(2.5rem, 8vh, 4rem);
  }

  .hero-inner {
    grid-template-rows: 1fr auto;
  }

  .hero-event-meta {
    align-self: end;
    justify-self: flex-start;
    margin-top: 0;
    margin-bottom: clamp(2.25rem, 7vh, 3.25rem);
    text-align: left;
    font-size: clamp(0.85rem, 1.3vw, 1.1rem);
  }
}

@media (max-width: 480px) {
  .mobile-menu-panel {
    right: 0.6rem;
    min-width: 190px;
  }

  :root {
    --page-padding-x: 1.25rem;
    --page-padding-y: 1.5rem;
  }

  .hero-logo-img {
    max-width: 200px;
  }

  .chapter-title,
  .chapter-rhythms-heading,
  .sonic-waves-heading,
  .chapter3-heading {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    letter-spacing: 0.08em;
  }

  .mission-jelly-inner {
    font-size: 0.75rem;
    padding-inline: 1.5rem;
    padding-top: 1.25rem;
    line-height: 1.65;
  }

  footer {
    min-height: 320px;
    padding-top: clamp(2rem, 4vh, 2.5rem);
    padding-bottom: clamp(1rem, 2vh, 1.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chapter-content {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .chapter2-section .chapter2-backdrop {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .chapter3-section .chapter3-backdrop {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .jelly-artist-card {
    opacity: 1;
    transform: none;
    transition: none;
    --artist-base-offset: 0px;
  }

  .jelly-artist-photo {
    transform: none;
    transition: none;
  }
}

@media (max-width: 360px) {
  :root {
    --page-padding-x: 1rem;
    --page-padding-y: 1.25rem;
  }

  .hero-logo-img {
    max-width: 180px;
  }

  .mission-jelly-inner {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding-top: 1rem;
  }
}
