/* ══════════════════════════════════════════════
   RESET & BASE VARIABLES
══════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:         #dfb76c;
  --gold-light:   #f3dfa2;
  --gold-dim:     #8A6D15;
  --gold-subtle:  rgba(201, 162, 39, 0.18);
  --crimson:      #6B0000;
  --ivory:        #FAF6EE;
  --ivory-dim:    #EDE5D8;
  --deep-bg:      #0A0300;
  --deep-red-bg:  #180303;
  --deep-green-bg:#05140a;
  --deep-pink-bg: #18030b;
  --sec-pad:      clamp(60px, 8vh, 120px);
}

html {
  margin: 0;
  padding: 0;
  background: var(--deep-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--deep-bg);
  color: var(--ivory);
  font-family: 'Cormorant Garamond', serif;
  -webkit-font-smoothing: antialiased;
}

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

.progressive-img {
  transition: opacity 0.25s ease-out;
}

/* ══════════════════════════════════════════════
   LOADING OVERLAY
══════════════════════════════════════════════ */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: #080200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vh, 28px);
  pointer-events: all;
}

/* ══════════════════════════════════════════════
   LOADING OVERLAY — Stamp Composition
══════════════════════════════════════════════ */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: #0c0200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: all;
  overflow: hidden;
}

/* Stamp wrapper — controls the reveal animation */
#loading-stamp-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  animation: stampReveal 1.0s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.1s;
  /* Prefers-reduced-motion: skip animation, show instantly */
}

@media (prefers-reduced-motion: reduce) {
  #loading-stamp-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


#loading-stamp {
  width: clamp(180px, 40vw, 320px);
  height: auto;
  display: block;
  object-fit: contain;
  /* The SVG has a deep red/gold design on transparent bg */
  filter: drop-shadow(0 8px 32px rgba(158, 0, 0, 0.45)) drop-shadow(0 2px 8px rgba(192, 171, 5, 0.25));
}

#loading-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.2vh, 12px);
  margin-top: clamp(20px, 4vh, 40px);
  opacity: 0;
  animation: ldFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.75s;
}

@media (prefers-reduced-motion: reduce) {
  #loading-identity {
    animation: none;
    opacity: 1;
  }
}

#loading-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(18px, 4vw, 32px);
  color: var(--gold-light);
  letter-spacing: 0.18em;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

#loading-invite {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 2vw, 15px);
  color: rgba(243, 223, 162, 0.6);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
}

@keyframes stampReveal {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ══════════════════════════════════════════════
   PETAL CANVAS LAYERS
══════════════════════════════════════════════ */
.petal-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

#petal-back  { z-index: 5;  }
#petal-front { z-index: 15; }

/* ══════════════════════════════════════════════
   SECTION COMMON TYPOGRAPHY & MOTIFS
══════════════════════════════════════════════ */
section {
  position: relative;
  z-index: 20;
  width: 100%;
  margin: 0;
}

.gold-rule {
  width: clamp(50px, 12vw, 110px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(10px, 1.3vw, 13px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.display-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(34px, 6.5vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ivory);
}

#hero-text-group .display-title {
  color: #FFFDF9;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 0, 0, 0.7), 0 0 12px rgba(201, 162, 39, 0.38);
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 2.2vw, 23px);
  color: var(--ivory-dim);
  letter-spacing: 0.04em;
}

.ornament {
  display: block;
  text-align: center;
  font-size: clamp(13px, 1.8vw, 18px);
  color: var(--gold);
  letter-spacing: 0.5em;
  line-height: 1;
  user-select: none;
}

/* ══════════════════════════════════════════════
   §1 HERO
══════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  z-index: 20;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--deep-bg);
}

#hero-img-wrap {
  position: relative;
  width: 100%;
  will-change: transform;
}

#hero-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

#hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

#hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44%;
  background: linear-gradient(
    to bottom,
    rgba(8, 2, 0, 0.78) 0%,
    rgba(8, 2, 0, 0.48) 40%,
    rgba(8, 2, 0, 0.15) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.garland-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  z-index: 43;

  /* Keep the horizontal decorative garland subtle */
  max-height: clamp(80px, 12vw, 150px);
  object-fit: cover;
  object-position: top;

  filter: drop-shadow(0 4px 12px rgba(201, 162, 39, 0.35));
}


/* =========================================
   #HERO CORNER GARLAND + LANTERN DECORATIONS
   ========================================= */

#hero .corner-comp {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 43;
  filter: drop-shadow(0 4px 12px rgba(201, 162, 39, 0.35));
  will-change: transform;
}

#hero .corner-comp.top-left-large {
  left: 0;
  width: clamp(90px, 9.5vw, 150px);
  animation: lanternSway 6.8s ease-in-out infinite alternate;
  animation-delay: -1.2s;
}

#hero .corner-comp.top-left-small {
  left: clamp(70px, 9vw, 120px);
  top: 0;
  width: clamp(36px, 3.8vw, 56px);
  animation: lanternSway 8.1s ease-in-out infinite alternate;
  animation-delay: -2.8s;
}

#hero .corner-comp.top-right-large {
  right: 0;
  width: clamp(90px, 9.5vw, 150px);
  transform-origin: top center;
  animation: lanternSway 6.2s ease-in-out infinite alternate;
  animation-delay: -3.5s;
}

#hero .corner-comp.top-right-small {
  right: clamp(70px, 9vw, 120px);
  top: 0;
  width: clamp(36px, 3.8vw, 56px);
  animation: lanternSway 7.6s ease-in-out infinite alternate;
  animation-delay: -0.8s;
}

#hero .corner-comp .comp-garland {
  width: 100%;
  height: auto;
  display: block;
}

#hero .corner-comp .comp-lantern {
  width: 55%;
  height: auto;
  margin-top: -8%;
  display: block;
}

#hero .corner-comp.top-left-small .comp-lantern,
#hero .corner-comp.top-right-small .comp-lantern {
  width: 48%;
  margin-top: -10%;
}

#hero-text-outer {
  position: absolute;
  top: clamp(80px, 13vh, 135px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 44;
  pointer-events: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.5vh, 30px);
  width: 100%;
  max-width: 860px;
  padding: 0 clamp(16px, 4vw, 48px);
}

#hero-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 18px);
}

#hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.scroll-hint-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(201, 162, 39, 0.75), transparent);
  animation: hintPulse 2.2s ease-in-out infinite;
}

.scroll-hint-chevron {
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(201, 162, 39, 0.6);
  border-bottom: 1px solid rgba(201, 162, 39, 0.6);
  transform: rotate(45deg);
  animation: hintChev 2.2s ease-in-out infinite;
  animation-delay: 0.4s;
}

/* ══════════════════════════════════════════════
   §2 FRAMES GALLERY (High Visibility & Larger Frames)
══════════════════════════════════════════════ */
#frames-section {
  margin: 0;
  padding: clamp(60px, 9vh, 120px) clamp(16px, 4vw, 60px) clamp(30px, 5vh, 60px);
  text-align: center;
  background: #140800 url('../assets/images/backgrounds/lehenga-bg.png') repeat-y center top / 100% auto;
  position: relative;
  z-index: 20;
}

#frames-section .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.8vh, 18px);
  margin-bottom: clamp(52px, 8vh, 96px);
  position: relative;
  z-index: 5;
}

#frames-section .eyebrow {
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.42em;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

#frames-section .display-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(38px, 6.8vw, 84px);
  color: var(--ivory);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9), 0 0 16px rgba(201, 162, 39, 0.4);
  letter-spacing: 0.02em;
  line-height: 1.06;
}

#frames-section .tagline {
  font-size: clamp(16px, 2.3vw, 24px);
  color: var(--ivory-dim);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* 4-frame layout: row of 4 with natural balanced stagger */
#frames-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3.5vw, 52px);
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.frame-item {
  cursor: default;
  opacity: 0;
  will-change: transform;
  transition: transform 0.4s ease;
}

.frame-item img {
  filter: none !important;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* 4-frame composition */
.frame-item:nth-child(1) {
  transform: rotate(-1.2deg) translateY(12px);
}
.frame-item:nth-child(1) img {
  width: clamp(220px, 22vw, 340px);
}

.frame-item:nth-child(2) {
  transform: rotate(0.8deg) translateY(-16px);
}
.frame-item:nth-child(2) img {
  width: clamp(255px, 26vw, 400px);
}

.frame-item:nth-child(3) {
  transform: rotate(-0.8deg) translateY(12px);
}
.frame-item:nth-child(3) img {
  width: clamp(220px, 22vw, 340px);
}

.frame-item:nth-child(4) {
  transform: rotate(1deg) translateY(-8px);
}
.frame-item:nth-child(4) img {
  width: clamp(235px, 24vw, 360px);
}

/* ══════════════════════════════════════════════
   §2b POLAROID SECTION (Physical Hanging Breeze Animation)
══════════════════════════════════════════════ */
#polaroid-rope-section {
  background: #140800 url('../assets/images/backgrounds/lehenga-bg.png') repeat-y center top / 100% auto;
  position: relative;
  z-index: 20;
  margin: 0;
  padding: clamp(30px, 5vh, 60px) clamp(16px, 4vw, 48px) clamp(64px, 10vh, 120px);
  overflow: visible;
}

#polaroids-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(20px, 3vh, 40px);
}

.polaroid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform-origin: top center;
  will-change: transform;
}

/* Subtle unsynchronized physical breeze swinging */
.polaroid-item:nth-child(1) {
  animation: polaroidBreeze1 7.2s ease-in-out infinite alternate;
}

.polaroid-item:nth-child(2) {
  animation: polaroidBreeze2 6.5s ease-in-out infinite alternate;
  animation-delay: -1.8s;
}

.polaroid-item:nth-child(3) {
  animation: polaroidBreeze3 7.8s ease-in-out infinite alternate;
  animation-delay: -3.2s;
}

.polaroid-item:nth-child(4) {
  animation: polaroidBreeze4 6.8s ease-in-out infinite alternate;
  animation-delay: -0.9s;
}

@keyframes polaroidBreeze1 {
  0%   { transform: rotate(-1.5deg) translateX(-2px) translateY(0); }
  50%  { transform: rotate(1.2deg) translateX(2px) translateY(-2px); }
  100% { transform: rotate(-0.8deg) translateX(-1px) translateY(0); }
}

@keyframes polaroidBreeze2 {
  0%   { transform: rotate(1.3deg) translateX(2px) translateY(0); }
  50%  { transform: rotate(-1.4deg) translateX(-2px) translateY(-3px); }
  100% { transform: rotate(0.8deg) translateX(1px) translateY(0); }
}

@keyframes polaroidBreeze3 {
  0%   { transform: rotate(-1.2deg) translateX(-1px) translateY(-1px); }
  50%  { transform: rotate(1.4deg) translateX(2px) translateY(-2px); }
  100% { transform: rotate(-0.6deg) translateX(0) translateY(0); }
}

@keyframes polaroidBreeze4 {
  0%   { transform: rotate(1.1deg) translateX(1px) translateY(0); }
  50%  { transform: rotate(-1.3deg) translateX(-2px) translateY(-2px); }
  100% { transform: rotate(0.7deg) translateX(2px) translateY(0); }
}

.polaroid-clip {
  width: 16px;
  height: 26px;
  background: linear-gradient(to bottom, #D4AF37, #8C6D23);
  border-radius: 3px 3px 0 0;
  margin-bottom: -6px;
  z-index: 2;
  position: relative;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.polaroid-clip::before, .polaroid-clip::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.3);
  left: 50%;
  transform: translateX(-50%);
}

.polaroid-clip::before { top: 5px; }
.polaroid-clip::after  { top: 11px; }

.polaroid-body {
  background: #FAF7F2;
  padding: clamp(10px, 1.1vw, 13px);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 4px;
  box-shadow: none !important;
  width: clamp(155px, 17vw, 215px);
  transition: transform 0.4s ease;
}

.polaroid-body:hover {
  box-shadow: none !important;
}

.polaroid-body:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(201, 162, 39, 0.28);
}

.polaroid-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #EFE9DE;
  border-radius: 2px;
  margin-bottom: clamp(7px, 1vw, 11px);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.polaroid-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.polaroid-body:hover .polaroid-photo {
  transform: scale(1.06);
}

.polaroid-caption {
  text-align: center;
  font-family: 'IM Fell English', serif;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #2E1A0E;
  margin-top: clamp(6px, 1vh, 10px);
  margin-bottom: 2px;
  line-height: 1.15;
}

.polaroid-subtext,
.polaroid-date {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(11px, 1.2vw, 13px);
  color: #7C6650;
  line-height: 1.2;
}

/* ══════════════════════════════════════════════
   §3 GRAND EVENTS (Red Fabric Environment & Enormous Top Canopy)
══════════════════════════════════════════════ */
#dollhouse-section {
  margin: 0;
  padding: clamp(140px, 18vh, 240px) clamp(16px, 4vw, 64px) clamp(60px, 9vh, 120px);
  text-align: center;
  position: relative;
  z-index: 20;
  background: var(--deep-red-bg) url('../assets/images/backgrounds/bg-red.png') repeat-y center top / 100% auto;
  overflow: hidden;
}

/* Enormous Architectural Hanging Canopy (Originating from exact TOP EDGE of Red Section) */
.events-top-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
  padding: 0 clamp(10px, 3vw, 40px);
}

.events-lantern-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.75)) drop-shadow(0 4px 14px rgba(201, 162, 39, 0.45));
  will-change: transform;
}

/* Jashn-e-Bahar Top Canopy: Refined desktop framing scale */
#dollhouse-section .events-lantern-item.lantern-left-far {
  width: clamp(130px, 13vw, 210px);
  animation: lanternBreeze1 11.5s ease-in-out infinite alternate;
}

#dollhouse-section .events-lantern-item.lantern-left-near {
  width: clamp(95px, 9.5vw, 155px);
  animation: lanternBreeze2 13.2s ease-in-out infinite alternate;
  animation-delay: -3.8s;
}

#dollhouse-section .events-lantern-item.lantern-center {
  width: clamp(110px, 11vw, 175px);
  animation: lanternBreeze3 10.4s ease-in-out infinite alternate;
  animation-delay: -1.5s;
}

#dollhouse-section .events-lantern-item.lantern-right-near {
  width: clamp(95px, 9.5vw, 155px);
  animation: lanternBreeze4 12.8s ease-in-out infinite alternate;
  animation-delay: -5.2s;
}

#dollhouse-section .events-lantern-item.lantern-right-far {
  width: clamp(130px, 13vw, 210px);
  animation: lanternBreeze5 11.0s ease-in-out infinite alternate;
  animation-delay: -2.1s;
}

.events-lantern-item .drape-garland {
  width: 100%;
  height: auto;
  display: block;
}

.events-lantern-item .drape-lantern {
  width: 58%;
  height: auto;
  margin-top: -14%;
  display: block;
}

@keyframes lanternBreeze1 {
  0%   { transform: rotate(-0.35deg) translateX(-1px); }
  50%  { transform: rotate(0.4deg) translateX(1px); }
  100% { transform: rotate(-0.25deg) translateX(0); }
}

@keyframes lanternBreeze2 {
  0%   { transform: rotate(0.4deg) translateX(1px); }
  50%  { transform: rotate(-0.3deg) translateX(-1px); }
  100% { transform: rotate(0.2deg) translateX(0); }
}

@keyframes lanternBreeze3 {
  0%   { transform: rotate(-0.25deg) translateX(0); }
  50%  { transform: rotate(0.35deg) translateX(1px); }
  100% { transform: rotate(-0.3deg) translateX(-1px); }
}

@keyframes lanternBreeze4 {
  0%   { transform: rotate(0.3deg) translateX(1px); }
  50%  { transform: rotate(-0.4deg) translateX(-1px); }
  100% { transform: rotate(0.25deg) translateX(0); }
}

@keyframes lanternBreeze5 {
  0%   { transform: rotate(-0.4deg) translateX(-1px); }
  50%  { transform: rotate(0.3deg) translateX(1px); }
  100% { transform: rotate(-0.2deg) translateX(0); }
}

#dollhouse-section .section-head {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 16px);
  margin-top: clamp(100px, 14vh, 200px);
  margin-bottom: clamp(36px, 5.5vh, 60px);
   top: 55px;
}

/* Events microcopy hint */
.events-microcopy {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.75;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

#dollhouse-cards {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 56px) clamp(20px, 3vw, 48px);
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
    margin-top: clamp(30px, 4vh, 48px);
}

.dollhouse-card {
  cursor: pointer;
  opacity: 0;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  width: 100%;
  max-width: clamp(275px, 25vw, 380px);
  transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.22, 1);
  will-change: transform;
}

.dollhouse-card-img-wrap {
  width: 100%;
  background: transparent;
}

.dollhouse-card-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.58)) drop-shadow(0 3px 10px rgba(201, 162, 39, 0.22));
  transition: transform 0.48s cubic-bezier(0.22, 0.8, 0.22, 1), filter 0.48s ease;
}

.dollhouse-card:hover {
  transform: translateY(-9px) scale(1.035);
}

.dollhouse-card:hover .dollhouse-card-img-wrap img {
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.72)) drop-shadow(0 6px 20px rgba(201, 162, 39, 0.38));
}

.dollhouse-card:active {
  transform: translateY(-3px) scale(1.01);
}

/* ══════════════════════════════════════════════
   §4 RSVP SECTION (Green Fabric Environment)
══════════════════════════════════════════════ */
#rsvp-section {
  margin: 0;
  padding: var(--sec-pad) clamp(16px, 5vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vh, 48px);
  background: var(--deep-green-bg) url('../assets/images/backgrounds/bg-green.png') repeat-y center top / 100% auto;
  position: relative;
  z-index: 20;
}

#rsvp-section .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 16px);
}

.rsvp-form-card {
  background: rgba(255, 248, 235, 0.055);
  border: 1px solid rgba(201, 162, 39, 0.22);
  padding: clamp(28px, 5vw, 56px);
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.5vh, 24px);
}

.rsvp-form-card input,
.rsvp-form-card select {
  width: 100%;
  background: rgba(255, 248, 235, 0.07);
  border: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.38);
  color: var(--ivory);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(15px, 2vw, 18px);
  padding: clamp(8px, 1.5vh, 12px) 4px;
  outline: none;
  transition: border-color 0.3s;
}

.rsvp-form-card input::placeholder {
  color: rgba(232, 201, 106, 0.42);
}

.rsvp-form-card input:focus,
.rsvp-form-card select:focus {
  border-bottom-color: var(--gold-light);
}

.rsvp-form-card select option {
  background: #06150b;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(12px, 2vw, 16px) clamp(30px, 5vw, 54px);
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  color: #1A0A00;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(13px, 1.7vw, 17px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: filter 0.3s, transform 0.2s;
}

.btn-gold:hover {
  filter: brightness(1.14);
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(0);
}

/* RSVP section & subtext */
#rsvp-section {
  margin: 0;
  padding: clamp(38px, 5.5vh, 64px) clamp(16px, 4vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--deep-green-bg) url('../assets/images/backgrounds/bg-green.png') repeat-y center top / 100% auto;
  position: relative;
  z-index: 20;
}

#rsvp-section .section-head {
  margin-bottom: clamp(12px, 2vh, 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.2vh, 12px);
}

.rsvp-subtext {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 2vw, 19px);
  font-style: italic;
  color: var(--gold-light);
  opacity: 0.92;
  letter-spacing: 0.04em;
  margin-top: 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.rsvp-invite-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(4px, 1vh, 8px);
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

.rsvp-personal-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(13px, 1.6vw, 16px);
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  opacity: 0.88;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.rsvp-family-card {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(24px, 3.8vh, 38px) clamp(20px, 4vw, 44px);
  background: rgba(12, 24, 15, 0.86);
  border: 1px solid rgba(201, 162, 39, 0.48);
  border-radius: 4px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(201, 162, 39, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rsvp-family-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.rsvp-family-names {
  font-family: 'IM Fell English', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ivory);
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 14px rgba(201, 162, 39, 0.3);
}

.rsvp-family-special {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 21px);
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ══════════════════════════════════════════════
   §5 THINGS TO KNOW (Green Fabric Environment)
══════════════════════════════════════════════ */
#things-section {
  margin: 0;
  padding: var(--sec-pad) clamp(16px, 5vw, 80px);
  text-align: center;
  background: var(--deep-green-bg) url('../assets/images/backgrounds/bg-green.png') repeat-y center top / 100% auto;
  position: relative;
  z-index: 20;
}

#things-section .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 16px);
  margin-bottom: clamp(36px, 6vh, 72px);
}

#things-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 25vw, 260px), 1fr));
  gap: clamp(14px, 2.8vw, 30px);
  max-width: 1080px;
  margin: 0 auto;
}

.thing-card {
  background: rgba(255, 248, 235, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.17);
  padding: clamp(22px, 3.8vw, 38px) clamp(18px, 2.8vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2vh, 16px);
  text-align: center;
  opacity: 0;
  transition: background 0.3s, border-color 0.3s;
}

.thing-card:hover {
  background: rgba(255, 248, 235, 0.09);
  border-color: rgba(201, 162, 39, 0.35);
}

.thing-icon {
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1;
}

.thing-title {
  font-size: clamp(13px, 1.7vw, 17px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}

.thing-body {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--ivory-dim);
  line-height: 1.65;
  font-weight: 300;
}

/* ══════════════════════════════════════════════
   §5b WARDROBE PLANNER (Pink Fabric Environment)
══════════════════════════════════════════════ */
#wardrobe-section {
  margin: 0;
  padding: var(--sec-pad) clamp(16px, 5vw, 80px);
  text-align: center;
  background: var(--deep-pink-bg) url('../assets/images/backgrounds/bg-pink.png') repeat-y center top / 100% auto;
  position: relative;
  z-index: 20;
}

#wardrobe-section .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 16px);
  margin-bottom: clamp(36px, 6vh, 68px);
}

#wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(230px, 27vw, 320px), 1fr));
  gap: clamp(20px, 3.2vw, 38px);
  max-width: 1100px;
  margin: 0 auto;
}

.wardrobe-card {
  background: rgba(255, 248, 235, 0.045);
  border: 1px solid rgba(201, 162, 39, 0.22);
  padding: clamp(28px, 4.2vw, 44px) clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2vh, 18px);
  text-align: center;
  opacity: 0;
  transition: background 0.35s, border-color 0.35s, transform 0.35s;
}

.wardrobe-card:hover {
  background: rgba(255, 248, 235, 0.085);
  border-color: rgba(201, 162, 39, 0.42);
  transform: translateY(-4px);
}

.wardrobe-event {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.wardrobe-code {
  font-family: 'IM Fell English', serif;
  font-size: clamp(19px, 2.7vw, 27px);
  color: var(--ivory);
  line-height: 1.25;
  font-style: italic;
}

.wardrobe-deco {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.4em;
  opacity: 0.55;
}

/* ══════════════════════════════════════════════
   §6 COUNTDOWN (Green Fabric Environment)
══════════════════════════════════════════════ */
#countdown-section {
  margin: 0;
  padding: var(--sec-pad) clamp(16px, 5vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(30px, 5.5vh, 68px);
  background: var(--deep-green-bg) url('../assets/images/backgrounds/bg-green.png') repeat-y center top / 100% auto;
  position: relative;
  z-index: 20;
}

#countdown-section .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 16px);
}

#countdown-section .eyebrow {
  color: var(--gold-light);
  letter-spacing: 0.45em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  font-weight: 600;
}

#countdown-section .display-title {
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

#countdown-section .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 2.4vw, 24px);
  color: var(--ivory-dim);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

#countdown-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 2vw, 32px);
  width: 100%;
  max-width: 720px;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1vh, 10px);
  flex: 1 1 0;
  min-width: clamp(52px, 18vw, 110px);
}

.cd-digits {
  font-family: 'IM Fell English', serif;
  font-size: clamp(38px, 7vw, 88px);
  font-weight: 400;
  line-height: 1;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  height: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 14px rgba(201, 162, 39, 0.4);
}

.cd-value {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s;
}

.cd-value.flipping-out {
  transform: translateY(-110%);
  opacity: 0;
}

.cd-value.flipping-in {
  transform: translateY(110%);
  opacity: 0;
}

.cd-separator {
  font-family: 'IM Fell English', serif;
  font-size: clamp(28px, 5vw, 64px);
  color: var(--gold-light);
  opacity: 0.8;
  align-self: center;
  margin-top: -0.2em;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.cd-label {
  font-size: clamp(10px, 1.3vw, 13px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  font-weight: 600;
}

.cd-gold-line {
  width: clamp(45px, 8vw, 90px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
  opacity: 0.8;
}

#countdown-date-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--ivory-dim);
  opacity: 0.95;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

/* Change 14: "See Root, for the Wedding" elegant text link */
.see-root-link {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  opacity: 0.82;
  position: relative;
  transition: opacity 0.3s, color 0.3s, transform 0.25s;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  margin-top: -10px;
}

.see-root-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.see-root-link:hover {
  opacity: 1;
  color: var(--ivory);
  transform: translateY(-1px);
}

.see-root-link:hover::after {
  opacity: 0.9;
}


/* ══════════════════════════════════════════════
   §7 BRIDE + GROOM IMAGE CAROUSEL (Infinite Marquee)
══════════════════════════════════════════════ */
#carousel-section {
  margin: 0;
  padding: clamp(48px, 7vh, 96px) 0 clamp(64px, 9vh, 120px);
  text-align: center;
  background: var(--deep-green-bg) url('../assets/images/backgrounds/bg-green.png') repeat-y center top / 100% auto;
  position: relative;
  z-index: 20;
  overflow: hidden;
}

#carousel-section .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 16px);
  margin-bottom: clamp(36px, 6vh, 68px);
  padding: 0 clamp(16px, 4vw, 48px);
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: clamp(16px, 2.5vh, 32px) 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: clamp(18px, 2.8vw, 38px);
  width: max-content;
  animation: continuousSlide 36s linear infinite;
  will-change: transform;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-card {
  flex: 0 0 auto;
  width: clamp(230px, 26vw, 360px);
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.32);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(201, 162, 39, 0.15);
  background: rgba(10, 25, 15, 0.6);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.carousel-card:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: var(--gold-light);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7), 0 4px 18px rgba(201, 162, 39, 0.3);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.carousel-card:hover img {
  transform: scale(1.04);
}

@keyframes continuousSlide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ══════════════════════════════════════════════
   FOOTER (Green Fabric Environment)
══════════════════════════════════════════════ */
#site-footer {
  margin: 0;
  position: relative;
  z-index: 20;
  text-align: center;
  padding: clamp(36px, 6vh, 68px) clamp(16px, 4vw, 48px);
  padding-bottom: clamp(48px, 8vh, 80px);
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  background: var(--deep-green-bg) url('../assets/images/backgrounds/bg-green.png') repeat-y center top / 100% auto;
}

#site-footer p {
  font-size: clamp(12px, 1.6vw, 15px);
  letter-spacing: 0.28em;
  color: var(--gold-light);
  opacity: 0.9;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   EVENT DETAIL VIEW (Immersive Zoomed Thematic Composition)
══════════════════════════════════════════════ */
#event-detail-view {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #0A0300;
  background-size: 135% auto;
  background-position: center 20%;
  background-repeat: no-repeat;
  transition: opacity 0.4s ease;
}

#event-detail-view.is-active {
  display: block;
}

#event-back-btn {
  position: fixed;
  top: clamp(14px, 2.5vh, 24px);
  left: clamp(14px, 2.8vw, 28px);
  z-index: 600;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: rgba(10, 4, 0, 0.88);
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
}

#event-back-btn.is-active {
  display: inline-flex;
}

#event-back-btn:hover {
  background: rgba(201, 162, 39, 0.28);
  border-color: var(--gold-light);
  color: var(--ivory);
  transform: translateX(-3px);
}

#event-back-btn svg {
  width: 14px;
  height: 14px;
}

#event-transition {
  position: fixed;
  inset: 0;
  z-index: 700;
  pointer-events: none;
  opacity: 0;
  background: #000;
}

/* Event Hero Container */
.event-hero {
  position: relative;
  width: 100%;
  min-height: clamp(480px, 72vh, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 9vh, 100px) clamp(20px, 4vw, 48px) clamp(30px, 5vh, 50px);
  text-align: center;
  background-size: 135% auto;
  background-position: center 20%;
  background-repeat: no-repeat;
}

/* Hero Artwork Illustration (Prominent & Zoomed Hero Visual) */
.event-hero-artwork-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: clamp(320px, 44vw, 580px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 32px);
}

.event-hero-img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.75)) drop-shadow(0 4px 16px rgba(201, 162, 39, 0.25));
  will-change: transform;
}

.event-hero-grad {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 5, 0, 0.15) 0%,
    rgba(10, 5, 0, 0.55) 60%,
    rgba(10, 5, 0, 0.9) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.event-hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 16px);
  background: rgba(10, 4, 0, 0.45);
  padding: clamp(12px, 2vh, 20px) clamp(20px, 4vw, 40px);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.ev-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.ev-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.06;
  color: var(--ivory);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 16px rgba(201, 162, 39, 0.35);
}

.ev-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 23px);
  color: var(--ivory-dim);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.ev-gold-rule {
  width: clamp(50px, 10vw, 100px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* Event Detail Body Container (Frosted Gold Card Backdrop) */
.event-detail-body {
  position: relative;
  z-index: 2;
  background: rgba(10, 5, 2, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.7);
}

.ev-chapter {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 68px) clamp(20px, 4vw, 48px);
  text-align: center;
}

.ev-story {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.6vw, 28px);
  font-style: italic;
  line-height: 1.7;
  color: var(--ivory);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.ev-details-row {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 48px) clamp(16px, 4vw, 40px);
  flex-wrap: wrap;
}

.ev-detail-item {
  flex: 1 1 clamp(180px, 25vw, 240px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ev-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(56px, 8vw, 76px);
}

/* Base icon style: calendar (landscape, slightly wider) */
.ev-icon {
  display: block;
  width: auto;
  height: clamp(56px, 8vw, 72px);
  max-width: clamp(80px, 12vw, 110px);
  object-fit: contain;
  /* PNG has white bg — blend into dark event detail backgrounds */
  mix-blend-mode: lighten;
  opacity: 0.92;
}

/* Clock icon is roughly square, slightly smaller */
.ev-icon--time {
  height: clamp(50px, 7vw, 64px);
  max-width: clamp(70px, 11vw, 100px);
}

/* Venue/map icon is landscape, similar to calendar */
.ev-icon--venue {
  height: clamp(48px, 7vw, 62px);
  max-width: clamp(80px, 12vw, 108px);
}

.ev-detail-label {
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.ev-detail-value {
  font-family: 'IM Fell English', serif;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--ivory);
}

.ev-detail-sub {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--ivory-dim);
  font-style: italic;
}

.ev-route-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  background: rgba(201, 162, 39, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.ev-route-btn:hover {
  background: rgba(201, 162, 39, 0.35);
  color: var(--ivory);
  transform: translateY(-1px);
}

.ev-route-btn svg {
  width: 12px;
  height: 12px;
}

/* ── Experiential Dress Code Visual Component & Color Palette ── */
.ev-dresscode-wrap {
  text-align: center;
  padding: clamp(24px, 4vh, 44px) clamp(16px, 4vw, 32px);
  display: flex;
  justify-content: center;
}

.ev-dresscode-card {
  background: rgba(255, 248, 235, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 4px;
  padding: clamp(20px, 3.5vh, 32px) clamp(22px, 4vw, 44px);
  max-width: 580px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.8vh, 16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.ev-dresscode-label {
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.ev-dresscode-palette {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.5vw, 24px);
  margin: 4px 0;
  flex-wrap: wrap;
}

.ev-palette-swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ev-palette-swatch {
  width: clamp(28px, 4vw, 38px);
  height: clamp(28px, 4vw, 38px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 8px rgba(201, 162, 39, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ev-palette-swatch:hover {
  transform: scale(1.15);
  border-color: var(--gold-light);
}

.ev-palette-name {
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.1em;
  color: var(--ivory-dim);
  font-style: italic;
}

.ev-dresscode-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(20px, 2.8vw, 28px);
  color: var(--ivory);
  font-style: italic;
  line-height: 1.2;
}

.ev-dresscode-note {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--gold-light);
  opacity: 0.9;
  letter-spacing: 0.04em;
  max-width: 440px;
  line-height: 1.5;
}

.ev-next-zone {
  text-align: center;
  padding: clamp(48px, 8vh, 88px) clamp(16px, 4vw, 32px) clamp(64px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ev-next-label {
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.ev-next-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(24px, 4vw, 42px);
  color: var(--ivory);
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

.ev-next-title:hover {
  color: var(--gold-light);
  transform: translateX(6px);
}

.ev-return-btn {
  padding: 10px 24px;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.ev-return-btn:hover {
  background: rgba(201, 162, 39, 0.32);
  color: var(--ivory);
}
