:root {
  /* Strict client palette: 5 theme colors + champagne gold + neutral cotton paper */
  --slate: #4F6D85;
  --steel: #7E99AE;
  --periwinkle: #A3B2C7;
  --ice: #C4DCE6;
  --lavender: #A494BB;
  --gold-main: #C5A670;
  --gold-soft: #D2B788;
  --gold-light: #E8D4AF;

  --paper: #F4F1EC;
  --paper-card: #FAF8F4;
  --ivory: #FAF8F4;
  --white: #FFFFFF;

  --ink: var(--slate);
  --ink-muted: rgba(79, 109, 133, 0.86);
  --rule-strong: var(--gold-main);
  --rule-soft: var(--gold-soft);
  --border-frame: rgba(197, 166, 112, 0.52);
  --tint-ice: rgba(196, 220, 230, 0.34);
  --tint-lavender: rgba(164, 148, 187, 0.18);

  --font-script: "MonteCarlo", "Brush Script MT", cursive;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--paper);
  background-image: url("assets/paper-cotton.webp");
  background-size: 512px 512px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--slate);
  color: var(--ivory);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  left: 12px;
  outline: 2px solid var(--lavender);
  outline-offset: 2px;
}

.wrap {
  width: min(100% - 40px, 1140px);
  margin: 0 auto;
}

.wrap-narrow {
  width: min(100% - 32px, 980px);
}

/* Sticky Editorial Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(163, 178, 199, 0.55);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.97);
  box-shadow: 0 6px 24px rgba(79, 109, 133, 0.1);
}

.header-inner {
  width: min(100% - 40px, 1140px);
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--slate);
}

.brand-monogram {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-date {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  padding-left: 10px;
  border-left: 1px solid var(--periwinkle);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
}

.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1.5px;
  background: var(--lavender);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.primary-nav a.nav-cta {
  padding: 0 18px;
  min-height: 40px;
  border-radius: 999px;
  background: var(--slate);
  color: var(--ivory);
  letter-spacing: 0.15em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.primary-nav a.nav-cta:hover {
  background: var(--steel);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 109, 133, 0.22);
}

.primary-nav a:focus-visible,
.brand-mark:focus-visible,
.music-btn:focus-visible,
.menu-toggle:focus-visible,
.mobile-nav a:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: 4px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.music-btn {
  appearance: none;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--periwinkle);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.music-btn:hover {
  transform: translateY(-1px);
  background: var(--white);
  border-color: var(--slate);
}

.music-btn[aria-pressed="true"] {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--ivory);
}

.music-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.music-bars span {
  width: 2px;
  border-radius: 2px;
  background: currentColor;
}

.music-bars span:nth-child(1) { height: 5px; }
.music-bars span:nth-child(2) { height: 11px; }
.music-bars span:nth-child(3) { height: 7px; }

.music-btn[aria-pressed="true"] .music-bars span {
  animation: eqPulse 0.85s ease-in-out infinite alternate;
}

.music-btn[aria-pressed="true"] .music-bars span:nth-child(2) { animation-delay: 0.2s; }
.music-btn[aria-pressed="true"] .music-bars span:nth-child(3) { animation-delay: 0.4s; }

@keyframes eqPulse {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}

.menu-toggle {
  display: none;
  appearance: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--periwinkle);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--slate);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--slate);
  position: relative;
  transition: transform 200ms ease, background-color 200ms ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before { top: -5px; }
.menu-icon::after  { top: 5px; }

.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid rgba(163, 178, 199, 0.5);
  background: var(--paper-card);
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
  border-radius: 4px;
}

.mobile-nav a:hover { background: var(--tint-ice); }
.mobile-nav a.mobile-nav-cta {
  margin-top: 8px;
  justify-content: center;
  background: var(--slate);
  color: var(--ivory);
}

/* Shared Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.btn-primary {
  background: var(--slate);
  color: var(--ivory);
  border-color: var(--slate);
  box-shadow: 0 6px 18px rgba(79, 109, 133, 0.22);
}
.btn-primary:hover { background: var(--steel); border-color: var(--steel); }
.btn-primary:focus-visible { outline-color: var(--slate); }

.btn-outline {
  background: rgba(255, 255, 255, 0.78);
  color: var(--slate);
  border-color: var(--steel);
}
.btn-outline:hover { background: var(--tint-ice); border-color: var(--slate); }
.btn-outline:focus-visible { outline-color: var(--slate); }

.btn-ivory {
  background: var(--ivory);
  color: var(--slate);
  border-color: var(--ivory);
  box-shadow: 0 10px 28px rgba(79, 109, 133, 0.34);
}
.btn-ivory:hover { background: var(--white); }

.btn-glass {
  background: rgba(79, 109, 133, 0.62);
  color: var(--ivory);
  border-color: var(--ice);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(79, 109, 133, 0.85);
  border-color: var(--ivory);
}

.btn-full { width: 100%; }

/* Section 1: Full-Bleed Cinematic Video Hero (Deep Slate & Powder Ice) */
.video-hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  max-height: 920px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 48px);
  background: var(--slate);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(79, 109, 133, 0.56) 0%, rgba(79, 109, 133, 0.42) 45%, rgba(79, 109, 133, 0.72) 100%);
}

.hero-gold-border {
  position: absolute;
  inset: clamp(12px, 2vw, 26px);
  z-index: 2;
  border: 1px solid rgba(232, 212, 175, 0.62);
  box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 7px rgba(210, 183, 136, 0.32);
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ivory);
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: clamp(0.66rem, 1.05vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 2px 14px rgba(79, 109, 133, 0.92), 0 1px 4px rgba(79, 109, 133, 0.8);
}

.hero-names {
  margin: 0 0 22px;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--white);
  line-height: 0.96;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 4px 28px rgba(79, 109, 133, 0.95), 0 2px 8px rgba(79, 109, 133, 0.85);
}

.hero-name-line {
  display: block;
  font-size: clamp(3.1rem, 7vw, 5.15rem);
}

.hero-amp-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px 0 0;
  transform: translateY(3px);
}

.hero-amp {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  color: var(--gold-light);
  line-height: 0.9;
}

.hero-gold-tick {
  display: block;
  width: clamp(28px, 4vw, 48px);
  height: 1px;
  background-color: rgba(232, 212, 175, 0.82);
}

.hero-date-bar {
  margin: 0 0 12px;
  padding: 9px clamp(14px, 3vw, 28px);
  border-top: 1px solid rgba(232, 212, 175, 0.78);
  border-bottom: 1px solid rgba(232, 212, 175, 0.78);
  font-family: var(--font-serif);
  font-size: clamp(0.92rem, 1.65vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(79, 109, 133, 0.9);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
}

.hero-date-bar .sep {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-places {
  margin: 0 0 24px;
  font-size: clamp(0.76rem, 1.2vw, 0.88rem);
  letter-spacing: 0.08em;
  color: var(--ivory);
  text-shadow: 0 2px 12px rgba(79, 109, 133, 0.92);
}

.hero-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 22px);
  margin: 0 0 26px;
  padding: 11px clamp(14px, 3vw, 28px);
  border: 1px solid rgba(232, 212, 175, 0.68);
  background: rgba(79, 109, 133, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.count-unit {
  min-width: clamp(46px, 7vw, 62px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-value {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 600;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.count-label {
  margin-top: 3px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.count-sep {
  width: 1px;
  height: 28px;
  background-color: rgba(196, 220, 230, 0.55);
}

.hero-banner {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-pause-btn {
  position: absolute;
  right: clamp(20px, 2.8vw, 36px);
  bottom: clamp(20px, 2.8vw, 34px);
  z-index: 4;
  appearance: none;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  opacity: 0.48;
  cursor: pointer;
  transition: opacity 200ms ease, transform 180ms ease;
}

.hero-pause-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 248, 244, 0.28);
  background: rgba(79, 109, 133, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.hero-pause-icon .icon-play { display: none; }
.hero-pause-btn[aria-pressed="true"] { opacity: 0.72; }
.hero-pause-btn[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause-btn[aria-pressed="true"] .icon-play { display: block; }

.hero-pause-btn:hover,
.hero-pause-btn:focus-visible {
  opacity: 1;
}

.hero-pause-btn:hover .hero-pause-icon,
.hero-pause-btn:focus-visible .hero-pause-icon {
  background: rgba(79, 109, 133, 0.62);
  border-color: rgba(232, 212, 175, 0.72);
}

.hero-pause-btn:focus-visible { outline: none; }
.hero-pause-btn:focus-visible .hero-pause-icon { outline: 2px solid var(--white); outline-offset: 3px; }

/* Alternating Editorial Bands */
.band {
  padding: clamp(64px, 8vw, 104px) 0;
  border-top: 1px solid rgba(163, 178, 199, 0.45);
}

.band-paper {
  background-color: var(--paper);
  background-image: url("assets/paper-cotton.webp");
  background-size: 512px 512px;
}

.band-mist {
  background-color: var(--paper);
  background-image: linear-gradient(
    180deg,
    rgba(244, 241, 236, 0.6) 0%,
    rgba(196, 220, 230, 0.34) 18%,
    rgba(196, 220, 230, 0.34) 82%,
    rgba(244, 241, 236, 0.6) 100%
  );
}

.botanical-divider {
  width: clamp(220px, 34vw, 330px);
  max-width: 100%;
  height: auto;
  margin: 0 auto 18px;
}

.share-card .botanical-divider { width: clamp(190px, 60%, 260px); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 42px);
}

.gallery-head { max-width: 760px; }

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
}

.section-script {
  margin: 0 0 14px;
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 5.2vw, 3.85rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--slate);
}

.section-serif-title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--slate);
}

.section-lead {
  margin: 0 auto;
  font-size: clamp(0.88rem, 1.35vw, 0.96rem);
  line-height: 1.78;
  color: var(--ink-muted);
}

.gallery-quote {
  margin: 0 auto;
  max-width: 62ch;
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 2.2vw, 1.58rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.58;
  color: var(--slate);
}

.gold-rule-short {
  display: block;
  width: 110px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--gold-main);
}

.gold-rule-mid {
  display: block;
  width: min(260px, 65%);
  height: 1px;
  margin: clamp(24px, 3.5vw, 36px) auto;
  background: linear-gradient(90deg, transparent, var(--gold-soft), var(--gold-main), var(--gold-soft), transparent);
}

/* Section 2: Moving 172-Photo Editorial Reel & Full Grid */
.band-gallery { overflow: hidden; }

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: clamp(26px, 3.5vw, 38px);
}

.gallery-filters,
.gallery-mode-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn,
.motion-toggle-btn {
  appearance: none;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--periwinkle);
  background: rgba(255, 255, 255, 0.74);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-btn:hover,
.motion-toggle-btn:hover {
  transform: translateY(-1px);
  border-color: var(--slate);
  background: var(--tint-ice);
}

.filter-btn.is-active {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--ivory);
}

.motion-toggle-btn[aria-pressed="true"] {
  background: var(--tint-lavender);
  border-color: var(--lavender);
}

.filter-btn:focus-visible,
.motion-toggle-btn:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

.marquee-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 24px);
  width: 100%;
}

.marquee-row { width: 100%; }
.marquee-row[hidden] { display: none; }

.row-caption-grid {
  display: none;
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.reel-wrap {
  position: relative;
  width: 100%;
}

.reel-scroller {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 18px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px clamp(18px, 3vw, 48px) 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.reel-scroller::-webkit-scrollbar { display: none; }
.reel-scroller:focus-visible { outline: 2px solid var(--slate); outline-offset: -2px; }

.reel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: rgba(250, 248, 244, 0.92);
  color: var(--slate);
  font-size: 1.65rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(79, 109, 133, 0.16);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.reel-prev { left: clamp(10px, 1.8vw, 22px); }
.reel-next { right: clamp(10px, 1.8vw, 22px); }

.reel-arrow:hover {
  background: var(--slate);
  color: var(--ivory);
  transform: translateY(-50%) scale(1.06);
}

.reel-arrow:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

@keyframes tileShimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes mediaSpin {
  to { transform: rotate(360deg); }
}

.marquee-tile {
  position: relative;
  appearance: none;
  flex: 0 0 auto;
  height: clamp(195px, 21vw, 260px);
  padding: 6px;
  border: 1px solid rgba(163, 178, 199, 0.72);
  background: var(--paper-card);
  box-shadow: 0 8px 22px rgba(79, 109, 133, 0.1);
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.marquee-tile::before {
  content: "";
  position: absolute;
  inset: 6px;
  background-color: var(--paper);
  background-image: linear-gradient(
    110deg,
    rgba(196, 220, 230, 0.22) 22%,
    rgba(232, 212, 175, 0.38) 50%,
    rgba(196, 220, 230, 0.22) 78%
  );
  background-size: 240% 100%;
  animation: tileShimmer 1.65s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.marquee-tile::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid rgba(163, 178, 199, 0.42);
  border-top-color: var(--gold-main);
  animation: mediaSpin 880ms linear infinite;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.marquee-tile.is-ready::before,
.marquee-tile.is-ready::after {
  opacity: 0;
  animation: none;
}

.marquee-tile:hover {
  transform: translateY(-3px);
  border-color: var(--lavender);
  box-shadow: 0 14px 30px rgba(79, 109, 133, 0.16);
}

.marquee-tile:focus-visible { outline: 2px solid var(--slate); outline-offset: 4px; }

.marquee-tile img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 320ms ease, transform 360ms ease;
}

.marquee-tile.is-ready img { opacity: 1; }

.marquee-tile:hover img { transform: scale(1.03); }

/* Expanded Full 172-Photo Grid Mode */
.marquee-stack.is-grid {
  width: min(100% - 40px, 1220px);
  margin: 0 auto;
  gap: 36px;
}

.marquee-stack.is-grid .row-caption-grid { display: block; }
.marquee-stack.is-grid .reel-arrow { display: none; }

.marquee-stack.is-grid .reel-scroller {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.marquee-stack.is-grid .marquee-tile {
  height: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.marquee-stack.is-grid .marquee-tile img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.gallery-hint {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Section 3: Venues Grid */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.venue-card {
  background: var(--paper-card);
  border: 1px solid var(--border-frame);
  box-shadow: 0 12px 34px rgba(79, 109, 133, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.venue-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(79, 109, 133, 0.14);
}

.venue-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-card);
  border-bottom: 1px solid rgba(197, 166, 112, 0.45);
}

.venue-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(232, 212, 175, 0.4);
}

.venue-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.venue-card:hover .venue-photo-wrap img { transform: scale(1.03); }

.venue-body {
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.venue-kicker {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

.venue-title {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.3vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.venue-address { margin: 0 0 14px; font-size: 0.9rem; color: var(--ink-muted); }

.venue-rule { margin: 0 auto 14px; }

.venue-note {
  margin: 0 auto 22px;
  max-width: 36ch;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-muted);
  flex: 1;
}

.venue-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.venue-actions .btn { flex: 1 1 148px; }

.venue-map-wrap {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(197, 166, 112, 0.42);
}

.live-map-frame {
  width: 100%;
  height: 250px;
  border: 1px solid var(--gold-soft);
  background: rgba(196, 220, 230, 0.35);
  overflow: hidden;
}

.live-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.62) contrast(0.96);
  transition: filter 260ms ease;
}

.live-map-frame:hover iframe { filter: none; }

/* Section 4: The Entourage Stationery Sheet */
.entourage-sheet {
  position: relative;
  padding: clamp(54px, 7vw, 84px) clamp(24px, 6vw, 76px);
  background-color: var(--paper-card);
  background-image: url("assets/paper-cotton.webp");
  background-size: 512px 512px;
  border: 1px solid var(--gold-main);
  box-shadow:
    inset 0 0 0 8px var(--paper-card),
    inset 0 0 0 9px var(--gold-soft),
    0 18px 46px rgba(79, 109, 133, 0.1);
  text-align: center;
  overflow: hidden;
}

.sheet-ornament {
  position: absolute;
  height: auto;
  pointer-events: none;
  opacity: 0.95;
}

.sheet-ornament-tl { top: 0; left: 0; width: clamp(104px, 17vw, 195px); }
.sheet-ornament-br { bottom: 0; right: 0; width: clamp(104px, 17vw, 195px); }
.sheet-ornament-tr { top: 6px; right: 6px; width: clamp(72px, 11vw, 134px); }
.sheet-ornament-bl { bottom: 6px; left: 6px; width: clamp(72px, 11vw, 134px); }

.entourage-head { position: relative; z-index: 2; margin-bottom: clamp(28px, 4vw, 44px); }

.entourage-pair {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.5vw, 40px);
  margin-bottom: clamp(22px, 3.2vw, 34px);
}

.entourage-trio {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(26px, 3.5vw, 38px);
}

.entourage-bearers { margin-bottom: 0; }
.role-group { position: relative; z-index: 2; }
.role-centered { margin-bottom: 8px; }

.role-group h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.65vw, 1.24rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.role-group ul { list-style: none; margin: 0; padding: 0; }

.role-group li {
  font-size: clamp(0.8rem, 1.2vw, 0.88rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--ink-muted);
}

.sponsors-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 4vw, 48px);
}

.sheet-divider { position: relative; z-index: 2; margin-top: clamp(26px, 4vw, 40px); margin-bottom: 0; }

/* Section 5: Finer Details (Attire & Gift Guide) */
.attire-card {
  padding: clamp(28px, 4.5vw, 52px);
  background: var(--paper-card);
  border: 1px solid var(--border-frame);
  box-shadow: 0 12px 34px rgba(79, 109, 133, 0.08);
  text-align: center;
  margin-bottom: clamp(22px, 3.5vw, 34px);
}

.attire-intro {
  margin: 0 auto clamp(26px, 4vw, 40px);
  max-width: 54ch;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.attire-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.65fr);
  align-items: end;
  gap: clamp(20px, 3.5vw, 40px);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.attire-col { display: flex; flex-direction: column; align-items: center; }

.attire-art {
  width: 100%;
  height: clamp(210px, 28vw, 320px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 14px;
}

.attire-art img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.attire-label {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.attire-note { margin: 0; font-size: 0.8rem; color: var(--ink-muted); }

.attire-divider {
  width: 1px;
  height: 220px;
  align-self: center;
  background: var(--periwinkle);
}

.swatch-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(163, 178, 199, 0.55);
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 78px;
}

.swatch-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow:
    0 0 0 3px var(--paper-card),
    0 0 0 4px var(--gold-soft),
    0 6px 14px rgba(79, 109, 133, 0.15);
}

.swatch-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.gift-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px);
  background: var(--paper-card);
  border: 1px solid var(--border-frame);
  box-shadow: 0 10px 28px rgba(79, 109, 133, 0.07);
  text-align: center;
}

.gift-script {
  margin: 0 0 10px;
  font-family: var(--font-script);
  font-size: clamp(2.3rem, 4.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--slate);
}

.gift-copy {
  margin: 0 auto;
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--ink-muted);
}

/* Section 6: RSVP & Snap and Share */
.rsvp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 36px);
  align-items: stretch;
}

.rsvp-card,
.share-card {
  padding: clamp(28px, 4vw, 46px);
  background: var(--paper-card);
  border: 1px solid var(--border-frame);
  box-shadow: 0 14px 36px rgba(79, 109, 133, 0.08);
}

.rsvp-title { margin-bottom: 10px; }
.rsvp-intro { margin: 0 0 22px; font-size: 0.9rem; color: var(--ink-muted); }

.rsvp-feedback {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--slate);
}

.rsvp-feedback.is-success {
  background: rgba(196, 220, 230, 0.45);
  border: 1px solid var(--steel);
}

.rsvp-feedback.is-error {
  background: rgba(164, 148, 187, 0.24);
  border: 1px solid var(--lavender);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rsvp-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; }

.form-field label,
.form-field legend {
  padding: 0;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.opt-label { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--ink-muted); }

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--periwinkle);
  border-radius: 6px;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--steel);
}

.form-field textarea { min-height: 92px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(196, 220, 230, 0.6);
}

.form-row-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 14px; }
.radio-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 2px; }

.radio-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--periwinkle);
  border-radius: 6px;
  background: var(--white);
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.radio-pill input { accent-color: var(--slate); width: 16px; height: 16px; margin: 0; }
.radio-pill:has(input:checked) { border-color: var(--slate); background: var(--tint-ice); }

.field-error { margin: 0; font-size: 0.76rem; font-weight: 500; color: var(--slate); }
.field-error:empty { display: none; }

.direct-rsvp {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(163, 178, 199, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.direct-rsvp p { margin: 0; font-size: 0.8rem; color: var(--ink-muted); }
.direct-rsvp-links { display: flex; flex-wrap: wrap; gap: 10px; }

.direct-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--periwinkle);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.direct-link:hover { border-color: var(--slate); background: var(--tint-ice); transform: translateY(-1px); }

/* Snap & Share Side Card */
.share-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.share-script { margin-bottom: 10px; }
.share-copy { margin: 0 0 22px; max-width: 34ch; font-size: 0.9rem; color: var(--ink-muted); }

.hashtag-btn {
  appearance: none;
  min-height: 46px;
  max-width: 100%;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--steel);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.hashtag-btn:hover { transform: translateY(-2px); border-color: var(--slate); box-shadow: 0 8px 20px rgba(79, 109, 133, 0.14); }
.hashtag-btn:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

.hashtag-text {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.copy-hint {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tint-ice);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.hashtag-btn.is-copied .copy-hint { background: var(--slate); color: var(--ivory); }

.share-rule { margin: 26px auto; }
.share-summary { margin-bottom: 22px; }
.share-date {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.share-places { margin: 0; font-size: 0.84rem; line-height: 1.7; color: var(--ink-muted); }

/* Footer Band (Deep Slate #4F6D85 + Champagne Gold Accent) */
.site-footer {
  background: var(--slate);
  color: var(--ivory);
  padding: clamp(44px, 6vw, 68px) 0;
  text-align: center;
  border-top: 2px solid var(--gold-main);
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-names { margin: 0; font-family: var(--font-script); font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.1; color: var(--white); }
.footer-meta { margin: 0; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); }
.footer-hashtag { margin: 4px 0 12px; font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 0.06em; color: var(--gold-light); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  transition: color 160ms ease;
}
.footer-nav a:hover { color: var(--ice); }

.footer-credit {
  margin-top: 20px;
  padding-top: 16px;
  width: min(100%, 540px);
  border-top: 1px solid rgba(232, 212, 175, 0.22);
}

.footer-credit p {
  margin: 0;
  font-size: 0.71rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 236, 0.64);
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 3px;
  color: rgba(250, 248, 244, 0.86);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 212, 175, 0.45);
  transition: color 160ms ease, text-decoration-color 160ms ease, opacity 160ms ease;
}

.footer-credit-link:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.footer-credit-logo {
  display: inline-block;
  width: 30px;
  height: 13px;
  opacity: 0.84;
  transition: opacity 160ms ease;
}

.footer-credit-link:hover .footer-credit-logo { opacity: 1; }

/* Floating Tap-for-Music Prompt */
.music-toast {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 95;
  appearance: none;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid var(--ice);
  background: rgba(79, 109, 133, 0.94);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(79, 109, 133, 0.34);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.music-toast[hidden] { display: none; }
.music-toast:hover { transform: translateY(-2px); background: var(--steel); }
.music-toast:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(79, 109, 133, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }

.lightbox-frame {
  position: relative;
  min-width: min(74vw, 320px);
  min-height: min(50dvh, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure img {
  max-height: 82dvh;
  max-width: min(84vw, 900px);
  width: auto;
  height: auto;
  border: 6px solid var(--ivory);
  box-shadow: 0 22px 60px rgba(79, 109, 133, 0.45);
  transition: opacity 240ms ease, filter 240ms ease;
}

.lightbox-figure img[hidden] { display: none; }

.lightbox-frame.is-loading img {
  opacity: 0.34;
  filter: blur(2.5px);
}

.lightbox-loader {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(232, 212, 175, 0.72);
  background: rgba(79, 109, 133, 0.88);
  color: var(--ivory);
  box-shadow: 0 12px 30px rgba(79, 109, 133, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  animation: loaderFadeIn 180ms ease 75ms both;
}

.lightbox-loader[hidden] { display: none; }

.lightbox-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(196, 220, 230, 0.35);
  border-top-color: var(--gold-light);
  animation: mediaSpin 820ms linear infinite;
  flex-shrink: 0;
}

.lightbox-loader-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
}

.lightbox-counter {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
}

.lightbox-close,
.lightbox-nav {
  appearance: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ice);
  background: rgba(79, 109, 133, 0.85);
  color: var(--ivory);
  font-size: 1.7rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lightbox-close { position: fixed; top: 18px; right: 18px; z-index: 5; }
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--ivory); color: var(--slate); transform: scale(1.05); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* Side-Margin Floating Watercolor Petals & Leaves */
.petal-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
}

@media (prefers-reduced-motion: reduce) {
  .petal-canvas { display: none; }
}

/* Single Hero Entrance on Load */
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-stagger] { animation: fadeRise 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-stagger="1"] { animation-delay: 40ms; }
[data-stagger="2"] { animation-delay: 100ms; }
[data-stagger="3"] { animation-delay: 160ms; }
[data-stagger="4"] { animation-delay: 220ms; }
[data-stagger="5"] { animation-delay: 280ms; }
[data-stagger="6"] { animation-delay: 340ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-stagger],
  .track-left,
  .track-right,
  .marquee-tile::before,
  .marquee-tile::after,
  .lightbox-spinner,
  .lightbox-loader,
  .music-btn[aria-pressed="true"] .music-bars span {
    animation: none;
  }
  .marquee-row { overflow-x: auto; }
  .btn,
  .marquee-tile,
  .marquee-tile img,
  .venue-card,
  .venue-photo-wrap img,
  .hashtag-btn,
  .music-btn,
  .filter-btn,
  .motion-toggle-btn,
  .hero-pause-btn,
  .hero-pause-icon {
    transition: none;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .venues-grid,
  .rsvp-layout { grid-template-columns: 1fr; }

  .attire-showcase { grid-template-columns: 1fr; gap: 24px; }
  .attire-divider { width: 120px; height: 1px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile */
@media (max-width: 640px) {
  .wrap,
  .header-inner { width: min(100% - 24px, 1140px); }
  .brand-date { display: none; }

  .video-hero {
    min-height: calc(100dvh - var(--header-h));
    max-height: none;
    padding: 52px 30px 86px;
  }

  .hero-eyebrow { max-width: 24ch; line-height: 1.5; }
  .hero-places { max-width: 28ch; line-height: 1.55; }
  .hero-name-line { font-size: clamp(2.7rem, 12vw, 3.5rem); }

  .hero-date-bar {
    padding: 8px 12px;
    font-size: 0.86rem;
    letter-spacing: 0.1em;
    gap: 4px 8px;
  }

  .hero-countdown {
    width: 100%;
    max-width: 310px;
    gap: 8px;
    padding: 10px 8px;
  }
  .count-unit { min-width: 0; flex: 1; }

  .hero-actions { width: 100%; max-width: 310px; flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .hero-pause-btn {
    right: 18px;
    bottom: 18px;
    transform: none;
  }

  .marquee-tile {
    height: 185px;
    padding: 5px;
  }

  .reel-arrow { display: none; }

  .marquee-stack.is-grid {
    width: min(100% - 24px, 1220px);
  }

  .marquee-stack.is-grid .reel-scroller {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .entourage-pair,
  .entourage-trio,
  .sponsors-cols,
  .form-row-two,
  .radio-row { grid-template-columns: 1fr; }

  .entourage-sheet { padding: 54px 22px 58px; }
  .sheet-ornament-tl,
  .sheet-ornament-br { width: 96px; }
  .sheet-ornament-tr,
  .sheet-ornament-bl { width: 62px; }

  .attire-art { height: 220px; }

  .lightbox-nav { position: fixed; bottom: 22px; }
  .lightbox-prev { left: 22px; }
  .lightbox-next { right: 22px; }
  .lightbox-figure img { max-width: 92vw; max-height: 74dvh; }

  .music-toast { left: 16px; bottom: 22px; }
}

@media (max-width: 380px) {
  .video-hero { padding: 44px 22px 82px; }
  .hero-countdown { gap: 4px; padding: 8px 4px; }
  .hashtag-btn { padding: 8px 12px; gap: 6px; }
  .hashtag-text { font-size: 0.86rem; }
}
