/* Wedding T6 — Warm pastel/brown invitation (soft curves + abstract texture) */

:root {
  /* Warm brown scale (950 = deepest brown, 100 = lightest cream) */
  --wed6-tone-950: #2f2118;
  --wed6-tone-900: #3d2c20;
  --wed6-tone-800: #4f3a2b;
  --wed6-tone-700: #6b4f3a;
  --wed6-tone-600: #856247;
  --wed6-tone-500: #a07d5c;
  --wed6-tone-400: #937459;
  --wed6-tone-300: #b39a80;
  --wed6-tone-200: #6b5340;
  --wed6-tone-100: #efe3d3;
  --wed6-ivory: #4a3324;
  --wed6-cream: #ede0cf;
  --wed6-paper-a: #f4ece0;
  --wed6-paper-b: #efe4d5;
  --wed6-paper-c: #f7f1e8;
  --wed6-text: #4a3728;
  --wed6-text-soft: #7b6350;
  --wed6-accent: #b0765a;
  --wed6-sage: #9cad8f;
  --wed6-gold: #c19a6b;
  --wed6-radius: 16px;
  --wed6-font-display: 'Great Vibes', 'Pinyon Script', cursive;
  --wed6-font-heading: 'Allura', 'Pinyon Script', cursive;
  --wed6-font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --wed6-font-body: 'Nunito', system-ui, sans-serif;
  --wed6-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E");
  --wed6-emboss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23b08a68' stroke-width='0.9' opacity='0.3'%3E%3Cpath d='M68 90c8-12 16-12 24 0s16 12 24 0'/%3E%3Ccircle cx='90' cy='90' r='6'/%3E%3C/g%3E%3C/svg%3E");
  --wed6-tear-shadow: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #f4ece0;
  color: var(--wed6-text);
  font-family: var(--wed6-font-body);
  -webkit-font-smoothing: antialiased;
}

.wed6-page {
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}

.wed6-session {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  z-index: 1;
}

.wed6-session.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* ── Opening door (t4-style: phone-width stage, stable dvh) ── */

.wed6-session-opening {
  background: #2a1f17;
}

.wed6-opening-stage {
  position: relative;
  width: 100%;
  height: 100dvh;
  margin: 0 auto;
  background: #2a1f17;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wed6-door-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #2a1f17;
  transform: scale(1);
  transform-origin: center center;
}

.wed6-door-video.is-knocking {
  animation: wed6-door-knock 0.32s ease-out;
}

@keyframes wed6-door-knock {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.wed6-opening-loader {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: #e8d8c4;
  background-image:
    radial-gradient(ellipse at 18% 16%, rgba(214, 178, 150, 0.35), transparent 42%),
    radial-gradient(ellipse at 84% 78%, rgba(176, 140, 110, 0.22), transparent 46%),
    repeating-linear-gradient(92deg, rgba(120, 85, 55, 0.045) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(0deg, rgba(90, 62, 42, 0.03) 0 1px, transparent 1px 14px),
    linear-gradient(165deg, #f2e6d6 0%, #e8d8c4 48%, #dcc8b0 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.wed6-opening-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wed6-opening-loader-card {
  position: relative;
  width: min(88vw, 20.5rem);
  padding: 2rem 1.45rem 1.55rem;
  border-radius: 8px;
  text-align: center;
  color: #4a3728;
  background-color: #f3e9db;
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(214, 178, 150, 0.28), transparent 42%),
    radial-gradient(ellipse at 86% 88%, rgba(176, 118, 90, 0.12), transparent 46%),
    linear-gradient(180deg, #f8f2e9 0%, #f3e9db 58%, #eadfcd 100%);
  border: 1px solid rgba(176, 118, 90, 0.28);
  box-shadow:
    0 16px 36px rgba(90, 62, 42, 0.18),
    inset 0 0 0 1px rgba(255, 248, 238, 0.75);
  overflow: hidden;
}

.wed6-opening-loader-card::before,
.wed6-opening-loader-card::after {
  content: '';
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid rgba(176, 118, 90, 0.38);
  pointer-events: none;
}

.wed6-opening-loader-card::before {
  top: 0.7rem;
  left: 0.7rem;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 4px;
}

.wed6-opening-loader-card::after {
  right: 0.7rem;
  bottom: 0.7rem;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 4px;
}

.wed6-opening-loader-bloom {
  position: relative;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.85rem;
}

.wed6-opening-loader-bloom span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.95rem;
  height: 1.45rem;
  margin: -0.72rem 0 0 -0.48rem;
  border-radius: 60% 60% 55% 55%;
  background: linear-gradient(180deg, #d4b08a, #b0765a 58%, #8a6650);
  transform-origin: 50% 110%;
  opacity: 0.92;
  transform: rotate(var(--wed6-petal-rot, 0deg)) scale(0.72);
  animation: wed6-loader-petal 2.4s ease-in-out infinite;
}

.wed6-opening-loader-bloom span:nth-child(1) { --wed6-petal-rot: 0deg; animation-delay: 0s; }
.wed6-opening-loader-bloom span:nth-child(2) { --wed6-petal-rot: 72deg; animation-delay: 0.12s; }
.wed6-opening-loader-bloom span:nth-child(3) { --wed6-petal-rot: 144deg; animation-delay: 0.24s; }
.wed6-opening-loader-bloom span:nth-child(4) { --wed6-petal-rot: 216deg; animation-delay: 0.36s; }
.wed6-opening-loader-bloom span:nth-child(5) { --wed6-petal-rot: 288deg; animation-delay: 0.48s; }

.wed6-opening-loader-bloom::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #f4e4cb, #c19a6b);
  box-shadow: 0 0 10px rgba(193, 154, 107, 0.4);
}

@keyframes wed6-loader-petal {
  0%,
  100% {
    filter: brightness(0.95);
    transform: rotate(var(--wed6-petal-rot, 0deg)) scale(0.72);
  }
  50% {
    filter: brightness(1.12);
    transform: rotate(var(--wed6-petal-rot, 0deg)) scale(0.94);
  }
}

.wed6-opening-loader-eyebrow {
  margin: 0;
  font-family: var(--wed6-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b0765a;
}

.wed6-opening-loader-text {
  margin: 0.45rem 0 1rem;
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.15rem, 4.4vw, 1.45rem);
  font-style: italic;
  font-weight: 600;
  color: #4f3a2b;
  letter-spacing: 0.02em;
}

.wed6-opening-loader-bar {
  width: 100%;
  height: 0.48rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(143, 108, 78, 0.16);
  box-shadow: inset 0 0 0 1px rgba(143, 108, 78, 0.12);
}

.wed6-opening-loader-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c19a6b, #b0765a 55%, #8a6650);
  transition: width 0.24s ease;
}

.wed6-opening-loader-hint {
  margin: 0.85rem 0 0;
  font-family: var(--wed6-font-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: #7b6350;
  opacity: 0.9;
  animation: wed6-loader-hint-fade 2.2s ease-in-out infinite;
}

@keyframes wed6-loader-hint-fade {
  0%,
  100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.wed6-opening-stage:not(.is-video-ready) .wed6-door-tap {
  opacity: 0;
  pointer-events: none;
}

.wed6-door-tap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 0;
  background: transparent;
  color: #f7efe4;
  cursor: pointer;
  font-family: var(--wed6-font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wed6-door-tap.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.wed6-door-tap-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(247, 239, 228, 0.55);
  box-shadow: 0 0 0 0 rgba(193, 154, 107, 0.4);
  animation: wed6-pulse 2.2s ease-out infinite;
}

.wed6-door-tap-ring.is-knock-flash {
  animation: wed6-knock-flash 0.32s ease-out;
}

@keyframes wed6-knock-flash {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(193, 154, 107, 0.55); }
  45% { transform: scale(0.88); box-shadow: 0 0 0 14px rgba(193, 154, 107, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(193, 154, 107, 0); }
}

.wed6-door-tap-label {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

@keyframes wed6-pulse {
  0% { box-shadow: 0 0 0 0 rgba(193, 154, 107, 0.45); }
  70% { box-shadow: 0 0 0 22px rgba(193, 154, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(193, 154, 107, 0); }
}

/* ── Invite session ── */

.wed6-session-invite {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(214, 178, 150, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(200, 176, 148, 0.28), transparent 45%),
    linear-gradient(180deg, #f7f1e8 0%, #f4ece0 45%, #efe3d3 100%);
  overflow: hidden;
}

.wed6-mute-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 40;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(176, 118, 90, 0.3);
  background: rgba(247, 241, 232, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(90, 62, 42, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.wed6-mute-btn:not([aria-hidden='true']) {
  opacity: 0.55;
  pointer-events: auto;
}

.wed6-mute-btn:not([aria-hidden='true']):hover,
.wed6-mute-btn:not([aria-hidden='true']):focus-visible {
  opacity: 0.9;
}

.wed6-mute-btn.is-muted {
  opacity: 0.4;
}

.wed6-scroll-page {
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wed6-scroll-page::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.wed6-scroll-page.is-scroll-locked {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  scroll-behavior: auto;
}

/* ── Hero ── */

.wed6-hero {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #2a1f17;
  z-index: 3;
}

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

.wed6-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 31, 23, 0.08) 0%, rgba(42, 31, 23, 0.26) 45%, rgba(42, 31, 23, 0.52) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 3.5s ease;
}

.wed6-hero-veil.is-active {
  opacity: 1;
}

.wed6-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
  max-width: 22rem;
}

/* Invite sits above centered names — tweak --wed6-invite-lift only */
.wed6-hero-invite {
  position: absolute;
  left: 50%;
  bottom: calc(100% + var(--wed6-invite-lift, 4.25rem));
  width: max-content;
  max-width: min(20rem, 88vw);
  margin: 0;
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: rgba(238, 244, 250, 0.88);
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.wed6-hero-invite.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wed6-hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
}

.wed6-hero-groom,
.wed6-hero-bride {
  font-family: var(--wed6-font-display);
  font-size: clamp(2.8rem, 11vw, 4.6rem);
  line-height: 1.05;
  font-weight: 400;
  white-space: nowrap;
  color: #ffffff;
}

.wed6-zoom-letter {
  display: inline-block;
  opacity: 0;
  transform: scale(4.2);
  will-change: transform, opacity;
  transition:
    opacity 0.85s ease,
    transform 1.1s cubic-bezier(0.16, 0.84, 0.28, 1);
}

.wed6-zoom-letter.is-in {
  opacity: 1;
  transform: scale(1);
  will-change: auto;
}

.wed6-zoom-letter.is-space {
  width: 0.28em;
}

.wed6-hero-amp {
  font-family: var(--wed6-font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 4.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: #f3e6c4;
  margin: 0.7rem 0 0.85rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 0 18px rgba(201, 168, 108, 0.35);
  opacity: 0;
  transform: scale(3.2);
  will-change: transform, opacity;
  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(0.16, 0.84, 0.28, 1);
}

.wed6-hero-amp.is-in {
  opacity: 1;
  transform: scale(1);
  will-change: auto;
}

.wed6-hero-date-block {
  position: absolute;
  left: 50%;
  bottom: 11.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1rem;
  transform: translateX(-50%) translateY(12px);
  max-width: 92vw;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}

.wed6-hero-date-block.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wed6-hero-date-line {
  display: block;
  width: clamp(5.5rem, 32vw, 8.5rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 18%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.18) 82%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.12);
}

.wed6-hero-date {
  margin: 0;
  font-family: var(--wed6-font-body);
  font-size: clamp(0.82rem, 2.9vw, 1rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 244, 250, 0.95);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}

.wed6-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(245, 248, 252, 0.85);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.wed6-scroll-hint.is-visible {
  opacity: 1;
}

.wed6-scroll-hint.is-hidden {
  opacity: 0;
}

.wed6-scroll-hint-label {
  font-family: var(--wed6-font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wed6-scroll-hint-chevrons {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wed6-scroll-hint-chevrons span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: wed6-chevron 1.4s ease-in-out infinite;
}

.wed6-scroll-hint-chevrons span:nth-child(2) {
  animation-delay: 0.18s;
  opacity: 0.65;
}

@keyframes wed6-chevron {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(2px, 2px); opacity: 1; }
}

/* ── Invite body: stacked torn paper ── */

.wed6-invite-body {
  position: relative;
  padding: 0;
  max-width: none;
  margin: 0;
  z-index: 1;
}

.wed6-corner {
  display: none;
}

.wed6-floral-stem {
  fill: none;
  stroke: var(--wed6-tone-400);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.wed6-floral-bloom {
  fill: var(--wed6-tone-500);
  opacity: 0.85;
}

.wed6-floral-leaf {
  fill: var(--wed6-sage);
  opacity: 0.55;
}

/* Session panels with soft wave caps + abstract pastel texture */
.wed6-section {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 3.4rem 1.35rem 3.1rem;
  text-align: center;
  overflow: visible;
  color: var(--wed6-text);
  background-color: #f3e9db;
  background-image:
    var(--wed6-noise),
    radial-gradient(circle at 20% 30%, rgba(120, 85, 55, 0.09) 0 1px, transparent 1.4px),
    radial-gradient(circle at 75% 18%, rgba(120, 85, 55, 0.07) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 72%, rgba(150, 110, 70, 0.06) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 34% 84%, rgba(100, 70, 45, 0.07) 0 1.3px, transparent 1.9px),
    repeating-linear-gradient(168deg, rgba(120, 85, 55, 0.028) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 9px),
    var(--wed6-emboss),
    radial-gradient(ellipse at 12% 18%, rgba(214, 178, 150, 0.28), transparent 38%),
    radial-gradient(ellipse at 88% 72%, rgba(156, 173, 143, 0.18), transparent 44%),
    radial-gradient(ellipse at 50% 100%, rgba(193, 154, 107, 0.12), transparent 50%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, transparent 45%),
    linear-gradient(180deg, #f8f2e9 0%, #f3e9db 55%, #eadfcd 100%);
  background-blend-mode:
    multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply,
    normal, normal, normal, normal, normal;
  background-size:
    220px 220px,
    24px 24px, 32px 32px, 28px 28px, 36px 36px,
    100% 100%, 100% 100%,
    22% auto,
    auto, auto, auto, auto, auto;
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
  box-shadow: 0 10px 28px rgba(120, 90, 60, 0.08);
}

.wed6-section::before,
.wed6-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 24px;
  pointer-events: none;
  z-index: 2;
  background-color: #f7f1e8;
}

.wed6-section::before {
  top: -23px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 24 L0 10 C12 10 13 2 25 2 C37 2 38 10 50 10 C62 10 63 2 75 2 C87 2 88 10 100 10 L100 24 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 24 L0 10 C12 10 13 2 25 2 C37 2 38 10 50 10 C62 10 63 2 75 2 C87 2 88 10 100 10 L100 24 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.wed6-section::after {
  bottom: -23px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 L100 0 L100 14 C88 14 87 22 75 22 C63 22 62 14 50 14 C38 14 37 22 25 22 C13 22 12 14 0 14 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 L100 0 L100 14 C88 14 87 22 75 22 C63 22 62 14 50 14 C38 14 37 22 25 22 C13 22 12 14 0 14 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Even sessions: soft blush pastel */
.wed6-section:nth-child(even) {
  z-index: 2;
  color: #4a3626;
  background-color: #f8efe6;
  background-image:
    var(--wed6-noise),
    radial-gradient(circle at 20% 30%, rgba(120, 85, 55, 0.08) 0 1px, transparent 1.4px),
    radial-gradient(circle at 75% 18%, rgba(120, 85, 55, 0.06) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 72%, rgba(150, 110, 70, 0.055) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 34% 84%, rgba(100, 70, 45, 0.06) 0 1.3px, transparent 1.9px),
    repeating-linear-gradient(168deg, rgba(120, 85, 55, 0.025) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px),
    var(--wed6-emboss),
    radial-gradient(ellipse at 75% 18%, rgba(224, 190, 168, 0.34), transparent 42%),
    radial-gradient(ellipse at 20% 85%, rgba(210, 188, 162, 0.3), transparent 48%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.45), transparent 55%),
    linear-gradient(210deg, rgba(255, 255, 255, 0.78) 0%, transparent 45%),
    linear-gradient(180deg, #fffaf4 0%, #f8efe6 50%, #f0e2d4 100%);
  background-blend-mode:
    multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply,
    normal, normal, normal, normal, normal;
  background-size:
    220px 220px,
    24px 24px, 32px 32px, 28px 28px, 36px 36px,
    100% 100%, 100% 100%,
    22% auto,
    auto, auto, auto, auto, auto;
  box-shadow: 0 10px 28px rgba(150, 110, 80, 0.08);
}

.wed6-section:nth-child(even)::before,
.wed6-section:nth-child(even)::after {
  background-color: #f7f1e8;
}

/* Odd sessions: warm ivory/tan */
.wed6-section:nth-child(odd) {
  z-index: 2;
  background-color: #efe4d4;
  background-image:
    var(--wed6-noise),
    radial-gradient(circle at 20% 30%, rgba(120, 85, 55, 0.09) 0 1px, transparent 1.4px),
    radial-gradient(circle at 75% 18%, rgba(120, 85, 55, 0.07) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 72%, rgba(150, 110, 70, 0.06) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 34% 84%, rgba(100, 70, 45, 0.07) 0 1.3px, transparent 1.9px),
    repeating-linear-gradient(168deg, rgba(120, 85, 55, 0.03) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 9px),
    var(--wed6-emboss),
    radial-gradient(ellipse at 75% 18%, rgba(176, 118, 90, 0.12), transparent 40%),
    radial-gradient(ellipse at 20% 85%, rgba(156, 173, 143, 0.18), transparent 46%),
    radial-gradient(ellipse at 40% 50%, rgba(255, 248, 236, 0.35), transparent 55%),
    linear-gradient(210deg, rgba(255, 255, 255, 0.42) 0%, transparent 40%),
    linear-gradient(180deg, #f4ebde 0%, #efe4d4 50%, #e6d8c4 100%);
  background-blend-mode:
    multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply,
    normal, normal, normal, normal, normal;
  background-size:
    220px 220px,
    24px 24px, 32px 32px, 28px 28px, 36px 36px,
    100% 100%, 100% 100%,
    22% auto,
    auto, auto, auto, auto, auto;
}

.wed6-section:nth-child(odd)::before,
.wed6-section:nth-child(odd)::after {
  background-color: #f7f1e8;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 24 L0 8 C30 8 35 1 50 1 C65 1 70 8 100 8 L100 24 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 24 L0 8 C30 8 35 1 50 1 C65 1 70 8 100 8 L100 24 Z'/%3E%3C/svg%3E");
}

.wed6-section:nth-child(odd)::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 L100 0 L100 16 C70 16 65 23 50 23 C35 23 30 16 0 16 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 L100 0 L100 16 C70 16 65 23 50 23 C35 23 30 16 0 16 Z'/%3E%3C/svg%3E");
}

.wed6-section:first-of-type {
  margin-top: 0;
  z-index: 2;
  padding-top: 3.4rem;
}

/* No top curve on first session (quote) */
.wed6-section:first-of-type::before {
  content: none;
  display: none;
}

.wed6-section:last-of-type {
  margin-bottom: 0;
  z-index: 1;
}

/* No bottom curve on last session (welcome) */
.wed6-section:last-of-type::after,
.wed6-section.wed6-welcome::after,
.wed6-section:nth-child(even).wed6-welcome::after,
.wed6-section:nth-child(odd).wed6-welcome::after {
  content: none;
  display: none;
}

.wed6-section-title {
  margin: 0 0 1.1rem;
  font-family: var(--wed6-font-heading);
  font-size: clamp(2.35rem, 8.5vw, 3.15rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--wed6-ivory);
  letter-spacing: 0.02em;
}

.wed6-section:nth-child(even) .wed6-section-title {
  color: #5a3d29;
}

.wed6-section:nth-child(even) .wed6-floral-divider {
  color: #c79b78;
}

.wed6-section:nth-child(even) .wed6-floral-line {
  background: linear-gradient(90deg, transparent, #d8c3ad, transparent);
}

.wed6-section:nth-child(even) .wed6-floral-dot {
  background: #c79b78;
}

.wed6-section:nth-child(even) .wed6-floral-bloom-mark {
  color: #b0765a;
}

.wed6-section:nth-child(even) .wed6-quote-text,
.wed6-section:nth-child(even) .wed6-details-message,
.wed6-section:nth-child(even) .wed6-details-prefix,
.wed6-section:nth-child(even) .wed6-details-parents,
.wed6-section:nth-child(even) .wed6-rsvp-sub,
.wed6-section:nth-child(even) .wed6-countdown-date,
.wed6-section:nth-child(even) .wed6-contact-text,
.wed6-section:nth-child(even) .wed6-welcome-text,
.wed6-section:nth-child(even) .wed6-timeline-meta,
.wed6-section:nth-child(even) .wed6-venue-address {
  color: #7b6350;
}

.wed6-section:nth-child(even) .wed6-details-name,
.wed6-section:nth-child(even) .wed6-closing-names,
.wed6-section:nth-child(even) .wed6-timeline-title,
.wed6-section:nth-child(even) .wed6-std-date {
  color: #432e1e;
}

.wed6-section:nth-child(even) .wed6-std-month,
.wed6-section:nth-child(even) .wed6-std-year,
.wed6-section:nth-child(even) .wed6-std-day {
  color: #7a5c44;
}

.wed6-section:nth-child(even) .wed6-details-role,
.wed6-section:nth-child(even) .wed6-closing-top,
.wed6-section:nth-child(even) .wed6-blessings-label,
.wed6-section:nth-child(even) .wed6-blessings-group-label,
.wed6-section:nth-child(even) .wed6-blessings-amp,
.wed6-section:nth-child(even) .wed6-field-label {
  color: #b0765a;
}

.wed6-section:nth-child(even) .wed6-details-place,
.wed6-section:nth-child(even) .wed6-blessings-names,
.wed6-section:nth-child(even) .wed6-blessings-name,
.wed6-section:nth-child(even) .wed6-details-divider-mark {
  color: #5a3d29;
}

.wed6-section:nth-child(even) .wed6-details-divider-line {
  background: #d8c3ad;
}

.wed6-section:nth-child(even) .wed6-venue-postcard {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 250, 243, 0.3) 48%, rgba(255, 255, 255, 0.2) 100%);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 40px rgba(90, 62, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(176, 118, 90, 0.08);
}

.wed6-section:nth-child(even) .wed6-rsvp-form {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 248, 238, 0.36) 48%, rgba(255, 255, 255, 0.24) 100%);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 40px rgba(90, 62, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(176, 118, 90, 0.08);
}

.wed6-section:nth-child(even) .wed6-field input[type='text'],
.wed6-section:nth-child(even) .wed6-stepper input,
.wed6-section:nth-child(even) #wed6-rsvp-reason {
  background: rgba(253, 248, 240, 0.78);
  color: #4a3626;
  border-color: rgba(176, 118, 90, 0.28);
}

.wed6-section:nth-child(even) .wed6-details-couple,
.wed6-section:nth-child(odd) .wed6-details-couple {
  background: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
}

.wed6-section:nth-child(even) .wed6-countdown-grid {
  background: linear-gradient(165deg, #80604a, #4d382c);
  box-shadow:
    0 10px 24px rgba(56, 36, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wed6-section:nth-child(even) .wed6-countdown-cell {
  background: transparent;
  color: #fff8ef;
  box-shadow: none;
}

.wed6-section:nth-child(even) .wed6-countdown-cell:not(:last-child) {
  border-right-color: rgba(255, 255, 255, 0.16);
}

.wed6-section:nth-child(even) .wed6-countdown-label {
  color: rgba(255, 255, 255, 0.88);
}

.wed6-section:nth-child(even) .wed6-field input::placeholder,
.wed6-section:nth-child(even) #wed6-rsvp-reason::placeholder {
  color: rgba(123, 99, 80, 0.5);
}

.wed6-section:nth-child(even) .wed6-radio {
  color: #4a3626;
}

.wed6-section:nth-child(even) .wed6-radio input {
  accent-color: #b0765a;
}

.wed6-section:nth-child(even) .wed6-stepper-btn {
  background: #efe3d3;
  color: #5a3d29;
  border-color: rgba(176, 118, 90, 0.4);
}

.wed6-section:nth-child(even) .wed6-btn-primary,
.wed6-section:nth-child(even) .wed6-btn-contact {
  background: linear-gradient(135deg, #c99a72, #a97c58);
  box-shadow: 0 8px 22px rgba(150, 110, 80, 0.3);
}

.wed6-section:nth-child(even) .wed6-rsvp-thanks {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 248, 238, 0.36) 48%, rgba(255, 255, 255, 0.24) 100%);
  border-color: rgba(255, 255, 255, 0.58);
  color: #432e1e;
}

.wed6-section:nth-child(even) .wed6-venue-nav {
  border-color: rgba(176, 118, 90, 0.3);
  color: #fff8ef;
  background: linear-gradient(145deg, #d4a57a 0%, #b07a52 100%);
}

.wed6-section:nth-child(even) .wed6-btn-map {
  color: #fff8ef;
}

.wed6-section:nth-child(even) .wed6-timeline-stem-path {
  stroke: #8a6650;
}

.wed6-section:nth-child(even) .wed6-timeline-stem-tip,
.wed6-section:nth-child(even) .wed6-timeline-petiole {
  background: #8a6650;
}

.wed6-section:nth-child(even) .wed6-timeline-leaf-blade {
  background: linear-gradient(145deg, #d8b896 0%, #c19a6b 42%, #b0765a 100%);
}

.wed6-section:nth-child(even) .wed6-gallery-frame {
  background:
    linear-gradient(160deg, #d4b896 0%, #a07d5c 38%, #6b4f3a 72%, #4f3a2b 100%);
  border-color: rgba(70, 45, 28, 0.55);
}

.wed6-section:nth-child(even) .wed6-gallery-frame::before {
  border-color: rgba(240, 220, 190, 0.45);
  box-shadow:
    0 0 0 2px rgba(90, 62, 42, 0.85),
    inset 0 1px 1px rgba(255, 248, 236, 0.35),
    inset 0 -1px 2px rgba(40, 25, 15, 0.4);
}

.wed6-section:nth-child(even) .wed6-gallery-frame::after {
  background: linear-gradient(
    145deg,
    rgba(255, 250, 242, 0.14),
    transparent 42%,
    rgba(40, 25, 15, 0.18)
  );
  box-shadow:
    inset 0 0 0 1px rgba(90, 62, 42, 0.35),
    inset 0 2px 6px rgba(30, 18, 10, 0.28);
}

.wed6-floral-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.75rem 0 1.15rem;
  color: var(--wed6-tone-400);
}

.wed6-floral-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wed6-tone-300), transparent);
}

.wed6-floral-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wed6-tone-400);
}

.wed6-floral-bloom-mark {
  font-size: 0.95rem;
  color: var(--wed6-accent);
}

.wed6-reveal {
  opacity: 1;
  transform: none;
}

.wed6-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.wed6-reveal-target {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  will-change: opacity, transform, filter;
}

.wed6-reveal.is-visible .wed6-reveal-target {
  animation: wed6-stagger-reveal 1.05s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  animation-delay: var(--wed6-reveal-delay, 0s);
}

.wed6-details .wed6-details-couple-frame.wed6-reveal-target {
  filter: none;
  opacity: 0;
  transform: scale(1.28);
  transform-origin: center center;
}

.wed6-details.is-visible .wed6-details-couple-frame.wed6-reveal-target {
  animation: wed6-details-frame-zoom-out 1.35s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  animation-delay: var(--wed6-reveal-delay, 0s);
}

@keyframes wed6-stagger-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes wed6-stagger-reveal-no-blur {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: none;
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: none;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: none;
  }
}

@keyframes wed6-details-frame-zoom-out {
  0% {
    opacity: 0;
    transform: scale(1.28);
  }
  60% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
}

/* Quote */

.wed6-quote {
  position: relative;
}

.wed6-quote-bouquet {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  width: min(38vw, 175px);
  height: auto;
  max-height: min(43vw, 200px);
  object-fit: contain;
  opacity: 0.19;
  pointer-events: none;
  z-index: 0;
}

.wed6-quote-flowers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.wed6-quote-flower-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wed6-quote-flower {
  position: absolute;
  width: clamp(1.25rem, 4.8vw, 1.65rem);
  height: clamp(1.25rem, 4.8vw, 1.65rem);
  overflow: visible;
}

.wed6-quote-flower--tl {
  top: 2.65rem;
  left: 0.7rem;
}

.wed6-quote-flower--tr {
  top: 2.65rem;
  right: 0.7rem;
}

.wed6-quote-flower--bl {
  bottom: 2.65rem;
  left: 0.7rem;
}

.wed6-quote-flower--br {
  bottom: 2.65rem;
  right: 0.7rem;
}

.wed6-quote > :not(.wed6-quote-bouquet):not(.wed6-quote-flowers) {
  position: relative;
  z-index: 2;
}

.wed6-quote-text {
  margin: 0 auto;
  padding: 2rem 2.15rem;
  max-width: 420px;
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.15rem, 4.2vw, 1.4rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--wed6-text-soft);
}

.wed6-quote-text.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.085em;
  height: 0.95em;
  margin-left: 0.14em;
  vertical-align: -0.08em;
  background: currentColor;
  opacity: 0.7;
  animation: wed6-quote-caret 0.85s steps(1) infinite;
}

.wed6-quote-text.is-typed::after {
  display: none;
}

@keyframes wed6-quote-caret {
  0%,
  45% {
    opacity: 0.7;
  }
  46%,
  100% {
    opacity: 0;
  }
}

/* Save the date */

.wed6-save-date-section {
  position: relative;
  padding-top: 2.1rem;
  overflow: hidden;
}

.wed6-save-date-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wed6-save-date-curve {
  position: absolute;
  color: rgba(176, 118, 90, 0.4);
  opacity: 0.88;
  pointer-events: none;
}

.wed6-save-date-curve--1 {
  top: 10%;
  left: -2%;
  width: min(38vw, 9rem);
  transform: rotate(-14deg);
}

.wed6-save-date-curve--2 {
  top: 18%;
  right: -3%;
  width: min(36vw, 8.5rem);
  transform: rotate(10deg);
  color: rgba(156, 173, 143, 0.42);
}

.wed6-save-date-curve--3 {
  top: 46%;
  left: -4%;
  width: min(34vw, 8rem);
  transform: rotate(18deg);
  color: rgba(133, 98, 71, 0.36);
}

.wed6-save-date-curve--4 {
  top: 52%;
  right: -2%;
  width: min(40vw, 9.5rem);
  transform: rotate(-16deg);
  color: rgba(193, 154, 107, 0.44);
}

.wed6-save-date-curve--5 {
  bottom: 8%;
  left: 8%;
  width: min(32vw, 7.5rem);
  transform: rotate(6deg);
  color: rgba(176, 118, 90, 0.34);
}

.wed6-save-date-curve--6 {
  top: 6%;
  left: 28%;
  width: min(42vw, 10rem);
  transform: rotate(-5deg);
  color: rgba(193, 154, 107, 0.38);
}

.wed6-save-date-curve--7 {
  bottom: 14%;
  right: 6%;
  width: min(30vw, 7rem);
  transform: rotate(22deg);
  color: rgba(156, 173, 143, 0.4);
}

.wed6-save-date-curve--8 {
  bottom: 4%;
  left: 36%;
  width: min(36vw, 8.25rem);
  transform: rotate(-8deg);
  color: rgba(133, 98, 71, 0.32);
}

.wed6-save-date-heading {
  position: relative;
  z-index: 1;
  margin: -0.35rem auto 0.65rem;
}

.wed6-save-date-heading-art {
  display: block;
  width: min(42vw, 160px);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
}

.wed6-save-date-frame {
  position: relative;
  z-index: 1;
  width: min(88vw, 320px);
  margin: 0 auto;
}

.wed6-save-date-art {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(12px);
}

.wed6-save-date-section.is-visible .wed6-save-date-heading-art {
  animation: wed6-save-date-fade-in 1.25s ease forwards;
  animation-delay: 0s;
}

.wed6-save-date-section.is-visible .wed6-save-date-art {
  animation: wed6-save-date-art-in 1.3s ease forwards;
  animation-delay: 0.35s;
}

@keyframes wed6-save-date-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wed6-save-date-art-in {
  to {
    opacity: 0.92;
    transform: translateY(0);
  }
}

.wed6-save-date-copy {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.42rem;
  width: 52%;
  text-align: center;
  color: #4a3428;
}

.wed6-save-date-copy > span {
  opacity: 0;
  transform: translateY(12px);
}

.wed6-save-date-section.is-visible .wed6-std-date {
  animation: wed6-std-line-in 1.05s ease forwards;
  animation-delay: 0.75s;
}

.wed6-save-date-section.is-visible .wed6-std-month {
  animation: wed6-std-line-in 1.05s ease forwards;
  animation-delay: 1.15s;
}

.wed6-save-date-section.is-visible .wed6-std-year {
  animation: wed6-std-line-in 1.05s ease forwards;
  animation-delay: 1.55s;
}

.wed6-save-date-section.is-visible .wed6-std-day {
  animation: wed6-std-line-in 1.05s ease forwards;
  animation-delay: 1.95s;
}

@keyframes wed6-std-line-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wed6-std-date {
  font-family: var(--wed6-font-serif);
  font-size: clamp(3rem, 12vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.wed6-std-month {
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.3rem, 5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.15;
}

.wed6-std-year {
  font-family: var(--wed6-font-body);
  font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.15;
}

.wed6-std-day {
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-style: italic;
  line-height: 1.15;
  margin-top: 0.08rem;
}

/* Save the date section: frame stays put; only lines animate in on viewport */
.wed6-save-date-section.wed6-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Details / Invitation */

.wed6-section.wed6-details {
  overflow: hidden;
}

.wed6-details-frame-bg {
  display: none;
}

.wed6-details-edge-decor {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.wed6-details-edge-decor--top {
  top: 0;
  transform: scaleY(-1);
}

.wed6-details-edge-decor--bottom {
  bottom: 0;
}

.wed6-details-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.35rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 0.15rem 6.25rem;
  text-align: center;
}

.wed6-details-message {
  margin: 0 auto;
  max-width: 18rem;
  width: 100%;
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.06rem, 4vw, 1.24rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--wed6-tone-700);
  position: relative;
  z-index: 2;
  text-align: center;
  align-self: center;
}

.wed6-details-couple-frame {
  position: relative;
  width: min(92%, 20.5rem);
  margin-left: auto;
  margin-right: auto;
  flex: 0 0 auto;
  align-self: center;
  opacity: .8;
}

.wed6-details-couple-art {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  filter: drop-shadow(0 8px 18px rgba(90, 62, 42, 0.18));
}

.wed6-details-couple {
  position: absolute;
  inset: 10% 11% 11%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.35rem 0.2rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.wed6-details-person {
  text-align: center;
  width: 100%;
}

.wed6-details-role {
  margin: 0 0 0.28rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wed6-accent);
  font-weight: 700;
}

.wed6-details-name {
  margin: 0 0 0.28rem;
  font-family: var(--wed6-font-display);
  font-size: clamp(1.75rem, 7.2vw, 2.25rem);
  font-weight: 400;
  color: var(--wed6-ivory);
  line-height: 1.08;
}

.wed6-details-prefix,
.wed6-details-parents,
.wed6-details-place {
  margin: 0.18rem 0;
  font-size: clamp(0.86rem, 3.4vw, 1.02rem);
  color: var(--wed6-text-soft);
  line-height: 1.35;
}

.wed6-details-place {
  font-style: italic;
  color: var(--wed6-tone-600);
}

.wed6-details-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.2rem 0;
}

.wed6-details-divider-mark {
  font-family: var(--wed6-font-display);
  font-size: 1.55rem;
  color: var(--wed6-gold);
  line-height: 1;
}

.wed6-details-event {
  position: relative;
  z-index: 2;
  margin: 0.15rem auto 0;
  width: min(92%, 22rem);
  max-width: 22rem;
  text-align: center;
  color: #6b4a32;
  align-self: center;
}

.wed6-details-dateblock {
  margin: 0 auto 0.75rem;
  width: 100%;
}

.wed6-details-date-month,
.wed6-details-date-day,
.wed6-details-date-time {
  margin: 0;
  font-family: var(--wed6-font-serif);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(0.78rem, 2.9vw, 0.98rem);
  font-weight: 700;
  color: #7a5538;
  text-shadow: 0 1px 0 rgba(255, 248, 238, 0.55);
  text-align: center;
}

.wed6-details-date-month {
  width: 100%;
  font-size: clamp(1rem, 3.6vw, 1.22rem);
  letter-spacing: 0.28em;
}

.wed6-details-date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(0.55rem, 2.5vw, 1rem);
  margin: 0.28rem auto 0;
  width: 100%;
}

.wed6-details-date-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  min-width: 0;
}

.wed6-details-date-line {
  width: 100%;
  height: 1.5px;
  background: rgba(122, 85, 56, 0.5);
}

.wed6-details-date-number {
  margin: 0;
  font-family: var(--wed6-font-display);
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  line-height: 0.9;
  color: #8a5c3a;
  transform: translateY(0.04em);
  text-shadow: 0 1px 0 rgba(255, 248, 238, 0.5);
  text-align: center;
  justify-self: center;
}

.wed6-details-date-day,
.wed6-details-date-time {
  font-family: var(--wed6-font-body);
  font-size: clamp(0.72rem, 2.7vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  color: #7a5538;
  max-width: 100%;
}

.wed6-details-event-venue {
  margin: 0.5rem auto 0;
  width: 100%;
  font-family: var(--wed6-font-serif);
  font-size: clamp(0.92rem, 3.4vw, 1.05rem);
  font-style: italic;
  font-weight: 600;
  color: #9a6b48;
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(255, 248, 238, 0.55);
  text-align: center;
}

/* Gallery — scattered frames + sticky scroll zoom */

.wed6-together.wed6-gallery {
  position: relative;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 1.35rem;
  background-color: #e4d5c2;
  background-image:
    var(--wed6-noise),
    radial-gradient(circle at 20% 30%, rgba(90, 60, 40, 0.1) 0 1px, transparent 1.4px),
    radial-gradient(circle at 75% 18%, rgba(90, 60, 40, 0.08) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 72%, rgba(120, 85, 55, 0.07) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 34% 84%, rgba(80, 55, 35, 0.08) 0 1.3px, transparent 1.9px),
    repeating-linear-gradient(168deg, rgba(90, 60, 40, 0.04) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 9px),
    var(--wed6-emboss),
    radial-gradient(ellipse at 12% 18%, rgba(176, 140, 110, 0.22), transparent 40%),
    radial-gradient(ellipse at 88% 72%, rgba(140, 155, 125, 0.16), transparent 44%),
    radial-gradient(ellipse at 50% 100%, rgba(150, 115, 80, 0.18), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, transparent 45%),
    linear-gradient(180deg, #ebe0d0 0%, #e2d2bd 48%, #d6c4ac 100%);
  background-blend-mode:
    multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply,
    normal, normal, normal, normal, normal;
  background-size:
    220px 220px,
    24px 24px, 32px 32px, 28px 28px, 36px 36px,
    100% 100%, 100% 100%,
    22% auto,
    auto, auto, auto, auto, auto;
}

.wed6-together.wed6-gallery::before,
.wed6-together.wed6-gallery::after {
  background-color: #e8dccb;
}

.wed6-gallery-track {
  height: 220vh;
  position: relative;
}

.wed6-gallery-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.35rem 1rem 1rem;
  z-index: 1;
}

.wed6-gallery-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wed6-gallery-decor-glow {
  display: none;
}

.wed6-gallery-decor-item {
  position: absolute;
  object-fit: contain;
  opacity: 0.42;
  filter: drop-shadow(0 6px 14px rgba(90, 62, 42, 0.12));
  -webkit-user-select: none;
  user-select: none;
}

.wed6-gallery-decor--tr {
  top: -6%;
  right: -10%;
  left: auto;
  width: min(48vw, 12.5rem);
  opacity: 0.48;
  transform: scale(-1) rotate(-8deg);
  transform-origin: center center;
}

.wed6-gallery-decor--bl {
  bottom: -4%;
  left: -12%;
  width: min(48vw, 13rem);
  transform: rotate(12deg);
  opacity: 0.4;
}

.wed6-gallery-curve {
  position: absolute;
  color: rgba(176, 118, 90, 0.38);
  pointer-events: none;
  opacity: 0.9;
  will-change: transform;
}

.wed6-gallery-curve--1 {
  top: 22%;
  left: 2%;
  width: min(34vw, 8.5rem);
  transform: rotate(-12deg);
}

.wed6-gallery-curve--2 {
  top: 28%;
  right: 3%;
  width: min(32vw, 8rem);
  transform: rotate(8deg);
  color: rgba(156, 173, 143, 0.4);
}

.wed6-gallery-curve--3 {
  bottom: 24%;
  left: 18%;
  width: min(30vw, 7.25rem);
  transform: rotate(16deg);
}

.wed6-gallery-curve--4 {
  bottom: 12%;
  right: 14%;
  width: min(36vw, 9rem);
  transform: rotate(-18deg);
  color: rgba(193, 154, 107, 0.42);
}

.wed6-gallery-curve--5 {
  top: 48%;
  left: 6%;
  width: min(28vw, 6.75rem);
  transform: rotate(4deg);
  color: rgba(133, 98, 71, 0.34);
}

.wed6-gallery-curve--6 {
  top: 8%;
  left: 18%;
  width: min(38vw, 9.5rem);
  transform: rotate(-6deg);
  color: rgba(193, 154, 107, 0.4);
}

.wed6-gallery-curve--7 {
  top: 36%;
  right: 8%;
  width: min(26vw, 6.5rem);
  transform: rotate(22deg);
  color: rgba(176, 118, 90, 0.36);
}

.wed6-gallery-curve--8 {
  bottom: 34%;
  right: 2%;
  width: min(34vw, 8.25rem);
  transform: rotate(-10deg);
  color: rgba(156, 173, 143, 0.38);
}

.wed6-gallery-curve--9 {
  top: 62%;
  left: 42%;
  width: min(24vw, 5.75rem);
  transform: rotate(-28deg);
  color: rgba(133, 98, 71, 0.32);
}

.wed6-gallery-curve--10 {
  bottom: 6%;
  left: 36%;
  width: min(32vw, 7.75rem);
  transform: rotate(12deg);
  color: rgba(176, 118, 90, 0.34);
}

.wed6-gallery-title {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin: 0.15rem 0 0.85rem;
  padding: 0 1rem;
  max-width: 20rem;
  text-align: center;
  font-family: var(--wed6-font-heading);
  font-size: clamp(2.55rem, 10.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--wed6-tone-800);
  text-shadow:
    0 1px 0 rgba(255, 250, 242, 0.9),
    0 10px 28px rgba(120, 85, 55, 0.16);
}

.wed6-gallery-title::before,
.wed6-gallery-title::after {
  display: block;
  font-family: var(--wed6-font-serif);
  font-size: clamp(0.7rem, 2.8vw, 0.85rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--wed6-gold);
  text-shadow: none;
}

.wed6-gallery-title::before {
  content: '✦  cherished  ✦';
  margin-bottom: 0.35rem;
}

.wed6-gallery-title::after {
  content: '';
  width: 4.5rem;
  height: 1px;
  margin: 0.55rem auto 0;
  background: linear-gradient(90deg, transparent, var(--wed6-gold), transparent);
  box-shadow: 0 0 0 0.5px rgba(193, 154, 107, 0.35);
}

.wed6-section:nth-child(even) .wed6-gallery-title {
  color: #5a3d29;
}

.wed6-gallery-cluster {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  width: min(100%, 26rem);
  min-height: 0;
  height: min(72svh, 32rem);
  max-height: calc(100% - 3rem);
  transform: scale(var(--wed6-gallery-zoom, 1));
  transform-origin: center center;
  will-change: transform;
}

.wed6-gallery-item {
  position: absolute;
  margin: 0;
  width: min(42vw, 9.5rem);
  z-index: 1;
  overflow: visible;
}

.wed6-gallery-item:not(.is-empty) {
  opacity: 0;
}

.wed6-together.is-gallery-visible .wed6-gallery-item:not(.is-empty) {
  animation: wed6-gallery-photo-fade-in 1.75s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  animation-delay: var(--wed6-gallery-delay, 0s);
}

.wed6-gallery-item[data-i="1"] {
  top: 7%;
  left: 10%;
  transform: rotate(-6deg);
  z-index: 3;
}

.wed6-gallery-item[data-i="2"] {
  top: 18%;
  right: 4%;
  left: auto;
  transform: rotate(7deg);
  z-index: 2;
}

.wed6-gallery-item[data-i="3"] {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.wed6-gallery-item[data-i="4"] {
  top: auto;
  bottom: 16%;
  left: 6%;
  right: auto;
  transform: rotate(5deg);
  z-index: 2;
}

.wed6-gallery-item[data-i="5"] {
  top: auto;
  bottom: 6%;
  right: 7%;
  left: auto;
  transform: rotate(-8deg);
  z-index: 3;
}

.wed6-gallery-item.is-empty {
  display: none;
}

.wed6-gallery-item:not([data-i="3"]) .wed6-gallery-frame {
  box-shadow:
    inset 0 2px 1px rgba(255, 245, 230, 0.45),
    inset 0 -2px 2px rgba(35, 22, 12, 0.45),
    inset 2px 0 1px rgba(255, 245, 230, 0.18),
    inset -2px 0 2px rgba(35, 22, 12, 0.28),
    0 0 0 1px rgba(55, 35, 22, 0.5),
    0 4px 8px rgba(60, 40, 25, 0.3),
    0 14px 28px rgba(70, 45, 28, 0.45),
    0 28px 48px rgba(50, 32, 20, 0.38);
}

.wed6-gallery-item[data-i="3"] .wed6-gallery-frame {
  box-shadow:
    inset 0 2px 1px rgba(255, 245, 230, 0.45),
    inset 0 -2px 2px rgba(35, 22, 12, 0.45),
    inset 2px 0 1px rgba(255, 245, 230, 0.18),
    inset -2px 0 2px rgba(35, 22, 12, 0.28),
    0 0 0 1px rgba(55, 35, 22, 0.45),
    0 10px 24px rgba(90, 62, 42, 0.22);
}

.wed6-gallery-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  padding: 0.42rem;
  background:
    linear-gradient(160deg, #d4b896 0%, #a07d5c 38%, #6b4f3a 72%, #4f3a2b 100%);
  border: 1px solid rgba(70, 45, 28, 0.5);
  box-shadow:
    inset 0 2px 1px rgba(255, 245, 230, 0.4),
    inset 0 -2px 2px rgba(35, 22, 12, 0.4),
    inset 2px 0 1px rgba(255, 245, 230, 0.15),
    inset -2px 0 2px rgba(35, 22, 12, 0.25),
    0 0 0 1px rgba(55, 35, 22, 0.4),
    0 12px 28px rgba(90, 62, 42, 0.22);
}

/* Mid gold bevel rim */
.wed6-gallery-frame::before {
  content: '';
  position: absolute;
  inset: 0.28rem;
  border-radius: 4px;
  border: 1px solid rgba(240, 220, 190, 0.42);
  box-shadow:
    0 0 0 2px rgba(90, 62, 42, 0.8),
    inset 0 1px 1px rgba(255, 248, 236, 0.3),
    inset 0 -1px 2px rgba(40, 25, 15, 0.35);
  z-index: 2;
  pointer-events: none;
}

/* Inner recessed matte / glass lip */
.wed6-gallery-frame::after {
  content: '';
  position: absolute;
  inset: 0.42rem;
  border-radius: 3px;
  background: linear-gradient(
    145deg,
    rgba(255, 250, 242, 0.12),
    transparent 40%,
    rgba(40, 25, 15, 0.16)
  );
  box-shadow:
    inset 0 0 0 1px rgba(90, 62, 42, 0.3),
    inset 0 2px 6px rgba(30, 18, 10, 0.25);
  z-index: 2;
  pointer-events: none;
}

.wed6-gallery-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  box-shadow: inset 0 0 16px rgba(30, 18, 10, 0.2);
}

.wed6-gallery-photo:not([src]),
.wed6-gallery-photo[src=''] {
  opacity: 0;
}

.wed6-gallery-floral {
  position: absolute;
  width: clamp(1.05rem, 4.2vw, 1.45rem);
  height: clamp(1.05rem, 4.2vw, 1.45rem);
  z-index: 4;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 2px 4px rgba(70, 45, 28, 0.25));
}

.wed6-gallery-floral .wed6-floral-bloom,
.wed6-gallery-floral use {
  fill: var(--wed6-tone-500);
}

.wed6-gallery-floral--tl {
  top: -0.35rem;
  left: -0.4rem;
  transform: rotate(-18deg);
}

.wed6-gallery-floral--tr {
  top: -0.3rem;
  right: -0.35rem;
  transform: rotate(22deg);
}

.wed6-gallery-floral--bl {
  bottom: -0.35rem;
  left: -0.3rem;
  transform: rotate(12deg) scale(0.92);
}

.wed6-gallery-floral--br {
  bottom: -0.3rem;
  right: -0.4rem;
  transform: rotate(-14deg) scale(0.95);
}

.wed6-gallery-item[data-i="1"] .wed6-gallery-floral--tr {
  color: var(--wed6-accent);
}

.wed6-gallery-item[data-i="2"] .wed6-gallery-floral--tl {
  transform: rotate(-28deg) scale(1.05);
}

.wed6-gallery-item[data-i="4"] .wed6-gallery-floral--br {
  color: var(--wed6-gold);
}

.wed6-gallery-item[data-i="5"] .wed6-gallery-floral--tl {
  transform: rotate(16deg) scale(0.9);
}

@keyframes wed6-gallery-photo-fade-in {
  0% {
    opacity: 0;
    filter: blur(8px);
  }
  62% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* Countdown */

.wed6-section.wed6-countdown {
  overflow: visible;
}

.wed6-countdown-curtains {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
}

.wed6-countdown-curtain {
  position: absolute;
  top: 0;
  height: 100%;
  width: 62%;
  max-width: none;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: transform 1.45s cubic-bezier(0.45, 0.05, 0.25, 1);
}

.wed6-countdown-curtain-left {
  left: 0;
  object-position: left center;
  transform: translateX(0);
}

.wed6-countdown-curtain-right {
  right: 0;
  object-position: right center;
  transform: translateX(0);
}

.wed6-countdown.is-curtains-open .wed6-countdown-curtain-left {
  transform: translateX(calc(-100% + 3.1rem));
}

.wed6-countdown.is-curtains-open .wed6-countdown-curtain-right {
  transform: translateX(calc(100% - 3.1rem));
}

.wed6-countdown-content {
  position: relative;
  z-index: 1;
}

.wed6-countdown-date {
  margin: 0 0 1.15rem;
  font-family: var(--wed6-font-serif);
  font-size: 1rem;
  color: var(--wed6-text-soft);
}

@media (prefers-reduced-motion: reduce) {
  .wed6-countdown-curtain {
    transition: none;
  }
}

.wed6-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(165deg, #80604a, #4d382c);
  box-shadow:
    0 10px 24px rgba(56, 36, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wed6-countdown-cell {
  padding: 0.85rem 0.35rem;
  background: transparent;
  color: #fdf6ec;
  box-shadow: none;
}

.wed6-countdown-cell:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.wed6-countdown-num {
  display: block;
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.1;
}

.wed6-countdown-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 246, 236, 0.85);
}

/* RSVP / Wishes */

.wed6-section.wed6-rsvp {
  overflow: visible;
}

.wed6-rsvp-side-decor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 100%;
  width: auto;
  max-width: 52%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.wed6-rsvp .wed6-section-title,
.wed6-rsvp-sub,
.wed6-rsvp-panel {
  position: relative;
  z-index: 1;
}

.wed6-rsvp-sub {
  margin: -0.4rem auto 1.25rem;
  max-width: 400px;
  color: var(--wed6-text-soft);
  font-family: var(--wed6-font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
}

.wed6-section.wed6-rsvp:has(.wed6-rsvp-thanks:not([hidden])) .wed6-rsvp-sub {
  visibility: hidden;
}

.wed6-rsvp-panel {
  display: grid;
  grid-template-areas: 'stack';
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.wed6-rsvp-form,
.wed6-rsvp-thanks {
  grid-area: stack;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.wed6-rsvp-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.45rem 1.35rem 1.5rem;
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 248, 238, 0.34) 48%, rgba(255, 255, 255, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 18px 40px rgba(90, 62, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(176, 118, 90, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}

/* Keep form footprint after submit so the session does not shrink. */
.wed6-rsvp-form.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.wed6-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wed6-field-label {
  font-family: var(--wed6-font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wed6-tone-700);
}

.wed6-field input[type='text'] {
  width: 100%;
  padding: 0.82rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(176, 118, 90, 0.28);
  background: rgba(253, 248, 240, 0.72);
  font-family: var(--wed6-font-serif);
  font-size: 1.08rem;
  color: var(--wed6-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wed6-field input::placeholder {
  color: rgba(123, 99, 80, 0.5);
  font-style: italic;
}

.wed6-field input:focus {
  outline: none;
  border-color: rgba(176, 118, 90, 0.55);
  background: rgba(255, 252, 247, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 3px rgba(193, 154, 107, 0.22);
}

.wed6-field-reason.is-visible {
  max-height: none;
}

.wed6-field-reason #wed6-rsvp-reason,
#wed6-rsvp-reason {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(176, 118, 90, 0.28);
  background: rgba(253, 248, 240, 0.72);
  font-family: var(--wed6-font-serif);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--wed6-text);
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#wed6-rsvp-reason:focus {
  outline: none;
  border-color: rgba(176, 118, 90, 0.55);
  background: rgba(255, 252, 247, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 3px rgba(193, 154, 107, 0.22);
}

#wed6-rsvp-reason::placeholder {
  color: rgba(123, 99, 80, 0.5);
  font-style: italic;
}

.wed6-field-photo {
  gap: 0.6rem;
}

.wed6-photo-controls {
  display: flex;
  gap: 0.6rem;
}

.wed6-photo-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.6rem;
  border-radius: 14px;
  border: 1px dashed rgba(176, 118, 90, 0.45);
  background: rgba(253, 248, 240, 0.55);
  font-family: var(--wed6-font-serif);
  font-size: 0.95rem;
  color: var(--wed6-text-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wed6-photo-btn:hover,
.wed6-photo-btn:focus-visible {
  border-color: rgba(176, 118, 90, 0.75);
  background: rgba(255, 252, 247, 0.85);
  color: var(--wed6-text);
  outline: none;
}

.wed6-photo-btn-icon {
  font-size: 1.1rem;
}

.wed6-photo-preview {
  position: relative;
  width: 7.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(176, 118, 90, 0.28);
  box-shadow: 0 6px 16px rgba(90, 62, 42, 0.16);
}

.wed6-photo-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.wed6-photo-remove {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: none;
  background: rgba(40, 28, 20, 0.65);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wed6-photo-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--wed6-text-soft);
}

.wed6-field-photo.has-error .wed6-photo-btn {
  border-color: #c0392b;
}

.wed6-field-photo.has-error .wed6-photo-hint {
  color: #c0392b;
}

.wed6-rsvp-form .wed6-btn-primary {
  margin-top: 0.15rem;
  width: 100%;
  background: linear-gradient(145deg, #d4a57a 0%, #b07a52 55%, #956343 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff8ef;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  box-shadow: 0 10px 24px rgba(120, 85, 55, 0.28);
}

.wed6-rsvp-form .wed6-btn-primary:hover,
.wed6-rsvp-form .wed6-btn-primary:focus-visible {
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(120, 85, 55, 0.34);
}

.wed6-field-radio {
  border: 0;
  margin: 0;
  padding: 0;
}

.wed6-radio {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.45rem;
  font-size: 0.95rem;
  color: var(--wed6-text);
  cursor: pointer;
}

.wed6-radio input {
  accent-color: var(--wed6-tone-600);
  width: 1.05rem;
  height: 1.05rem;
}

.wed6-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.wed6-stepper-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(176, 118, 90, 0.35);
  background: var(--wed6-tone-700);
  color: #fdf6ec;
  font-size: 1.15rem;
  cursor: pointer;
}

.wed6-stepper input {
  width: 52px;
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(176, 118, 90, 0.35);
  background: rgba(255, 250, 243, 0.92);
  color: var(--wed6-text);
  font-size: 1rem;
}

.wed6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--wed6-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wed6-btn:active {
  transform: scale(0.98);
}

.wed6-btn-primary {
  background: linear-gradient(135deg, #a07d5c, #6b4f3a);
  color: #fdf6ec;
  box-shadow: 0 8px 22px rgba(90, 62, 42, 0.4);
  margin-top: 0.35rem;
}

.wed6-btn-contact {
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid rgba(176, 118, 90, 0.35);
  color: var(--wed6-tone-800);
  box-shadow: 0 6px 18px rgba(120, 85, 55, 0.16);
}

.wed6-contact.is-visible .wed6-btn-contact.wed6-reveal-target {
  animation:
    wed6-stagger-reveal 1.05s cubic-bezier(0.2, 0.75, 0.2, 1) both,
    wed6ContactPulse 2.1s ease-in-out calc(var(--wed6-reveal-delay, 0s) + 1.05s) infinite;
}

@keyframes wed6ContactPulse {
  0%, 100% {
    box-shadow:
      0 6px 18px rgba(120, 85, 55, 0.16),
      0 0 0 0 rgba(176, 118, 90, 0.24),
      0 0 0 rgba(255, 210, 150, 0);
  }
  50% {
    box-shadow:
      0 10px 24px rgba(120, 85, 55, 0.24),
      0 0 0 10px rgba(176, 118, 90, 0),
      0 0 18px rgba(255, 196, 120, 0.35);
  }
}

.wed6-rsvp-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 100%;
  padding: 1.45rem 1.35rem;
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 248, 238, 0.34) 48%, rgba(255, 255, 255, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 18px 40px rgba(90, 62, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: var(--wed6-text);
  font-family: var(--wed6-font-serif);
  font-size: 1.08rem;
  font-style: italic;
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  z-index: 2;
}

.wed6-rsvp-thanks[hidden] {
  display: none;
}

.wed6-rsvp-thanks.is-animating-in {
  animation: wed6-rsvp-thanks-fade-in 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

@keyframes wed6-rsvp-thanks-fade-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.wed6-rsvp-thanks-icon {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--wed6-accent);
}

.wed6-rsvp-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.wed6-rsvp-heart {
  position: absolute;
  bottom: -10%;
  animation-name: wed6-heart-rise;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes wed6-heart-rise {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  12% { opacity: 0.9; }
  100% {
    transform: translateY(-110vh) translateX(var(--wed6-heart-drift, 0)) rotate(var(--wed6-heart-spin, 0deg));
    opacity: 0;
  }
}

/* Venues — top-left floral + glass cards */

.wed6-section.wed6-venues {
  overflow: visible;
}

.wed6-venues-corner-decor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: min(58%, 17.5rem);
  height: auto;
  max-width: none;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  transform: scaleY(-1);
  transform-origin: center center;
}

.wed6-venues .wed6-section-title,
.wed6-venues-carousel {
  position: relative;
  z-index: 1;
}

.wed6-venues-carousel {
  position: relative;
  width: 100%;
  margin: 0.15rem auto 0.15rem;
  padding: 0 1.35rem 0.85rem;
  box-sizing: border-box;
}

.wed6-venues-carousel.is-single .wed6-venue-nav,
.wed6-venues-carousel.is-single .wed6-venue-dots {
  display: none;
}

.wed6-venues-stage {
  position: relative;
  width: 100%;
  overflow: visible;
  touch-action: pan-y;
}

.wed6-venues-track {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.wed6-venue-slide {
  display: none;
  width: 100%;
}

.wed6-venue-slide.is-active {
  display: block;
}

.wed6-venue-slide.is-active.is-enter-from-right .wed6-venue-body {
  animation: wed6-venue-in-right 0.4s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.wed6-venue-slide.is-active.is-enter-from-left .wed6-venue-body {
  animation: wed6-venue-in-left 0.4s cubic-bezier(0.22, 0.7, 0.25, 1);
}

@keyframes wed6-venue-in-right {
  from {
    opacity: 0.35;
    transform: translateX(28%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wed6-venue-in-left {
  from {
    opacity: 0.35;
    transform: translateX(-28%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wed6-venue-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid rgba(176, 118, 90, 0.28);
  background: linear-gradient(145deg, #d4a57a 0%, #b07a52 100%);
  color: #fff8ef;
  box-shadow: 0 6px 14px rgba(120, 85, 55, 0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.wed6-venue-nav span {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(-1px);
}

.wed6-venue-nav-prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.wed6-venue-nav-next {
  right: 0;
  transform: translate(50%, -50%);
}

.wed6-venue-nav:hover,
.wed6-venue-nav:focus-visible {
  color: #fff8ef;
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(120, 85, 55, 0.3);
}

.wed6-venue-nav-prev:hover,
.wed6-venue-nav-prev:focus-visible {
  transform: translate(-50%, -50%) scale(1.05);
}

.wed6-venue-nav-next:hover,
.wed6-venue-nav-next:focus-visible {
  transform: translate(50%, -50%) scale(1.05);
}

.wed6-venue-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.wed6-venue-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(176, 118, 90, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wed6-venue-dot.is-active {
  background: #b0765a;
  transform: scale(1.2);
}

.wed6-venue-postcard {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 22px;
  text-align: center;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 250, 243, 0.28) 48%, rgba(255, 255, 255, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 18px 40px rgba(90, 62, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(176, 118, 90, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
  backdrop-filter: blur(18px) saturate(1.45);
}

.wed6-venue-label {
  margin: 0 0 0.85rem;
  padding: 0 2.4rem;
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.28rem, 4.8vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--wed6-tone-700);
}

.wed6-venue-address {
  margin: 0.8rem 0 1rem;
  font-family: var(--wed6-font-serif);
  font-size: 1.02rem;
  color: var(--wed6-text-soft);
  line-height: 1.45;
}

.wed6-map-frame {
  position: relative;
  width: calc(100% + 1.2rem);
  margin: 0 -0.6rem;
  overflow: hidden;
  aspect-ratio: 6 / 5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 20px rgba(90, 62, 42, 0.1);
}

.wed6-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.wed6-btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.1rem;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(176, 118, 90, 0.88);
  color: #fff8ef;
  text-decoration: none;
  font-family: var(--wed6-font-body);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(120, 85, 55, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wed6-btn-map-pin {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50% 50% 50% 0;
  background: #fff8ef;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 2px rgba(255, 248, 238, 0.25);
}

.wed6-btn-map:hover,
.wed6-btn-map:focus-visible {
  color: #fff8ef;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(120, 85, 55, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .wed6-venue-slide.is-active.is-enter-from-right .wed6-venue-body,
  .wed6-venue-slide.is-active.is-enter-from-left .wed6-venue-body {
    animation: none;
  }
}

/* Timeline — curved growing stem + projected alternating leaves */

.wed6-timeline-fall {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.wed6-timeline-fall-leaf {
  position: absolute;
  top: -10%;
  border-radius: 72% 8% 68% 12%;
  opacity: 0;
  box-shadow: 0 1px 2px rgba(70, 45, 28, 0.18);
  transform-origin: center center;
  animation-name: wed6-timeline-leaf-fall;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}

.wed6-timeline-fall-leaf::after {
  content: '';
  position: absolute;
  left: 48%;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255, 248, 238, 0.35);
  transform: translateX(-50%);
  border-radius: 1px;
}

@keyframes wed6-timeline-leaf-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  8% {
    opacity: 0.82;
  }
  45% {
    transform: translate3d(var(--wed6-fall-sway, 0px), 48vh, 0) rotate(calc(var(--wed6-fall-spin, 200deg) * 0.5));
  }
  85% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--wed6-fall-drift, 0px), 108%, 0) rotate(var(--wed6-fall-spin, 200deg));
  }
}

.wed6-timeline-plant {
  position: relative;
  width: min(100%, 24rem);
  margin: 0.35rem auto 0.5rem;
  padding: 0.45rem 0 1.25rem;
}

.wed6-timeline-stem {
  position: absolute;
  left: 50%;
  top: 0.15rem;
  bottom: 0.7rem;
  width: 3rem;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.wed6-timeline-stem-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wed6-timeline-stem-path {
  fill: none;
  stroke: #9a6b48;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset var(--wed6-stem-duration, 1.9s) cubic-bezier(0.22, 0.7, 0.25, 1);
  filter: drop-shadow(0 1px 0 rgba(255, 248, 238, 0.35));
}

.wed6-timeline-stem-tip {
  position: absolute;
  left: 50%;
  bottom: -0.1rem;
  width: 10px;
  height: 10px;
  border-radius: 55% 45% 50% 50%;
  background: linear-gradient(160deg, #c19a6b, #9a6b48);
  transform: translateX(-50%) scale(0);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 0.7, 0.25, 1) var(--wed6-stem-duration, 1.9s),
    opacity 0.35s ease calc(var(--wed6-stem-duration, 1.9s) - 0.1s);
}

.wed6-timeline.is-visible .wed6-timeline-stem-tip {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.wed6-timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.wed6-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 5.1rem;
  margin: 0 0 1.35rem;
  padding: 0 0.35rem;
  column-gap: 2.75rem;
}

.wed6-timeline-item:last-child {
  margin-bottom: 0;
}

.wed6-timeline-leaf {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  width: max-content;
  height: 2rem;
  z-index: 2;
  pointer-events: none;
}

.wed6-timeline-item.is-left .wed6-timeline-leaf {
  flex-direction: row;
  transform: translate(-100%, -50%);
}

.wed6-timeline-item.is-right .wed6-timeline-leaf {
  flex-direction: row;
  transform: translate(0, -50%);
}

.wed6-timeline-petiole {
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b08660, #8a5c3a);
  transform: scaleX(0);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 0.75, 0.25, 1) var(--wed6-leaf-delay, 0.4s),
    opacity 0.3s ease var(--wed6-leaf-delay, 0.4s);
}

.wed6-timeline-item.is-left .wed6-timeline-petiole {
  order: 2;
  /* grows out from the stem (right edge = stem contact) */
  transform-origin: right center;
  background: linear-gradient(270deg, #8a5c3a 0%, #b08660 100%);
}

.wed6-timeline-item.is-right .wed6-timeline-petiole {
  order: 1;
  /* grows out from the stem (left edge = stem contact) */
  transform-origin: left center;
  background: linear-gradient(90deg, #8a5c3a 0%, #b08660 100%);
}

.wed6-timeline-leaf::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8a5c3a;
  box-shadow: 0 0 0 1.5px rgba(193, 154, 107, 0.35);
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition:
    transform 0.35s ease var(--wed6-leaf-delay, 0.4s),
    opacity 0.3s ease var(--wed6-leaf-delay, 0.4s);
  z-index: 3;
}

.wed6-timeline-item.is-left .wed6-timeline-leaf::after {
  right: -3px;
}

.wed6-timeline-item.is-right .wed6-timeline-leaf::after {
  left: -3px;
}

.wed6-timeline-leaf-body {
  position: relative;
  flex: 0 0 1.85rem;
  width: 1.85rem;
  height: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.25);
  transition:
    transform 0.55s cubic-bezier(0.22, 0.75, 0.25, 1) calc(var(--wed6-leaf-delay, 0.4s) + 0.08s),
    opacity 0.4s ease calc(var(--wed6-leaf-delay, 0.4s) + 0.08s);
}

.wed6-timeline-item.is-left .wed6-timeline-leaf-body {
  order: 1;
  transform-origin: right center;
}

.wed6-timeline-item.is-right .wed6-timeline-leaf-body {
  order: 2;
  transform-origin: left center;
}

.wed6-timeline-leaf-blade {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.85rem;
  height: 1.2rem;
  border-radius: 70% 12% 70% 12%;
  background: linear-gradient(145deg, #e0c4a0 0%, #c19a6b 45%, #b0765a 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 248, 238, 0.45),
    0 4px 8px rgba(120, 85, 55, 0.18);
}

.wed6-timeline-item.is-left .wed6-timeline-leaf-blade {
  border-radius: 12% 70% 12% 70%;
  transform: rotate(-26deg);
}

.wed6-timeline-item.is-right .wed6-timeline-leaf-blade {
  border-radius: 70% 12% 70% 12%;
  transform: rotate(26deg);
}

.wed6-timeline-leaf-vein {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  height: 1.5px;
  border-radius: 1px;
  background: rgba(90, 62, 42, 0.38);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.wed6-timeline-item.is-left .wed6-timeline-leaf-vein {
  transform: translate(-50%, -50%) rotate(-26deg);
}

.wed6-timeline-item.is-right .wed6-timeline-leaf-vein {
  transform: translate(-50%, -50%) rotate(26deg);
}

.wed6-timeline-card {
  width: 100%;
  max-width: 9.75rem;
  text-align: center;
  opacity: 0;
  transition:
    opacity 0.45s ease calc(var(--wed6-leaf-delay, 0.4s) + 0.14s),
    transform 0.55s cubic-bezier(0.22, 0.75, 0.25, 1) calc(var(--wed6-leaf-delay, 0.4s) + 0.14s);
}

.wed6-timeline-item.is-left .wed6-timeline-card {
  grid-column: 1;
  justify-self: center;
  padding-right: 0.85rem;
  transform: translateX(-0.35rem);
}

.wed6-timeline-item.is-right .wed6-timeline-card {
  grid-column: 2;
  justify-self: center;
  padding-left: 0.85rem;
  transform: translateX(0.35rem);
}

.wed6-timeline.is-visible .wed6-timeline-petiole {
  opacity: 1;
  transform: scaleX(1);
}

.wed6-timeline.is-visible .wed6-timeline-leaf::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.wed6-timeline.is-visible .wed6-timeline-leaf-body {
  opacity: 1;
  transform: scale(1);
}

.wed6-timeline.is-visible .wed6-timeline-card {
  opacity: 1;
  transform: translateX(0);
}

.wed6-timeline-title {
  margin: 0 0 0.15rem;
  font-family: var(--wed6-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--wed6-ivory);
  line-height: 1.2;
  text-align: center;
}

.wed6-timeline-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--wed6-text-soft);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.35;
}

.wed6-timeline-date,
.wed6-timeline-time {
  display: block;
}

.wed6-timeline-time {
  margin-top: 0.12rem;
}

@media (prefers-reduced-motion: reduce) {
  .wed6-timeline-stem-path,
  .wed6-timeline-stem-tip,
  .wed6-timeline-petiole,
  .wed6-timeline-leaf-body,
  .wed6-timeline-leaf::after,
  .wed6-timeline-card {
    transition: none !important;
  }

  .wed6-timeline-stem-path {
    stroke-dashoffset: 0 !important;
  }

  .wed6-timeline-stem-tip,
  .wed6-timeline-petiole,
  .wed6-timeline-leaf-body,
  .wed6-timeline-leaf::after,
  .wed6-timeline-card {
    opacity: 1;
    transform: none;
  }

  .wed6-timeline-petiole {
    transform: scaleX(1);
  }

  .wed6-timeline-leaf-body {
    transform: scale(1);
  }

  .wed6-timeline-leaf::after {
    transform: translateY(-50%) scale(1);
  }
}

/* Contact */

.wed6-contact-text {
  margin: 0 0 1rem;
  color: var(--wed6-text-soft);
}

.wed6-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.wed6-btn-contact {
  background: linear-gradient(135deg, #c99a72, #a97c58);
  color: #fdf6ec;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(150, 110, 80, 0.3);
}

/* Welcome */

/* Welcome — same paper theme as event details (even session) */

.wed6-section.wed6-welcome,
.wed6-section:nth-child(even).wed6-welcome,
.wed6-section:nth-child(odd).wed6-welcome {
  color: #4a3626;
  overflow: hidden;
  padding-top: 7.25rem;
  background-color: #f8efe6;
  background-image:
    var(--wed6-noise),
    radial-gradient(circle at 20% 30%, rgba(120, 85, 55, 0.08) 0 1px, transparent 1.4px),
    radial-gradient(circle at 75% 18%, rgba(120, 85, 55, 0.06) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 72%, rgba(150, 110, 70, 0.055) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 34% 84%, rgba(100, 70, 45, 0.06) 0 1.3px, transparent 1.9px),
    repeating-linear-gradient(168deg, rgba(120, 85, 55, 0.025) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px),
    var(--wed6-emboss),
    radial-gradient(ellipse at 75% 18%, rgba(224, 190, 168, 0.34), transparent 42%),
    radial-gradient(ellipse at 20% 85%, rgba(210, 188, 162, 0.3), transparent 48%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.45), transparent 55%),
    linear-gradient(210deg, rgba(255, 255, 255, 0.78) 0%, transparent 45%),
    linear-gradient(180deg, #fffaf4 0%, #f8efe6 50%, #f0e2d4 100%);
  background-blend-mode:
    multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply,
    normal, normal, normal, normal, normal;
  background-size:
    220px 220px,
    24px 24px, 32px 32px, 28px 28px, 36px 36px,
    100% 100%, 100% 100%,
    22% auto,
    auto, auto, auto, auto, auto;
  box-shadow: 0 10px 28px rgba(150, 110, 80, 0.08);
}

.wed6-section.wed6-welcome::before,
.wed6-section:nth-child(even).wed6-welcome::before,
.wed6-section:nth-child(odd).wed6-welcome::before {
  background-color: #f7f1e8;
}

.wed6-welcome .wed6-floral-divider {
  color: #c19a6b;
}

.wed6-welcome .wed6-floral-line {
  background: linear-gradient(90deg, transparent, #c9a57a, transparent);
}

.wed6-welcome .wed6-floral-dot {
  background: #b0765a;
}

.wed6-welcome .wed6-floral-bloom-mark {
  color: #b0765a;
}

.wed6-welcome-text,
.wed6-section:nth-child(even) .wed6-welcome-text,
.wed6-section:nth-child(odd) .wed6-welcome-text {
  margin: 0 auto 1.35rem;
  max-width: 420px;
  font-family: var(--wed6-font-serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.65;
  color: #7a5c44;
  position: relative;
  z-index: 1;
}

.wed6-welcome-lights {
  position: absolute;
  top: -0.15rem;
  z-index: 0;
  width: min(52%, 11.25rem);
  height: auto;
  opacity: 0.65;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  animation: wed6-welcome-lights-glow 2.4s ease-in-out infinite;
  will-change: filter, opacity;
}

.wed6-welcome-lights--left {
  left: -0.55rem;
}

.wed6-welcome-lights--right {
  right: -0.55rem;
  transform: scaleX(-1);
  animation-name: wed6-welcome-lights-glow-right;
}

@keyframes wed6-welcome-lights-glow {
  0%,
  100% {
    opacity: 0.48;
    filter:
      brightness(0.94)
      drop-shadow(0 0 2px rgba(255, 196, 120, 0.12));
  }
  28% {
    opacity: 0.62;
    filter:
      brightness(1.02)
      drop-shadow(0 0 4px rgba(255, 190, 110, 0.2));
  }
  45% {
    opacity: 0.86;
    filter:
      brightness(1.24)
      drop-shadow(0 0 10px rgba(255, 190, 110, 0.55))
      drop-shadow(0 0 18px rgba(255, 170, 80, 0.28));
  }
  55% {
    opacity: 0.68;
    filter:
      brightness(1.1)
      drop-shadow(0 0 6px rgba(255, 190, 110, 0.35));
  }
  72% {
    opacity: 0.58;
    filter:
      brightness(1.01)
      drop-shadow(0 0 3px rgba(255, 190, 110, 0.18));
  }
  86% {
    opacity: 0.52;
    filter:
      brightness(0.97)
      drop-shadow(0 0 2px rgba(255, 196, 120, 0.14));
  }
}

@keyframes wed6-welcome-lights-glow-right {
  0%,
  100% {
    opacity: 0.48;
    transform: scaleX(-1);
    filter:
      brightness(0.94)
      drop-shadow(0 0 2px rgba(255, 196, 120, 0.12));
  }
  28% {
    opacity: 0.62;
    transform: scaleX(-1);
    filter:
      brightness(1.02)
      drop-shadow(0 0 4px rgba(255, 190, 110, 0.2));
  }
  45% {
    opacity: 0.86;
    transform: scaleX(-1);
    filter:
      brightness(1.24)
      drop-shadow(0 0 10px rgba(255, 190, 110, 0.55))
      drop-shadow(0 0 18px rgba(255, 170, 80, 0.28));
  }
  55% {
    opacity: 0.68;
    transform: scaleX(-1);
    filter:
      brightness(1.1)
      drop-shadow(0 0 6px rgba(255, 190, 110, 0.35));
  }
  72% {
    opacity: 0.58;
    transform: scaleX(-1);
    filter:
      brightness(1.01)
      drop-shadow(0 0 3px rgba(255, 190, 110, 0.18));
  }
  86% {
    opacity: 0.52;
    transform: scaleX(-1);
    filter:
      brightness(0.97)
      drop-shadow(0 0 2px rgba(255, 196, 120, 0.14));
  }
}

.wed6-welcome-bird {
  position: absolute;
  top: -0.2rem;
  left: 50%;
  z-index: 0;
  width: min(40%, 8.25rem);
  height: auto;
  opacity: 0.99;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  animation: wed6-welcome-bird-swing 3.6s ease-in-out infinite;
}

@keyframes wed6-welcome-bird-swing {
  0%,
  100% {
    transform: translateX(-50%) rotate(-5.5deg);
  }
  50% {
    transform: translateX(-50%) rotate(5.5deg);
  }
}

.wed6-welcome .wed6-floral-divider--bottom {
  margin: 0.6rem 0 0.02rem;
}

.wed6-welcome .wed6-floral-divider,
.wed6-closing,
.wed6-blessings {
  position: relative;
  z-index: 1;
}

.wed6-closing {
  margin: 0 0 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wed6-closing-top,
.wed6-section:nth-child(even) .wed6-closing-top,
.wed6-section:nth-child(odd) .wed6-closing-top {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b0765a;
  font-weight: 700;
}

.wed6-closing-names,
.wed6-section:nth-child(even) .wed6-closing-names,
.wed6-section:nth-child(odd) .wed6-closing-names {
  font-family: var(--wed6-font-display);
  font-size: clamp(1.85rem, 7vw, 2.35rem);
  color: #4a3324;
  line-height: 1.15;
}

.wed6-blessings {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wed6-blessings-label,
.wed6-section:nth-child(even) .wed6-blessings-label,
.wed6-section:nth-child(odd) .wed6-blessings-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a07d5c;
  font-weight: 700;
}

.wed6-blessings-names,
.wed6-section:nth-child(even) .wed6-blessings-names,
.wed6-section:nth-child(odd) .wed6-blessings-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--wed6-font-serif);
  font-size: clamp(1.12rem, 4.2vw, 1.28rem);
  color: #5a3d29;
  line-height: 1.45;
}

.wed6-blessings-line {
  display: block;
}

.wed6-blessings-line.is-grouped {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  max-width: 22rem;
}

.wed6-blessings-group-label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a07d5c;
}

.wed6-blessings-line-names {
  display: block;
  text-align: center;
}

.wed6-blessings-amp {
  display: block;
  font-family: var(--wed6-font-display);
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  line-height: 1;
  color: #b0765a;
  margin: 0.15rem 0;
}

.wed6-blessings-name,
.wed6-section:nth-child(even) .wed6-blessings-name,
.wed6-section:nth-child(odd) .wed6-blessings-name {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.7rem);
  color: #4f3a2b;
}

.wed6-blessings-sep {
  display: inline;
  opacity: 0;
  color: #b0765a;
}

.wed6-welcome.is-visible .wed6-blessings-name {
  animation: wed6-bless-in 0.75s cubic-bezier(0.22, 0.7, 0.25, 1) forwards;
  animation-delay: calc(0.28s + (var(--wed6-bless-i, 0) * 0.16s));
}

.wed6-welcome.is-visible .wed6-blessings-sep {
  animation: wed6-bless-sep-in 0.45s ease forwards;
  animation-delay: calc(0.36s + (var(--wed6-bless-i, 0) * 0.16s));
}

@keyframes wed6-bless-in {
  0% {
    opacity: 0;
    transform: translateY(0.7rem);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes wed6-bless-sep-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 640px) {
  .wed6-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wed6-reveal,
  .wed6-reveal-target,
  .wed6-hero-invite,
  .wed6-hero-amp,
  .wed6-hero-date-block,
  .wed6-zoom-letter,
  .wed6-door-tap-ring,
  .wed6-scroll-hint-chevrons span,
  .wed6-blessings-name,
  .wed6-blessings-sep,
  .wed6-welcome-bird,
  .wed6-welcome-lights,
  .wed6-rsvp-thanks.is-animating-in,
  .wed6-together.is-gallery-visible .wed6-gallery-item:not(.is-empty),
  .wed6-quote-text.is-typing::after,
  .wed6-timeline-fall-leaf,
  .wed6-opening-loader-bloom span,
  .wed6-opening-loader-hint {
    animation: none !important;
    transition: none !important;
  }

  .wed6-reveal,
  .wed6-reveal-target,
  .wed6-hero-invite,
  .wed6-hero-amp,
  .wed6-hero-date-block,
  .wed6-zoom-letter,
  .wed6-blessings-name,
  .wed6-blessings-sep,
  .wed6-gallery-item:not(.is-empty) {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .wed6-details .wed6-details-couple-frame.wed6-reveal-target {
    opacity: 0.8;
    transform: none;
  }

  .wed6-welcome-bird {
    transform: translateX(-50%);
  }

  .wed6-hero-invite {
    transform: translateX(-50%);
  }

  .wed6-save-date-copy > span,
  .wed6-save-date-heading-art,
  .wed6-save-date-art {
    animation: none !important;
  }

  .wed6-save-date-section.is-visible .wed6-save-date-copy > span,
  .wed6-save-date-section.is-visible .wed6-save-date-heading-art {
    opacity: 1;
    transform: none;
  }

  .wed6-gallery-track {
    height: auto;
  }

  .wed6-gallery-stage {
    position: relative;
    height: auto;
    min-height: 100svh;
    padding: 2rem 1rem;
  }

  .wed6-gallery-cluster {
    transform: none !important;
    height: min(88svh, 38rem);
  }
}

/* ── Force mobile-width view on desktop/tablet ──
   `transform` on body establishes a new containing block for its
   position:fixed descendants, so they stay confined to this boxed
   "phone" instead of the full browser viewport. */
@media (min-width: 769px) {
  html {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100vh;
    background: #241a12;
  }

  body {
    width: 430px;
    max-width: 430px;
    height: 100vh;
    max-height: 932px;
    margin: 0;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  }
}