/* Kaanch: leaded glass and roses. One centred phone-width column; blush page, copper leading, deep olive
   panels. Pinyon Script for names and titles, Cormorant Garamond for everything else. */
:root {
  --page: #f3e3e6; --page2: #eddde6; --glass: #e3a9a4; --rose: #d9958f; --petal: #f3c9c0; --hi: #fbe9e1;
  --copper: #b9833f; --copper2: #c8965a; --bronze: #6b4423; --olive: #3f4418; --olive2: #4a4a1e;
  --leaf: #5f6b3c; --sage: #9aa07a; --taupe: #a89c8a; --ink: #3a2f2b;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --fx-music-bg: #3f4418; --fx-music-ring: #c8965a; --fx-music-ink: #fbe9e1; --fx-bg: #fbe9e1;
  --col: 440px;
}
html { background: #e2c9cf; scroll-behavior: smooth; }
html.shut { overflow: hidden; }
body {
  font: 500 18px/1.55 var(--serif); color: var(--ink); -webkit-font-smoothing: antialiased;
  background: radial-gradient(120% 80% at 50% 0, #ecd6da, #dcbfc7 70%) fixed;
}
main {
  position: relative; max-width: var(--col); margin: 0 auto; overflow: clip;
  background: linear-gradient(var(--page), var(--page2) 50%, var(--page));
  box-shadow: 0 0 80px rgba(107, 68, 35, .28);
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
img { max-width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- small shared pieces ---------- */
.orn { display: block; width: 120px; height: 10px; margin: 0 auto; fill: var(--copper); stroke: var(--copper); stroke-width: 1; }
.orn--light { fill: var(--copper2); stroke: var(--copper2); }
.head { text-align: center; margin: 0 0 22px; }
.head__title {
  font: 400 clamp(40px, 12.4vw, 52px)/1.05 var(--script); color: var(--bronze); margin-top: 12px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 2px 5px rgba(107, 68, 35, .22);
}
.head__sub { margin-top: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--leaf); }
.head__sub::after { content: ""; display: block; width: 44px; height: 1px; margin: 14px auto 0; background: var(--copper); }
.sec { padding: 68px 24px 0; text-align: center; }
.body { max-width: 31ch; margin: 14px auto 0; }
.body--it { font-style: italic; }
.hair { border: 0; height: 1px; width: 72%; margin: 18px auto; background: linear-gradient(90deg, transparent, var(--copper) 20%, var(--copper) 80%, transparent); }
.rz__petal { fill: var(--petal); stroke: var(--copper); stroke-width: 1.1; }
.rz__leaf { fill: var(--sage); stroke: var(--copper); stroke-width: .9; }
.rz__line { fill: none; stroke: var(--copper); stroke-width: 1; stroke-linecap: round; }
.rz__scroll { fill: none; stroke: var(--copper2); stroke-width: 1.3; stroke-linecap: round; }

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.pills--col { flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 22px;
  border-radius: 999px; border: 1px solid var(--olive); background: var(--olive); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 8px 18px -10px rgba(63, 68, 24, .8); transition: transform .25s, background .25s;
}
.pill:active { transform: scale(.97); }
.pill--line { background: transparent; color: var(--olive); box-shadow: none; }
.pill--light { background: var(--hi); color: var(--olive); border-color: var(--hi); min-width: 230px; }
.pill--ghost { background: transparent; color: var(--hi); border-color: rgba(251, 233, 225, .55); box-shadow: none; min-width: 230px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- gate: two leaves of hammered glass ---------- */
.gate {
  position: fixed; z-index: 60; top: 0; left: 50%; translate: -50% 0; width: min(100%, var(--col));
  height: 100vh; height: 100dvh; overflow: hidden;
}
html:not(.js) .gate, html.og .gate { display: none; }
.leaf {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: #e3a9a4 url(media/cover.webp) 0 0 / 200% 100% no-repeat;
  box-shadow: 0 0 44px rgba(60, 30, 20, .55);
  transition: transform 1.9s cubic-bezier(.76, 0, .18, 1) .38s;
}
.leaf--l { left: 0; }
.leaf--r { right: 0; background-position: 100% 0; z-index: 1; }
.leaf__edge { position: absolute; top: 0; bottom: 0; width: 5px; background: linear-gradient(90deg, #3d2511, #96673a 45%, #5a3719); box-shadow: 0 0 10px rgba(60, 30, 20, .45); }
.leaf--l .leaf__edge { right: 0; }
.leaf--r .leaf__edge { left: 0; }
.leaf__glint {
  position: absolute; inset: 0; mix-blend-mode: soft-light; pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) 0 0 / 320% 100%;
  animation: kcGlint 7s ease-in-out infinite;
}
.leaf--r .leaf__glint { animation-delay: .5s; }
@keyframes kcGlint { 0%, 30% { background-position: 110% 0; } 70%, 100% { background-position: -10% 0; } }

.seal {
  position: absolute; left: 0; top: 50%; translate: -50% -50%; width: 168px; height: 168px; padding: 0;
  border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .55s cubic-bezier(.3, 1.6, .5, 1), filter .5s;
  filter: drop-shadow(0 8px 14px rgba(60, 30, 20, .45));
}
.seal::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 240, 230, .7);
  animation: kcHalo 2.6s ease-out infinite;
}
@keyframes kcHalo { 0% { box-shadow: 0 0 0 0 rgba(255, 240, 230, .65); } 100% { box-shadow: 0 0 0 26px rgba(255, 240, 230, 0); } }
.medal { position: relative; display: block; width: 100%; height: 100%; }
.medal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.medal__scallop { stroke: var(--copper); stroke-width: 2.2; }
.medal__scallop--a { fill: #e9b3ae; }
.medal__scallop--b { fill: #b3ab93; }
.medal__lead { fill: none; stroke: var(--copper); stroke-width: 1.5; stroke-linecap: round; }
.medal__ring { fill: #d9958f; stroke: #a8722f; stroke-width: 2.6; }
.medal__pane { fill: #fbe9e1; stroke: var(--copper); stroke-width: 2; }
.medal__hair { fill: none; stroke: var(--copper2); stroke-width: .7; }
.medal__mono {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1px;
  font: 400 40px/1 var(--script); color: var(--ink); padding-top: 4px;
}
.medal__mono b { font-weight: 400; }
.medal__mono i { font-size: 20px; font-style: normal; color: var(--bronze); margin: 6px 1px 0 2px; }
.gate__to, .gate__hint, .gate__skip { position: absolute; left: 0; right: 0; z-index: 2; text-align: center; transition: opacity .5s; }
.gate__to { top: 14%; width: fit-content; max-width: 88%; margin: 0 auto; font: 400 30px/1.15 var(--script); color: #4a2a22; padding: 10px 24px 8px; border-radius: 999px; background: rgba(251, 233, 225, .8); box-shadow: 0 0 0 1px rgba(185, 131, 63, .5), 0 6px 14px -8px rgba(60, 30, 20, .5); }
.gate__hint span { display: inline-block; padding: 9px 16px 9px 20px; border-radius: 999px; background: rgba(251, 233, 225, .78); box-shadow: 0 0 0 1px rgba(185, 131, 63, .5), 0 6px 14px -8px rgba(60, 30, 20, .5); }
.gate__hint { bottom: 16%; font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #4a2a22; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); animation: kcBreath 2.8s ease-in-out infinite; }
@keyframes kcBreath { 50% { opacity: .5; } }
.gate__skip {
  bottom: calc(14px + env(safe-area-inset-bottom)); width: 96px; margin: 0 auto; min-height: 44px; border: 0; background: none; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: .26em; text-indent: .26em; text-transform: uppercase; color: #4a2a22;
  border-radius: 999px; background: rgba(251, 233, 225, .7);
}
.gate:not([data-phase="idle"]) { pointer-events: none; }
.gate:not([data-phase="idle"]) :is(.gate__to, .gate__hint, .gate__skip) { opacity: 0; animation: none; }
.gate:not([data-phase="idle"]) .seal { transform: rotate(45deg) scale(.94); filter: drop-shadow(0 0 22px rgba(255, 244, 236, .95)); }
.gate:not([data-phase="idle"]) .seal::before { animation: none; }
.gate:not([data-phase="idle"]) .leaf--l { transform: translateX(-106%); }
.gate:not([data-phase="idle"]) .leaf--r { transform: translateX(calc(100% + 100px)); }
.gate[data-phase="open"] { visibility: hidden; }
.gate.instant * { transition: none !important; }

/* ---------- hero: the rose window; the middle of the picture stretches, the roses never do ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-height: 980px; overflow: hidden; background: #f9c9c6; }
.hero__art { position: absolute; inset: 0; display: flex; flex-direction: column; transition: filter 1.7s ease .45s, scale 2.4s cubic-bezier(.2, .7, .2, 1) .35s; }
html.shut .hero__art { filter: blur(9px); scale: 1.07; }
.hero__art i { display: block; background: url(media/hero.webp) no-repeat; }
.hero__t { aspect-ratio: 752 / 215; background-size: 100% auto !important; background-position: 50% 0 !important; z-index: 1; }
.hero__m { flex: 1; margin: -1px 0; background-size: 100% 142.857% !important; background-position: 50% 53.333% !important; }
.hero__b { aspect-ratio: 752 / 188; background-size: 100% auto !important; background-position: 50% 100% !important; z-index: 1; }
.hero__text {
  position: absolute; inset: 23% 14% 15%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(6px, 1.5vh, 14px);
}
.hero__line { display: block; transition: opacity 1.1s ease, translate 1.1s ease; transition-delay: calc(1.25s + var(--i) * .26s); }
html.shut .hero__line { opacity: 0; translate: 0 12px; transition: none; }
.hero__lead { font-style: italic; font-size: 17px; line-height: 1.3; max-width: 13em; }
.hero__date { font-size: 17px; font-weight: 600; letter-spacing: .26em; color: var(--bronze); }
.hero__date i { font-style: normal; color: var(--copper); }
.hero__names { font-family: var(--script); line-height: .98; color: #4a2a22; text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 3px 8px rgba(107, 68, 35, .25); margin: 4px 0; }
.hero__amp { font-size: .55em; color: var(--copper); margin: .12em 0 .02em; }
.hero__ask { font-style: italic; font-size: 17px; line-height: 1.3; }
.hero__venue { font-size: 13px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-top: 4px; }
.hero__city { font-size: 16px; color: #6a554d; margin-top: -4px; }
.hero__down {
  position: absolute; left: 50%; bottom: calc(3% + env(safe-area-inset-bottom)); margin-left: -22px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(251, 233, 225, .82); border: 1px solid var(--copper); display: grid; place-items: center; z-index: 2;
}
.hero__down i { width: 9px; height: 9px; border-right: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); rotate: 45deg; margin-top: -4px; animation: kcNod 2s ease-in-out infinite; }
@keyframes kcNod { 50% { translate: 0 4px; } }

/* ---------- welcome: the olive panel and the mirror ---------- */
.welcome { padding: 56px 22px 0; }
.pill-panel {
  position: relative; border-radius: 999px; padding: 104px 26px 112px; text-align: center; color: #fff;
  background: radial-gradient(120% 60% at 50% 0, #56591f, var(--olive) 60%, #33380f);
  box-shadow: 0 30px 50px -30px rgba(63, 68, 24, .9);
}
.pill-panel::before { content: ""; position: absolute; inset: 8px; border-radius: inherit; border: 1px solid rgba(200, 150, 90, .7); pointer-events: none; }
.welcome__orn { width: 150px; height: 42px; }
.welcome__to { font-style: italic; font-size: 18px; color: var(--petal); margin-top: 6px; }
.welcome__title { font: 400 50px/1.1 var(--script); margin-top: 6px; }
.welcome__note { max-width: 24ch; margin: 10px auto 0; font-size: 18px; line-height: 1.45; }
.welcome__sign { font: 400 28px/1.2 var(--script); color: var(--petal); margin-top: 12px; }
.mirror { position: relative; width: min(100%, 250px); aspect-ratio: 520 / 775; margin: 22px auto 0; }
.mirror__glass { position: absolute; left: 8.5%; right: 9.5%; top: 11%; bottom: 11.5%; border-radius: 50%; }
.mirror__inner {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 30%, #fff6f1, var(--hi) 55%, #f3cfc8); color: var(--ink);
}
.mirror__inner img { width: 100%; height: 100%; object-fit: cover; }
.mirror__small { font-size: 12.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--leaf); }
.mirror__day { font: 400 60px/1 var(--script); color: #4a2a22; margin-top: 8px; }
.mirror__month { font: 400 34px/1.15 var(--script); color: var(--bronze); margin-bottom: 6px; }
.mirror__frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(20, 22, 6, .5)); }
.mirror .scratch__foil { box-shadow: none; }
.mirror .scratch__btn { z-index: 3; color: var(--olive); bottom: 4px; white-space: nowrap; }
.welcome__hint { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(251, 233, 225, .8); transition: opacity .6s; }
.welcome.revealed .welcome__hint { opacity: 0; }

/* ---------- the glass-bordered card ---------- */
.pane {
  position: relative; margin: 0 auto 26px; max-width: 356px; border: 26px solid transparent;
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cg id='s' fill='none' stroke='%23b9833f'%3E%3Crect x='30' width='60' height='30' fill='%23f7ddd8' stroke='none'/%3E%3Crect x='30' width='60' height='5.5' fill='%23b3ab93' stroke='none'/%3E%3Cpath d='M30 16Q45 4 60 16T90 16' stroke='%23d9958f' stroke-width='6.5'/%3E%3Cpath d='M30 12.5Q45 .5 60 12.5T90 12.5M30 19.5Q45 7.5 60 19.5T90 19.5' stroke-width='.9'/%3E%3Cpath d='M45 21.5l2.5 2.5l-2.5 2.5l-2.5-2.5zM75 6.5l2.5 2.5l-2.5 2.5l-2.5-2.5z' fill='%239aa07a' stroke-width='.7'/%3E%3Cpath d='M30 .6H90M30 5.5H90M30 29.3H90' stroke-width='1.2'/%3E%3Crect width='30' height='30' fill='%23b3ab93' stroke='none'/%3E%3Cpath d='M30 30V3A27 27 0 0 0 3 30Z' fill='%239aa07a' stroke-width='1'/%3E%3Cpath d='M30 30V14A16 16 0 0 0 14 30Z' fill='%23e9b3ae' stroke-width='1'/%3E%3Cpath d='M30 30L10.9 10.9M30 30L19.7 5M30 30L5 19.7' stroke-width='.9'/%3E%3Crect x='.6' y='.6' width='29.4' height='29.4' stroke-width='1.2'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' transform='rotate(90 60 60)'/%3E%3Cuse href='%23s' transform='rotate(180 60 60)'/%3E%3Cuse href='%23s' transform='rotate(270 60 60)'/%3E%3C/svg%3E") 30 / 26px round;
  background: linear-gradient(160deg, #fff8f5, var(--hi) 60%, #f8dcd6) padding-box;
  box-shadow: 0 22px 36px -24px rgba(107, 68, 35, .6);
}
.pane__in { padding: 26px 14px 24px; text-align: center; }
.pane__name { font: 400 40px/1.08 var(--script); color: #4a2a22; text-shadow: 0 1px 0 #fff; }
.pane__hi { font-size: 17px; color: var(--bronze); margin-top: 2px; }
.pane__caps { margin-top: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--leaf); }
.pane__when { margin-top: 12px; font-style: italic; font-size: 18px; line-height: 1.4; }
.pane__note { margin: 10px auto 0; max-width: 24ch; font-size: 17px; line-height: 1.4; color: #5a4a44; }
.pane__sched { list-style: none; margin: 14px auto 0; padding: 0; max-width: 210px; }
.pane__sched li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dotted rgba(185, 131, 63, .6); font-style: italic; }
.pane__sched b { font-style: normal; font-weight: 600; font-size: 16px; }
.pane__place { font-size: 18px; font-weight: 600; line-height: 1.3; }
.pane__addr { font-size: 16px; color: #6a554d; }
.pane__dress { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-size: 16px; }
.pane__dress span { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--leaf); width: 100%; }
.pane__dress em { font-style: italic; padding: 2px 12px; border: 1px solid var(--copper); border-radius: 999px; background: rgba(255, 255, 255, .6); }
.pane .pills { gap: 0 4px; }
.pane .pill:not(.pill--line) { order: -1; min-width: 150px; margin: 0 30px 6px; }
.pane .pill--line { border: 0; min-height: 44px; padding: 6px 8px; font-size: 16px; font-weight: 500; font-style: italic; letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 4px; }
.pane--tall .pills { gap: 10px; flex-direction: column; align-items: center; }
.pane--tall .pill { margin: 0; min-width: 210px; white-space: nowrap; letter-spacing: .16em; }
.pane__ics { margin-top: 10px; font-size: 16px; font-style: italic; }
.pane__ics a { display: inline-block; padding: 12px 10px; text-underline-offset: 4px; }
.kothi { display: block; width: 210px; max-width: 100%; margin: 14px auto 0; fill: none; stroke: var(--copper); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.kothi__fill { fill: var(--sage); fill-opacity: .7; }
.kothi__rose { fill: var(--petal); }

/* ---------- dress code ---------- */
.dress__art { display: block; width: 64%; max-width: 250px; margin: 0 auto 6px; }
.dress__style { font-size: 19px; font-weight: 600; letter-spacing: .42em; text-indent: .42em; text-transform: uppercase; color: var(--olive); }
.festoon { display: block; width: 100%; max-width: 340px; margin: 34px auto 0; overflow: visible; }
.festoon__wire, .festoon__cap { fill: none; stroke: var(--bronze); stroke-width: 1; }
.festoon__bulb { fill: #fff3d6; stroke: var(--copper); stroke-width: .9; animation: kcTwinkle 2.6s ease-in-out infinite; animation-delay: calc(var(--k) * -.37s); }
.festoon__heart { fill: var(--glass); stroke: var(--copper); stroke-width: .8; animation: kcTwinkle 2.6s ease-in-out infinite; animation-delay: calc(var(--k) * -.37s); }
@keyframes kcTwinkle { 50% { filter: brightness(1.18) drop-shadow(0 0 4px rgba(255, 226, 170, .95)); } }

/* ---------- programme: the pour ---------- */
.gl { stroke: var(--copper); stroke-width: 1.4; stroke-linejoin: round; }
.gl--rose { fill: var(--glass); } .gl--hi { fill: var(--petal); } .gl--pearl { fill: var(--hi); } .gl--copper { fill: var(--copper2); }
.gl--liquid { fill: #eab0aa; stroke: none; opacity: 0; transition: opacity 1s; }
.ld { fill: none; stroke: var(--copper); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pour { position: relative; --p: 1; }
html.js .pour { --p: 0; }
.pour__bottle { display: block; width: 240px; height: 96px; margin: 0 auto -10px; position: relative; z-index: 1; overflow: visible; }
.pour__body { position: relative; }
.pour__stream { position: absolute; left: 50%; top: 0; margin-left: -42px; overflow: visible; }
.pour__stream path { fill: none; stroke-linecap: round; }
.pour__bed { stroke: rgba(227, 169, 164, .28); stroke-width: 8; }
.pour__line { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); }
.pour__line--a { stroke: var(--copper); stroke-width: 9; }
.pour__line--b { stroke: #eab0aa; stroke-width: 6.6; }
.pour__line--c { stroke: #fdf0ea; stroke-width: 1.4; }
.pour__list { list-style: none; margin: 0; padding: 0; position: relative; }
.pour__item { height: 104px; display: grid; grid-template-columns: 1fr 84px 1fr; align-items: center; }
.pour__what { grid-column: 1; grid-row: 1; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.pour__item--r .pour__what { grid-column: 3; text-align: left; align-items: flex-start; }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--copper); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pour__name { font-style: italic; font-size: 18px; line-height: 1.15; margin-top: 3px; }
.pour__time { font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--leaf); margin-top: 3px; }
.pour__tick { grid-column: 2; grid-row: 1; justify-self: start; width: 14px; height: 1px; margin-left: 4px; background: var(--copper); position: relative; }
.pour__tick::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--copper); border-right: 1px solid var(--copper); rotate: 45deg; }
.pour__item--r .pour__tick { justify-self: end; margin: 0 4px 0 0; scale: -1 1; }
.pour__coupe { display: block; width: 84px; height: 78px; margin: -8px auto 0; }
.pour.full .gl--liquid { opacity: 1; }

/* ---------- gifts: a pane of frosted, embossed glass ---------- */
.frost {
  position: relative; padding: 40px 20px 36px; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, .55) 0 2px, transparent 3px) 0 0 / 24px 24px,
    linear-gradient(140deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .42) 55%, rgba(251, 233, 225, .7));
  border: 1px solid #fff;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .35), inset 0 0 0 7px rgba(185, 131, 63, .35), inset 0 -24px 40px -20px rgba(227, 169, 164, .55), 0 24px 40px -26px rgba(107, 68, 35, .55);
}
.gifts__box { display: block; width: 172px; margin: 4px auto 6px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; }
.gifts__box::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 150, .9), transparent 68%); animation: kcGlow 3.2s ease-in-out infinite; }
.gifts__box img { position: relative; display: block; width: 100%; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.gifts__box:active img { transform: scale(.95) rotate(-2deg); }
@keyframes kcGlow { 50% { opacity: .45; scale: 1.12; } }
.drift {
  position: absolute; top: -18px; left: calc(8% + var(--k) * 13.5%); width: 9px; height: 12px; border-radius: 80% 0 80% 0; pointer-events: none;
  background: var(--glass); opacity: .75; animation: kcDrift calc(9s + var(--k) * 1.3s) linear infinite; animation-delay: calc(var(--k) * -2.7s);
}
.drift:nth-of-type(odd) { background: #fff; width: 7px; height: 10px; }
@keyframes kcDrift { to { translate: 34px 560px; rotate: 420deg; } }

/* ---------- travel & stay ---------- */
.stay__car { display: block; width: 84%; max-width: 310px; margin: 0 auto 10px; }
.reco { position: relative; margin: 54px 8px 0; padding: 40px 20px 30px; border: 1px solid var(--copper); border-radius: 4px; outline: 1px solid rgba(185, 131, 63, .45); outline-offset: 5px; background: rgba(255, 250, 247, .55); }
.reco svg { position: absolute; fill: none; stroke: var(--copper); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.reco__gazebo { width: 62px; top: -46px; left: -6px; background: none; }
.reco__key { width: 40px; right: -4px; bottom: -34px; rotate: 14deg; }
.reco__label { font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--leaf); }
.reco__name { font: 400 38px/1.1 var(--script); color: #4a2a22; margin-top: 8px; }
.reco__addr { font-size: 16px; color: #6a554d; margin-top: 4px; }
.reco__rows { margin: 0; display: grid; gap: 14px; }
.reco__rows dt { font-size: 11.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--copper); filter: brightness(.8); }
.reco__rows dd { margin: 2px 0 0; font-size: 18px; line-height: 1.3; }
.chip { min-height: 44px; margin-top: 4px; padding: 4px 20px; border-radius: 999px; border: 1px solid var(--olive); background: #fff; font-size: 16px; font-weight: 600; letter-spacing: .22em; cursor: pointer; }
.reco__note { margin: 18px auto 0; max-width: 28ch; font-style: italic; font-size: 17px; line-height: 1.4; }

/* ---------- families ---------- */
.kin__grid { display: grid; gap: 4px; justify-items: center; }
.kin__name { font: 400 36px/1.15 var(--script); color: #4a2a22; }
.kin__rel { margin-top: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--leaf); }
.kin__who { font-size: 18px; line-height: 1.35; max-width: 26ch; margin: 2px auto 0; }
.kin__list { list-style: none; margin: 12px 0 0; padding: 0; font-size: 17px; }
.kin__list small { display: block; font-size: 14px; font-style: italic; color: #6a554d; margin-bottom: 4px; }
.kin__amp { width: 54px; height: 54px; margin: 10px 0 2px; overflow: visible; }

/* ---------- countdown: four small arched lights ---------- */
.until { padding-bottom: 72px; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 330px; margin: 6px auto 0; }
.count span {
  padding: 26px 0 12px; border-radius: 80px 80px 6px 6px; border: 1.5px solid var(--copper);
  background: linear-gradient(170deg, #fff6f2, var(--petal)); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .6), 0 12px 18px -14px rgba(107, 68, 35, .6);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--leaf);
}
.count span:nth-child(even) { background: linear-gradient(170deg, #f4f1e4, #cfd0b4); }
.count b { font: 500 30px/1.1 var(--serif); letter-spacing: 0; color: var(--ink); }
.count__done { font: 400 34px/1.2 var(--script); color: var(--bronze); }

/* ---------- the reply ---------- */
.reply { background: radial-gradient(120% 70% at 50% 30%, #53571e, var(--olive) 65%, #343910); color: #fff; text-align: center; }
.reply__val { display: block; width: 100%; height: auto; }
.reply__val--b { transform: scaleY(-1); }
.reply__in { padding: 26px 26px 34px; }
.reply__title { font: 400 clamp(40px, 12vw, 50px)/1.1 var(--script); margin-top: 14px; }
.reply__line { max-width: 24ch; margin: 10px auto 0; }
.reply__by { margin-top: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--petal); }
.reply .pills { margin-top: 24px; gap: 12px; }
.reply__calls { list-style: none; margin: 24px 0 0; padding: 0; font-size: 17px; }
.reply__calls li { display: flex; justify-content: center; align-items: center; gap: 10px; }
.reply__calls span { font-style: italic; color: var(--petal); }
.reply__calls a { display: inline-block; padding: 9px 4px; letter-spacing: .06em; text-underline-offset: 4px; }
.reply__tag { margin-top: 14px; font: 400 30px/1.2 var(--script); color: var(--petal); overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.foot { padding: 54px 0 calc(84px + env(safe-area-inset-bottom)); text-align: center; }
.foot__names { font: 400 clamp(38px, 11.5vw, 48px)/1.1 var(--script); color: #4a2a22; white-space: nowrap; }
.foot__date { margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .34em; color: var(--leaf); }
.foot__art { display: block; width: 100%; margin: 22px 0 0; }
.foot__cal { margin-top: 18px; font-size: 16px; font-style: italic; }
.foot__cal a { display: inline-block; padding: 12px; text-underline-offset: 4px; }
.foot__music, .foot__credit { padding: 0 24px; font-size: 14px; color: #6a554d; margin-top: 6px; }
.copied { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 75; padding: 9px 18px; border-radius: 999px; background: var(--olive); color: #fff; font-size: 16px; font-style: italic; white-space: nowrap; }

/* ---------- link-preview card ---------- */
html.og body { background: var(--page); }
.ogcard { background: linear-gradient(120deg, #f6e6e6, #eddde6); font-family: var(--serif); color: var(--ink); }
.ogcard__win { position: relative; width: 380px; height: 630px; flex: none; display: grid; place-items: center; border-right: 6px solid #6b4423; }
.ogcard__win > i { position: absolute; inset: 0; background: url(media/hero.webp) 50% 50% / cover; }
.medal--og { width: 230px; height: 230px; filter: drop-shadow(0 10px 18px rgba(60, 30, 20, .45)); }
.medal--og .medal__mono { font-size: 56px; }
.medal--og .medal__mono i { font-size: 28px; }
.ogcard__text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 40px; }
.ogcard__text .orn { width: 180px; height: 15px; }
.ogcard__lead { margin-top: 22px; font-size: 24px; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; color: var(--leaf); }
.ogcard__names { font-family: var(--script); line-height: 1.15; color: #4a2a22; margin-top: 14px; white-space: nowrap; text-shadow: 0 2px 0 #fff; }
.ogcard__date { margin-top: 12px; font-size: 40px; font-weight: 600; letter-spacing: .24em; color: var(--bronze); }
.ogcard__venue { margin-top: 16px; font-size: 30px; font-style: italic; }
