/* ==========================================================================
   The Château — Sculpted Fairytale Palace Couture
   ZERO sharp 90° corners · Organic French Arches · Candlelit Ballroom Continuity
   Palette: Twilight Château Cobalt, Chandelier Honey Gold, Loire Limestone
   ========================================================================== */

:root {
  --ch-cobalt: #162234;
  --ch-cobalt-deep: #0e1726;
  --ch-cobalt-soft: #1f3149;
  --ch-stone: #f6f1e7;
  --ch-stone-warm: #ece4d4;
  --ch-stone-card: #fcfaf4;
  --ch-gold: #dfb870;
  --ch-gold-bright: #f2d8a2;
  --ch-gold-deep: #9c773c;
  --ch-ink: #1e2736;
  --ch-ink-muted: #5c6575;
  --ch-hairline: rgba(156, 119, 60, 0.24);
  --ch-hairline-gold: rgba(223, 184, 112, 0.42);
  --ch-display: 'Cinzel', Georgia, serif;
  --ch-serif: 'Cormorant Garamond', Georgia, serif;
  --ch-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ch-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ch-cobalt-deep);
  color: #fffdf7;
  font-family: var(--ch-sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.ch-body {
  margin: 0;
  min-height: 100svh;
  background: var(--ch-cobalt-deep);
  color: #fffdf7;
  overflow-x: clip;
}

/* ── Fixed Full-Page Living Grand Ballroom Backdrop ─────────────────────── */
.ch-page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ch-page-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.03);
  animation: ch-ballroom-breathe 24s ease-in-out infinite alternate;
}

.ch-page-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 65% at 50% 45%, rgba(16, 25, 40, 0.46) 0%, rgba(14, 22, 36, 0.68) 65%, rgba(10, 17, 28, 0.82) 100%);
}

body.cover-locked {
  overflow: hidden;
  height: 100svh;
}

body.invitation-open {
  overflow-y: auto;
  height: auto;
}

.ch-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;
}

/* ── Ambient Ballroom Chandelier Bokeh Canvas ───────────────────────────── */
.ch-embers-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 1.1s var(--ch-ease);
}

body.invitation-open .ch-embers-canvas {
  opacity: 1;
}

/* ==========================================================================
   Cinematic Full-Bleed Château Entrance Film Cover
   ========================================================================== */
.ch-cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ch-cobalt-deep);
  overflow: hidden;
  transition: opacity 0.95s var(--ch-ease), visibility 0.95s var(--ch-ease);
}

.ch-cover[hidden] {
  display: none;
}

.ch-film-stage {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.ch-opening-poster,
.ch-opening-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: 50% 48%;
  transition: transform 1.15s var(--ch-ease), filter 0.9s var(--ch-ease);
}

.ch-opening-video {
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.25s var(--ch-ease), transform 1.15s var(--ch-ease), filter 0.9s var(--ch-ease);
}

.ch-cover.is-video-playing .ch-opening-video {
  opacity: 1;
}

.ch-cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(12, 20, 34, 0.72) 0%,
    rgba(12, 20, 34, 0.14) 24%,
    transparent 44%,
    transparent 68%,
    rgba(12, 20, 34, 0.78) 100%
  );
  transition: opacity 0.5s var(--ch-ease);
}

.ch-cover-top,
.ch-cover-bottom {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  color: #fdfaf3;
  transition: opacity 0.45s var(--ch-ease), transform 0.55s var(--ch-ease);
}

.ch-cover-top {
  top: clamp(1.4rem, 4vh, 2.8rem);
  pointer-events: none;
}

.ch-cover-bottom {
  bottom: clamp(1.6rem, 5vh, 3.2rem);
}

.ch-cover-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ch-gold-bright);
  text-shadow: 0 2px 14px rgba(8, 14, 24, 0.85);
}

.ch-cover-names {
  margin: 0;
  font-family: var(--ch-display);
  font-size: clamp(2rem, 5.8vw, 3.3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.08;
  color: #fffdf7;
  text-shadow: 0 4px 24px rgba(8, 14, 24, 0.8);
}

.ch-cover-names em {
  font-family: var(--ch-serif);
  font-style: italic;
  color: var(--ch-gold-bright);
  font-size: 1.16em;
}

.ch-cover-meta {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(253, 250, 243, 0.88);
  text-shadow: 0 2px 14px rgba(8, 14, 24, 0.88);
}

.ch-meta-dot {
  margin: 0 0.45rem;
  color: var(--ch-gold-bright);
}

.ch-enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.88rem 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 216, 162, 0.72);
  background: rgba(18, 29, 46, 0.62);
  backdrop-filter: blur(14px);
  color: #fffdf7;
  font: 500 0.74rem/1 var(--ch-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(8, 14, 24, 0.5);
  transition: background 0.3s var(--ch-ease), color 0.3s var(--ch-ease), transform 0.3s var(--ch-ease);
}

.ch-enter-btn:hover {
  background: rgba(223, 184, 112, 0.92);
  color: var(--ch-cobalt-deep);
  transform: translateY(-2px);
}

.ch-enter-arrow {
  transition: transform 0.3s var(--ch-ease);
}

.ch-enter-btn:hover .ch-enter-arrow {
  transform: translateX(4px);
}

.ch-cover.is-video-playing .ch-cover-top {
  opacity: 0;
  transform: translateY(-12px);
}

.ch-cover.is-video-playing .ch-cover-bottom {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.ch-cover.is-video-playing .ch-cover-scrim {
  opacity: 0;
}

/* Let the last ballroom frame dissolve into the live composition. */
.ch-cover.is-handing-off {
  pointer-events: none;
  transition: none;
}

/* ==========================================================================
   Floating Rounded Glass Palace Navigation Capsule (Zero sharp edges)
   ========================================================================== */
.ch-invitation {
  position: relative;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.9s var(--ch-ease);
}

body.invitation-open .ch-invitation {
  opacity: 1;
}

.ch-invitation.is-handing-off {
  opacity: 1;
  transition: none;
}

.ch-invitation.is-handing-off .ch-hero-photo {
  animation-play-state: paused;
}

.ch-cover-brand-bar {
  position: absolute;
  top: clamp(1.1rem, 3vw, 1.85rem);
  left: clamp(1.1rem, 3.5vw, 2.25rem);
  z-index: 6;
  transition: opacity 0.45s var(--ch-ease);
}

.ch-cover.is-video-playing .ch-cover-brand-bar {
  opacity: 0;
  pointer-events: none;
}

.ch-wordmark {
  font-family: var(--ch-serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fffdf7;
  text-decoration: none;
  text-shadow: 0 2px 14px rgba(8, 14, 24, 0.72);
  transition: opacity 0.2s ease;
}

.ch-wordmark span {
  color: var(--ch-gold-bright);
}

.ch-wordmark:hover {
  opacity: 0.82;
}

.ch-header-wrap {
  position: relative;
  z-index: 45;
  display: flex;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 3.5vw, 2rem) 0;
}

.ch-header-pill {
  width: 100%;
  max-width: 60rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  padding: 0.62rem 0.85rem 0.62rem 1.35rem;
  border-radius: 999px;
  background: rgba(16, 26, 42, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(242, 216, 162, 0.3);
  box-shadow: 0 14px 36px rgba(10, 17, 28, 0.26);
}

.ch-brand {
  font-family: var(--ch-display);
  font-size: 1.08rem;
  letter-spacing: 0.14em;
  color: var(--ch-gold-bright);
  text-decoration: none;
}

.ch-brand em {
  font-family: var(--ch-serif);
  font-style: italic;
  margin: 0 0.1em;
  color: #fffdf7;
}

.ch-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.ch-nav a {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 250, 243, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ch-nav a:hover {
  color: var(--ch-gold-bright);
}

.ch-nav .ch-nav-rsvp {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(223, 184, 112, 0.16);
  border: 1px solid rgba(242, 216, 162, 0.46);
  color: var(--ch-gold-bright);
}

.ch-nav .ch-nav-rsvp:hover {
  background: var(--ch-gold);
  color: var(--ch-cobalt-deep);
}

.ch-music-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 216, 162, 0.26);
  background: rgba(255, 252, 245, 0.06);
  color: rgba(253, 250, 243, 0.85);
  font: 500 0.62rem/1 var(--ch-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.ch-music-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ch-gold-bright);
  opacity: 0.42;
}

.ch-music-btn[aria-pressed="true"] .ch-music-dot {
  opacity: 1;
  box-shadow: 0 0 9px var(--ch-gold-bright);
}

/* ==========================================================================
   1. Living Grand Ballroom Hero (Matches End of Film 1-to-1)
   ========================================================================== */
.ch-hero {
  position: relative;
  min-height: calc(100svh - 5rem);
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.1rem, 4vw, 2.25rem) clamp(3.5rem, 7vh, 5.5rem);
  overflow: hidden;
  color: #fffdf7;
}

.ch-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ch-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.03);
  animation: ch-ballroom-breathe 22s ease-in-out infinite alternate;
}

@keyframes ch-ballroom-breathe {
  from { transform: scale(1.02); }
  to   { transform: scale(1.07); }
}

/* Warm candlelight-to-twilight veil so text glows luxuriously over the chandeliers */
.ch-hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 66% at 50% 48%, rgba(16, 25, 40, 0.56) 0%, rgba(16, 25, 40, 0.72) 66%, rgba(14, 22, 36, 0.86) 100%);
}

/* Sculpted Translucent Cathedral Arch Halo Framing the Hero Content */
.ch-hero-arch-veil {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: 100%;
  max-width: 44rem;
  padding: clamp(2.8rem, 6.5vw, 4.4rem) clamp(1.5rem, 5vw, 3.4rem) clamp(2.4rem, 5vw, 3.2rem);
  border-radius: 26rem 26rem 3rem 3rem;
  border: 1px solid transparent;
  text-align: center;
}

.ch-hero-arch-veil::before,
.ch-hero-arch-veil::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
}

.ch-hero-arch-veil::before {
  z-index: -1;
  opacity: var(--ch-panel-opacity, 1);
  border: 1px solid rgba(242, 216, 162, 0.42);
  background: linear-gradient(180deg, rgba(18, 28, 44, 0.42) 0%, rgba(16, 25, 40, 0.62) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 32px 72px rgba(8, 12, 20, 0.45),
    inset 0 1px 0 rgba(255, 244, 220, 0.25);
}

.ch-invitation.is-handing-off .ch-hero-arch-veil::after {
  opacity: var(--ch-arch-light, 0);
  clip-path: inset(var(--ch-arch-trace, 100%) 0 0);
  border: 1px solid var(--ch-gold-bright);
  box-shadow: inset 0 0 0.8rem rgba(242, 216, 162, 0.22);
}

.ch-heraldic-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  color: var(--ch-gold-bright);
}

.ch-crest-wing {
  width: 3.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ch-gold-bright), transparent);
}

.ch-eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ch-gold-bright);
}

.ch-hero-names {
  margin: 0;
  font-family: var(--ch-display);
  font-size: clamp(2.35rem, 6.6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.08;
  color: #fffdf7;
  text-shadow: 0 4px 28px rgba(10, 16, 26, 0.55);
}

.ch-hero-names:focus {
  outline: none;
}

.ch-hero-names em {
  font-family: var(--ch-serif);
  font-style: italic;
  color: var(--ch-gold-bright);
  font-size: 1.18em;
  font-weight: 400;
}

.ch-hero-subtitle {
  margin: 0.85rem 0 1.85rem;
  font-family: var(--ch-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: rgba(255, 250, 240, 0.84);
}

.ch-date-ribbon {
  max-width: 31rem;
  margin: 0 auto 1.9rem;
  padding: 1.15rem 1.4rem;
  border-radius: 28px;
  border: 1px solid rgba(242, 216, 162, 0.28);
  background: rgba(255, 250, 240, 0.06);
}

.ch-plaque-roman {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--ch-display);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: var(--ch-gold-bright);
}

.ch-plaque-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ch-serif);
  font-size: 1.32rem;
  color: #fffdf7;
}

.ch-plaque-dot {
  color: var(--ch-gold-bright);
}

.ch-plaque-venue {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(255, 250, 240, 0.76);
}

.ch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.3rem;
}

/* Buttons — Always Pill-Curved */
.ch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.86rem 1.85rem;
  border-radius: 999px;
  font: 500 0.72rem/1 var(--ch-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ch-ease), background 0.25s var(--ch-ease), border-color 0.25s var(--ch-ease), color 0.25s var(--ch-ease);
}

.ch-btn:hover {
  transform: translateY(-2px);
}

.ch-btn-gold {
  border: 1px solid var(--ch-gold-bright);
  background: linear-gradient(135deg, #ebd19a 0%, #d4ab63 100%);
  color: var(--ch-cobalt-deep);
  box-shadow: 0 8px 24px rgba(212, 171, 99, 0.3);
}

.ch-btn-gold:hover {
  background: #f5dfb0;
}

.ch-btn-glass {
  border: 1px solid rgba(242, 216, 162, 0.52);
  background: rgba(255, 252, 245, 0.08);
  color: #fffdf7;
}

.ch-btn-glass:hover {
  background: rgba(242, 216, 162, 0.18);
}

.ch-btn-full {
  width: 100%;
}

/* 4 Arched Crystal-Glass Countdown Niches */
.ch-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.8vw, 1rem);
  max-width: 31rem;
  margin: 0 auto;
}

.ch-niche {
  padding: 1.15rem 0.4rem 0.95rem;
  border-radius: 999px 999px 22px 22px;
  border: 1px solid rgba(242, 216, 162, 0.34);
  background: rgba(255, 250, 240, 0.07);
}

.ch-niche-num {
  display: block;
  font-family: var(--ch-display);
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  color: #fffdf7;
  line-height: 1;
}

.ch-niche-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ch-gold-bright);
}

.ch-countdown-status {
  margin-top: 0.9rem;
  font-family: var(--ch-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ch-gold-bright);
}

.ch-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--ch-stone);
  z-index: 3;
  display: block;
}

/* ==========================================================================
   Shared Sections & Reveal
   ========================================================================== */
.ch-section {
  padding: clamp(3.2rem, 7vw, 5.8rem) clamp(1.1rem, 4vw, 2.25rem);
}

.ch-container {
  max-width: 60rem;
  margin: 0 auto;
}

.ch-narrow {
  max-width: 46rem;
}

.ch-rsvp-narrow {
  max-width: 42rem;
}

.ch-room-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--ch-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ch-gold-bright);
}

.ch-kicker-gold {
  color: var(--ch-gold-bright);
}

.ch-section-title {
  margin: 0 0 1.2rem;
  font-family: var(--ch-display);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.18;
  color: #fffdf7;
  text-shadow: 0 2px 18px rgba(8, 14, 24, 0.55);
}

.ch-section-title em {
  font-family: var(--ch-serif);
  font-style: italic;
  font-size: 1.16em;
  color: var(--ch-gold-bright);
}

.ch-title-light {
  color: #fffdf7;
}

.ch-title-light em {
  color: var(--ch-gold-bright);
}

.ch-center-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.ch-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ch-ease), transform 0.8s var(--ch-ease);
}

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

/* ==========================================================================
   2. Room I — The Royal Summons (Sculpted Arched Alabaster + Dome Calendar)
   ========================================================================== */
.ch-summons-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.ch-arch-letter {
  padding: 10px;
  border-radius: 16rem 16rem 2.5rem 2.5rem;
  border: 1px solid rgba(242, 216, 162, 0.38);
  background: rgba(16, 26, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 28px 60px rgba(8, 14, 24, 0.38);
}

.ch-arch-letter-inner {
  border-radius: 15.2rem 15.2rem 2rem 2rem;
  border: 1px solid rgba(242, 216, 162, 0.2);
  padding: clamp(3.2rem, 6vw, 4.6rem) clamp(1.75rem, 4.5vw, 3rem) clamp(2.4rem, 4.5vw, 3.2rem);
  text-align: center;
}

.ch-summons-body {
  margin: 0 0 1.85rem;
  font-family: var(--ch-serif);
  font-size: clamp(1.2rem, 2.1vw, 1.38rem);
  line-height: 1.76;
  color: rgba(255, 250, 240, 0.9);
}

.ch-signoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.84rem;
  color: rgba(255, 250, 240, 0.72);
}

.ch-signoff strong {
  font-family: var(--ch-display);
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #fffdf7;
}

.ch-signoff strong em {
  font-family: var(--ch-serif);
  font-style: italic;
  color: var(--ch-gold-bright);
}

/* Softly Rounded Crowned Wedding Calendar Dome */
.ch-cal-dome {
  padding: clamp(2rem, 3.8vw, 2.6rem);
  border-radius: 2.5rem;
  background: rgba(16, 26, 42, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(242, 216, 162, 0.36);
  box-shadow: 0 24px 52px rgba(8, 14, 24, 0.36);
}

.ch-cal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(242, 216, 162, 0.24);
}

.ch-cal-month {
  font-family: var(--ch-display);
  font-size: 1.32rem;
  letter-spacing: 0.08em;
  color: #fffdf7;
}

.ch-cal-year {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--ch-gold-bright);
}

.ch-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  text-align: center;
}

.ch-cal-dow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 216, 162, 0.72);
  padding-bottom: 0.45rem;
}

.ch-cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-family: var(--ch-serif);
  font-size: 1.04rem;
  color: rgba(255, 250, 240, 0.88);
  position: relative;
}

.ch-cal-day.is-wedding {
  color: var(--ch-cobalt-deep);
  font-weight: 600;
}

.ch-cal-badge {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2d8a2, #d4ab63);
  border: 1px solid #fff5dc;
  box-shadow: 0 4px 14px rgba(223, 184, 112, 0.45);
}

.ch-cal-crown {
  position: absolute;
  top: -0.58rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1rem;
  height: auto;
  color: var(--ch-gold-bright);
}

.ch-cal-num {
  position: relative;
  z-index: 1;
  font-size: 0.94rem;
}

.ch-cal-foot {
  margin: 1.15rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(242, 216, 162, 0.24);
  font-size: 0.78rem;
  color: rgba(255, 250, 240, 0.76);
  text-align: center;
}

/* ==========================================================================
   3. Room II — Twilight Château Grounds (Enchanted Blue Photo Backdrop + 3 Arches)
   ========================================================================== */
.ch-grounds {
  position: relative;
  overflow: hidden;
  border-radius: clamp(2rem, 5vw, 4rem);
  margin-inline: clamp(0.6rem, 2.5vw, 2rem);
  color: #fffdf7;
}

.ch-grounds-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ch-grounds-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.04);
}

.ch-grounds-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 28, 46, 0.84) 0%,
    rgba(20, 34, 56, 0.78) 52%,
    rgba(14, 24, 40, 0.9) 100%
  );
}

.ch-grounds-content {
  position: relative;
  z-index: 2;
}

.ch-grounds-address {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255, 250, 240, 0.78);
}

.ch-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.65rem);
  margin-bottom: 2.25rem;
}

.ch-arch-tile {
  padding: clamp(2.6rem, 4.2vw, 3.4rem) clamp(1.3rem, 2.4vw, 1.8rem) clamp(1.9rem, 3vw, 2.4rem);
  border-radius: 16rem 16rem 2.2rem 2.2rem;
  border: 1px solid rgba(242, 216, 162, 0.34);
  background: rgba(16, 26, 42, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: transform 0.35s var(--ch-ease), border-color 0.35s var(--ch-ease);
}

.ch-arch-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 216, 162, 0.62);
}

.ch-arch-tile-featured {
  border-color: rgba(242, 216, 162, 0.6);
  background: rgba(223, 184, 112, 0.14);
}

.ch-tile-badge {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(242, 216, 162, 0.45);
  font-family: var(--ch-display);
  font-size: 0.74rem;
  color: var(--ch-gold-bright);
}

.ch-arch-tile h3 {
  margin: 0 0 0.5rem;
  font-family: var(--ch-display);
  font-size: 1.06rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fffdf7;
}

.ch-tile-time {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--ch-serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ch-gold-bright);
}

.ch-arch-tile p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.66;
  color: rgba(255, 250, 240, 0.78);
}

.ch-travel-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.6rem, 3.5vw, 2.5rem);
  border-radius: 2.4rem;
  border: 1px solid rgba(242, 216, 162, 0.34);
  background: rgba(16, 26, 42, 0.62);
  backdrop-filter: blur(12px);
}

.ch-travel-copy {
  max-width: 36rem;
}

.ch-travel-copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--ch-display);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ch-gold-bright);
}

.ch-travel-copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 250, 240, 0.82);
}

/* ==========================================================================
   4. Room III — The Evening Gala (Flowing Sculpted Pill Cards)
   ========================================================================== */
.ch-programme-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}

.ch-prog-pill {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 1.6rem);
  padding: clamp(1.35rem, 3vw, 1.8rem) clamp(1.4rem, 3.5vw, 2.1rem);
  border-radius: 2.2rem;
  background: rgba(16, 26, 42, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(242, 216, 162, 0.34);
  box-shadow: 0 18px 42px rgba(8, 14, 24, 0.32);
}

.ch-prog-seal {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ch-display);
  font-size: 0.9rem;
  color: var(--ch-cobalt-deep);
  background: radial-gradient(circle at 35% 30%, #f7e6bf, #e1c07d);
  box-shadow: 0 6px 18px rgba(223, 184, 112, 0.34);
}

.ch-prog-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.ch-prog-top h3 {
  margin: 0;
  font-family: var(--ch-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fffdf7;
}

.ch-prog-top time {
  font-family: var(--ch-serif);
  font-size: 1.32rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ch-gold-bright);
}

.ch-prog-top time span {
  font-family: var(--ch-sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(255, 250, 240, 0.72);
}

.ch-prog-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 250, 240, 0.8);
}

/* ==========================================================================
   5. Room IV — Palace Attire (Soft Oval Salon & Pearl-Cut Swatches)
   ========================================================================== */
.ch-attire-salon {
  text-align: center;
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.6rem, 4.5vw, 3.2rem);
  border-radius: 3rem;
  background: rgba(16, 26, 42, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(242, 216, 162, 0.36);
  box-shadow: 0 24px 52px rgba(8, 14, 24, 0.34);
}

.ch-attire-note {
  max-width: 32rem;
  margin: 0 auto 2.2rem;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(255, 250, 240, 0.82);
}

.ch-palette {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem 1.85rem;
}

.ch-palette li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.82);
}

.ch-gem {
  width: 3.15rem;
  height: 3.85rem;
  border-radius: 999px 999px 1.6rem 1.6rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.34), transparent 55%),
    var(--swatch, #162234);
  box-shadow:
    0 0 0 3px rgba(16, 26, 42, 0.85),
    0 0 0 4px rgba(242, 216, 162, 0.55),
    0 10px 22px rgba(8, 14, 24, 0.38);
}

/* ==========================================================================
   6. Room V — The Royal Reply (Enchanted Twilight-Blue Arched Sanctuary)
   ========================================================================== */
.ch-rsvp-sanctuary {
  padding: clamp(3.4rem, 7vw, 4.8rem) clamp(1.6rem, 5vw, 3.6rem) clamp(2.6rem, 5vw, 3.6rem);
  border-radius: 22rem 22rem 3rem 3rem;
  background:
    radial-gradient(circle at 50% 12%, rgba(223, 184, 112, 0.2), transparent 52%),
    linear-gradient(180deg, #1b2c44 0%, #132034 60%, #0f1929 100%);
  border: 1px solid rgba(242, 216, 162, 0.42);
  color: #fffdf7;
  box-shadow: 0 32px 68px rgba(10, 18, 30, 0.28);
}

.ch-rsvp-head {
  text-align: center;
  margin-bottom: 2.1rem;
}

.ch-rsvp-crown {
  color: var(--ch-gold-bright);
  margin-bottom: 0.75rem;
}

.ch-rsvp-intro {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255, 250, 240, 0.78);
}

.ch-form {
  display: grid;
  gap: 1.3rem;
}

.ch-attendance-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.ch-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ch-choice {
  position: relative;
  cursor: pointer;
}

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

.ch-choice-card {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(242, 216, 162, 0.3);
  background: rgba(255, 252, 245, 0.05);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ch-choice-card strong {
  font-family: var(--ch-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fffdf7;
}

.ch-choice-card small {
  font-size: 0.76rem;
  color: rgba(255, 250, 240, 0.68);
}

.ch-choice input:checked + .ch-choice-card {
  border-color: var(--ch-gold-bright);
  background: rgba(223, 184, 112, 0.18);
  box-shadow: inset 0 0 0 1px var(--ch-gold-bright);
}

.ch-field {
  display: grid;
  gap: 0.45rem;
}

.ch-field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.ch-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ch-gold-bright);
}

.ch-field label span,
.ch-field-hint {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.78rem;
  color: rgba(255, 250, 240, 0.66);
}

.ch-field input,
.ch-field textarea,
.ch-field select {
  width: 100%;
  padding: 0.88rem 1.15rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(242, 216, 162, 0.32);
  background: rgba(255, 252, 245, 0.07);
  color: #fffdf7;
  font: 400 0.96rem/1.5 var(--ch-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ch-field input::placeholder,
.ch-field textarea::placeholder {
  color: rgba(255, 250, 240, 0.44);
}

.ch-field input:focus,
.ch-field textarea:focus,
.ch-field select:focus {
  outline: none;
  border-color: var(--ch-gold-bright);
  box-shadow: 0 0 0 3px rgba(223, 184, 112, 0.2);
}

.ch-form .guest-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.ch-form .guest-stepper input[type="number"] {
  width: 4.2rem;
  text-align: center;
  padding: 0.65rem 0.4rem;
  font-family: var(--ch-display);
  font-size: 1.15rem;
  appearance: textfield;
  -moz-appearance: textfield;
}

.ch-form .guest-stepper input[type="number"]::-webkit-outer-spin-button,
.ch-form .guest-stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ch-form .guest-stepper button {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1px solid rgba(242, 216, 162, 0.5);
  background: rgba(223, 184, 112, 0.14);
  color: var(--ch-gold-bright);
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ch-form .guest-stepper button:hover:not(:disabled) {
  background: rgba(223, 184, 112, 0.28);
  border-color: var(--ch-gold-bright);
  transform: scale(1.05);
}

.ch-form .guest-stepper button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.ch-extra-guests {
  display: grid;
  gap: 0.85rem;
}

.ch-extra-guests input {
  width: 100%;
  padding: 0.82rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(242, 216, 162, 0.32);
  background: rgba(255, 252, 245, 0.07);
  color: #fffdf7;
  font: 400 0.94rem/1.4 var(--ch-sans);
}

.ch-form-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.86rem;
  color: #f6b0a6;
  text-align: center;
}

.ch-confirmation {
  text-align: center;
  padding: 1.4rem 0 0.5rem;
}

.ch-conf-crest {
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 216, 162, 0.48);
  color: var(--ch-gold-bright);
}

.ch-confirmation h3 {
  margin: 0 0 0.5rem;
  font-family: var(--ch-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fffdf7;
}

.ch-confirmation p {
  margin: 0 0 1.6rem;
  color: rgba(255, 250, 240, 0.78);
  line-height: 1.65;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ch-footer {
  text-align: center;
  padding: 2.75rem 1.25rem 3.5rem;
  color: rgba(255, 250, 240, 0.76);
}

.ch-footer-monogram {
  margin: 0 0 0.45rem;
  font-family: var(--ch-display);
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  color: var(--ch-gold-bright);
}

.ch-footer-monogram em {
  font-family: var(--ch-serif);
  font-style: italic;
  color: #fffdf7;
}

.ch-footer-meta {
  margin: 0 0 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ch-footer-credit {
  margin: 0;
  font-size: 0.74rem;
}

.ch-footer-credit a {
  color: var(--ch-gold-bright);
  text-decoration: none;
  font-weight: 500;
}

/* ==========================================================================
   Responsive & Reduced Motion
   ========================================================================== */
@media (max-width: 56rem) {
  .ch-summons-grid,
  .ch-triptych,
  .ch-choice-grid {
    grid-template-columns: 1fr;
  }

  .ch-nav a:not(.ch-nav-rsvp) {
    display: none;
  }

  .ch-hero-arch-veil,
  .ch-rsvp-sanctuary {
    border-radius: 10rem 10rem 2.2rem 2.2rem;
  }

  .ch-arch-letter {
    border-radius: 10rem 10rem 2.2rem 2.2rem;
  }

  .ch-arch-letter-inner {
    border-radius: 9.4rem 9.4rem 1.8rem 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-hero-photo {
    animation: none;
  }
  .ch-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ch-embers-canvas {
    display: none;
  }
}
