/* Laal Parda. The stage (glitter canvas over two velvet curtain halves over a spotlit first dance) ->
   rooms that alternate dark, satin, night and ivory paper with gold lace at the seams:
   letter from a lace envelope, flip calendar, the evening, where + every function, dress code, notes, reply. */

:root {
  --ox: #0d0304;
  --night: #12060a;
  --velvet: #7a0a0f;
  --ruby: #a80f14;
  --cream: #f3ddb0;
  --gold: #c9a24a;
  --gold-ink: #94681c;
  --ivory: #f6eedd;
  --ink: #5a3a1c;

  --f-script: "Great Vibes", "Pinyon Script", "Snell Roundhand", cursive;
  --f-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --f-caps: "Jost", "Avenir Next", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --brass: linear-gradient(100deg, #c98a3a 0%, #f1ce7a 42%, #dcab57 58%, #c98a3a 100%);

  --fx-bg: var(--ivory);
  --fx-music-bg: #3a070b; --fx-music-ring: #c9a24a; --fx-music-ink: #f3ddb0;
}

html { scroll-behavior: smooth; background: var(--ox); }
html.shut { overflow: hidden; }
body { background: var(--ox); color: var(--cream); font: 500 18px/1.55 var(--f-serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { display: block; }

/* =================================================================== THE STAGE */

.stage { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--ox); isolation: isolate; }
.stage__set { position: absolute; inset: 0; overflow: hidden; }
.stage__img {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0; height: 100%; width: max(100%, 56svh); max-width: none;
  object-fit: cover; object-position: 50% 100%; transform-origin: 50% 86%;
  animation: pdSway 16s ease-in-out infinite alternate;
}
@keyframes pdSway { from { transform: scale(1) rotate(-.25deg); } to { transform: scale(1.05) rotate(.3deg); } }
/* a second, slower beam that sweeps through the haze */
.stage__beam {
  position: absolute; left: 50%; top: -12%; width: 190vmax; height: 190vmax; translate: -50% 0; pointer-events: none;
  background: conic-gradient(from 150deg at 50% 0, transparent 0deg, rgba(255, 214, 150, .1) 10deg, rgba(255, 228, 180, .06) 20deg, transparent 30deg);
  mix-blend-mode: screen; transform-origin: 50% 0; animation: pdBeam 11s ease-in-out infinite alternate;
}
@keyframes pdBeam { from { transform: rotate(-16deg); opacity: .5; } to { transform: rotate(22deg); opacity: 1; } }
.stage__ring {
  position: absolute; left: 50%; bottom: 3%; width: min(88%, 50svh); height: 13%; translate: -50% 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 90, 42, .5), rgba(255, 90, 42, 0) 70%);
  mix-blend-mode: screen; animation: pdGlow 3.6s ease-in-out infinite alternate;
}
@keyframes pdGlow { from { opacity: .35; } to { opacity: .95; } }
/* dust in the light: one dot, many shadows, drifting up */
.stage__dust { position: absolute; left: 50%; top: 58%; width: 2px; height: 2px; border-radius: 50%; color: #ffe9d0; pointer-events: none; }
.stage__dust--a {
  box-shadow: -120px -30px 0 0, -84px 40px 1px 0, -52px -90px 0 0, -20px 20px 0 0, 14px -60px 1px 0, 40px 60px 0 0, 66px -20px 0 0, 96px 90px 1px 0, 128px -70px 0 0, -140px 110px 0 0, -8px 130px 0 0, 150px 30px 0 0, -100px -140px 0 0, 60px -150px 0 0;
  animation: pdDust 13s linear infinite;
}
.stage__dust--b {
  box-shadow: -132px 64px 0 0, -70px -44px 1px 0, -36px 96px 0 0, 2px -24px 0 0, 30px 108px 0 0, 58px 12px 1px 0, 88px -96px 0 0, 118px 48px 0 0, -112px 6px 0 0, -16px -120px 0 0, 142px -34px 0 0, 76px 140px 0 0;
  animation: pdDust 17s linear -6s infinite; opacity: .7;
}
@keyframes pdDust {
  0% { transform: translate(-8px, 46px); opacity: 0; } 15% { opacity: .9; } 50% { opacity: .35; } 80% { opacity: .9; }
  100% { transform: translate(16px, -70px); opacity: 0; }
}

/* the playbill: who, when, where */
.bill { position: absolute; z-index: 1; left: 0; right: 0; top: calc(8.5svh + env(safe-area-inset-top)); padding: 0 46px; text-align: center; }
.bill__line { font: italic 500 clamp(16px, 4.6vw, 19px)/1.3 var(--f-serif); color: rgba(243, 221, 176, .86); }
.bill__names { margin: 1.4svh 0 1.6svh; font: 400 min(clamp(58px, min(18.5vw, 10.5svh), 96px), calc(160vw / var(--n, 5)))/.98 var(--f-script); color: #fbe9c4; text-shadow: 0 0 22px rgba(255, 196, 120, .55), 0 0 2px rgba(255, 230, 190, .6); }
.bill__names span, .bill__names i { display: block; }
.bill__names span { padding: 0 .1em; }
.bill__names i { font: italic 400 .36em/1.5 var(--f-serif); color: var(--gold); text-shadow: none; }
.bill__date { margin-top: 2.2svh; font: 500 clamp(19px, 5.6vw, 24px)/1 var(--f-serif); letter-spacing: .34em; margin-right: -.34em; color: var(--cream); }
.bill__place { margin-top: 1.6svh; font: 600 16px/1.35 var(--f-serif); letter-spacing: .08em; color: rgba(243, 221, 176, .92); }
.bill__place span { display: block; font-weight: 500; font-style: italic; letter-spacing: 0; color: rgba(243, 221, 176, .72); }
.bill [style] { opacity: 0; translate: 0 18px; transition: opacity 1.3s var(--ease), translate 1.3s var(--ease); transition-delay: calc(1.25s + var(--i) * .2s); }

.stage__scroll {
  position: absolute; z-index: 1; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); translate: -50% 0; min-height: 44px; padding: 6px 14px 0;
  display: grid; justify-items: center; gap: 5px; text-decoration: none;
  font: 500 10px/1 var(--f-caps); letter-spacing: .3em; text-transform: uppercase; color: rgba(243, 221, 176, .7);
  opacity: 0; transition: opacity 1s 3.2s;
}
.stage__scroll i { width: 1px; height: 22px; background: linear-gradient(var(--gold), transparent); animation: pdDrop 2s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes pdDrop { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* the two halves of the curtain; parted, they gather into swags at the edges */
.curtain {
  position: absolute; z-index: 3; top: -3%; bottom: -3%; width: 50.5%; pointer-events: none;
  transition: transform 2.3s cubic-bezier(.62, .02, .18, 1), filter 2.3s;
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}
.curtain::before { content: ""; position: absolute; inset: 0; background: #5a080c url(media/curtain.webp) center / cover; }
.curtain::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 22%, transparent 78%, rgba(255, 200, 150, .1) 96%, rgba(0, 0, 0, .25)); }
.curtain--l { left: 0; transform-origin: 0 50%; }
.curtain--r { right: 0; transform-origin: 100% 50%; }
.curtain--r::before { transform: scaleX(-1); }
.stage__pelmet {
  position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: calc(26px + env(safe-area-inset-top)); pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .34) 0 5px, rgba(255, 120, 110, .1) 11px, rgba(0, 0, 0, .34) 22px),
    linear-gradient(#3a0508, #6e090e);
  border-bottom: 2px solid #a8802f; box-shadow: 0 8px 22px rgba(0, 0, 0, .6);
}
:is(html:not(.js) .stage, .stage[data-phase="parting"], .stage[data-phase="open"]) .curtain--l { transform: scaleX(.2) skewY(-2.5deg); filter: drop-shadow(14px 0 18px rgba(0, 0, 0, .7)); }
:is(html:not(.js) .stage, .stage[data-phase="parting"], .stage[data-phase="open"]) .curtain--r { transform: scaleX(.2) skewY(2.5deg); filter: drop-shadow(-14px 0 18px rgba(0, 0, 0, .7)); }
:is(html:not(.js) .stage, .stage[data-phase="parting"], .stage[data-phase="open"]) .bill [style] { opacity: 1; translate: 0 0; }
:is(html:not(.js) .stage, .stage[data-phase="open"]) .stage__scroll { opacity: 1; }
.stage.instant *, .stage.instant *::before { transition: none !important; }

/* ---- the glitter ---- */
.glit { position: absolute; inset: 0; z-index: 5; }
html:not(.js) .glit, .glit.gone { display: none; }
.stage[data-phase="open"] .glit { pointer-events: none; }
.glit canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.glit__base {
  /* until the canvas is painted (and if it never is): a ruby field */
  background: radial-gradient(120% 80% at 50% 30%, #c2161c, #8a0b12 55%, #5e060b);
  transition: opacity 1s ease-out, transform 1.2s ease-out, filter 1s;
}
.glit__base.painted { background: none; }
.glit__pad { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; touch-action: none; cursor: grab; -webkit-tap-highlight-color: transparent; }
.glit__pad:focus-visible { outline: 2px solid var(--cream); outline-offset: -8px; }
.glit__copy {
  position: absolute; inset: 0; padding: calc(11svh + env(safe-area-inset-top)) 30px calc(132px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none;
  color: #fff3dc; text-shadow: 0 1px 2px rgba(60, 0, 4, .9), 0 0 14px rgba(70, 0, 6, .85), 0 0 30px rgba(70, 0, 6, .6);
  transition: opacity .6s;
}
.glit__to { font: 400 clamp(34px, 10vw, 46px)/1.1 var(--f-script); margin-bottom: 6px; }
.glit__lead { max-width: 15em; font: italic 500 clamp(18px, 5vw, 21px)/1.3 var(--f-serif); }
.mono { display: inline-flex; align-items: baseline; gap: .5em; font: 500 13px/1 var(--f-caps); letter-spacing: .3em; text-transform: uppercase; }
.mono i { font: italic 400 1.1em/1 var(--f-serif); letter-spacing: 0; text-transform: none; opacity: .8; }
.glit__mono { margin-top: 20px; padding: 8px 4px 8px calc(4px + .3em); border-block: 1px solid rgba(255, 233, 208, .55); }
.glit__ask { margin-top: auto; font: 400 clamp(54px, 16.5vw, 78px)/1 var(--f-script); }
.glit__how { margin-top: 8px; font: italic 500 18px/1.3 var(--f-serif); }
.glit__meter { display: block; width: min(60%, 220px); height: 2px; margin-top: 20px; background: rgba(255, 233, 208, .32); border-radius: 2px; overflow: hidden; box-shadow: 0 0 8px rgba(60, 0, 4, .6); }
.glit__meter b { display: block; height: 100%; width: 100%; background: #fff3dc; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform .25s; }
.glit__tools { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: opacity .4s; }
.glit__blow, .glit__skip {
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer; color: #fff3dc;
  font: 500 11px/1 var(--f-caps); letter-spacing: .24em; text-transform: uppercase;
  background: rgba(40, 2, 6, .28); border: 1px solid rgba(255, 233, 208, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.glit__skip { background: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: 0 0 10px rgba(60, 0, 4, 1), 0 1px 2px rgba(60, 0, 4, .9); }
.glit__mic { position: absolute; left: 50%; bottom: calc(128px + env(safe-area-inset-bottom)); translate: -50% 0; white-space: nowrap; padding: 8px 18px; border-radius: 999px; background: rgba(40, 2, 6, .72); font: italic 500 17px/1.2 var(--f-serif); color: #fff3dc; }
.stage:not([data-phase="idle"]) :is(.glit__copy, .glit__tools, .glit__mic) { opacity: 0; pointer-events: none; }
.stage:not([data-phase="idle"]) .glit__pad { pointer-events: none; }
.stage:not([data-phase="idle"]) .glit__base { opacity: 0; transform: scale(1.12); filter: blur(3px); }
.stage[data-phase="parting"] .glit { pointer-events: none; }

/* =================================================================== ROOMS */

.room { position: relative; padding: 92px 24px 100px; text-align: center; overflow: hidden; }
.room > :not(.lace, .reply__swag) { position: relative; max-width: 440px; margin-inline: auto; }
.room--night { background: radial-gradient(130% 520px at 50% 0, #2c0a0f, var(--night) 62%, var(--ox)); }
.room--satin { background: #4a070b url(media/satin.webp) center / cover; }
.room--satin::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 3, 4, .78), rgba(13, 3, 4, .12) 16%, rgba(13, 3, 4, .12) 84%, rgba(13, 3, 4, .78)); pointer-events: none; }
.room--paper { background: var(--ivory) url(media/paper.webp) center top / 560px; color: var(--ink); padding-block: 116px 124px; }

.lace { position: absolute; left: 0; top: 0; width: 100%; height: 40px; filter: drop-shadow(0 3px 4px rgba(90, 50, 10, .3)); }
.lace--foot { top: auto; bottom: 0; transform: scaleY(-1); }

.script { font: 400 clamp(46px, 13.5vw, 60px)/1.08 var(--f-script); color: #fbe9c4; text-shadow: 0 0 20px rgba(255, 196, 120, .4); }
.script--ruby { color: var(--ruby); text-shadow: none; }
.sub { margin-top: 8px; font: italic 500 18px/1.4 var(--f-serif); color: rgba(243, 221, 176, .8); }
.sub--big { font-size: 20px; color: var(--cream); max-width: 17em !important; }
.flourish { display: block; width: 150px; margin: 10px auto 0; fill: var(--gold-ink); stroke: var(--gold-ink); stroke-width: 1; }
.flourish path { fill: none; }
.room--night .flourish, .room--satin .flourish { fill: var(--gold); stroke: var(--gold); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 30px; border-radius: 999px;
  background: var(--brass); color: #3d1408; text-decoration: none;
  font: 500 12px/1.2 var(--f-caps); letter-spacing: .22em; text-transform: uppercase; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 3px rgba(120, 60, 10, .35), 0 10px 24px -8px rgba(0, 0, 0, .7);
  transition: transform .3s var(--ease), filter .3s;
}
.pill:hover { transform: translateY(-2px); filter: brightness(1.06); }
.pill:active { transform: translateY(1px); }
.pill--big { min-height: 56px; padding: 0 34px; font-size: 13px; }
.link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font: 500 11px/1 var(--f-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 0; }
.link:hover { color: var(--cream); }

/* =================================================================== THE LETTER */

.letter { padding-block: 70px 96px; }
.letter__stage { --rise: 1; position: relative; width: min(100%, 400px); padding: 4px 0 19%; overflow: hidden; }
.letter__env { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; }
.letter__env--front { clip-path: polygon(0 27.3%, 2.2% 27.3%, 50% 65.5%, 97.8% 27.3%, 100% 27.3%, 100% 100%, 0 100%); filter: drop-shadow(0 -3px 5px rgba(20, 0, 2, .45)); }
.letter__card {
  position: relative; width: 84%; margin: 0 auto; padding: 34px 22px 42%;
  background: linear-gradient(170deg, #fbf4e2, #f1e3c6); color: #7a5522;
  border-radius: 3px; box-shadow: 0 0 0 1px #c9a24a inset, 0 14px 30px -10px rgba(20, 0, 2, .7);
  transform: translateY(calc((1 - var(--rise)) * (100% - 76px))); will-change: transform;
}
.letter__card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(184, 137, 43, .65); border-radius: 2px; pointer-events: none; }
.letter__head { font: 400 clamp(34px, 9.6vw, 42px)/1.1 var(--f-script); color: #a97a22; }
.letter__text { margin-top: 14px; font: 500 17px/1.6 var(--f-serif); color: #7a5522; }
.letter__sign { margin-top: 16px; font: 400 30px/1.1 var(--f-script); color: var(--ruby); }

/* =================================================================== SAVE THE DATE */

.cal { width: min(100%, 318px) !important; margin-top: 34px !important; perspective: 1000px; }
.cal__head {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px; height: 52px; border-radius: 10px 10px 0 0;
  background: linear-gradient(#32090d, #1a0507); border-bottom: 1px solid var(--gold); color: var(--gold);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .5);
}
.cal__head > i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.cal__head > i:last-child { transform: scaleX(-1); }
.cal__head::before, .cal__head::after { content: ""; position: absolute; top: 34px; width: 10px; height: 30px; border-radius: 6px; background: linear-gradient(90deg, #8a6a24, #f1ce7a, #8a6a24); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
.cal__head::before { left: 22%; } .cal__head::after { right: 22%; }
.cal__body { position: relative; }
.cal__page, .cal__flip {
  padding: 26px 16px 20px; border-radius: 0 0 8px 8px; color: #6b4a1e;
  background: radial-gradient(120% 90% at 50% 20%, #fffaf0, #f3e6cb);
  box-shadow: 0 0 60px rgba(255, 214, 150, .28), 0 20px 30px -14px rgba(0, 0, 0, .8);
}
.cal__flip { position: absolute; inset: 0; z-index: 2; transform-origin: 50% 0; backface-visibility: hidden; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
.cal__flip.go { animation: pdFlip .62s cubic-bezier(.5, 0, .8, .4) forwards; }
@keyframes pdFlip { 0% { transform: rotateX(0); } 70% { opacity: 1; } 100% { transform: rotateX(-96deg); opacity: 0; } }
.cal__month { font: 600 26px/1 var(--f-serif); letter-spacing: .06em; color: var(--gold-ink); }
.cal__month span { font-weight: 500; font-style: italic; letter-spacing: 0; opacity: .75; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__week { margin-top: 14px; padding-bottom: 7px; border-bottom: 1px solid rgba(148, 104, 28, .4); font: 500 10px/1 var(--f-caps); letter-spacing: .1em; color: var(--gold-ink); }
.cal__grid { margin-top: 6px; row-gap: 2px; font: 500 17px/1 var(--f-serif); }
.cal__grid span { position: relative; height: 32px; display: grid; place-items: center; }
.cal__grid .is-day { font-weight: 600; color: var(--ruby); }
.cal__grid svg { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; translate: -50% -50%; overflow: visible; }
.cal__grid path { fill: none; stroke: #b8892b; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .cal:not(.landed) .cal__grid path { stroke-dashoffset: 1; }
.cal.landed .cal__grid path { transition: stroke-dashoffset 1.1s .25s ease-in-out; }
/* a string of pearls to pull */
.cal__cord { position: absolute; right: 9%; top: calc(100% - 6px); z-index: 1; width: 44px; height: 76px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 0; }
.cal__cord i { position: absolute; left: 50%; top: 0; bottom: 20px; width: 7px; translate: -50% 0; background: radial-gradient(circle at 35% 35%, #fffaf0, #e3d2b0 60%, #a89468) 0 0 / 7px 8px repeat-y; }
.cal__cord::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 20px; height: 20px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffdf6, #ead9b6 55%, #a18a5c); box-shadow: 0 4px 8px rgba(0, 0, 0, .6); }
.cal__cord.pull { animation: pdPull .7s var(--ease); }
@keyframes pdPull { 0% { transform: translateY(0); } 30% { transform: translateY(16px); } 100% { transform: translateY(0); } }
.cal__cord:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }

.date__full { margin-top: 96px !important; font: 600 23px/1.25 var(--f-serif); letter-spacing: .04em; color: #fbe9c4; }
.count { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.count span { min-width: 68px; padding: 12px 4px 10px; border: 1px solid rgba(201, 162, 74, .45); border-radius: 4px; font: 500 10px/1 var(--f-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.count b { margin-bottom: 8px; font: 500 30px/1 var(--f-serif); letter-spacing: 0; color: #fbe9c4; }
.count__done { margin-top: 24px; font: italic 500 20px/1.3 var(--f-serif); }
.date__links { margin-top: 30px !important; display: grid; justify-items: center; gap: 6px; }

/* =================================================================== THE EVENING */

.hours { margin-top: 34px !important; display: grid; text-align: left; }
.hours li { display: grid; grid-template-columns: 88px 1fr; transition-delay: calc(var(--i) * .12s); }
.hours__t { padding: 2px 16px 0 0; text-align: right; font: 600 25px/1.1 var(--f-serif); color: var(--gold-ink); white-space: nowrap; }
.hours__t small { margin-left: 3px; font: 500 10px/1 var(--f-caps); letter-spacing: .12em; }
.hours li > div { position: relative; padding: 0 0 28px 20px; border-left: 1px solid rgba(148, 104, 28, .55); }
.hours li:last-child > div { padding-bottom: 4px; }
.hours li > div::before { content: ""; position: absolute; left: -4.5px; top: 10px; width: 8px; height: 8px; rotate: 45deg; background: #c9a24a; box-shadow: 0 0 0 3px var(--ivory); }
.hours h3 { font: 400 32px/1.05 var(--f-script); color: var(--ruby); }
.hours p:not(.hours__t) { margin-top: 3px; font: 500 17px/1.4 var(--f-serif); }

/* =================================================================== WHERE */

.arch { width: min(76%, 290px) !important; margin-top: 30px !important; aspect-ratio: 3 / 4.2; padding: 6px; border: 1px solid var(--gold); border-radius: 999px 999px 4px 4px; }
.arch__in { height: 100%; overflow: hidden; border: 1px solid var(--gold); border-radius: 999px 999px 2px 2px; background: #1a0507; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.where__name { margin-top: 26px !important; font: 600 27px/1.2 var(--f-serif); letter-spacing: .03em; color: var(--gold); }
.where .pill { margin-top: 22px; }
.travel { margin-top: 44px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; text-align: left; }
.travel--one { grid-template-columns: 1fr; text-align: center; }
.travel > div { padding-top: 14px; border-top: 1px solid rgba(201, 162, 74, .5); }
.travel h4, .dress__block h3, .act__no, .kin__head { font: 500 11px/1.2 var(--f-caps); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.travel p { margin-top: 8px; font-size: 17px; line-height: 1.45; color: rgba(243, 221, 176, .88); }

.acts { margin-top: 96px !important; }
.act { margin-top: 26px; padding: 30px 20px 22px; border: 1px solid rgba(201, 162, 74, .7); outline: 1px solid rgba(201, 162, 74, .35); outline-offset: -7px; background: linear-gradient(rgba(60, 8, 14, .5), rgba(26, 5, 7, .5)); border-radius: 3px; }
.act__name { margin-top: 8px; font: 400 clamp(40px, 11.5vw, 48px)/1.08 var(--f-script); color: #fbe9c4; }
.act__hi { font-size: 18px; color: var(--gold); }
.act__when { margin-top: 10px; font: 600 18px/1.3 var(--f-serif); letter-spacing: .03em; }
.act__when span { display: block; font-weight: 500; font-style: italic; letter-spacing: 0; color: rgba(243, 221, 176, .8); }
.act__sched { margin: 14px auto 0; max-width: 230px; }
.act__sched li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; border-bottom: 1px dotted rgba(201, 162, 74, .45); font-style: italic; }
.act__sched b { font: 600 18px/1 var(--f-serif); font-style: normal; color: var(--gold); white-space: nowrap; }
.act__sched small { margin-left: 3px; font: 500 9px/1 var(--f-caps); letter-spacing: .1em; }
.act__at { margin-top: 14px; font: 600 18px/1.3 var(--f-serif); color: var(--gold); }
.act__at span { display: block; font-weight: 500; font-style: italic; color: rgba(243, 221, 176, .75); }
.act__note { margin-top: 12px; font-style: italic; line-height: 1.45; color: rgba(243, 221, 176, .9); }
.act__dress { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.act__dress em { padding: 5px 12px; border: 1px solid rgba(201, 162, 74, .5); border-radius: 999px; font: 500 10px/1.2 var(--f-caps); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.act__links { margin-top: 14px; padding-top: 6px; border-top: 1px solid rgba(201, 162, 74, .3); display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; }
.act__links { gap: 0 4px; }
.act__links .link { font-size: 10px; letter-spacing: .11em; padding: 0 6px; }
.link--map { color: var(--cream); }

/* =================================================================== DRESS CODE */

.fabrics { margin-top: 30px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fabrics li { position: relative; aspect-ratio: 3 / 3.9; overflow: hidden; border: 1px solid var(--gold); outline: 1px solid rgba(241, 206, 122, .5); outline-offset: -6px; border-radius: 2px; transition-delay: calc(var(--i) * .14s); box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .7); }
.fabrics img { width: 100%; height: 100%; object-fit: cover; }
.fabrics span { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 6px 12px; background: linear-gradient(transparent, rgba(13, 3, 4, .78)); font: 400 30px/1 var(--f-script); color: #fff3dc; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.chips { margin-top: 32px !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 4px; }
.chips li { flex: 0 1 62px; min-width: 56px; display: grid; justify-items: center; gap: 8px; font: 500 9px/1.2 var(--f-caps); letter-spacing: .04em; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 4px rgba(40, 0, 4, .8); }
.chips i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); box-shadow: 0 0 0 3px rgba(13, 3, 4, .35), inset 0 2px 5px rgba(255, 255, 255, .22); }
.wear { margin-top: 26px !important; display: grid; gap: 4px; }
.wear li { font: 400 34px/1.2 var(--f-script); color: #fff3dc; }
.dress__block { margin-top: 30px !important; }
.dress__block h3 { color: #f1ce7a; }
.dress__block p { margin-top: 6px; font-size: 19px; line-height: 1.4; color: #fff3dc; text-shadow: 0 1px 8px rgba(40, 0, 4, .7); }
.dress .sub { color: #fff3dc; text-shadow: 0 1px 8px rgba(40, 0, 4, .7); }

/* =================================================================== NOTES */

.note { margin-top: 20px !important; padding: 30px 24px 28px; background: linear-gradient(170deg, #fdf8ea, #f5e9cf); border-radius: 3px; box-shadow: 0 0 0 1px rgba(184, 137, 43, .5), 0 16px 26px -18px rgba(90, 50, 10, .6); }
.note::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(184, 137, 43, .6); pointer-events: none; }
.flourish + .note { margin-top: 30px !important; }
.note h3 { font: 400 34px/1.1 var(--f-script); color: var(--ruby); }
.note p { margin-top: 8px; font-size: 18px; line-height: 1.5; }

/* =================================================================== THE REPLY */

.reply { padding-bottom: 0; }
.reply__swag { position: absolute; top: 0; bottom: 0; width: 50%; transform: scaleX(.11); opacity: .9; background: #5a080c url(media/curtain.webp) center / cover; pointer-events: none; }
.reply__swag--l { left: 0; transform-origin: 0 50%; box-shadow: 60px 0 80px rgba(0, 0, 0, .8); }
.reply__swag--r { right: 0; transform-origin: 100% 50%; box-shadow: -60px 0 80px rgba(0, 0, 0, .8); }
.reply__mono { display: flex !important; justify-content: center; width: max-content; padding: 9px 6px 9px calc(6px + .3em); border-block: 1px solid rgba(201, 162, 74, .6); color: var(--gold); }
.reply .script { margin-top: 22px; max-width: 300px; }
.reply .pill { margin-top: 26px; }
.hosts { margin-top: 30px !important; max-width: 300px !important; }
.hosts li { display: flex; align-items: center; gap: 4px; padding: 2px 0; border-bottom: 1px solid rgba(201, 162, 74, .25); }
.hosts span { flex: 1; text-align: left; font: 600 19px/1.2 var(--f-serif); }
.hosts a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font: 500 10px/1 var(--f-caps); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.kin { margin-top: 56px !important; max-width: 300px !important; }
.kin p { margin-top: 8px; font-size: 18px; line-height: 1.35; color: rgba(243, 221, 176, .9); }
.kin .kin__head { margin: 0 0 14px; font: 500 11px/1.2 var(--f-caps); color: var(--gold); }
.kin .kin__head--more { margin-top: 28px; }
.kin > i { display: block; margin-top: 8px; font: italic 400 22px/1 var(--f-serif); color: var(--gold); }
.kin li { margin-top: 6px; font-size: 18px; }
.kin small { display: block; font: 500 9px/1.6 var(--f-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tag { margin-top: 44px !important; display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid rgba(201, 162, 74, .6); border-radius: 999px; background: none; cursor: pointer; font: italic 500 20px/1 var(--f-serif); color: var(--cream); }
.foot { margin-top: 70px !important; padding: 40px 0 calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(201, 162, 74, .3); }
.foot__names { font: 400 44px/1.1 var(--f-script); color: #fbe9c4; }
.foot__date { margin-top: 6px; font: 500 15px/1 var(--f-serif); letter-spacing: .34em; margin-right: -.34em; color: var(--gold); }
.foot__cal { margin-top: 18px; font: 500 10px/2.2 var(--f-caps); letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 221, 176, .7); }
.foot__cal a { display: inline-block; padding: 8px 2px; text-decoration: none; }
.foot__music, .foot__credit { margin-top: 10px; font: italic 500 15px/1.4 var(--f-serif); color: rgba(243, 221, 176, .6); }

/* the reply button that follows you; it stops short of the music button (bottom right) */
.sticky {
  position: fixed; z-index: 60; left: 16px; right: 80px; bottom: calc(16px + env(safe-area-inset-bottom)); height: 48px; max-width: 300px; margin-inline: auto;
  display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--brass); color: #3d1408; text-decoration: none;
  font: 500 11px/1 var(--f-caps); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 3px rgba(120, 60, 10, .35), 0 8px 22px rgba(0, 0, 0, .55);
  opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .5s, translate .5s var(--ease);
}
.sticky.on { opacity: 1; translate: 0 0; pointer-events: auto; }
.copied { position: fixed; z-index: 75; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); translate: -50% 0; padding: 9px 18px; border-radius: 999px; background: rgba(20, 6, 8, .92); border: 1px solid rgba(201, 162, 74, .5); font: italic 500 16px/1 var(--f-serif); color: var(--cream); white-space: nowrap; }

/* =================================================================== DESKTOP */

@media (min-width: 760px) {
  .stage__img { width: auto; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 36%, #000 64%, transparent 98%); mask-image: linear-gradient(90deg, transparent 2%, #000 36%, #000 64%, transparent 98%); height: 104%; }
  .bill__names { font-size: min(clamp(58px, 10.5svh, 96px), calc(900px / var(--n, 5))); }
  .curtain::before { background-size: 50% 100%; background-repeat: repeat-x; }
  :is(html:not(.js) .stage, .stage[data-phase="parting"], .stage[data-phase="open"]) .curtain--l,
  :is(html:not(.js) .stage, .stage[data-phase="parting"], .stage[data-phase="open"]) .curtain--r { transform: scaleX(.42); }
  .glit__ask { font-size: 84px; }
  .room { padding-block: 120px 130px; }
  .room--paper { padding-block: 140px 150px; }
  .reply { padding-bottom: 0; }
  .reply__swag { transform: scaleX(.3); }
  .sticky { left: 0; right: 0; }
}

/* =================================================================== LINK PREVIEW */

html.og .ogcard { background: radial-gradient(60% 90% at 50% 40%, #3a0a10, #12060a 70%, #0d0304); align-items: center; justify-content: center; color: var(--cream); font-family: var(--f-serif); }
.og__curtain { position: absolute; top: 0; bottom: 0; width: 215px; background: #5a080c url(media/curtain.webp) center / 100% 100%; }
.og__curtain--l { left: 0; box-shadow: 30px 0 60px rgba(0, 0, 0, .8); }
.og__curtain--r { right: 0; transform: scaleX(-1); box-shadow: 30px 0 60px rgba(0, 0, 0, .8); }
.og__beam { position: absolute; left: 50%; top: -40px; width: 900px; height: 760px; translate: -50% 0; background: conic-gradient(from 158deg at 50% 0, transparent 0deg, rgba(255, 214, 150, .2) 14deg, rgba(255, 228, 180, .2) 30deg, transparent 44deg); }
.og__text { position: relative; text-align: center; max-width: 740px; }
.og__line { font: italic 500 30px/1.2 var(--f-serif); color: rgba(243, 221, 176, .85); }
.og__names { margin: 6px 0 4px; font-family: var(--f-script); line-height: 1.15; color: #fbe9c4; text-shadow: 0 0 30px rgba(255, 196, 120, .6); white-space: nowrap; }
.og__date { font: 500 46px/1.2 var(--f-serif); letter-spacing: .34em; margin-right: -.34em; }
.og__place { margin-top: 16px; font: 600 28px/1.2 var(--f-serif); letter-spacing: .05em; color: var(--gold); }
