/* =============================================
   FORGED IN ICE — DESIGN SYSTEM LOCKED
   Colors: #000000 | #D4AF37 | #FFFFFF | #1A1A1A
   Fonts: Cinzel (display), EB Garamond (body)
   ============================================= */

:root {
  --black: #000000;
  --gold: #D4AF37;
  --gold-dim: rgba(212, 175, 55, 0.3);
  --gold-glow: rgba(212, 175, 55, 0.08);
  --white: #FFFFFF;
  --card-bg: #1A1A1A;
  --card-border: rgba(212, 175, 55, 0.15);
  --text-muted: rgba(255,255,255,0.55);
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  cursor: none;
  overflow-x: hidden;
}

/* ---- CURSOR ---- */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-trail {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}
body:hover .cursor { opacity: 1; }

/* ---- KINTSUGI OVERLAY ---- */
.kintsugi-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.kintsugi-svg {
  width: 100%;
  height: 100%;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
  transition: background 0.3s;
}
.nav.scrolled {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid var(--card-border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-hub {
  color: var(--gold) !important;
  border: 1px solid var(--gold-dim);
  padding: 0.4rem 1rem;
  transition: border-color 0.2s, background 0.2s !important;
}
.nav-hub:hover {
  background: var(--gold-glow);
  border-color: var(--gold) !important;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 3rem 3rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,175,55,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 100% 60% at 70% 80%, rgba(212,175,55,0.03) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  animation: fadeUp 1.2s ease both;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s both;
}
.hero-title-accent {
  color: var(--gold);
  display: block;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s both;
}
.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s both;
}

/* ---- WATCHER SILHOUETTE ---- */
.hero-watcher {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 500px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: watcherReveal 2s ease 1.2s both;
}
.watcher-silhouette {
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
    rgba(0,0,0,0) 0%,
    rgba(212,175,55,0.03) 30%,
    rgba(0,0,0,0) 100%
  );
  clip-path: polygon(35% 0%, 65% 0%, 78% 15%, 85% 35%, 82% 60%, 88% 80%, 80% 95%, 70% 100%, 30% 100%, 20% 95%, 12% 80%, 18% 60%, 15% 35%, 22% 15%);
  border: 1px solid rgba(212,175,55,0.1);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.5s both;
}
.hero-scroll-hint span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite 2s;
}

/* ---- BUTTONS ---- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 60px;
  width: 280px;
  justify-content: center;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0;
  transition: background 0.2s, transform 0.15s;
  cursor: none;
}
.cta-primary:hover {
  background: #e8c84a;
  transform: translateY(-2px);
}
.cta-arrow { font-size: 1rem; }
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 220px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  cursor: none;
}
.cta-secondary:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 3rem;
  position: relative;
  z-index: 10;
}
.section-dark {
  background: var(--card-bg);
}
.section-hub-cta {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(212,175,55,0.06) 0%, transparent 70%);
  padding: 100px 3rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.text-center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* ---- CARDS ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.card-link {
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.card-link:hover { color: var(--white); }

/* ---- MUSIC LANES ---- */
.music-lanes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.lane {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--card-border);
  transition: border-color 0.2s;
}
.lane:hover { border-color: var(--gold-dim); }
.lane-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.lane-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- SOCIALS ---- */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 1rem;
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.social-card:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
}
.social-icon {
  font-size: 1.5rem;
}

/* ---- HUB SIGIL ---- */
.hub-sigil {
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1.5rem;
  display: block;
  animation: rotateSlow 20s linear infinite;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--card-border);
  padding: 3rem;
  position: relative;
  z-index: 10;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.3em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  color: rgba(255,255,255,0.25);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-align: center;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes watcherReveal {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.7); opacity: 0.4; }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .hero { padding: 80px 1.5rem 5rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-primary, .cta-secondary { width: 280px; }
  .section { padding: 60px 1.5rem; }
  .hero-watcher { width: 180px; height: 320px; }
}
@media (max-width: 480px) {
  .nav-links { display: none; }
}
