/* ==========================================================================
   Gangashree & Sathish — Tamil Nadu Wedding Invitation
   Kanjeevaram Silk & Dravidian Temple Scroll-Driven Theme
   ========================================================================== */

:root {
  --maroon-deep: #3a0717;
  --maroon: #641028;
  --maroon-rich: #7e1535;
  --gold: #c9922c;
  --gold-bright: #f5d882;
  --gold-soft: #e7c268;
  --parchment: #f7edd9;
  --parchment-deep: #efe0c1;
  --ink: #3c0c1b;
  --ink-muted: #6b3847;
  --leaf-green: #1d4d32;
  --kumkum: #b81d33;

  --font-display: 'Cinzel', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-tamil: 'Noto Serif Tamil', 'Latha', serif;

  --radius-card: 20px;
  --shadow-gold: 0 18px 46px rgba(58, 7, 23, 0.16);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--maroon-deep);
}

body {
  font-family: var(--font-serif);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.ta {
  font-family: var(--font-tamil);
}

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

button,
a {
  font-family: inherit;
}

/* ==========================================================================
   Scroll Progress Ribbon & Navigation Controls
   ========================================================================== */

.scroll-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 90;
  background: rgba(58, 7, 23, 0.25);
  pointer-events: none;
}

.scroll-ribbon__fill {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), #fff2c2);
  box-shadow: 0 0 10px rgba(245, 216, 130, 0.65);
}

/* Desktop Chapter Rail */
.chapter-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: none;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .chapter-rail {
    display: flex;
  }
}

.rail-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  background: rgba(58, 7, 23, 0.45);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.rail-dot.is-active {
  background: var(--gold-bright);
  transform: scale(1.35);
  box-shadow: 0 0 12px rgba(245, 216, 130, 0.8);
}

.rail-dot__label {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(58, 7, 23, 0.88);
  border: 1px solid rgba(245, 216, 130, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rail-dot:hover .rail-dot__label,
.rail-dot:focus-visible .rail-dot__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Floating Music & Venue Controls */
.floating-controls {
  position: fixed;
  bottom: max(14px, env(safe-area-inset-bottom, 14px));
  right: 14px;
  z-index: 85;
  display: flex;
  gap: 8px;
}

.music-btn,
.quick-venue-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(245, 216, 130, 0.55);
  background: rgba(42, 5, 16, 0.9);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 768px) {
  .floating-controls {
    bottom: 20px;
    right: 22px;
  }
  .music-btn,
  .quick-venue-btn {
    padding: 10px 15px;
    font-size: 12px;
    gap: 8px;
  }
}

.music-btn:hover,
.quick-venue-btn:hover {
  transform: translateY(-2px);
  background: rgba(100, 16, 40, 0.95);
}

.music-btn__bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.music-btn__bars i {
  display: block;
  width: 2.5px;
  height: 6px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.music-btn.is-playing {
  border-color: var(--gold-bright);
  background: rgba(100, 16, 40, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 14px rgba(245, 216, 130, 0.32);
}

.music-btn.is-playing .music-btn__bars i:nth-child(1) {
  animation: eq 0.7s ease-in-out infinite alternate;
}
.music-btn.is-playing .music-btn__bars i:nth-child(2) {
  animation: eq 0.5s ease-in-out 0.15s infinite alternate;
}
.music-btn.is-playing .music-btn__bars i:nth-child(3) {
  animation: eq 0.65s ease-in-out 0.3s infinite alternate;
}

@keyframes eq {
  from { height: 4px; }
  to { height: 13px; }
}

.petal-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 60;
}

/* ==========================================================================
   Shared Surfaces & Ornate Temple Frames
   ========================================================================== */

.parchment-section {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 162, 67, 0.12), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(100, 16, 40, 0.08), transparent 55%),
    linear-gradient(180deg, var(--parchment) 0%, #f5e8cf 100%);
  padding: clamp(72px, 10vw, 124px) clamp(18px, 5vw, 48px);
}

.maroon-section {
  position: relative;
  background:
    radial-gradient(circle at 50% 25%, rgba(145, 25, 62, 0.78) 0%, rgba(74, 10, 30, 0.96) 65%, var(--maroon-deep) 100%);
  color: #fcefd4;
  padding: clamp(82px, 11vw, 136px) clamp(18px, 5vw, 48px);
  overflow: hidden;
}

.temple-frame {
  position: absolute;
  inset: clamp(10px, 2vw, 22px);
  border: 1.5px solid rgba(245, 216, 130, 0.45);
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
}

.temple-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(245, 216, 130, 0.32);
  border-radius: 6px;
}

.section-inner {
  position: relative;
  z-index: 3;
  max-width: 1140px;
  margin: 0 auto;
}

.section-kicker {
  font-size: clamp(16px, 2.8vw, 21px);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.16;
  letter-spacing: 0.04em;
  color: var(--maroon);
  margin-bottom: 16px;
}

.section-title--light {
  color: #fff3d2;
}

.ornament-divider {
  width: 190px;
  height: 14px;
  margin: 12px auto 24px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  clip-path: polygon(0 50%, 44% 38%, 50% 0, 56% 38%, 100% 50%, 56% 62%, 50% 100%, 44% 62%);
}

.ornament-divider--left {
  margin-left: 0;
}

/* ==========================================================================
   CHAPTER 1: PINNED SACRED OPENING & BANANA LEAF CURTAINS
   ========================================================================== */

.scene-opening {
  position: relative;
  height: 215svh;
  min-height: 1450px;
  background: var(--maroon-deep);
}

.opening-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vh, 92px) 20px 64px;
  background: radial-gradient(circle at 50% 42%, #8e173b 0%, #580b23 58%, #340514 100%);
  color: #fff3d5;
}

.opening-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sunbeam-halo {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(820px, 130vw);
  aspect-ratio: 1;
  transform: translate3d(-50%, -50%, 0) scale(var(--halo-scale, 0.92));
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 218, 134, 0.25) 0%, rgba(212, 162, 67, 0.08) 44%, transparent 72%);
  will-change: transform, opacity;
}

.silk-weave-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(45deg, #f7da86 0 1px, transparent 1px 16px),
    repeating-linear-gradient(-45deg, #f7da86 0 1px, transparent 1px 16px);
}

/* Mango Leaf Thoranam Garland */
.thoranam-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(66px, 11vw, 108px);
  z-index: 8;
  pointer-events: none;
  transform: translate3d(0, var(--thoranam-y, 0px), 0);
  will-change: transform;
}

.thoranam-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

/* Dravidian Temple Gopuram Rising Horizon */
.gopuram-horizon {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(960px, 118vw);
  z-index: 2;
  pointer-events: none;
  transform: translate3d(-50%, var(--gopuram-y, 44px), 0) scale(var(--gopuram-scale, 0.96));
  opacity: var(--gopuram-opacity, 0.55);
  will-change: transform, opacity;
}

.gopuram-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Center Sacred Typography */
.opening-center {
  position: relative;
  z-index: 6;
  text-align: center;
  max-width: 780px;
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(var(--hero-scale, 1));
  opacity: var(--hero-opacity, 1);
  will-change: transform, opacity;
}

.pillaiyar-suzhi {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
}

.pillaiyar-suzhi > .ta {
  font-size: clamp(34px, 5.5vw, 48px);
  line-height: 1;
  color: var(--gold-bright);
  text-shadow: 0 4px 18px rgba(245, 216, 130, 0.45);
}

.suzhi-sub {
  font-size: clamp(11px, 2vw, 14px);
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.tamil-heading {
  font-size: clamp(18px, 3.2vw, 25px);
  font-weight: 700;
  color: var(--gold-bright);
  margin-top: 6px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.8vw, 13px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 243, 213, 0.82);
  margin-top: 6px;
}

.lamps-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px auto 14px;
  max-width: 340px;
}

.lamp-svg {
  width: 30px;
  height: 40px;
  flex-shrink: 0;
}

.lamp-flame {
  transform-origin: 30px 22px;
  animation: flicker 1.6s ease-in-out infinite alternate;
}

@keyframes flicker {
  0% { transform: scale(1) rotate(-2deg); opacity: 0.9; }
  100% { transform: scale(1.12, 1.18) rotate(3deg); opacity: 1; }
}

.lotus-emblem {
  width: 46px;
  height: 32px;
  flex-shrink: 0;
}

.gold-rule {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.hero-names {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 7.6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0.08em;
  color: #fff6dc;
  text-shadow: 0 8px 28px rgba(24, 2, 9, 0.55);
}

.name-line {
  display: block;
}

.amp-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 4px auto;
  max-width: 240px;
}

.amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 4.5vw, 42px);
  color: var(--gold-bright);
}

.amp-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 216, 130, 0.8), transparent);
}

.tamil-names {
  font-size: clamp(19px, 3.6vw, 30px);
  color: var(--gold-bright);
  margin-top: 10px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-date-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(245, 216, 130, 0.5);
  background: rgba(34, 4, 14, 0.58);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: clamp(10.5px, 1.8vw, 13px);
  letter-spacing: 0.14em;
  color: #fff2ce;
}

.hero-date-pill .dot {
  color: var(--gold-bright);
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: clamp(68px, 9vh, 76px);
  left: 50%;
  transform: translate3d(-50%, var(--cue-y, 0px), 0);
  opacity: var(--cue-opacity, 1);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  color: var(--gold-bright);
  pointer-events: none;
}

@media (min-width: 768px) {
  .scroll-cue {
    bottom: clamp(22px, 4vh, 36px);
  }
}

.scroll-cue > .ta {
  font-size: 13px;
  color: rgba(255, 243, 213, 0.85);
}

.scroll-cue__en {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.25em;
}

.scroll-cue__arrow {
  font-size: 18px;
  animation: bob 1.7s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ==========================================================================
   CHAPTER 2: THE COUPLE PORTRAIT & KOLAM MANDALA
   ========================================================================== */

.couple-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

@media (min-width: 920px) {
  .couple-grid {
    grid-template-columns: 1.02fr 1fr;
  }
}

.couple-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.kolam-wheel {
  position: absolute;
  width: min(460px, 95vw);
  height: auto;
  transform: rotate(var(--kolam-rot, 0deg));
  will-change: transform;
  pointer-events: none;
}

.portrait-arch {
  position: relative;
  width: min(370px, 84vw);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-draw-svg {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  z-index: 3;
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 190px 190px 18px 18px;
  overflow: hidden;
  background: #f5ebd7;
  box-shadow: var(--shadow-gold);
  border: 2px solid rgba(201, 146, 44, 0.45);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 38px rgba(100, 16, 40, 0.14);
  pointer-events: none;
}

.couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Couple sits in lower 58% of the handmade watercolor illustration */
  object-position: 50% 88%;
  transform: scale(1.24);
  transform-origin: 50% 72%;
  mix-blend-mode: multiply;
}

.portrait-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--maroon);
  color: var(--gold-bright);
  border: 1.5px solid var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(58, 7, 23, 0.25);
}

.badge-heart {
  color: #f48fb1;
}

.couple-story {
  text-align: center;
}

@media (min-width: 920px) {
  .couple-story {
    text-align: left;
  }
  .couple-story .ornament-divider {
    margin-left: 0;
  }
}

.tamil-blessing {
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.75;
  color: var(--maroon);
  margin-bottom: 14px;
}

.editorial-copy {
  font-size: clamp(19px, 2.4vw, 23px);
  color: var(--ink-muted);
  margin-bottom: 26px;
}

.monogram-cards {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

@media (min-width: 560px) {
  .monogram-cards {
    flex-direction: row;
    align-items: center;
  }
}

.person-card {
  flex: 1;
  background: rgba(255, 251, 242, 0.85);
  border: 1px solid rgba(201, 146, 44, 0.45);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(60, 12, 27, 0.06);
}

.person-role {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 6px;
}

.person-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 24px);
  letter-spacing: 0.08em;
  color: var(--maroon);
}

.person-ta {
  font-size: 16px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.knot-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.thaali-knot-svg {
  width: 48px;
  height: 48px;
}

/* ==========================================================================
   CHAPTER 3: SUBHA MUHURTHAM DATE & LIVE COUNTDOWN
   ========================================================================== */

.floating-leaf-accent {
  position: absolute;
  width: clamp(110px, 18vw, 220px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.floating-leaf-accent--left {
  top: 10%;
  left: -2%;
  transform: translate3d(0, var(--par-left-y, 0px), 0) rotate(-14deg);
}

.floating-leaf-accent--right {
  bottom: 8%;
  right: -2%;
  transform: translate3d(0, var(--par-right-y, 0px), 0) rotate(12deg);
}

.muhurtham-wrap {
  text-align: center;
}

.date-monument {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
  margin: clamp(26px, 5vw, 44px) auto;
  padding: clamp(24px, 4vw, 38px) clamp(18px, 4vw, 36px);
  max-width: 880px;
  border-radius: var(--radius-card);
  background: rgba(34, 4, 14, 0.56);
  border: 1px solid rgba(245, 216, 130, 0.45);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

@media (min-width: 760px) {
  .date-monument {
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
  }
}

.date-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

@media (min-width: 760px) {
  .date-side {
    text-align: right;
  }
  .date-side--right {
    text-align: left;
  }
}

.date-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
}

.date-value {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.5vw, 25px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff6dc;
  white-space: nowrap;
}

.date-sub {
  font-size: 17px;
  color: rgba(255, 243, 213, 0.85);
}

.date-center {
  padding: 6px 24px;
  border-top: 1px solid rgba(245, 216, 130, 0.35);
  border-bottom: 1px solid rgba(245, 216, 130, 0.35);
  transform: scale(var(--date-scale, 1));
  will-change: transform;
}

@media (min-width: 760px) {
  .date-center {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid rgba(245, 216, 130, 0.4);
    border-right: 1px solid rgba(245, 216, 130, 0.4);
    padding: 0 36px;
  }
}

.date-ordinal {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 12vw, 118px);
  line-height: 1;
  background: linear-gradient(180deg, #fff5cf 0%, var(--gold-bright) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.date-ordinal .ord {
  font-size: 0.34em;
  vertical-align: super;
  margin-left: 3px;
}

.muhurtham-venue-line {
  font-size: clamp(18px, 2.6vw, 22px);
  color: rgba(255, 243, 213, 0.9);
  margin-bottom: 24px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(66px, 112px));
  justify-content: center;
  gap: clamp(10px, 2.4vw, 18px);
  margin: 0 auto 30px;
}

.cd-box {
  background: rgba(255, 246, 220, 0.08);
  border: 1px solid rgba(245, 216, 130, 0.42);
  border-radius: 14px;
  padding: clamp(12px, 2.2vw, 18px) 8px;
  backdrop-filter: blur(6px);
}

.cd-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4.5vw, 38px);
  line-height: 1.1;
  color: var(--gold-bright);
}

.cd-unit {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 243, 213, 0.78);
  margin-top: 4px;
}

/* ==========================================================================
   CHAPTER 4: VENUE & DIRECTIONS
   ========================================================================== */

.venue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

.venue-details {
  text-align: center;
}

.venue-details .ornament-divider--left {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 880px) {
  .venue-grid {
    grid-template-columns: 1.05fr 1fr;
  }
  .venue-details {
    text-align: left;
  }
  .venue-details .ornament-divider--left {
    margin-left: 0;
    margin-right: 0;
  }
}

.venue-card {
  background: rgba(255, 248, 234, 0.07);
  border: 1px solid rgba(245, 216, 130, 0.42);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px);
  backdrop-filter: blur(6px);
}

.venue-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 34px);
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}

.venue-tamil {
  font-size: 17px;
  color: rgba(255, 243, 213, 0.86);
  margin-top: 4px;
  margin-bottom: 16px;
}

.venue-address {
  font-style: normal;
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.55;
  color: #fff5da;
  margin-bottom: 22px;
}

.venue-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 216, 130, 0.28);
  border-bottom: 1px solid rgba(245, 216, 130, 0.28);
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .venue-meta {
    grid-template-columns: 1fr 1fr;
  }
}

.meta-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  margin-bottom: 2px;
}

.venue-meta strong {
  font-size: 18px;
  font-weight: 600;
  color: #fff6dc;
}

.venue-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.venue-actions {
  justify-content: center;
}

@media (min-width: 880px) {
  .venue-actions {
    justify-content: flex-start;
  }
}

.mandapam-card {
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(245, 216, 130, 0.45), rgba(201, 146, 44, 0.15));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.4);
}

.mandapam-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* ==========================================================================
   CHAPTER 6: BLESSINGS & FOOTER
   ========================================================================== */

.blessings-box {
  text-align: center;
  max-width: 720px;
}

.kolam-crest {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.blessings-copy {
  margin-bottom: 14px;
}

.blessing-count {
  margin-top: 18px;
  color: var(--maroon);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.tamil-footer {
  font-size: clamp(19px, 3vw, 24px);
  color: var(--maroon);
  margin-bottom: 28px;
}

.footer-meta {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 146, 44, 0.35);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.gold-btn,
.outline-gold-btn,
.maroon-btn,
.outline-maroon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.gold-btn {
  border: 1px solid var(--gold-bright);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--maroon-deep);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.outline-gold-btn {
  border: 1px solid rgba(245, 216, 130, 0.65);
  background: transparent;
  color: var(--gold-bright);
}

.maroon-btn {
  border: 1px solid var(--maroon);
  background: var(--maroon);
  color: var(--gold-bright);
  box-shadow: 0 10px 26px rgba(60, 12, 27, 0.22);
}

.outline-maroon-btn {
  border: 1.5px solid var(--maroon);
  background: transparent;
  color: var(--maroon);
}

.gold-btn:hover,
.outline-gold-btn:hover,
.maroon-btn:hover,
.outline-maroon-btn:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Scroll Reveal & SVG Draw Animations
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translate3d(-38px, 0, 0);
}

[data-reveal="right"] {
  transform: translate3d(38px, 0, 0);
}

[data-reveal="zoom"] {
  transform: scale(0.93) translate3d(0, 12px, 0);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-delay="1"] { transition-delay: 0.06s; }
[data-delay="2"] { transition-delay: 0.12s; }
[data-delay="3"] { transition-delay: 0.18s; }

/* Toast Notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(76px, calc(env(safe-area-inset-bottom, 16px) + 60px));
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%) translateY(16px);
  background: rgba(42, 5, 16, 0.96);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(11px, 2.8vw, 12.5px);
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.toast.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Reduced Motion Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scene-opening {
    height: auto;
    min-height: 100svh;
  }
  .opening-sticky {
    position: relative;
    height: auto;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue__arrow,
  .lamp-flame,
  .music-btn.is-playing .music-btn__bars i {
    animation: none;
  }
  .petal-canvas {
    display: none;
  }
}
