/* === Effects — atmosphere only (cursor/magnetic/mask removed) === */

/* === Static gold light — single source behind hero (was animated aurora) === */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--color-bg);
}
.aurora::before {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  top: -25vmax;
  right: -15vmax;
  background: radial-gradient(circle, rgba(194,163,97,0.18), transparent 65%);
  filter: blur(140px);
  opacity: 0.7;
  /* No animation — static contemplative source */
}

/* === Grain overlay (kept, lighter) === */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

/* === Hero scroll-driven props (set via JS) === */
.hero-portrait[data-hero-photo] {
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1));
  transition: none;
}
.hero-title .split-line > span {
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
}

/* === Page transition overlay === */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background: var(--color-bg-deep);
  transform: translateY(100%);
  transition: transform 700ms var(--ease-out-expo);
}
.page-transition.is-out { transform: translateY(0); }
.page-transition.is-in {
  transform: translateY(-100%);
  transition: transform 700ms var(--ease-out-expo) 100ms;
}

/* === Subtle scrollbar === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--color-bg-elev-2);
  border-radius: 10px;
  border: 2px solid var(--color-bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-accent-deep); }

/* === REMOVED (option C of brainstorm):
   - Custom cursor styles (.cursor, .cursor-ring, .is-cursor-*)
   - Magnetic button transforms ([data-magnetic])
   - Image hover mask (.mask-reveal, .mask-spot)
   - Hero glow follow mouse (.hero-glow)
   - Animated aurora keyframes
   - Marquee accelerate hover behavior
   - Counter pulse animation
*/

/* === Gold thread — vertical signature visual === */
.gold-thread {
  position: fixed;
  top: 0;
  left: 24px;
  width: 1px;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(194,163,97,0.08) 5%,
    rgba(194,163,97,0.18) var(--gt-progress, 0%),
    rgba(194,163,97,0.05) calc(var(--gt-progress, 0%) + 5%),
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: opacity 400ms var(--ease-out-quint);
}
.gold-thread .gt-marker {
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-bg-deep);
  border: 1px solid var(--color-accent);
  box-shadow: 0 0 8px rgba(194,163,97,0.4);
  transform: translateY(-50%);
  opacity: 0.6;
  transition: opacity 400ms var(--ease-out-quint), background 400ms;
}
.gold-thread .gt-marker.is-active {
  background: var(--color-accent);
  opacity: 1;
}

/* Mobile: hide thread, show only markers as a top-of-section accent */
@media (max-width: 760px) {
  .gold-thread { left: 12px; opacity: 0.4; }
  .gold-thread .gt-marker { width: 5px; height: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .gold-thread { opacity: 0.4; }
}
