/* --------------------------------------------
   DESIGN VARIABLES
--------------------------------------------- */
:root {
  --c-gold: #C5A059;
  --c-gold-dim: #5c492b;
  --c-steel: #8A9AA8;
  --c-white: #FFFFFF;
  --c-black: #000000;
  
  --f-display: 'Gloock', serif;
  --f-label: 'Barlow Condensed', sans-serif;
  
  --ease-cinematic: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --------------------------------------------
   STRUCTURAL SYSTEMS RESETS
--------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  background: var(--c-black);
  overflow-x: hidden;
  color: var(--c-white);
  font-family: var(--f-label);
}

html {
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------
   THE VIEWPORT DEVICE CAMERA
--------------------------------------------- */
#cinematic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
  pointer-events: none;
}

/* --------------------------------------------
   INITIALIZATION SCREEN
--------------------------------------------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--c-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s var(--ease-cinematic);
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-brand {
  font-size: 24px;
  letter-spacing: 0.6em;
  color: var(--c-gold);
  margin-bottom: 40px;
}

.progress-bar-container {
  width: 240px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  overflow: visible;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--c-gold);
  position: relative;
  overflow: visible;
}

.loading-label {
  font-size: 18px;
  letter-spacing: 0.3em;
  color: var(--c-gold-dim);
  margin-top: 24px;
}

/* --------------------------------------------
   THE MONOLITH METRIC ENTRY GATE
--------------------------------------------- */
#entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--c-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 1.4s var(--ease-cinematic), transform 1.4s var(--ease-cinematic);
}

#entry-overlay.shutter-open {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.hexagon-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin-bottom: 80px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 1px rgba(197, 160, 89, 0.2));
  animation: staticFloat 6s ease-in-out infinite;
}

@keyframes staticFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.hexagon-frame {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(197,160,89,0.4) 100%);
  padding: 1px;
}

#logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--c-black);
}

.click-hint {
  font-size: 32px;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  animation: softPulse 2s ease-in-out infinite;
  transition: letter-spacing 0.3s ease;
  margin-top: 40px;
}
.scroll-hint {
  font-size: 24px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 200px;
  animation: softPulse 2s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

#entry-overlay:hover .click-hint {
  opacity: 1;
  letter-spacing: 0.45em;
}

/* --------------------------------------------
   PRODUCTION UI HUD MAP
--------------------------------------------- */
#cinema-director-ui {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.scroll-axis-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 0%;
  background: linear-gradient(to bottom, rgba(197,160,89,0) 0%, rgba(197,160,89,0.25) 50%, rgba(197,160,89,0) 100%);
  transform: translateX(-50%);
  transition: height 2s var(--ease-cinematic);
}

.scroll-axis-line.active {
  height: 100%;
}

#phase-label {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
  transform: translateY(-5px);
}

#phase-label.visible {
  opacity: 0.6;
  transform: translateY(0);
}

#progress-timeline-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
}

#progress-timeline-fill {
  width: 0%;
  height: 100%;
  background: var(--c-gold);
  position: relative;
}

/* --------------------------------------------
   KINETIC SCENOGRAPHY TEXT PLANES
--------------------------------------------- */
#text-blocks-container {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.text-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  text-align: center;
  opacity: 0;
  filter: blur(20px) scale(0.95);
  letter-spacing: -0.02em;
  will-change: transform, opacity, filter;
  transition: 
    opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), 
    filter 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), 
    transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1),
    letter-spacing 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.text-block.cinematic-active {
  opacity: 1;
  filter: blur(0px) scale(1);
  letter-spacing: 0.1em;
  transform: translate(-50%, -50%);
}

.text-block.cinematic-exit {
  opacity: 0;
  filter: blur(25px) scale(1.05);
  letter-spacing: 0.1em;
  transform: translate(-50%, -56%);
}

.text-block[data-anchor="center-bottom"] {
  transform: translate(-50%, -20%);
}
.text-block[data-anchor="center-bottom"].cinematic-active {
  transform: translate(-50%, -20%);
}
.text-block[data-anchor="center-bottom"].cinematic-exit {
  transform: translate(-50%, -28%);
}

/* --------------------------------------------
   TEXT ARCHITECTURAL ELEMENTS
--------------------------------------------- */
.glass-substrate {
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(64px) saturate(180%);
  -webkit-backdrop-filter: blur(64px) saturate(180%);
  border: none;
  border-radius: 0px;
  display: inline-block;
  width: 100%;
  padding: 60px 80px;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.85);
}

/* Gold border (only on glass-substrate, not on milestone-banner) */
.glass-substrate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
  border: 1px solid rgba(197, 160, 89, 0.9);
  pointer-events: none;
}

.milestone-banner {
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(64px) saturate(180%);
  -webkit-backdrop-filter: blur(64px) saturate(180%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 0px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: block;
  width: 100%;
  padding: 60px 80px;
  position: relative;
}

/* Shared glass effects – moving shine + noise texture (combined in ::after) */
.glass-substrate::after,
.milestone-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Two layers: diagonal shine (gradient) + noise (SVG) */
  background: 
    linear-gradient(135deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 30%,
      rgba(255,255,255,0.22) 50%,
      rgba(255,255,255,0) 70%,
      rgba(255,255,255,0) 100%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.04"/></svg>');
  background-repeat: no-repeat, repeat;
  background-size: 200% 100%, auto;
  clip-path: inherit;
  filter: blur(1px);
  mix-blend-mode: overlay;
  animation: shimmerMove 6s infinite linear;
}

@keyframes shimmerMove {
  0% { background-position: 100% 0, 0 0; }
  100% { background-position: -100% 0, 0 0; }
}

/* Breathing gold border glow (milestone banners only) */
.milestone-banner {
  animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
  50% {
    border-color: rgba(197, 160, 89, 0.7);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), inset 0 0 0 2px rgba(197, 160, 89, 0.3);
  }
}

/* Hover effects */
.glass-substrate:hover,
.milestone-banner:hover {
  filter: drop-shadow(0 0 12px rgba(197, 160, 89, 0.8));
  transition: filter 0.3s ease;
}

.glass-substrate:hover::before {
  border-color: rgba(197, 160, 89, 1) !important;
  box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.6);
}

.milestone-banner:hover {
  border-color: rgba(197, 160, 89, 1) !important;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.6), 0 40px 80px rgba(0, 0, 0, 0.9);
}

/* --------------------------------------------
   TEXT STYLES (unchanged)
--------------------------------------------- */
.block-kicker {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 20px;
  line-height: 1.8;
}

.year-numeral {
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 13vw, 9.5rem);
  font-weight: 400;
  line-height: 0.9;
  color: var(--c-white);
  margin-bottom: 16px;
  letter-spacing: 0.1em;  
}

.year-era {
  font-size: 24px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.explore-journey {
  font-size: 24px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 20px;
  animation: softPulse 2s ease-in-out infinite;
}

.identity-headline {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--c-white);
  margin-bottom: 28px;
  letter-spacing: 0.15em;
}

.identity-body {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}

.work-employers, .cert-list, .vision-list {
  font-size: 18px;
  font-weight: 400;
  line-height: 2.0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  list-style: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-headline {
  font-family: var(--f-display);
  font-size: 24px;font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--c-white);
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.contact-email {
  font-size: 28px;
  letter-spacing: 0.28em;
  color: var(--c-gold);
  text-decoration: none;
  pointer-events: auto;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.5);
  transition: color 0.4s var(--ease-cinematic), border-color 0.4s var(--ease-cinematic), letter-spacing 0.4s var(--ease-cinematic);
}

.contact-email:hover {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.35em;
}

.directive-scroll {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 16px;
}

/* Entry hook special treatment (unused but kept) */
.entry-hook-content .block-kicker {
  font-size: clamp(48px, 12vw, 80%);
  letter-spacing: 0.1em;
  font-weight: 700;
  text-shadow: 0 0 35px rgba(197, 160, 89, 0.8);
  animation: strongPulse 2s ease-in-out infinite;
  margin-bottom: 40px;
}

.entry-hook-content .directive-scroll {
  font-size: clamp(32px, 8vw, 50px);
  letter-spacing: 0.2em;
  margin-top: 50px;
  font-weight: 800;
  text-shadow: 0 0 25px rgba(197, 160, 89, 0.7);
  animation: strongPulse 2s ease-in-out infinite 0.3s;
}

@keyframes strongPulse {
  0%, 100% { opacity: 0.85; text-shadow: 0 0 15px rgba(197, 160, 89, 0.5); }
  50% { opacity: 1; text-shadow: 0 0 50px rgba(197, 160, 89, 1); }
}

/* Matrix-style scrolling animation (unused) */
.text-block[data-id="entry-hook"] .matrix-scroll-indicator {
  margin: 40px 0;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  height: 90px;
}

.text-block[data-id="entry-hook"] .scroll-line {
  font-size: clamp(20px, 5vw, 36px);
  letter-spacing: 0.2em;
  color: rgba(197, 160, 89, 0.9);
  text-shadow: 0 0 8px currentColor;
  position: absolute;
  width: 100%;
  left: 0;
  opacity: 0;
  animation: scrollDown 3s ease-in-out infinite;
}

.text-block[data-id="entry-hook"] .scroll-line:first-child {
  animation-delay: 0s;
  top: -60px;
}

.text-block[data-id="entry-hook"] .scroll-line:last-child {
  animation-delay: 1.5s;
  top: -60px;
}

@keyframes scrollDown {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(90px); }
}

/* --------------------------------------------
   RESPONSIVE
--------------------------------------------- */
@media (max-width: 768px) {
  .glass-substrate,
  .milestone-banner {
    padding: 32px 24px !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  /* Remove parallelogram on mobile — cuts visible content at top-left */
  .glass-substrate {
    clip-path: none !important;
    border-radius: 2px;
    border: 1px solid rgba(197, 160, 89, 0.55);
  }
  .glass-substrate::before {
    clip-path: none !important;
  }
  .hexagon-container {
    width: 68vw !important;
    height: 68vw !important;
    max-width: 320px;
    max-height: 320px;
    margin-bottom: 32px;
  }
  .click-hint {
    font-size: 20px !important;
    letter-spacing: 0.15em !important;
    margin-top: 24px;
  }
  #phase-label {
    top: 20px;
    right: 16px;
    font-size: 10px;
  }
  .text-block {
    width: 90% !important;
    max-width: 90% !important;
  }
  .block-kicker {
    font-size: 13px !important;
    letter-spacing: 0.3em !important;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  .identity-headline,
  .cta-headline,
  .future-headline {
    font-size: clamp(26px, 6.5vw, 42px) !important;
    margin-bottom: 18px;
    letter-spacing: 0.1em !important;
  }
  .year-numeral {
    font-size: clamp(52px, 14vw, 80px) !important;
  }
  .year-era {
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
  }
  .explore-journey {
    font-size: 15px !important;
    margin-top: 20px;
    letter-spacing: 0.2em !important;
  }
  .identity-body,
  .work-employers,
  .cert-list,
  .vision-list {
    font-size: 14px !important;
    line-height: 1.75 !important;
    letter-spacing: 0.12em !important;
  }
  .contact-email {
    font-size: 15px !important;
    letter-spacing: 0.2em !important;
  }
  .glass-substrate ul,
  .milestone-banner ul {
    margin-top: 14px;
  }
  li {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .glass-substrate,
  .milestone-banner {
    padding: 24px 20px !important;
  }
  .block-kicker {
    font-size: 12px !important;
    letter-spacing: 0.22em !important;
    margin-bottom: 12px;
  }
  .identity-headline,
  .cta-headline,
  .future-headline {
    font-size: clamp(22px, 6vw, 32px) !important;
    letter-spacing: 0.08em !important;
  }
  .identity-body,
  .work-employers,
  .cert-list,
  .vision-list {
    font-size: 14px !important;
    line-height: 1.65 !important;
    letter-spacing: 0.1em !important;
  }
  .contact-email {
    font-size: 13px !important;
    letter-spacing: 0.15em !important;
    word-break: break-all;
  }
  .year-numeral {
    font-size: clamp(44px, 12vw, 64px) !important;
  }
  .click-hint {
    font-size: 17px !important;
    letter-spacing: 0.13em !important;
  }
}

.no-scroll {
  overflow: hidden !important;
}

.text-block:not(.cinematic-active) .contact-email {
  pointer-events: none;
}

/* --------------------------------------------
   ROTATING HEXAGON CURSOR RING + SHADOW TRAIL
--------------------------------------------- */
body {
  cursor: none;
}

#cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2.5px solid var(--c-gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.9));
  will-change: transform;
}

@keyframes spinHex {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hide the old dot completely */
#cursor-dot {
  display: none;
}

/* Shadow trail elements – copies of the ring */
.cursor-shadow {
  position: fixed;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.8px solid rgba(197, 160, 89, 0.5);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
  z-index: 99997;
  filter: drop-shadow(0 0 4px rgba(197, 160, 89, 0.6));
  will-change: transform;
  transition: opacity 0.15s ease;
}

/* Hover effect – ring grows and glows */
body.cursor-hovering #cursor-ring {
  width: 54px;
  height: 54px;
  border-color: rgba(197, 160, 89, 1);
  filter: drop-shadow(0 0 16px var(--c-gold));
}

@media (hover: none) {
  body { cursor: auto; }
  #cursor-ring, .cursor-shadow { display: none; }
}

/* --------------------------------------------
   VIGNETTE
--------------------------------------------- */
#vignette {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 50%,
    rgba(0, 0, 0, 0.3) 75%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* --------------------------------------------
   SCANLINES
--------------------------------------------- */
#scanlines {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.018) 3px,
    rgba(0, 0, 0, 0.018) 4px
  );
}

/* --------------------------------------------
   FILM GRAIN
--------------------------------------------- */
#grain-overlay {
  position: fixed;
  inset: -150px;
  z-index: 11;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='400' height='400' filter='url(%23g)'/></svg>");
  animation: grainAnimate 0.13s steps(1) infinite;
}

@keyframes grainAnimate {
  0%   { transform: translate(0, 0); }
  11%  { transform: translate(-7px, -9px); }
  22%  { transform: translate(11px, 4px); }
  33%  { transform: translate(-5px, 13px); }
  44%  { transform: translate(9px, -6px); }
  55%  { transform: translate(-12px, 5px); }
  66%  { transform: translate(4px, -11px); }
  77%  { transform: translate(-8px, 8px); }
  88%  { transform: translate(13px, -4px); }
  100% { transform: translate(-3px, 10px); }
}

/* --------------------------------------------
   PHASE FLASH
--------------------------------------------- */
#phase-flash {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
}

#phase-flash.flash-active {
  animation: phaseFlashAnim 0.65s ease-out forwards;
}

@keyframes phaseFlashAnim {
  0%   { opacity: 0.45; }
  100% { opacity: 0; }
}

/* --------------------------------------------
   LOADING LETTER ANIMATION
--------------------------------------------- */
.lb {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: lbReveal 0.55s var(--ease-cinematic) forwards;
  animation-delay: calc(var(--i) * 0.07s + 0.35s);
}

@keyframes lbReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------
   HEX RING + AMBIENT GLOW
--------------------------------------------- */
.hex-svg-ring {
  position: absolute;
  inset: -28px;
  width: calc(100% + 56px);
  height: calc(100% + 56px);
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.hex-ring-path {
  fill: none;
  stroke: var(--c-gold);
  stroke-width: 0.75;
  stroke-dasharray: 16 8;
  opacity: 0.4;
  animation: hexDashFlow 22s linear infinite;
  transform-origin: center;
}

@keyframes hexDashFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -240; }
}

.hex-ambient-glow {
  position: absolute;
  inset: -90px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.14) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 4.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.1); }
}

/* --------------------------------------------
   HUD CORNERS + FRAME COUNTER
--------------------------------------------- */
.hud-corner {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 1s var(--ease-cinematic);
}

.hud-corner.visible {
  opacity: 1;
}

.hud-tl {
  top: 24px;
  left: 24px;
}

.hud-br {
  bottom: 32px;
  right: 32px;
}

.hud-bracket {
  font-family: var(--f-label);
  font-size: 18px;
  font-weight: 300;
  color: rgba(197, 160, 89, 0.3);
  line-height: 1;
  letter-spacing: 0;
}

.hud-frame-counter {
  font-family: var(--f-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(197, 160, 89, 0.3);
  text-transform: uppercase;
}

/* --------------------------------------------
   PROGRESS + TIMELINE GLOW DOTS
--------------------------------------------- */
.progress-glow-dot {
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--c-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.95), 0 0 22px rgba(197, 160, 89, 0.5);
}

.timeline-glow-dot {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--c-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.95), 0 0 18px rgba(197, 160, 89, 0.45);
}

/* --------------------------------------------
   CUSTOM SCROLLBAR
--------------------------------------------- */
::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: var(--c-gold-dim);
  border-radius: 1px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--c-gold);
}

/* --------------------------------------------
   MOBILE CURSOR OVERRIDE
--------------------------------------------- */
@media (hover: none) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
}