/* ============================================
   PAYAL — Girlfriend's Day Gift Site
   Design System + Full Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-deep: #1A0F14;
  --bg-card: #241620;
  --bg-card-hover: #2E1C28;
  --blush: #F4C7C3;
  --rose-gold: #E8B4A0;
  --cream: #FDF6F0;
  --cream-dim: rgba(253, 246, 240, 0.6);
  --wine: #6B2D4A;
  --wine-light: #8B3D5E;
  --plum: #3D1A2E;
  --heart-red: #E85D75;
  --gold: #D4A574;
  --shadow-warm: rgba(232, 180, 160, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.4);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-script: 'Caveat', cursive;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rose-gold); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--rose-gold), var(--blush), var(--rose-gold));
  z-index: 10000;
  transition: none;
}

/* --- Custom Cursor (desktop only) --- */
.cursor-dot {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    display: block;
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--rose-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), opacity 0.3s;
    opacity: 0;
    box-shadow: 0 0 15px var(--rose-gold), 0 0 30px rgba(232, 180, 160, 0.3);
  }
  .cursor-dot.visible { opacity: 1; }
  .cursor-dot.hovering {
    width: 30px;
    height: 30px;
    opacity: 0.7;
  }
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.preloader svg {
  width: 80px;
  height: 80px;
}
.preloader svg path {
  fill: none;
  stroke: var(--blush);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.preloader-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--cream-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.preloader-percent {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--blush);
  font-weight: 600;
}

/* --- Section Base --- */
section {
  position: relative;
  padding: 5rem 1.5rem;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* ===========================
   A. HERO
   =========================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
}
.hero-bg-photos {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-photo {
  position: absolute;
  width: 280px;
  height: auto;
  opacity: 0.08;
  border-radius: 12px;
  filter: blur(1px) saturate(0.6);
  will-change: transform;
}
.hero-bg-photo:nth-child(1) { top: 5%; left: -5%; transform: rotate(-8deg); }
.hero-bg-photo:nth-child(2) { top: 15%; right: -8%; transform: rotate(5deg); }
.hero-bg-photo:nth-child(3) { bottom: 10%; left: 10%; transform: rotate(-3deg); }
.hero-bg-photo:nth-child(4) { bottom: 5%; right: 5%; transform: rotate(7deg); }

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-name span {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
}
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--blush);
  min-height: 2em;
  opacity: 0;
}
.hero-subtitle .cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--blush);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--cream-dim);
  border-bottom: 1.5px solid var(--cream-dim);
  transform: rotate(45deg);
  animation: bounce-arrow 2s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ===========================
   B. COUNTER
   =========================== */
.counter-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.counter-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 700;
  color: var(--blush);
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
}
.counter-number::after {
  content: 'days';
  display: block;
  font-size: 0.15em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-gold);
  font-weight: 400;
  margin-top: 0.5em;
}
.counter-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--cream-dim);
  max-width: 500px;
  margin-top: 2rem;
  opacity: 0;
}

/* ===========================
   C. TIMELINE
   =========================== */
.timeline-section {
  padding: 5rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.timeline-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 4rem;
  color: var(--cream);
}
.timeline {
  position: relative;
  padding: 0;
}
.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--plum);
}
.timeline-line-fill {
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--rose-gold), var(--blush));
  box-shadow: 0 0 8px var(--rose-gold);
}
.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}
.timeline-dot {
  position: absolute;
  left: 13px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--rose-gold);
  z-index: 1;
}
.timeline-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--rose-gold);
  opacity: 0;
  transition: opacity 0.3s;
}
.timeline-item.is-active .timeline-dot::after { opacity: 1; }

.timeline-date {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.timeline-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow-dark), 0 0 0 1px rgba(255,255,255,0.03);
  transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s;
}
.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--shadow-dark), 0 0 0 1px rgba(232, 180, 160, 0.1);
}
.timeline-card img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.timeline-caption {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--blush);
  line-height: 1.5;
}

/* Desktop: alternating layout */
@media (min-width: 768px) {
  .timeline-line, .timeline-line-fill {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    width: 50%;
    padding-left: 0;
  }
  .timeline-item:nth-child(odd) {
    padding-right: 3rem;
    margin-left: 0;
    text-align: right;
  }
  .timeline-item:nth-child(even) {
    padding-left: 3rem;
    margin-left: 50%;
  }
  .timeline-item:nth-child(odd) .timeline-dot {
    left: auto;
    right: -8px;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
  }
  .timeline-item:nth-child(odd) {
    transform: translateX(-30px) scale(0.95);
  }
  .timeline-item:nth-child(even) {
    transform: translateX(30px) scale(0.95);
  }
}

/* ===========================
   D. GALLERY (Masonry)
   =========================== */
.gallery-section {
  padding: 5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
}
.masonry-grid {
  columns: 2;
  column-gap: 12px;
}
@media (min-width: 768px) {
  .masonry-grid { columns: 3; column-gap: 16px; }
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s;
  box-shadow: 0 4px 20px var(--shadow-dark);
}
.masonry-item:nth-child(3n+1) { transform: rotate(-1.5deg); }
.masonry-item:nth-child(3n+2) { transform: rotate(1deg); }
.masonry-item:nth-child(3n) { transform: rotate(-0.5deg); }

.masonry-item:hover {
  transform: rotate(0deg) scale(1.03) translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-warm);
  z-index: 2;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: filter 0.4s;
  filter: brightness(0.9) saturate(0.95);
}
.masonry-item:hover img {
  filter: brightness(1.05) saturate(1.1);
}
.masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-quart);
}
.masonry-item:hover .masonry-overlay {
  transform: translateY(0);
}
.masonry-overlay p {
  font-family: var(--font-script);
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.4;
}

/* --- Image placeholder / lazy load --- */
.img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--plum);
}
.img-wrapper img {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-quart);
}
.img-wrapper img.loaded {
  opacity: 1;
}

/* ===========================
   E. LIGHTBOX
   =========================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(10, 5, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-quart);
  backdrop-filter: blur(10px);
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  transition: transform 0.5s var(--ease-out-expo), opacity 0.4s;
}
.lightbox-caption {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--blush);
  text-align: center;
  max-width: 80%;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cream);
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cream);
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: background 0.3s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.15); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ===========================
   F. FLIP CARDS - Reasons
   =========================== */
.reasons-section {
  padding: 5rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.reasons-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
}
.reasons-section .section-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream-dim);
  text-align: center;
  margin-bottom: 3rem;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .reasons-grid { grid-template-columns: repeat(4, 1fr); }
}
.flip-card {
  aspect-ratio: 3/4;
  perspective: 800px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out-expo);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.flip-card-front {
  background: linear-gradient(135deg, var(--wine), var(--plum));
  border: 1px solid rgba(232, 180, 160, 0.15);
  flex-direction: column;
  gap: 0.5rem;
}
.flip-card-front .card-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blush);
}
.flip-card-front .card-heart {
  font-size: 1rem;
  color: var(--heart-red);
}
.flip-card-back {
  background: linear-gradient(135deg, var(--rose-gold), var(--blush));
  transform: rotateY(180deg);
}
.flip-card-back p {
  font-family: var(--font-script);
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  color: var(--bg-deep);
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
}

/* ===========================
   G. LETTER (Envelope)
   =========================== */
.letter-section {
  padding: 5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}
.letter-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
}
.envelope-container {
  position: relative;
  width: min(340px, 90vw);
  cursor: pointer;
  perspective: 1000px;
}
.envelope {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f5e6d3, #e8d5c0);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: transform 0.4s;
}
.envelope:hover { transform: translateY(-4px); }
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(145deg, #ecdcc8, #deccb5);
  clip-path: polygon(0 0, 50% 70%, 100% 0);
  transform-origin: top center;
  transition: transform 0.6s var(--ease-out-expo);
  z-index: 2;
}
.envelope.opened .envelope-flap {
  transform: rotateX(180deg);
}
.envelope-seal {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B2252, #6B1A3A);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: opacity 0.3s, transform 0.3s;
}
.envelope.opened .envelope-seal { opacity: 0; transform: translate(-50%, -50%) scale(0); }
.envelope-seal::after {
  content: '♥';
  font-size: 1.2rem;
  color: var(--blush);
}
.envelope-body {
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 70%;
  background: white;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.envelope-tap-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  animation: pulse-hint 2s ease-in-out infinite;
}
@keyframes pulse-hint { 50% { opacity: 0.5; } }

/* Letter content (shown after envelope opens) */
.letter-content {
  width: min(600px, 90vw);
  background: #FFF9F2;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  color: #2A1520;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: none;
  opacity: 0;
  transform: translateY(40px);
}
.letter-content.visible {
  display: block;
}
.letter-content .letter-greeting {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--wine);
  margin-bottom: 1.5rem;
}
.letter-content .letter-body {
  font-family: var(--font-script);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #3D2030;
}
.letter-content .letter-body p {
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
}
.letter-content .letter-sign {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--wine);
  margin-top: 2rem;
  text-align: right;
  opacity: 0;
}

/* ===========================
   H. HEART BURST
   =========================== */
.hearts-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  user-select: none;
  -webkit-user-select: none;
}
.hearts-section .section-prompt {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-style: italic;
  color: var(--blush);
  pointer-events: none;
  z-index: 1;
  position: relative;
}
.hearts-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.heart-counter {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--cream-dim);
  margin-top: 1.5rem;
  letter-spacing: 0.1em;
  pointer-events: none;
}

/* ===========================
   I. FINALE
   =========================== */
.finale-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
}
.finale-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  opacity: 0;
  transform: scale(0.8);
}
.finale-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-style: italic;
  color: var(--rose-gold);
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.finale-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ===========================
   MUSIC TOGGLE
   =========================== */
.music-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
}
.music-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(100, 40, 60, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  border: 1px solid rgba(232, 180, 160, 0.2);
  font-size: 0.8rem;
  color: var(--cream);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.music-pill:hover {
  background: rgba(120, 50, 70, 0.9);
  transform: scale(1.05);
}
.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.music-bars span {
  display: block;
  width: 3px;
  background: var(--blush);
  border-radius: 1px;
  transition: height 0.2s;
}
.music-bars.playing span:nth-child(1) { animation: bar1 0.8s ease-in-out infinite; }
.music-bars.playing span:nth-child(2) { animation: bar2 0.6s ease-in-out infinite 0.1s; }
.music-bars.playing span:nth-child(3) { animation: bar3 0.7s ease-in-out infinite 0.2s; }
.music-bars:not(.playing) span { height: 4px !important; }

@keyframes bar1 { 0%,100% { height: 4px; } 50% { height: 14px; } }
@keyframes bar2 { 0%,100% { height: 8px; } 50% { height: 4px; } }
@keyframes bar3 { 0%,100% { height: 6px; } 50% { height: 12px; } }

/* ===========================
   REDUCED MOTION
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-name span {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .timeline-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .masonry-item { transform: rotate(0deg) !important; }
  .scroll-indicator { opacity: 1 !important; }
  .hero-subtitle { opacity: 1 !important; }
  .counter-text { opacity: 1 !important; }
}

/* ===========================
   UTILITY
   =========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Smooth section overlaps */
section + section {
  margin-top: -2rem;
}
