    :root {
      --cream-bg: #f3ead8;
      --maroon-deep: #4a0b21;
      --emerald-deep: #073b27;
      --emerald-mid: #0b5d3b;
      --gold-light: #ffe28a;
      --gold-mid: #f4c44e;
      --gold-deep: #d49b27;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
      background-color: #350717;
      color: #1c1917;
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      -webkit-font-smoothing: antialiased;
      user-select: none;
      touch-action: none;
    }

    .font-royal {
      font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    }

    .font-serif-display {
      font-family: 'Playfair Display', Georgia, serif;
    }

    .font-editorial-nums {
      font-family: 'Playfair Display', Georgia, serif;
      font-variant-numeric: lining-nums proportional-nums;
      font-feature-settings: "lnum" 1, "pnum" 1;
    }

    .font-hud {
      font-family: 'Inter', system-ui, sans-serif;
    }

    /* =========================================
       3D STAGE & LAYERS
       ========================================= */
    #stage-viewport {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      perspective: 1400px;
      perspective-origin: 50% 50%;
      z-index: 10;
    }

    #camera-rig {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      will-change: transform;
    }

    .scene-layer {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      will-change: transform, opacity;
      pointer-events: none;
    }

    .paper-grain {
      background-color: var(--cream-bg);
      background-image:
        radial-gradient(rgba(92, 68, 42, 0.065) 1px, transparent 0),
        radial-gradient(rgba(92, 68, 42, 0.04) 1px, transparent 0);
      background-size: 24px 24px;
      background-position: 0 0, 12px 12px;
    }

    /* Royal Maroon Seigaiha Pattern */
    .seigaiha-bg {
      background-color: #4a0b21;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23731736' stroke-width='1.15' opacity='0.65'%3E%3Ccircle cx='40' cy='40' r='36'/%3E%3Ccircle cx='40' cy='40' r='28'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Ccircle cx='0' cy='40' r='36'/%3E%3Ccircle cx='0' cy='40' r='28'/%3E%3Ccircle cx='0' cy='40' r='20'/%3E%3Ccircle cx='0' cy='40' r='12'/%3E%3Ccircle cx='80' cy='40' r='36'/%3E%3Ccircle cx='80' cy='40' r='28'/%3E%3Ccircle cx='80' cy='40' r='20'/%3E%3Ccircle cx='80' cy='40' r='12'/%3E%3Ccircle cx='20' cy='20' r='36'/%3E%3Ccircle cx='20' cy='20' r='28'/%3E%3Ccircle cx='20' cy='20' r='20'/%3E%3Ccircle cx='20' cy='20' r='12'/%3E%3Ccircle cx='60' cy='20' r='36'/%3E%3Ccircle cx='60' cy='20' r='28'/%3E%3Ccircle cx='60' cy='20' r='20'/%3E%3Ccircle cx='60' cy='20' r='12'/%3E%3C/g%3E%3C/svg%3E");
      backface-visibility: hidden;
      transform: translateZ(0);
    }

    /* =========================================
       SCENE 0: 3D LAPTOP KEYBOARD INTRO
       ========================================= */
    #intro-overlay {
      position: fixed;
      inset: 0;
      z-index: 100;
      background: radial-gradient(circle at 50% 45%, #242935 0%, #101218 78%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      perspective: 1200px;
      overflow: hidden;
      transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #intro-overlay.zoom-out {
      pointer-events: none;
    }

    #laptop-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      transform-style: preserve-3d;
      will-change: transform, opacity;
      backface-visibility: hidden;
      transform: rotateX(13deg) scale(1);
      transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.75s ease;
    }

    #intro-overlay.zoom-out #laptop-wrapper {
      transform: rotateX(0deg) scale(2.85) translateZ(360px);
      opacity: 0;
    }

    #laptop-chassis {
      width: min(94vw, 840px);
      background: linear-gradient(165deg, #2d323e 0%, #1c2028 48%, #13161d 100%);
      border-radius: clamp(14px, 2.5vw, 22px);
      padding: clamp(10px, 2.3vw, 24px);
      box-shadow:
        0 35px 85px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(255, 255, 255, 0.14),
        inset 0 -2px 6px rgba(0, 0, 0, 0.65);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Tiny USB dongle on the right edge */
    .usb-dongle {
      width: clamp(12px, 1.5vw, 18px);
      height: clamp(22px, 2.8vw, 32px);
      background: linear-gradient(90deg, #1b1e24, #2f3542, #181a20);
      border-radius: 0 5px 5px 0;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-left: none;
      box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.6);
      margin-left: -2px;
      position: relative;
    }

    .usb-dongle::after {
      content: '';
      position: absolute;
      right: 3px;
      top: 50%;
      transform: translateY(-50%);
      width: 3px;
      height: 8px;
      border-radius: 2px;
      background: rgba(56, 189, 248, 0.7);
      box-shadow: 0 0 6px rgba(56, 189, 248, 0.9);
    }

    .vent-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      height: clamp(18px, 3vw, 32px);
      margin-bottom: clamp(10px, 1.7vw, 16px);
      padding: 0 6px;
      overflow: hidden;
    }

    .vent-slot {
      flex: 1;
      height: 100%;
      background: #0b0d11;
      transform: skewX(-28deg);
      border-radius: 2px;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9);
    }

    .keyboard-well {
      background: #0f1116;
      border-radius: 12px;
      padding: clamp(6px, 1vw, 11px);
      box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.85);
      display: flex;
      flex-direction: column;
      gap: clamp(4px, 0.6vw, 7px);
    }

    .kb-row {
      display: flex;
      gap: clamp(4px, 0.6vw, 7px);
      width: 100%;
    }

    .keycap {
      position: relative;
      height: clamp(22px, 4.2vw, 42px);
      flex: 1;
      background: linear-gradient(180deg, #252932 0%, #1b1e26 100%);
      border-radius: clamp(4px, 0.8vw, 6px);
      border: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow:
        0 3px 0 #0b0d11,
        0 4px 6px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: clamp(7px, 1.3vw, 13px);
      font-weight: 600;
      color: rgba(255, 255, 255, 0.12);
      transition: transform 0.14s ease, color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
    }

    .keycap.shimmer {
      color: #ffffff;
      background: linear-gradient(180deg, #323743 0%, #222630 100%);
      border-color: rgba(255, 255, 255, 0.85);
      box-shadow:
        0 2px 0 #0b0d11,
        0 0 14px rgba(255, 255, 255, 0.4),
        inset 0 0 6px rgba(255, 255, 255, 0.2);
      transform: translateY(1px);
    }

    .keycap.locked-word {
      font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
      font-size: clamp(10px, 1.8vw, 18px);
      font-weight: 800;
      color: #ffffff;
      background: linear-gradient(180deg, #282d39 0%, #16181f 100%);
      border: 1.5px solid #ffffff;
      box-shadow:
        0 2px 0 #0b0d11,
        0 0 18px rgba(255, 255, 255, 0.72),
        0 0 30px rgba(244, 196, 78, 0.4),
        0 0 42px rgba(56, 189, 248, 0.28),
        inset 0 0 10px rgba(255, 255, 255, 0.24);
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
      transform: translateY(2px);
    }

    .keycap.pulse-hit {
      transform: translateY(3px) scale(0.95);
    }

    .trackpad {
      width: 34%;
      height: clamp(24px, 3.8vw, 42px);
      margin: clamp(10px, 1.5vw, 15px) auto 0;
      border-radius: 10px;
      background: linear-gradient(180deg, #1e2129, #181b22);
      border: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    }

    #intro-bloom {
      position: fixed;
      inset: 0;
      background: radial-gradient(circle at center, rgba(255, 232, 160, 0.92) 0%, rgba(244, 196, 78, 0.45) 36%, transparent 72%);
      opacity: 0;
      pointer-events: none;
      z-index: 105;
      transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* =========================================
       SCENE 1: SCALLOPED MEMORY WALL CARDS
       ========================================= */
    .memory-card {
      position: relative;
      width: clamp(185px, 21vw, 290px);
      aspect-ratio: 16 / 10.5;
      background: #f6e4e1;
      padding: 10px;
      border-radius: 14px;
      box-shadow: 0 14px 30px rgba(50, 28, 18, 0.16), 0 2px 6px rgba(50, 28, 18, 0.08);
      flex-shrink: 0;
      border: 3px dashed rgba(232, 198, 194, 0.95);
      outline: 2px solid rgba(255, 250, 245, 0.75);
      outline-offset: -5px;
    }

    .memory-card-inner {
      width: 100%;
      height: 100%;
      border-radius: 7px;
      overflow: hidden;
      position: relative;
      background: #231f20;
    }

    /* =========================================
       SCENE 2: 13 GOLD-BEZEL SOCIETY TILES (BULLETPROOF FRAMING)
       ========================================= */
    .scene2-safe-frame {
      position: relative;
      width: 100%;
      max-width: 1440px;
      height: 100%;
      padding: 74px clamp(18px, 3.6vw, 56px) 54px clamp(18px, 3.6vw, 56px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: clamp(10px, 2vw, 28px);
      transform-style: preserve-3d;
    }

    .tile-cluster {
      display: flex;
      align-items: center;
      gap: clamp(10px, 1.6vw, 22px);
      height: 100%;
      z-index: 20;
      transform-style: preserve-3d;
    }

    .tile-col {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: clamp(10px, 2vh, 22px);
      height: 100%;
      transform-style: preserve-3d;
    }

    .tile-col.col-4 {
      justify-content: space-evenly;
      gap: clamp(6px, 1.2vh, 14px);
    }

    .society-tile {
      position: relative;
      width: var(--tile-size);
      height: var(--tile-size);
      aspect-ratio: 1 / 1;
      border-radius: 13px;
      padding: 4px;
      background: linear-gradient(135deg, #fff3b0 0%, #d99b26 32%, #8f5b09 55%, #f7d154 78%, #a66e12 100%);
      box-shadow:
        0 14px 26px rgba(40, 22, 10, 0.26),
        0 4px 10px rgba(40, 22, 10, 0.16),
        inset 0 1px 1px rgba(255, 255, 255, 0.85);
      cursor: pointer;
      pointer-events: auto;
      transform-style: preserve-3d;
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    }

    .society-tile:hover {
      transform: translateZ(48px) scale(1.12) !important;
      box-shadow:
        0 24px 44px rgba(40, 22, 10, 0.36),
        0 0 26px rgba(244, 196, 78, 0.72);
      z-index: 40;
    }

    /* Safe 12% padded mat so logos are NEVER clipped by gold bezels */
    .tile-mat {
      width: 100%;
      height: 100%;
      border-radius: 9px;
      padding: 12%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .tile-mat-img-wrap {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .tile-logo-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center center;
      display: block;
    }

    .tile-mat::after {
      content: '';
      position: absolute;
      inset: -60%;
      background: linear-gradient(115deg, transparent 35%, rgba(255, 245, 195, 0.55) 50%, transparent 65%);
      transform: translateX(-100%);
      transition: transform 0.6s ease;
      pointer-events: none;
    }

    .society-tile:hover .tile-mat::after {
      transform: translateX(100%);
    }

    .mandala-medallion {
      position: absolute;
      width: 44%;
      height: 44%;
      border-radius: 9999px;
      background: #fffdf7;
      border: 3px solid #d99b26;
      box-shadow: 0 6px 20px rgba(90, 16, 38, 0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12%;
      overflow: hidden;
    }

    .rivet {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 999px;
      background: radial-gradient(circle at 35% 35%, #fff8d6, #7a4b06);
      z-index: 5;
    }

    .rivet.tl {
      top: 3px;
      left: 3px;
    }

    .rivet.tr {
      top: 3px;
      right: 3px;
    }

    .rivet.bl {
      bottom: 3px;
      left: 3px;
    }

    .rivet.br {
      bottom: 3px;
      right: 3px;
    }

    /* =========================================
       SCENE 4: ROYAL UNFURLING SCROLL
       ========================================= */
    .scroll-roller {
      width: clamp(28px, 4vw, 52px);
      height: clamp(216px, 29.5vh, 268px);
      position: relative;
      flex-shrink: 0;
      z-index: 12;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      will-change: transform;
    }

    @media (min-width: 640px) {
      .scroll-roller {
        height: clamp(276px, 37vh, 328px);
      }
    }

    .roller-finial-svg {
      width: 100%;
      height: clamp(26px, 3.6vh, 38px);
      display: block;
      flex-shrink: 0;
    }

    .roller-sleeve {
      width: 80%;
      flex: 1;
      margin: -2px 0;
      background:
        linear-gradient(90deg, rgba(2, 24, 15, 0.65) 0%, rgba(255, 232, 160, 0.14) 32%, rgba(255, 255, 255, 0.06) 44%, rgba(2, 24, 15, 0.4) 78%, rgba(1, 16, 10, 0.78) 100%),
        linear-gradient(90deg, #063322 0%, #126a4a 38%, #0b5d3b 68%, #042216 100%);
      border-left: 2px solid #f4c44e;
      border-right: 2px solid #d49b27;
      position: relative;
      overflow: hidden;
      box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.45), inset 0 -4px 8px rgba(0, 0, 0, 0.45);
    }

    .roller-sleeve::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14'%3E%3Cg fill='none' stroke='%23f4c44e' stroke-width='1.05' opacity='0.65'%3E%3Ccircle cx='12' cy='14' r='10'/%3E%3Ccircle cx='12' cy='14' r='6.5'/%3E%3Ccircle cx='0' cy='14' r='10'/%3E%3Ccircle cx='24' cy='14' r='10'/%3E%3Ccircle cx='6' cy='7' r='10'/%3E%3Ccircle cx='6' cy='7' r='6.5'/%3E%3Ccircle cx='18' cy='7' r='10'/%3E%3Ccircle cx='18' cy='7' r='6.5'/%3E%3C/g%3E%3C/svg%3E");
      background-size: 20px 12px;
    }

    .scroll-parchment {
      height: clamp(180px, 24.5vh, 224px);
      overflow: hidden;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 -3px;
      z-index: 8;
      will-change: clip-path;
    }

    @media (min-width: 640px) {
      .scroll-parchment {
        height: clamp(234px, 31vh, 276px);
      }
    }

    .scroll-canvas {
      position: relative;
      height: 100%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .scroll-sheen {
      position: absolute;
      inset: 0;
      background: linear-gradient(112deg, transparent 34%, rgba(255, 250, 224, 0.42) 50%, transparent 66%);
      pointer-events: none;
      mix-blend-mode: soft-light;
      will-change: transform, opacity;
    }

    .gold-metallic-text {
      background: linear-gradient(180deg, #fff6cf 0%, #f7cc5c 44%, #d49b27 78%, #ffe79c 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
    }

    @keyframes floatSlow {

      0%,
      100% {
        transform: translateY(0px) translateX(0px);
      }

      50% {
        transform: translateY(-8px) translateX(6px);
      }
    }

    .animate-cloud-slow {
      animation: floatSlow 6s ease-in-out infinite;
    }

    .animate-cloud-slow-alt {
      animation: floatSlow 7.5s ease-in-out infinite reverse;
    }

    @keyframes pulseCue {

      0%,
      100% {
        transform: translateY(0);
        opacity: 0.78;
      }

      50% {
        transform: translateY(6px);
        opacity: 1;
      }
    }

    .animate-scroll-cue {
      animation: pulseCue 1.8s ease-in-out infinite;
    }

/* =========================================================
   ISOLATED V3 SCOPE & CLOUD-TO-MIST TRANSITION
   ========================================================= */
:root {
  --bg-color: #1c040d;
  --maroon-royal: #4a0b21;
  --text-color: #f7f0dc;
  --accent-gold: #f4c44e;
  --accent-green: #0b5d3b;
  --scotch-color: #f4c44e;
  --font-main: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-text-filters="on"] {
  --text-distort-sm: url(#text-distort-sm);
}

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

#cinematic-experience {
  position: fixed;
  inset: 0;
  z-index: 2000;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

#cinematic-experience.is-morphing-to-v3 {
  pointer-events: none;
}

#cinematic-experience.is-morphing-to-v3 #cloud-top-left-wrap {
  transform: translate3d(-120px, -48px, 0) scale(1.65) !important;
  filter: blur(22px);
  opacity: 0;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.95s ease, filter 1.05s ease;
}

#cinematic-experience.is-morphing-to-v3 #cloud-top-right-wrap {
  transform: translate3d(120px, -44px, 0) scale(1.65) !important;
  filter: blur(22px);
  opacity: 0;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.95s ease, filter 1.05s ease;
}

#cinematic-experience.is-morphing-to-v3 #wave-transition-layer,
#cinematic-experience.is-morphing-to-v3 #spark-canvas,
#cinematic-experience.is-morphing-to-v3 #royal-backdrop {
  opacity: 0 !important;
  filter: blur(16px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), filter 1.0s ease;
}

#cinematic-experience.is-morphing-to-v3 #scroll-assembly {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  filter: blur(4px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), filter 0.65s ease;
}

#cinematic-experience.is-morphing-to-v3 #floating-hud,
#cinematic-experience.is-morphing-to-v3 #chapter-rail,
#cinematic-experience.is-morphing-to-v3 #scroll-cue {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#cinematic-experience.fade-out {
  opacity: 0;
  pointer-events: none;
}

#v3-experience {
  position: relative;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

html.v3-active {
  font-size: calc(min(15px, 2.48756vw));
  height: auto;
  overflow-y: auto;
  overflow-x: clip;
  background-color: var(--bg-color);
  color: var(--text-color);
}

@media (min-width: 768px) {
  html.v3-active {
    font-size: 1.42857vw;
  }
}

@media (min-width: 1024px) {
  html.v3-active {
    font-size: 0.666667vw;
  }
}

body.v3-active {
  height: auto;
  min-height: 100svh;
  overflow-x: clip;
  overflow-y: visible;
  touch-action: auto;
  user-select: auto;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.8rem;
  text-transform: uppercase;
  background-color: var(--bg-color);
  color: var(--text-color);
}

body.v3-active #v3-experience {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   MORPHING BRIDGE WORDMARK: SCROLL -> EXACT WEBGL2 COORDINATES
   ========================================================= */
#scroll-morph-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  opacity: 0;
  display: none;
  z-index: 2110;
  text-transform: none;
  will-change: transform, opacity, filter;
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

#scroll-morph-title.is-flying {
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
}

#scroll-morph-title.is-settled {
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
}

#scroll-morph-title.is-settled .morph-main {
  animation: scrollMorphGoldPulse 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#scroll-morph-title.is-dissolving {
  opacity: 0;
  transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes scrollMorphGoldPulse {
  0% {
    text-shadow:
      0 0 18px rgba(243, 200, 90, 0.38),
      0 0 42px rgba(17, 85, 56, 0.25);
  }
  50% {
    text-shadow:
      0 0 38px rgba(243, 200, 90, 0.88),
      0 0 74px rgba(243, 200, 90, 0.45),
      0 0 96px rgba(17, 85, 56, 0.4);
  }
  100% {
    text-shadow:
      0 0 14px rgba(243, 200, 90, 0.28),
      0 0 32px rgba(17, 85, 56, 0.2);
  }
}

.morph-main {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: "Cinzel", serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: #f7f0dc;
  white-space: nowrap;
  text-shadow:
    0 0 24px rgba(243, 200, 90, 0.44),
    0 0 56px rgba(17, 85, 56, 0.32);
}

.morph-sub-row {
  position: absolute;
  left: 50%;
  top: 74%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.morph-sub {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: pre;
  color: #f7f0dc;
}

.morph-sub-line {
  display: block;
  background-color: #f7f0dc;
  flex-shrink: 0;
}

/* =========================================================
   V6 HERO & GRADIENT WAVES BACKGROUND
   ========================================================= */
.gradient-waves-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, #4a0b21 0%, #1c040d 100%);
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
  .gradient-waves-wrapper {
    height: 100svh;
  }
}

body.v3-active .gradient-waves-wrapper {
  opacity: 1;
}

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

.canvas-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100lvh;
  z-index: 1;
  pointer-events: none;
  will-change: opacity, transform, filter;
  transform-origin: center center;
}

@media (min-width: 1024px) {
  .canvas-wrapper {
    height: 100svh;
  }
}

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

/* Ornate Editorial Frame & Corner Ornaments */
.hero-frame {
  position: fixed;
  inset: 0.9rem;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(244, 196, 78, 0.38);
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

body.is-ready .hero-frame {
  opacity: 1;
}

.hero-frame--inner {
  position: absolute;
  inset: 0.4rem;
  border: 1px solid rgba(244, 196, 78, 0.16);
}

.corner-ornament {
  position: absolute;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--accent-gold);
  opacity: 0.85;
}

.corner-tl { top: -0.25rem; left: -0.25rem; }
.corner-tr { top: -0.25rem; right: -0.25rem; transform: rotate(90deg); }
.corner-bl { bottom: -0.25rem; left: -0.25rem; transform: rotate(-90deg); }
.corner-br { bottom: -0.25rem; right: -0.25rem; transform: rotate(180deg); }

@media (min-width: 1024px) {
  .hero-frame {
    inset: 1.2rem;
  }

  .corner-ornament {
    width: 3.4rem;
    height: 3.4rem;
  }
}

/* Floating SVG Cloud / Wave Filigree Accents */
.filigree-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease 0.4s;
}

body.is-ready .filigree-layer {
  opacity: 1;
}

.filigree-accent {
  position: absolute;
  width: 14rem;
  color: rgba(243, 200, 90, 0.26);
  will-change: transform;
}

.filigree-left {
  bottom: 18%;
  left: 3%;
  transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px), 0);
}

.filigree-right {
  top: 22%;
  right: 3%;
  transform: translate3d(calc(var(--px, 0) * 16px), calc(var(--py, 0) * 12px), 0);
}

@media (min-width: 1024px) {
  .filigree-accent {
    width: 19rem;
  }

  .filigree-left {
    bottom: 20%;
    left: 5%;
  }

  .filigree-right {
    top: 24%;
    right: 5%;
  }
}

/* Custom Cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.25s ease, width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease, background-color 0.25s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
}

.cursor-ring {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(243, 200, 90, 0.55);
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

body.modal-open .cursor-dot,
body.modal-open .cursor-ring {
  opacity: 0 !important;
}

body.cursor-hover .cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-color);
}

body.cursor-hover .cursor-ring {
  width: 44px;
  height: 44px;
  border-color: var(--accent-gold);
  background-color: rgba(243, 200, 90, 0.08);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* Page Wrapper */
.page-wrapper {
  position: relative;
  z-index: 3;
  background-color: transparent;
}

.page-container {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.page-wrapper[data-loader="done"] .page-container {
  opacity: 1;
}

/* Fixed CTA & Replay Scroll */
.start-project {
  position: fixed;
  bottom: 2.3rem;
  right: 1.4rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  filter: var(--text-distort-sm, none);
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

body.is-ready .start-project {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .start-project {
    bottom: auto;
    top: 2.3rem;
    right: 2rem;
  }
}

.replay-intro-pill {
  appearance: none;
  color: rgba(247, 240, 220, 0.85);
  font-family: var(--font-main);
  font-size: 1.25rem;
  line-height: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.48rem 1rem;
  background: rgba(28, 4, 13, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 196, 78, 0.36);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.replay-intro-pill:hover,
.replay-intro-pill:focus-visible {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: rgba(74, 11, 33, 0.92);
  outline: none;
}

.start-project a {
  position: relative;
  display: inline-block;
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 1.55rem;
  line-height: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.48rem 1.15rem;
  background: rgba(28, 4, 13, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 196, 78, 0.5);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(244, 196, 78, 0.16);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.start-project a:hover,
.start-project a:focus-visible {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 16px rgba(243, 200, 90, 0.2);
}

.start-project--label {
  position: relative;
  z-index: 1;
}

.scotch-layer {
  position: absolute;
  inset: -0.25rem -0.55rem;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: difference;
}

.scotch {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--scotch-color);
  clip-path: inset(0% 100% 0% 0%);
  transform: rotate(-0.32deg) scale(1.06);
  transition: clip-path 0.38s cubic-bezier(0.77, 0, 0.175, 1),
              transform 0.38s cubic-bezier(0.77, 0, 0.175, 1);
}

.start-project a:hover .scotch,
.start-project a:focus-visible .scotch {
  clip-path: inset(0% 0% 0% 0%);
  transform: rotate(-0.32deg) scale(1.1);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: clip;
  padding: 2rem 1.4rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 0 2rem 2rem;
  }
}

.hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Hero Head Grid */
.hero-head {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.3rem;
}

@media (min-width: 1024px) {
  .hero-head {
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    height: auto;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1rem;
  }
}

/* Logo Mark */
.hero-head--logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  color: var(--accent-gold);
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.hero-head--logo svg {
  display: block;
  width: 100%;
  height: auto;
}

body.is-ready .hero-head--logo {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .hero-head--logo {
    position: static;
    grid-column: 1 / span 1;
    width: 7.2rem;
  }
}

/* Brand Name */
.hero-head--name {
  display: none;
  color: var(--accent-gold);
  filter: var(--text-distort-sm, none);
}

@media (min-width: 1024px) {
  .hero-head--name {
    display: flex;
    flex-direction: column;
    grid-column: 3 / span 4;
  }
}

/* Studio Infos */
.hero-head--infos {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--text-color);
  filter: var(--text-distort-sm, none);
}

@media (min-width: 1024px) {
  .hero-head--infos {
    position: static;
    grid-column: 7 / span 2;
    width: calc(100% + 5rem);
  }
}

/* Split Line Reveal */
.split-line-mask {
  display: block;
  overflow: clip;
}

.split-line {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease;
}

body.is-ready .split-line {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .hero-head--name .split-line-mask:nth-child(1) .split-line { transition-delay: 0.2s; }
body.is-ready .hero-head--name .split-line-mask:nth-child(2) .split-line { transition-delay: 0.28s; }
body.is-ready .hero-head--infos p:nth-child(1) .split-line-mask:nth-child(1) .split-line { transition-delay: 0.32s; }
body.is-ready .hero-head--infos p:nth-child(1) .split-line-mask:nth-child(2) .split-line { transition-delay: 0.38s; }
body.is-ready .hero-head--infos p:nth-child(2) .split-line-mask:nth-child(1) .split-line { transition-delay: 0.44s; }
body.is-ready .hero-head--infos p:nth-child(2) .split-line-mask:nth-child(2) .split-line { transition-delay: 0.5s; }

/* Hero Bottom Bar */
.hero-bottom {
  position: absolute;
  bottom: 5.4rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--accent-gold);
  will-change: opacity;
}

@media (min-width: 1024px) {
  .hero-bottom {
    bottom: 0;
  }
}

.bottom-scroll {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  overflow: clip;
  color: var(--accent-gold);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}

.bottom-scroll:hover,
.bottom-scroll:focus-visible {
  color: #ffe28a;
  text-shadow: 0 0 18px rgba(244, 196, 78, 0.45);
  outline: none;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s ease;
}

body.is-ready .split-char {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .split-char:nth-child(1) { transition-delay: 0.45s; }
body.is-ready .split-char:nth-child(2) { transition-delay: 0.48s; }
body.is-ready .split-char:nth-child(3) { transition-delay: 0.51s; }
body.is-ready .split-char:nth-child(4) { transition-delay: 0.54s; }
body.is-ready .split-char:nth-child(5) { transition-delay: 0.57s; }
body.is-ready .split-char:nth-child(6) { transition-delay: 0.60s; }
body.is-ready .split-char:nth-child(7) { transition-delay: 0.63s; }
body.is-ready .split-char:nth-child(8) { transition-delay: 0.66s; }

.indicator {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

body.is-ready .indicator {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   OPTION 3: IN-FRAME SCROLL-TRIGGERED CROSSFADE STAGE
   ========================================================= */
html.v3-active.modal-open,
body.v3-active.modal-open {
  overflow: hidden;
}

/* =========================================================
   SLIDE-OUT REGISTRATION DRAWER (INSPIRED BY IEEE2)
   ========================================================= */
.reg-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2490;
  background: rgba(17, 17, 17, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.reg-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.reg-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  z-index: 2500;
  background: #13080d;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  color: #f4f4f5;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-transform: none;
  user-select: text;
}

.reg-drawer.active {
  transform: translateX(0);
}

.reg-drawer-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #13080d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.reg-drawer-subtitle {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.reg-drawer-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  color: #f7f0dc;
  margin-top: 2px;
  letter-spacing: -0.01em;
}

.reg-drawer-close {
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f5;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.reg-drawer-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.reg-step-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.reg-step-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  color: #71717a;
  background: transparent;
  border: 1px solid transparent;
  transition: all 180ms ease;
}

.reg-step-pill.is-active {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.reg-step-pill.is-done {
  color: #86efac;
  background: rgba(22, 163, 74, 0.14);
  border-color: rgba(134, 239, 172, 0.28);
}

.reg-drawer-body {
  padding: 22px 24px 30px;
  flex: 1;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.reg-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 480px) {
  .reg-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.reg-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.reg-form-label {
  font-size: 12px;
  font-weight: 500;
  color: #d4d4d8;
}

.reg-required {
  color: #f87171;
}

.reg-form-input,
.reg-form-select {
  width: 100%;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f5;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.reg-form-select option {
  background: #180a10;
  color: #f4f4f5;
}

.reg-form-input::placeholder {
  color: #71717a;
}

.reg-form-input:focus,
.reg-form-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.reg-error-msg {
  font-size: 11.5px;
  color: #fca5a5;
  min-height: 14px;
}

.reg-form-footer {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reg-form-disclaimer {
  font-size: 11.5px;
  color: #71717a;
  text-align: center;
  line-height: 1.45;
}

.reg-btn-primary {
  appearance: none;
  width: 100%;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid #f7f0dc;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  background: #f7f0dc;
  color: #13080d;
  cursor: pointer;
  transition: background-color 150ms ease, opacity 150ms ease;
}

.reg-btn-primary:hover {
  background: #ffffff;
}

.reg-btn-secondary {
  appearance: none;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f5;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.reg-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.reg-btn-block {
  width: 100%;
}

/* Step 2: Payment */
.reg-payment-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reg-payment-view[hidden],
.reg-ticket-view[hidden],
.reg-email-toast[hidden],
.reg-form[hidden] {
  display: none !important;
}

.reg-summary-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.reg-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.reg-summary-label {
  color: #a1a1aa;
}

.reg-summary-value {
  color: #f4f4f5;
  font-weight: 500;
  text-align: right;
}

.reg-summary-row--total {
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.reg-summary-fee {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
  color: #f7f0dc;
}

.reg-upi-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reg-upi-qr {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  padding: 6px;
  border-radius: 8px;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.reg-upi-meta {
  flex: 1;
  min-width: 0;
}

.reg-upi-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #a1a1aa;
}

.reg-upi-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.reg-upi-id-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #f4f4f5;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 8px;
  border-radius: 5px;
}

.reg-copy-btn {
  appearance: none;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f5;
  cursor: pointer;
}

.reg-copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.reg-upi-sub {
  font-size: 11.5px;
  color: #71717a;
}

.reg-payment-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 4px;
}

/* Step 3: Tear Ticket Finale */
.reg-ticket-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reg-ticket-header {
  text-align: center;
}

.reg-ticket-badge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(134, 239, 172, 0.32);
  color: #86efac;
  margin-bottom: 8px;
}

.reg-ticket-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #f7f0dc;
}

.reg-ticket-sub {
  font-size: 12.5px;
  color: #a1a1aa;
  margin-top: 4px;
}

.reg-ticket-mount {
  width: 100%;
  padding: 12px 0;
  overflow: visible;
}

.tt-body-inner {
  position: absolute;
  inset: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tt-body-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tt-brand {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f4f4f5;
  background: rgba(20, 20, 22, 0.78);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tt-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: rgba(244, 244, 245, 0.85);
  background: rgba(20, 20, 22, 0.78);
  padding: 2px 7px;
  border-radius: 5px;
}

.tt-body-bottom {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tt-event-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.tt-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: rgba(244, 244, 245, 0.85);
}

.tt-holder {
  font-weight: 600;
  color: #ffffff;
}

.tt-stub-inner {
  height: 100%;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
}

.tt-stub-admit {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #a1a1aa;
}

.tt-stub-dates {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: #f4f4f5;
  line-height: 1.25;
}

.tt-stub-drag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #141414;
  background: #f4f4f5;
  padding: 5px 10px;
  border-radius: 999px;
}

.reg-email-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(134, 239, 172, 0.32);
  animation: regToastIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes regToastIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reg-email-toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-email-toast-title {
  font-size: 13px;
  font-weight: 600;
  color: #86efac;
}

.reg-email-toast-desc {
  font-size: 12px;
  color: #e4e4e7;
  margin-top: 2px;
  line-height: 1.4;
}

#morph-scroll-track {
  position: relative;
  width: 100%;
  height: 190svh;
  pointer-events: none;
}

#morph-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.page-wrapper[data-loader="done"] #morph-sticky-stage {
  opacity: 1;
}

#morph-sticky-stage .hero {
  pointer-events: none;
}

#morph-sticky-stage .bottom-scroll {
  pointer-events: auto;
}

#morph-about-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 10svh, 110px) clamp(20px, 6vw, 72px);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.morph-about-inner {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 2.4svh, 24px);
}

.morph-about-title {
  font-family: "Cinzel", "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #faf0d7;
  text-shadow: 0 4px 24px rgba(16, 2, 7, 0.75);
}

.morph-about-copy {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.68;
  text-transform: none;
  letter-spacing: 0.01em;
  color: rgba(247, 240, 220, 0.82);
  max-width: 62ch;
}

.morph-about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 18px);
  width: 100%;
  max-width: 440px;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .morph-about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.morph-about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: clamp(12px, 2svh, 18px) 10px;
  border-radius: 14px;
  background: rgba(26, 3, 12, 0.55);
  border: 1px solid rgba(244, 196, 78, 0.25);
  backdrop-filter: blur(8px);
}

.morph-about-stat__val {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 700;
  color: #ffe28a;
  line-height: 1.1;
}

.morph-about-stat__lbl {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(10px, 0.9vw, 11px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 240, 220, 0.7);
}

.morph-about-cue {
  margin-top: 6px;
}

#events-showcase-section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8svh, 84px) 0 clamp(40px, 6svh, 64px);
}

#morph-carousel-layer {
  position: relative;
  width: 100%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2svh, 22px);
  padding: 0;
  opacity: 1;
  pointer-events: auto;
}

.morph-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  text-align: center;
}

.morph-eyebrow__line {
  width: clamp(20px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 196, 78, 0.72), transparent);
  flex-shrink: 0;
}

.morph-eyebrow__text {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffe28a;
  text-shadow: 0 2px 12px rgba(16, 2, 7, 0.85);
}

.morph-carousel-stage {
  width: 100%;
  max-width: none;
  position: relative;
  display: flex;
  align-items: center;
}

#v6-morph-flex-carousel {
  width: 100%;
  height: clamp(340px, 64svh, 640px);
}

.morph-controls-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  padding: 0 12px;
  text-align: center;
}

.morph-dot-sep {
  color: rgba(247, 240, 220, 0.32);
  font-size: 14px;
}

.morph-hint {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(247, 240, 220, 0.62);
  text-transform: none;
}

.morph-wordmark-link {
  appearance: none;
  background: none;
  border: none;
  padding: 2px 4px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(247, 240, 220, 0.85);
  cursor: pointer;
  transition: color 180ms ease;
}

.morph-wordmark-link:hover {
  color: #ffe28a;
}

.morph-events-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #2a1405;
  background: linear-gradient(135deg, #ffe28a 0%, #f4c44e 55%, #d49b27 100%);
  border: 1px solid rgba(255, 226, 138, 0.85);
  box-shadow: 0 4px 18px rgba(244, 196, 78, 0.35);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.morph-events-cta:hover,
.morph-events-cta:focus-visible {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 24px rgba(244, 196, 78, 0.55);
  filter: brightness(1.06);
  outline: none;
}

.morph-ctrl-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 240, 220, 0.72);
  background: rgba(20, 4, 10, 0.35);
  border: 1px solid rgba(247, 240, 220, 0.18);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.morph-ctrl-btn:hover,
.morph-ctrl-btn:focus-visible {
  color: #ffffff;
  border-color: rgba(247, 240, 220, 0.55);
  background: rgba(20, 4, 10, 0.65);
  outline: none;
}

.morph-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1;
}

.morph-arrow-btn--left {
  left: 4px;
}

.morph-arrow-btn--right {
  right: 4px;
}
