/* ===========================================
   MUZIEK MET GEVOEL - Design System
   Premium personal music composition service
   =========================================== */

/* Per-page palette shift — subtle mood differentiation */
body.page-uitvaart {
  --color-accent-gold: #b8a070; /* cooler, more aged bronze-gold */
}
body.page-vieren {
  --color-accent-gold: #dcb977; /* warmer honey-amber */
}

/* Vieren hero — dark-left gradient so H1 gold reads over bar scene */
body.page-vieren .hero__overlay {
  background:
    linear-gradient(90deg, rgba(15, 15, 45, 0.55) 0%, rgba(15, 15, 45, 0.3) 35%, rgba(15, 15, 45, 0.05) 60%, transparent 85%),
    linear-gradient(180deg, rgba(15, 15, 45, 0.25) 0%, rgba(15, 15, 45, 0.1) 50%, rgba(15, 15, 45, 0.35) 100%);
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors */
  --color-primary-dark: #0f0f2d;
  --color-primary-light: #faf9f6;
  --color-accent-gold: #c9a962;
  --color-accent-funeral: #7c9885;
  --color-accent-celebration: #d4a574;

  /* Derived colors */
  --color-text-dark: #1a1a2e;
  --color-text-light: #ffffff;
  --color-text-muted: #6b7280;
  --color-overlay-dark: rgba(15, 15, 45, 0.7);
  --color-overlay-light: rgba(15, 15, 45, 0.5);
  --color-glass-bg: rgba(255, 255, 255, 0.08);
  --color-glass-border: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing - generous for luxury feel */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 5rem;
  --space-xl: 8rem;
  --space-2xl: 10rem;
  --space-3xl: 14rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-text: 700px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease-out;

  /* Borders */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 50px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--color-text-dark);
  background-color: var(--color-primary-light);
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
}

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

/* Ensure all canvas elements don't block touches */
canvas {
  pointer-events: none;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

.text-light {
  color: var(--color-text-light);
}

.text-muted {
  color: var(--color-text-muted);
}

.tagline {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-sm);
}

.subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-top: var(--space-sm);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-text);
}

section {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-light);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background-color var(--transition-normal),
    padding var(--transition-normal),
    box-shadow var(--transition-normal);
}

.header--scrolled {
  background-color: var(--color-primary-dark);
  padding: var(--space-xs) 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Solid header for pages without hero */
.header--solid {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__list {
  display: flex;
  gap: var(--space-md);
}

.nav__link {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  font-weight: 400;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent-gold);
  transition: width var(--transition-normal);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-accent-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle__bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-light);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.menu-toggle--active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle--active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle--active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Panel */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--color-primary-dark);
  padding: calc(var(--header-height) + var(--space-md)) var(--space-md) var(--space-md);
  transition: right var(--transition-normal);
  z-index: 999;
}

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

.nav-mobile__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav-mobile__link {
  display: block;
  color: var(--color-text-light);
  font-size: 1.25rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-glass-border);
  transition: color var(--transition-fast);
}

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

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 998;
  pointer-events: none;
  /* CRITICAL: Don't block touches when invisible */
}

.nav-overlay--visible {
  opacity: 1;
  pointer-events: auto;
  /* Enable touches only when visible */
}

/* ===== HERO SECTIONS ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
  overflow: hidden;
}

.hero--medium {
  min-height: 70vh;
}

.hero--small {
  min-height: 50vh;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.95) saturate(1);
  transition: filter 3.5s ease-out, transform 3.5s ease-out;
}

/* Premium "lamp glow" hover effect — subtle */
.hero:hover .hero__background {
  filter: brightness(1.05) saturate(1.08);
  transform: scale(1.01);
  transition: filter 1.5s ease-in, transform 1.5s ease-in;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(15, 15, 45, 0.35) 0%,
      rgba(15, 15, 45, 0.55) 40%,
      rgba(15, 15, 45, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 3.5s ease-out;
}

/* Overlay fades slightly on hover to reveal warm glow */
.hero:hover .hero__overlay {
  opacity: 0.92;
  transition: opacity 1.5s ease-in;
}

/* Hero vignette — no hover change (gradients can't transition) */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center,
      transparent 30%,
      rgba(15, 15, 45, 0.3) 70%,
      rgba(15, 15, 45, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transition: opacity 3.5s ease-out;
}

/* Subtle vignette fade on hover */
.hero:hover::after {
  opacity: 0.85;
  transition: opacity 1.5s ease-in;
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding: var(--space-md);
}

.hero__content h1 {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-light);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-indicator__icon {
  width: 30px;
  height: 50px;
  border: 2px solid var(--color-text-light);
  border-radius: 25px;
  position: relative;
}

.scroll-indicator__icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 10px;
  background-color: var(--color-text-light);
  border-radius: 3px;
  animation: scrollDown 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    top: 8px;
  }

  100% {
    opacity: 0;
    top: 25px;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--border-radius-full);
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-normal);
  /* iOS fixes */
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
}

.btn--primary {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 169, 98, 0.4);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border: 2px solid var(--color-text-light);
}

.btn--secondary:hover {
  background-color: var(--color-text-light);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

.btn--large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn--small {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn--subtle {
  background: transparent;
  color: var(--color-accent-gold);
  border: none;
  padding: 0.5rem 0;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}

.btn--subtle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-gold);
  transition: width 0.3s ease;
}

.btn--subtle:hover {
  background: transparent;
  transform: none;
}

.btn--subtle:hover::after {
  width: 100%;
}

/* ===== CARDS ===== */
.card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Split Path Cards (Homepage) */
.split-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Wrapper link for entire card (iOS tap fix) */
.path-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: rgba(201, 169, 98, 0.2);
  touch-action: manipulation;
}

.path-card {
  position: relative;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  color: var(--color-text-light);

  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);

  /* Hover transitions */
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    inset 0 0 60px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Gradient backgrounds */
.path-card__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  transition: opacity 0.4s ease;
}

.path-card--uitvaart .path-card__gradient {
  background:
    linear-gradient(135deg,
      rgba(15, 15, 45, 0.75) 0%,
      rgba(26, 26, 61, 0.65) 30%,
      rgba(143, 173, 152, 0.55) 100%),
    url('../images/card-uitvaart.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.95);
  transition: filter 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s ease;
}

.path-card--vieren .path-card__gradient {
  background:
    linear-gradient(135deg,
      rgba(201, 169, 98, 0.65) 0%,
      rgba(224, 176, 120, 0.55) 50%,
      rgba(212, 176, 106, 0.5) 100%),
    url('../images/card-vieren.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.95);
  transition: filter 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s ease;
}

/* Premium "candle glow" hover - lights up on hover */
.path-card--uitvaart:hover .path-card__gradient {
  background:
    linear-gradient(135deg,
      rgba(15, 15, 45, 0.5) 0%,
      rgba(37, 37, 85, 0.35) 30%,
      rgba(143, 173, 152, 0.25) 100%),
    url('../images/card-uitvaart.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(1.2) saturate(1.15);
  transform: scale(1.02);
}

.path-card--vieren:hover .path-card__gradient {
  background:
    linear-gradient(135deg,
      rgba(224, 181, 133, 0.4) 0%,
      rgba(240, 200, 136, 0.3) 50%,
      rgba(212, 176, 106, 0.25) 100%),
    url('../images/card-vieren.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(1.25) saturate(1.2);
  transform: scale(1.02);
}

/* Warm glow bloom effect on cards */
.path-card--uitvaart::after,
.path-card--vieren::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  width: 80%;
  height: 60%;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.path-card--uitvaart::after {
  background: radial-gradient(ellipse at center,
    rgba(255, 220, 180, 0.25) 0%,
    rgba(255, 200, 150, 0.1) 50%,
    transparent 70%);
}

.path-card--vieren::after {
  background: radial-gradient(ellipse at center,
    rgba(255, 215, 140, 0.3) 0%,
    rgba(255, 200, 100, 0.15) 50%,
    transparent 70%);
}

.path-card:hover::after {
  opacity: 1;
}

/* Particles canvas */
.path-card__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* SVG Icon styling */
.path-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.4);
  animation: iconFloat 3s ease-in-out infinite;
}

.path-card__icon svg {
  width: 100%;
  height: 100%;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.path-card__title {
  font-size: 1.75rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.path-card__text {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-md);
  max-width: 350px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ===== iOS TAP FIX - AGGRESSIVE ===== */
/* Create stacking context to isolate layers */
.path-card {
  isolation: isolate;
}

/* Ensure all links/buttons in path-card are above everything */
.path-card a,
.path-card .btn {
  position: relative;
  z-index: 100;
}

/* Kill ALL pseudo-elements on buttons/links - they block iOS taps */
.btn::before,
.btn::after,
.path-card a::before,
.path-card a::after,
.path-card .btn::before,
.path-card .btn::after,
a.btn::before,
a.btn::after,
button::before,
button::after {
  pointer-events: none !important;
}

/* Temporarily disable hover effects that expand pseudo-elements */
.btn:hover::before,
.btn:hover::after {
  display: none;
}

/* MOBILE: Hide particle canvas to prevent tap blocking */
@media (max-width: 1024px) {

  .path-card__particles,
  .path-card canvas {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Also ensure no pseudo-elements block taps */
  .path-card::before,
  .path-card::after {
    display: none !important;
  }
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.feature-card {
  text-align: center;
  padding: var(--space-md);
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--color-glass-bg);
  border-radius: 50%;
  border: 1px solid var(--color-glass-border);
}

.feature-card__title {
  margin-bottom: var(--space-xs);
}

/* Occasion Cards */
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.occasion-card {
  background: var(--color-primary-light);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  text-align: center;
  border: 1px solid rgba(212, 165, 116, 0.2);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.occasion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(212, 165, 116, 0.2);
}

.occasion-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--color-accent-celebration), #e8c49a);
  border-radius: var(--border-radius-md);
  color: var(--color-text-light);
}

.occasion-card__icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-text-light);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.occasion-card__title {
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.occasion-card__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ===== AUDIO PLAYER CARDS ===== */
.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.audio-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
}

.audio-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.audio-card__title {
  font-size: 1.25rem;
  color: var(--color-text-light);
}

.audio-card__badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
  border-radius: var(--border-radius-full);
  font-weight: 500;
}

.audio-card__description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.audio-player__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
}

.audio-player__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(201, 169, 98, 0.5);
}

.audio-player__btn svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary-dark);
}

.audio-player__progress {
  flex: 1;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.audio-player__progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--color-accent-gold);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.audio-player__time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  min-width: 40px;
  text-align: right;
}

/* ===== PROCESS STEPS ===== */
.process {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.process-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: calc(-1 * var(--space-lg) / 2 - 50px);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-gold), transparent);
}

.process-step__number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  background-color: var(--color-accent-gold);
  border-radius: 50%;
}

.process-step__title {
  margin-bottom: var(--space-xs);
}

.process-step__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Dark section process */
.section--dark .process-step__text {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== FORMS - Modern Premium Style ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.form-group:focus-within label {
  color: var(--color-accent-gold);
}

.form-input,
.form-textarea,
.form-select {
  padding: 1.125rem 1.5rem;
  border: 2px solid rgba(15, 15, 45, 0.1);
  border-radius: var(--border-radius-md);
  background-color: #ffffff;
  transition: all var(--transition-normal);
  font-size: 1rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(15, 15, 45, 0.35);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: rgba(201, 169, 98, 0.4);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.15),
              0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c9a962' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.form-select option {
  padding: 0.75rem;
}

/* Form title */
.form-title {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(201, 169, 98, 0.2);
}

/* Submit button enhancement */
.contact-form .btn {
  margin-top: var(--space-sm);
  padding: 1.25rem 2rem;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}

/* Micro-copy under submit */
.form-microcopy {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* ===== CTA SECTIONS ===== */
.cta-section {
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
}

.cta-card h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

/* Warm gradient CTA */
.cta-section--warm {
  background: linear-gradient(135deg, var(--color-accent-celebration), #e8c49a);
}

.cta-section--warm h2,
.cta-section--warm p {
  color: var(--color-primary-dark);
}

/* ===== TWO COLUMN LAYOUTS ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.two-col--reversed {
  direction: rtl;
}

.two-col--reversed>* {
  direction: ltr;
}

/* ===== INTRO FEATURES ===== */
.intro-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.intro-feature__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.intro-feature__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary-dark);
}

.intro-feature__content h4 {
  margin-bottom: 0.25rem;
}

.intro-feature__content p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* ===== PRICING ===== */
.pricing {
  text-align: center;
  padding: var(--space-lg) 0;
  background-color: rgba(212, 165, 116, 0.1);
  border-radius: var(--border-radius-lg);
  margin: var(--space-lg) auto;
  max-width: 600px;
}

.pricing__amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.pricing__note {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ===== HERO TRANSITION ===== */
.hero-transition {
  height: 120px;
  margin-top: -1px;
}

.hero-transition--warm {
  height: 80px;
  background: linear-gradient(to bottom,
    rgba(15, 15, 45, 0) 0%,
    rgba(15, 15, 45, 0.6) 55%,
    rgba(15, 15, 45, 1) 100%);
}

.hero-transition--dark {
  background: linear-gradient(to bottom,
    rgba(15, 15, 45, 0.9) 0%,
    var(--color-primary-light) 100%);
}

/* ===== TRUST SIGNAL ===== */
.trust-signal {
  padding: var(--space-md) 0;
  background: linear-gradient(to bottom, var(--color-primary-dark), transparent);
}

.trust-signal__text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  margin: 0;
}

.trust-signal__icon {
  color: var(--color-accent-gold);
  margin-right: var(--space-xs);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-text-light);
}

.footer__nav {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

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

.footer__contact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__phone,
.footer__email {
  color: var(--color-accent-gold);
  font-size: 1rem;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer__phone:hover,
.footer__email:hover {
  opacity: 0.8;
}

.footer__divider {
  color: rgba(255, 255, 255, 0.3);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__privacy-link {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

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

.footer__company {
  font-size: 0.75rem;
}

.footer__company-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.footer__company-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__company-logo {
  height: 28px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-fast);
}

.footer__company-link:hover .footer__company-logo {
  opacity: 1;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info {
  padding: var(--space-md);
}

.contact-info__text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.contact-info__email {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-sm);
}

.contact-info__response {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.contact-form-container {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02),
              0 12px 24px rgba(0, 0, 0, 0.04),
              0 24px 48px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .occasion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    flex-direction: column;
    align-items: center;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-md);
  }

  .footer__contact {
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }

  /* Container padding for mobile */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Navigation */
  .nav__list {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .nav-mobile {
    display: block;
  }

  .nav-overlay {
    display: block;
  }

  /* Mobile nav links - larger touch targets */
  .nav-mobile__link {
    padding: 12px 16px;
    font-size: 1.125rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Hero text sizing */
  .hero__content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero__content .subtitle {
    font-size: 1rem;
  }

  /* Split section cards stack */
  .split-section {
    grid-template-columns: 1fr;
    padding: var(--space-md) 20px;
    gap: var(--space-md);
  }

  .path-card {
    min-height: 400px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .two-col--reversed {
    direction: ltr;
  }

  /* Contact form */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info__email {
    justify-content: center;
  }

  .contact-form-container {
    padding: var(--space-md);
  }

  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px;
    /* Prevents iOS zoom */
    padding: 14px 16px;
    min-height: 48px;
  }

  /* Audio grid */
  .audio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .audio-card {
    padding: 28px;
  }

  .audio-card__title {
    font-size: 22px;
  }

  .audio-player__btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .audio-player__time {
    min-width: 60px;
    font-size: 11px;
  }

  /* Occasion grid */
  .occasion-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .occasion-card {
    padding: var(--space-md);
  }

  /* Buttons */
  .btn {
    min-height: 48px;
    padding: 14px 24px;
  }

  .btn--large {
    padding: 16px 28px;
  }

  /* Footer links - larger touch targets */
  .footer__nav-link {
    padding: 8px 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 2.5rem;
    --space-xl: 3rem;
  }

  /* Container padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Typography - ensure readability */
  body {
    font-size: 1rem;
    /* 16px base */
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Hero adjustments */
  .hero__content {
    padding: var(--space-sm);
  }

  .hero__content h1 {
    font-size: 1.625rem;
    line-height: 1.3;
  }

  /* Full width buttons */
  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Cards */
  .path-card {
    min-height: 350px;
    padding: var(--space-md);
  }

  .audio-card {
    padding: 24px;
  }

  .audio-card__title {
    font-size: 20px;
  }

  .audio-card__description {
    font-size: 14px;
  }

  /* Coming soon placeholder */
  .coming-soon-placeholder {
    padding: 40px 24px;
  }

  .coming-soon-placeholder__text {
    font-size: 18px;
  }

  /* Pricing */
  .pricing__amount {
    font-size: 2.5rem;
  }

  /* Process steps */
  .process-step {
    padding: var(--space-sm);
  }

  .process-step__number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  /* CTA section */
  .cta-card {
    padding: var(--space-md);
  }

  /* Intro features */
  .intro-feature {
    flex-direction: column;
    text-align: center;
  }

  .intro-feature__icon {
    margin-bottom: var(--space-xs);
  }
}

/* Extra small devices (iPhone SE, small Android) */
@media (max-width: 375px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__content h1 {
    font-size: 1.5rem;
  }

  .hero__content .subtitle {
    font-size: 0.9375rem;
  }

  .audio-card {
    padding: 20px;
  }

  .audio-card__title {
    font-size: 18px;
  }

  .audio-player {
    flex-wrap: wrap;
    gap: 12px;
  }

  .audio-player__progress {
    order: 3;
    width: 100%;
  }

  .audio-player__time {
    order: 2;
    min-width: auto;
  }

  .path-card {
    min-height: 320px;
    padding: 24px;
  }

  .path-card__title {
    font-size: 1.5rem;
  }

  .path-card__subtitle {
    font-size: 0.875rem;
  }

  .btn--large {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }
}

/* ===========================================
   COMPOSER SECTION - The Human Behind the Music
   =========================================== */

.section--composer {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, rgba(201, 169, 98, 0.08) 100%);
  padding: var(--space-2xl) 0;
}

.composer-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.composer-block__image {
  position: relative;
  width: 300px;
  height: 340px;
  overflow: visible;
  box-shadow: none;
}

/* Animated organic blob shape */
.composer-block__blob {
  display: none;
}

@keyframes blobMorph {
  0%, 100% {
    border-radius: 60% 40% 35% 65% / 55% 35% 65% 45%;
  }
  33% {
    border-radius: 45% 55% 50% 50% / 50% 50% 50% 50%;
  }
  66% {
    border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
  }
}

.composer-block__photo-wrapper {
  position: relative;
  width: 260px;
  height: 300px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  z-index: 1;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 0 80px rgba(201, 169, 98, 0.08);
  animation: blobMorph 15s ease-in-out infinite;
}

@keyframes blobMorph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: translateY(0) scale(1);
  }
  25% {
    border-radius: 58% 42% 35% 65% / 55% 30% 70% 45%;
    transform: translateY(-5px) scale(1.02);
  }
  50% {
    border-radius: 45% 55% 60% 40% / 40% 65% 35% 60%;
    transform: translateY(0) scale(0.98);
  }
  75% {
    border-radius: 60% 40% 45% 55% / 50% 40% 60% 50%;
    transform: translateY(5px) scale(1.01);
  }
}

.composer-block__photo-wrapper:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.18),
    0 0 100px rgba(201, 169, 98, 0.12);
}

.composer-block__photo {
  width: 100%;
  height: 105%;
  object-fit: cover;
  object-position: center top;
}

.composer-block__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.composer-block__phone {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-accent-gold);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.composer-block__phone:hover {
  opacity: 0.8;
}

.composer-block__divider {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.composer-block__placeholder {
  width: 280px;
  height: 340px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1a1a3d 100%);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-gold);
  opacity: 0.6;
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.composer-block__placeholder svg {
  width: 80px;
  height: 80px;
}

/* Photo hover effect - grayscale transition */
.composer-block__photo-wrapper:hover .composer-block__photo {
  filter: grayscale(0%);
}

.composer-block__photo {
  filter: grayscale(20%);
  transition: filter var(--transition-normal);
}

.composer-block__content {
  padding: var(--space-md) 0;
}

.composer-block__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-xs);
}

.composer-block__name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.composer-block__bio {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
  max-width: 520px;
}

.composer-block__bio:last-of-type {
  margin-bottom: var(--space-md);
}

.composer-block__stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(201, 169, 98, 0.2);
}

.composer-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.composer-stat__number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.composer-stat__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-transform: lowercase;
}

/* Responsive */
@media (max-width: 768px) {
  .composer-block {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }

  .composer-block__image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 280px;
    margin: 0 auto;
  }

  .composer-block__blob {
    width: 100%;
    height: 100%;
  }

  .composer-block__photo-wrapper {
    width: 200px;
    height: 240px;
    margin: 20px;
  }

  .composer-block__placeholder,
  .composer-block__photo {
    width: 100%;
    height: 105%;
  }

  .composer-block__bio {
    max-width: 100%;
  }

  .composer-block__stats {
    justify-content: center;
  }
}

/* ===========================================
   GRAIN TEXTURE OVERLAY
   Adds tactile, premium feel
   =========================================== */

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===========================================
   PREMIUM ENHANCEMENTS
   Luxury effects and micro-interactions
   =========================================== */

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-width 0.2s ease;
  mix-blend-mode: difference;
  opacity: 0;
  will-change: transform;
}

.custom-cursor--visible {
  opacity: 1;
}

.custom-cursor--hover {
  width: 40px;
  height: 40px;
  background-color: rgba(201, 169, 98, 0.2);
  border-width: 1px;
}

.custom-cursor--click {
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%) scale(0.8);
}

/* Cursor trail particles */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--color-accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.6;
  transform: translate3d(var(--trail-x, -100px), var(--trail-y, -100px), 0) translate(-50%, -50%);
  will-change: transform;
}

/* Hide custom cursor on touch devices and when reduced motion */
@media (hover: none),
(prefers-reduced-motion: reduce) {

  .custom-cursor,
  .cursor-trail {
    display: none !important;
  }
}

/* ===== GLASSMORPHISM HEADER ===== */
.header--scrolled {
  background: rgba(15, 15, 45, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== STARFIELD CANVAS ===== */
.starfield-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ===== FLOATING PARTICLES ===== */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.7;
}

/* ===== ENHANCED HERO TEXT ===== */
.hero__content h1 {
  letter-spacing: 0.05em;
  text-shadow:
    0 0 40px rgba(201, 169, 98, 0.3),
    0 0 80px rgba(201, 169, 98, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, var(--color-accent-gold) 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

.hero__content .tagline {
  text-shadow: 0 0 20px rgba(201, 169, 98, 0.5);
}

.hero__content .subtitle {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ===== ENHANCED SCROLL INDICATOR ===== */
.scroll-indicator {
  animation: breathe 3s ease-in-out infinite;
}

.scroll-indicator__icon {
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(201, 169, 98, 0.2);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
    opacity: 1;
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow:
      0 0 10px rgba(255, 255, 255, 0.3),
      0 0 20px rgba(201, 169, 98, 0.2);
  }

  50% {
    box-shadow:
      0 0 20px rgba(255, 255, 255, 0.5),
      0 0 40px rgba(201, 169, 98, 0.4);
  }
}

/* ===== SPLIT CARDS - PREMIUM ENHANCEMENTS ===== */
.split-section {
  position: relative;
}

/* Ambient glow behind cards on hover */
.path-card--uitvaart::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: var(--color-accent-funeral);
  opacity: 0;
  transition: opacity 0.4s ease-out;
  z-index: -3;
  filter: blur(80px);
}

.path-card--vieren::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: var(--color-accent-celebration);
  opacity: 0;
  transition: opacity 0.4s ease-out;
  z-index: -3;
  filter: blur(80px);
}

.path-card:hover::before {
  opacity: 0.2;
}

/* ===== PREMIUM BUTTON EFFECTS ===== */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
  /* CRITICAL: Prevent iOS tap blocking */
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary {
  box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(201, 169, 98, 0.35);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===== LINK HOVER - ANIMATED UNDERLINE ===== */
.nav__link::after {
  left: 0;
  right: auto;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__nav-link {
  position: relative;
  display: inline-block;
}

.footer__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-gold);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__nav-link:hover::after {
  width: 100%;
}

/* ===== PAGE TRANSITION OVERLAY ===== */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary-dark);
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-transition--active {
  opacity: 1;
  pointer-events: all;
}

/* ===== CONTENT LOAD ANIMATION ===== */
/* Note: Do NOT use transform on body - it breaks position:fixed for cursor */
body {
  animation: pageLoad 0.6s ease-out 0.1s forwards;
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===== PREMIUM AUDIO SAMPLES SECTION ===== */
.audio-samples {
  position: relative;
}

.audio-samples .eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   MEMORIAL CARDS - Premium audio player cards with backgrounds
   ========================================================================== */

.memorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.memorial-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.memorial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 169, 98, 0.15);
}

/* Background image with Ken Burns effect */
.memorial-card__background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.memorial-card__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.4);
}

.memorial-card:hover .memorial-card__background img {
  transform: scale(1.15);
}

/* Gradient overlay for text readability */
.memorial-card__background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 15, 45, 0.95) 0%,
    rgba(15, 15, 45, 0.7) 40%,
    rgba(15, 15, 45, 0.4) 100%
  );
  z-index: 2;
}

/* Card content */
.memorial-card__content {
  position: relative;
  z-index: 3;
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
}

/* Gold icon */
.memorial-card__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 45, 0.5);
  backdrop-filter: blur(10px);
}

.memorial-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent-gold);
  opacity: 0.8;
}

/* Title */
.memorial-card__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-accent-gold);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

/* Meta info: name + life title */
.memorial-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.memorial-card__name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.memorial-card__life-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-style: italic;
  color: rgba(201, 169, 98, 0.8);
}

.memorial-card__meta::before {
  display: none;
}

.memorial-card__name::after {
  content: '·';
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* Description */
.memorial-card__description {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Genre badge */
.memorial-card__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  color: rgba(201, 169, 98, 0.7);
  margin-bottom: 20px;
  padding: 4px 12px;
  background: rgba(201, 169, 98, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(201, 169, 98, 0.2);
  width: fit-content;
}

/* Audio player in memorial card - gold glow on hover */
.memorial-card .audio-player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.memorial-card .audio-player__btn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-gold);
  background: rgba(201, 169, 98, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  -webkit-tap-highlight-color: rgba(201, 169, 98, 0.2);
  touch-action: manipulation;
}

.memorial-card .audio-player__btn svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent-gold);
  transition: all 0.3s ease;
}

.memorial-card .audio-player__btn:hover {
  background: var(--color-accent-gold);
  box-shadow: 0 0 30px rgba(201, 169, 98, 0.5), 0 0 60px rgba(201, 169, 98, 0.3);
}

.memorial-card .audio-player__btn:hover svg {
  fill: var(--color-primary-dark);
}

/* Playing state - pulsing glow */
.memorial-card .audio-player__btn.playing {
  animation: playingGlow 2s ease-in-out infinite;
}

@keyframes playingGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(201, 169, 98, 0.5), 0 0 60px rgba(201, 169, 98, 0.2);
  }
}

/* Progress bar styling for memorial cards */
.memorial-card .audio-player__progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.memorial-card .audio-player__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent-gold), #d4b978);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.memorial-card .audio-player__time {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  min-width: 70px;
  text-align: right;
}

/* ============================================
   PATH CARDS — EDITORIAL (D: "Tactile Editorial")
   Council-approved: no photos, no buttons,
   Cormorant titles, 01/02 numerals, gold hairline,
   restrained hover (brighten + 2px lift)
   ============================================ */
.split-section--editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: rgba(201, 169, 98, 0.1);
}

.split-section--editorial .path-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.path-card--editorial {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) clamp(32px, 5vw, 88px);
  min-height: clamp(440px, 52vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.9);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 0;
}

/* Uitvaart: pure navy, subtle violet depth */
.path-card--ed-uitvaart {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(88, 72, 140, 0.18), transparent 55%),
    linear-gradient(180deg, #0f0f2d 0%, #0a0a22 100%);
}

/* Vieren: navy with warm amber glow at bottom */
.path-card--ed-vieren {
  background:
    radial-gradient(ellipse at 80% 100%, rgba(220, 185, 119, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 40%, rgba(201, 169, 98, 0.08), transparent 60%),
    linear-gradient(180deg, #0f0f2d 0%, #0a0a22 100%);
}

/* CSS-only film grain — no image asset needed */
.path-card__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Numeral eyebrow — Cormorant, muted gold */
.path-card--editorial .path-card__number {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1;
  color: var(--color-accent-gold);
  opacity: 0.55;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 8px;
}

/* Kicker — uppercase sans */
.path-card--editorial .path-card__kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  position: relative;
  padding-top: 14px;
  margin-bottom: 32px;
}

.path-card--editorial .path-card__kicker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--color-accent-gold);
  opacity: 0.5;
  transition: width 600ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 400ms ease;
}

/* Title — Cormorant italic, large */
.path-card--editorial .path-card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 22px;
  max-width: 14ch;
}

.path-card--editorial .path-card__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 auto;
  max-width: 42ch;
}

/* CTA — text-link with arrow, no button */
.path-card--editorial .path-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-accent-gold);
  padding-top: 32px;
  margin-top: 48px;
  border-top: 1px solid rgba(201, 169, 98, 0.22);
  transition: color 300ms ease, border-color 400ms ease;
}

.path-card--editorial .path-card__arrow {
  width: 18px;
  height: 18px;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Hover — restrained (council: "brightened keyline +8%, 2px lift") */
.path-card-link:hover .path-card--editorial {
  transform: translateY(-3px);
}

.path-card-link:hover .path-card--editorial .path-card__kicker::before {
  width: 64px;
  opacity: 0.9;
}

.path-card-link:hover .path-card--editorial .path-card__cta {
  color: #eed8a6;
  border-color: rgba(201, 169, 98, 0.55);
}

.path-card-link:hover .path-card--editorial .path-card__arrow {
  transform: translateX(6px);
}

.path-card-link:focus-visible .path-card--editorial {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: -4px;
}

@media (max-width: 860px) {
  .split-section--editorial {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .path-card--editorial {
    min-height: 380px;
    padding: 56px 28px;
  }
}

/* ============================================
   STORY HERO — Featured sample, editorial layout
   ============================================ */
.story-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(220, 185, 119, 0.08), rgba(15, 15, 45, 0.0));
  border-radius: 24px;
  border: 1px solid rgba(220, 185, 119, 0.12);
}

.story-hero__narrative {
  color: rgba(255, 255, 255, 0.88);
}

.story-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  opacity: 0.75;
  margin-bottom: 18px;
}

.story-hero__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  color: var(--color-accent-gold);
  margin: 0 0 20px;
}

.story-hero__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 18px;
  border-left: 2px solid var(--color-accent-gold);
  margin: 0 0 22px;
}

.story-hero__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 18px;
}

.story-hero__consent {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.story-hero__player {
  background: rgba(15, 15, 45, 0.55);
  border: 1px solid rgba(220, 185, 119, 0.18);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.story-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.story-hero__song-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-accent-gold);
  margin: 0;
}

.story-hero__duration {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
}

.story-hero__tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  opacity: 0.8;
  display: block;
  margin-top: 18px;
}

.story-hero .audio-player__btn {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-gold);
  background: rgba(220, 185, 119, 0.12);
}

.story-hero .audio-player__btn svg {
  fill: var(--color-accent-gold);
  width: 22px;
  height: 22px;
}

.story-hero .audio-player__btn:hover {
  background: var(--color-accent-gold);
  box-shadow: 0 0 32px rgba(220, 185, 119, 0.4);
}

.story-hero .audio-player__btn:hover svg {
  fill: var(--color-primary-dark);
}

.story-hero .audio-player__progress {
  background: rgba(255, 255, 255, 0.12);
}

.story-hero .audio-player__progress-bar {
  background: linear-gradient(90deg, var(--color-accent-gold), #f0d49a);
}

.story-hero .audio-player__time {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 860px) {
  .story-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }
  .story-hero__quote {
    font-size: 16px;
  }
}

/* ============================================
   PRICING CARD V2 — Value-led, 2-column
   ============================================ */
.pricing-v2 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.08), rgba(201, 169, 98, 0.02));
  border-left: 3px solid var(--color-accent-gold);
  border-radius: 4px 20px 20px 4px;
}

.pricing-v2__price-block {
  text-align: center;
}

.pricing-v2__from {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(15, 15, 45, 0.55);
  margin: 0 0 6px;
}

.pricing-v2__amount {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 68px);
  line-height: 1;
  color: var(--color-primary-dark);
  margin: 0;
}

.pricing-v2__value {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  color: var(--color-primary-dark);
  margin: 0 0 10px;
}

.pricing-v2__detail {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: rgba(15, 15, 45, 0.65);
  line-height: 1.55;
  margin: 0 0 18px;
}

.pricing-v2__cta {
  display: inline-block;
}

@media (max-width: 640px) {
  .pricing-v2 {
    grid-template-columns: 1fr;
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--color-accent-gold);
    border-radius: 20px 20px 4px 4px;
  }
}

/* ============================================
   B2B SLA BOX — for funeral professionals
   ============================================ */
.sla-box {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(15, 15, 45, 0.02);
  border: 1px solid rgba(15, 15, 45, 0.08);
  border-radius: 20px;
}

.sla-box__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 10px;
}

.sla-box__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--color-primary-dark);
  margin: 0 0 28px;
  line-height: 1.2;
}

.sla-box__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.sla-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sla-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-gold);
}

.sla-item__icon svg {
  width: 18px;
  height: 18px;
}

.sla-item__text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  color: var(--color-primary-dark);
  margin-bottom: 3px;
}

.sla-item__text span {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(15, 15, 45, 0.65);
  line-height: 1.5;
}

/* ============================================
   HERO LETTER STAGGER — luxe signal (opt-in)
   ============================================ */
h1[data-stagger] {
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: #ffffff;
}

h1[data-stagger] .stagger-char {
  display: inline-block;
  color: inherit;
  -webkit-text-fill-color: inherit;
  background-image: linear-gradient(135deg, #ffffff 0%, #e8d296 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: staggerLetterUp 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 22ms);
}

h1[data-stagger] .stagger-space {
  display: inline-block;
  width: 0.28em;
}

h1[data-stagger] .stagger-word {
  display: inline-block;
  white-space: nowrap;
}

@keyframes staggerLetterUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  h1[data-stagger] .stagger-char {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Featured card variant (single-sample showcase, e.g. Vieren page) */
.memorial-card--featured {
  max-width: 820px;
  margin: 0 auto;
  min-height: 460px;
}

.memorial-card--featured .memorial-card__title {
  font-size: 40px;
  margin-bottom: 16px;
}

.memorial-card--featured .memorial-card__description {
  font-size: 17px;
  max-width: 560px;
}

.memorial-card--featured .memorial-card__background::after {
  background: linear-gradient(
    to top,
    rgba(15, 15, 45, 0.95) 0%,
    rgba(15, 15, 45, 0.6) 45%,
    rgba(15, 15, 45, 0.3) 100%
  );
}

@media (max-width: 720px) {
  .memorial-card--featured {
    min-height: 400px;
  }

  .memorial-card--featured .memorial-card__title {
    font-size: 30px;
  }
}

/* Responsive memorial cards */
@media (max-width: 900px) {
  .memorial-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .memorial-card {
    min-height: 340px;
  }

  .memorial-card__content {
    padding: 24px;
  }

  .memorial-card__title {
    font-size: 24px;
  }

  .memorial-card__icon {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
  }

  .memorial-card__icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .memorial-card {
    min-height: 320px;
  }

  .memorial-card__content {
    padding: 20px;
  }

  .memorial-card__title {
    font-size: 22px;
  }

  .memorial-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .memorial-card__name::after {
    display: none;
  }

  .memorial-card .audio-player__time {
    min-width: 55px;
    font-size: 11px;
  }
}

/* Legacy audio-grid kept for vieren.html page */
.audio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.audio-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.audio-card:hover {
  transform: translateY(-12px);
  border-color: rgba(201, 169, 98, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Card Header */
.audio-card__header {
  margin-bottom: var(--space-sm);
}

.audio-card__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  color: var(--color-accent-gold);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.audio-card__person {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-light);
}

/* Card Description */
.audio-card__description {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0 0 var(--space-sm) 0;
  flex-grow: 1;
}

/* Genre Badge */
.audio-card__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-md);
}

/* Audio Player */
.audio-player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.audio-player audio {
  display: none;
}

.audio-player__btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-gold);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  /* iOS fixes */
  -webkit-tap-highlight-color: rgba(201, 169, 98, 0.2);
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}

.audio-player__btn svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent-gold);
  transition: fill 0.3s ease;
}

.audio-player__btn:hover {
  background: var(--color-accent-gold);
}

.audio-player__btn:hover svg {
  fill: var(--color-primary-dark);
}

/* Progress Bar */
.audio-player__progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.audio-player__progress-bar {
  height: 100%;
  background: var(--color-accent-gold);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

/* Time Display */
.audio-player__time {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  min-width: 70px;
  text-align: right;
}

/* Staggered Animation Delays */
.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
  .audio-grid {
    grid-template-columns: 1fr;
  }

  .audio-card {
    padding: 28px;
  }

  .audio-card__title {
    font-size: 22px;
  }

  .audio-player__time {
    min-width: 60px;
    font-size: 11px;
  }
}

/* Coming Soon Placeholder */
.coming-soon-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon-placeholder__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 98, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: placeholderPulse 3s ease-in-out infinite;
}

.coming-soon-placeholder__icon svg {
  width: 36px;
  height: 36px;
  fill: var(--color-accent-gold);
  opacity: 0.7;
}

.coming-soon-placeholder__text {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text-light);
  margin: 0 0 var(--space-sm) 0;
}

.coming-soon-placeholder__subtext {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

@keyframes placeholderPulse {

  0%,
  100% {
    border-color: rgba(201, 169, 98, 0.3);
    box-shadow: 0 0 0 0 rgba(201, 169, 98, 0);
  }

  50% {
    border-color: rgba(201, 169, 98, 0.5);
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.15);
  }
}

/* ===== OCCASION CARD ENHANCEMENTS ===== */
.occasion-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(212, 165, 116, 0.25),
    0 0 0 1px rgba(212, 165, 116, 0.3);
}

/* ===== PROCESS STEP ENHANCEMENTS ===== */
.process-step__number {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(201, 169, 98, 0.3);
}

.process-step:hover .process-step__number {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(201, 169, 98, 0.5);
}

/* ===== CTA CARD ENHANCEMENTS ===== */
.cta-card {
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
  animation: ctaShimmer 10s linear infinite;
}

@keyframes ctaShimmer {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===== FORM INPUT FOCUS ENHANCEMENTS ===== */
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-accent-gold);
  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.15),
    0 4px 20px rgba(201, 169, 98, 0.1);
}

/* ===== LOADING OVERLAY ===== */
/* Only shown on first visit - fast 0.5s max experience */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary-dark);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay--exit {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  text-align: center;
  animation: logoReveal 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loading-logo__text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-text-light);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: logoTextFade 0.2s ease-out forwards;
}

@keyframes logoReveal {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes logoTextFade {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero vignette: consolidated into main .hero::after above */

/* ===== HERO HEADLINE FLOAT ===== */
.hero-headline--float {
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* ===== ENHANCED SCROLL INDICATOR ===== */
.scroll-indicator {
  cursor: pointer;
  z-index: 10;
}

.scroll-indicator__icon {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.scroll-indicator:hover .scroll-indicator__icon {
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 40px rgba(201, 169, 98, 0.4),
    0 0 60px rgba(201, 169, 98, 0.2);
  transform: scale(1.05);
}

.scroll-indicator__text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  animation: scrollTextPulse 3s ease-in-out infinite;
  margin-top: var(--space-xs);
}

@keyframes scrollTextPulse {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 0.7;
  }
}

/* ===== BUTTON SHINE SWEEP ===== */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, #d4b978 100%);
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #d4b978 0%, var(--color-accent-gold) 100%);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__content h1 {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--color-text-light);
  }

  .starfield-canvas,
  .particles-canvas,
  .loading-overlay {
    display: none;
  }

  .hero-headline--float {
    animation: none;
  }

  .scroll-indicator__text {
    animation: none;
    opacity: 0.5;
  }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, #f5f3ee 100%);
}

.testimonials-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(201, 169, 98, 0.15);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent-gold);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.testimonial-card__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-left: var(--space-md);
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.testimonial-card__context {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Multiple testimonials layout */
@media (min-width: 768px) {
  .testimonials-grid--multiple {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Testimonial card hover effect */
.testimonial-card {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(201, 169, 98, 0.15);
}

/* ===== PROCESS SHOWCASE SECTION ===== */
.process-showcase {
  background: linear-gradient(180deg, #f5f3ee 0%, var(--color-primary-light) 100%);
}

.showcase-card {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(201, 169, 98, 0.1);
}

.showcase-card__briefing,
.showcase-card__result {
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
}

.showcase-card__briefing {
  background: #faf9f6;
  border-left: 3px solid var(--color-accent-gold);
}

.showcase-card__label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.showcase-card__text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin: 0;
}

.showcase-card__arrow {
  display: flex;
  justify-content: center;
  padding: var(--space-md) 0;
}

.showcase-card__arrow svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent-gold);
  opacity: 0.6;
}

.showcase-card__result {
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.08) 0%, rgba(201, 169, 98, 0.03) 100%);
  text-align: center;
}

.showcase-card__song-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
}

.showcase-card__audio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-block;
}

.btn--secondary:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary-dark);
}

/* ===== LEGAL PAGES (Privacy, Terms) ===== */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-lg));
  padding-bottom: var(--space-xl);
}

.legal-page h1 {
  margin-bottom: var(--space-xs);
}

.legal-page__date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.legal-page__content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.legal-page__content h2:first-child {
  margin-top: 0;
}

.legal-page__content p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.legal-page__content ul {
  margin: 0 0 var(--space-sm) 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-page__content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-page__content a {
  color: var(--color-accent-gold);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.legal-page__content a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: calc(var(--header-height) + var(--space-md));
  }

  .legal-page__content h2 {
    font-size: 1.25rem;
  }
}