@font-face {
  font-family: "Wedding Pen";
  src: url("assets/wedding-pen.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Invitation Serif";
  src: url("assets/serif.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Invitation Serif";
  src: url("assets/serif-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Venue Tamil";
  src: url("assets/venue-tamil.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fffaf7;
  --ink: #382329;
  --muted: #65595a;
  --accent: #ae402d;
  --light-rose: #f6e5e1;
  --line: #dccfc9;
  --plum: #482432;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --italic: "Invitation Serif", Georgia, serif;
  --pen: "Wedding Pen", "Invitation Serif", Georgia, serif;
  --masthead-height: 77px;
  scroll-padding-top: var(--masthead-height);
  --gutter: clamp(1.25rem, 5vw, 5.75rem);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  scroll-behavior: auto;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p { margin: 0; }
body { line-height: 1.5; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #ba604a; outline-offset: 4px; }
.symbols, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: fixed; left: 1rem; top: -8rem; padding: .75rem; background: white; z-index: 8; }
.skip-link:focus { top: .5rem; }
.masthead {
  --bar-bg: #23332a; --bar-ink: #fff7ea; --bar-accent: #ffcf9e; --bar-line: #91a28e;
  position: fixed; inset: 0 0 auto; z-index: 6;
  color: var(--bar-ink); background-color: var(--bar-bg);
  border-bottom: 1px solid var(--bar-line);
  transition: background-color .32s ease, color .25s, border-color .25s;
}
.masthead[data-section="celebrations"] {
  --bar-bg: #faeee4; --bar-ink: #482d32; --bar-accent: #8b402f; --bar-line: #d9bba7;
}
.masthead[data-section="venue"] {
  --bar-bg: #482432; --bar-ink: #fff5ed; --bar-accent: #ffc6aa; --bar-line: #8d626f;
}
.masthead[data-section="farewell"] {
  --bar-bg: #311823; --bar-ink: #fff6eb; --bar-accent: #edc382; --bar-line: #795442;
}
.masthead :focus-visible { outline-color: var(--bar-accent); }
.nav-wrap {
  max-width: 1600px;
  min-height: 76px;
  padding-inline: var(--gutter);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.monogram { width: fit-content; display: inline-flex; align-items: center; font-weight: 650; font-size: 1.55rem; letter-spacing: -.035em; }
.monogram svg { color: var(--bar-accent); width: 24px; height: 24px; margin-right: .55rem; }
nav { display: flex; gap: clamp(1.35rem, 2.8vw, 2.8rem); }
nav a { position: relative; padding: .8rem .1rem; font-size: .9rem; color: var(--bar-ink); }
nav a[aria-current], nav a:hover { color: var(--bar-accent); }
nav a[aria-current]::after { content: ""; position: absolute; height: 1.5px; bottom: .47rem; inset-inline: .1rem; background: var(--bar-accent); }
.button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 100px;
  border: 1px solid transparent;
  min-height: 47px;
  padding: .7rem 1.5rem;
  font: 550 .93rem/1.3 var(--sans);
  transition: background .18s, color .18s, border-color .18s;
}
.button svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn-calendar { justify-self: end; color: var(--bar-ink); border-color: var(--bar-line); background: transparent; min-height: 42px; padding: .62rem 1.15rem; font-size: .875rem; }
.btn-calendar:hover { background: var(--bar-ink); color: var(--bar-bg); border-color: var(--bar-ink); }
.btn-primary { background: var(--plum); color: white; }
.btn-primary:hover { background: #652f3c; }
.hero {
  --photo-x: 3%; --photo-y: 42%;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; color: #fff9f0; background: #33222a;
  display: grid;
}
.hero-art, .hero-art img, .scene-shade, .floating-petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art { z-index: -3; overflow: hidden; }
.hero-art img { object-fit: cover; object-position: var(--photo-x) var(--photo-y); transform-origin: 61% 39%; }
.scene-shade {
  z-index: -2;
  background: linear-gradient(90deg, #21121be0 0%, #28171d9c 32%, #29141c2b 65%, transparent 88%),
              linear-gradient(0deg, #1e101bd9 0%, #25111900 32%, transparent 68%, #28131f69 100%);
}
.hero-content {
  display: grid; align-items: center; grid-template-rows: 1fr auto; width: 100%; max-width: 1600px; margin: auto;
  min-height: max(43rem, 100vh); min-height: max(43rem, 100svh);
  padding: clamp(6.5rem, 11vh, 9rem) var(--gutter) 0;
}
.hero-copy { width: min(100%, 48rem); padding: 2rem 0 3rem; }
.eyebrow { display: flex; align-items: center; gap: .72rem; color: var(--accent); font-size: .79rem; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; }
.eyebrow svg { width: 1.25rem; height: 1.25rem; }
.hero .eyebrow { color: #ffdfc4; font-weight: 550; letter-spacing: .24em; }
.dash { width: 3.5rem; height: 1px; background: currentColor; }
h1 {
  font: italic 400 clamp(4rem, 7vw, 5.35rem)/1.07 var(--italic); letter-spacing: -.035em;
  margin: 1.3rem 0 0 -.055em;
}
.name-line { display: block; }
.name-line > span { display: inline-block; }
.name-line + .name-line { margin-top: .08em; }
.welcome { max-width: 28.5rem; margin: 1.45rem 0 1.55rem; color: #fff2e8; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; }
.scene-foot { padding: 0 0 clamp(1.4rem, 3.8vh, 3rem); }
.date-folio { width: min(100%, 36rem); background: #fff4df; color: #392a29; border: 1px solid #f2d6aa; border-radius: .75rem; box-shadow: 0 7px 28px #1917103b; }
.folio-heading { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .66rem 1rem; border-bottom: 1px solid #dcc2a0; }
#folio-month { font: 400 1.26rem/1.15 var(--italic); }
.folio-place { display: inline-flex; align-items: center; gap: .28rem; font: 400 .9rem/1.28 var(--sans); color: #654d40; }
.folio-place svg { width: .98rem; height: .98rem; }
.folio-days { display: grid; grid-template-columns: 1.1fr 1fr; }
.day-ticket { position: relative; display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: 0 0 0 .7rem; transition: background-color .2s; }
.day-ticket + .day-ticket { border-left: 1px dashed #b89572; border-radius: 0 0 .7rem 0; }
.day-ticket:hover, .day-ticket:focus-visible { background: #f5e4c8; }
.day-ticket:focus-visible { outline-offset: -3px; }
.day-ticket time { flex: none; text-align: center; color: #7d3e31; }
.day-ticket time span { display: block; font: 650 .78rem/1.15 var(--sans); text-transform: uppercase; letter-spacing: .09em; }
.day-ticket time b { display: block; font: 400 2.55rem/.98 var(--italic); }
.ticket-copy { display: grid; align-content: center; gap: .28rem; }
.ticket-copy strong { font: 400 1.13rem/1.13 var(--italic); }
.ticket-copy small { color: #714532; font: 500 .875rem/1.35 var(--sans); text-underline-offset: .21em; text-decoration: underline; text-decoration-color: #ae8361; }
.day { scroll-margin-top: 1rem; }
.day:target h3 time { padding: .15em .4em; border-radius: .3rem; color: #703327; background: #f2dbbd; box-decoration-break: clone; }
.floating-petals { z-index: -1; overflow: hidden; }
.floating-petals i { display: none; position: absolute; top: -6%; left: var(--x); width: var(--size); height: calc(var(--size) * .55); border-radius: 95% 8% 90% 12%; background: linear-gradient(140deg, #fff0d6, #ffb08a 55%, #d88071); opacity: 0; }
.floating-petals i:nth-child(1) { --x: 43%; --size: 12px; --delay: -6s; --duration: 16s; }
.floating-petals i:nth-child(2) { --x: 66%; --size: 16px; --delay: -12s; --duration: 21s; }
.floating-petals i:nth-child(3) { --x: 83%; --size: 9px; --delay: -4s; --duration: 14s; }
.floating-petals i:nth-child(4) { --x: 33%; --size: 8px; --delay: -15s; --duration: 20s; }
.floating-petals i:nth-child(5) { --x: 56%; --size: 17px; --delay: -1s; --duration: 22s; }
.floating-petals i:nth-child(6) { --x: 93%; --size: 10px; --delay: -11s; --duration: 18s; }
.programme { background: #fbf1e8; border-block: 1px solid #eadbd4; }
.programme-inner, .venue-inner { max-width: 1600px; margin: auto; padding: clamp(3.75rem, 6.5vw, 7rem) var(--gutter); }
.programme-intro { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.programme-intro .section-heading { min-width: 0; }
.schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6.5vw, 7rem); margin-top: clamp(2rem, 3.5vw, 3.8rem); }
.venue-inner { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(1.8rem, 4vw, 5rem); }
h2 { font-weight: 500; font-size: clamp(2.75rem, 4.6vw, 5rem); line-height: 1; letter-spacing: -.068em; }
h2 em { font: italic 1.07em/.95 var(--italic); letter-spacing: -.055em; }
.section-heading h2, .venue-heading h2 { margin: 1.2rem 0 0 -.045em; }
.programme .eyebrow { color: #94533a; font: italic 400 1.28rem/1.25 var(--italic); letter-spacing: .02em; text-transform: none; }
.programme .eyebrow svg { width: 1rem; height: 1rem; }
.programme-intro h2 { font: italic 400 clamp(3.7rem, 6.3vw, 6.1rem)/1.04 var(--pen); letter-spacing: -.01em; color: #643540; }
.day-heading { color: #8b402f; font: italic 400 clamp(1.45rem, 2.1vw, 2.05rem)/1.22 var(--pen); padding-bottom: .45rem; border-bottom: 1px solid #d4b5a2; }
.event { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px dashed #d9bfb0; }
.event h4 { font: italic 400 clamp(1.65rem, 2.4vw, 2.3rem)/1.15 var(--italic); letter-spacing: -.02em; }
.event p { font: 400 1.06rem/1.45 var(--italic); color: var(--muted); margin-top: .26rem; }
.event-time { text-align: right; font: 400 1.12rem/1.3 var(--italic); white-space: nowrap; font-variant-numeric: tabular-nums; }
.event-time small { display: block; font: italic 400 .98rem/1.3 var(--italic); color: var(--muted); }
.venue { color: #fff7f1; background: var(--plum); overflow: hidden; }
.venue-inner { position: relative; align-items: center; isolation: isolate; }
.venue .eyebrow { color: #fbb6a7; flex-wrap: wrap; gap: .62rem; }
.venue .eyebrow [lang="ta"] { font: 400 1rem/1.5 "Venue Tamil", sans-serif; letter-spacing: normal; text-transform: none; }
.label-divider { width: 1px; height: 1rem; background: #d39f90; }
.venue-heading h2 { letter-spacing: .015em; font-kerning: none; line-height: 1.1; }
.venue-heading h2 em { color: #ffbfad; letter-spacing: -.015em; }
.venue-info { position: relative; }
.venue-info address { font: 450 clamp(1.1rem, 1.48vw, 1.5rem)/1.52 var(--sans); }
.landmark { color: #e4cbd0; font-size: .97rem; margin-top: .5rem; }
.btn-light { color: var(--plum); background: var(--paper); margin-top: 1.5rem; }
.btn-light:hover { background: #ffe2d7; }
.venue-heading { align-self: start; }
.venue-info { max-width: 29rem; }
.venue-tamil-name { margin-bottom: .28rem; font: 400 1.12rem/1.6 "Venue Tamil", sans-serif; color: #f6d1bf; }
.venue-language + .venue-language { margin-top: 1.15rem; padding-top: 1.1rem; border-top: 1px solid #e4c2b342; }
.venue-language[lang="ta"] { font-family: "Venue Tamil", sans-serif; }
.venue-language[lang="ta"] address { font: 400 clamp(1rem, 1.2vw, 1.22rem)/1.72 "Venue Tamil", sans-serif; }
.venue-language[lang="ta"] .landmark { line-height: 1.65; }
.pond-scene { position: absolute; z-index: -1; inset: 0 0 0 39%; overflow: hidden; pointer-events: none; }
.pond-painting, .pond-reflection { position: absolute; inset: 0; background: url("assets/temple-detail.webp") right center / cover no-repeat; }
.pond-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--plum) 1%, #482432f5 16%, #482432da 38%, #48243268 65%, #48243215 100%), linear-gradient(0deg, #43253456, transparent 55%); }
.pond-reflection { clip-path: inset(69% 0 0 0); transform-origin: 50% 70%; }
[data-motion="on"] .pond-reflection { animation: pond-water 6s ease-in-out infinite alternate; }
@keyframes pond-water { from { transform: scaleX(1.003) skewX(-.35deg); } to { transform: scale(1.015, 1.008) skewX(.45deg); } }
.programme-vignette { display: block; width: clamp(8.2rem, 14vw, 11.5rem); height: auto; margin: 1.2rem auto -.8rem 0; }
@font-face { font-family: "Poem Tamil"; src: url("assets/heart-tamil.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
.poem-heart { position: relative; flex: 0 0 clamp(9.5rem, 15vw, 13.3rem); aspect-ratio: 200/172; color: #863e35; }
.heart-lines { display: block; width: 100%; height: 100%; }
.heart-paper { fill: #f3e0d7; stroke: #ad6b56; stroke-width: 1.1; }
.heart-stitch { stroke: #bc8c77; stroke-dasharray: 1.8 3.2; stroke-width: .95; }
.poem-heart p { position: absolute; inset: 29% 9% auto; text-align: center; font: 400 clamp(.98rem, 1.45vw, 1.38rem)/1.37 "Poem Tamil", "Venue Tamil", serif; }
.poem-heart p span { display: block; }
.heart-thread { stroke-width: 2.35; stroke-dasharray: 100 101; }
.thread-rose { stroke: #a34349; }
.thread-gold { stroke: #bd853e; }
.heart-knot { color: #a76747; transform-box: fill-box; transform-origin: center; }
[data-motion="on"] .heart-thread { animation: stitch-outline 6.8s ease-in-out infinite; }
[data-motion="on"] .heart-knot { animation: knot-bloom 6.8s ease-in-out infinite; }
@keyframes stitch-outline {
  0% { stroke-dashoffset: 100; opacity: .1; }
  12% { opacity: 1; }
  65%, 78% { stroke-dashoffset: 0; opacity: 1; }
  98%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes knot-bloom {
  0%, 55%, 100% { transform: scale(.68); opacity: .45; }
  73% { transform: scale(1.12); opacity: 1; }
  82% { transform: scale(1); opacity: 1; }
}
.farewell {
  position: relative; isolation: isolate; overflow: hidden; min-height: clamp(17rem, 32vw, 29rem);
  display: grid; place-items: center; padding: 3rem var(--gutter);
  color: #fff2dc; text-align: center; background: #351c2a;
}
.farewell-art, .farewell-art img, .farewell-film { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.farewell-art { z-index: -2; }
.farewell-film { z-index: -1; opacity: 0; transition: opacity .45s; }
.farewell-film.is-playing { opacity: 1; }
.farewell-note { position: relative; }
.farewell-note p { max-width: min(30ch, 100%); margin-inline: auto; text-wrap: balance; font: italic 400 clamp(1.8rem, 3vw, 2.8rem)/1.1 var(--pen); color: #edc58b; margin-bottom: .5rem; }
.signatures { display: flex; gap: .35em; align-items: baseline; justify-content: center; font: italic 400 clamp(1.65rem, 2.7vw, 3.1rem)/1.16 var(--italic); letter-spacing: -.025em; }
.signatures span { white-space: nowrap; }
.signatures i { color: #e4ac83; font-size: .8em; }
@media (max-width: 820px) {
  .signatures { flex-direction: column; align-items: center; gap: .03em; font-size: clamp(1.7rem, 5.3vw, 2.6rem); }
  .signatures i { font-size: .62em; }
}
@media (max-width: 620px) {
  .farewell { min-height: clamp(18rem, 78vw, 28rem); }
}
dialog { width: min(465px, calc(100% - 24px)); max-height: 90dvh; padding: clamp(1.5rem, 4vw, 2.3rem); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 70px #35212844; }
dialog::backdrop { background: #2b1922aa; }
dialog h2 { font-size: clamp(2.25rem, 6vw, 3rem); margin: .7rem 0 .75rem; }
.close { display: grid; place-content: center; width: 44px; height: 44px; position: absolute; right: 6px; top: 6px; background: transparent; border: 0; border-radius: 50%; color: var(--ink); font: 1.9rem/1 var(--sans); cursor: pointer; }
.close:hover { background: var(--light-rose); }
.dialog-intro { color: var(--muted); line-height: 1.5; }
fieldset { border: 0; border-top: 1px solid var(--line); padding: 0; margin: 1.15rem 0 .8rem; }
fieldset label { display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid var(--line); padding: .74rem 0; cursor: pointer; }
fieldset input { width: 1.14rem; height: 1.14rem; accent-color: var(--plum); }
fieldset strong { display: block; font-size: 1.08rem; font-weight: 550; }
fieldset small, .calendar-note { font-size: .87rem; line-height: 1.5; color: var(--muted); }
#download { width: 100%; margin-top: 1.1rem; }
#download[aria-disabled="true"] { background: #75636a; cursor: default; }

@media (min-width: 721px) and (max-width: 985px) {
  .hero { --photo-x: 32%; }
  .hero-copy { align-self: end; }
  .hero-art { height: 84%; }
  .scene-shade { background: linear-gradient(90deg, #19241fd1, #19241f00 72%), linear-gradient(0deg, #241821 14%, #241821da 26%, #24182100 70%, #18201c77); }
  .venue-inner { grid-template-columns: .8fr 1.2fr; }
  .pond-scene::after { background: linear-gradient(90deg, var(--plum), #482432e8 51%, #48243274); }
}
@media (max-width: 720px) {
  :root { --masthead-height: 96px; }
  .nav-wrap { min-height: 0; grid-template-columns: 1fr auto; gap: 0 .65rem; }
  nav { grid-row: 2; grid-column: 1/-1; justify-content: center; gap: clamp(1.55rem, 9vw, 3rem); border-top: 1px solid color-mix(in srgb, var(--bar-line) 55%, transparent); }
  nav a { padding: .55rem .1rem; }
  nav a[aria-current]::after { bottom: .23rem; }
  .monogram, .btn-calendar { margin-block: .32rem; }
  .hero { --photo-x: 50%; --photo-y: 33%; background: #231a21; }
  .hero-art { height: 72%; }
  .hero-content { min-height: max(40rem, 100vh); min-height: max(40rem, 100svh); padding-top: 7.4rem; }
  .hero-copy { align-self: end; padding: 2.75rem 0 1.75rem; }
  .scene-shade { background: linear-gradient(0deg, #231a21 26%, #231a21f2 32%, #21191bc9 46%, #21191b05 70%, #1b211b80 100%); }
  h1 { font-size: clamp(1.95rem, 10.2vw, 4.5rem); margin-top: 1.25rem; }
  .welcome { max-width: 24rem; margin-block: 1.25rem; }
  .scene-foot { padding-bottom: 4.4rem; }
  .hero-content { padding-top: clamp(14rem, 34svh, 23rem); }
  .hero-copy { padding-block: 2.1rem 1.3rem; }
  .welcome { margin-bottom: 0; }
  .programme-inner, .venue-inner { padding-block: 2.85rem; }
  .programme-intro { align-items: flex-start; gap: .65rem; }
  .programme-intro h2 { font-size: clamp(2.15rem, 7.9vw, 3.75rem); line-height: 1.05; }
  .poem-heart { flex-basis: clamp(6.35rem, 27vw, 9.2rem); }
  .poem-heart p { font-size: clamp(.75rem, 2.9vw, 1.02rem); }
  .schedule { grid-template-columns: 1fr; gap: 1.85rem; }
  .venue-inner { grid-template-columns: 1fr; gap: 1.45rem; padding-bottom: 0; }
  .venue h2 br { display: none; }
  .venue h2 em::before { content: " "; }
  .section-heading h2, .venue-heading h2 { margin-top: .65rem; }
  .event { padding-block: 1rem; }
  .pond-scene { position: relative; inset: auto; margin: -.35rem calc(0px - var(--gutter)) 0; height: clamp(11rem, 41vw, 18rem); }
  .pond-scene::after { background: linear-gradient(180deg, var(--plum), #48243266 24%, #48243217 60%, #48243227); }
}
@media (max-width: 530px) {
  .folio-heading { gap: .4rem; padding: .62rem .65rem; }
  #folio-month { font-size: 1.08rem; }
  .folio-place { font-size: .8rem; }
  .folio-days { grid-template-columns: 1fr 1fr; }
  .day-ticket { align-items: flex-start; flex-direction: column; gap: .48rem; padding: .65rem .75rem .8rem; }
  .day-ticket time { display: flex; align-items: baseline; gap: .32rem; }
  .day-ticket time span { order: 1; font-size: .72rem; }
  .day-ticket time b { font-size: 2.1rem; }
  .ticket-copy { flex: 1; align-content: initial; grid-template-rows: 1fr auto; }
  .ticket-copy strong { font-size: 1rem; }
}
@media (max-width: 365px) {
  .event { gap: .5rem; }
  .event-time { font-size: 1rem; }
  .event h4 { font-size: 1.48rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::after, *::before { transition: none !important; }
  .farewell-film { display: none; }
}

/* Content is visible by default. Animation is progressively enabled by the guest's preference. */
html[data-motion="on"] { scroll-behavior: smooth; }
[data-motion="on"] .hero-art img { animation: camera-drift 26s ease-in-out infinite alternate; }
[data-motion="on"] .floating-petals i { display: block; animation: petal-fall var(--duration) var(--delay) linear infinite; }
[data-motion="on"] .name-line { overflow: hidden; padding: .07em .08em .14em; margin: -.07em -.08em -.14em; }
[data-motion="on"] .name-line > span { animation: name-enter 1.1s cubic-bezier(.16,.8,.22,1) both; }
[data-motion="on"] .name-line:nth-child(2) > span { animation-delay: .14s; }
[data-motion="on"] .hero .eyebrow, [data-motion="on"] .welcome { animation: soft-enter .8s ease-out both; }
[data-motion="on"] .welcome { animation-delay: .29s; }

[data-motion="on"] [data-reveal] { transition: transform .85s cubic-bezier(.18,.74,.26,1), opacity .7s ease; }
[data-motion="on"] .awaiting-reveal:not(:focus-within) { opacity: 0; transform: translateY(22px); }
[data-motion="on"] .day.awaiting-reveal:not(:focus-within) { transform: none; }
[data-motion="on"] dialog[open] { animation: soft-enter .28s ease-out; }
@keyframes camera-drift { from { transform: scale(1); } to { transform: scale(1.065); } }
@keyframes name-enter { from { opacity: .15; transform: translateY(96%); } to { opacity: 1; transform: translateY(0); } }
@keyframes soft-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes petal-fall {
  0% { opacity: 0; transform: translate3d(0,0,0) rotate(12deg); }
  18% { opacity: .6; }
  42% { transform: translate3d(-3vw,44vh,0) rotate(133deg) scaleX(.65); }
  72% { opacity: .53; transform: translate3d(1vw,75vh,0) rotate(232deg) scaleX(.85); }
  100% { opacity: 0; transform: translate3d(-5vw,112vh,0) rotate(349deg); }
}


.sound-toggle { position: fixed; z-index: 4; bottom: max(.88rem, env(safe-area-inset-bottom)); right: max(.88rem, env(safe-area-inset-right)); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #f1cfb9a3; border-radius: 50%; background: #3e252e; color: #fff2df; box-shadow: 0 2px 12px #25171e3d; cursor: pointer; }
.sound-toggle[hidden], .sound-toggle[data-sounding="false"] .sound-waves, .sound-toggle[data-sounding="true"] .sound-cross { display: none; }
.sound-toggle:hover { background: #603847; }
.sound-toggle:focus-visible { outline-color: #ffa978; }
.sound-toggle svg { width: 20px; height: 20px; }
.sound-hint { display: none; }
.sound-toggle[data-hint="true"] { width: auto; min-width: 44px; display: flex; gap: .55rem; align-items: center; padding-inline: .95rem .7rem; border-radius: 2rem; }
.sound-toggle[data-hint="true"] .sound-hint { display: inline; font: 550 .875rem/1.15 var(--sans); white-space: nowrap; }
