:root {
  color-scheme: light;
  --paper: #f8f3e8;
  --ink: #352b2a;
  --rule: #d3c3ab;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Baskerville, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
body.theme-haveli { --cover: #481f29; --deep: #301821; --accent: #814034; --gold: #dda97b; }
body.theme-marigold { --cover: #38472f; --deep: #22342c; --accent: #60652c; --gold: #e3bd77; }
body.theme-backwaters { --cover: #214746; --deep: #153435; --accent: #346251; --gold: #c2cba1; }
body.theme-deccan { --cover: #26354b; --deep: #182435; --accent: #3e4b69; --gold: #d9b887; }
body.theme-letter { --cover: #61383c; --deep: #442c31; --accent: #824749; --gold: #e8bf99; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a44610; outline-offset: 4px; }
.skip:focus-visible, .farewell :focus-visible { outline-color: #ffdd93; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 8; inset: 10px auto auto 10px; transform: translateY(-180%); background: #fff2db; color: #39222b; padding: .65rem 1rem; border-radius: 4px; }
.skip:focus-visible, .opening-now .skip { transform: none; }
.sample-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(20px, 5vw, 76px); background: var(--deep); color: #fff8eb; font-size: .83rem; }
.sample-nav a, .languages a { display: inline-flex; align-items: center; min-height: 44px; }
.sample-nav a { font-weight: 650; text-decoration-color: var(--gold); }
.sample-nav :focus-visible { outline-color: #fff4cd; }
.opening { --stock: #faf2df; position: relative; overflow: clip; background: var(--stock); color: var(--deep); }
.sample-nav + .opening { --sample-bar: 44px; }
.cover-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: max(560px, calc(100svh - var(--sample-bar,0px))); }
.stage { min-width: 0; position: relative; overflow: hidden; background: var(--cover); }
.cover-type { display: flex; flex-direction: column; position: relative; min-width: 0; padding: 0 clamp(28px,5vw,100px); border-inline-start: 5px solid var(--cover); }
.cover-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(10px,2.5vh,24px) 0; border-bottom: 1px solid var(--rule); }
.monogram, .paper-slip i { font-style: italic; }
.monogram { font: italic 1.55rem/1 var(--serif); color: var(--accent); }
.monogram small, .paper-slip small { padding: 0 .16em; font-size: .72em; }
.languages { display: flex; align-items: center; gap: .9rem; }
.languages a { min-width: 44px; justify-content: center; font-size: .85rem; color: var(--accent); text-decoration: none; }
.languages a[aria-current] { font-weight: 650; text-decoration: underline; text-underline-offset: .35em; }
.cover-letter { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(36px, 6vw, 90px) 0; min-width: 0; }
.overline { font: 650 .73rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .18em; color: var(--accent); }
.cover-type h1 { width: 100%; font: normal clamp(3.45rem, 7.3vw, 8rem)/.98 var(--serif); margin: 1.3rem 0 0; letter-spacing: -.055em; overflow-wrap: anywhere; text-wrap: balance; }
.name { display: block; }
.name.long { font-size: .68em; }
.name.very-long { font-size: .48em; }
.amp { display: flex; align-items: center; justify-content: center; gap: .65em; color: var(--accent); margin: .1em auto; font-size: .43em; }
.amp b { font-weight: normal; font-style: italic; }
.amp i { width: 1em; height: 1px; background: var(--rule); }
.cover-date { margin: 1.45rem 0 0; font: italic 1.22rem/1.5 var(--serif); }
.cover-place { margin: .2rem 0 0; color: var(--accent); font-size: .93rem; overflow-wrap: anywhere; max-width: 100%; }
.entry { margin-top: clamp(24px,4vh,42px); }
.open-button, .solid { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .63rem 1.4rem; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-weight: 650; }
.open-button { color: #fff7ea; background: var(--cover); }
.open-button:hover { background: var(--deep); }
.quiet-row { margin: .35rem 0 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .42rem; color: #62564b; font-size: .79rem; }
.quiet-row i { font-style: normal; }
.quiet-row a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--accent); }
.music-switch { position: fixed; z-index: 5; right: 18px; bottom: max(16px, env(safe-area-inset-bottom)); border: 1px solid #b99d7f; border-radius: 40px; color: #422e2d; background: #fffaef; box-shadow: 0 2px 8px #2c21112b; min-height: 42px; padding: .48rem .9rem; display: flex; align-items: center; gap: .45rem; }
.music-switch span { color: var(--accent); }
.music-switch b { font: 600 .82rem/1.25 var(--sans); }

/* The five openings use licensed location photographs and live, selectable type. */
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-haveli .cover-photo { object-position: 50% 52%; }
.opening-now.theme-haveli .cover-photo, .opening-now.theme-deccan .cover-photo { animation: enter-scene 1.5s cubic-bezier(.3,0,.28,1) forwards; }
@keyframes enter-scene { to { transform: scale(1.11); } }
.opening-now.theme-haveli .photographic::after { content: ""; position: absolute; inset: 0; background: url("/create/art/jaipur-arcade.webp") center / cover no-repeat; animation: courtyard-view 1.5s ease-in-out both; }
@keyframes courtyard-view { 0%,32% { opacity: 0; transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }
.theme-marigold .cover-photo { object-position: center 45%; }
.opening-now.theme-marigold .cover-photo { animation: lift-garlands 1.5s ease-in-out forwards; }
@keyframes lift-garlands { to { transform: scale(1.12) translateY(-4%); } }
.opening-now.theme-backwaters .cover-photo { animation: river-glide 1.5s ease-in-out forwards; }
@keyframes river-glide { to { transform: scale(1.12) translateX(4%); } }
.theme-letter .photographic { display: grid; place-items: center; }
.paper-slip { position: relative; display: grid; place-items: center; width: 55%; min-height: 44%; padding: 1rem; background: #fffae9; border: 1px solid #d1b58c; outline: 1px solid #be9478; outline-offset: -8px; box-shadow: 0 7px 19px #3d253638; transform: rotate(-4deg); }
.paper-slip i { font: italic clamp(2rem,5vw,6.5rem)/1.3 var(--serif); color: var(--accent); }
.opening-now .paper-slip { animation: lift-letter 1.5s ease-in-out forwards; }
@keyframes lift-letter { to { transform: rotate(0deg) translateY(-7%) scale(1.05); } }

/* Earlier invitations retain the cover and motion selected when they were published. */
.theme-haveli .legacy { --art: url("/create/art/haveli.webp"); --focus: 57%; }
.theme-marigold .legacy { --art: url("/create/art/marigold.webp"); --focus: 48%; }
.theme-backwaters .legacy { --art: url("/create/art/backwaters.webp"); --focus: 56%; }
.theme-deccan .legacy { --art: url("/create/art/deccan.webp"); --focus: 52%; }
.theme-letter .legacy { --art: url("/create/art/letter.webp"); --focus: 43%; }
.legacy .plate, .legacy .painting { position: absolute; inset: 0; overflow: hidden; }
.legacy .canvas { position: absolute; width: 100%; aspect-ratio: 342 / 876; top: 50%; transform: translateY(calc(-1 * var(--focus))); }
.legacy .canvas > span { position: absolute; inset: 0; }
.legacy .paint { background: var(--art) center / 100% 100% no-repeat; }
/* Each moving layer is registered to its original painted portrait. */
.door-left { clip-path: polygon(21.3% 84.9%, 21.5% 55%, 23.5% 53%, 25% 50%, 26% 46.8%, 28% 45%, 31% 43.6%, 32% 41.6%, 38% 40.6%, 40% 39.5%, 49% 38.2%, 53.7% 36.9%, 54.8% 37.8%, 54.8% 84.9%); transform-origin: 21% 65%; }
.door-right { clip-path: polygon(54.3% 37.7%, 55.1% 37%, 58% 38.5%, 64% 39.7%, 68% 40.6%, 73% 41%, 74.5% 42.3%, 78% 43.5%, 79% 45.2%, 82.5% 47%, 83.2% 51%, 85% 54.3%, 85.7% 84.9%, 54.3% 84.9%); transform-origin: 86% 65%; }
.threshold { clip-path: polygon(21.6% 84.4%,22% 54%,25.6% 48%,30% 44%,37% 41.6%,45% 39.6%,54.5% 37.8%,62% 39.8%,71% 42%,80.5% 46.8%,84.7% 55%,85% 84.4%); background: linear-gradient(#40251922,#37230d11), url("/create/art/marigold.webp") 50% 77% / 100% 145% no-repeat; opacity: 0; }
.opening-now .threshold { opacity: 1; }
.opening-now .door-left { animation: door-left 1.42s cubic-bezier(.34,.05,.15,1) forwards; }
.opening-now .door-right { animation: door-right 1.46s cubic-bezier(.34,.05,.15,1) forwards; }
@keyframes door-left { to { transform: perspective(500px) rotateY(-80deg); filter: brightness(.68); } }
@keyframes door-right { to { transform: perspective(500px) rotateY(80deg); filter: brightness(.68); } }
.garland-left { clip-path: polygon(0 0,56% 0,57% 30%,46% 39%,39% 39%,39% 61%,32% 61%,31% 44%,17% 45%,14% 54%,0 54%); transform-origin: 0 15%; }
.garland-right { clip-path: polygon(51% 0,100% 0,100% 56%,90% 55%,88% 45%,79% 50%,78% 43%,64% 44%,50% 44%); transform-origin: 100% 12%; }
.falling-petals { opacity: 0; background: radial-gradient(ellipse 4px 2px at 16% 32%,#ffd074 90%,transparent),radial-gradient(ellipse 3px 6px at 41% 39%,#ff9921 90%,transparent),radial-gradient(ellipse 4px 3px at 52% 34%,#fbc26b 90%,transparent),radial-gradient(ellipse 4px 2px at 74% 39%,#f49c28 90%,transparent),radial-gradient(ellipse 2px 5px at 86% 36%,#ffd98d 90%,transparent); }
.opening-now.theme-marigold .landscape { animation: courtyard 1.45s ease-out forwards; }
.opening-now .garland-left { animation: garland-left 1.35s ease-in-out forwards; }
.opening-now .garland-right { animation: garland-right 1.4s ease-in-out forwards; }
.opening-now .falling-petals { animation: petals 1.48s ease-in forwards; }
@keyframes courtyard { to { transform: translateY(-12%) scale(1.18); } }
@keyframes garland-left { to { transform: translate(-20%,-12%) rotate(22deg); opacity: .12; } }
@keyframes garland-right { to { transform: translate(20%,-12%) rotate(-19deg); opacity: .12; } }
@keyframes petals { 12% { opacity: .9; } 95% { opacity: 1; } to { opacity: 0; transform: translate(4%,27%); } }
.river-light { opacity: 0; mask-image: linear-gradient(to bottom,transparent 51%,#000 54.6%,#000 61%,transparent 73%); }
.river-light::after { content: ""; position: absolute; inset: 51% 0 27%; background: var(--art) 19% 57.5% / 400% 2050%; }
.boat { clip-path: polygon(7% 55.2%,11.5% 55.5%,13% 57.7%,17% 58.5%,26% 59.1%,43.5% 59.2%,44% 56.4%,46% 55.4%,50% 54.8%,75% 54.7%,80% 55.4%,82% 57%,80% 57.3%,80% 59.1%,99% 58.6%,100% 58.2%,100% 60.5%,83% 61.1%,19% 61%,12% 60.1%,9% 58.7%); }
.opening-now .river-light { opacity: 1; }
.opening-now .boat { animation: river-crossing 1.52s cubic-bezier(.38,.04,.4,.96) forwards; }
@keyframes river-crossing { 40% { transform: translate(-10%,-.12%) rotate(-.3deg); } to { transform: translate(-75%,.25%); } }
.stars { opacity: 0; background: radial-gradient(circle at 49% 13%,#fff8dc 0 1px,transparent 2px), radial-gradient(circle at 65% 7%,#ffebbb 0 2px,transparent 3px),radial-gradient(circle at 80% 20%,#fff 0 1px,transparent 2px),radial-gradient(circle at 32% 25%,#fffdf5 0 1px,transparent 2px); }
.jali-light { opacity: 0; clip-path: polygon(67% 44%,82% 42%,87% 58%,65% 59%); background: radial-gradient(ellipse at 77% 51%, #fbd18590, transparent 21%); mix-blend-mode: screen; }
.opening-now.theme-deccan .canvas { animation: upward-gaze 1.52s ease-in-out forwards; }
.opening-now .stars { animation: starlight 1.45s ease-in-out forwards; }
.opening-now .jali-light { animation: lamplight 1.46s ease-in-out forwards; }
@keyframes upward-gaze { to { transform: translateY(-32%) scale(1.04); } }
@keyframes starlight { 18% { opacity: .18; } 64% { opacity: 1; } to { opacity: .7; } }
@keyframes lamplight { 25% { opacity: .85; } to { opacity: .15; transform: translateX(-2%); } }
.stationery { clip-path: polygon(1.7% 17.3%,86.2% 12.6%,96% 43.9%,51% 58.1%,8.9% 43.5%); }
.stationery { background: linear-gradient(122deg,#e6d4b9,#f4e3c7 46%,#d1b9a0); opacity: 0; }
.folded-letter { clip-path: polygon(2% 17.5%,85.8% 12.9%,102% 66%,14% 72%); transform-origin: 50% 50%; }
.folded-letter::before { content: ""; position: absolute; inset: 0; clip-path: polygon(0 39%,51% 57%,100% 40.6%,100% 77%,0 77%); background: var(--art) 0 0 / 560% 1450%; }
.folded-letter b { position: absolute; top: 29.5%; left: 17%; width: 66%; text-align: center; font: italic 2.6rem/1 var(--serif); letter-spacing: -.06em; color: #925448; transform: rotate(-7deg); }
.envelope-flap { clip-path: polygon(0 40.6%,51% 58.2%,100% 41.2%,100% 79.8%,0 83%); }
.opening-now .stationery { opacity: 1; }
.opening-now .folded-letter { animation: unfold 1.48s cubic-bezier(.45,.05,.2,1) forwards; }
.opening-now.theme-letter .canvas { animation: follow-letter 1.48s ease-in-out forwards; }
@keyframes follow-letter { to { transform: translateY(-35%); } }
@keyframes unfold { 60% { transform: translate(-1%,-6%) rotate(-3deg); } to { transform: translate(2%,-10%) perspective(900px) rotateX(8deg) rotate(2deg); } }

.panel { --gutter: max(clamp(24px,6vw,100px), calc((100% - 1160px)/2)); padding: clamp(48px,6.6vw,102px) var(--gutter); }
.panel h2, .farewell b { font: normal clamp(2.6rem,5.4vw,5.65rem)/1.06 var(--serif); color: var(--accent); letter-spacing: -.05em; text-wrap: balance; margin: 0; }
#welcome:focus { outline: none; }
.inside-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 clamp(.95rem,3.4vw,3rem); padding: .35rem 20px; background: var(--deep); color: #fff6e8; }
.inside-nav a, .event-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .91rem; font-weight: 600; }
.inside-nav a { text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
.inside-nav a:hover, .inside-nav a:focus-visible { text-decoration: underline; }
.inside-nav a:focus-visible { outline-color: var(--gold); }
.welcome, .reply { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0,1.2fr); gap: clamp(32px,8vw,112px); }
.welcome { align-items: center; }
.greeting, .note p, .farewell p, .signature { white-space: pre-line; overflow-wrap: anywhere; }
.greeting { font: 1.45rem/1.55 var(--serif); margin: 0; text-wrap: pretty; }
.signature { font: italic 1.12rem/1.5 var(--serif); color: var(--accent); margin: 1rem 0 0; }
.story { background: var(--cover); color: #fff7e7; padding-block: clamp(28px,4.5vw,68px); }
.story-letter { margin: 0 auto; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); padding: clamp(28px,5vw,74px) clamp(20px,7vw,118px); text-align: center; }
.story-letter h2 { color: var(--gold); font: italic clamp(2rem,4vw,3.65rem)/1.15 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
.story-letter p { margin: 1.3rem auto; max-width: 34em; font: normal clamp(1.18rem,2.2vw,2.12rem)/1.55 var(--serif); white-space: pre-line; overflow-wrap: anywhere; text-wrap: pretty; }
.story-signature { margin-top: 1.65rem; font: italic 1.22rem/1.45 var(--serif); color: var(--gold); overflow-wrap: anywhere; }
.programme { background: color-mix(in srgb, var(--accent) 7%, var(--paper)); border-block: 1px solid var(--rule); }
.programme-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 2rem; margin-bottom: clamp(24px,3.5vw,50px); }
.programme-heading > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.programme-heading p { color: #61564d; font-size: .91rem; margin: .5rem 0 0; }
.programme-download { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 650; text-underline-offset: .25em; }
.programme-day { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.8fr); column-gap: clamp(24px,5vw,78px); border-top: 1px solid var(--accent); padding-block: clamp(20px,2vw,32px); }
.programme-day > h3 { color: var(--deep); font: normal 1.13rem/1.5 var(--serif); margin: 0; overflow-wrap: anywhere; }
.programme-day > h3 span { display: block; font: italic clamp(1.9rem,3.1vw,3rem)/1.2 var(--serif); color: var(--accent); }
.programme-day ol { padding: 0; margin: 0; list-style: none; }
.event { display: grid; grid-template-columns: minmax(5.25rem,auto) minmax(0,1fr); column-gap: clamp(15px,3vw,46px); }
.event + .event { border-top: 1px solid var(--rule); margin-top: .75rem; padding-top: 1.15rem; }
.event .when { font-variant-numeric: tabular-nums; font-weight: 650; margin: .32rem 0 0; color: var(--accent); }
.event-main { grid-column: 2; min-width: 0; }
.event h4, .note h3 { color: var(--deep); font: normal clamp(1.65rem,2.7vw,2.65rem)/1.15 var(--serif); margin: 0 0 .5rem; letter-spacing: -.035em; overflow-wrap: anywhere; }
.when, .venue, .address { margin: .2rem 0; overflow-wrap: anywhere; }
.when, .address { color: #554d46; font-size: .94rem; }
.venue { font-weight: 650; margin-top: .6rem; }
.address { white-space: pre-line; }
.event-links { display: flex; flex-wrap: wrap; gap: 0 1.45rem; color: var(--accent); margin-top: .14rem; }
.gallery { padding-bottom: clamp(40px,5vw,68px); }
.gallery > div, .guide-entries { display: grid; gap: clamp(15px,2.6vw,36px); margin-top: clamp(24px,3.5vw,48px); }
.gallery > div { grid-template-columns: repeat(auto-fit,minmax(min(100%, 230px),1fr)); }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { display: block; width: 100%; max-height: 520px; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--x,50%) var(--y,50%); }
.guide, .reply { border-top: 1px solid var(--rule); }
.guide-entries { grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); }
.note { min-width: 0; border-top: 2px solid var(--accent); padding-top: 18px; }
.note h3 { font-size: clamp(1.6rem,2.2vw,2.05rem); }
.note p { margin: .8rem 0 0; line-height: 1.7; }
.reply { background: color-mix(in srgb, var(--accent) 5%, var(--paper)); }
.reply-intro p { max-width: 32ch; font-size: 1rem; color: #554c43; }
.fx-0 { --x: 0%; } .fx-1 { --x: 10%; } .fx-2 { --x: 20%; } .fx-3 { --x: 30%; } .fx-4 { --x: 40%; } .fx-5 { --x: 50%; } .fx-6 { --x: 60%; } .fx-7 { --x: 70%; } .fx-8 { --x: 80%; } .fx-9 { --x: 90%; } .fx-10 { --x: 100%; }
.fy-0 { --y: 0%; } .fy-1 { --y: 10%; } .fy-2 { --y: 20%; } .fy-3 { --y: 30%; } .fy-4 { --y: 40%; } .fy-5 { --y: 50%; } .fy-6 { --y: 60%; } .fy-7 { --y: 70%; } .fy-8 { --y: 80%; } .fy-9 { --y: 90%; } .fy-10 { --y: 100%; }
@supports (object-position: calc(attr(data-x type(<number>), 50) * 1%) 50%) {
  .gallery img { object-position: calc(attr(data-x type(<number>), 50) * 1%) calc(attr(data-y type(<number>), 50) * 1%); }
}
.reply form { text-align: left; width: min(100%, 475px); margin: 0 auto; }
.reply fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.reply form > fieldset > label, .reply legend { font-weight: 600; font-size: .94rem; }
.reply input:not([type="radio"]), .reply textarea { display: block; width: 100%; background: #fffaf2; color: var(--ink); border: 1px solid #a48e72; border-radius: 4px; padding: .6rem .8rem; margin-top: .35rem; }
.reply textarea { resize: vertical; }
.reply .attendance { margin: 1.1rem 0; }
.attendance label { display: inline-flex; align-items: center; gap: .4rem; font-size: .94rem; margin-right: 1.2rem; min-height: 43px; }
.attendance input { margin: 0; width: 1rem; height: 1rem; accent-color: var(--accent); }
.solid { background: var(--accent); color: white; margin-top: 1rem; }
.reply-status { margin: .6rem 0 0; color: var(--accent); font-weight: 600; }
.reply-link { width: min(100%,475px); margin: .55rem auto 0; text-align: left; font-size: .9rem; }
.reply-link summary { cursor: pointer; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; padding: .5rem 0; }
.reply-link p { margin: .2rem 0 .6rem; }
.reply-link button { margin: .5rem .65rem 0 0; border: 1px solid var(--rule); padding: .48rem .85rem; border-radius: 3px; background: #fffaf2; color: var(--accent); }
.farewell { padding: 58px 28px 90px; text-align: center; background: var(--deep); color: #faead8; }
.farewell b { color: var(--gold); }
.farewell p { max-width: 620px; margin: 1.4rem auto .7rem; font: italic 1.25rem/1.6 var(--serif); }
.farewell b { display: block; font-size: clamp(2rem,3.5vw,3rem); overflow-wrap: anywhere; }
.farewell > a { display: inline-block; margin: 1rem .8rem 0; padding: .65rem 0; font-size: .87rem; }
.credit { margin-top: 2rem; font-size: .76rem; color: #e2cfb8; }
:lang(hi) .overline, :lang(hi) .cover-date { letter-spacing: normal; }
:lang(hi) .name { line-height: 1.28; }
:lang(hi) .amp { font-size: .3em; }
@media (max-width: 680px) {
  .cover-body { display: flex; flex-direction: column; min-height: calc(100svh - var(--sample-bar,0px)); }
  .stage { flex: none; height: clamp(185px, 44svh, 440px); }
  .cover-type { flex: 1; border-left: none; border-top: 4px solid var(--cover); padding: 0 clamp(22px,6vw,38px); }
  .cover-top { padding: 2px 0; min-height: 44px; }
  .monogram { font-size: 1.25rem; }
  .cover-letter { padding: clamp(25px,4svh,42px) 0 clamp(20px,3svh,36px); }
  .cover-type h1 { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: .13em; row-gap: .12em; margin-top: .75rem; font-size: clamp(2.8rem,11.8vw,4.9rem); line-height: 1.08; }
  .name { max-width: 100%; }
  .amp { margin: 0; align-self: center; }
  .amp i { display: none; }
  .cover-date { margin-top: .75rem; font-size: 1.04rem; }
  .entry { margin-top: 1.2rem; }
  .quiet-row { margin-top: .1rem; }
  .inside-nav { gap: 0 1.1rem; padding-inline: 16px; }
  .inside-nav a { font-size: .85rem; }
  .welcome, .programme, .reply { display: block; }
  .welcome-letter, .reply-body { margin-top: 1.4rem; }
  .programme-day { display: block; }
  .programme-day > h3 { margin-bottom: 1rem; }
  .greeting { font-size: 1.22rem; }
  .gallery > div { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .gallery > div > figure:first-child { grid-column: 1/-1; }
  .gallery > div > figure:first-child:nth-last-child(2) { grid-column: auto; }
  .music-switch { right: 12px; }
}
@media (max-width: 430px) {
  .event { display: block; }
  .event .when { display: block; margin: 0 0 .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
[data-still="true"] * { animation: none !important; }
@media print {
  .skip, .entry, .sample-nav, .music-switch, .inside-nav, .languages, .reply form, .farewell a { display: none !important; }
  .opening { min-height: 0; color: #392c27; background: none; }
  .cover-body { display: block; padding: 12px; }
  .stage, .cover-top { display: none; }
  .cover-type h1 { font-size: 2.5rem; }
  .panel { padding: 20px 0; }
  .event, .gallery figure { break-inside: avoid; }
  .farewell { background: none; color: #392c27; padding: 20px; }
}
