/* ═══════════════════════════════════════════════════════
   RYAN & EXCEL SCHEUFELE — WEDDING LANDING PAGE
   Palette: baby blue + white · Romantic · Modern · Elegant
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* Wedding Palette */
  --blue-hero:      #5b9ec9;   /* hero gradient mid */
  --blue-deep:      #3a7fa8;   /* hero gradient deep */
  --blue-sky:       #89bedd;   /* lighter sky */
  --blue-mid:       #5b9ec9;   /* accents, borders */
  --blue-soft:      #a8d4ec;   /* soft tint */
  --blue-light:     #d6edf9;   /* very light fill */
  --blue-bg:        #eef7fc;   /* page tint backgrounds */
  --blue-border:    #b8d9ef;   /* subtle borders */
  --white:          #ffffff;
  --off-white:      #f8fbfd;

  /* Text */
  --text-primary:   #2a3a4a;
  --text-muted:     #5c7a8a;
  --text-faint:     #9ab8c8;

  /* Type Scale (fluid) */
  --text-xs:   clamp(0.75rem,  0.7rem + 0.25vw,  0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw,  1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw,    1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem + 1.25vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem + 2.5vw,   3.5rem);
  --text-hero: clamp(3rem,     2rem + 3.5vw,     5.5rem);

  /* Spacing */
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(59,127,168,0.10);
  --shadow-md: 0 6px 24px rgba(59,127,168,0.13);
  --shadow-lg: 0 16px 48px rgba(59,127,168,0.16);

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;

  /* Transitions */
  --ease: 200ms cubic-bezier(0.16,1,0.3,1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--sp-16);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.65;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li { text-wrap: pretty; }
a { text-decoration: none; }
button { cursor: pointer; background: none; border: none; }
address { font-style: normal; }

::selection { background: rgba(91,158,201,0.2); }

:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ══════════════════════════════════════════
   STICKY NAV
══════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blue-border);
  transition: box-shadow var(--ease);
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.nav-logo { display: flex; align-items: center; color: var(--blue-mid); transition: opacity var(--ease); }
.nav-logo:hover { opacity: 0.7; }

.site-nav nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.site-nav nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}
.site-nav nav a:hover { color: var(--blue-mid); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg,
    #7ab8d8 0%,
    #5b9ec9 30%,
    #3a7fa8 70%,
    #2d6a8e 100%
  );
  /* Subtle dot grid texture */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.12) 1px, transparent 0),
    linear-gradient(160deg, #7ab8d8 0%, #5b9ec9 30%, #3a7fa8 70%, #2d6a8e 100%);
  background-size: 24px 24px, auto;
}

/* Lace waves */
.lace {
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
  z-index: 2;
}
.lace--top { top: 0; }
.lace--bottom { bottom: 0; }
.lace svg { width: 100%; display: block; }

/* Floral corners */
.floral-corner {
  position: absolute;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 3;
}
.floral-corner--tl { top: 0; left: 0; }
.floral-corner--tr { top: 0; right: 0; }

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: clamp(var(--sp-20), 12vw, var(--sp-24)) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.hero-pretext {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.hero-names {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  color: white;
  letter-spacing: -0.01em;
  line-height: 1;
}
.hero-names .amp {
  font-style: italic;
  font-weight: 300;
  opacity: 0.85;
  margin: 0 0.1em;
}

.hero-surname {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: -var(--sp-2);
}

.hero-divider { width: 320px; max-width: 90vw; margin: var(--sp-3) 0; }
.hero-divider svg { width: 100%; }

.hero-date {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}

.hero-year {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-10);
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-full);
  color: white;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.hero-cta:hover {
  background: rgba(255,255,255,0.28);
  border-color: white;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════ */
.section {
  padding: clamp(var(--sp-12), 8vw, var(--sp-24)) var(--sp-6);
  position: relative;
}

.section--blue {
  background: linear-gradient(160deg, var(--blue-sky) 0%, var(--blue-mid) 60%, var(--blue-deep) 100%);
  padding: clamp(var(--sp-16), 10vw, var(--sp-24)) var(--sp-6);
}

.section-lace { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 2; }
.section-lace--top { top: 0; }
.section-lace--bottom { bottom: 0; }
.section-lace svg { width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.container--narrow { max-width: 760px; }

.section-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-5);
  margin-bottom: var(--sp-4);
}
.section-badge--white {
  color: white;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}
.section-title em { font-style: italic; color: var(--blue-mid); }
.section-title--white { color: white; }
.section-title--white em { color: rgba(255,255,255,0.85); }

.section-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: var(--sp-10);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--blue-mid);
  color: white;
  box-shadow: 0 4px 16px rgba(91,158,201,0.35);
}
.btn--primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,158,201,0.45);
}
.btn--full { width: 100%; }

/* ══════════════════════════════════════════
   LIVESTREAM SECTION
══════════════════════════════════════════ */
#livestream {
  background: var(--off-white);
  text-align: center;
}
#livestream .section-subtitle { margin-inline: auto; }

.video-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-hero) 50%, var(--blue-sky) 100%);
  border-radius: var(--radius-xl);
  overflow: visible;
  aspect-ratio: 16/9;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.video-corner {
  position: absolute;
  width: 70px;
  height: 70px;
  z-index: 10;
}
.video-corner--tl { top: -16px; left: -16px; }
.video-corner--tr { top: -16px; right: -16px; }
.video-corner--bl { bottom: -16px; left: -16px; }
.video-corner--br { bottom: -16px; right: -16px; }

.video-player-area {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-8);
  /* Subtle lace overlay */
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 20px 20px;
}

.play-ring { width: 80px; height: 80px; flex-shrink: 0; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.2)); }
.video-label {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}
.video-note {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-xs);
  margin-top: var(--sp-2);
}

/* ══════════════════════════════════════════
   COUNTDOWN SECTION
══════════════════════════════════════════ */
#countdown {
  text-align: center;
}
#countdown .section-subtitle { display: none; }

.countdown-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  min-width: 100px;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 6rem);
  font-weight: 300;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.countdown-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.countdown-dot {
  font-size: 3rem;
  color: rgba(255,255,255,0.4);
  line-height: 1;
  padding-top: 0.3rem;
  align-self: flex-start;
}

.countdown-married {
  margin-top: var(--sp-8);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: white;
}

/* ══════════════════════════════════════════
   EVENT DETAILS
══════════════════════════════════════════ */
#details { background: white; }

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-2);
}

.detail-card {
  background: var(--off-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue-mid), var(--blue-soft));
}
.detail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.detail-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--sp-5);
}

.detail-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

/* Schedule */
.schedule-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.schedule-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: baseline;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--blue-border);
}
.schedule-list li:last-child { border-bottom: none; padding-bottom: 0; }

.sched-time {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--blue-mid);
  white-space: nowrap;
  min-width: 60px;
}
.sched-event {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

/* Location */
.detail-address {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.detail-address strong { color: var(--text-primary); }
.detail-note {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-bottom: var(--sp-5);
}

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--blue-mid);
  transition: color var(--ease), gap var(--ease);
}
.detail-link:hover { color: var(--blue-deep); gap: var(--sp-3); }

/* Info list */
.info-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.info-list li { display: flex; flex-direction: column; gap: var(--sp-1); }
.info-list strong {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
}
.info-list span {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Floral divider */
.floral-divider {
  display: flex;
  justify-content: center;
  padding: var(--sp-4) var(--sp-6);
  background: white;
}
.floral-divider svg { width: min(600px, 90vw); }

/* ══════════════════════════════════════════
   GUESTBOOK
══════════════════════════════════════════ */
#guestbook {
  background: var(--blue-bg);
  text-align: center;
}
#guestbook .section-subtitle { margin-inline: auto; }

.guestbook-form {
  background: white;
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  text-align: left;
  margin-bottom: var(--sp-12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-field label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.form-field input,
.form-field textarea {
  border: 1.5px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--off-white);
  resize: vertical;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(91,158,201,0.15);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-faint); }

.form-field { margin-bottom: var(--sp-5); }
.form-field:last-of-type { margin-bottom: var(--sp-6); }

/* Messages */
.messages-container { text-align: left; }

.messages-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.messages-header-row .messages-heading { margin-bottom: 0; }

.btn--download {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  background: var(--blue-bg);
  border: 1.5px solid var(--blue-border);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}
.btn--download:hover {
  background: var(--blue-light);
  border-color: var(--blue-mid);
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.messages-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
  text-align: center;
}

#messages-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.message-card {
  background: white;
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease);
}
.message-card:hover { box-shadow: var(--shadow-md); }
.message-card--new { border-color: var(--blue-mid); animation: fadeSlideIn 0.5s ease forwards; }

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

.message-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.message-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-soft));
  border: 1.5px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--blue-deep);
  flex-shrink: 0;
}

.message-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}
.message-meta {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-top: 2px;
}

.message-heart {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--blue-soft);
}

.message-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
}

/* Form success toast */
.toast {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  background: var(--blue-mid);
  color: white;
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.toast.visible { transform: translateY(0); opacity: 1; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(160deg, var(--blue-deep) 0%, #2a5a7a 100%);
  position: relative;
  text-align: center;
  overflow: hidden;
  /* Lace dot bg */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0),
    linear-gradient(160deg, var(--blue-deep) 0%, #2a5a7a 100%);
  background-size: 20px 20px, auto;
}

.footer-lace {
  position: absolute;
  top: 0; left: 0; right: 0;
  pointer-events: none;
}
.footer-lace svg { width: 100%; display: block; }

.footer-inner {
  position: relative;
  z-index: 2;
  padding: clamp(var(--sp-16), 10vw, var(--sp-24)) var(--sp-6) var(--sp-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.footer-monogram { margin-bottom: var(--sp-4); }

.footer-names {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: white;
  letter-spacing: 0.04em;
}

.footer-date {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.65);
}

.footer-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin: var(--sp-2) 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin: var(--sp-4) 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.social-link:hover {
  background: rgba(255,255,255,0.2);
  color: white;
  transform: translateY(-2px);
}

.footer-email {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}
.footer-email a {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color var(--ease);
}
.footer-email a:hover { color: white; }

.footer-thankyou {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 55ch;
  line-height: 1.75;
  text-align: center;
  margin-top: var(--sp-4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  margin-top: var(--sp-6);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════════
   PRINT / PDF EXPORT
══════════════════════════════════════════ */
@media print {
  /* Hide everything except the guestbook print view */
  body > *:not(#gb-print-frame) { display: none !important; }
  #gb-print-frame {
    display: block !important;
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 640px) {
  .site-nav nav {
    gap: var(--sp-4);
  }
  .site-nav nav a {
    font-size: 0.7rem;
  }

  .floral-corner { width: 110px; height: 110px; }

  .form-row { grid-template-columns: 1fr; }

  .countdown-dot { display: none; }
  .countdown-grid { gap: var(--sp-6); }
  .countdown-unit { min-width: 70px; }

  .details-grid { grid-template-columns: 1fr; }

  .video-corner { width: 50px; height: 50px; }
  .video-corner--tl { top: -10px; left: -10px; }
  .video-corner--tr { top: -10px; right: -10px; }
  .video-corner--bl { bottom: -10px; left: -10px; }
  .video-corner--br { bottom: -10px; right: -10px; }

  .guestbook-form { padding: var(--sp-6); }
  .message-card { padding: var(--sp-5); }
}

@media (max-width: 480px) {
  .site-nav nav { display: none; }
  .hero-names { letter-spacing: -0.02em; }
}
