/* ============================================
   ZAENYTH — Design System
   "Candlelit Recital Hall" Aesthetic
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Dominant: Warm Darkness */
  --bg: #0a0908;
  --surface: #141218;
  --surface-2: #16141c;
  --surface-3: #1d1a26;

  /* Text */
  --cream: #f0ebe0;
  --cream-muted: #cdc5b8;
  --muted: #a09688;

  /* Accent: Amber Orange (from album art #FF751F), muted for dark theme */
  --gold: #e0935a;
  --gold-light: #f0a872;
  --gold-dim: rgba(224, 147, 90, 0.45);
  --gold-glow: rgba(255, 117, 31, 0.06);

  /* Borders */
  --border: rgba(224, 147, 90, 0.15);
  --border-hover: rgba(224, 147, 90, 0.3);

  /* Emergency Accent — use ONCE on entire site */
  --rose: #c97878;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-gap: clamp(100px, 12vw, 160px);
  --content-width: 720px;
  --narrow-width: 600px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
  overflow-x: hidden;
  height: -webkit-fill-available;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.3px;
  color: var(--cream-muted);
  background-color: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- iOS Safari Dynamic Island / notch background blocker ---
   Real DOM element .safe-area-top (first child of body) — more reliable than
   pseudo-elements on iOS 26. env() can return 0px in portrait (known bug);
   max() provides fallback on mobile so content never shows through the island.
   Lower z-index so nav::before can cover it on pages with navigation. */
.safe-area-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: constant(safe-area-inset-top);
  height: env(safe-area-inset-top, 0px);
  background-color: var(--bg);
  z-index: 9997;
  pointer-events: none;
}
@media (max-width: 430px) and (pointer: coarse) {
  .safe-area-top {
    height: 0;
  }
}

/* --- Grain Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- iOS Safari toolbar background blocker ---
   Sits fixed at the bottom, IN FRONT of scrolling content,
   so nothing peeks through Safari's translucent toolbar. */
body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-bottom, 34px);
  background-color: var(--bg);
  z-index: 9998;
  pointer-events: none;
}

/* --- Typography --- */

/* Artist Name (hero) */
.type-artist-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 96px);
  text-transform: uppercase;
  letter-spacing: 8px;
  color: var(--cream);
  line-height: 1.1;
}

/* Section Labels */
.type-section-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 42px);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  opacity: 0.8;
}

/* Section Titles */
.type-section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 42px);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cream);
  line-height: 1.2;
}

/* Body Copy */
.type-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.3px;
  line-height: 1.85;
  color: var(--cream-muted);
}

/* Pull Quotes */
.type-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--cream-muted);
  line-height: 1.5;
}

/* Subtitle / Tagline */
.type-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

/* Small / Meta */
.type-meta {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
}

.type-tiny {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 10px;
  color: var(--muted);
  opacity: 0.4;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 14px 40px;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  text-align: center;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--bg);
}

.btn-gold:hover {
  background-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--cream-muted);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Form Inputs --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cream-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold-dim);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238a8075' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Radio / Checkbox custom */
.form-radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--cream-muted);
}

.form-radio-label input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.form-radio-label input[type="radio"]:checked {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--surface);
}

/* --- Surface / Card --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, background-color 0.3s;
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
}

/* --- Divider with Diamond --- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-dim);
  max-width: 120px;
}

.divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold-dim);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- Fade-In Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

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

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }
.delay-5 { animation-delay: 0.75s; }

/* Scroll reveal (activated by JS) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Scroll Indicator Pulse --- */
.scroll-indicator {
  width: 1px;
  height: 40px;
  background: var(--cream);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

/* --- Streaming Link Row --- */
.stream-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--cream-muted);
  position: relative;
  transition: color 0.3s;
}

.stream-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.stream-link:hover {
  color: var(--gold);
}

.stream-link:hover::after {
  transform: scaleX(1);
}

.stream-link-arrow {
  font-size: 14px;
  transition: transform 0.3s;
}

.stream-link:hover .stream-link-arrow {
  transform: translateX(4px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: calc(24px + constant(safe-area-inset-top)) 40px 24px;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Background from start so iOS 26 Safari toolbar scanner has a color (prevents drift) */
  background: linear-gradient(to bottom, rgba(10, 9, 8, 0.25) 0%, transparent 70%);
  transition: background-color 0.3s, background 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(10, 9, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: calc(16px + constant(safe-area-inset-top)) 40px 16px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 40px 16px;
}
@media (max-width: 430px) and (pointer: coarse) {
  .nav {
    padding-top: max(47px, calc(24px + env(safe-area-inset-top, 0px)));
  }
  .nav.scrolled {
    /*padding-top: max(47px, calc(16px + env(safe-area-inset-top, 0px)));*/
  }
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--cream);
  transition: color 0.3s;
  position: relative;
  z-index: 1;
}

.nav-logo:hover {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cream-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Hamburger (mobile only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 1;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile slide panel */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 10001;
  padding: calc(80px + env(safe-area-inset-top, 0px)) 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right 0.3s ease;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile-link {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cream-muted);
  transition: color 0.3s;
}

.nav-mobile-link:hover {
  color: var(--gold);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 8, 0.7);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile bottom sticky bar */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(48px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 9, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  transition: transform 0.3s;
}

.mobile-sticky.visible {
  display: flex;
}

.mobile-sticky.hidden {
  transform: translateY(100%);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 10vh;
  padding-bottom: 10dvh;
}

/* --- Hero Image: Ken Burns cinematic pan + zoom --- */
.hero-image {
  position: absolute;
  inset: -40px;
  z-index: 0;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  animation: kenBurns 20s ease-in-out forwards;
  filter: brightness(0.82) contrast(1.05) saturate(0.9);
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-1%, -1%);
  }
}

/* Vignette: strong center darkening for text readability */
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10, 9, 8, 0.3) 0%, rgba(10, 9, 8, 0.15) 40%, var(--bg) 80%),
    linear-gradient(to bottom, transparent 40%, var(--bg) 100%),
    linear-gradient(to top, transparent 85%, var(--bg) 100%);
  z-index: 1;
}

/* --- Breathing gold glow (candlelight flicker) --- */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  animation: glowBreathe 4s ease-in-out infinite;
}

@keyframes glowBreathe {
  0%, 100% {
    background: radial-gradient(ellipse at center 40%, rgba(255, 117, 31, 0.05) 0%, transparent 55%);
  }
  50% {
    background: radial-gradient(ellipse at center 40%, rgba(255, 117, 31, 0.10) 0%, transparent 60%);
  }
}

/* --- Floating particles (golden dust motes) --- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}

.particle:nth-child(1)  { left: 15%; animation-duration: 8s;  animation-delay: 0s;    }
.particle:nth-child(2)  { left: 25%; animation-duration: 12s; animation-delay: 2s;    }
.particle:nth-child(3)  { left: 40%; animation-duration: 9s;  animation-delay: 1s;    }
.particle:nth-child(4)  { left: 55%; animation-duration: 11s; animation-delay: 3s;    }
.particle:nth-child(5)  { left: 65%; animation-duration: 10s; animation-delay: 0.5s;  }
.particle:nth-child(6)  { left: 75%; animation-duration: 13s; animation-delay: 4s;    }
.particle:nth-child(7)  { left: 85%; animation-duration: 8s;  animation-delay: 2.5s;  }
.particle:nth-child(8)  { left: 35%; animation-duration: 14s; animation-delay: 1.5s;  width: 3px; height: 3px; }
.particle:nth-child(9)  { left: 50%; animation-duration: 10s; animation-delay: 3.5s;  }
.particle:nth-child(10) { left: 20%; animation-duration: 11s; animation-delay: 5s;    }
.particle:nth-child(11) { left: 70%; animation-duration: 9s;  animation-delay: 0.8s;  width: 3px; height: 3px; }
.particle:nth-child(12) { left: 45%; animation-duration: 15s; animation-delay: 6s;    }
.particle:nth-child(13) { left: 60%; animation-duration: 7s;  animation-delay: 1.2s;  }
.particle:nth-child(14) { left: 30%; animation-duration: 12s; animation-delay: 4.5s;  width: 1px; height: 1px; }
.particle:nth-child(15) { left: 80%; animation-duration: 10s; animation-delay: 2.8s;  }

@keyframes floatUp {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
  90% {
    opacity: 0;
  }
  100% {
    transform: translateY(-20vh) translateX(30px);
    opacity: 0;
  }
}

/* --- Hero Content --- */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* --- Horizontal decorative lines that draw in --- */
.hero-line {
  width: 0;
  height: 1px;
  background: var(--gold-dim);
  animation: drawLine 1.2s ease-out forwards;
}

.hero-line-top { animation-delay: 0.3s; }
.hero-line-bottom { animation-delay: 0.8s; }

@keyframes drawLine {
  to { width: 80px; }
}

/* --- Letter-by-letter artist name --- */
.hero-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 10vw, 120px);
  text-transform: uppercase;
  letter-spacing: clamp(2px, 1.5vw, 12px);
  color: #fff;
  line-height: 1.1;
  overflow: hidden;
  position: relative;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7), 0 0 80px rgba(0, 0, 0, 0.5);
}

.hero-name .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(40deg);
  animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-name .char:nth-child(1) { animation-delay: 0.4s; }
.hero-name .char:nth-child(2) { animation-delay: 0.48s; }
.hero-name .char:nth-child(3) { animation-delay: 0.56s; }
.hero-name .char:nth-child(4) { animation-delay: 0.64s; }
.hero-name .char:nth-child(5) { animation-delay: 0.72s; }
.hero-name .char:nth-child(6) { animation-delay: 0.80s; }
.hero-name .char:nth-child(7) { animation-delay: 0.88s; }

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

/* --- Gold shimmer sweep across artist name --- */
.hero-name::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 117, 31, 0.12) 45%,
    rgba(255, 117, 31, 0.25) 50%,
    rgba(255, 117, 31, 0.12) 55%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out 1.8s forwards;
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* --- Hero label with typing line --- */
.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.15s;
}

.hero-label .type-section-label {
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--gold-light);
  opacity: 1;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

.hero-label-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
  animation: labelLineGrow 0.6s ease-out 0.3s both;
}

@keyframes labelLineGrow {
  from { width: 0; }
  to { width: 24px; }
}

/* --- Hero tagline with word reveal --- */
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 20px;
  color: var(--cream-muted);
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.1s;
  max-width: 560px;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.8);
}

/* --- CTA button with gold pulse border --- */
.hero-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 16px 48px;
  border-radius: 2px;
  cursor: pointer;
  background-color: var(--gold);
  color: var(--bg);
  position: relative;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.4s;
  transition: background-color 0.3s, transform 0.3s;
  overflow: hidden;
}

.hero-cta:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
}

/* Pulse ring around CTA */
.hero-cta::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  opacity: 0;
  animation: ctaPulse 2.5s ease-in-out 2.5s infinite;
}

@keyframes ctaPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Sweep shine on CTA */
.hero-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: ctaSweep 3s ease-in-out 2s infinite;
}

@keyframes ctaSweep {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* --- Scroll indicator enhanced --- */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.8s;
  transition: opacity 0.3s ease;
}

.hero-scroll.hidden {
  opacity: 0 !important;
  pointer-events: none;
}

.scroll-indicator {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

@keyframes scrollDot {
  0% { transform: translateY(-30px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(5px); opacity: 0; }
}

.scroll-text {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--muted);
  opacity: 0.4;
}

/* --- Scroll fade-out: hero fades as you scroll (JS-driven) --- */
.hero.scrolling-out .hero-content {
  transition: opacity 0.05s, transform 0.05s;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-image img { animation: none; }
  .hero-glow { animation: none; }
  .particle { animation: none; display: none; }
  .hero-name .char {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-name::after { animation: none; display: none; }
  .hero-cta::before,
  .hero-cta::after { animation: none; }
  .scroll-indicator::before { animation: none; }
  .hero-label,
  .hero-tagline,
  .hero-cta,
  .hero-scroll { opacity: 1; animation: none; }
}

/* --- Section Layout --- */
section {
  padding: var(--section-gap) 40px;
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-narrow {
  max-width: var(--narrow-width);
  margin: 0 auto;
}

.section-label {
  margin-bottom: 32px;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.about-photo {
  position: relative;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: var(--cream-muted);
}

.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--gold);
}

/* --- Events Section --- */
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  padding: 40px;
  max-width: 560px;
}

.event-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cream);
  margin-bottom: 4px;
}

.event-subtitle {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

.event-detail {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--cream-muted);
  margin-bottom: 8px;
}

.event-description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  margin: 20px 0;
  line-height: 1.7;
}

/* --- Vinyl Section --- */
.vinyl-image {
  max-width: 900px;
  margin: 0 auto 40px;
}

.vinyl-image img {
  width: 100%;
  border: 1px solid var(--border);
}

/* --- Gallery Masonry --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

/* --- Connect / Footer --- */
.connect {
  text-align: center;
  padding: var(--section-gap) 40px 60px;
}

.connect-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
  color: var(--rose);
  margin-bottom: 32px;
}

.subscribe-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.subscribe-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--cream);
  font-size: 16px;
}

.subscribe-input::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.subscribe-btn {
  padding: 12px 24px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-btn:hover {
  background: var(--gold-light);
}

.connect-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.copyright {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 10px;
  color: var(--muted);
  opacity: 0.4;
  margin-top: 40px;
}

/* --- Form Success Message --- */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--border);
  background: radial-gradient(ellipse at center, rgba(224, 147, 90, 0.06) 0%, transparent 70%);
  border-radius: 2px;
  margin-top: 24px;
}

.form-success.visible {
  display: block;
  animation: successReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.form-success h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  color: var(--cream);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--cream-muted);
  font-size: 14px;
}

.success-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  opacity: 0;
  transform: scale(0.5);
  animation: checkPop 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes checkPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Loading State --- */
.btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

/* --- Listen Page (Link-in-Bio) --- */
.listen-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(40px + env(safe-area-inset-top, 0px)) 20px calc(40px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 430px) and (pointer: coarse) {
  .listen-page {
    padding-top: max(87px, calc(40px + env(safe-area-inset-top, 0px)));
  }
}

.listen-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.listen-art {
  width: 180px;
  height: 180px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.listen-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listen-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--cream-muted);
  transition: border-color 0.3s, color 0.3s;
}

.listen-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.listen-secondary {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}

.listen-secondary:hover {
  color: var(--gold);
}

/* --- RSVP / Form Pages --- */
.form-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(60px + env(safe-area-inset-top, 0px)) 20px calc(60px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 430px) and (pointer: coarse) {
  .form-page {
    padding-top: max(107px, calc(60px + env(safe-area-inset-top, 0px)));
  }
}

.form-container {
  width: 100%;
  max-width: 520px;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header-label {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 12px;
}

.form-header-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 5vw, 40px);
  color: var(--cream);
  margin-bottom: 16px;
}

.form-header-details {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--cream-muted);
  line-height: 1.7;
}

.form-header-details strong {
  font-weight: 400;
  color: var(--cream);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}

/* --- Vinyl Color Swatches --- */
.color-swatches {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.color-swatch input[type="radio"] {
  display: none;
}

.color-swatch-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.color-swatch input[type="radio"]:checked + .color-swatch-circle {
  border-color: var(--cream);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--cream);
  transform: scale(1.1);
}

.color-swatch-label {
  font-size: 11px;
  color: var(--cream-muted);
  text-align: center;
}

/* --- Check-in Page --- */
.checkin-step {
  display: none;
}

.checkin-step.active {
  display: block;
}

.feedback-card {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.feedback-card.open {
  border-color: var(--border-hover);
}

.feedback-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--cream-muted);
  transition: color 0.3s;
}

.feedback-question:hover {
  color: var(--cream);
}

.feedback-question-icon {
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.3s;
}

.feedback-card.open .feedback-question-icon {
  transform: rotate(45deg);
}

.feedback-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.feedback-card.open .feedback-answer {
  max-height: 200px;
}

.feedback-answer textarea {
  width: 100%;
  padding: 0 20px 16px;
  background: transparent;
  color: var(--cream);
  font-size: 14px;
  resize: none;
  min-height: 80px;
}

/* --- Vinyl Thank You Page --- */
.vinyl-thank-you {
  padding: 20px 0 40px;
}

.vinyl-thank-you.visible {
  display: block;
  animation: fadeUp 0.8s ease forwards;
}

/* Spinning vinyl disc */
.vinyl-disc-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.vinyl-disc {
  --disc-base: #1a1a1a;
  --disc-groove: #2a2a2a;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--disc-base) 0deg,
    var(--disc-groove) 30deg,
    var(--disc-base) 60deg,
    var(--disc-groove) 90deg,
    var(--disc-base) 120deg,
    var(--disc-groove) 150deg,
    var(--disc-base) 180deg,
    var(--disc-groove) 210deg,
    var(--disc-base) 240deg,
    var(--disc-groove) 270deg,
    var(--disc-base) 300deg,
    var(--disc-groove) 330deg,
    var(--disc-base) 360deg
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  animation: vinylSpin 4s linear infinite;
}

.vinyl-disc-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
}

.vinyl-disc-inner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg);
}

@keyframes vinylSpin {
  to { transform: rotate(360deg); }
}

.vinyl-ty-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  color: var(--cream);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.vinyl-ty-color {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.5s forwards;
}

.vinyl-ty-color-name {
  color: var(--gold);
  font-weight: 400;
}

.vinyl-ty-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px 0;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.6s forwards;
}

.vinyl-ty-divider::before,
.vinyl-ty-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-dim);
  max-width: 80px;
}

.vinyl-ty-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--cream-muted);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.7s forwards;
}

.vinyl-ty-details {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 32px 0;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.8s forwards;
}

.vinyl-ty-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vinyl-ty-detail-label {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.vinyl-ty-detail-value {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--cream);
}

.vinyl-ty-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  margin-top: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.9s forwards;
}

@media (max-width: 480px) {
  .vinyl-ty-details {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    --section-gap: 56px;
  }

  section {
    padding: var(--section-gap) 20px;
  }

  .nav {
    padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding-bottom: 12vh;
    padding-bottom: 12dvh;
  }

  .hero-image img {
    object-position: center center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo img {
    min-height: 300px;
  }

  .event-card {
    padding: 28px 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-btn {
    padding: 14px;
  }

  .connect {
    padding: var(--section-gap) 20px calc(72px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  :root {
    --section-gap: 48px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .color-swatches {
    justify-content: center;
  }

  .hero-scroll {
    margin-top: 20px;
  }

  .hero-scroll .scroll-indicator {
    height: 28px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
