body { font-family: "Cormorant Garamond", Georgia, serif; }
.font-caps { font-family: "Josefin Sans", ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.25em; }
.font-script { font-family: "Parisienne", cursive; }
html { scroll-behavior: smooth; }

/* ============================================================
   ENTRY GATE
   ============================================================ */
html.gate-lock, html.gate-lock body { overflow: hidden; height: 100%; }

#gate {
  position: fixed; inset: 0; z-index: 50; overflow: hidden; display: grid; place-items: center;
  padding: 1.25rem; background: radial-gradient(ellipse at center, #f4e9de, #d9c4b7);
  transition: opacity .7s ease 1.6s;
}
#gate.gate--hidden { display: none; }
.invitation-envelope {
  position: relative; width: min(100%, 820px); aspect-ratio: 1.45; max-height: 82svh;
  perspective: 1400px; isolation: isolate; border: 1px solid #65252d; border-radius: 9px;
  background: linear-gradient(135deg, #a8293e, #7e142b);
  box-shadow: 0 35px 65px -20px #3c132b70, 0 12px 22px -10px #3c132b66,
              inset 0 0 0 5px #921f34, inset 0 0 0 6px #d99e6266;
  transition: none;
}
.envelope-folds { position: absolute; inset: 7px; overflow: hidden; border-radius: 4px; pointer-events: none; }
.envelope-folds, .envelope-pocket {
  transition: transform 2s cubic-bezier(.4,0,.2,1);
}
.envelope-folds::before, .envelope-folds::after { content: ""; position: absolute; inset: 0; }
.envelope-folds::before {
  background: linear-gradient(145deg, #bc3b4a, #8f1c31);
  clip-path: polygon(0 0, 51% 53%, 0 100%);
  filter: drop-shadow(2px 0 2px #430d22);
}
.envelope-folds::after {
  background: linear-gradient(215deg, #a52a3c, #81182d);
  clip-path: polygon(100% 0, 49% 53%, 100% 100%);
}
.envelope-pocket {
  position: absolute; inset: 7px; pointer-events: none; border-radius: 4px;
  background: linear-gradient(0deg, #a4283c, #b73546);
  clip-path: polygon(0 100%, 0 97%, 50% 46%, 100% 97%, 100% 100%);
}
.envelope-flap {
  position: absolute; inset: 7px 7px auto; height: 55%; transform-origin: center top;
  transform-style: preserve-3d; transition: transform 2s cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 7px 5px #420b2566); pointer-events: none;
}
.envelope-flap::before, .envelope-flap::after {
  content: ""; position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.envelope-flap::before { background: #d9a477; }
.envelope-flap::after { inset: 0 1px 2px; background: linear-gradient(165deg, #c34351, #9a2137 75%); }
#gate.gate--opening .envelope-flap { transform: rotateX(180deg); }
#gate.gate--opening .invitation-envelope {
  background: transparent; border-color: transparent; box-shadow: none;
}
#gate.gate--opening .envelope-folds, #gate.gate--opening .envelope-pocket { transform: translateY(110vh); transform: translateY(110dvh); }
#gate.gate--opening { background: transparent; opacity: 0; pointer-events: none; }
#gate.gate--opening .gate-ambient { opacity: 0; }
.gate-intro, .gate-date {
  position: absolute; left: 1rem; right: 1rem; text-align: center; color: #ffe6bd;
  pointer-events: none; transition: opacity .6s; text-shadow: 0 1px 8px #58102955;
}
.gate-intro { top: 8%; }
.gate-date { bottom: 9%; }
.gate-intro .font-script { font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 1.1; }
.gate-intro .font-caps, .gate-date .font-caps { font-size: clamp(.52rem, 1.3vw, .7rem); }
#gate.gate--breaking .gate-intro, #gate.gate--breaking .gate-date { opacity: 0; }
#gate .gate-hint { color: #ffe6bd; position: absolute; top: calc(50% + 4.5rem); font-size: .55rem; }
#gate .gate-mandala { color: #f1d39c; }
#gate .gate-petal { background: #f1d39c88; }
#gate .gate-seal { width: 9rem; height: 9rem; }
#gate .gate-seal:focus-visible { outline: 2px solid #ffe6bd; outline-offset: 5px; }
@media (max-width: 540px) {
  .gate-intro { top: 10%; }
  .gate-intro .font-script { font-size: clamp(2rem, 9vw, 3rem); }
  .gate-date { bottom: 10%; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .invitation-envelope { width: min(75vw, 580px); aspect-ratio: 1.8; }
  .gate-intro { top: 5%; }
  .gate-intro .font-script { font-size: 1.8rem; margin-top: .3rem; }
  .gate-intro .font-caps { font-size: .48rem; margin-top: .3rem; }
  .gate-date { bottom: 5%; }
  #gate .gate-seal { width: 6rem; height: 6rem; }
  #gate .gate-wax { width: 4rem; height: 4rem; }
  #gate .gate-hint { top: calc(50% + 2.8rem); }
}
/* Fill every screen with the envelope; keep text inside the visible viewport. */
#gate { padding: 0; display: flex; align-items: center; justify-content: center; }
.invitation-envelope {
  flex: 0 0 auto; width: max(100vw, 145vh); height: 100vh;
  width: max(100vw, 145dvh); height: 100dvh;
  aspect-ratio: auto; max-height: none; border: 0; border-radius: 0;
}
.envelope-folds, .envelope-pocket { inset: -2px; border-radius: 0; }
.envelope-flap { inset: -2px -2px auto; }
.gate-intro, .gate-date {
  left: 50%; right: auto; width: calc(100vw - 2.5rem); transform: translateX(-50%);
}
.gate-intro { top: max(10%, env(safe-area-inset-top)); }
.gate-date { bottom: max(10%, env(safe-area-inset-bottom)); }
.gate-seal-wrap { position: absolute; inset: 0; transform: translateY(clamp(1rem, 3vh, 1.75rem)); z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.gate-seal {
  position: relative; display: grid; place-items: center; width: 11rem; height: 11rem;
  border-radius: 9999px; background: none; border: none; cursor: pointer; padding: 0;
  transition: transform 1.3s cubic-bezier(.76,0,.24,1), opacity 1.3s cubic-bezier(.76,0,.24,1);
}
#gate.gate--breaking .gate-seal { transform: scale(1.9) rotate(18deg); opacity: 0; }
#gate.gate--breaking .gate-hint { opacity: 0 !important; transition: opacity .5s; }

.gate-mandala { position: absolute; inset: 0; color: rgba(193,159,97,.45); animation: gate-spin 90s linear infinite; }
.gate-ring { position: absolute; inset: 1.5rem; border-radius: 9999px; border: 1px solid rgba(193,159,97,.5); animation: gate-ring 2.6s ease-out infinite; }
.gate-glow {
  position: absolute; inset: 2rem; border-radius: 9999px;
  background: radial-gradient(circle, rgba(193,159,97,.45) 0%, transparent 70%);
  animation: gate-glow 3.4s ease-in-out infinite;
}
.gate-drip {
  position: absolute; top: 50%; left: 50%; height: 6rem; width: 4rem;
  transform: translate(-50%, 1rem);
  background: linear-gradient(180deg, rgba(193,159,97,.7), transparent);
  clip-path: polygon(28% 0, 72% 0, 100% 100%, 78% 84%, 50% 100%, 22% 84%, 0 100%);
  opacity: .55;
}
.gate-wax {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 6rem; height: 6rem; color: #f8f6f0;
  background: #b9903f;
  background: radial-gradient(120% 120% at 30% 22%, #e8cfa0 0%, #c7a266 45%, #96742f 100%);
  clip-path: polygon(50% 0%, 68% 8%, 88% 6%, 94% 26%, 100% 50%, 94% 74%, 88% 94%, 68% 92%, 50% 100%, 32% 92%, 12% 94%, 6% 74%, 0% 50%, 6% 26%, 12% 6%, 32% 8%);
  box-shadow: 0 18px 40px -16px rgba(120, 90, 40, .55);
  animation: gate-wax-rock 6s ease-in-out infinite;
}
.gate-wax::before { content: ""; position: absolute; inset: 7px; border-radius: 9999px; border: 1px solid rgba(248,246,240,.35); }
.gate-wax-shine {
  position: absolute; inset-block: -40%; width: 2.5rem; transform: skewX(-12deg);
  background: rgba(248,246,240,.35); filter: blur(6px);
  animation: gate-wax-shine 4.9s ease-in-out infinite;
}
.gate-hint { font-size: .55rem; transition: opacity .3s; animation: gate-hint-fade 2.6s ease-in-out infinite; }

.gate-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .7; }
.gate-petal {
  position: absolute; top: -20px; border-radius: 60% 40% 55% 45%; background: rgba(193,159,97,.35);
  animation: gate-petal-fall linear infinite;
}

@keyframes gate-spin { to { transform: rotate(360deg); } }
@keyframes gate-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes gate-glow { 0%, 100% { opacity: .5; transform: scale(.96); } 50% { opacity: .9; transform: scale(1.05); } }
@keyframes gate-wax-rock { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
@keyframes gate-wax-shine { 0%, 30% { transform: translateX(-140%) skewX(-12deg); } 45%, 100% { transform: translateX(420%) skewX(-12deg); } }
@keyframes gate-hint-fade { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes gate-petal-fall {
  0% { transform: translate(0, -5vh) rotate(0deg); opacity: 0; }
  10% { opacity: .85; }
  90% { opacity: .85; }
  100% { transform: translate(var(--drift, 20px), 108vh) rotate(200deg); opacity: 0; }
}

/* ============================================================
   CLICK-ANYWHERE PETAL BURST
   ============================================================ */
#click-burst-layer { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.click-petal {
  position: absolute; width: 7px; height: 5px; border-radius: 60% 40% 55% 45%;
  transform: translate(-50%, -50%);
  animation: click-petal-burst .9s cubic-bezier(.16,.7,.3,1) forwards;
}
@keyframes click-petal-burst {
  to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.6) rotate(180deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #gate, .invitation-envelope, .envelope-flap, .envelope-folds, .envelope-pocket { transition-duration: .15s !important; transition-delay: 0s !important; }
  #gate.gate--opening .invitation-envelope { transform: none; }
  #gate.gate--opening .envelope-flap, #gate.gate--opening .envelope-folds, #gate.gate--opening .envelope-pocket { transform: none; }
  #gate.gate--breaking .gate-seal { transform: none; transition-duration: .1s; }
  .gate-mandala, .gate-ring, .gate-glow, .gate-wax, .gate-wax-shine, .gate-hint, .gate-petal { animation: none !important; }
  .click-petal { animation-duration: .01s !important; }
}

#invitation-petals { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; opacity: .8; }
#invitation-petals .gate-petal { background: rgba(193,159,97,.5); }
#music-toggle {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60; display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 1px solid #c19f61; border-radius: 50%; background: #f8f6f0; color: #a3813f;
  box-shadow: 0 3px 16px rgba(31,25,21,.12); cursor: pointer;
}
#music-toggle:focus-visible { outline: 2px solid #a3813f; outline-offset: 4px; }
#music-toggle svg { width: 1.25rem; height: 1.25rem; }
#music-toggle[data-playing="true"] .music-off, #music-toggle[data-playing="false"] .music-on { display: none; }
@media (prefers-reduced-motion: reduce) { #invitation-petals { display: none; } }
.invitation-top-border {
  position: relative; height: clamp(64px, 10vw, 160px); background: #ffeadc;
}
.invitation-top-border img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  display: block; z-index: 1; pointer-events: none;
}
/* Alternating peach and deep sindoor-red invitation sections. */
body {
  margin: 0;
  background-color: #c9e4f3; color: #402523;
  background-image:
    radial-gradient(ellipse at 5% 20%, #ffffff80, transparent 28%),
    radial-gradient(ellipse at 95% 65%, #ffffff70, transparent 30%),
    linear-gradient(180deg, #c4e1f2, #e0eef6);
  background-attachment: fixed;
}
.invitation-page {
  --border-width: clamp(10px, 2vw, 20px);
  position: relative; box-sizing: border-box; width: 100%; max-width: 760px; margin-inline: auto;
  padding-inline: var(--border-width); background: #ffeadc; min-height: 100svh;
  box-shadow: 0 0 65px #426e8730, 0 0 8px #72573422;
  container: invitation / inline-size;
}
.invitation-page::before, .invitation-page::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: var(--border-width);
  background: #f0dbc0 url("/assets/border-trim.svg") repeat-y top center / 100% auto;
  z-index: 10; pointer-events: none;
}
.invitation-page::before { left: 0; box-shadow: 3px 0 9px #68492620; }
.invitation-page::after { right: 0; box-shadow: -3px 0 9px #68492620; }
@media (max-width: 767px) {
  .invitation-page { --border-width: 0px; box-shadow: none; }
  .invitation-page::before, .invitation-page::after { display: none; }
}
#blessings { background: #ffeadc; }
#schedule { background: #8b1a12; }
.schedule-intro { padding: 58px 24px 42px; text-align: center; }
.schedule-kicker { color: #efd49d; }
.schedule-title { color: #fff0df; }
.schedule-divider { display: block; width: 1px; height: 40px; margin: 24px auto 0; background: linear-gradient(#efd49d99, transparent); }
.event-section {
  --event-text: #fff0df; --event-muted: #eed2ba; --event-accent: #efd49d; --event-line: #d8af7859;
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  background: linear-gradient(150deg, #8b1a12, #711811); border-top: 1px solid var(--event-line);
}
.event-section--haldi {
  --event-text: #643a1c; --event-muted: #785735; --event-accent: #9a571d; --event-line: #b7894b59;
  background: linear-gradient(145deg, #fff1cf, #f9dfa9);
}
.event-section--wedding { background: linear-gradient(145deg, #741611, #95261c); }
.event-halo {
  position: absolute; top: -140px; left: calc(50% - 220px); width: 440px; height: 440px;
  z-index: -1; pointer-events: none; border: 1px solid var(--event-line); border-radius: 50%;
  box-shadow: 0 0 0 24px #d8af7808, 0 0 0 25px var(--event-line), 0 0 0 50px #d8af7806;
  transform: translate3d(0, var(--halo-shift, 0px), 0);
}
.event-section-heading { position: relative; padding: 54px 24px 0; }
.event-chapter { margin: 0 0 16px; font-family: "Josefin Sans", sans-serif; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--event-accent); }
.event-title { font-family: "Parisienne", cursive; font-size: clamp(2.8rem, 9cqw, 4.5rem); font-weight: 400; line-height: 1.2; color: var(--event-text); margin: 0; }
.event-subtitle { display: block; margin: 12px 0 0; font-family: "Josefin Sans", sans-serif; font-size: .65rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; color: var(--event-accent); }
.event-art { position: relative; width: clamp(172px, 34cqw, 236px); aspect-ratio: 1; margin: 24px auto 8px; overflow: visible; }
.event-art-layer { position: relative; width: 100%; height: 100%; transform: translate3d(0, var(--scene-shift, 0px), 0); }
.event-art picture, .event-art img { display: block; width: 100%; height: 100%; }
.event-art img { object-fit: contain; animation: event-sticker-float 5.6s ease-in-out infinite; }
.event-section--haldi .event-art img { animation-delay: -1.8s; }
.event-section--wedding .event-art img { animation-delay: -3.7s; }
@keyframes event-sticker-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.event-info { position: relative; padding: 28px clamp(20px, 6cqw, 44px) 60px; }
.event-date { display: block; font-size: clamp(1.2rem, 3.5cqw, 1.55rem); font-weight: 700; line-height: 1.5; color: var(--event-text); }
.event-countdown { margin: 6px 0 0; font-family: "Josefin Sans", sans-serif; font-size: .7rem; font-weight: 400; line-height: 1.7; color: var(--event-muted); }
.event-venue { display: grid; grid-template-columns: minmax(0, 1fr) 80px; align-items: center; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--event-line); text-align: left; }
.event-address { margin: 0; font-size: 1.15rem; line-height: 1.5; color: var(--event-text); overflow-wrap: anywhere; }
.event-directions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px 4px; border-left: 1px solid var(--event-line); color: var(--event-accent); text-align: center; text-decoration: none; }
.event-directions svg { width: 30px; height: 30px; animation: map-icon-float 3.6s ease-in-out infinite; }
.event-directions span { font-family: "Josefin Sans", sans-serif; font-size: .6rem; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
@keyframes map-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.event-directions:hover { color: var(--event-text); }
.event-directions:focus-visible { outline: 2px solid var(--event-accent); outline-offset: 3px; border-radius: 4px; }
@container invitation (max-width: 520px) {
  .event-section-heading { padding-top: 44px; }
  .event-info { padding-bottom: 48px; }
}
#music-toggle { background: #ffeadc; border-color: #ba8b51; color: #8b1a12; }

/* The first chapter: an open sky, a blessing, and a royal courtyard. */
#top.sky-invitation {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, #c3e1f2 0%, #dceef7 32%, #edf5f7 58%, #f9eee1 86%, #ffeadc 100%);
  color: #51372f;
}
.sky-invitation .invitation-top-border { background: transparent; z-index: 3; height: clamp(64px, 11cqw, 86px); }
.sky-layer { position: absolute; inset: -5% -8% 0; z-index: -1; pointer-events: none; transform: translate3d(0, var(--parallax-y, 0px), 0); }
.sky-cloud {
  position: absolute; display: block; width: clamp(280px, 75cqw, 600px); height: clamp(100px, 24cqw, 200px);
  background:
    radial-gradient(ellipse at 30% 62%, #fff9 0 17%, transparent 47%),
    radial-gradient(ellipse at 52% 44%, #fffc 0 13%, transparent 44%),
    radial-gradient(ellipse at 72% 64%, #fffb 0 14%, transparent 44%),
    radial-gradient(ellipse at 50% 73%, #fffa 0 22%, transparent 58%);
  filter: blur(9px); animation: cloud-drift 32s ease-in-out infinite alternate;
}
.sky-cloud--one { top: 9%; left: -9%; opacity: .85; }
.sky-cloud--two { top: 25%; right: -12%; opacity: .7; animation-delay: -19s; animation-duration: 41s; }
.sky-cloud--three { top: 3%; right: -4%; opacity: .65; animation-delay: -11s; animation-duration: 36s; }
.sky-cloud--four { top: 43%; left: -12%; opacity: .65; animation-delay: -24s; animation-duration: 45s; }
@keyframes cloud-drift { from { transform: translateX(-4%); } to { transform: translateX(10%); } }
.devotional-content { position: relative; z-index: 2; padding: clamp(24px, 5cqw, 36px) 16px 0; }
.ganesha-portrait { display: block; }
.ganesha-art { display: block; width: clamp(144px, 25cqw, 188px); height: auto; margin: 0 auto 14px; }
.ganesha-invocation, .wedding-blessing { font-family: "Noto Serif Devanagari", serif; }
.ganesha-invocation { font-size: .8rem; color: #875a2f; margin: 0; }
.wedding-blessing { margin: 20px 0 0; font-size: clamp(.8rem, 3.9cqw, 1.1rem); line-height: 2; font-weight: 400; color: #624634; }
.wedding-blessing span { display: block; }
.sacred-divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: #ae814a; font-size: .7rem; margin: 22px auto 12px; }
.sacred-divider span { width: clamp(40px, 10cqw, 76px); height: 1px; background: linear-gradient(90deg, transparent, #ae814a88); }
.sacred-divider span:last-child { transform: scaleX(-1); }
.wedding-hindi {
  font-family: "Yatra One", "Noto Serif Devanagari", serif;
  font-size: clamp(3rem, 11cqw, 5rem); font-weight: 400;
  line-height: 1.6; margin: 0; color: #8b1a12;
  text-shadow: 0 2px 0 #f1d4a155;
}
.wedding-hindi:focus { outline: none; }
.wedding-hindi:focus-visible { outline: 2px solid #986631; outline-offset: 6px; }
.hero-eyebrow { margin: 2px 0 0; padding: 0 8px; font-family: "Josefin Sans", sans-serif; font-size: .6rem; letter-spacing: .22em; line-height: 1.8; text-transform: uppercase; color: #6c5b4c; }
.palace-portrait {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  margin: clamp(32px, 6cqw, 48px) auto 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 94%, transparent);
  mask-image: linear-gradient(#000 94%, transparent);
}
.palace-portrait picture { display: block; width: 100%; height: 100%; }
.palace-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-details { position: relative; padding: 48px 20px clamp(64px, 12cqw, 88px); }
.hero-family-note, .hero-date, .hero-location { margin: 0; }
.hero-family-note { font-size: clamp(1rem, 3cqw, 1.25rem); font-style: italic; color: #75574f; }
.hero-families { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; margin: 18px auto 30px; }
.hero-couple { font-family: "Parisienne", cursive; font-size: clamp(2.6rem, 9cqw, 4rem); line-height: 1.3; font-weight: 400; margin: 0 0 10px; color: #8b1a12; }
.hero-amp { font-family: "Parisienne", cursive; font-size: clamp(2rem, 6cqw, 3rem); line-height: 1.3; margin-top: .2em; color: #986631; }
.family-parents { margin: 0; font-size: clamp(1rem, 2.6cqw, 1.15rem); line-height: 1.7; color: #624634; }
.family-parents span { display: block; }
.family-relationship { margin-bottom: 4px; font-style: italic; color: #875a2f; }
.hero-date { font-family: "Josefin Sans", sans-serif; font-size: clamp(.65rem, 2cqw, .8rem); letter-spacing: .2em; text-transform: uppercase; }
.hero-location { margin-top: 10px; font-size: 1.1rem; color: #75574f; }
.hero-countdown { max-width: 380px; }
.scroll-hint {
  position: fixed; left: 50%; bottom: max(1.5rem, env(safe-area-inset-bottom)); z-index: 35;
  display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0;
  padding: 12px 20px; border-radius: 18px; border: 1px solid #c49a6040;
  background: #fff0e2b3; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px #63442520;
  color: #8b1a12; font-family: "Josefin Sans", sans-serif; font-size: .7rem;
  letter-spacing: .12em; text-shadow: 0 1px 5px #fff6eb, 0 0 12px #fff6eb;
  pointer-events: none; transform: translateX(-50%); animation: scroll-hint-enter .7s cubic-bezier(.2,.7,.3,1) both;
}
.scroll-hint[hidden] { display: none; }
.scroll-hint svg { width: 20px; height: 20px; animation: scroll-hint-float 2.4s ease-in-out .7s infinite; }
@keyframes scroll-hint-enter {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes scroll-hint-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
#top.is-revealed .devotional-content { animation: blessing-arrival 1.2s ease both; }
@keyframes blessing-arrival { from { opacity: .2; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@container invitation (max-width: 520px) {
  .hero-families { grid-template-columns: 1fr; gap: 14px; }
  .hero-amp { margin-top: 0; line-height: 1; }
}
@container invitation (max-width: 640px) {
  .devotional-content { padding-top: 25px; }
  .wedding-blessing { margin-top: 16px; }
  .sacred-divider { margin: 18px auto 12px; }
  .hero-eyebrow { font-size: .52rem; letter-spacing: .16em; }
  .hero-details { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .sky-layer { transform: none; }
  .event-directions svg, .event-art img { animation: none; }
  .event-art-layer, .event-halo { transform: none; }
  .sky-cloud, #top.is-revealed .devotional-content { animation: none; }
  .scroll-hint, .scroll-hint svg { animation: none; }
  html { scroll-behavior: auto; }
}
