@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 600; font-style: normal; font-display: swap;
}

:root {
  --night: #F6F1E8;
  --ink: #EEE6D8;
  --ink-2: #E6DCCB;
  --line: rgba(38, 46, 38, .14);
  --text: #1F251F;
  --muted: rgba(31, 37, 31, .68);
  --faint: rgba(31, 37, 31, .5);
  --gold: #B8965C;
  --gold-2: #8A6A36;
  --green: #2D3B2F;
  --sage: #7C8B72;
  --pressed-bg: #EFE8DC;
  --danger: #A6453B;
  --ok: #3F6B4C;

  --display: "Newsreader", "Bodoni Moda", "Georgia", "Times New Roman", serif;
  --ui: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  --pad: clamp(20px, 3.4vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --tabbar: 0px;

  --z-chrome: 30; --z-drawer: 60; --z-grain: 80; --z-curtain: 90; --z-intro: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: var(--ui); font-size: 1rem; line-height: 1.55; font-weight: 400;
  color: var(--text); background: var(--night);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, figure, fieldset, dl, dd { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  background: url("../img/grain.png"); opacity: .22; mix-blend-mode: multiply;
}

.kicker { font: 500 .74rem/1.5 var(--ui); letter-spacing: .28em; text-transform: uppercase; }

.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  min-height: 56px; padding: 0 36px; border: 1px solid var(--gold); border-radius: 0;
  background: var(--gold); color: var(--night);
  font: 500 .78rem/1 var(--ui); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background .35s ease, color .35s ease, transform .5s var(--ease-out), box-shadow .5s ease;
  will-change: transform;
}
.button:hover { background: var(--gold-2); border-color: var(--gold-2); box-shadow: 0 14px 40px -14px rgba(230, 183, 104, .6); }
.button:active { transform: scale(.98); }
.button[disabled] { opacity: .6; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: .5em; padding: 6px 0; border: 0; background: none;
  font: 400 .92rem/1.3 var(--ui); letter-spacing: .04em; color: var(--text); text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat;
  background-size: 100% 1px; background-position: 0 100%;
  transition: background-size .45s var(--ease-out), color .3s ease;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--gold-2); }

.masthead {
  position: fixed; z-index: var(--z-chrome); top: 0; left: 0; right: 0; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); pointer-events: none;
  color: var(--mast, var(--text)); transition: color .4s ease, opacity 1s ease;
}
.masthead > * { pointer-events: auto; }
.masthead__brand { display: flex; align-items: center; gap: 14px; }
.monogram { font: italic 400 1.6rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 42px); }
.nav a {
  position: relative; padding: 14px 0;
  font: 500 .72rem/1 var(--ui); letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 820px) {
  :root { --tabbar: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .masthead { height: 60px; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-chrome);
    height: var(--tabbar); padding-bottom: env(safe-area-inset-bottom, 0px);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    background: rgba(246, 241, 232, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); color: var(--text);
  }
  .nav a { display: grid; place-items: center; padding: 0; }
  .nav a::after { left: 30%; right: 30%; bottom: auto; top: 0; }
}

.curtain { display: none; }
.js .curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: var(--z-curtain);
  background: var(--night); color: var(--gold);
  transform: translateY(0); pointer-events: none;
}
.js .curtain span { font: italic 400 2.2rem/1 var(--display); opacity: .9; }
.js.is-ready .curtain { transform: translateY(-101%); transition: transform .95s var(--ease-in-out) .08s; }
.js.has-intro .curtain { display: none; }

.stage { position: relative; height: 100vh; height: 100dvh; min-height: 540px; overflow: hidden; background: var(--night); }

.reel { position: absolute; inset: 0; overflow: hidden; }
.reel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  opacity: 0; transform: scale(1.14); transition: opacity 2s ease;
}
.reel img.is-on { opacity: 1; animation: drift 11s linear forwards; }
.reel img.is-out { opacity: 0; }
.reel img.hero-still { object-position: 50% 46%; }
@keyframes drift { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(246, 241, 232, .97) 0%, rgba(246, 241, 232, .78) 30%, rgba(246, 241, 232, .18) 58%, rgba(246, 241, 232, .55) 100%),
    linear-gradient(to right, rgba(246, 241, 232, .72) 0%, rgba(246, 241, 232, 0) 58%);
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad);
  bottom: calc(clamp(26px, 6.5vh, 70px) + var(--tabbar));
}
.hero__date { color: var(--gold-2); }
.names {
  margin: clamp(8px, 1.6vh, 18px) 0 clamp(6px, 1.2vh, 14px) -.04em;
  font: italic 400 clamp(3.4rem, 8.6vw, 9.6rem)/.98 var(--display); letter-spacing: -.02em;
}
.names .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .16em .1em .1em; margin: -.16em -.1em -.1em; }
.names .ch { display: inline-block; }
.names .amp { color: var(--gold); }
.hero__line { font: italic 400 clamp(1.15rem, 1.7vw, 1.6rem)/1.3 var(--display); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: clamp(16px, 3vh, 32px); }

.count {
  position: absolute; right: 0; bottom: 0;
  display: flex; gap: clamp(14px, 1.8vw, 30px); text-align: center;
}
.count div { min-width: 3.2ch; }
.count b { display: block; font: 400 clamp(1.7rem, 2.6vw, 2.8rem)/1 var(--display); font-variant-numeric: tabular-nums lining-nums; }
.count span { display: block; margin-top: 8px; font: 500 .62rem/1 var(--ui); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.print {
  position: absolute; z-index: 2; right: clamp(40px, 8vw, 150px); top: 47%;
  width: clamp(230px, 22vw, 370px); aspect-ratio: 2 / 3;
  transform: translateY(-50%) rotate(2.4deg) translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform .9s var(--ease-out);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85);
}
.print::before { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(230, 183, 104, .55); pointer-events: none; }
.print .reel img { transform: scale(1.08); transition: opacity 1.6s ease; }
.print .reel img.is-on { animation: drift-in 8s linear forwards; }
@keyframes drift-in { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 1000px) {
  .print { display: none; }
}
@media (max-width: 820px) {
  .names { font-size: clamp(3.4rem, 19vw, 5.4rem); line-height: .94; }
  .reel img.hero-still { top: -32%; height: 132%; object-position: 62% 50%; }
  .names .w { display: block; width: max-content; }
  .hero__date span { display: block; }
  .hero__date i { display: none; }
  .hero { bottom: calc(22px + var(--tabbar)); }
  .hero__actions { margin-top: 18px; }
  .hero__actions .button { flex: 1 1 auto; }
  .count { position: static; justify-content: flex-start; gap: 22px; margin-bottom: 18px; text-align: left; }
  .count b { font-size: 1.7rem; }
  .stage__shade {
    background: linear-gradient(to top, rgba(246, 241, 232, .98) 0%, rgba(246, 241, 232, .86) 38%, rgba(246, 241, 232, .14) 66%, rgba(246, 241, 232, .55) 100%);
  }
}

.js .reel--back img.is-on { animation-play-state: paused; }
.js.is-ready .reel--back img.is-on { animation-play-state: running; }
.js .names .ch { transform: translateY(118%) rotate(7deg); transition: transform 1.25s var(--ease-out); transition-delay: calc(.35s + var(--i, 0) * 42ms); }
.js.is-ready .names .ch { transform: none; }
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1.1s var(--ease-out); transition-delay: var(--d, .2s); }
.js.is-ready [data-rise] { opacity: 1; transform: none; }
.js .print { opacity: 0; transition: opacity 1.4s ease .9s, transform .9s var(--ease-out); }
.js.is-ready .print { opacity: 1; }

.scrim {
  position: fixed; inset: 0; z-index: var(--z-drawer); background: rgba(44, 38, 28, .32);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s;
}
.rsvp-open .scrim { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.drawer {
  position: fixed; z-index: calc(var(--z-drawer) + 1); top: 0; right: 0; bottom: 0; width: min(560px, 100vw);
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(22px, 4vh, 40px) clamp(24px, 3.2vw, 48px) 40px;
  background: var(--ink); border-left: 1px solid var(--line);
  transform: translateX(103%); visibility: hidden;
  transition: transform .8s var(--ease-out), visibility 0s linear .8s;
}
.rsvp-open .drawer { transform: none; visibility: visible; transition: transform .8s var(--ease-out); }
.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.drawer__title { font: italic 400 clamp(2.6rem, 4vw, 3.6rem)/1 var(--display); letter-spacing: -.015em; }
.drawer__sub { margin: 10px 0 clamp(18px, 3vh, 30px); color: var(--muted); font-size: .95rem; }
.iconbtn {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease-out);
}
.iconbtn:hover { background: var(--text); color: var(--night); border-color: var(--text); }
.iconbtn:active { transform: scale(.94); }

.card { display: grid; gap: clamp(16px, 2.6vh, 24px); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font: 500 .7rem/1.4 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field label span { letter-spacing: .04em; text-transform: none; }
.field input {
  width: 100%; min-height: 46px; padding: 6px 0 8px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  font: italic 400 1.3rem/1.3 var(--display); color: var(--text);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field input[aria-invalid="true"] { border-bottom-color: var(--danger); }
.field__error, .choice__error { font-size: .86rem; color: var(--danger); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px;
  border: 1px solid var(--line); font: italic 400 1.15rem/1.15 var(--display); cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice label::before {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--muted);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.choice label:hover { border-color: var(--muted); }
.choice label:has(input:checked) { border-color: var(--gold); background: rgba(230, 183, 104, .08); }
.choice label:has(input:checked)::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230, 183, 104, .22); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice__error { grid-column: 1 / -1; }

.card__note { font: italic 400 1.05rem/1.45 var(--display); color: var(--gold-2); }
.card .button { width: 100%; }
.form__status { font-size: .9rem; color: var(--danger); }
.form__status:empty { display: none; }

.thanks { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: center; margin-top: clamp(18px, 3vh, 30px); }
.thanks[hidden] { display: none; }
.thanks img { width: 132px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.thanks h3 { font: italic 400 2.4rem/1.05 var(--display); }
.thanks p { margin-top: 10px; color: var(--muted); }
.thanks__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 6px; }
.preview-flag { flex-basis: 100%; padding: 10px 14px; border: 1px dashed var(--danger); font-size: .86rem; color: var(--danger); }
.has-replied .card, .has-replied .drawer__sub { display: none; }

@media (max-width: 820px) {
  .drawer {
    top: auto; left: 0; right: 0; width: 100%; height: 100vh; height: 100dvh; border-left: 0;
    transform: translateY(103%);
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }
  .thanks { grid-template-columns: 104px 1fr; }
  .thanks img { width: 104px; }
}
@media (max-width: 400px) { .row { grid-template-columns: 1fr; } }

.intro { display: none; }
.has-intro .intro {
  display: block; position: fixed; inset: 0; z-index: var(--z-intro); overflow: hidden;
  isolation: isolate; background: #080a10;
}
.has-intro body { overflow: hidden; }
.has-intro .masthead { opacity: 0; }
.intro__film, .intro__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 32% 50%; pointer-events: none;
}
.intro__film[hidden], .intro__fallback[hidden] { display: none; }
.intro__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.intro__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,10,16,.05) 20%, rgba(8,10,16,.08) 43%, rgba(8,10,16,.32) 100%),
    linear-gradient(180deg, rgba(8,10,16,.36), transparent 27%, transparent 63%, #080a10 100%);
}
.intro__story, .intro__caption { position: absolute; z-index: 2; left: 62%; right: 7%; text-align: left; }
.intro__story { top: 31%; }
.intro__eyebrow { font: 400 .6rem/1.5 var(--ui); letter-spacing: .34em; text-transform: uppercase; color: rgba(255,244,223,.78); }
.intro__caption {
  top: calc(31% + 32px); font: italic 400 clamp(2.6rem, 4.6vw, 5.2rem)/1.03 var(--display);
  color: #fff5e3; text-wrap: balance; max-width: 420px;
}
.intro__meta {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: env(safe-area-inset-bottom, 0px);
  height: clamp(68px, 10vh, 88px); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: #f3ede2;
}
.intro__name { font: italic 400 1.1rem/1 var(--display); }
.intro__pct { font: 400 .6rem/1 var(--ui); letter-spacing: .2em; font-variant-numeric: tabular-nums; color: rgba(243,237,226,.52); }
.intro__skip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: inherit;
  font: 400 .64rem/1 var(--ui); letter-spacing: .2em; text-transform: uppercase;
}

.intro > .intro__skip {
  position: absolute; z-index: 6; right: var(--pad); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); color: #f3ede2;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.intro > .intro__skip:focus-visible { opacity: 1; pointer-events: auto; }
.intro__skip:hover { color: #F4D9A0; }
.intro__skip:focus-visible { outline: 0; box-shadow: 0 1px 0 #F4D9A0; }
.intro__skip span { font-size: 1.1rem; }
.intro__progress {
  position: absolute; z-index: 2; left: 0; bottom: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, #94744c, #f2d9a1); transform: scaleX(var(--p, 0)); transform-origin: left;
}
.intro.is-leaving { opacity: 0; pointer-events: none; transition: opacity var(--intro-exit-duration, 400ms) ease; }
.intro.is-leaving.is-quick { transition-duration: 180ms; }
.intro.is-revealing { opacity: 0; pointer-events: none; transition: opacity 500ms ease; }
.intro.is-dissolving .intro__film, .intro.is-dissolving .intro__fallback,
.intro.is-dissolving .intro__shade, .intro.is-dissolving .intro__story,
.intro.is-dissolving .intro__caption, .intro.is-dissolving .intro__name,
.intro.is-dissolving .intro__pct, .intro.is-dissolving .intro__progress {
  opacity: var(--scene-opacity, 1); transition: none;
}
.intro.is-dissolving .intro__skip { position: relative; z-index: 5; }

.intro.is-holding::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at var(--hx, 44%) var(--hy, 38%), rgba(255, 246, 220, .7) 0%, rgba(255, 214, 140, .28) 10%, rgba(255, 200, 120, 0) 34%);
  animation: freeze-flash .7s ease-out both;
}
.intro.is-holding .intro__film, .intro.is-holding .intro__fallback { animation: freeze-hold .7s ease-out both; }
@keyframes freeze-flash { 0% { opacity: 0; } 22% { opacity: 1; } 100% { opacity: 0; } }
@keyframes freeze-hold { 0% { filter: none; } 18% { filter: brightness(1.18) contrast(1.06); } 100% { filter: none; } }
.js.from-intro .names .ch { transform: none; opacity: 0; transition: opacity .4s ease; }
.js.from-intro.is-ready .names .ch { opacity: 1; }
.js.from-intro.is-gathering .names .ch { opacity: 0; transition: opacity .13s ease; }
.js.from-intro.is-gathering.is-formed .names .ch { opacity: 1; transition: none; }

@media (max-width: 1024px) and (orientation: portrait) {
  .intro__film, .intro__fallback {
    top: 20%; left: 50%; right: auto; height: 68%; width: auto; aspect-ratio: 20 / 9;
    transform: translateX(-32%); object-fit: fill;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  }
  .intro__shade {
    background: linear-gradient(180deg, #080a10 6%, rgba(8,10,16,.98) 15%, rgba(8,10,16,.45) 27%,
      rgba(8,10,16,.03) 40%, transparent 65%, #080a10 89%);
  }
  .intro__story, .intro__caption { left: 24px; right: 24px; text-align: center; max-width: none; }
  .intro__story { top: 9%; }
  .intro__caption { top: calc(9% + 30px); font-size: clamp(2rem, 8.2vw, 3.3rem); }
}
@media (max-width: 480px) {
  .intro__meta { gap: 12px; }
  .intro__name { font-size: .95rem; }
  .intro__skip { font-size: .57rem; gap: 6px; letter-spacing: .14em; }
  .intro__eyebrow { font-size: .54rem; letter-spacing: .3em; }
}
@media (prefers-reduced-motion: reduce) {
  .intro *, .intro { animation: none !important; transition: none !important; }
}

.venue { position: relative; height: 100vh; height: 100dvh; min-height: 540px; overflow: hidden; background: var(--night); }
.map { position: absolute; inset: 0; z-index: 0; isolation: isolate; background: #E9E2D4; }
.map .leaflet-tile-pane { filter: saturate(.72) sepia(.12) brightness(1.03); }
.map .leaflet-control-attribution { background: rgba(251, 248, 242, .8); color: var(--muted); font: 400 10px/1.6 var(--ui); padding: 0 8px; }
.map .leaflet-control-attribution a { color: var(--text); }
.map .leaflet-bar { border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.map .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; background: rgba(251, 248, 242, .94); color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0 !important; }
.map .leaflet-bar a:hover { background: var(--text); color: var(--night); }
.map .leaflet-right .leaflet-control { margin-right: var(--pad); }
.map .leaflet-bottom .leaflet-control { margin-bottom: calc(18px + var(--tabbar)); }
.venue__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgba(246, 241, 232, .96) 0%, rgba(246, 241, 232, .84) 26%, rgba(246, 241, 232, 0) 58%),
              linear-gradient(to bottom, rgba(246, 241, 232, .6) 0%, rgba(246, 241, 232, 0) 22%);
}
.route { fill: none; stroke: #E9C47E; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(230, 183, 104, .8)); }
.pin { position: relative; width: 22px; height: 22px; }
.pin::before, .pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.pin::before { background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 18px 4px rgba(230, 183, 104, .8); }
.pin::after { border: 2px solid var(--gold); animation: ping 2.6s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.pin__label { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: italic 400 1.9rem/1 var(--display); color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .9); }
.town { white-space: nowrap; font: 500 .72rem/1 var(--ui); letter-spacing: .26em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .95); }
.town::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: #fff; vertical-align: middle; }

.venue__panel {
  position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-46%);
  width: min(30rem, calc(100vw - var(--pad) * 2));
}
.venue__name { font: italic 400 clamp(3.2rem, 6vw, 6.4rem)/.96 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.venue__address { margin-top: clamp(10px, 2vh, 18px); max-width: 26rem; color: var(--muted); font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(20px, 2.6vw, 44px); margin-top: clamp(18px, 3.4vh, 36px); }
.facts dt { font: 400 clamp(2rem, 3vw, 3.1rem)/1 var(--display); font-variant-numeric: lining-nums; white-space: nowrap; }
.facts dt small { font: 500 .7rem/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; margin-left: .35em; color: var(--gold-2); }
.facts dd { margin-top: 8px; max-width: 13ch; font-size: .88rem; line-height: 1.35; color: var(--muted); }
.venue__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(20px, 3.6vh, 38px); }
.venue__stay { margin-top: clamp(16px, 2.6vh, 26px); max-width: 26rem; font-size: .95rem; color: var(--muted); }

@media (max-width: 820px) {
  .venue__shade { background: linear-gradient(to top, rgba(246, 241, 232, .98) 0%, rgba(246, 241, 232, .92) 44%, rgba(246, 241, 232, 0) 66%), linear-gradient(to bottom, rgba(246, 241, 232, .6) 0%, rgba(246, 241, 232, 0) 18%); }
  .venue__panel { top: auto; bottom: calc(20px + var(--tabbar)); transform: none; }
  .venue__name { font-size: clamp(3rem, 15vw, 4.2rem); }
  .facts { gap: 18px; }
  .facts dt { font-size: 1.9rem; }
  .venue__stay { display: none; }
  .map .leaflet-bar { display: none; }
  .pin__label { font-size: 1.5rem; }
}

:root {
  --clay-radius: 26px;
  --clay-face: linear-gradient(145deg, #FFFDF9 0%, #F7F1E7 55%, #EFE7DA 100%);
  --clay-face-flat: #F9F5EE;
  --clay-shadow:
    inset 5px 5px 10px rgba(255, 255, 255, .95),
    inset -6px -6px 14px rgba(150, 128, 96, .16),
    0 22px 40px -18px rgba(74, 62, 42, .32),
    0 2px 6px rgba(74, 62, 42, .07);
  --clay-shadow-hover:
    inset 5px 5px 10px rgba(255, 255, 255, .95),
    inset -6px -6px 14px rgba(150, 128, 96, .16),
    0 30px 52px -18px rgba(74, 62, 42, .38),
    0 2px 6px rgba(74, 62, 42, .07);
  --clay-pressed:
    inset 6px 6px 14px rgba(150, 128, 96, .2),
    inset -5px -5px 12px rgba(255, 255, 255, .9),
    0 1px 0 rgba(255, 255, 255, .6);
  --clay-gold-face: linear-gradient(145deg, #EBD6AA 0%, #D2B17A 48%, #B48E52 100%);
  --clay-gold-shadow:
    inset 6px 6px 14px rgba(255, 248, 228, .6),
    inset -8px -8px 18px rgba(118, 82, 32, .32),
    0 22px 40px -14px rgba(176, 138, 78, .5),
    0 2px 6px rgba(74, 62, 42, .1);
  --clay-gold-shadow-hover:
    inset 6px 6px 14px rgba(255, 250, 234, .7),
    inset -8px -8px 18px rgba(118, 82, 32, .3),
    0 30px 52px -14px rgba(176, 138, 78, .6),
    0 2px 6px rgba(74, 62, 42, .1);
}

.button {
  border: 0; border-radius: var(--clay-radius); padding: 0 40px; min-height: 60px;
  background: var(--clay-gold-face); box-shadow: var(--clay-gold-shadow); color: #2a1d08;
  text-shadow: 0 1px 0 rgba(255, 246, 220, .55);
}
.button:hover { background: var(--clay-gold-face); box-shadow: var(--clay-gold-shadow-hover); transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.985); box-shadow: inset 6px 6px 14px rgba(118, 82, 32, .38), inset -4px -4px 10px rgba(255, 248, 226, .45), 0 8px 18px -8px rgba(176, 138, 78, .45); }
.link {
  min-height: 60px; padding: 0 26px; border-radius: var(--clay-radius);
  background: var(--clay-face); box-shadow: var(--clay-shadow); background-image: none;
  transition: box-shadow .4s ease, transform .5s var(--ease-out), color .3s ease;
}
.link:hover { background: var(--clay-face); background-size: auto; box-shadow: var(--clay-shadow-hover); transform: translateY(-2px); color: var(--gold-2); }

.monogram {
  display: inline-grid; place-items: center; min-width: 64px; height: 52px; padding: 0 16px;
  border-radius: 18px; background: var(--clay-face); box-shadow: var(--clay-shadow);
  transition: box-shadow .4s ease, transform .5s var(--ease-out), color .3s ease;
}
.monogram:hover { box-shadow: var(--clay-shadow-hover); transform: translateY(-2px); color: var(--gold-2); }
.nav { gap: 4px; padding: 6px; border-radius: 999px; background: var(--clay-face); box-shadow: var(--clay-shadow); }
.nav a { padding: 12px 18px; border-radius: 999px; transition: background .3s ease, box-shadow .3s ease, color .3s ease; }
.nav a::after { display: none; }
.nav a:hover { color: var(--gold-2); }
.nav a[aria-current="page"] { background: var(--clay-gold-face); box-shadow: var(--clay-gold-shadow); color: #2a1d08; }
.masthead { height: 84px; }

.hero__date {
  display: inline-flex; align-items: center; gap: .6em; padding: 12px 20px; border-radius: 999px;
  background: var(--clay-face); box-shadow: var(--clay-shadow); color: var(--gold-2);
}
.count { gap: clamp(10px, 1.2vw, 16px); }
.count div {
  min-width: clamp(68px, 6.4vw, 92px); padding: 16px 12px 14px; border-radius: 22px;
  background: var(--clay-face); box-shadow: var(--clay-shadow);
}
.count b { color: var(--green); }
.count span { margin-top: 10px; }
.print { border-radius: 30px; box-shadow: var(--clay-shadow), 0 60px 100px -30px rgba(74, 62, 42, .45); background: var(--clay-face); padding: 14px; }
.print::before { display: none; }
.print .reel { border-radius: 18px; overflow: hidden; }
.print .reel img { border-radius: 18px; }

.drawer { border-left: 0; border-radius: 34px 0 0 34px; background: var(--clay-face-flat); box-shadow: inset 6px 6px 18px rgba(255, 255, 255, .9), inset -4px 0 14px rgba(150, 128, 96, .12), -30px 0 80px rgba(74, 62, 42, .25); }
.iconbtn { width: 50px; height: 50px; border: 0; background: var(--clay-face); box-shadow: var(--clay-shadow); }
.iconbtn:hover { background: var(--clay-face); color: var(--gold-2); box-shadow: var(--clay-shadow-hover); }
.iconbtn:active { box-shadow: var(--clay-pressed); transform: none; }
.field input {
  min-height: 56px; padding: 8px 20px; border: 0; border-radius: 20px;
  background: var(--pressed-bg); box-shadow: var(--clay-pressed);
}
.field input:focus { border: 0; box-shadow: var(--clay-pressed), 0 0 0 2px var(--gold); }
.field input[aria-invalid="true"] { box-shadow: var(--clay-pressed), 0 0 0 2px var(--danger); }
.choice label {
  border: 0; border-radius: 22px; min-height: 66px; padding: 10px 18px;
  background: var(--clay-face); box-shadow: var(--clay-shadow);
  transition: box-shadow .3s ease, background .3s ease, transform .4s var(--ease-out);
}
.choice label:hover { box-shadow: var(--clay-shadow-hover); transform: translateY(-2px); }
.choice label::before { width: 16px; height: 16px; border: 0; background: var(--pressed-bg); box-shadow: inset 3px 3px 6px rgba(150, 128, 96, .35), inset -2px -2px 4px rgba(255, 255, 255, .9); }
.choice label:has(input:checked) { background: var(--clay-gold-face); box-shadow: var(--clay-gold-shadow); color: #2a1d08; transform: none; }
.choice label:has(input:checked)::before { background: #2a1d08; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .5), 0 0 0 4px rgba(42, 29, 8, .18); }
.choice label:has(input:focus-visible) { outline-offset: 4px; border-radius: 22px; }
.card__note { padding: 18px 22px; border-radius: 24px; background: var(--pressed-bg); box-shadow: var(--clay-pressed); }
.thanks img { border-radius: 20px; box-shadow: var(--clay-shadow); }
.preview-flag { border-radius: 16px; }

@media (max-width: 820px) {
  .masthead { height: 72px; }
  .monogram { height: 46px; min-width: 56px; font-size: 1.35rem; border-radius: 15px; }
  .nav {
    left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: 62px; padding: 6px;
    border-top: 0; border-radius: 999px; gap: 4px;
    background: var(--clay-face); box-shadow: var(--clay-shadow), 0 -10px 40px rgba(74, 62, 42, .14);
  }
  :root { --tabbar: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .nav a { border-radius: 999px; padding: 0; }
  .nav a[aria-current="page"] { background: var(--clay-gold-face); box-shadow: var(--clay-gold-shadow); }
  .hero__date { display: inline-grid; gap: 3px; padding: 11px 18px; border-radius: 20px; font-size: .62rem; }
  .count { gap: 8px; }
  .count div { min-width: 0; flex: 1; padding: 12px 6px 10px; border-radius: 18px; }
  .count b { font-size: 1.55rem; }
  .hero__actions .button { flex: 1 1 auto; }
  .hero__actions .link { flex: 1 1 auto; justify-content: center; }
  .drawer { border-radius: 34px 34px 0 0; height: auto; max-height: 100dvh; top: auto; box-shadow: inset 0 6px 18px rgba(255, 255, 255, .9), 0 -30px 80px rgba(74, 62, 42, .25); }
}
@media (max-width: 480px) {
  .hero__date { font-size: .56rem; letter-spacing: .2em; padding: 9px 14px; }
}

.curtain-lights {
  position: absolute; top: 0; right: 0; width: 58%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%);
}
.print {
  --hang: calc(78px + 1vh);
  top: var(--hang); right: clamp(48px, 9vw, 170px);
  width: auto; height: min(68vh, 41vw, calc(100vh - var(--hang) - 190px)); aspect-ratio: 2 / 3;
  transform: none; translate: 0 var(--drop, 0px); rotate: var(--swing, 0deg);
  transform-origin: 50% calc(-1 * var(--hang));
  transition: none;
  overflow: visible;
}
.js .print { opacity: 0; transition: none; }
.js .print.is-hung { opacity: 1; }
.print > .reel { position: absolute; inset: 14px; border-radius: 18px; overflow: hidden; }
.ropes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; opacity: 0; filter: drop-shadow(0 2px 2px rgba(74, 62, 42, .35)); }
.ropes.is-on { opacity: 1; }
.rope { fill: none; stroke: #8A6A36; stroke-width: 2.2; stroke-linecap: round; }
.rope--shine { stroke: #EBD6AA; stroke-width: .8; opacity: .75; transform: translateX(-.6px); }
.rope-knot { fill: #B48E52; stroke: #8A6A36; stroke-width: 1; }
.print__peg {
  position: absolute; top: -14px; width: 16px; height: 40px; border-radius: 6px; z-index: 2;
  background: linear-gradient(90deg, #C9A86C, #EBD6AA 45%, #B48E52);
  box-shadow: inset 1px 1px 2px rgba(255, 248, 228, .7), inset -1px -2px 3px rgba(118, 82, 32, .4), 0 4px 8px rgba(74, 62, 42, .3);
}
.print__peg::after { content: ""; position: absolute; left: 3px; right: 3px; top: 15px; height: 7px; border-radius: 3px; background: rgba(118, 82, 32, .35); }
.print__peg--l { left: calc(24% - 7px); }
.print__peg--r { right: calc(24% - 7px); }
.count { right: clamp(0px, 4vw, 60px); }
@media (max-width: 1000px) {
  .curtain-lights { width: 70%; }
}
@media (max-width: 820px) {
  .curtain-lights { width: 64%; }
  .count { right: auto; }
}
