@font-face {
  font-family: "Cormorant Garamond";
  src: url("/public/fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/public/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ink-brown: #59402b;
  --antique-gold: #b78b52;
  --pale-gold: #f6e6c4;
  --ivory: #fff9e9;
  --sky-blue: #0068b7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: #29180e; }
body { overflow-x: clip; }
button { font: inherit; }
[hidden] { display: none !important; }

.invitation { min-height: 100svh; }
.scene { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden; }
.art { position: absolute; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* The portrait reference keeps its own crop; a separate wide frame carries
   the same layered gate across desktop viewports. */
.scene--gate {
  background: radial-gradient(ellipse at 50% 36%, #81613d 0, #4f2f1c 45%, #21120c 100%);
}
.gate-portal {
  position: relative;
  width: min(100%, 760px);
  min-height: 100svh;
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
  background: #dec598;
  box-shadow: 0 0 0 1px rgb(242 198 123 / 25%), 0 0 90px rgb(7 3 1 / 55%);
}
.gate-portal::before,
.gate-portal::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 17%;
  z-index: 2;
  pointer-events: none;
}
.gate-portal::before { left: 0; background: linear-gradient(90deg, rgb(66 29 13 / 45%), transparent); }
.gate-portal::after { right: 0; background: linear-gradient(270deg, rgb(66 29 13 / 45%), transparent); }
.gate-sky { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; z-index: 0; }
.gate-sky-haze {
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(255 249 227 / 44%) 3%, rgb(255 250 231 / 34%) 33%, transparent 55%, rgb(92 47 17 / 18%) 100%);
}
.gate-temple {
  z-index: 2;
  left: 50%;
  bottom: 10%;
  width: clamp(245px, 43%, 345px);
  height: auto;
  transform: translateX(-50%);
  filter: saturate(.72) brightness(1.13) drop-shadow(0 10px 15px rgb(74 45 21 / 28%));
}
.gate-steps {
  z-index: 3;
  left: 50%;
  bottom: -1%;
  width: max(119%, 580px);
  max-width: 1300px;
  height: auto;
  transform: translateX(-50%);
}
.gate-threshold {
  z-index: 4;
  top: -1%;
  left: 50%;
  width: max(100%, 52svh);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 18px rgb(44 22 9 / 34%));
}
.gate-threshold--left { clip-path: inset(0 50% 0 0); }
.gate-threshold--right { clip-path: inset(0 0 0 50%); }
.gate-garland { z-index: 5; top: 0; width: clamp(140px, 20%, 190px); height: auto; transform-origin: 50% 1%; }
.gate-garland--left { left: calc(11% - 75px); }
.gate-garland--right { right: calc(11% - 75px); }
.gate-bell { z-index: 6; top: -1%; width: clamp(88px, 15%, 120px); height: auto; transform-origin: 50% 1%; }
.gate-bell--left { left: 16%; }
.gate-bell--right { right: 16%; width: clamp(75px, 12%, 108px); top: 2%; }
.gate-foreground { z-index: 7; width: clamp(190px, 44%, 320px); height: auto; left: -4%; bottom: -2%; filter: drop-shadow(8px 8px 13px rgb(58 38 15 / 25%)); }
.gate-petal { z-index: 8; width: 13px; height: auto; }
.gate-petal--one { top: 11%; left: 43%; transform: rotate(22deg); }
.gate-petal--two { top: 49%; right: 11%; width: 16px; transform: rotate(-16deg); }
.gate-petal--three { top: 62%; left: 17%; width: 11px; transform: rotate(75deg); }

.gate-copy {
  position: absolute;
  z-index: 9;
  top: clamp(128px, 16.5svh, 178px);
  left: 50%;
  width: min(70%, 380px);
  transform: translateX(-50%);
  color: var(--ink-brown);
  text-align: center;
  text-shadow: 0 1px 12px rgb(255 248 221 / 95%);
}
.sacred-mark { display: block; width: clamp(31px, 8vw, 43px); height: auto; margin: 0 auto 13px; filter: drop-shadow(0 1px 1px rgb(110 70 29 / 40%)); }
.gate-copy h1 { margin: 0; font-size: clamp(2rem, 7.1vw, 3.2rem); font-weight: 500; line-height: .96; letter-spacing: .06em; text-transform: uppercase; }
.gate-copy h1 span { display: block; }
.gate-copy h1 .gate-copy__blessing { margin-top: .3em; font-size: .68em; letter-spacing: .15em; white-space: nowrap; }
.ornament-rule { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 17px auto 12px; width: min(70%, 220px); height: 10px; }
.ornament-rule::before, .ornament-rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--antique-gold)); }
.ornament-rule::after { transform: rotate(180deg); }
.ornament-rule span { width: 6px; height: 6px; border: 1px solid var(--antique-gold); transform: rotate(45deg); }
.gate-copy p { margin: 0; font-size: clamp(.83rem, 2.6vw, 1rem); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }

.open-plaque {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 9%;
  width: min(80%, 390px);
  aspect-ratio: 760 / 350;
  padding: 8% 8% 5%;
  border: 0;
  background: url("/public/art/vector/opening-plaque.svg") center / 100% 100% no-repeat;
  color: #69472e;
  cursor: pointer;
  transform: translateX(-50%);
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgb(255 255 246 / 80%);
}
.open-plaque__main, .open-plaque__sub { display: block; }
.open-plaque__main { font-size: clamp(1.25rem, 4.1vw, 1.8rem); font-weight: 500; letter-spacing: .14em; line-height: 1; }
.open-plaque__sub { margin-top: .25em; font-size: clamp(.77rem, 2.2vw, 1.05rem); letter-spacing: .26em; }
.open-plaque:focus-visible { outline: 3px solid #fff7de; outline-offset: 2px; filter: drop-shadow(0 0 9px #6d3f17); }

.scene--hero { min-height: 185svh; overflow: clip; background: var(--sky-blue); color: var(--ivory); }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.hero-sky { z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-cloud { z-index: 1; width: min(57%, 650px); opacity: .7; }
.hero-cloud--left { top: 45%; left: -13%; }
.hero-cloud--right { top: 61%; right: -16%; width: min(45%, 470px); opacity: .58; }
.hero-gopuram { z-index: 2; left: 50%; right: auto; bottom: -15%; width: clamp(220px, 48%, 390px); height: auto; filter: brightness(1.12) drop-shadow(0 6px 15px rgb(44 67 44 / 24%)); }
.hero-waterline { z-index: 3; left: 0; right: 0; bottom: 0; height: 3.5%; background: linear-gradient(180deg, transparent, rgb(149 211 220 / 29%) 35%, rgb(27 137 168 / 48%) 100%); }
.hero-canopy { z-index: 4; top: -2%; left: -2%; width: min(85%, 650px); height: auto; filter: drop-shadow(5px 10px 10px rgb(15 77 61 / 18%)); transform-origin: 0 0; }
.hero-cornice { z-index: 5; top: -2%; right: -1%; width: min(64%, 490px); height: auto; filter: drop-shadow(-8px 8px 10px rgb(11 67 95 / 17%)); }
.hero-bell { z-index: 6; top: 2%; right: 8%; width: clamp(74px, 14%, 110px); height: auto; transform-origin: 50% 1%; }
.hero-bird { z-index: 2; width: 25px; height: auto; opacity: .8; }
.hero-bird--one { top: 58%; right: 13%; }
.hero-bird--two { top: 62%; right: 8%; width: 19px; }
.hero-bird--three { top: 58%; left: 12%; width: 17px; }
.hero-petal { z-index: 5; width: 13px; height: auto; opacity: .85; }
.hero-petal--one { top: 27%; left: 12%; transform: rotate(36deg); }
.hero-petal--two { top: 36%; right: 18%; width: 10px; transform: rotate(-15deg); }

.hero-copy {
  position: absolute;
  z-index: 7;
  top: 39%;
  left: 50%;
  width: min(74%, 520px);
  translate: 0 var(--hero-copy-y, 0px);
  opacity: var(--hero-copy-opacity, 1);
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 1px 4px rgb(2 46 104 / 85%), 0 0 15px rgb(2 46 104 / 60%);
}
.hero-copy__eyebrow { margin: 0 0 12px; font-size: clamp(.7rem, 2.25vw, .9rem); letter-spacing: .17em; line-height: 1.35; text-transform: uppercase; }
.hero-copy h2 { margin: 0; font-size: clamp(3rem, 10vw, 5.8rem); font-weight: 400; letter-spacing: .045em; line-height: .8; text-transform: uppercase; }
.hero-copy h2 > span { display: block; }
.hero-copy h2 .hero-copy__and { margin: .28em auto .18em; font-size: .31em; font-style: italic; font-weight: 400; line-height: 1; letter-spacing: .03em; text-transform: none; }
.hero-copy h2:focus { outline: none; }
.hero-copy h2:focus-visible { outline: 2px solid #fff7de; outline-offset: 8px; border-radius: 3px; }
.hero-copy__divider { display: flex; align-items: center; gap: 12px; width: min(62%, 210px); margin: 20px auto 12px; color: #f1e4c0; font-size: 1.25rem; }
.hero-copy__divider::before, .hero-copy__divider::after { content: ""; flex: 1; height: 1px; background: rgb(255 246 222 / 75%); }
.hero-copy__line { margin: 0; font-size: clamp(.83rem, 2.6vw, 1.03rem); font-weight: 500; line-height: 1.3; letter-spacing: .25em; text-transform: uppercase; }

/* The family invitation shares the Muhurtham's burgundy, gold and jasmine
   architecture. The live lettering remains independent of the moving frame. */
.scene--family {
  min-height: 0;
  background: radial-gradient(ellipse at 50% 48%, #9a584b 0, #682f2f 58%, #3c1b20 100%);
}
.scene--family::before,
.scene--family::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: max(0px, calc((100% - 760px) / 2));
  opacity: .54;
  background: repeating-linear-gradient(180deg, transparent 0 70px, rgb(232 180 105 / 26%) 71px 73px, transparent 74px 142px),
    linear-gradient(90deg, rgb(38 12 17 / 65%), transparent);
  pointer-events: none;
}
.scene--family::before { left: 0; }
.scene--family::after { right: 0; transform: scaleX(-1); }
.family-stage {
  position: relative;
  width: min(100%, 760px);
  min-height: 0;
  aspect-ratio: 941 / 1672;
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 65px rgb(28 10 12 / 44%);
}
.family-paper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, #fffefa 0, #fff9ec 49%, #f5e8d4 100%),
    #fff9ec;
}
.family-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgb(151 113 70 / 9%) 3px 4px);
}
.family-arch {
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  translate: 0 var(--family-frame-y, 0px);
  filter: drop-shadow(0 7px 11px rgb(56 32 19 / 14%));
}
.family-copy {
  position: relative;
  z-index: 4;
  width: 58%;
  margin: 0 auto;
  padding-top: 35%;
  color: #66523f;
  text-align: center;
  text-shadow: 0 1px 0 rgb(255 255 255 / 65%);
}
.family-mark { display: block; width: 33px; height: auto; margin: 0 auto 28px; }
.family-copy p { margin-inline: auto; }
.family-copy__opening {
  max-width: 330px;
  margin-block: 0 2px;
  font-size: 1.19rem;
  line-height: 1.28;
}
.family-copy h2 {
  margin: 0;
  color: #735f4b;
  font-family: "Apple Chancery", "URW Chancery L", "Brush Script MT", cursive;
  font-size: clamp(4rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1.05;
}
.family-copy__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(175px, 68%);
  margin: 14px auto 22px;
  color: #b6905d;
  font-size: 1.1rem;
}
.family-copy__divider::before,
.family-copy__divider::after { content: ""; flex: 1; height: 1px; background: #cfb482; }
.family-copy__hosts { margin-block: 0 10px; font-size: 1.34rem; font-weight: 500; }
.family-copy__request { max-width: 365px; margin-block: 0 33px; font-size: 1.22rem; line-height: 1.32; }
.family-names { display: grid; justify-items: center; color: #5c4a3a; }
.family-names > span:not(.family-names__ampersand) {
  display: block;
  max-width: 100%;
  font-size: clamp(3.6rem, 5.5vw, 4.6rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .09em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.family-names__ampersand {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(190px, 76%);
  margin: 13px auto;
  color: #b49667;
  font-size: 2.3rem;
  line-height: 1;
}
.family-names__ampersand::before,
.family-names__ampersand::after { content: ""; flex: 1; height: 1px; background: #cbb180; }
.family-copy__closing {
  max-width: 300px;
  margin-block: 36px 0;
  font-size: 1.13rem;
  line-height: 1.28;
  letter-spacing: .015em;
}
body[data-scene="open"] .scene--family:not(.is-visible) .family-copy { opacity: .25; }
.scene--family.is-visible .family-copy { animation: family-copy-arrive 850ms var(--ease-out) both; }
@keyframes family-copy-arrive {
  from { opacity: .25; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* The vow exchange is intentionally wordless. The couple rises into place;
   the courtyard and decorative foreground keep separate, gentler depths. */
.scene--vows { min-height: 145svh; background: #c99b57; overflow: clip; }
.vows-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.vows-backdrop {
  z-index: 0;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center center;
  translate: 0 var(--vows-bg-y, 0px);
}
.vows-stage::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 100px rgb(81 48 21 / 18%);
}
.vows-couple {
  z-index: 2;
  height: min(80svh, 850px);
  width: auto;
  right: 11%;
  bottom: -13%;
  translate: 0 var(--vows-couple-y, 0px);
  filter: drop-shadow(0 16px 22px rgb(58 27 8 / 32%));
}
.vows-foreground {
  z-index: 3;
  left: -3%;
  bottom: -3%;
  width: min(33vw, 500px);
  height: auto;
  translate: 0 var(--vows-foreground-y, 0px);
  filter: drop-shadow(12px 10px 12px rgb(39 36 13 / 27%));
}
.vows-blossoms {
  z-index: 3;
  top: -15%;
  left: -8%;
  width: min(29vw, 460px);
  height: auto;
  translate: 0 var(--vows-blossoms-y, 0px);
  opacity: .88;
}

/* A quiet reading field after the image-led vows scene. The carved contour
   and temple panorama carry the devotional world without moving the text. */
.scene--story {
  min-height: 0;
  padding: 42px clamp(12px, 4vw, 70px) 0;
  background: radial-gradient(ellipse at 50% 35%, #9c4150 0, #6e2434 59%, #4b1a27 100%);
}
.scene--story::after {
  content: "✧";
  display: grid;
  place-items: center;
  height: 76px;
  color: #d9ac6b;
  font-size: 1.5rem;
  line-height: 1;
}
.story-panel {
  position: relative;
  width: min(100%, 1120px);
  min-height: 1300px;
  margin-inline: auto;
  overflow: hidden;
  border: 4px solid #d8aa67;
  border-radius: 30% 30% 0 0 / 7% 7% 0 0;
  background: radial-gradient(ellipse at 50% 28%, #fffefa 0, #fff9eb 55%, #efddbd 100%);
  box-shadow: 0 0 0 8px rgb(96 39 37 / 78%), 0 0 80px rgb(34 10 13 / 35%);
}
.story-panel::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 12px;
  border: 1px solid rgb(202 157 86 / 82%);
  border-radius: inherit;
  pointer-events: none;
}
.story-copy {
  position: relative;
  z-index: 4;
  width: min(70%, 690px);
  margin: 0 auto;
  padding-top: clamp(150px, 15vw, 190px);
  text-align: center;
  color: #66503a;
  text-shadow: 0 1px 0 rgb(255 255 255 / 73%);
}
.story-copy h2 {
  margin: 0;
  font-family: "Apple Chancery", "URW Chancery L", "Brush Script MT", cursive;
  font-size: clamp(4rem, 6.7vw, 6.3rem);
  font-weight: 400;
  line-height: 1;
}
.story-body { margin: 25px auto 0; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.38; }
.story-ornament { display: flex; align-items: center; gap: 14px; width: min(220px, 55%); margin: 20px auto 0; color: #b9955f; }
.story-ornament::before, .story-ornament::after { content: ""; height: 1px; flex: 1; background: #c8aa7e; }
.story-photo {
  width: 130px;
  height: 146px;
  margin: 24px auto 0;
  padding: 5px;
  overflow: hidden;
  border: 1px solid #b58c55;
  border-radius: 48% 48% 6px 6px / 38% 38% 6px 6px;
  background: #eadac1;
  box-shadow: 0 5px 16px rgb(102 65 32 / 13%);
}
.story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: inherit; }
.story-names { display: flex; justify-content: center; align-items: baseline; gap: .5em; margin: 14px 0 0; color: #7b4b41; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: .08em; text-transform: uppercase; }
.story-names span:nth-child(2) { color: #b58c55; font-size: .8em; }
.story-ornament--lower { margin-top: 14px; }
.story-sentiment { margin: 12px auto 0; font-size: clamp(.9rem, 1.25vw, 1.1rem); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.story-sentiment span { padding-inline: .35em; font-size: 1.5em; vertical-align: -.04em; }
.story-panorama { z-index: 2; left: 0; bottom: -18px; width: 100%; height: auto; translate: 0 var(--story-panorama-y, 0px); }

/* Each illustrated event fills and pins to the viewport. The next event paints
   over it, and the guide follows immediately after the final chapter. */
.scene--celebrations { min-height: 0; overflow: visible; background: #4f1727; }
.celebrations-heading {
  position: relative;
  z-index: 1;
  min-height: 320px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 48px 20px;
  border-top: 8px solid #a7704e;
  border-bottom: 2px solid #ddbb7d;
  background: radial-gradient(ellipse at 50% 25%, #8b3844 0, #5b1c2c 66%, #411523 100%);
  color: #fff5df;
  text-align: center;
}
.celebrations-heading::before,
.celebrations-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, #be965e 0 5px, #6f3a33 5px 8px, #d5b47c 8px 10px, #6f3a33 10px 13px);
  opacity: .8;
}
.celebrations-heading::before { top: 0; }
.celebrations-heading::after { bottom: 0; }
.celebrations-heading img { width: 36px; height: auto; margin-bottom: 12px; }
.celebrations-heading p { margin: 0; color: #e7c391; font-size: .9rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.celebrations-heading h2 { margin: 8px 0 4px; font-size: clamp(3.3rem, 5.4vw, 6.2rem); font-weight: 400; line-height: .96; letter-spacing: .035em; }
.celebrations-heading > span { display: flex; align-items: center; gap: 16px; width: 180px; margin-top: 13px; color: #ddb777; }
.celebrations-heading > span::before,
.celebrations-heading > span::after { content: ""; flex: 1; height: 1px; background: #b98f5c; }
.celebration-chapter {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 3px solid #d4a965;
  background: #593927;
}
.celebration-chapter:nth-child(1) { z-index: 1; }
.celebration-chapter:nth-child(2) { z-index: 2; }
.celebration-chapter:nth-child(3) { z-index: 3; }
.celebration-chapter:nth-child(4) { z-index: 4; }
.celebration-chapter:nth-child(5) { z-index: 5; }
.celebration-chapter__art {
  z-index: 0;
  inset: -24px 0;
  width: 100%;
  height: calc(100% + 48px);
  object-fit: cover;
  object-position: center;
  translate: 0 var(--celebration-art-y, 0px);
}
.celebration-chapter::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.celebration-chapter--mehndi::before { background: linear-gradient(90deg, transparent 35%, rgb(255 249 233 / 11%) 57%, rgb(255 248 231 / 72%) 100%); }
.celebration-chapter--haldi::before { background: linear-gradient(90deg, rgb(255 249 224 / 76%) 0, rgb(255 249 224 / 14%) 42%, transparent 68%); }
.celebration-chapter--sangeet::before { background: linear-gradient(90deg, transparent 34%, rgb(8 18 41 / 17%) 57%, rgb(9 20 44 / 68%) 100%); }
.celebration-chapter--muhurtham::before { background: linear-gradient(90deg, rgb(255 249 228 / 86%) 0, rgb(255 249 228 / 36%) 42%, transparent 68%); }
.celebration-chapter--reception::before { background: linear-gradient(90deg, rgb(51 16 30 / 58%) 0, rgb(51 16 30 / 8%) 45%, transparent 70%); }
.celebration-chapter__copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: min(36%, 555px);
  transform: translateY(-50%);
}
.celebration-chapter--right .celebration-chapter__copy { right: clamp(38px, 8vw, 160px); text-align: right; }
.celebration-chapter--left .celebration-chapter__copy { left: clamp(38px, 8vw, 160px); text-align: left; }
.celebration-chapter--mehndi,
.celebration-chapter--haldi,
.celebration-chapter--muhurtham { color: #563723; }
.celebration-chapter--sangeet,
.celebration-chapter--reception { color: #fff6e7; }
.celebration-chapter__index { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: .96rem; letter-spacing: .26em; }
.celebration-chapter--right .celebration-chapter__index { justify-content: flex-end; }
.celebration-chapter__index span { color: #b0834e; }
.celebration-chapter h3 { margin: 0; font-size: clamp(5rem, 7.8vw, 9.5rem); font-weight: 400; line-height: .9; letter-spacing: .025em; text-shadow: 0 2px 16px rgb(48 25 12 / 12%); }
.celebration-chapter--muhurtham h3 { font-size: clamp(4rem, 6.5vw, 8rem); }
.celebration-chapter__date { margin: 18px 0 0; font-size: clamp(1.13rem, 1.45vw, 1.55rem); font-weight: 500; letter-spacing: .1em; line-height: 1.12; text-transform: uppercase; }
.celebration-chapter__date::before { content: ""; display: block; width: 90px; height: 1px; margin: 0 0 13px; background: currentColor; opacity: .6; }
.celebration-chapter--right .celebration-chapter__date::before { margin-left: auto; }
.celebration-chapter__copy > p:last-child { max-width: 410px; margin: 16px 0 0; font-size: clamp(1.45rem, 1.8vw, 2rem); line-height: 1.16; text-wrap: balance; }
.celebration-chapter--right .celebration-chapter__copy > p:last-child { margin-left: auto; }
.scene--celebrations.is-enhanced .celebration-chapter:not(.is-visible) .celebration-chapter__copy { opacity: 0; translate: 0 24px; }
.celebration-chapter__copy { transition: opacity 700ms ease, translate 800ms var(--ease-out); }
/* A continuous ivory programme follows the five illustrated scenes. The
   dates come from the same local demo records used by their chapter captions. */
.scene--event-guide {
  min-height: 0;
  padding: 0 clamp(12px, 3vw, 56px) 0;
  background: #fff9eb;
  border-bottom: 14px solid #713044;
}
.event-guide {
  position: relative;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 0 clamp(18px, 4vw, 66px) 68px;
  border-left: 1px solid #d6b57c;
  border-right: 1px solid #d6b57c;
  color: #5c4334;
  background: linear-gradient(90deg, rgb(234 214 176 / 14%), transparent 5%, transparent 95%, rgb(234 214 176 / 14%));
}
.event-guide__heading { max-width: 750px; margin: 0 auto; padding: clamp(74px, 8vw, 115px) 0 68px; text-align: center; }
.event-guide__heading img { display: block; width: 34px; margin: 0 auto 17px; }
.event-guide__heading p:first-of-type { margin: 0; color: #936a4b; font-size: .88rem; letter-spacing: .24em; text-transform: uppercase; }
.event-guide__heading h2 { margin: 10px 0 0; color: #643340; font-size: clamp(3.5rem, 5.2vw, 6rem); font-weight: 400; line-height: .95; }
.event-guide__ornament { display: flex; align-items: center; gap: 14px; width: 210px; margin: 20px auto 16px; color: #ae7e49; }
.event-guide__ornament::before,
.event-guide__ornament::after { content: ""; flex: 1; height: 1px; background: #c7a674; }
.event-guide__heading p:last-child { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.event-guide__entry {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 235px;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: 340px;
  padding: 37px 0;
  border-top: 1px solid #c9a879;
}
.event-guide__entry:last-child { border-bottom: 1px solid #c9a879; }
.event-guide__entry--muhurtham { background: linear-gradient(90deg, rgb(240 220 182 / 28%), transparent 75%); }
.event-guide__entry--muhurtham .event-guide__date,
.event-guide__entry--muhurtham .event-guide__body h3 { color: #783040; }
.event-guide__date { display: flex; flex-direction: column; align-items: flex-start; align-self: start; padding-top: 14px; color: #8b4a49; font-style: normal; line-height: 1; }
.event-guide__date strong { font-size: clamp(5rem, 6.3vw, 7.5rem); font-weight: 400; line-height: .76; }
.event-guide__date span { margin-top: 17px; font-size: 1.1rem; font-weight: 500; line-height: 1.05; }
.event-guide__date small { margin-top: 9px; color: #987558; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.event-guide__number { margin: 0; color: #a58155; font-size: .78rem; letter-spacing: .24em; }
.event-guide__body h3 { margin: 4px 0 0; color: #6d3340; font-size: clamp(3.4rem, 4vw, 5rem); font-weight: 400; line-height: .95; }
.event-guide__note { max-width: 620px; margin: 10px 0 20px; font-size: 1.36rem; line-height: 1.15; }
.event-guide__facts { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1.2fr); gap: 24px; margin: 0; padding-top: 18px; border-top: 1px solid #dec9a6; }
.event-guide__facts div { min-width: 0; }
.event-guide__facts dt { color: #9c714e; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.event-guide__facts dd { display: flex; flex-direction: column; gap: 3px; margin: 5px 0 0; font-size: 1.18rem; line-height: 1.12; }
.event-guide__facts dd strong { font-weight: 500; }
.event-guide__facts dd span { color: #796b5a; font-size: 1.02rem; }
.event-guide__art { display: block; width: 100%; height: 252px; border: 8px solid #fff4df; border-radius: 47% 47% 3px 3px / 20% 20% 3px 3px; outline: 1px solid #b88e58; object-fit: cover; object-position: center; box-shadow: 0 8px 25px rgb(86 49 29 / 11%); }
.event-guide__closing { margin: 54px auto 0; color: #824a46; font-size: 1.45rem; text-align: center; }

/* Hold a single temple-tank view through a longer scroll beat. Portrait art
   preserves the tower while the couple's names sit on the water. */
.scene--water-panorama {
  height: 170svh;
  min-height: 0;
  overflow: clip;
  background: #3d5a69;
  border-top: 5px solid #bd955e;
}
.water-panorama__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}
.water-panorama__picture,
.water-panorama__picture img { display: block; width: 100%; height: 100%; }
.water-panorama__picture img { object-fit: cover; object-position: center 50%; }
.water-panorama__names { position: absolute; z-index: 2; right: 0; bottom: clamp(52px, 10svh, 130px); left: 0; width: min(92%, 900px); margin-inline: auto; padding: 20px 18px 17px; color: #fff8e9; text-align: center; text-shadow: 0 2px 11px rgb(21 28 30 / 75%); background: radial-gradient(ellipse, rgb(20 36 43 / 44%), transparent 72%); }
.water-panorama__names p { margin: 0 0 3px; font-size: clamp(1rem, 1.6vw, 1.4rem); font-style: italic; }
.water-panorama__names h2 { margin: 0; font-size: clamp(3.4rem, 5.4vw, 6rem); font-weight: 400; line-height: 1; letter-spacing: .045em; white-space: nowrap; }
.water-panorama__names h2 span:nth-child(2) { color: #f4d8a2; font-size: .65em; font-style: italic; }
.water-panorama__names > div { margin-top: 7px; color: #f5d8a2; font-size: 1.35rem; }

/* Contemporary calendar utility set inside the invitation's paper, maroon and
   fine gold rules. Visible sample facts share the Muhurtham preview record. */
.scene--calendar {
  min-height: 0;
  padding: clamp(34px, 6vw, 90px) clamp(12px, 4vw, 72px) clamp(30px, 3.5vw, 55px);
  background: radial-gradient(ellipse at 50% 25%, #87404a 0, #5b202f 70%, #3e1724 100%);
}
.calendar-shell {
  position: relative;
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: clamp(42px, 6vw, 86px);
  border: 3px solid #d2ab70;
  outline: 1px solid rgb(219 178 112 / 75%);
  outline-offset: -15px;
  background: radial-gradient(ellipse at 50% 32%, #fffdf8 0, #f9f0df 100%);
  color: #614632;
  text-align: center;
  box-shadow: 0 18px 60px rgb(36 12 17 / 31%);
}
.calendar-mark { display: block; width: 33px; height: auto; margin: 0 auto 22px; }
.calendar-eyebrow { margin: 0; color: #956c49; font-size: .88rem; letter-spacing: .23em; text-transform: uppercase; }
.calendar-shell h2 { margin: 8px 0 0; font-size: clamp(3.3rem, 5.3vw, 5.4rem); font-weight: 400; line-height: 1; }
.calendar-intro { max-width: 520px; margin: 15px auto 0; font-size: 1.25rem; line-height: 1.3; }
.calendar-title-rule { display: flex; align-items: center; gap: 16px; width: min(250px, 60%); margin: 25px auto 33px; color: #b08a56; font-size: 1.1rem; }
.calendar-title-rule::before, .calendar-title-rule::after { content: ""; flex: 1; height: 1px; background: #c8a66d; }
.calendar-layout { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid #d6bb91; text-align: left; }
.calendar-card { display: flex; flex-direction: column; min-height: 440px; padding: 34px; border-right: 1px solid #d6bb91; background: #fffdf8; }
.calendar-card__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 37px; margin-bottom: 28px; }
.calendar-card__heading span { color: #a07b58; font-size: .77rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.calendar-card__heading strong { color: #673344; font-size: 1.75rem; font-weight: 500; line-height: 1; white-space: nowrap; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.calendar-weekdays { gap: 3px; padding-bottom: 11px; border-bottom: 1px solid #e2d3bc; color: #9d7d5e; font-size: .73rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.calendar-days { gap: 3px; padding-top: 11px; }
.calendar-days span { display: grid; place-items: center; width: min(100%, 40px); min-height: 38px; margin-inline: auto; font-size: 1.12rem; }
.calendar-days .has-event-date { border-radius: 50%; background: #f2e4cc; color: #753847; box-shadow: inset 0 0 0 1px #c7a16d; }
.calendar-days .is-wedding-day { border-radius: 50%; background: #732b3b; color: #fff8e9; box-shadow: 0 0 0 3px #e6cfa6; }
.calendar-card__events { margin-top: auto; padding-top: 18px; border-top: 1px solid #e5d2b2; }
.calendar-card__events > p { margin: 0 0 11px; color: #a07b58; font-size: .72rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; }
.calendar-card__event-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calendar-card__event { display: flex; align-items: flex-start; gap: 8px; min-width: 0; color: #694f42; font-size: .99rem; line-height: 1.05; }
.calendar-card__event time { display: grid; flex: 0 0 25px; place-items: center; height: 25px; border: 1px solid #c7a16d; border-radius: 50%; background: #f2e4cc; color: #753847; font-size: .9rem; }
.calendar-card__event--ceremony time { border-color: #732b3b; background: #732b3b; color: #fff8e9; }
.calendar-card__event span { padding-top: 4px; }
.calendar-details { display: flex; flex-direction: column; gap: 17px; padding: 34px 36px; }
.calendar-details__heading { padding-bottom: 14px; border-bottom: 1px solid #e0ceb2; }
.calendar-details__heading > span { color: #9a7152; font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.calendar-details__heading h3 { margin: 3px 0 0; color: #713244; font-size: 2.4rem; font-weight: 400; line-height: 1; }
.calendar-details__fact { display: grid; gap: 5px; padding-bottom: 17px; border-bottom: 1px solid #e0ceb2; }
.calendar-details__label { color: #987249; font-size: .76rem; font-weight: 500; letter-spacing: .21em; text-transform: uppercase; }
.calendar-details strong { font-size: 1.44rem; font-weight: 500; line-height: 1.15; }
.calendar-details__fact > span:last-child { font-size: 1.12rem; line-height: 1.2; }
.calendar-details__actions { display: grid; gap: 10px; margin-top: auto; }
.calendar-action { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 50px; padding: 11px 16px; border: 1px solid #732b3b; background: #732b3b; color: #fff9e8; font-size: 1.08rem; text-align: left; text-decoration: none; cursor: pointer; }
.calendar-action span { font-size: 1.35rem; line-height: 1; }
.calendar-action--secondary { background: transparent; color: #732b3b; }
.calendar-action:hover { background: #632232; }
.calendar-action--secondary:hover { background: #f6e9da; }
.calendar-action:focus-visible { outline: 3px solid #b58c55; outline-offset: 3px; }
.calendar-footer-line { margin: 27px 0 0; color: #865d45; font-size: 1.25rem; }

/* A pale ornamental rule separates the two maroon sections. The closing
   frame then ends with a real burgundy sill above its gold lower outline. */
.closing-separator { display: flex; align-items: center; justify-content: center; gap: 20px; height: 76px; border-top: 3px solid #bd955e; border-bottom: 3px solid #bd955e; background: #f4e6cc; color: #a97b48; box-shadow: inset 0 9px 0 rgb(255 250 239 / 75%), inset 0 -9px 0 rgb(255 250 239 / 75%); }
.closing-separator::before, .closing-separator::after { content: ""; width: min(23vw, 255px); height: 1px; background: #c29a65; }
.closing-separator span { font-size: 1.5rem; line-height: 1; }
.scene--closing { min-height: 0; padding: 40px clamp(12px, 4vw, 70px) 20px; background: #571a2b; }
.closing-panel {
  position: relative;
  width: min(100%, 1100px);
  min-height: 1170px;
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
  border: 4px solid #d6ad72;
  border-bottom: 4px solid #d6ad72;
  border-radius: 34% 34% 0 0 / 7% 7% 0 0;
  background: radial-gradient(ellipse at 50% 32%, #fffefa 0, #fff8e9 64%, #ecd8b7 100%);
  box-shadow: 0 0 0 9px rgb(99 35 42 / 84%), 0 0 70px rgb(30 10 15 / 35%);
}
.closing-panel::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 12px 12px 0;
  border: 1px solid #d4ab71;
  border-bottom: 0;
  border-radius: inherit;
  pointer-events: none;
}
.closing-garland { z-index: 3; top: -15px; width: clamp(80px, 10%, 110px); height: auto; transform-origin: 50% 0; }
.closing-garland--left { left: 6%; animation: garland-sway-left 5.6s ease-in-out -1s infinite alternate; }
.closing-garland--right { right: 6%; animation: garland-sway-right 5.9s ease-in-out -2s infinite alternate; }
.closing-bell { z-index: 3; top: 0; width: clamp(55px, 8%, 85px); height: auto; transform-origin: 50% 0; }
.closing-bell--left { left: 18%; animation: bell-sway-left 4.5s ease-in-out -1.5s infinite alternate; }
.closing-bell--right { right: 18%; animation: bell-sway-right 4.7s ease-in-out -.7s infinite alternate; }
.closing-copy { position: relative; z-index: 4; width: min(61%, 650px); margin: 0 auto; padding-top: 154px; color: #624a39; text-align: center; text-shadow: 0 1px 0 rgb(255 255 255 / 65%); }
.closing-mark { display: block; width: 32px; height: auto; margin: 0 auto 15px; }
.closing-eyebrow { margin: 0; color: #926b49; font-size: .86rem; letter-spacing: .23em; text-transform: uppercase; }
.closing-copy h2 { margin: 4px 0 0; font-size: clamp(4rem, 6.6vw, 6.1rem); font-weight: 400; letter-spacing: .07em; line-height: 1; text-transform: uppercase; }
.closing-ornament { display: flex; align-items: center; gap: 12px; width: min(200px, 50%); margin: 17px auto; color: #b78b52; }
.closing-ornament::before, .closing-ornament::after { content: ""; flex: 1; height: 1px; background: #ceb083; }
.closing-message { max-width: 550px; margin: 0 auto 31px; font-size: 1.4rem; line-height: 1.3; }
.closing-copy h3 { margin: 0 0 8px; color: #8e6544; font-size: .94rem; font-weight: 500; letter-spacing: .23em; text-transform: uppercase; }
.closing-notes { max-width: 470px; margin: 0 auto; font-size: 1.17rem; line-height: 1.25; }
.closing-countdown { max-width: 510px; margin: 27px auto 0; padding: 17px 18px 18px; border: 1px solid #d0b488; background: rgb(255 252 245 / 83%); box-shadow: inset 0 0 0 5px rgb(242 225 192 / 38%); }
.closing-countdown > p:first-child { margin: 0; color: #8e6544; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; }
.closing-countdown__date { display: block; margin: 5px 0 14px; color: #754d3d; font-size: 1.05rem; line-height: 1.1; }
.closing-countdown__values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.closing-countdown__values span { display: grid; gap: 2px; min-width: 0; }
.closing-countdown__values span + span { border-left: 1px solid #dcc39b; }
.closing-countdown__values strong { color: #713244; font-size: 2.7rem; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1; }
.closing-countdown__values small { color: #946e50; font-size: .71rem; letter-spacing: .12em; text-transform: uppercase; }
.closing-countdown__complete { margin: 10px 0 0; color: #713244; font-size: 1.3rem; }
.closing-colonnade { z-index: 2; left: 0; bottom: -14px; width: 100%; height: auto; translate: 0 var(--closing-art-y, 0px); }
.closing-bottom-band { position: absolute; z-index: 6; right: 0; bottom: 0; left: 0; display: grid; place-items: center; height: 42px; border-top: 4px solid #d6ad72; background: #722b3b; color: #dcb77e; font-size: 1.25rem; line-height: 1; box-shadow: 0 -8px 24px rgb(61 17 27 / 16%); }

@media (max-width: 540px) {
  .scene--event-guide { padding-inline: 8px; border-bottom-width: 9px; }
  .event-guide { padding: 0 15px 50px; }
  .event-guide__heading { padding: 67px 0 46px; }
  .event-guide__heading img { width: 28px; margin-bottom: 13px; }
  .event-guide__heading p:first-of-type { font-size: .69rem; letter-spacing: .18em; }
  .event-guide__heading h2 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .event-guide__heading p:last-child { font-size: 1.17rem; }
  .event-guide__entry { grid-template-columns: 70px minmax(0, 1fr); align-items: start; gap: 15px; padding: 35px 0 39px; }
  .event-guide__art { grid-column: 1 / -1; grid-row: 1; height: 148px; margin-bottom: 5px; border-width: 5px; border-radius: 32% 32% 2px 2px / 24% 24% 2px 2px; object-position: center 40%; }
  .event-guide__date { grid-column: 1; grid-row: 2; padding-top: 5px; }
  .event-guide__date strong { font-size: 4.1rem; }
  .event-guide__date span { margin-top: 10px; font-size: .82rem; }
  .event-guide__date small { font-size: .64rem; letter-spacing: .07em; }
  .event-guide__body { grid-column: 2; grid-row: 2; }
  .event-guide__number { font-size: .65rem; }
  .event-guide__body h3 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .event-guide__note { margin: 8px 0 15px; font-size: 1.09rem; }
  .event-guide__facts { grid-template-columns: 1fr; gap: 12px; padding-top: 13px; }
  .event-guide__facts dt { font-size: .64rem; }
  .event-guide__facts dd { font-size: 1.04rem; }
  .event-guide__facts dd span { font-size: .95rem; }
  .event-guide__closing { margin-top: 35px; font-size: 1.2rem; }
  .celebrations-heading { min-height: 240px; padding: 35px 22px; }
  .celebrations-heading img { width: 27px; }
  .celebrations-heading p { font-size: .65rem; letter-spacing: .19em; }
  .celebrations-heading h2 { max-width: 300px; font-size: clamp(2.7rem, 11vw, 3.8rem); }
  .celebration-chapter { height: 100svh; min-height: 100svh; }
  .celebration-chapter__art { object-position: var(--mobile-art-position, center); }
  .celebration-chapter--mehndi { --mobile-art-position: 25% center; }
  .celebration-chapter--haldi { --mobile-art-position: 76% center; }
  .celebration-chapter--sangeet { --mobile-art-position: 29% center; }
  .celebration-chapter--muhurtham { --mobile-art-position: 70% center; }
  .celebration-chapter--reception { --mobile-art-position: 73% center; }
  .celebration-chapter::before,
  .celebration-chapter--mehndi::before,
  .celebration-chapter--haldi::before,
  .celebration-chapter--sangeet::before,
  .celebration-chapter--muhurtham::before,
  .celebration-chapter--reception::before { background: linear-gradient(to bottom, transparent 25%, rgb(28 14 18 / 10%) 42%, rgb(39 15 22 / 90%) 100%); }
  .celebration-chapter__copy,
  .celebration-chapter--right .celebration-chapter__copy,
  .celebration-chapter--left .celebration-chapter__copy { top: auto; right: 24px; bottom: 48px; left: 24px; width: auto; color: #fff8e9; text-align: left; transform: none; }
  .celebration-chapter--right .celebration-chapter__index { justify-content: flex-start; }
  .celebration-chapter h3 { font-size: clamp(4.5rem, 18vw, 7rem); }
  .celebration-chapter--muhurtham h3 { font-size: clamp(2.9rem, 14vw, 5rem); }
  .celebration-chapter__date { margin-top: 12px; font-size: .9rem; letter-spacing: .12em; }
  .celebration-chapter--right .celebration-chapter__date::before { margin-left: 0; }
  .celebration-chapter__copy > p:last-child,
  .celebration-chapter--right .celebration-chapter__copy > p:last-child { max-width: 300px; margin: 15px 0 0; font-size: 1.45rem; }
  .water-panorama__names { bottom: 12svh; width: 92%; }
  .water-panorama__names h2 { font-size: clamp(2.7rem, 11vw, 4.2rem); white-space: normal; }
  .closing-separator { height: 56px; gap: 14px; box-shadow: inset 0 6px 0 rgb(255 250 239 / 75%), inset 0 -6px 0 rgb(255 250 239 / 75%); }
  .closing-separator span { font-size: 1.2rem; }
  .scene--closing { padding: 22px 8px 14px; }
  .closing-panel { min-height: 1160px; border-radius: 28% 28% 0 0 / 4% 4% 0 0; }
  .closing-bottom-band { height: 32px; border-top-width: 3px; font-size: 1rem; }
  .closing-panel::before { inset: 8px 8px 0; }
  .closing-garland { top: 0; width: 48px; }
  .closing-garland--left { left: -1%; }
  .closing-garland--right { right: -1%; }
  .closing-bell { top: 5px; width: 45px; }
  .closing-bell--left { left: 10%; }
  .closing-bell--right { right: 10%; }
  .closing-copy { width: 73%; padding-top: 113px; }
  .closing-mark { width: 28px; }
  .closing-eyebrow { font-size: .65rem; letter-spacing: .15em; }
  .closing-copy h2 { font-size: 2.35rem; letter-spacing: .045em; }
  .closing-message { margin-bottom: 24px; font-size: 1.18rem; }
  .closing-copy h3 { font-size: .74rem; }
  .closing-notes { font-size: 1.06rem; }
  .closing-countdown { margin-top: 20px; padding: 12px 7px 13px; }
  .closing-countdown > p:first-child { font-size: .69rem; letter-spacing: .13em; }
  .closing-countdown__date { margin: 6px 0 12px; font-size: .94rem; }
  .closing-countdown__values strong { font-size: 1.85rem; }
  .closing-countdown__values small { font-size: .59rem; letter-spacing: .04em; }
  .scene--calendar { padding: 24px 8px; }
  .calendar-shell { padding: 43px 24px; outline-offset: -10px; }
  .calendar-mark { width: 27px; margin-bottom: 15px; }
  .calendar-eyebrow { font-size: .64rem; letter-spacing: .14em; }
  .calendar-shell h2 { font-size: 2.8rem; }
  .calendar-intro { font-size: 1.11rem; }
  .calendar-title-rule { margin: 18px auto 24px; }
  .calendar-layout { grid-template-columns: 1fr; }
  .calendar-card { min-height: 365px; padding: 23px; border-right: 0; border-bottom: 1px solid #d6bb91; }
  .calendar-card__heading { flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
  .calendar-card__heading span { font-size: .65rem; }
  .calendar-card__heading strong { font-size: 1.5rem; }
  .calendar-weekdays { font-size: .61rem; }
  .calendar-days span { width: min(100%, 34px); min-height: 31px; font-size: .95rem; }
  .calendar-card__events { padding-top: 16px; }
  .calendar-card__event-list { grid-template-columns: 1fr; gap: 7px; }
  .calendar-card__event { align-items: center; font-size: 1rem; }
  .calendar-card__event time { flex-basis: 24px; height: 24px; }
  .calendar-card__event span { padding-top: 0; }
  .calendar-details { padding: 22px; }
  .calendar-details__heading h3 { font-size: 2.1rem; }
  .calendar-details strong { font-size: 1.2rem; }
  .calendar-footer-line { margin-top: 19px; font-size: 1.13rem; }
  .scene--story { padding: 26px 8px 0; }
  .scene--story::after { height: 56px; }
  .story-panel { min-height: 1280px; border-radius: 24% 24% 0 0 / 4% 4% 0 0; }
  .story-panel::before { inset: 8px; }
  .story-copy { width: 77%; padding-top: 115px; }
  .story-copy h2 { font-size: clamp(3.1rem, 13.4vw, 4rem); }
  .story-body { margin-top: 20px; font-size: 1.18rem; line-height: 1.3; }
  .story-photo { width: 106px; height: 120px; margin-top: 18px; }
  .story-names { margin-top: 12px; font-size: 1.15rem; letter-spacing: .04em; }
  .story-sentiment { font-size: .76rem; letter-spacing: .14em; white-space: nowrap; }
  .story-panorama { left: 0; width: 100%; }
  .vows-backdrop { inset: -2% 0; height: 107%; object-position: center top; }
  .vows-couple { height: 66svh; right: -7%; bottom: -9%; }
  .vows-foreground { width: 62%; left: -22%; bottom: -3%; }
  .vows-blossoms { width: 54%; left: -13%; top: -5%; }
  .family-copy { width: 61%; }
  .family-mark { width: 27px; margin-bottom: 19px; }
  .family-copy__opening { font-size: 1rem; }
  .family-copy h2 { font-size: clamp(3.35rem, 13vw, 4.45rem); }
  .family-copy__divider { margin-block: 8px 17px; }
  .family-copy__hosts { font-size: 1.14rem; }
  .family-copy__request { margin-bottom: 29px; font-size: 1.05rem; }
  .family-names > span:not(.family-names__ampersand) { font-size: clamp(2.65rem, 11vw, 3.8rem); letter-spacing: .08em; }
  .family-names__ampersand { margin-block: 10px; font-size: 1.9rem; }
  .family-copy__closing { margin-top: 31px; font-size: 1rem; }
  .gate-portal { width: 100%; }
  .gate-threshold { height: 102%; object-fit: fill; }
  .gate-garland--left { left: calc(6% - 75px); }
  .gate-garland--right { right: calc(6% - 75px); }
  .gate-bell--left { left: 9%; }
  .gate-bell--right { right: 9%; }
  .gate-copy { width: min(74%, 330px); top: 17svh; }
  .gate-copy h1 { font-size: clamp(1.75rem, 7.2vw, 2.3rem); }
  .gate-copy h1 .gate-copy__blessing { white-space: normal; }
  .open-plaque { bottom: 11%; width: min(82%, 375px); }
  .hero-copy { width: min(72%, 340px); top: 40%; }
  .hero-copy__eyebrow { max-width: 240px; margin-inline: auto; }
  .hero-gopuram { width: 49%; bottom: -15%; }
}

@media (min-width: 760px) {
  .scene--gate { background-image: radial-gradient(ellipse at 50% 40%, #8b683f 0, #4d2f1a 42%, #1f120d 100%), repeating-linear-gradient(90deg, transparent 0 56px, rgb(234 191 119 / 5%) 57px 58px); }
  .gate-copy { top: clamp(115px, 17svh, 160px); }
  .gate-copy h1 { font-size: clamp(1.9rem, 2.4vw, 2.4rem); }
  .gate-temple { bottom: -2%; }
  .open-plaque { bottom: 8%; }
  .hero-sky { object-position: center 58%; }
  .hero-gopuram { width: clamp(300px, 25vw, 390px); bottom: -16%; }
  .hero-copy { top: 29%; width: min(45%, 530px); }
  .hero-copy h2 { font-size: clamp(4rem, 6.4vw, 5.8rem); }
  .hero-canopy { width: min(45%, 680px); }
  .hero-cornice { width: min(33%, 520px); }
  .hero-bell { right: 9%; width: 75px; }
}

@media (min-width: 1000px) {
  .scene--gate { background: #dec598; }
  .gate-portal { width: 100%; box-shadow: none; }
  .gate-portal::before, .gate-portal::after { width: 11%; }
  .gate-sky { object-position: center 55%; }
  .gate-temple { height: 57svh; width: auto; bottom: -13%; }
  .gate-steps { width: 114%; max-width: none; bottom: -16%; }
  .gate-threshold { top: 0; left: 0; width: 100%; height: 100%; object-fit: fill; transform: none; }
  .gate-garland { width: clamp(145px, 11vw, 210px); }
  .gate-garland--left { left: 4%; }
  .gate-garland--right { right: 4%; }
  .gate-bell--left { left: 10%; }
  .gate-bell--right { right: 10%; }
  .gate-foreground { width: min(27vw, 460px); left: 0; }
  .gate-copy { top: clamp(285px, 27svh, 380px); width: min(46%, 620px); }
  .gate-copy h1 { font-size: clamp(2.5rem, 3.2vw, 3.5rem); }
  .open-plaque { width: min(25%, 410px); bottom: 8%; padding: 38px 40px 20px; }

  .hero-gopuram { width: auto; height: min(66svh, 860px); bottom: -22%; scale: var(--hero-temple-scale, 1); transform-origin: center bottom; }
  .hero-copy { left: 50%; width: min(44%, 650px); top: 27%; }
  .hero-cornice { width: min(28%, 540px); right: -1%; top: -1%; }
  .hero-bell { right: 6.5%; top: 5%; width: clamp(70px, 5.6vw, 100px); }

  .scene--family::before,
  .scene--family::after { display: none; }
  .family-copy { width: min(45%, 680px); }
}

@media (min-width: 600px) and (max-width: 1279px) {
  .family-stage { aspect-ratio: 2 / 3; }
}

@media (max-width: 360px) {
  .family-stage { aspect-ratio: 821 / 1916; }
  .family-copy { padding-top: clamp(112px, calc(180vw - 464px), 184px); }
  .family-names > span:not(.family-names__ampersand) { font-size: clamp(2.1rem, 10vw, 2.3rem); letter-spacing: .045em; }
}

@media (min-width: 361px) and (max-width: 380px) {
  .family-copy { padding-top: 32%; }
  .family-copy__request { margin-bottom: 24px; }
  .family-copy__closing { margin-top: 23px; }
}

@media (min-width: 1280px) {
  .family-stage { width: 100%; aspect-ratio: 1402 / 1122; box-shadow: none; }
  .family-copy { padding-top: clamp(320px, 25vw, 500px); }
}

@media (min-width: 1000px) and (max-height: 1000px) {
  .gate-temple { bottom: -20%; }
  .gate-steps { bottom: -25%; }
  .hero-gopuram { bottom: -30%; }
}

@media (max-height: 650px) and (orientation: landscape) {
  .gate-copy { top: 12svh; }
  .gate-copy h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
  .sacred-mark { width: 30px; margin-bottom: 5px; }
  .ornament-rule { margin-block: 7px; }
  .gate-foreground { width: min(35%, 260px); }
  .open-plaque { width: min(37%, 320px); bottom: 3%; }
  .hero-copy { top: 22%; }
  .hero-copy h2 { font-size: clamp(2.8rem, 6vw, 4rem); }
  .hero-gopuram { width: min(25%, 270px); height: auto; }
}

@media (min-width: 1000px) and (max-height: 650px) {
  .hero-gopuram { bottom: -40%; }
}

@media (max-width: 360px) and (max-height: 650px) and (orientation: portrait) {
  .closing-copy h2 { font-size: 1.9rem; letter-spacing: .03em; }
  .gate-copy { top: 17svh; }
  .sacred-mark { width: 30px; margin-bottom: 7px; }
  .gate-copy h1 { font-size: 1.43rem; line-height: .94; letter-spacing: .055em; }
  .gate-copy h1 .gate-copy__blessing { margin-top: .25em; font-size: .7em; }
  .ornament-rule { margin-block: 10px 8px; }
  .gate-copy p { font-size: .76rem; }
  .gate-temple { width: 200px; bottom: -3%; }
  .hero-copy { top: 30%; width: min(84%, 280px); }
  .hero-copy h2 { font-size: 2.55rem; }
  .hero-copy__line { font-size: .78rem; letter-spacing: .17em; line-height: 1.2; }
  .hero-gopuram { width: 44%; }
}

/* The opening is a one-time spatial handoff: the carved threshold clears
   while the temple, steps, hanging objects, and background travel separately. */
.gate-portal [data-depth],
.hero-stage [data-depth] {
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
}
.hero-stage .hero-gopuram {
  translate: -50% var(--parallax-y, 0px);
}

.gate-copy .sacred-mark { animation: gate-inscribe 690ms var(--ease-out) 100ms both; }
.gate-copy__lead { animation: gate-inscribe 780ms var(--ease-out) 260ms both; }
.gate-copy__blessing { animation: gate-inscribe 700ms var(--ease-out) 480ms both; }
.gate-copy .ornament-rule { animation: gate-inscribe 620ms var(--ease-out) 680ms both; }
.gate-copy p { animation: gate-inscribe 620ms var(--ease-out) 820ms both; }
.open-plaque { animation: plaque-illuminate 700ms var(--ease-out) 940ms both; }

.gate-bell--left { animation: bell-sway-left 3.8s ease-in-out -1.1s infinite alternate; }
.gate-bell--right { animation: bell-sway-right 4.3s ease-in-out -.6s infinite alternate; }
.gate-garland--left { animation: garland-sway-left 5.4s ease-in-out -.9s infinite alternate; }
.gate-garland--right { animation: garland-sway-right 5.9s ease-in-out -2.3s infinite alternate; }
.hero-bell { animation: bell-sway-right 4.5s ease-in-out -.7s infinite alternate; }
.hero-canopy { animation: canopy-sway 7.4s ease-in-out -1.3s infinite alternate; }
.hero-cloud--left { animation: cloud-drift-left 17s ease-in-out -5s infinite alternate; }
.hero-cloud--right { animation: cloud-drift-right 20s ease-in-out -8s infinite alternate; }
.hero-bird--one { animation: bird-glide 12s linear -3s infinite; }
.hero-bird--two { animation: bird-glide 10s linear -8s infinite; }
.hero-bird--three { animation: bird-glide-reverse 15s linear -5s infinite; }

.fall-petal {
  z-index: 8;
  top: -9%;
  left: var(--start-x, 50%);
  width: var(--petal-size, 12px);
  height: auto;
  opacity: 0;
  animation: petal-fall var(--fall-duration, 10s) linear var(--fall-delay, 0s) infinite;
}
.hero-stage .fall-petal { z-index: 5; }

.scene-wash {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 47%, #fffdf5 0, #fff9e9 46%, #e6f7ff 100%);
}

body[data-scene="opening"] { overflow-y: hidden; }
body[data-scene="opening"] .scene--gate {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 660ms var(--ease-out) 260ms;
}
body[data-scene="opening"] .scene-wash { animation: sacred-wash 1800ms linear both; }

.gate-sky { transition: translate 220ms var(--ease-out), transform 1100ms var(--ease-in-out), opacity 650ms var(--ease-out) 180ms; }
.gate-sky-haze { transition: opacity 550ms var(--ease-out); }
.gate-temple { transition: translate 220ms var(--ease-out), transform 850ms var(--ease-in-out) 50ms, opacity 540ms var(--ease-out) 290ms; }
.gate-steps { transition: translate 220ms var(--ease-out), transform 900ms var(--ease-in-out), opacity 540ms var(--ease-out) 280ms; }
.gate-threshold { transition: translate 220ms var(--ease-out), transform 900ms var(--ease-in-out) 50ms, opacity 420ms var(--ease-out) 500ms; }
.gate-foreground { transition: translate 220ms var(--ease-out), transform 760ms var(--ease-in-out) 40ms, opacity 430ms var(--ease-out) 300ms; }
.gate-garland, .gate-bell { transition: translate 220ms var(--ease-out), transform 800ms var(--ease-in-out) 50ms, opacity 400ms var(--ease-out) 450ms; }
.gate-copy { transition: transform 570ms var(--ease-out), opacity 390ms var(--ease-out) 40ms; }
.open-plaque { transition: transform 570ms var(--ease-out), opacity 370ms var(--ease-out); }
.gate-petal { transition: translate 220ms var(--ease-out), opacity 340ms var(--ease-out); }

body[data-scene="opening"] .gate-sky { transform: scale(1.085); opacity: .62; }
body[data-scene="opening"] .gate-sky-haze { opacity: 0; }
body[data-scene="opening"] .gate-temple { transform: translate(-50%, -11%) scale(1.07); opacity: .36; }
body[data-scene="opening"] .gate-steps { transform: translate(-50%, 25%); opacity: .28; }
body[data-scene="opening"] .gate-threshold--left { transform: translateX(-114%); opacity: .2; }
body[data-scene="opening"] .gate-threshold--right { transform: translateX(14%); opacity: .2; }
@media (min-width: 1000px) {
  body[data-scene="opening"] .gate-threshold--left { transform: translateX(-55%); }
  body[data-scene="opening"] .gate-threshold--right { transform: translateX(55%); }
}
body[data-scene="opening"] .gate-foreground { transform: translate(-30%, 18%); opacity: 0; }
body[data-scene="opening"] .gate-garland--left,
body[data-scene="opening"] .gate-bell--left { transform: translate(-40vw, -12%); opacity: 0; }
body[data-scene="opening"] .gate-garland--right,
body[data-scene="opening"] .gate-bell--right { transform: translate(40vw, -12%); opacity: 0; }
body[data-scene="opening"] .gate-copy { transform: translate(-50%, -24px); opacity: 0; }
body[data-scene="opening"] .open-plaque { transform: translate(-50%, 55px); opacity: 0; }
body[data-scene="opening"] .gate-petal { opacity: 0; }

/* The gopuram arrives from below the tank horizon; readable copy settles
   once the bright bridge has cleared, without continual text movement. */
body[data-scene="opening"] .hero-gopuram {
  animation: temple-rise 980ms var(--ease-out) 760ms both;
}
body[data-scene="opening"] .hero-copy__eyebrow {
  animation: copy-arrive 430ms var(--ease-out) 940ms both;
}
body[data-scene="opening"] .hero-copy h2 > span:first-child {
  animation: copy-arrive 530ms var(--ease-out) 1040ms both;
}
body[data-scene="opening"] .hero-copy h2 > span:nth-child(2) {
  animation: copy-arrive 470ms var(--ease-out) 1160ms both;
}
body[data-scene="opening"] .hero-copy h2 > span:nth-child(3) {
  animation: copy-arrive 520ms var(--ease-out) 1240ms both;
}
body[data-scene="opening"] .hero-copy__divider,
body[data-scene="opening"] .hero-copy__line {
  animation: copy-arrive 350ms var(--ease-out) 1410ms both;
}

@keyframes bell-sway-left {
  from { rotate: -3.2deg; }
  to { rotate: 3.8deg; }
}
@keyframes bell-sway-right {
  from { rotate: 3deg; }
  to { rotate: -3.5deg; }
}
@keyframes garland-sway-left {
  from { rotate: -1.7deg; }
  to { rotate: 2.2deg; }
}
@keyframes garland-sway-right {
  from { rotate: 2deg; }
  to { rotate: -2.1deg; }
}
@keyframes canopy-sway {
  from { rotate: -.7deg; }
  to { rotate: 1.3deg; }
}
@keyframes cloud-drift-left {
  from { transform: translate3d(-2vw, 0, 0); }
  to { transform: translate3d(5vw, -1vw, 0); }
}
@keyframes cloud-drift-right {
  from { transform: translate3d(3vw, 0, 0); }
  to { transform: translate3d(-5vw, -1.5vw, 0); }
}
@keyframes bird-glide {
  0% { transform: translate3d(-9vw, 1vw, 0) rotate(-4deg); opacity: 0; }
  15% { opacity: .78; }
  85% { opacity: .78; }
  100% { transform: translate3d(16vw, -5vw, 0) rotate(3deg); opacity: 0; }
}
@keyframes bird-glide-reverse {
  0% { transform: translate3d(11vw, 1vw, 0) rotate(3deg); opacity: 0; }
  15% { opacity: .72; }
  85% { opacity: .72; }
  100% { transform: translate3d(-17vw, -4vw, 0) rotate(-3deg); opacity: 0; }
}
@keyframes petal-fall {
  0% { transform: translate3d(0, -8svh, 0) rotate(-25deg); opacity: 0; }
  8% { opacity: .9; }
  40% { transform: translate3d(var(--drift, 15px), 46svh, 0) rotate(155deg); }
  72% { transform: translate3d(0, 88svh, 0) rotate(275deg); opacity: .85; }
  100% { transform: translate3d(var(--drift, 15px), 126svh, 0) rotate(410deg); opacity: 0; }
}
@keyframes sacred-wash {
  0%, 13% { opacity: 0; }
  28% { opacity: .94; }
  39% { opacity: .3; }
  51% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes temple-rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes copy-arrive {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes gate-inscribe {
  from { transform: translateY(12px); opacity: .12; filter: blur(3px); }
  to { transform: translateY(0); opacity: 1; filter: blur(0); }
}
@keyframes plaque-illuminate {
  from { opacity: .35; filter: brightness(.85); }
  to { opacity: 1; filter: brightness(1); }
}

body[data-paused="true"] .gate-bell,
body[data-paused="true"] .gate-garland,
body[data-paused="true"] .hero-bell,
body[data-paused="true"] .hero-canopy,
body[data-paused="true"] .hero-cloud,
body[data-paused="true"] .hero-bird,
body[data-paused="true"] .closing-bell,
body[data-paused="true"] .closing-garland,
body[data-paused="true"] .fall-petal {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .gate-copy .sacred-mark, .gate-copy__lead, .gate-copy__blessing,
  .gate-copy .ornament-rule, .gate-copy p, .open-plaque {
    animation: none !important;
  }
  .gate-portal [data-depth], .hero-stage [data-depth],
  .gate-sky, .gate-sky-haze, .gate-temple, .gate-steps,
  .gate-threshold, .gate-foreground, .gate-garland, .gate-bell,
  .gate-copy, .open-plaque, .gate-petal, .scene--gate {
    transition: none !important;
  }
  .gate-bell, .gate-garland, .hero-bell, .hero-canopy,
  .hero-cloud, .hero-bird, .closing-bell, .closing-garland, .fall-petal,
  .hero-gopuram, .hero-copy__eyebrow, .hero-copy h2 > span,
  .hero-copy__divider, .hero-copy__line, .scene--family.is-visible .family-copy {
    animation: none !important;
  }
  body[data-scene="open"] .scene--family:not(.is-visible) .family-copy { opacity: 1; }
  .family-arch { translate: 0 0 !important; }
  .vows-couple { bottom: -2%; }
  .vows-backdrop, .vows-couple, .vows-foreground, .vows-blossoms { translate: 0 0 !important; }
  .story-panorama { translate: 0 0 !important; }
  .celebration-chapter { position: relative; }
  .celebration-chapter__art { translate: 0 0 !important; }
  .scene--celebrations.is-enhanced .celebration-chapter:not(.is-visible) .celebration-chapter__copy { opacity: 1; translate: 0 0; }
  .celebration-chapter__copy { transition: none !important; }
  .scene--water-panorama { height: 100svh; }
  .water-panorama__stage { position: relative; }
  .closing-colonnade { translate: 0 0 !important; }
  .fall-petal, .scene-wash { display: none; }
}
