/* Configurable review layer: visual scenes, language routes and system map. */

html[data-scene="midnight"] {
  --ink: #030914;
  --ink-soft: #08172a;
  --ink-blue: #0c2748;
  --gold: #dcb452;
  --gold-pale: #f4d98f;
  --cyan: #4dc9ed;
  --paper: #e8e4dc;
  --scene-grid: rgba(107, 164, 211, 0.055);
  --scene-signal: 220 180 82;
}

html[data-scene="gallery"] {
  --ink: #070706;
  --ink-soft: #12100d;
  --ink-blue: #1d160d;
  --gold: #ffb62e;
  --gold-pale: #ffd98a;
  --cyan: #d87918;
  --paper: #d9d4ca;
  --scene-grid: rgba(255, 182, 46, 0.055);
  --scene-signal: 255 182 46;
}

html[data-scene="aurora"] {
  --ink: #020a12;
  --ink-soft: #06192a;
  --ink-blue: #062944;
  --gold: #b8ff3d;
  --gold-pale: #ddff9c;
  --cyan: #00dff2;
  --paper: #dbe7e7;
  --scene-grid: rgba(0, 223, 242, 0.065);
  --scene-signal: 0 223 242;
}

body {
  transition: background-color 0.45s ease, color 0.45s ease;
}

body.skip-intro .intro {
  display: none;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(var(--scene-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--scene-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

html[data-scene="gallery"] .section-dark,
html[data-scene="gallery"] .universe {
  background-color: #0c0b09;
}

html[data-scene="gallery"] .hero-media img {
  filter: saturate(0.72) contrast(1.12) sepia(0.08);
}

html[data-scene="gallery"] .hero-shade {
  background:
    linear-gradient(180deg, rgba(7, 7, 6, 0.4), rgba(7, 7, 6, 0.14) 48%, rgba(7, 7, 6, 0.92)),
    linear-gradient(90deg, rgba(7, 7, 6, 0.9), transparent 58%);
}

html[data-scene="gallery"] .product-card::before,
html[data-scene="gallery"] .universe-panel::before {
  background: linear-gradient(135deg, rgba(255, 182, 46, 0.14), transparent 52%);
}

html[data-scene="aurora"] .section-dark,
html[data-scene="aurora"] .universe {
  background-color: #03111d;
}

html[data-scene="aurora"] .hero-media img {
  filter: saturate(1.18) hue-rotate(4deg) contrast(1.06);
}

html[data-scene="aurora"] .hero-shade {
  background:
    linear-gradient(180deg, rgba(2, 10, 18, 0.36), rgba(2, 10, 18, 0.08) 50%, rgba(2, 10, 18, 0.9)),
    linear-gradient(90deg, rgba(2, 10, 18, 0.88), transparent 62%);
}

.site-header.is-scrolled,
.mobile-menu,
.scene-panel,
.language-panel {
  background-color: color-mix(in srgb, var(--ink) 94%, transparent);
}

.scene-control,
.language-control {
  position: relative;
}

.scene-trigger {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-dark);
  color: rgba(248, 245, 239, 0.7);
  background: rgba(3, 9, 20, 0.2);
  cursor: pointer;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.scene-trigger:hover,
.scene-control.is-open .scene-trigger {
  border-color: rgb(var(--scene-signal) / 0.55);
  background: rgb(var(--scene-signal) / 0.08);
}

.scene-trigger b {
  color: var(--gold-pale);
  font-weight: 600;
}

.scene-grid-icon {
  display: grid;
  grid-template-columns: repeat(2, 3px);
  gap: 2px;
}

.scene-grid-icon i {
  display: block;
  width: 3px;
  height: 3px;
  background: currentColor;
}

.scene-panel,
.language-panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  width: min(21rem, calc(100vw - 2rem));
  padding: 0.85rem;
  border: 1px solid rgb(var(--scene-signal) / 0.35);
  background: rgba(3, 9, 20, 0.96);
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scene-control.is-open .scene-panel,
.language-control.is-open .language-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scene-panel > p,
.language-panel > span {
  display: block;
  margin: 0;
  padding: 0.55rem 0.65rem 0.85rem;
  color: rgba(248, 245, 239, 0.42);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.scene-panel button,
.language-panel a {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.75rem 0.65rem;
  border: 0;
  border-top: 1px solid var(--line-dark);
  color: rgba(248, 245, 239, 0.72);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease;
}

.scene-panel button:hover,
.scene-panel button[aria-pressed="true"],
.language-panel a:hover,
.language-panel a[aria-current="page"] {
  color: var(--white);
  background: rgb(var(--scene-signal) / 0.08);
}

.scene-panel button > span,
.language-panel a > i {
  color: var(--gold);
  font-size: 0.53rem;
  font-style: normal;
  letter-spacing: 0.12em;
}

.scene-panel button strong {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-panel button > i {
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.scene-panel button[aria-pressed="true"] > i {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 1rem rgb(var(--scene-signal) / 0.7);
}

.mark-review {
  margin-top: 0.85rem;
  padding: 0.8rem 0.65rem 0.25rem;
  border-top: 1px solid rgb(var(--scene-signal) / 0.28);
}

.mark-review > span {
  color: rgba(248, 245, 239, 0.42);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.mark-review > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.mark-review button {
  display: block;
  min-height: 2.4rem;
  padding: 0.55rem;
  border: 1px solid var(--line-dark);
  color: rgba(248, 245, 239, 0.55);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.mark-review button[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold-pale);
}

html[data-mark="type"] :is(
  .wordmark img,
  .brand-map-core img,
  .contact-mark,
  .club-badge img,
  .intro img
) {
  display: none;
}

html[data-mark="type"] .brand-map-core {
  padding: 1rem;
  text-align: center;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 3.3rem;
}

.language-toggle i {
  color: var(--gold);
  font-size: 0.72rem;
  font-style: normal;
}

.language-panel {
  width: 14rem;
}

.language-panel a {
  grid-template-columns: 1fr auto;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.55fr);
  grid-template-rows: 1fr auto;
  gap: 2.5rem clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.hero-copy {
  align-self: end;
  padding-bottom: clamp(1rem, 3vh, 3rem);
}

.hero-title {
  width: auto;
  font-size: clamp(5.2rem, 12vw, 12rem);
  line-height: 0.76;
}

.title-star {
  margin-left: clamp(1.6rem, 6vw, 7rem);
  font-size: 0.72em;
  white-space: nowrap;
}

html[data-lang="zh"] .title-star {
  font-size: 0.86em;
}

.hero-signature {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 2rem 0 0 clamp(1.8rem, 6vw, 7rem);
  color: var(--gold-pale);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.36em;
}

.hero-signature span {
  font-size: 0.42rem;
}

.hero-system {
  align-self: center;
  padding: 1.2rem 0;
  border-top: 1px solid rgb(var(--scene-signal) / 0.45);
  border-bottom: 1px solid var(--line-dark);
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: transform 0.16s ease-out;
}

.hero-system-label {
  color: var(--gold-pale);
  font-size: 0.53rem;
  letter-spacing: 0.16em;
}

.hero-system-line {
  height: 1px;
  margin: 1.1rem 0 0.2rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-system ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-system li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.7rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(248, 245, 239, 0.08);
}

.hero-system li:last-child {
  border-bottom: 0;
}

.hero-system li span {
  color: var(--gold);
  font-size: 0.52rem;
}

.hero-system li b {
  color: rgba(248, 245, 239, 0.68);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.hero-bottom {
  grid-column: 1 / -1;
  width: min(68rem, 78%);
  margin-top: 0;
}

.brand-map {
  --map-x: 0px;
  --map-y: 0px;
  position: relative;
  min-height: clamp(32rem, 58vw, 48rem);
  margin: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 50% 50%, rgb(var(--scene-signal) / 0.08), transparent 34rem),
    rgba(255, 255, 255, 0.012);
}

.brand-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--scene-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--scene-grid) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle, black 20%, transparent 76%);
}

.brand-map-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(8rem, 13vw, 11rem);
  height: clamp(8rem, 13vw, 11rem);
  border: 1px solid rgb(var(--scene-signal) / 0.65);
  border-radius: 50%;
  background: rgba(3, 9, 20, 0.78);
  box-shadow:
    0 0 0 1.4rem rgb(var(--scene-signal) / 0.025),
    0 0 5rem rgb(var(--scene-signal) / 0.13);
  transform: translate(calc(-50% + var(--map-x)), calc(-50% + var(--map-y)));
  transition: transform 0.18s ease-out, border-color 0.35s ease;
}

.brand-map-core img {
  width: 3.8rem;
  height: 3.8rem;
  object-fit: contain;
}

.brand-map-core span {
  color: var(--gold-pale);
  font-size: 0.5rem;
  letter-spacing: 0.19em;
}

.brand-map-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(var(--scene-signal) / 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
}

.brand-map .orbit-a {
  width: min(64vw, 58rem);
  height: min(29vw, 21rem);
}

.brand-map .orbit-b {
  width: min(46vw, 41rem);
  height: min(46vw, 41rem);
  border-color: rgba(77, 201, 237, 0.2);
  transform: translate(-50%, -50%) rotate(36deg) scaleY(0.58);
}

.brand-node {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.3rem 0.55rem;
  transform: translate3d(calc(var(--map-x) * -0.5), calc(var(--map-y) * -0.5), 0);
  transition: transform 0.2s ease-out;
}

.brand-node i {
  grid-row: 1 / 3;
  align-self: center;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 1.1rem rgb(var(--scene-signal) / 0.85);
}

.brand-node span {
  color: var(--gold);
  font-size: 0.48rem;
}

.brand-node b {
  color: rgba(248, 245, 239, 0.7);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.node-origin { top: 21%; left: 18%; }
.node-design { top: 25%; right: 17%; }
.node-play { top: 64%; left: 12%; }
.node-culture { right: 11%; bottom: 22%; }
.node-world { left: 47%; bottom: 9%; }

.brand-map > p {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 31rem;
  margin: 0;
  color: rgba(248, 245, 239, 0.45);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.universe-panel,
.value-strip article,
.product-card,
.club-tiers article,
.partner-list article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.universe-panel::after,
.value-strip article::after,
.product-card::after,
.club-tiers article::after,
.partner-list article::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    22rem circle at var(--surface-x, 50%) var(--surface-y, 50%),
    rgb(var(--scene-signal) / 0.13),
    transparent 68%
  );
  transition: opacity 0.25s ease;
}

.universe-panel:hover::after,
.value-strip article:hover::after,
.product-card:hover::after,
.club-tiers article:hover::after,
.partner-list article:hover::after {
  opacity: 1;
}

@media (max-width: 1260px) {
  .scene-trigger > span:not(.scene-grid-icon) {
    display: none;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.4fr);
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .scene-trigger > span:not(.scene-grid-icon),
  .scene-trigger b {
    display: none;
  }

  .scene-trigger {
    min-width: 2.5rem;
    justify-content: center;
  }

  .hero-content {
    display: flex;
    justify-content: flex-end;
    padding-top: 8rem;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(4.4rem, 16vw, 8rem);
  }

  .hero-system {
    display: none;
  }

  .hero-bottom {
    width: 100%;
  }

  .brand-map {
    min-height: 34rem;
  }

  .brand-map .orbit-a {
    width: 56rem;
    height: 20rem;
  }

  .brand-map .orbit-b {
    width: 38rem;
    height: 38rem;
  }

  .node-origin { left: 5%; }
  .node-design { right: 5%; }
  .node-play { left: 4%; }
  .node-culture { right: 3%; }
}

@media (max-width: 560px) {
  .scene-panel,
  .language-panel {
    position: fixed;
    top: 4.8rem;
    right: 1rem;
  }

  .scene-panel {
    left: 1rem;
    width: auto;
  }

  .hero-title {
    font-size: clamp(3.7rem, 17.5vw, 5.4rem);
  }

  html[data-lang="id"] .hero-title {
    font-size: clamp(3.2rem, 15vw, 4.7rem);
  }

  .title-star,
  .hero-signature {
    margin-left: 0;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
  }

  .circle-link {
    width: 6.4rem;
    height: 6.4rem;
  }

  .brand-map {
    min-height: 31rem;
    margin-left: calc(var(--space) * -1);
    margin-right: calc(var(--space) * -1);
  }

  .brand-map-core {
    width: 7.2rem;
    height: 7.2rem;
  }

  .brand-map-core img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .brand-node b {
    max-width: 8rem;
    font-size: 0.46rem;
  }

  .node-world {
    left: 36%;
  }
}

/* ── Review 03: each scene now owns a complete page dialect ─────────────── */

.scene-transition {
  position: fixed;
  z-index: 180;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 0.18s ease,
    transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

.scene-transition.is-active {
  opacity: 1;
  transform: translateY(0);
}

.scene-transition span {
  position: relative;
  z-index: 2;
  font-family: "Playfair Display", "Songti SC", serif;
  font-size: clamp(2.6rem, 8vw, 8rem);
  letter-spacing: -0.04em;
}

.scene-transition i {
  position: absolute;
  width: min(58vw, 44rem);
  aspect-ratio: 1;
  border: 1px solid rgb(var(--scene-signal) / 0.55);
  border-radius: 50%;
  box-shadow: 0 0 7rem rgb(var(--scene-signal) / 0.16);
}

.scene-transition[data-scene-transition="gallery"] {
  background:
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 9px),
    #090806;
}

.scene-transition[data-scene-transition="gallery"] span {
  font-family: "Manrope", "PingFang SC", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.scene-transition[data-scene-transition="gallery"] i {
  width: 70vw;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  box-shadow: 0 1rem 4rem rgb(var(--scene-signal) / 0.3);
  transform: rotate(-8deg);
}

.scene-transition[data-scene-transition="aurora"] {
  background:
    linear-gradient(rgba(0, 223, 242, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 223, 242, 0.07) 1px, transparent 1px),
    #020a12;
  background-size: 42px 42px;
}

.scene-transition[data-scene-transition="aurora"] span {
  font-family: "Manrope", "PingFang SC", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 0 2.5rem rgb(var(--scene-signal) / 0.42);
}

.scene-transition[data-scene-transition="aurora"] i {
  width: 86vw;
  height: 34vh;
  border-radius: 0;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

html.is-scene-switching main {
  filter: blur(8px);
  transform: scale(0.99);
}

main {
  transition: filter 0.3s ease, transform 0.3s ease;
}

.scene-panel button[data-scene-option]::before {
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0;
  width: 2px;
  content: "";
  opacity: 0.38;
}

.scene-panel button[data-scene-option="midnight"]::before {
  background: linear-gradient(#f4d98f, #164d7e);
}

.scene-panel button[data-scene-option="gallery"]::before {
  background: linear-gradient(#ffb62e, #2a2115);
}

.scene-panel button[data-scene-option="aurora"]::before {
  background: linear-gradient(#b8ff3d, #00dff2);
}

/* 01 / Midnight precision — celestial instruments and quiet depth. */

html[data-scene="midnight"] body {
  background:
    radial-gradient(circle at 12% 24%, rgba(30, 76, 124, 0.24), transparent 25rem),
    radial-gradient(circle at 82% 64%, rgba(220, 180, 82, 0.08), transparent 30rem),
    #030914;
}

html[data-scene="midnight"] body::after {
  position: fixed;
  z-index: 12;
  right: 0.65rem;
  bottom: 7rem;
  content: "MIDNIGHT PRECISION / 01";
  color: rgba(244, 217, 143, 0.35);
  font-size: 0.47rem;
  letter-spacing: 0.24em;
  pointer-events: none;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

html[data-scene="midnight"] .site-header {
  border-bottom-color: rgba(220, 180, 82, 0.14);
}

html[data-scene="midnight"] .section:not(.collector, .contact) {
  box-shadow:
    inset 1px 0 rgba(107, 164, 211, 0.1),
    inset -1px 0 rgba(107, 164, 211, 0.1);
}

html[data-scene="midnight"] .section-index {
  display: flex;
  align-items: center;
  gap: 1rem;
}

html[data-scene="midnight"] .section-index::after {
  width: clamp(3rem, 12vw, 10rem);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgb(var(--scene-signal) / 0.55), transparent);
}

html[data-scene="midnight"] .value-strip {
  gap: 0.9rem;
  border: 0;
}

html[data-scene="midnight"] .value-strip article {
  min-height: 22rem;
  padding: 2rem;
  border: 1px solid rgba(107, 164, 211, 0.17);
  border-radius: 12rem 12rem 1rem 1rem;
  background:
    radial-gradient(circle at 50% 18%, rgba(220, 180, 82, 0.11), transparent 28%),
    rgba(8, 23, 42, 0.72);
  text-align: center;
}

html[data-scene="midnight"] .value-strip article::before {
  display: block;
  width: 3.7rem;
  height: 3.7rem;
  margin: 1.1rem auto 0;
  border: 1px solid rgba(220, 180, 82, 0.38);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 0.55rem rgba(220, 180, 82, 0.025),
    0 0 2rem rgba(220, 180, 82, 0.08);
}

html[data-scene="midnight"] .value-strip h3 {
  margin-top: 3.2rem;
}

html[data-scene="midnight"] .value-strip p {
  margin-inline: auto;
}

html[data-scene="midnight"] .universe-panels {
  gap: 1.2rem;
  border: 0;
  background: transparent;
}

html[data-scene="midnight"] .universe-panel {
  border: 1px solid rgba(107, 164, 211, 0.17);
  background:
    linear-gradient(155deg, rgba(220, 180, 82, 0.07), transparent 38%),
    rgba(8, 23, 42, 0.8);
}

html[data-scene="midnight"] .langit-panel {
  border-radius: 16rem 1rem 1rem;
}

html[data-scene="midnight"] .star-panel {
  border-radius: 1rem 16rem 1rem 1rem;
}

html[data-scene="midnight"] .product-rail {
  gap: 1.8rem;
}

html[data-scene="midnight"] .product-card {
  border: 1px solid rgba(107, 164, 211, 0.18);
  border-radius: 16rem 16rem 1rem 1rem;
  background: rgba(8, 23, 42, 0.78);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.22);
}

html[data-scene="midnight"] .product-card::before {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 1.5rem var(--gold);
  content: "";
  transform: translateX(-50%);
}

html[data-scene="midnight"] .craft-image {
  border-radius: 14rem 14rem 0 0;
}

html[data-scene="midnight"] .club-visual {
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
}

html[data-scene="midnight"] .club-tiers {
  gap: 1.2rem;
  border: 0;
  background: transparent;
}

html[data-scene="midnight"] .club-tiers article {
  border: 1px solid rgba(107, 164, 211, 0.16);
  border-radius: 10rem 10rem 0.8rem 0.8rem;
  background: rgba(8, 23, 42, 0.68);
  text-align: center;
}

html[data-scene="midnight"] .club-tiers p {
  margin-inline: auto;
}

html[data-scene="midnight"] .partner-list article {
  background:
    linear-gradient(90deg, rgba(220, 180, 82, 0.05), transparent 42%);
}

/* 02 / Carbon gold — editorial showroom, hard edges and asymmetry. */

html[data-scene="gallery"] body {
  background:
    repeating-linear-gradient(128deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 8px),
    #070706;
}

html[data-scene="gallery"] body::before {
  background-image:
    repeating-linear-gradient(128deg, rgba(255, 182, 46, 0.045) 0 1px, transparent 1px 11px);
  background-size: auto;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

html[data-scene="gallery"] body::after {
  position: fixed;
  z-index: 12;
  right: 0;
  bottom: 0;
  padding: 0.55rem 1rem;
  content: "CARBON / GOLD / EDITION 02";
  color: #070706;
  background: var(--gold);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  pointer-events: none;
}

html[data-scene="gallery"] :is(.manifesto, .collections, .craft, .partnerships) {
  color: #0c0b09;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.28), transparent 32%),
    #d9d4ca;
}

html[data-scene="gallery"] :is(.manifesto, .collections, .craft, .partnerships) :is(.section-index, .lead, .eyebrow, .drag-hint) {
  color: rgba(12, 11, 9, 0.6);
}

html[data-scene="gallery"] .display-copy,
html[data-scene="gallery"] .hero-title,
html[data-scene="gallery"] .contact-title {
  font-family: "Manrope", "PingFang SC", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

html[data-scene="gallery"] .hero-title {
  line-height: 0.7;
}

html[data-scene="gallery"] .hero-media {
  right: -8vw;
  left: 34vw;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

html[data-scene="gallery"] .hero-content {
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.42fr);
}

html[data-scene="gallery"] .hero-system {
  padding: 1.3rem;
  border: 1px solid rgba(255, 182, 46, 0.55);
  background: rgba(7, 7, 6, 0.76);
  clip-path: polygon(0 0, 94% 0, 100% 12%, 100% 100%, 6% 100%, 0 88%);
}

html[data-scene="gallery"] .section {
  position: relative;
}

html[data-scene="gallery"] .section-index {
  position: absolute;
  z-index: 4;
  top: var(--section-space);
  left: 0.8rem;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

html[data-scene="gallery"] .manifesto-grid {
  grid-template-columns: 1fr 2.4fr;
}

html[data-scene="gallery"] .value-strip {
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  border: 0;
}

html[data-scene="gallery"] .value-strip article {
  min-height: 15rem;
  padding: 1.6rem;
  border: 1px solid rgba(12, 11, 9, 0.24);
  background: transparent;
}

html[data-scene="gallery"] .value-strip article:nth-child(1) { grid-column: 1 / 5; }
html[data-scene="gallery"] .value-strip article:nth-child(2) { grid-column: 5 / 9; margin-top: 4rem; }
html[data-scene="gallery"] .value-strip article:nth-child(3) { grid-column: 9 / 13; }
html[data-scene="gallery"] .value-strip article:nth-child(4) { grid-column: 3 / 10; min-height: 11rem; }

html[data-scene="gallery"] .value-strip h3 {
  margin-top: 3.4rem;
  font-family: "Manrope", "PingFang SC", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

html[data-scene="gallery"] .value-strip p {
  color: rgba(12, 11, 9, 0.62);
}

html[data-scene="gallery"] .brand-map {
  border: 1px solid rgba(255, 182, 46, 0.35);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

html[data-scene="gallery"] .brand-map-core {
  border-radius: 0;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

html[data-scene="gallery"] .universe-panels {
  gap: 1.4rem;
  border: 0;
  background: transparent;
}

html[data-scene="gallery"] .universe-panel {
  border-top: 0.45rem solid var(--gold);
  background:
    repeating-linear-gradient(128deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 8px),
    #12100d;
  clip-path: polygon(0 0, 93% 0, 100% 8%, 100% 100%, 7% 100%, 0 92%);
}

html[data-scene="gallery"] .product-rail {
  grid-auto-columns: minmax(20rem, 32vw);
  gap: 2rem;
}

html[data-scene="gallery"] .product-card {
  border: 1px solid rgba(12, 11, 9, 0.2);
  background: #0b0a08;
  clip-path: polygon(0 0, 92% 0, 100% 7%, 100% 100%, 8% 100%, 0 93%);
  box-shadow: 1rem 1rem 0 rgba(255, 182, 46, 0.12);
}

html[data-scene="gallery"] .product-card:nth-child(even) {
  margin-top: 3.5rem;
  margin-bottom: -3.5rem;
}

html[data-scene="gallery"] .product-meta h3 {
  font-family: "Manrope", sans-serif;
  font-style: italic;
  font-weight: 700;
}

html[data-scene="gallery"] .craft-gallery {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.3rem;
}

html[data-scene="gallery"] .craft-large {
  grid-row: 1 / 3;
  transform: translateY(2rem);
}

html[data-scene="gallery"] .craft-image {
  border: 1px solid rgba(12, 11, 9, 0.2);
  clip-path: polygon(0 0, 96% 0, 100% 8%, 100% 100%, 4% 100%, 0 92%);
}

html[data-scene="gallery"] .collector {
  grid-template-columns: 1.25fr 0.75fr;
  border-top: 0.45rem solid var(--gold);
}

html[data-scene="gallery"] .club-visual {
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

html[data-scene="gallery"] .club-tiers {
  gap: 1rem;
  border: 0;
  background: transparent;
}

html[data-scene="gallery"] .club-tiers article {
  border: 1px solid rgba(255, 182, 46, 0.23);
  background: rgba(255, 182, 46, 0.035);
  clip-path: polygon(0 0, 94% 0, 100% 9%, 100% 100%, 6% 100%, 0 91%);
}

html[data-scene="gallery"] .partner-list {
  border-top: 0.35rem solid #0c0b09;
}

html[data-scene="gallery"] .partner-list article {
  min-height: 7.4rem;
  align-items: center;
  border-bottom-width: 2px;
}

html[data-scene="gallery"] .partner-list h3 {
  font-family: "Manrope", "PingFang SC", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

/* 03 / Electric court — future sport HUD, telemetry and cut geometry. */

html[data-scene="aurora"] body {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 223, 242, 0.18), transparent 27rem),
    radial-gradient(circle at 10% 70%, rgba(184, 255, 61, 0.08), transparent 30rem),
    #020a12;
}

html[data-scene="aurora"] body::before {
  background-image:
    linear-gradient(rgba(0, 223, 242, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 223, 242, 0.075) 1px, transparent 1px);
  background-size: 36px 36px;
}

html[data-scene="aurora"] body::after {
  position: fixed;
  z-index: 12;
  right: 1rem;
  bottom: 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(0, 223, 242, 0.45);
  content: "LIVE / COURT SYSTEM / 03";
  color: var(--cyan);
  background: rgba(2, 10, 18, 0.8);
  box-shadow: 0 0 2rem rgba(0, 223, 242, 0.12);
  font-size: 0.48rem;
  letter-spacing: 0.16em;
  pointer-events: none;
}

html[data-scene="aurora"] :is(.section-light, .partnerships) {
  color: #eafcff;
  background:
    linear-gradient(90deg, rgba(0, 223, 242, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 223, 242, 0.035) 1px, transparent 1px),
    #041522;
  background-size: 36px 36px;
}

html[data-scene="aurora"] :is(.section-light, .partnerships) :is(.section-index, .lead, .partner-list p) {
  color: rgba(234, 252, 255, 0.62);
}

html[data-scene="aurora"] .site-header {
  border-bottom-color: rgba(0, 223, 242, 0.25);
}

html[data-scene="aurora"] .display-copy,
html[data-scene="aurora"] .hero-title,
html[data-scene="aurora"] .contact-title {
  font-family: "Manrope", "PingFang SC", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

html[data-scene="aurora"] .hero-media {
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 6% 100%);
}

html[data-scene="aurora"] .hero-system {
  padding: 1.2rem;
  border: 1px solid rgba(0, 223, 242, 0.42);
  background:
    linear-gradient(135deg, rgba(0, 223, 242, 0.08), transparent 45%),
    rgba(2, 10, 18, 0.65);
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 8% 100%, 0 88%);
}

html[data-scene="aurora"] .hero-system-line {
  background: linear-gradient(90deg, var(--cyan), var(--gold), transparent);
}

html[data-scene="aurora"] .hero-orbit {
  border-color: rgba(0, 223, 242, 0.44);
  box-shadow: 0 0 3rem rgba(0, 223, 242, 0.08);
}

html[data-scene="aurora"] .section {
  border-top: 1px solid rgba(0, 223, 242, 0.15);
}

html[data-scene="aurora"] .section-index {
  display: inline-flex;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(0, 223, 242, 0.3);
  color: var(--cyan);
  background: rgba(0, 223, 242, 0.035);
  clip-path: polygon(0 0, 92% 0, 100% 28%, 100% 100%, 8% 100%, 0 72%);
}

html[data-scene="aurora"] .value-strip {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border: 0;
}

html[data-scene="aurora"] .value-strip article {
  min-height: 14rem;
  padding: 1.8rem;
  border: 1px solid rgba(0, 223, 242, 0.24);
  background:
    linear-gradient(135deg, rgba(0, 223, 242, 0.08), transparent 42%),
    rgba(6, 25, 42, 0.82);
  clip-path: polygon(0 0, 94% 0, 100% 14%, 100% 100%, 6% 100%, 0 86%);
}

html[data-scene="aurora"] .value-strip h3 {
  margin-top: 2.7rem;
  font-family: "Manrope", sans-serif;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}

html[data-scene="aurora"] .brand-map {
  border: 1px solid rgba(0, 223, 242, 0.27);
  background:
    linear-gradient(rgba(0, 223, 242, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 223, 242, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(0, 223, 242, 0.13), transparent 32rem);
  background-size: 28px 28px, 28px 28px, auto;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

html[data-scene="aurora"] .brand-map-core {
  border-radius: 0;
  background: rgba(2, 10, 18, 0.88);
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}

html[data-scene="aurora"] .brand-node i {
  border-radius: 0;
  transform: rotate(45deg);
}

html[data-scene="aurora"] .universe-panels {
  gap: 1rem;
  border: 0;
  background: transparent;
}

html[data-scene="aurora"] .universe-panel {
  border: 1px solid rgba(0, 223, 242, 0.24);
  background:
    linear-gradient(145deg, rgba(0, 223, 242, 0.1), transparent 42%),
    #06192a;
  clip-path: polygon(0 0, 91% 0, 100% 10%, 100% 100%, 9% 100%, 0 90%);
}

html[data-scene="aurora"] .panel-tags span {
  border-color: rgba(0, 223, 242, 0.36);
  color: var(--cyan);
  background: rgba(0, 223, 242, 0.04);
}

html[data-scene="aurora"] .product-rail {
  gap: 1rem;
}

html[data-scene="aurora"] .product-card {
  border: 1px solid rgba(0, 223, 242, 0.28);
  background: #06192a;
  clip-path: polygon(0 0, 91% 0, 100% 8%, 100% 100%, 9% 100%, 0 92%);
}

html[data-scene="aurora"] .product-card:nth-child(even) {
  margin-top: 2.2rem;
}

html[data-scene="aurora"] .product-card::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 1.5rem var(--cyan);
  animation: court-scan 3.8s linear infinite;
}

html[data-scene="aurora"] .product-meta {
  background: linear-gradient(transparent, rgba(2, 10, 18, 0.98));
}

html[data-scene="aurora"] .craft-gallery {
  gap: 1rem;
}

html[data-scene="aurora"] .craft-image {
  border: 1px solid rgba(0, 223, 242, 0.24);
  clip-path: polygon(0 0, 94% 0, 100% 10%, 100% 100%, 6% 100%, 0 90%);
}

html[data-scene="aurora"] .collector {
  border-top: 1px solid rgba(0, 223, 242, 0.32);
  background:
    linear-gradient(115deg, rgba(0, 223, 242, 0.1), transparent 36%),
    #020a12;
}

html[data-scene="aurora"] .club-visual {
  border: 1px solid rgba(0, 223, 242, 0.3);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

html[data-scene="aurora"] .club-tiers {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border: 0;
  background: transparent;
}

html[data-scene="aurora"] .club-tiers article {
  border: 1px solid rgba(0, 223, 242, 0.22);
  background: rgba(0, 223, 242, 0.035);
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 8% 100%, 0 88%);
}

html[data-scene="aurora"] .partner-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  border: 0;
}

html[data-scene="aurora"] .partner-list article {
  grid-template-columns: 2rem 1fr auto;
  min-height: 11rem;
  padding: 1.3rem;
  border: 1px solid rgba(0, 223, 242, 0.23);
  background: rgba(0, 223, 242, 0.035);
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 8% 100%, 0 88%);
}

html[data-scene="aurora"] .partner-list h3 {
  font-family: "Manrope", sans-serif;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}

html[data-scene="aurora"] .partner-list b {
  color: var(--cyan);
}

html[data-scene="aurora"] .contact::after {
  position: absolute;
  inset: 8% 6%;
  border: 1px solid rgba(0, 223, 242, 0.2);
  content: "";
  pointer-events: none;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

@keyframes court-scan {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  75% { opacity: 0.75; }
  100% { transform: translateY(38rem); opacity: 0; }
}

@media (max-width: 980px) {
  html[data-scene="gallery"] .hero-media,
  html[data-scene="aurora"] .hero-media {
    right: 0;
    left: 0;
    clip-path: none;
  }

  html[data-scene="gallery"] .section-index {
    position: static;
    margin-bottom: clamp(4rem, 8vw, 7rem);
    writing-mode: initial;
    transform: none;
  }

  html[data-scene="gallery"] .value-strip article:nth-child(n) {
    grid-column: span 6;
    margin-top: 0;
  }

  html[data-scene="aurora"] .club-tiers {
    grid-template-columns: 1fr;
  }

  html[data-scene="aurora"] .partner-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  html[data-scene] body::after {
    display: none;
  }

  html[data-scene="midnight"] .value-strip,
  html[data-scene="aurora"] .value-strip {
    grid-template-columns: 1fr;
  }

  html[data-scene="midnight"] .value-strip article {
    min-height: 18rem;
    border-radius: 10rem 10rem 0.8rem 0.8rem;
  }

  html[data-scene="midnight"] :is(.langit-panel, .star-panel) {
    border-radius: 8rem 0.8rem 0.8rem;
  }

  html[data-scene="gallery"] .value-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  html[data-scene="gallery"] .value-strip article:nth-child(n) {
    grid-column: 1;
  }

  html[data-scene="gallery"] .product-card:nth-child(even),
  html[data-scene="aurora"] .product-card:nth-child(even) {
    margin-top: 0;
    margin-bottom: 0;
  }

  html[data-scene="gallery"] .craft-gallery {
    display: grid;
    grid-template-columns: 1fr;
  }

  html[data-scene="gallery"] .craft-large {
    grid-row: auto;
    transform: none;
  }

  html[data-scene="gallery"] .collector {
    grid-template-columns: 1fr;
  }

  .scene-transition span {
    padding: 1rem;
    font-size: clamp(2.3rem, 13vw, 4rem);
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-transition {
    display: none;
  }

  html[data-scene="aurora"] .product-card::before {
    animation: none;
  }
}

/* Contrast corrections for scene-owned light/dark section changes. */

html[data-scene="midnight"] .partnerships {
  color: var(--white);
  background:
    radial-gradient(circle at 8% 42%, rgba(220, 180, 82, 0.08), transparent 26rem),
    #08172a;
}

html[data-scene="midnight"] .partnerships .section-index,
html[data-scene="midnight"] .partner-list p {
  color: rgba(248, 245, 239, 0.55);
}

html[data-scene="midnight"] .partner-list,
html[data-scene="midnight"] .partner-list article {
  border-color: rgba(107, 164, 211, 0.18);
}

html[data-scene="gallery"] .sport-switch,
html[data-scene="gallery"] .sport-intro {
  border-color: rgba(12, 11, 9, 0.22);
}

html[data-scene="gallery"] .sport-switch button {
  color: rgba(12, 11, 9, 0.42);
}

html[data-scene="gallery"] .sport-switch button[aria-selected="true"],
html[data-scene="gallery"] .sport-stat span {
  color: #8d5800;
}

html[data-scene="gallery"] .sport-intro > p,
html[data-scene="gallery"] .sport-stat small {
  color: rgba(12, 11, 9, 0.58);
}

html[data-scene="aurora"] .capability-line {
  color: rgba(234, 252, 255, 0.58);
}

html[data-scene="aurora"] .capability-line i {
  background: rgba(0, 223, 242, 0.24);
}
