.brand-transmission,
.tongue-bell-transition,
.eleven-dimensions,
.systems-atlas,
.arcade-transition {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #020303;
  color: #f6e6bd;
  letter-spacing: 0;
}

.brand-transmission {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(28px, 4vw, 66px) 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, rgba(104, 243, 238, 0.09), transparent 38%),
    #020303;
  border-bottom: 1px solid rgba(104, 243, 238, 0.16);
}

.brand-transmission::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 4%;
  background: radial-gradient(ellipse, rgba(246, 212, 138, 0.12), transparent 62%);
  filter: blur(30px);
}

.brand-transmission::after {
  content: "";
  position: absolute;
  inset: auto 8vw 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 243, 238, 0.72), rgba(246, 212, 138, 0.86), transparent);
  box-shadow: 0 0 24px rgba(104, 243, 238, 0.44);
}

.brand-transmission-stage {
  position: relative;
  width: min(1600px, 96vw);
  aspect-ratio: 1672 / 944;
  isolation: isolate;
  background: #020303;
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.76));
}

.brand-transmission-stage video {
  position: absolute;
  z-index: 1;
  inset: 4.4% 4.7%;
  display: block;
  width: 90.6%;
  height: 91.2%;
  object-fit: cover;
  background: #020303;
}

.brand-transmission-glass {
  position: absolute;
  z-index: 2;
  inset: 5%;
  pointer-events: none;
  box-shadow:
    inset 0 0 54px rgba(0, 0, 0, 0.46),
    inset 0 0 10px rgba(104, 243, 238, 0.22);
  mix-blend-mode: screen;
}

.brand-transmission-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter:
    drop-shadow(0 0 14px rgba(246, 212, 138, 0.34))
    drop-shadow(0 0 24px rgba(104, 243, 238, 0.13));
  animation: brandFrameBreath 7s ease-in-out infinite alternate;
}

.tongue-bell-transition {
  display: block;
  min-height: 0;
  margin: -1px 0 0;
  padding: 0;
  isolation: isolate;
  line-height: 0;
}

.tongue-bell-transition::before {
  display: none;
}

.tongue-bell-stage {
  position: relative;
  width: min(1220px, 100%);
  aspect-ratio: 1926 / 1076;
  margin: 0 auto;
  background: #000;
  outline: none;
}

.tongue-bell-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.tongue-bell-stage.is-sounding {
  filter: drop-shadow(0 0 20px rgba(246, 212, 138, 0.16));
}

.eleven-dimensions {
  height: 100svh;
  min-height: 640px;
  isolation: isolate;
  background: #071012;
}

.eleven-dimensions-video,
.eleven-dimensions-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eleven-dimensions-video {
  z-index: -2;
  object-fit: cover;
  background: #071012;
}

.eleven-dimensions-vignette {
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 5, 8, 0.5), transparent 21%, transparent 76%, rgba(0, 3, 5, 0.72)),
    linear-gradient(90deg, rgba(0, 3, 5, 0.48), transparent 18%, transparent 82%, rgba(0, 3, 5, 0.48));
}

.eleven-dimensions-label {
  position: absolute;
  left: clamp(34px, 5vw, 88px);
  bottom: clamp(48px, 7vw, 96px);
  z-index: 3;
  display: grid;
  gap: 7px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.92);
}

.eleven-dimensions-label span {
  color: #8ff8f0;
  font: 600 11px/1.2 Arial, sans-serif;
  text-transform: uppercase;
}

.eleven-dimensions-label strong {
  color: #fff0c8;
  font: 400 clamp(32px, 5vw, 78px)/0.96 Georgia, serif;
  letter-spacing: 0;
}

.dimension-phrase {
  position: absolute;
  z-index: 4;
  display: block;
  height: 34px;
  overflow: hidden;
  color: rgba(255, 237, 191, 0.92);
  font: 600 11px/1 Arial, sans-serif;
  text-transform: uppercase;
  text-shadow: 0 0 13px rgba(104, 243, 238, 0.58);
  pointer-events: none;
}

.dimension-phrase::after {
  content: "";
  position: absolute;
  background: rgba(104, 243, 238, 0.5);
  box-shadow: 0 0 16px rgba(104, 243, 238, 0.5);
}

.dimension-phrase-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.dimension-phrase-track span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.dimension-phrase-top,
.dimension-phrase-bottom {
  left: 0;
  width: 100%;
}

.dimension-phrase-top {
  top: 0;
}

.dimension-phrase-bottom {
  bottom: 0;
}

.dimension-phrase-top::after,
.dimension-phrase-bottom::after {
  left: 0;
  width: 100%;
  height: 1px;
}

.dimension-phrase-top::after {
  bottom: 0;
}

.dimension-phrase-bottom::after {
  top: 0;
}

.dimension-phrase-top .dimension-phrase-track {
  animation: dimensionWalkLeft 19s linear infinite;
}

.dimension-phrase-bottom .dimension-phrase-track {
  animation: dimensionWalkRight 19s linear infinite;
}

.dimension-phrase-left,
.dimension-phrase-right {
  top: 50%;
  width: 100svh;
  transform-origin: center;
}

.dimension-phrase-left {
  left: 17px;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.dimension-phrase-right {
  left: calc(100% - 17px);
  transform: translate(-50%, -50%) rotate(90deg);
}

.dimension-phrase-left::after,
.dimension-phrase-right::after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
}

.dimension-phrase-right .dimension-phrase-track {
  animation: dimensionWalkLeft 19s linear infinite;
}

.dimension-phrase-left .dimension-phrase-track {
  animation: dimensionWalkRight 19s linear infinite;
}

.systems-atlas {
  min-height: 100svh;
  padding: clamp(72px, 8vw, 132px) 0 clamp(82px, 9vw, 150px);
  background:
    radial-gradient(circle at 50% 58%, rgba(72, 186, 194, 0.15), transparent 35%),
    #030607;
}

.systems-atlas-heading {
  width: min(1500px, 90vw);
  margin: 0 auto clamp(28px, 4vw, 58px);
  text-align: center;
}

.systems-atlas-heading span {
  display: block;
  margin-bottom: 10px;
  color: #76eee9;
  font: 600 11px/1.2 Arial, sans-serif;
  text-transform: uppercase;
}

.systems-atlas-heading h2 {
  margin: 0;
  color: #f4dfad;
  font: 400 clamp(34px, 5vw, 76px)/1 Georgia, serif;
  letter-spacing: 0;
}

.systems-atlas-stage {
  position: relative;
  width: min(1400px, 82vw);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: visible;
  perspective: 1200px;
}

.systems-atlas-screen {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background: #020506;
  border: 1px solid rgba(246, 212, 138, 0.76);
  box-shadow:
    0 0 0 6px rgba(3, 13, 15, 0.92),
    0 0 0 7px rgba(104, 243, 238, 0.3),
    0 36px 90px rgba(0, 0, 0, 0.72),
    0 0 62px rgba(104, 243, 238, 0.16);
}

.systems-atlas-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  transform: translate3d(108%, 0, -80px) rotateY(-7deg);
  transition: transform 1.15s cubic-bezier(0.22, 0.72, 0.12, 1), opacity 0.7s ease;
  pointer-events: none;
}

.systems-atlas-panel.is-active {
  z-index: 3;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(0);
}

.systems-atlas-panel.is-leaving {
  z-index: 2;
  opacity: 0;
  transform: translate3d(-108%, 0, -80px) rotateY(7deg);
}

.systems-atlas-panel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #030607;
}

.systems-atlas-glass {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  box-shadow: inset 0 0 72px rgba(0, 0, 0, 0.58), inset 0 0 12px rgba(156, 249, 241, 0.16);
}

.systems-atlas-index {
  position: absolute;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(18px, 3vw, 42px);
  z-index: 10;
  display: grid;
  gap: 3px;
  min-width: 104px;
  padding: 10px 14px;
  color: #f4dfad;
  background: rgba(0, 5, 7, 0.78);
  border: 1px solid rgba(246, 212, 138, 0.5);
  backdrop-filter: blur(8px);
}

.systems-atlas-index span {
  color: #68f3ee;
  font: 600 9px/1 Arial, sans-serif;
}

.systems-atlas-index strong {
  font: 500 16px/1.2 Arial, sans-serif;
}

.systems-atlas-frame {
  position: absolute;
  z-index: 8;
  inset: -10%;
  width: 120%;
  height: 120%;
  display: block;
  object-fit: fill;
  pointer-events: none;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.86))
    drop-shadow(0 0 14px rgba(104, 243, 238, 0.26))
    drop-shadow(0 0 12px rgba(239, 198, 111, 0.3));
  animation: atlasFrameResonance 6.8s ease-in-out infinite alternate;
}

.arcade-transition {
  display: grid;
  place-items: center;
  min-height: clamp(580px, 86vh, 940px);
  padding: clamp(48px, 7vw, 104px) 0;
  border-top: 1px solid rgba(246, 212, 138, 0.2);
  border-bottom: 1px solid rgba(104, 243, 238, 0.2);
}

.arcade-stage {
  position: relative;
  width: min(1120px, 82vw);
  aspect-ratio: 16 / 9;
  overflow: visible;
}

.arcade-screen {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background: #020303;
  border: 1px solid rgba(246, 212, 138, 0.72);
  box-shadow: 0 0 0 7px #060b0c, 0 0 0 8px rgba(104, 243, 238, 0.26), 0 28px 90px rgba(0, 0, 0, 0.78);
}

.arcade-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020303;
}

.arcade-scan {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(104, 243, 238, 0.12) 49%, transparent 52%);
  background-size: 100% 160px;
  animation: arcadeScan 6s linear infinite;
  mix-blend-mode: screen;
}

.arcade-mutation-frame {
  position: absolute;
  z-index: 4;
  inset: -17%;
  width: 134%;
  height: 134%;
  display: block;
  object-fit: fill;
  pointer-events: none;
  filter:
    drop-shadow(0 22px 30px rgba(0, 0, 0, 0.88))
    drop-shadow(-8px 0 16px rgba(36, 190, 255, 0.25))
    drop-shadow(8px 0 18px rgba(247, 55, 180, 0.28));
  animation: arcadeFramePulse 3.8s ease-in-out infinite alternate;
}

@keyframes dimensionWalkLeft {
  to { transform: translateX(-50%); }
}

@keyframes dimensionWalkRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes brandFrameBreath {
  from { opacity: 0.91; filter: drop-shadow(0 0 11px rgba(246, 212, 138, 0.26)) drop-shadow(0 0 18px rgba(104, 243, 238, 0.1)); }
  to { opacity: 1; filter: drop-shadow(0 0 18px rgba(246, 212, 138, 0.42)) drop-shadow(0 0 30px rgba(104, 243, 238, 0.18)); }
}

@keyframes arcadeScan {
  to { background-position: 0 160px; }
}

@keyframes atlasFrameResonance {
  from { filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.86)) drop-shadow(0 0 10px rgba(104, 243, 238, 0.2)) drop-shadow(0 0 8px rgba(239, 198, 111, 0.24)); }
  to { filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 20px rgba(104, 243, 238, 0.4)) drop-shadow(0 0 17px rgba(239, 198, 111, 0.42)); }
}

@keyframes arcadeFramePulse {
  from { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.88)) drop-shadow(-7px 0 12px rgba(36, 190, 255, 0.2)) drop-shadow(7px 0 14px rgba(247, 55, 180, 0.22)); }
  to { filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.94)) drop-shadow(-10px 0 23px rgba(36, 190, 255, 0.38)) drop-shadow(10px 0 25px rgba(247, 55, 180, 0.42)); }
}

@media (max-width: 760px) {
  .brand-transmission {
    min-height: 0;
    padding: 18px 0;
  }

  .tongue-bell-transition {
    min-height: 0;
  }

  .tongue-bell-stage {
    width: 100%;
    height: auto;
  }

  .eleven-dimensions {
    min-height: 620px;
  }

  .eleven-dimensions-label {
    left: 30px;
    bottom: 56px;
  }

  .eleven-dimensions-label strong {
    font-size: 42px;
  }

  .dimension-phrase {
    height: 28px;
    font-size: 9px;
  }

  .dimension-phrase-left {
    left: 14px;
  }

  .dimension-phrase-right {
    left: calc(100% - 14px);
  }

  .systems-atlas {
    min-height: 70svh;
    padding: 72px 0 92px;
  }

  .systems-atlas-stage {
    width: 90vw;
  }

  .systems-atlas-frame {
    inset: -5%;
    width: 110%;
    height: 110%;
  }

  .systems-atlas-index {
    right: 12px;
    bottom: 12px;
    min-width: 82px;
    padding: 7px 9px;
  }

  .arcade-transition {
    min-height: 520px;
    padding: 70px 0;
  }

  .arcade-stage {
    width: 90vw;
  }

  .arcade-mutation-frame {
    inset: -17%;
    width: 134%;
    height: 134%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dimension-phrase-track,
  .brand-transmission-frame,
  .arcade-scan,
  .systems-atlas-frame,
  .arcade-mutation-frame {
    animation: none;
  }

  .systems-atlas-panel {
    transition: none;
  }
}
