/* ============================================
   HANS & RUTH
   Wedding Microsite Stylesheet
   ============================================ */

/* Google Fonts imported in HTML */

/* ── CSS Custom Properties ── */
:root {
  --black:        #111111;
  --rich-black:   #1A1A2E;
  --gold:         #C9A84C;
  --light-gold:   #E8D48B;
  --crystal:      #F0EDE3;
  --crystal-glass: rgba(255,255,255,0.08);
  --white:        #FFFFFF;
  --muted:        #B8B8B8;
  --font-script:  'Great Vibes', cursive;
  --font-serif:   'Playfair Display', serif;
  --font-sans:    'Montserrat', sans-serif;
  --font-italic:  'Cormorant Garamond', serif;
  --transition:   0.3s ease;
  --radius:       12px;
}

/* ── Loading Screen ── */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(ellipse at center, #1a1500 0%, #0B0B0D 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}
.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.loading-monogram {
  font-family: var(--font-script);
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--gold), var(--light-gold), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shimmer 2.5s linear infinite;
}

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

.loading-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  animation: dot-blink 1.4s ease-in-out infinite;
  opacity: 0;
}
.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.2s; }
.dot-3 { animation-delay: 0.4s; }

@keyframes dot-blink {
  0%, 80%, 100% { opacity: 0; }
  40%            { opacity: 1; }
}

.loading-bar-wrap {
  width: 160px;
  height: 1px;
  background: rgba(201,168,76,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--gold), var(--light-gold));
  border-radius: 2px;
  animation: bar-fill 3.5s ease-out forwards;
}
@keyframes bar-fill {
  0%   { width: 0%; }
  70%  { width: 80%; }
  100% { width: 96%; }
}

/* ── Intro Cover Image ── */
.intro-cover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}
.intro-cover.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-cover-desktop { display: block; }
.intro-cover-mobile  { display: none; }

@media (max-width: 768px) {
  .intro-cover-desktop { display: none; }
  .intro-cover-mobile  { display: block; }
}

.intro-cover-hint {
  display: none;
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce-chevron 1.6s ease-in-out infinite;
}
.intro-cover-hint svg {
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.6));
}

@keyframes bounce-chevron {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Intro Video Splash ── */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #000;
  cursor: pointer;
  transition: opacity 0.9s ease;
}
.intro-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop video: visible on wide screens, hidden on mobile */
.intro-video-desktop { display: block; }
.intro-video-mobile  { display: none; }

@media (max-width: 768px) {
  .intro-video-desktop { display: none; }
  .intro-video-mobile  { display: block; }
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Scroll Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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; }

/* ── Section Divider ── */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.5rem auto;
  color: var(--gold);
  font-size: 1rem;
}
.gold-divider::before,
.gold-divider::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
}

/* ── Section Title ── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  line-height: 1.2;
}
.section-title.gold { color: var(--gold); }
.section-title.dark { color: var(--rich-black); }

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

.section-header {
  margin-bottom: 3rem;
}

/* ── Gold Button ── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--light-gold);
  border-color: var(--light-gold);
  transform: scale(1.03);
}

.btn-outline-gold {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1.5px solid var(--gold);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.03);
}

/* ── Glassmorphism Card ── */
.glass-card {
  background: var(--crystal-glass);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(11,11,13,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  padding: 0.75rem 2rem;
}

.nav-logo {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.monogram-logo {
  height: 80px;
  width: auto;
}

.namelogo {
  height: 100px;
  width: auto;
  display: inline-block;
}

.footer-namelogo {
  height: 180px;
  margin-bottom: -1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-toggle {
  background: none;
  border: 1px solid #C9A84C;
  color: #C9A84C;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle:hover {
  background: #C9A84C;
  color: #0a0a0a;
}

.music-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.music-toggle svg { width: 22px; height: 22px; }
.music-toggle .pulse-ring {
  position: absolute;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: pulse-ring 2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.music-toggle.playing .pulse-ring { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11,11,13,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-images {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.hero-img-panel {
  overflow: hidden;
  position: relative;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 1.4s ease-out, filter 1.8s ease-out;
}

.hero-img-panel.revealed {
  opacity: 1;
  filter: blur(0);
}

.hero-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Side panels: stack images and crossfade */
.hero-panel-left img,
.hero-panel-right img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-panel-left img.active,
.hero-panel-right img.active {
  opacity: 1;
}

/* Center panel image is always visible on desktop */
.hero-panel-center img {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 0;
}

@media (max-width: 600px) {
  .hero-images {
    display: block;
    position: absolute;
    inset: 0;
  }

  .hero-img-panel {
    position: absolute;
    inset: 0;
    opacity: 1;
    filter: none;
  }

  .hero-img-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(6px);
    transition: opacity 1.2s ease-in-out, filter 1.4s ease-in-out;
  }

  .hero-img-panel img.active {
    opacity: 1;
    filter: blur(0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: var(--font-script);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--gold);
  line-height: 1;
  display: block;
  text-shadow: 0 0 40px rgba(201,168,76,0.3);
}

.hero-ampersand {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--light-gold);
  display: block;
  margin: 0.25rem 0;
}

.hero-date {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--white);
  margin: 1rem 0 0.75rem;
  display: block;
}

.hero-bottom {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-tagline-bottom {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--gold);
  opacity: 0.9;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  transition: opacity var(--transition), border-color var(--transition), color var(--transition);
}
.hero-tagline-bottom:hover {
  opacity: 1;
  color: var(--light-gold);
  border-bottom-color: var(--light-gold);
  text-shadow: 0 0 20px rgba(201,168,76,0.4);
}

@media (max-width: 500px) {
  .hero-tagline-bottom {
    white-space: normal;
    width: 85%;
    text-align: center;
  }
}

.hero-chevron {
  color: var(--gold);
  animation: bounce 2s ease-in-out infinite;
  display: flex;
}
.hero-chevron svg { width: 28px; height: 28px; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown-section {
  background: var(--rich-black);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(201,168,76,0.03) 0px,
    rgba(201,168,76,0.03) 1px,
    transparent 1px,
    transparent 40px
  );
}

.countdown-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.countdown-box {
  min-width: 120px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.countdown-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  line-height: 1;
  display: block;
  font-weight: 700;
}
.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 0.5rem;
  display: block;
}

/* ============================================
   OUR STORY
   ============================================ */
/* Optional: Our Story */
.story-section {
  background: var(--crystal);
  padding: 5rem 2rem;
  position: relative;
}

.story-section .section-label {
  color: var(--gold);
}

.story-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/Hans 8.jpg') center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 600px) {
  .story-section::before {
    background-position: 75% center;
  }
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}

.timeline-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1rem;
  width: 16px; height: 16px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  z-index: 1;
}

.timeline-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 300px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-top: 3px solid var(--gold);
}
.timeline-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--rich-black);
  margin-bottom: 0.5rem;
}
.timeline-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.story-signature {
  font-family: var(--font-script, 'Great Vibes', cursive);
  font-size: 1.6rem;
  color: var(--gold);
  text-align: center;
  margin-top: 2.5rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .timeline::before { left: 1.5rem; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 4rem;
  }
  .timeline-node { left: 1.5rem; }
}

/* ============================================
   DAY DETAILS
   ============================================ */
.details-section {
  background: var(--black);
  padding: 5rem 2rem;
}

.details-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem;
}

.venue-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.venue-address {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.venue-time {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.venue-image-wrap {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,0.3);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.venue-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.venue-image-wrap:hover .venue-image {
  transform: scale(1.07);
}

.map-wrapper {
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  height: 220px;
  background: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) brightness(0.9);
}

.details-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   PROGRAMME
   ============================================ */
.programme-hero-img {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  position: relative;
  margin-bottom: 3.5rem;
}
.programme-hero-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Fade top into section bg, fade bottom into section bg */
.programme-hero-img::before,
.programme-hero-img::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 1;
}
.programme-hero-img::before {
  top: 0;
  background: linear-gradient(to bottom, var(--rich-black), transparent);
}
.programme-hero-img::after {
  bottom: 0;
  background: linear-gradient(to top, var(--rich-black), transparent);
}
/* Fallback when image is missing */
.programme-hero-img.img-missing {
  display: none;
}

@media (max-width: 768px) {
  .programme-hero-img img { height: 260px; }
}


.programme-section {
  background: var(--rich-black);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.programme-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.programme-track {
  display: flex;
  gap: 0;
  min-width: max-content;
  position: relative;
  padding: 0 2rem;
}
.programme-track::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), var(--gold), transparent);
}

.programme-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
  flex-shrink: 0;
  padding: 0 0.5rem;
}

.programme-node {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rich-black);
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  transition: background var(--transition), border-color var(--transition);
}
.programme-node svg { width: 22px; height: 22px; }
.programme-node:hover { background: rgba(201,168,76,0.15); }

.programme-time {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}
.programme-event {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.programme-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Mobile: compact vertical stack */
@media (max-width: 768px) {
  .programme-section {
    padding: 2rem 1.25rem;
  }

  .programme-hero-img {
    max-height: 145px;
    margin-bottom: 1.25rem;
  }
  .programme-hero-img img {
    height: 145px;
  }

  .programme-section .section-header {
    margin-bottom: 1.25rem;
  }
  .programme-section .section-title {
    font-size: 1.4rem;
  }
  .programme-section .section-label,
  .programme-section .section-subtitle {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }

  .programme-track {
    flex-direction: column;
    min-width: unset;
    padding: 0 0 0 0.25rem;
    gap: 0;
  }
  .programme-track::before {
    top: 0; bottom: 0;
    left: 1.1rem;
    right: unset;
    width: 1px;
    height: auto;
    background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
  }
  .programme-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 0.55rem;
  }
  .programme-node {
    width: 34px; height: 34px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .programme-node svg { width: 15px; height: 15px; }
  .programme-item-text {
    flex: 1;
    padding-top: 0;
  }
  .programme-time {
    font-size: 0.65rem;
    letter-spacing: 1px;
    margin-bottom: 0.15rem;
  }
  .programme-event {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
  }
  .programme-desc {
    display: block;
    font-size: 0.68rem;
    line-height: 1.3;
  }
}

/* ============================================
   ACCOMMODATION
   ============================================ */
.accommodation-section {
  background: var(--crystal);
  padding: 5rem 2rem;
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hotel-grid-3 {
  max-width: 1050px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .hotel-grid-3 {
    grid-template-columns: 1fr;
  }
}

.hotel-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
}
.hotel-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.hotel-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hotel-card:hover .hotel-img-photo {
  transform: scale(1.07);
}
.hotel-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hotel-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--rich-black);
  margin-bottom: 0.4rem;
}
.hotel-caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  background: var(--black);
  padding: 5rem 2rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  background: var(--crystal-glass);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  gap: 1rem;
  transition: color var(--transition);
  -webkit-user-select: none;
  user-select: none;
}
.faq-question:hover { color: var(--gold); }
.faq-question[aria-expanded="true"] { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--transition);
}
.faq-answer.open { max-height: 300px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   GIFTS
   ============================================ */
.gifts-section {
  background: var(--rich-black);
  padding: 5rem 2rem;
  position: relative;
}

.gifts-body {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.gifts-quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contribution-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  background: var(--crystal-glass);
  gap: 1rem;
  text-align: left;
  transition: background var(--transition);
}
.contribution-toggle:hover { background: rgba(201,168,76,0.08); }
.contribution-toggle[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.contribution-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.contribution-body.open { max-height: 400px; }
.contribution-inner {
  border: 1px solid rgba(201,168,76,0.35);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.5rem;
  background: var(--crystal-glass);
  text-align: left;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}
.bank-row:last-of-type { border-bottom: none; }
.bank-label { color: var(--muted); }
.bank-value { color: var(--white); font-weight: 500; }

.bank-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

.btn-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem auto 0;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
}
.btn-copy:hover { background: var(--light-gold); transform: scale(1.03); }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   RSVP SECTION
   ============================================ */
.rsvp-section {
  background: var(--black);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.rsvp-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.rsvp-rings-img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  opacity: 0.9;
}

.rsvp-deadline {
  font-weight: 500;
  color: var(--gold) !important;
  font-style: italic;
  margin-top: 0.25rem;
}

.rsvp-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--crystal);
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--rich-black);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* Radio Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.radio-option input[type="radio"] { display: none; }
.radio-custom {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.radio-option input:checked + .radio-custom::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.radio-label {
  font-size: 0.9rem;
  color: var(--white);
}

/* Checkbox Group */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.checkbox-option input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 18px; height: 18px;
  border: 1.5px solid var(--gold);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.checkbox-option input:checked + .checkbox-custom {
  background: var(--gold);
}
.checkbox-option input:checked + .checkbox-custom::after {
  content: '';
  width: 5px; height: 9px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: rotate(45deg) translate(-1px, -1px);
}
.checkbox-label { font-size: 0.85rem; color: var(--white); }

.guests-field { display: none; }
.guests-field.visible { display: flex; }

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid var(--gold);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--light-gold); border-color: var(--light-gold); transform: scale(1.01); }

/* ── Success Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-card {
  background: var(--rich-black);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-card { transform: translateY(0); }

.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.modal-message {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.modal-close {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--light-gold); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--gold);
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}
.footer-names {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 7vw, 4rem);
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(201,168,76,0.2);
}
.footer-date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 1rem;
}
.footer-love {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  display: block;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1.5rem;
  display: block;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .details-buttons { flex-direction: column; }
  .details-buttons .btn-gold,
  .details-buttons .btn-outline-gold { text-align: center; }
  .countdown-box { min-width: 80px; }
  .countdown-number { font-size: 2rem; }
  .hotel-grid { grid-template-columns: 1fr; }
  .rsvp-form { padding: 0 0.5rem; }
  .modal-card { padding: 2rem 1.5rem; }
}


/* ============================================
   HANS & RUTH — additions (palette d'origine : or / noir)
   ============================================ */
.monogram-text, .nav-logo-text { font-family: var(--font-script); color: var(--gold); letter-spacing: 1px; }
.monogram-text { font-size: 3.4rem; display: block; line-height: 1; }
.nav-logo-text { font-size: 1.9rem; }
.namelogo-text { font-family: var(--font-script); color: var(--gold); font-size: clamp(2.6rem, 8vw, 4.2rem); display: inline-block; line-height: 1.1; }
.hero-date { line-height: 1.9; }
.hero-date small { display: block; font-size: .72em; letter-spacing: 4px; color: var(--muted); }

/* Programme / lieux */
.venues-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.venue-card { text-align: center; padding: 2rem 1.5rem; }
.venue-step { font-family: var(--font-sans); font-size: .65rem; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .6rem; }
.venue-big-time { font-family: var(--font-serif); font-size: 2.4rem; color: #fff; display: block; margin: .2rem 0 .6rem; }
.venue-card .details-buttons { justify-content: center; margin-top: 1.2rem; }
.dress-section { background: var(--rich-black); padding: 5rem 2rem; text-align: center; }
.dress-swatches { display: flex; justify-content: center; gap: 1.2rem; margin: 1.5rem 0; }
.dress-swatch { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); }
.dress-swatch.red { background: #B3122B; }
.dress-swatch.black { background: #000; }
.dress-text { max-width: 560px; margin: 0 auto; color: #e6e6e6; }
.spirit-section { padding: 5rem 2rem; text-align: center; background: var(--black); }
.spirit-quote { font-family: var(--font-italic); font-style: italic; font-size: clamp(1.3rem, 3.5vw, 1.9rem); max-width: 680px; margin: 1.5rem auto; color: #fff; line-height: 1.5; }
.spirit-sign { font-family: var(--font-sans); font-size: .7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }


/* ── Effet enveloppe (intro) — version OR ── */
.intro-splash { background: #080808; perspective: 1400px; overflow: hidden; }
.env-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, #1d1d1d 0%, #080808 75%); }
.env-glow { position: absolute; left: 0; right: 0; top: 0; height: 75%; opacity: 0;
  background: radial-gradient(ellipse at 50% 38%, rgba(255,214,120,0.95) 0%, rgba(201,168,76,0.6) 28%, transparent 66%); }
.env-pieces { position: absolute; inset: 0; width: 100%; height: 100%; }
.env-flap { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 56%; transform-origin: top center; }
.env-seal { position: absolute; left: 50%; top: 56%; width: clamp(130px, 32vw, 200px); transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(201,168,76,.35)); }
.env-text { position: absolute; left: 0; right: 0; top: 74%; text-align: center; padding: 0 1.5rem;
  font-family: var(--font-script); font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.3; color: #E3C46A;
  text-shadow: 0 0 14px rgba(201,168,76,.35); }
.env-hint { position: absolute; left: 0; right: 0; bottom: 2.2rem; text-align: center; font-family: var(--font-sans);
  font-size: .62rem; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); animation: env-blink 1.8s ease-in-out infinite; }
@keyframes env-blink { 50% { opacity: .35; } }

.intro-splash.play .env-hint  { animation: env-hide .4s forwards; }
.intro-splash.play .env-seal  { animation: seal-break 1s ease-in forwards; }
.intro-splash.play .env-flap  { animation: flap-open 1.7s .6s cubic-bezier(.5,0,.3,1) forwards; }
.intro-splash.play .env-glow  { animation: glow-up 2s 1s ease-out forwards; }
.intro-splash.play .env-text  { animation: text-glow 2.4s 1.8s ease-in-out forwards; }
@keyframes env-hide { to { opacity: 0; } }
@keyframes seal-break { 0% { transform: translate(-50%,-50%) scale(1); opacity: 1; } 35% { transform: translate(-50%,-50%) scale(1.14); opacity: 1; } 100% { transform: translate(-50%,-70%) scale(1.3); opacity: 0; } }
@keyframes flap-open { 0% { transform: rotateX(0); opacity: 1; } 75% { opacity: 1; } 100% { transform: rotateX(-120deg); opacity: 0; } }
@keyframes glow-up { to { opacity: 1; } }
@keyframes text-glow { 0% { text-shadow: 0 0 14px rgba(201,168,76,.35); } 50% { text-shadow: 0 0 28px rgba(255,214,120,.95), 0 0 6px rgba(255,214,120,.8); color: #f6e3a1; } 100% { text-shadow: 0 0 22px rgba(255,214,120,.7); color: #f6e3a1; } }
