/* Velvet Butterflies (Wedding T10) — velvet field, crimson, antique gold */

:root {
  --wed10-app-height: 100dvh;
  /* Dark golden / bronze (rgb(140,109,42) ≈ #8C6D2A) + maroon */
  --wed10-gold: #8c6d2a;
  --wed10-gold-2: #6a521f;
  --wed10-gold-soft: #a8883f;
  --wed10-maroon: #6e1a1a;
  --wed10-maroon-2: #8a2424;
  --wed10-ink: #1a120c;
  --wed10-muted: rgba(90, 55, 22, 0.9);
  /* Light text ONLY on red / maroon backgrounds */
  --wed10-on-red: #fff8ec;
  --wed10-ivory: #fffaf4;
  --wed10-red: #e23a12;
  --wed10-red-deep: #8b1408;
  --wed10-card: rgba(255, 250, 245, 0.42);
  --wed10-fog: rgba(255, 248, 242, 0.16);
  --wed10-line: rgba(140, 109, 42, 0.5);
  --wed10-shadow: rgba(40, 18, 12, 0.18);
  /* Ornament family — same palette, different motifs */
  --wed10-ornament-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 36' fill='none'%3E%3Cpath d='M18 18 L24 12 L30 18 L24 24 Z' fill='%238C6D2A'/%3E%3Cpath d='M32 18 H128' stroke='%238C6D2A' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M132 18 L142 8 L152 18 L142 28 Z' fill='%238C6D2A'/%3E%3Cpath d='M160 18 L178 0 L196 18 L178 36 Z' fill='%236E1A1A' stroke='%238C6D2A' stroke-width='1.7'/%3E%3Ccircle cx='178' cy='18' r='3.1' fill='%23E23A12'/%3E%3Cpath d='M204 18 L214 8 L224 18 L214 28 Z' fill='%238C6D2A'/%3E%3Cpath d='M228 18 H288' stroke='%238C6D2A' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M290 18 L296 12 L302 18 L296 24 Z' fill='%238C6D2A'/%3E%3C/svg%3E");
  --wed10-ornament-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 36' fill='none'%3E%3Ccircle cx='40' cy='18' r='2.2' fill='%238C6D2A'/%3E%3Cpath d='M52 18 H118' stroke='%238C6D2A' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M122 18 L134 8 L146 18 L134 28 Z' fill='%238C6D2A'/%3E%3Cpath d='M152 18 L160 6 L168 18 L160 30 Z' fill='%236E1A1A' stroke='%238C6D2A' stroke-width='1.4'/%3E%3Ccircle cx='160' cy='18' r='2.4' fill='%23E23A12'/%3E%3Cpath d='M174 18 L186 8 L198 18 L186 28 Z' fill='%238C6D2A'/%3E%3Cpath d='M202 18 H268' stroke='%238C6D2A' stroke-width='1.15' stroke-linecap='round'/%3E%3Ccircle cx='280' cy='18' r='2.2' fill='%238C6D2A'/%3E%3C/svg%3E");
  --wed10-ornament-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 36' fill='none'%3E%3Cpath d='M24 18 L30 12 L36 18 L30 24 Z' fill='%238C6D2A'/%3E%3Cpath d='M40 15.5 H138' stroke='%238C6D2A' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M40 20.5 H138' stroke='%238C6D2A' stroke-width='1' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M146 18 L160 2 L174 18 L160 34 Z' fill='%236E1A1A' stroke='%238C6D2A' stroke-width='1.6'/%3E%3Ccircle cx='160' cy='18' r='2.8' fill='%23E23A12'/%3E%3Cpath d='M182 15.5 H280' stroke='%238C6D2A' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M182 20.5 H280' stroke='%238C6D2A' stroke-width='1' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M284 18 L290 12 L296 18 L290 24 Z' fill='%238C6D2A'/%3E%3C/svg%3E");
  --wed10-ornament-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 36' fill='none'%3E%3Cpath d='M28 18 H96' stroke='%238C6D2A' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M102 18 L110 12 L118 18 L110 24 Z' fill='%238C6D2A'/%3E%3Cpath d='M124 18 L134 10 L144 18 L134 26 Z' fill='%238C6D2A'/%3E%3Cpath d='M150 18 L160 6 L170 18 L160 30 Z' fill='%236E1A1A' stroke='%238C6D2A' stroke-width='1.5'/%3E%3Ccircle cx='160' cy='18' r='2.2' fill='%23E23A12'/%3E%3Cpath d='M176 18 L186 10 L196 18 L186 26 Z' fill='%238C6D2A'/%3E%3Cpath d='M202 18 L210 12 L218 18 L210 24 Z' fill='%238C6D2A'/%3E%3Cpath d='M224 18 H292' stroke='%238C6D2A' stroke-width='1.15' stroke-linecap='round'/%3E%3C/svg%3E");
  --wed10-ornament-e: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 36' fill='none'%3E%3Ccircle cx='48' cy='18' r='1.65' fill='%238C6D2A'/%3E%3Ccircle cx='62' cy='18' r='1.65' fill='%238C6D2A'/%3E%3Cpath d='M74 18 H128' stroke='%238C6D2A' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M136 18 L160 2 L184 18 L160 34 Z' fill='%236E1A1A' stroke='%238C6D2A' stroke-width='1.55'/%3E%3Cpath d='M160 11 L167 18 L160 25 L153 18 Z' fill='%23E23A12'/%3E%3Cpath d='M192 18 H246' stroke='%238C6D2A' stroke-width='1.1' stroke-linecap='round'/%3E%3Ccircle cx='258' cy='18' r='1.65' fill='%238C6D2A'/%3E%3Ccircle cx='272' cy='18' r='1.65' fill='%238C6D2A'/%3E%3C/svg%3E");
  --wed10-ornament-f: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 36' fill='none'%3E%3Cpath d='M68 18 L78 10 L88 18 L78 26 Z' fill='%238C6D2A'/%3E%3Cpath d='M96 18 L110 6 L124 18 L110 30 Z' fill='%238C6D2A'/%3E%3Cpath d='M132 18 L160 0 L188 18 L160 36 Z' fill='%236E1A1A' stroke='%238C6D2A' stroke-width='1.7'/%3E%3Ccircle cx='160' cy='18' r='3' fill='%23E23A12'/%3E%3Cpath d='M196 18 L210 6 L224 18 L210 30 Z' fill='%238C6D2A'/%3E%3Cpath d='M232 18 L242 10 L252 18 L242 26 Z' fill='%238C6D2A'/%3E%3C/svg%3E");
  --wed10-ornament-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 36' fill='none'%3E%3Cpath d='M30 18 L36 13 L42 18 L36 23 Z' fill='%238C6D2A'/%3E%3Cpath d='M48 18 H112' stroke='%238C6D2A' stroke-width='1.15' stroke-linecap='round'/%3E%3Ccircle cx='122' cy='18' r='1.85' fill='%238C6D2A'/%3E%3Cpath d='M132 18 L146 8 L160 18 L146 28 Z' fill='%238C6D2A'/%3E%3Cpath d='M150 18 L160 4 L170 18 L160 32 Z' fill='%236E1A1A' stroke='%238C6D2A' stroke-width='1.55'/%3E%3Ccircle cx='160' cy='18' r='2.55' fill='%23E23A12'/%3E%3Cpath d='M174 18 L188 8 L202 18 L188 28 Z' fill='%238C6D2A'/%3E%3Ccircle cx='198' cy='18' r='1.85' fill='%238C6D2A'/%3E%3Cpath d='M208 18 H272' stroke='%238C6D2A' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M278 18 L284 13 L290 18 L284 23 Z' fill='%238C6D2A'/%3E%3C/svg%3E");
  --wed10-ornament: var(--wed10-ornament-a);
}

/* Variant chooser (template showcase only) */
.wed-variant-picker {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top, rgba(26, 8, 8, 0.97) 0%, rgba(40, 12, 12, 0.98) 55%, rgba(20, 6, 6, 0.99) 100%);
  transition: opacity 0.45s ease;
}

.wed-variant-picker.is-active {
  display: flex;
  animation: wed10VariantFadeIn 0.45s ease both;
}

@keyframes wed10VariantFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wed-variant-picker.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.wed-variant-picker-card {
  width: min(92vw, 24rem);
  padding: 2rem 1.6rem 1.75rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(110, 26, 26, 0.92) 0%, rgba(74, 14, 14, 0.96) 100%);
  border: 1px solid rgba(196, 168, 138, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border-radius: 16px;
}

.wed-variant-picker-title {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  font-weight: 600;
  color: var(--wed10-ivory);
  letter-spacing: 0.02em;
}

.wed-variant-picker-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wed-variant-picker-btn {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(196, 168, 138, 0.35);
  border-radius: 12px;
  background: rgba(255, 250, 244, 0.08);
  color: var(--wed10-ivory);
  font-family: 'Nunito', system-ui, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wed-variant-picker-btn:hover,
.wed-variant-picker-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  outline: none;
}

.wed-variant-picker-btn-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wed10-gold-soft);
}

.wed-variant-picker-btn-desc {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 248, 236, 0.72);
}

.wed-variant-picker-btn-price {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 248, 236, 0.82);
}

.wed-variant-picker-btn.is-premium {
  border-color: rgba(212, 181, 106, 0.55);
  background: linear-gradient(135deg, rgba(138, 36, 36, 0.55), rgba(90, 20, 20, 0.75) 58%, rgba(74, 14, 14, 0.85));
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.12);
}

.wed-variant-picker-btn.is-premium:hover,
.wed-variant-picker-btn.is-premium:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.12), 0 12px 26px rgba(140, 109, 42, 0.28);
}

.wed-variant-picker-btn.is-premium .wed-variant-picker-btn-desc {
  color: rgba(243, 226, 180, 0.85);
}

.wed-variant-picker-btn.is-premium .wed-variant-picker-btn-price {
  color: #f3e2b4;
}

body[data-variant="premium"] .wed10-standard-only {
  display: none !important;
}

body:not([data-variant="premium"]) .wed10-premium-only {
  display: none !important;
}

html,
body {
  margin: 0;
  height: var(--wed10-app-height);
  overflow: hidden;
  max-width: 100%;
  background: #050203;
  color: var(--wed10-ink);
  font-family: 'Nunito', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wed10-velvet {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wed10-velvet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wed10-ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 95% 70% at 50% 38%,
      rgba(255, 246, 228, 0.16) 0%,
      rgba(255, 236, 200, 0.07) 38%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 80% 55% at 18% 72%,
      rgba(120, 22, 28, 0.18) 0%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 75% 50% at 82% 24%,
      rgba(90, 16, 22, 0.14) 0%,
      transparent 58%
    ),
    linear-gradient(
      180deg,
      rgba(8, 2, 3, 0.42) 0%,
      rgba(8, 2, 3, 0.08) 22%,
      rgba(8, 2, 3, 0.04) 55%,
      rgba(8, 2, 3, 0.38) 100%
    ),
    radial-gradient(
      ellipse 120% 100% at 50% 50%,
      transparent 42%,
      rgba(4, 1, 2, 0.34) 100%
    );
}

.wed10-love-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 80;
  max-width: 100vw;
}

.wed10-love-drop {
  position: absolute;
  top: -12%;
  line-height: 1;
  color: var(--wed10-maroon);
  animation-name: wed10LoveDrop;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}

.wed10-love-drop svg {
  display: block;
  width: 1em;
  height: 1em;
}

.wed10-love-drop.is-filled svg {
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(110, 26, 26, 0.28));
}

.wed10-love-drop.is-outline svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linejoin: round;
}

@keyframes wed10LoveDrop {
  0% {
    transform: translate3d(0, -8vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--wed10-heart-drift, 0), 120vh, 0)
      rotate(var(--wed10-heart-spin, 24deg));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wed10-love-rain,
  .wed10-love-drop {
    display: none;
  }
}

.wed10-petals {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  max-width: 100vw;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.wed10-petals.is-active {
  opacity: 0.55;
}

.wed10-petal {
  position: absolute;
  top: -12px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  opacity: var(--petal-opacity, 0.22);
  will-change: transform, opacity;
  animation: wed10PetalFall linear infinite;
}

@keyframes wed10PetalFall {
  0% {
    transform: translateY(-5vh) translateX(0) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: var(--petal-opacity, 0.22);
  }
  100% {
    transform: translateY(110vh) translateX(var(--petal-drift, 0))
      rotate(calc(45deg + var(--petal-spin, 360deg)));
    opacity: 0;
  }
}

.wed10-butterflies {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
  max-width: 100vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.wed10-butterflies.is-active {
  opacity: 1;
  visibility: visible;
}

.wed10-butterfly {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}

.wed10-page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: var(--wed10-app-height);
  overflow: hidden;
}

.wed10-session {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wed10-session.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wed10-session-opening,
.wed10-opening-stage {
  background-color: #4a1218;
  background-image:
    radial-gradient(ellipse 120% 80% at 22% 0%, rgba(255, 196, 128, 0.16), transparent 54%),
    radial-gradient(ellipse 90% 70% at 84% 12%, rgba(255, 176, 96, 0.11), transparent 50%),
    radial-gradient(ellipse 100% 90% at 50% 100%, rgba(12, 2, 6, 0.62), transparent 58%),
    radial-gradient(ellipse 62% 48% at 10% 70%, rgba(118, 28, 38, 0.42), transparent 52%),
    radial-gradient(ellipse 58% 44% at 90% 74%, rgba(92, 18, 28, 0.38), transparent 50%),
    linear-gradient(168deg, #5c1820 0%, #4a1218 42%, #350c12 100%);
}

.wed10-session-opening {
  z-index: 25;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}

.wed10-opening-stage {
  position: absolute;
  inset: 0;
}

.wed10-session-opening.is-fading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wed10-opening-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  background-color: #4a1218;
  background-image:
    radial-gradient(ellipse 120% 80% at 22% 0%, rgba(255, 196, 128, 0.16), transparent 54%),
    radial-gradient(ellipse 100% 90% at 50% 100%, rgba(12, 2, 6, 0.62), transparent 58%),
    linear-gradient(168deg, #5c1820 0%, #4a1218 42%, #350c12 100%);
  pointer-events: none;
}

.wed10-opening-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: #4a1218;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* iOS fallback: still image until the cover video paints or playback starts */
.wed10-opening-stage.is-poster-fallback .wed10-opening-poster {
  opacity: 1;
  visibility: visible;
}

.wed10-opening-stage.is-frame-ready .wed10-opening-poster,
.wed10-opening-stage.is-cover-visible .wed10-opening-poster {
  opacity: 0;
  visibility: hidden;
}

.wed10-opening-loader {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  background-color: #4a1218;
  background-image:
    radial-gradient(ellipse 120% 80% at 22% 0%, rgba(255, 196, 128, 0.16), transparent 54%),
    radial-gradient(ellipse 90% 70% at 84% 12%, rgba(255, 176, 96, 0.11), transparent 50%),
    radial-gradient(ellipse 100% 90% at 50% 100%, rgba(12, 2, 6, 0.62), transparent 58%),
    radial-gradient(ellipse 62% 48% at 10% 70%, rgba(118, 28, 38, 0.42), transparent 52%),
    radial-gradient(ellipse 58% 44% at 90% 74%, rgba(92, 18, 28, 0.38), transparent 50%),
    linear-gradient(168deg, #5c1820 0%, #4a1218 42%, #350c12 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.wed10-opening-bokeh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wed10-opening-bokeh-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 160, 0.95) 0%, rgba(255, 190, 110, 0.45) 38%, transparent 72%);
  filter: blur(1px);
  opacity: 0;
  animation: wed10-opening-bokeh 4.8s ease-in-out infinite;
}

.wed10-opening-bokeh-dot:nth-child(1) {
  width: 4.8rem;
  height: 4.8rem;
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.wed10-opening-bokeh-dot:nth-child(2) {
  width: 3.2rem;
  height: 3.2rem;
  top: 22%;
  right: 14%;
  animation-delay: 0.8s;
}

.wed10-opening-bokeh-dot:nth-child(3) {
  width: 5.6rem;
  height: 5.6rem;
  top: 58%;
  left: 18%;
  animation-delay: 1.6s;
}

.wed10-opening-bokeh-dot:nth-child(4) {
  width: 2.8rem;
  height: 2.8rem;
  bottom: 18%;
  right: 22%;
  animation-delay: 2.2s;
}

.wed10-opening-bokeh-dot:nth-child(5) {
  width: 3.6rem;
  height: 3.6rem;
  bottom: 28%;
  left: 42%;
  animation-delay: 1.1s;
}

.wed10-opening-bokeh-dot:nth-child(6) {
  width: 2.2rem;
  height: 2.2rem;
  top: 38%;
  right: 38%;
  animation-delay: 3s;
}

@keyframes wed10-opening-bokeh {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.88);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.06);
  }
}

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

.wed10-opening-loader-card {
  position: relative;
  z-index: 1;
  width: min(88vw, 20.5rem);
  padding: 2rem 1.5rem 1.55rem;
  border-radius: 14px;
  text-align: center;
  color: #4a2418;
  background-color: #f3ebe0;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.72), transparent 58%),
    radial-gradient(ellipse at 18% 88%, rgba(110, 26, 26, 0.06), transparent 42%),
    linear-gradient(180deg, #faf4eb 0%, #f3ebe0 52%, #e8ddd0 100%);
  border: 1px solid rgba(212, 181, 106, 0.34);
  box-shadow:
    0 20px 44px rgba(20, 4, 8, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -18px 28px rgba(110, 26, 26, 0.04);
  overflow: hidden;
}

.wed10-opening-loader-card::before {
  content: '';
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(140, 109, 42, 0.16);
  border-radius: 10px;
  pointer-events: none;
}

.wed10-opening-loader-seal {
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.95rem;
  display: grid;
  place-items: center;
}

.wed10-opening-loader-heart {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  transform: rotate(-45deg);
  background: linear-gradient(145deg, #d43838 0%, #a82020 52%, #7a1414 100%);
  border-radius: 0 0 0 7px;
  box-shadow:
    0 6px 16px rgba(90, 12, 12, 0.38),
    inset 0 1px 0 rgba(255, 200, 200, 0.25);
  animation: wed10-loader-heart-pulse 1.85s ease-in-out infinite;
}

.wed10-opening-loader-heart::before,
.wed10-opening-loader-heart::after {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background: inherit;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 200, 200, 0.2);
}

.wed10-opening-loader-heart::before {
  top: -0.75rem;
  left: 0;
}

.wed10-opening-loader-heart::after {
  top: 0;
  left: 0.75rem;
}

@keyframes wed10-loader-heart-pulse {
  0%,
  100% {
    transform: rotate(-45deg) scale(0.94);
  }
  50% {
    transform: rotate(-45deg) scale(1.06);
  }
}

.wed10-opening-loader-eyebrow {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8c6d2a;
}

.wed10-opening-loader-text {
  margin: 0.42rem 0 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 4.4vw, 1.45rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6e1a1a;
}

.wed10-opening-loader-bar {
  width: 100%;
  height: 0.44rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(140, 109, 42, 0.12);
  box-shadow: inset 0 0 0 1px rgba(140, 109, 42, 0.1);
}

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

.wed10-opening-loader-hint {
  margin: 0.85rem 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(90, 55, 22, 0.78);
  opacity: 0.9;
  animation: wed10-loader-hint-fade 2.2s ease-in-out infinite;
}

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

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

.wed10-opening-tap {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.wed10-opening-tap-label {
  display: inline-block;
  margin-top: clamp(2.25rem, 6.5vh, 3.75rem);
  border: 1px solid var(--wed10-gold);
  background: rgba(26, 18, 12, 0.62);
  color: var(--wed10-gold-soft);
  font-family: 'Cinzel', serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.72rem 1.28rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  animation: wed10-tap-heartbeat 1.6s ease-in-out infinite;
  transform-origin: center center;
  pointer-events: none;
}

@keyframes wed10-tap-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.08);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  56% {
    transform: scale(1);
  }
}

.wed10-opening-tap[hidden] {
  display: none;
}

.wed10-opening-tap.is-hidden {
  opacity: 0;
  pointer-events: none;
  animation: none;
  transition: opacity 0.35s ease;
}

.wed10-session-invite {
  z-index: 2;
}

.wed10-mute-btn {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid rgba(255, 236, 190, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 248, 230, 0.95) 0%, transparent 42%),
    linear-gradient(145deg, #f0d78a 0%, #c9a050 38%, #8c6d2a 72%, #6a521f 100%);
  color: #1a120c;
  box-shadow:
    0 6px 16px rgba(20, 8, 4, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 4px rgba(74, 48, 12, 0.28);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.35s ease, transform 0.2s ease, filter 0.2s ease;
}

.wed10-mute-btn:active {
  transform: scale(0.96);
}

.wed10-mute-btn[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.wed10-mute-btn:not([aria-hidden="true"]) {
  opacity: 1;
}

.wed10-mute-icon {
  display: none;
  width: 1.4rem;
  height: 1.4rem;
  line-height: 0;
}

.wed10-mute-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wed10-mute-btn:not(.is-muted) .wed10-mute-icon--on,
.wed10-mute-btn.is-muted .wed10-mute-icon--off {
  display: block;
}

/* ── Invite scroll ── */

.wed10-scroll {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overflow-anchor: none;
  touch-action: pan-y;
}

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

.wed10-scroll-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6.85rem;
  padding: 1.4rem 1.05rem 3.4rem;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.wed10-section {
  position: relative;
  z-index: 3;
  max-width: 100%;
  overflow: hidden;
  overflow-anchor: none;
}

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

.wed10-reveal {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.wed10-reveal.is-visible {
  opacity: 1;
}

/* Shared child enter animations (session content stagger) */
.wed10-enter-item {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.wed10-quote.is-entered .wed10-enter-item,
.wed10-venue-shell.is-entered .wed10-enter-item,
.wed10-rsvp.is-entered .wed10-enter-item,
.wed10-countdown.is-entered .wed10-enter-item,
.wed10-welcome.is-entered .wed10-enter-item {
  animation: wed10-enter-up 0.72s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  animation-delay: calc(var(--wed10-enter-i, 0) * 0.35s);
}

.wed10-quote.is-entered .wed10-quote-word {
  animation-name: wed10-enter-fade;
  animation-delay: calc(var(--wed10-enter-i, 0) * 0.28s);
}

@keyframes wed10-enter-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

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

@keyframes wed10-enter-fade {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

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

/* Glass only on these content blocks */
.wed10-person-card,
.wed10-venue-shell,
.wed10-rsvp-panel,
.wed10-count-cell {
  background: var(--wed10-card);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 12px 32px var(--wed10-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(9px) saturate(1.08);
  backdrop-filter: blur(9px) saturate(1.08);
}

.wed10-gold-frame {
  position: relative;
  min-height: calc(var(--wed10-app-height) - 2.8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem 1.2rem 3.6rem;
  border-radius: 1.15rem;
  background: transparent;
  border: 1px solid rgba(140, 109, 42, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(212, 181, 106, 0.28),
    0 0 0 5px rgba(12, 4, 4, 0.12);
  outline: 1px solid rgba(140, 109, 42, 0.85);
  outline-offset: 7px;
}

.wed10-hero-msg {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(86%, 18rem);
  max-width: 18rem;
  margin: 0 0 3.35rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--wed10-gold-soft);
}

.wed10-hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45rem);
  filter: blur(2px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  transition-delay: var(--delay, 0ms);
}

.wed10-hero-msg.is-in .wed10-hero-word {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.wed10-hero-ornament {
  width: min(68vw, 14.5rem);
  height: 1.15rem;
  background: var(--wed10-ornament) center / contain no-repeat;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.wed10-hero-ornament.is-in {
  opacity: 1;
  transform: none;
}

.wed10-hero-ornament--top {
  margin-bottom: 1.25rem;
}

.wed10-hero-ornament--bottom {
  margin-top: 1.1rem;
}

.wed10-hero-names {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.12rem;
  width: min(100%, 20rem);
  margin: 0 auto;
  text-align: center;
  font-family: 'Allura', 'Pinyon Script', cursive;
  font-size: clamp(3.05rem, 10.5vw, 5.45rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
  color: var(--wed10-maroon);
}

#wed10-hero-groom {
  align-self: flex-start;
  padding-left: 0.22rem;
}

#wed10-hero-groom .wed10-fly-line {
  justify-content: flex-start;
}

#wed10-hero-bride {
  align-self: flex-end;
  padding-right: 0.22rem;
}

#wed10-hero-bride .wed10-fly-line {
  justify-content: flex-end;
}

.wed10-fly-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1em;
  text-align: center;
}

.wed10-fly-letter {
  display: inline-block;
  opacity: 0;
  transform: translate(var(--sx, 0), var(--sy, 0)) rotate(var(--rot, 0deg)) scale(0.72);
  filter: blur(3px);
  transition:
    transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 1.45s ease,
    filter 1.45s ease;
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}

.wed10-hero-names.wed10-fly-active .wed10-fly-letter {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
  filter: blur(0);
}

.wed10-hero-amp {
  display: block;
  align-self: center;
  width: 100%;
  margin: 0 0 0.6rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.7em;
  font-weight: 500;
  line-height: 1;
  color: var(--wed10-gold);
}

.wed10-hero-date,
.wed10-hero-venue {
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.wed10-hero-date.is-in,
.wed10-hero-venue.is-in {
  opacity: 1;
  transform: none;
}

.wed10-hero-date {
  margin: 3.35rem 0 0;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: none;
  font-weight: 600;
  color: var(--wed10-gold);
}

.wed10-hero-venue {
  margin: 1.65rem 0 0;
  max-width: 16rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  font-weight: 700;
  color: var(--wed10-maroon-2);
}

.wed10-hero-venue::before {
  content: '';
  display: block;
  width: min(42vw, 5.5rem);
  height: 1px;
  margin: 0 auto 1.15rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(140, 109, 42, 0.55) 35%,
    rgba(140, 109, 42, 0.55) 65%,
    transparent 100%
  );
}

.wed10-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(2.75rem, 9vh, 4.25rem);
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.wed10-scroll-hint.is-visible {
  opacity: 0.95;
}

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

.wed10-scroll-hint-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.wed10-scroll-hint-chevrons span {
  display: block;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid #4a4238;
  border-bottom: 2.5px solid #4a4238;
  transform: rotate(45deg);
  filter: drop-shadow(0 1px 3px rgba(40, 32, 28, 0.22));
  animation: wed10-scroll-hint-bounce 1.55s ease-in-out infinite;
}

.wed10-scroll-hint-chevrons span:nth-child(2) {
  animation-delay: 0.14s;
  opacity: 0.88;
}

.wed10-scroll-hint-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4238;
}

@keyframes wed10-scroll-hint-bounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(-4px);
    opacity: 0.65;
  }
  50% {
    transform: rotate(45deg) translateY(4px);
    opacity: 1;
  }
}

.wed10-section-title {
  margin: 0 0 0.15rem;
  text-align: center;
  font-family: 'Italianno', cursive;
  font-size: clamp(2.55rem, 9.5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: none;
  color: var(--wed10-maroon);
  text-shadow: 0 1px 0 rgba(255, 248, 236, 0.35);
}

.wed10-section-title::before,
.wed10-section-title::after {
  content: '';
  display: block;
  width: min(78vw, 17.5rem);
  height: 1.35rem;
  margin-inline: auto;
  background: var(--wed10-ornament) center / contain no-repeat;
}

.wed10-section-title::before {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.wed10-section-title::after {
  margin-top: 0.7rem;
  margin-bottom: 0.85rem;
}

.wed10-section-sub {
  margin: 0.15rem 0 1.15rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.45;
  color: #f0dfb0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.wed10-rsvp .wed10-section-sub,
.wed10-rsvp-lead {
  max-width: min(82%, 21rem);
  margin: 0.1rem auto 1.25rem;
  font-weight: 700;
  color: var(--wed10-gold-2);
  text-shadow: 0 1px 0 rgba(255, 248, 235, 0.18);
}

.wed10-couple .wed10-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: clamp(2.25rem, 8.5vw, 2.95rem);
  letter-spacing: 0.02em;
  color: var(--wed10-maroon);
}

.wed10-couple .wed10-section-title::before,
.wed10-couple .wed10-section-title::after {
  content: none;
  display: none;
}

.wed10-couple-title-text {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.05;
}

.wed10-couple-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.wed10-couple-ornament svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.wed10-couple-ornament--short svg {
  width: min(42vw, 8.5rem);
}

.wed10-couple-ornament--long svg {
  width: min(78vw, 17.5rem);
}

.wed10-couple-ornament--short {
  margin: 0;
}

.wed10-couple-ornament--long {
  margin: 0;
}

/* Diamond ornaments between sessions / under hero & quote */
.wed10-ornament {
  display: block;
  width: min(78vw, 17.5rem);
  height: 1.35rem;
  margin: 0.85rem auto;
  background: var(--wed10-ornament) center / contain no-repeat;
  pointer-events: none;
}

.wed10-ornament--lg {
  width: min(86vw, 20rem);
  height: 1.55rem;
}

.wed10-ornament--sm {
  width: min(58vw, 12.5rem);
  height: 1.05rem;
  opacity: 0.92;
}

.wed10-ornament--a { background-image: var(--wed10-ornament-a); }
.wed10-ornament--b { background-image: var(--wed10-ornament-b); }
.wed10-ornament--c { background-image: var(--wed10-ornament-c); }
.wed10-ornament--d { background-image: var(--wed10-ornament-d); }
.wed10-ornament--e { background-image: var(--wed10-ornament-e); }
.wed10-ornament--f { background-image: var(--wed10-ornament-f); }
.wed10-ornament--g { background-image: var(--wed10-ornament-g); }

.wed10-photos .wed10-section-title::before,
.wed10-photos .wed10-section-title::after {
  background-image: var(--wed10-ornament-b);
}

.wed10-timeline .wed10-section-title::before,
.wed10-timeline .wed10-section-title::after {
  background-image: var(--wed10-ornament-c);
}

.wed10-venues .wed10-section-title::before,
.wed10-venues .wed10-section-title::after {
  background-image: var(--wed10-ornament-d);
}

.wed10-rsvp .wed10-section-title::before,
.wed10-rsvp .wed10-section-title::after {
  background-image: var(--wed10-ornament-e);
}

.wed10-countdown .wed10-section-title::before,
.wed10-countdown .wed10-section-title::after {
  background-image: var(--wed10-ornament-c);
}

.wed10-welcome .wed10-section-title::before,
.wed10-welcome .wed10-section-title::after {
  background-image: var(--wed10-ornament-a);
}

.wed10-welcome .wed10-section-title::before {
  content: none;
  display: none;
}

.wed10-photos .wed10-section-title {
  margin-bottom: 0.15rem;
  font-family: 'Italianno', cursive;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.35rem, 8.5vw, 3.05rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.wed10-quote {
  min-height: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.65rem 1rem 1.85rem;
  text-align: center;
}

.wed10-quote-sep {
  display: block;
  width: min(72%, 14.5rem);
  height: auto;
  margin: 0;
  pointer-events: none;
  opacity: 0.82;
  mix-blend-mode: screen;
  filter: contrast(1.12) saturate(1.15) drop-shadow(0 4px 10px rgba(80, 8, 6, 0.35));
}

.wed10-quote-title {
  margin: 0.75rem 0 0;
  font-family: 'Italianno', cursive;
  font-size: clamp(1.85rem, 6.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: none;
  color: #6b501c;
  text-shadow: 0 1px 0 rgba(255, 248, 236, 0.28);
}

.wed10-quote-text {
  margin: 0.85rem auto 0.75rem;
  max-width: 16.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(2.15rem, 8.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.18;
  color: #6a1c1c;
}

.wed10-quote-word {
  display: inline-block;
}

/* ── Scroll scratch ── */

.wed10-scratch-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.35rem;
  padding-bottom: 0.55rem;
}

.wed10-scratch-title {
  margin: 0 0 0.35rem;
  padding: 0;
  line-height: 0;
  text-align: center;
}

.wed10-scratch-title img {
  display: block;
  width: min(78vw, 15.75rem);
  height: auto;
  margin: 0 auto;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: brightness(1.35) contrast(1.08);
}

.wed10-scratch-card {
  width: min(76vw, 16.75rem);
  margin-top: 0.55rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.wed10-scratch-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 1536;
  user-select: none;
  -webkit-user-select: none;
}

.wed10-scratch-scroll {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  opacity: 0.92;
}

.wed10-scratch-reveal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.78rem;
  text-align: center;
  pointer-events: none;
  color: #fff8ec;
}

.wed10-scratch-month,
.wed10-scratch-time {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.78rem, 3.4vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0d78a;
}

.wed10-scratch-time {
  color: #fff8ec;
}

.wed10-scratch-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.9rem, 15vw, 3.85rem);
  line-height: 1;
  font-weight: 700;
  color: #fff8ec;
  text-shadow: 0 1px 8px rgba(40, 8, 6, 0.35);
}

.wed10-scratch-year {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.88rem, 3.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #f0d78a;
}

.wed10-scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: pointer;
  border-radius: 0.2rem;
}

body.wed10-dual-scratch .wed10-scratch-dual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  width: 100%;
}

body.wed10-dual-scratch .wed10-scratch-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

body.wed10-dual-scratch .wed10-scratch-event-title {
  margin: 0 0 0.45rem;
  font-family: 'Cinzel', serif;
  font-size: clamp(0.82rem, 3.6vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wed10-gold);
  text-align: center;
}

body.wed10-dual-scratch .wed10-scratch-card {
  margin-top: 0;
}

.wed10-scratch-card.is-revealed .wed10-scratch-canvas {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.wed10-btn {
  margin-top: 1rem;
  appearance: none;
  border: 1px solid var(--wed10-gold);
  background: linear-gradient(180deg, var(--wed10-maroon-2), var(--wed10-maroon));
  color: var(--wed10-on-red);
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}

.wed10-btn[hidden] {
  display: none;
}

.wed10-btn-calendar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 18rem);
  margin-top: 1.1rem;
  padding: 0.88rem 1.05rem 0.88rem 1.15rem;
  border: 1px solid rgba(255, 248, 236, 0.45);
  border-radius: 1.85rem;
  background:
    linear-gradient(
      165deg,
      rgba(255, 252, 248, 0.42) 0%,
      rgba(255, 245, 235, 0.18) 48%,
      rgba(255, 250, 245, 0.28) 100%
    );
  color: var(--wed10-maroon);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow:
    0 10px 28px rgba(40, 18, 12, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(140, 109, 42, 0.12) inset;
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}

.wed10-btn-calendar > span:not(.wed10-btn-calendar-ico-wrap) {
  flex: 1;
  text-align: center;
}

.wed10-btn-calendar-ico-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--wed10-maroon);
  box-shadow: 0 2px 8px rgba(80, 18, 18, 0.28);
}

.wed10-btn-calendar-ico {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  color: var(--wed10-gold-soft);
}

.wed10-btn-calendar-chevron {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  opacity: 0.9;
}

/* ── Couple cards ── */

.wed10-couple {
  --wed10-couple-p: 0;
  overflow: hidden;
}

.wed10-couple-grid {
  display: grid;
  gap: 0.35rem;
  justify-items: stretch;
}

.wed10-couple-amp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 0.25rem;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.4rem, 10vw, 3.2rem);
  line-height: 1;
  color: var(--wed10-gold);
  text-shadow: 0 1px 0 rgba(255, 248, 236, 0.35);
  pointer-events: none;
  z-index: 2;
  opacity: var(--wed10-couple-p, 0);
  transform: scale(calc(0.55 + (var(--wed10-couple-p, 0) * 0.45)));
  will-change: transform, opacity;
}

.wed10-person-card {
  --wed10-person-card-h: 15rem;
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border-radius: 1rem;
  padding: 0;
  width: 90%;
  max-width: 90%;
  margin-inline: 0;
  height: var(--wed10-person-card-h);
  min-height: var(--wed10-person-card-h);
  max-height: var(--wed10-person-card-h);
  opacity: 1;
  will-change: transform;
}

.wed10-person-card--groom {
  margin-right: auto;
  transform: translate3d(calc((1 - var(--wed10-couple-p, 0)) * -115%), 0, 0);
}

.wed10-person-card--bride {
  margin-left: auto;
  transform: translate3d(calc((1 - var(--wed10-couple-p, 0)) * 115%), 0, 0);
}

.wed10-person-art-wrap {
  position: relative;
  flex: 0 0 46%;
  width: 46%;
  max-width: 11.5rem;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.wed10-person-art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: transparent;
  mix-blend-mode: screen;
}

.wed10-person-details {
  position: relative;
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 0.9rem 1rem;
  text-align: center;
  min-width: 0;
  height: 100%;
  z-index: 1;
}

.wed10-person-watermark {
  position: absolute;
  top: 0.15rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  margin: 0;
  font-family: 'Italianno', cursive;
  font-size: clamp(3.4rem, 16vw, 4.8rem);
  line-height: 1;
  color: var(--wed10-maroon);
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.wed10-person-name,
.wed10-person-prefix,
.wed10-person-parent,
.wed10-person-place {
  position: relative;
  z-index: 1;
}

.wed10-person-name {
  margin: 0 0 0.3rem;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 7.2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--wed10-ink);
}

.wed10-person-prefix {
  margin: 0 0 0.18rem;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wed10-maroon);
}

.wed10-person-parent {
  margin: 0.08rem 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--wed10-gold-2);
}

.wed10-person-parent:empty {
  display: none;
}

.wed10-person-parent-amp {
  display: block;
  margin: 0.05rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--wed10-maroon);
}

.wed10-person-parent-amp[hidden] {
  display: none;
}

.wed10-person-place {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  margin: 0.4rem 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--wed10-gold-2);
}

.wed10-person-place[hidden] {
  display: none;
}

.wed10-person-place-icon {
  flex: 0 0 auto;
  width: 0.85em;
  height: 0.85em;
  color: var(--wed10-maroon);
  opacity: 0.9;
}

/* ── Photos ── */

.wed10-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.65rem;
  align-items: start;
  width: 88%;
  max-width: 22rem;
  margin-inline: auto;
  padding: 0.15rem 0.1rem 0.3rem;
}

.wed10-photo-card {
  position: relative;
  margin: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 1.55s ease;
  transition-delay: var(--wed10-photo-delay, 0ms);
}

.wed10-photo-card.is-photo-in {
  opacity: 1;
}

.wed10-photo-card.is-empty {
  display: none;
}

.wed10-photo-mat {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wed10-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% + var(--wed10-photo-shift, 0px));
  display: block;
  transition: object-position 0.18s ease-out;
  will-change: object-position;
}

/* 1 — slim antique gold */
.wed10-photo-frame--gold {
  aspect-ratio: 3 / 4;
  transform: rotate(-2.2deg);
  padding: 0.22rem;
  background:
    linear-gradient(145deg, #c4a35a 0%, #8c6d2a 42%, #6a521f 100%);
  border-radius: 0.3rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.wed10-photo-frame--gold .wed10-photo-mat {
  border-radius: 0.16rem;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.35);
}

/* 2 — double maroon + gold */
.wed10-photo-frame--double {
  aspect-ratio: 3 / 4;
  transform: rotate(2deg);
  padding: 0.34rem;
  background: var(--wed10-maroon);
  border-radius: 0.48rem;
  box-shadow:
    0 0 0 2px rgba(140, 109, 42, 0.85),
    0 10px 24px rgba(0, 0, 0, 0.32);
}

.wed10-photo-frame--double .wed10-photo-mat {
  border-radius: 0.22rem;
  box-shadow:
    inset 0 0 0 2px rgba(212, 181, 106, 0.7),
    inset 0 0 0 4px rgba(110, 26, 26, 0.85);
}

/* 3 — wide ornate with corner diamonds */
.wed10-photo-frame--ornate {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
  transform: none;
  padding: 0.42rem;
  background:
    linear-gradient(180deg, #a8883f 0%, #8c6d2a 45%, #6a521f 100%);
  border-radius: 0.18rem;
  box-shadow:
    0 0 0 1px rgba(255, 248, 236, 0.28),
    0 12px 26px rgba(0, 0, 0, 0.34);
}

.wed10-photo-frame--ornate .wed10-photo-mat {
  border-radius: 0.08rem;
  box-shadow: inset 0 0 0 1px rgba(110, 26, 26, 0.55);
}

.wed10-photo-frame--ornate::before,
.wed10-photo-frame--ornate::after {
  content: '';
  position: absolute;
  width: 0.62rem;
  height: 0.62rem;
  background: var(--wed10-maroon);
  border: 1.5px solid #d4b56a;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(140, 109, 42, 0.45);
}

.wed10-photo-frame--ornate::before {
  top: -0.15rem;
  left: 50%;
  margin-left: -0.31rem;
}

.wed10-photo-frame--ornate::after {
  bottom: -0.15rem;
  left: 50%;
  margin-left: -0.31rem;
}

/* 4 — maroon ribbon / ticket frame */
.wed10-photo-frame--ribbon {
  aspect-ratio: 3 / 4;
  transform: rotate(-1.6deg);
  padding: 0.32rem;
  background:
    linear-gradient(160deg, #8a2424 0%, #6e1a1a 55%, #4a1010 100%);
  border-radius: 0.75rem 0.18rem 0.75rem 0.18rem;
  box-shadow:
    0 0 0 2px rgba(140, 109, 42, 0.75),
    0 10px 24px rgba(0, 0, 0, 0.32);
}

.wed10-photo-frame--ribbon .wed10-photo-mat {
  border-radius: 0.55rem 0.1rem 0.55rem 0.1rem;
  box-shadow: inset 0 0 0 2px rgba(212, 181, 106, 0.55);
}

.wed10-photo-frame--ribbon::before,
.wed10-photo-frame--ribbon::after {
  content: '';
  position: absolute;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #d4b56a;
  box-shadow: inset 0 0 0 1.5px var(--wed10-maroon);
  z-index: 2;
}

.wed10-photo-frame--ribbon::before {
  top: 0.48rem;
  left: -0.1rem;
}

.wed10-photo-frame--ribbon::after {
  bottom: 0.48rem;
  right: -0.1rem;
}

/* 5 — soft rounded gold (same gold as frame 1) */
.wed10-photo-frame--arch {
  aspect-ratio: 3 / 4;
  transform: rotate(1.4deg);
  padding: 0.3rem;
  background:
    linear-gradient(145deg, #c4a35a 0%, #8c6d2a 42%, #6a521f 100%);
  border-radius: 1.15rem;
  box-shadow:
    0 0 0 1px rgba(255, 248, 236, 0.28),
    0 10px 22px rgba(0, 0, 0, 0.3);
}

.wed10-photo-frame--arch .wed10-photo-mat {
  border-radius: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.35);
}

/* ── Timeline / venues ── */

.wed10-timeline-list {
  --wed10-timeline-gap: 1.85rem;
  --wed10-timeline-inset: 2.15rem;
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.25rem;
  display: grid;
  gap: var(--wed10-timeline-gap);
  position: relative;
}

.wed10-timeline-item {
  position: relative;
  z-index: 1;
  list-style: none;
  will-change: transform;
}

.wed10-timeline.is-timeline-armed .wed10-timeline-item {
  transition: transform 1.65s cubic-bezier(0.16, 0.84, 0.22, 1);
}

/* Two pairs of connector lines in the gap, inset from left/right card edges */
.wed10-timeline-item:not(:last-child)::before,
.wed10-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 100%;
  width: 2.4px;
  height: var(--wed10-timeline-gap);
  background: linear-gradient(
    180deg,
    rgba(212, 181, 106, 1) 0%,
    rgba(196, 163, 90, 0.85) 50%,
    rgba(212, 181, 106, 1) 100%
  );
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: scaleY(0.28);
  transform-origin: top center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.wed10-timeline-item:not(:last-child)::before {
  left: var(--wed10-timeline-inset);
  box-shadow: 5px 0 0 0 rgba(212, 181, 106, 0.92);
}

.wed10-timeline-item:not(:last-child)::after {
  right: var(--wed10-timeline-inset);
  box-shadow: -5px 0 0 0 rgba(212, 181, 106, 0.92);
}

.wed10-timeline-item.is-joined:not(:last-child)::before,
.wed10-timeline-item.is-joined:not(:last-child)::after {
  opacity: 1;
  transform: scaleY(1);
}

.wed10-timeline.is-timeline-stacking .wed10-timeline-item:first-child {
  z-index: 1;
}

.wed10-timeline.is-timeline-stacking .wed10-timeline-item:not(:first-child):not(.is-settled) {
  transform:
    translate3d(
      var(--wed10-stack-x, 0px),
      var(--wed10-stack-y, 0px),
      0
    )
    rotate(var(--wed10-stack-rot, 0deg));
  z-index: var(--wed10-stack-z, 2);
}

.wed10-timeline-item.is-settled {
  transform: none;
}

.wed10-timeline-card {
  position: relative;
  border-radius: 0.95rem;
  padding: 1.05rem 1.1rem 1.1rem;
  background:
    linear-gradient(
      155deg,
      rgba(62, 18, 20, 0.82) 0%,
      rgba(28, 8, 10, 0.88) 48%,
      rgba(18, 6, 8, 0.90) 100%
    );
  border: 1px solid rgba(212, 181, 106, 0.42);
  box-shadow:
    0 0 0 1px rgba(80, 18, 20, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 236, 200, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  overflow: visible;
}

.wed10-timeline-card::before {
  content: '';
  position: absolute;
  inset: 0.35rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(140, 109, 42, 0.28);
  pointer-events: none;
  z-index: 0;
}

.wed10-timeline-title {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 4.8vw, 1.55rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #f3e2b4;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.wed10-timeline-meta {
  position: relative;
  z-index: 1;
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(232, 214, 168, 0.88);
}

.wed10-timeline-meta-dot {
  flex: 0 0 auto;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #d4b56a;
  box-shadow: 0 0 5px rgba(212, 181, 106, 0.55);
}

.wed10-timeline-date,
.wed10-timeline-time {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 226, 180, 0.92);
}

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

.wed10-venue-shell {
  width: 100%;
  border-radius: 1.05rem;
  padding: 1.15rem 1rem 1.35rem;
  box-sizing: border-box;
}

.wed10-venue-decor {
  display: block;
  width: min(58%, 11.5rem);
  height: auto;
  margin: 0.1rem auto 1.05rem;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.4));
}

.wed10-venue-list {
  display: grid;
  gap: 0;
  justify-items: center;
}

.wed10-venue-ornament {
  margin: 1.15rem auto;
}

.wed10-venue-shell:not(.is-entered) .wed10-venue-decor,
.wed10-venue-shell:not(.is-entered) .wed10-venue-ornament,
.wed10-venue-shell:not(.is-entered) .wed10-venue-card {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.wed10-venue-card {
  width: 100%;
  padding: 0.15rem 0.15rem 0.25rem;
  text-align: center;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wed10-btn-map {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: 11.5rem;
  padding: 0.72rem 1.55rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3e2b4;
  background:
    linear-gradient(
      165deg,
      #2a1a0e 0%,
      #120a06 48%,
      #0a0604 100%
    );
  border: 1px solid rgba(212, 181, 106, 0.78);
  box-shadow:
    0 0 0 1px rgba(80, 50, 16, 0.55),
    0 10px 22px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(243, 226, 180, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wed10-btn-map::before,
.wed10-btn-map::after {
  content: '';
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  background: #f3e2b4;
  border: 1px solid rgba(140, 109, 42, 0.95);
  box-shadow: 0 0 0 1px rgba(18, 8, 4, 0.55);
  transform: rotate(45deg);
}

.wed10-btn-map:hover,
.wed10-btn-map:focus-visible {
  border-color: rgba(243, 226, 180, 0.95);
  box-shadow:
    0 0 0 1px rgba(140, 109, 42, 0.65),
    0 12px 26px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(243, 226, 180, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  outline: none;
}

.wed10-venue-card-title {
  margin: 0 0 0.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 5.2vw, 1.7rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--wed10-maroon);
}

.wed10-venue-address {
  margin: 0 auto 1.05rem;
  max-width: 34ch;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--wed10-gold-2);
}

/* ── RSVP ── */

.wed10-rsvp-panel {
  position: relative;
  display: grid;
  grid-template-areas: 'stack';
  width: 100%;
  border-radius: 1.15rem;
  padding: 1.75rem 0.55rem 1.85rem;
  overflow: visible;
}

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

.wed10-rsvp-form {
  position: relative;
}

.wed10-rsvp-form.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.wed10-rsvp-corner {
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
  z-index: 2;
  border-color: rgba(212, 181, 106, 0.9);
  border-style: solid;
  border-width: 0;
}

.wed10-rsvp-corner--tl {
  top: 0.7rem;
  left: 0.7rem;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}

.wed10-rsvp-corner--tr {
  top: 0.7rem;
  right: 0.7rem;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
}

.wed10-rsvp-corner--bl {
  bottom: 0.7rem;
  left: 0.7rem;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
}

.wed10-rsvp-corner--br {
  bottom: 0.7rem;
  right: 0.7rem;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
}

.wed10-field {
  display: block;
  margin-bottom: 1rem;
}

.wed10-field-label,
.wed10-field-choices legend {
  display: block;
  margin-bottom: 0.45rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #5c3a16;
}

.wed10-field-input-wrap {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.7rem;
  border: 1.5px solid rgba(140, 109, 42, 0.55);
  background: rgba(255, 252, 247, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  padding: 0.15rem 0.85rem;
}

.wed10-field input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: var(--wed10-ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;
  padding: 0.7rem 0;
}

.wed10-field input[type="text"]::placeholder {
  color: rgba(90, 55, 22, 0.45);
  font-style: italic;
}

.wed10-field input:focus {
  outline: none;
}

.wed10-field-input-wrap:focus-within {
  border-color: rgba(140, 109, 42, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 2px rgba(212, 181, 106, 0.22);
}

.wed10-field-choices {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  min-inline-size: 0;
}

.wed10-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.wed10-choice {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}

.wed10-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wed10-choice-face {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.55rem 0.45rem;
  text-align: center;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(140, 109, 42, 0.5);
  background: rgba(255, 250, 245, 0.55);
  color: #5c3a16;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wed10-choice input:checked + .wed10-choice-face {
  color: #3d220e;
  border-color: rgba(140, 109, 42, 0.95);
  background: linear-gradient(180deg, #e4c57a 0%, #c4a35a 48%, #a8883f 100%);
  box-shadow:
    0 8px 18px rgba(80, 40, 12, 0.22),
    inset 0 1px 0 rgba(255, 248, 230, 0.65);
}

.wed10-choice input:focus-visible + .wed10-choice-face {
  outline: 2px solid rgba(140, 109, 42, 0.55);
  outline-offset: 2px;
}

.wed10-field-guests {
  display: none;
  text-align: left;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
}

.wed10-field-guests.is-visible {
  display: block;
  max-height: 8rem;
  opacity: 1;
  margin-bottom: 1rem;
}

.wed10-field-guests[hidden] {
  display: none !important;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

.wed10-field-guests .wed10-field-label {
  text-align: left;
}

.wed10-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: max-content;
  max-width: 100%;
  margin: 0.35rem auto 0;
}

.wed10-stepper-btn {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(140, 109, 42, 0.65);
  background: rgba(255, 250, 245, 0.7);
  color: #5c3a16;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.wed10-field .wed10-stepper input[type="text"],
.wed10-stepper input {
  flex: 0 0 auto;
  width: 3.25rem;
  min-width: 3.25rem;
  max-width: none;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #4a2a12;
  padding: 0;
  box-sizing: border-box;
}

.wed10-field .wed10-stepper input[type="text"]:focus,
.wed10-stepper input:focus {
  outline: none;
}

.wed10-btn-rsvp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 181, 106, 0.78);
  background:
    linear-gradient(
      165deg,
      #2a1a0e 0%,
      #120a06 48%,
      #0a0604 100%
    );
  color: #f3e2b4;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(80, 50, 16, 0.55),
    0 10px 22px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(243, 226, 180, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
}

.wed10-btn-rsvp::before,
.wed10-btn-rsvp::after {
  content: '';
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  background: #f3e2b4;
  border: 1px solid rgba(140, 109, 42, 0.95);
  box-shadow: 0 0 0 1px rgba(18, 8, 4, 0.55);
  transform: rotate(45deg);
}

.wed10-btn-rsvp-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  order: 0;
}

.wed10-rsvp-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 1.5rem 0.85rem;
  text-align: center;
  z-index: 2;
}

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

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

@keyframes wed10-rsvp-thanks-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

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

.wed10-rsvp-thanks-icon {
  display: block;
  margin-bottom: 0.55rem;
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--wed10-gold-soft);
}

.wed10-rsvp-thanks p {
  margin: 0;
  max-width: min(92%, 22rem);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.42rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: var(--wed10-gold-2);
}

.wed10-rsvp-sparkles {
  position: absolute;
  inset: -0.35rem -0.55rem;
  pointer-events: none;
  overflow: visible;
  z-index: 6;
}

.wed10-rsvp-sparkle {
  position: absolute;
  top: var(--wed10-sparkle-top, 50%);
  left: var(--wed10-sparkle-left, 0%);
  font-size: var(--wed10-sparkle-size, 0.85rem);
  line-height: 1;
  color: var(--wed10-sparkle-color, #d4b56a);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.55) rotate(0deg);
  text-shadow: 0 0 10px rgba(212, 181, 106, 0.55);
  animation: wed10-rsvp-sparkle-burst var(--wed10-sparkle-duration, 1.35s) cubic-bezier(0.16, 0.84, 0.28, 1) var(--wed10-sparkle-delay, 0s) both;
  will-change: transform, opacity;
}

@keyframes wed10-rsvp-sparkle-burst {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.4) rotate(0deg);
  }

  12% {
    opacity: 1;
  }

  70% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform:
      translate3d(var(--wed10-sparkle-dx, 40px), var(--wed10-sparkle-dy, -30px), 0)
      scale(var(--wed10-sparkle-scale, 1.15))
      rotate(var(--wed10-sparkle-spin, 120deg));
  }
}

/* ── Countdown / welcome ── */

.wed10-countdown,
.wed10-welcome {
  text-align: center;
}

.wed10-section.wed10-welcome {
  overflow: visible;
  align-self: stretch;
  box-sizing: border-box;
  width: calc(100% + 2.1rem);
  max-width: none;
  margin-left: -1.05rem;
  margin-right: -1.05rem;
}

.wed10-welcome {
  position: relative;
  z-index: 3;
  margin-top: -2.75rem;
  margin-bottom: -3.4rem;
  padding: calc(2.85rem + 2.75rem) 1.05rem calc(1.7rem + 3.4rem);
  background: none;
  border-radius: 0;
  overflow: visible;
}

.wed10-welcome::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(108vw, 34rem);
  height: min(96vw, 32rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(8, 4, 4, 0.52) 0%,
    rgba(8, 4, 4, 0.3) 44%,
    rgba(8, 4, 4, 0.1) 68%,
    rgba(8, 4, 4, 0) 88%
  );
}

.wed10-welcome .wed10-section-title,
.wed10-welcome-panel {
  position: relative;
  z-index: 1;
}

.wed10-welcome .wed10-section-title {
  color: var(--wed10-maroon);
  text-shadow: 0 1px 2px rgba(255, 248, 236, 0.45);
}

.wed10-welcome-panel {
  margin-top: 0.85rem;
  padding: 0.35rem 0.35rem 0.15rem;
}

.wed10-welcome-text {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.55;
  color: #fff8ec;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.wed10-blessings {
  margin: 0;
}

.wed10-blessings-label {
  display: block;
  margin-top: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9b896;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.wed10-blessings-couple {
  display: block;
  margin-top: 0.45rem;
  font-family: 'Great Vibes', cursive;
  font-size: 2.35rem;
  line-height: 1.15;
  color: #f3e2b4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.wed10-blessings-from-label {
  display: block;
  margin-top: 0.95rem;
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9b896;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.wed10-blessings-from-label[hidden],
.wed10-blessings-names[hidden] {
  display: none;
}

.wed10-blessings-names {
  display: block;
  margin-top: 0.4rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff8ec;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.wed10-blessings-name-item {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

.wed10-blessings-names.is-revealed .wed10-blessings-name-item {
  animation: wed10-blessings-name-in 0.72s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  animation-delay: calc(var(--wed10-name-index, 0) * 0.38s);
}

@keyframes wed10-blessings-name-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

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

.wed10-countdown-datetime {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 1rem 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 10px, 0);
}

.wed10-countdown-datetime.is-date-in {
  visibility: visible;
  animation: wed10-enter-fade 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.wed10-countdown-date,
.wed10-countdown-time {
  margin: 0;
  color: var(--wed10-gold-2);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 rgba(255, 248, 235, 0.16);
}

.wed10-countdown-time[hidden] {
  display: none;
}

.wed10-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.wed10-count-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5.85rem;
  border-radius: 0.7rem;
  padding: 0.9rem 0.2rem 0.78rem;
  border-color: rgba(180, 145, 70, 0.55);
}

.wed10-count-cell::before {
  content: '';
  position: absolute;
  inset: 0.34rem;
  pointer-events: none;
  border-radius: 0.22rem;
  background:
    linear-gradient(var(--wed10-gold-soft), var(--wed10-gold-soft)) top left / 0.52rem 1.35px no-repeat,
    linear-gradient(var(--wed10-gold-soft), var(--wed10-gold-soft)) top left / 1.35px 0.52rem no-repeat,
    linear-gradient(var(--wed10-gold-soft), var(--wed10-gold-soft)) top right / 0.52rem 1.35px no-repeat,
    linear-gradient(var(--wed10-gold-soft), var(--wed10-gold-soft)) top right / 1.35px 0.52rem no-repeat,
    linear-gradient(var(--wed10-gold-soft), var(--wed10-gold-soft)) bottom left / 0.52rem 1.35px no-repeat,
    linear-gradient(var(--wed10-gold-soft), var(--wed10-gold-soft)) bottom left / 1.35px 0.52rem no-repeat,
    linear-gradient(var(--wed10-gold-soft), var(--wed10-gold-soft)) bottom right / 0.52rem 1.35px no-repeat,
    linear-gradient(var(--wed10-gold-soft), var(--wed10-gold-soft)) bottom right / 1.35px 0.52rem no-repeat;
}

.wed10-count-cell span {
  position: relative;
  z-index: 1;
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 7vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  color: var(--wed10-maroon);
}

.wed10-count-cell small {
  position: relative;
  z-index: 1;
  margin-top: 0.34rem;
  color: var(--wed10-gold);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.58rem;
}

@media (prefers-reduced-motion: reduce) {
  .wed10-reveal,
  .wed10-session-opening,
  .wed10-hero-word,
  .wed10-hero-ornament,
  .wed10-fly-letter,
  .wed10-hero-date,
  .wed10-hero-venue,
  .wed10-scroll-hint,
  .wed10-photo-card,
  .wed10-timeline-item,
  .wed10-timeline-item:not(:last-child)::before,
  .wed10-timeline-item:not(:last-child)::after {
    transition: none;
  }

  .wed10-timeline-item,
  .wed10-timeline.is-timeline-armed .wed10-timeline-item,
  .wed10-timeline.is-timeline-stacking .wed10-timeline-item:not(:first-child):not(.is-settled) {
    transform: none;
    transition: none;
  }

  .wed10-rsvp-sparkle {
    animation: none;
    opacity: 0;
  }

  .wed10-blessings-names.is-revealed .wed10-blessings-name-item {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .wed10-enter-item,
  .wed10-quote.is-entered .wed10-enter-item,
  .wed10-venue-shell.is-entered .wed10-enter-item,
  .wed10-rsvp.is-entered .wed10-enter-item,
  .wed10-countdown.is-entered .wed10-enter-item,
  .wed10-welcome.is-entered .wed10-enter-item,
  .wed10-quote.is-entered .wed10-quote-word {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .wed10-countdown-datetime,
  .wed10-countdown-datetime.is-date-in {
    animation: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .wed10-timeline-item.is-joined:not(:last-child)::before,
  .wed10-timeline-item.is-joined:not(:last-child)::after {
    opacity: 1;
    transform: none;
  }

  .wed10-photo-card {
    opacity: 1;
  }

  .wed10-photo {
    transition: none;
    object-position: center center;
  }

  .wed10-couple {
    --wed10-couple-p: 1;
  }

  .wed10-person-card--groom,
  .wed10-person-card--bride,
  .wed10-couple-amp {
    transform: none;
    opacity: 1;
    will-change: auto;
  }

  .wed10-opening-tap-label,
  .wed10-scroll-hint-chevrons span {
    animation: none;
  }

  .wed10-opening-bokeh-dot,
  .wed10-opening-loader-heart,
  .wed10-opening-loader-hint {
    animation: none;
  }

  .wed10-opening-bokeh-dot {
    opacity: 0.35;
  }

  .wed10-butterfly {
    animation: none;
  }

  .wed10-petal {
    animation: none;
    display: none;
  }
}
