/* ============================================================
   Vlad & Maryna — 11.09.2027 — Lake Garda
   Design system: olive green · ivory white · mountain slate
   ============================================================ */

:root {
  /* palette */
  --ivory: #f6f4ec;        /* ivory white — page background */
  --cream: #edeade;        /* deeper ivory — alt sections */
  --paper: #fffef9;        /* cards */
  --olive: #7d8462;        /* sage olive — primary accent */
  --olive-deep: #565e44;   /* deep olive — buttons, emphasis */
  --olive-soft: #a3aa88;   /* light olive — envelope, borders */
  --slate: #252b34;        /* mountain black/blue — dark bands */
  --slate-soft: #39424f;
  --brass: #b7a173;        /* brass — wax seal, fine accents */
  --champagne: #e8dfc6;    /* light brass for dark backgrounds */
  --ink: #2e3327;          /* body text — dark olive charcoal */
  --ink-soft: #59614f;     /* readable secondary text on ivory and cream */
  --white: #fdfcf7;

  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Playfair Display", Georgia, serif;   /* numerals · dates · editorial caps */
  --script: "Pinyon Script", cursive;              /* names only */
  --shadow-soft: 0 20px 60px rgba(46, 51, 39, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--section-nav-height, 3.75rem);
  /* stop mobile browsers from inflating text sizes on their own */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--serif);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.locked { overflow: hidden; }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--olive-deep); outline-offset: 4px; }
/* Script moves focus to the names after the intro. That matches :focus-visible
   and was drawing a champagne box around the heading until the next click. */
#invitationTitle:focus,
#invitationTitle:focus-visible { outline: none; }

.section-nav {
  position: sticky;
  /* stick under the notch; padding only handles left/right + vertical rhythm */
  top: 0;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  padding:
    0.15rem
    max(clamp(.5rem, 2vw, 1.5rem), env(safe-area-inset-right, 0px))
    0.1rem
    max(clamp(.5rem, 2vw, 1.5rem), env(safe-area-inset-left, 0px));
  background: var(--slate);
  border: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.section-nav__links {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
  .section-nav {
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .section-nav a,
  .section-nav .lang-btn {
    transition: color 0.25s ease, text-shadow 0.25s ease;
  }
}

.section-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem clamp(0.35rem, 1.4vw, 0.85rem);
  color: rgba(253, 252, 247, .82);
  font-family: var(--display);
  font-size: clamp(0.7rem, 2.5vw, 0.78rem);
  font-weight: 600;
  letter-spacing: clamp(0.06em, 0.35vw, 0.22em);
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none;
  transition: color .2s ease;
}
.section-nav a:hover { color: var(--white); }
.section-nav a[aria-current="location"] {
  color: var(--champagne);
}
.section-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 24px;
  height: 2px;
  background: var(--brass);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.section-nav a[aria-current="location"]::after,
.section-nav a:focus-visible::after { transform: translateX(-50%) scaleX(1); }
.section-nav a:focus-visible { outline-offset: -4px; }
.section-nav a:focus-visible, .hero a:focus-visible, .lang-btn:focus-visible { outline-color: var(--champagne); }

/* Compact language disclosure: only the invitation's current language is visible. */
.lang-switch {
  position: relative;
  grid-column: 3;
  justify-self: end;
  padding-left: .75rem;
}
.lang-switch::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 14px;
  width: 1px;
  transform: translateY(-50%);
  background: rgba(232, 223, 198, .25);
}
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 44px;
  min-height: 44px;
  padding: .5rem .4rem;
  list-style: none;
  cursor: pointer;
  color: var(--white);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.lang-toggle::-webkit-details-marker { display: none; }
.lang-toggle:focus-visible { outline: 2px solid var(--champagne); outline-offset: -3px; }
.lang-caret {
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.lang-switch[open] .lang-caret { transform: translateY(1px) rotate(225deg); }
.lang-options {
  position: absolute;
  top: calc(100% + .3rem);
  right: 0;
  min-width: 172px;
  padding: .35rem;
  background: var(--slate);
  border: 1px solid rgba(232, 223, 198, .3);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  min-height: 44px;
  padding: .6rem .7rem;
  background: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  color: var(--white);
  text-align: left;
  font-family: var(--serif);
  font-size: 1rem;
}
.lang-btn > span { min-width: 1.6rem; font-family: var(--display); font-size: .7rem; color: var(--champagne); }
.lang-btn:hover, .lang-btn[aria-pressed="true"] { background: rgba(253, 252, 247, .1); }
.lang-btn:focus-visible { outline-color: var(--champagne); outline-offset: -2px; }
.btn.hero-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  margin-top: clamp(0.85rem, 2.4svh, 1.4rem);
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
  min-height: 44px;
  padding: 0.65rem 1.45rem 0.65rem 1.7rem;
}
.btn.hero-rsvp::after {
  content: "\2192";
  letter-spacing: 0;
  font-size: 1.05em;
}
.btn.hero-rsvp:hover {
  background: rgba(253, 252, 247, 0.14);
  color: var(--white);
  border-color: var(--white);
}

/* ---------- shared typography ---------- */

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.65rem, 5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 auto 1.6rem;
}

.container { width: min(1080px, 90%); margin: 0 auto; }
.container.narrow { width: min(680px, 90%); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; }

.script-accent {
  font-family: var(--script);
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  color: var(--olive);
  margin-bottom: 0.6rem;
}

/* watercolor map as the section's full-width backdrop —
   image spans edge to edge at natural scale, ivory fades soften the
   top/bottom edges so the text sits on a quiet surface */
.invite-section {
  background:
    linear-gradient(
      var(--ivory),
      rgba(246, 244, 236, 0) 16%,
      rgba(246, 244, 236, 0) 84%,
      var(--ivory)
    ),
    url("assets/Watercolor%20Lake%20Garda%20Travel%20Map.png") center 38% / 100% auto no-repeat;
  background-color: var(--ivory);
}

@media (min-width: 701px) {
  /* Keep the invitation in the new map's quiet left-hand area. */
  .invite-section > .container.narrow {
    width: 28vw;
    margin-left: 4vw;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  /* The artwork is a wide sheet: cover zoomed the lake and villa under
     the copy. Keep the wording on ivory, then show the drawn half
     (lake through the right olive sprig) full-bleed beneath it. */
  .invite-section {
    display: flex;
    flex-direction: column;
    background: none;
    background-color: var(--ivory);
    padding-bottom: 0;
  }

  .invite-section::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 1340 / 821;
    margin-top: clamp(0.35rem, 2vw, 1rem);
    background-image:
      linear-gradient(var(--ivory), rgba(246, 244, 236, 0) 14%),
      url("assets/Watercolor%20Lake%20Garda%20Travel%20Map.png");
    background-repeat: no-repeat;
    background-size: auto, auto 100%;
    background-position: center, right center;
  }
}

.invite-names {
  font-family: var(--script);
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  color: var(--olive-deep);
  margin-top: 1.4rem;
}

/* Cyrillic languages: Pinyon Script has no Cyrillic glyphs —
   switch script accents to the italic serif instead */
.cyrillic .script-accent,
.cyrillic .card-note,
.cyrillic .schedule-label { font-family: var(--serif); font-style: italic; }
.cyrillic .script-accent.keep-script { font-family: var(--script); font-style: normal; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive-deep);
  background: transparent;
  border: 1px solid var(--olive-deep);
  padding: 0.85rem 1.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover { background: var(--olive-deep); color: var(--white); }

.btn-ghost { border-color: #858c79; color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--olive-deep); background: var(--olive-deep); color: var(--white); }

.btn-solid { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--white); }
.btn-solid:hover { background: var(--slate); border-color: var(--slate); }

.btn-small { padding: 0.55rem 1.3rem; font-size: 0.75rem; }

/* ============================================================
   VIDEO INTRO — fullscreen cover, poster + responsive sources
   ============================================================ */

.intro-scene {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: #5c6348 url("/assets/intro-poster.jpg") center / cover no-repeat;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mobile browsers can dismiss the native poster as soon as play() is called,
   before their video surface has a frame. Cover that surface until it does. */
.intro-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: inherit;
  pointer-events: none;
}

.intro-scene.is-video-ready::after {
  visibility: hidden;
}

.intro-scene.is-fading {
  opacity: 0;
  pointer-events: none;
}

.intro-scene.is-fading.is-fading--fast {
  transition-duration: 0.45s;
}

.intro-scene.is-fading .intro-video {
  transform: scale(1.02);
  filter: brightness(1.06);
}

.intro-scene.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  transform: scale(1);
  filter: brightness(1);
  transition: transform 1.05s ease-out, filter 1.05s ease-out;
}

.intro-scene.is-fading.is-fading--fast .intro-video {
  transition-duration: 0.45s;
}

.intro-scene[data-state="closed"] .intro-video {
  cursor: pointer;
}

.intro-chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding:
    1.25rem
    max(1.25rem, env(safe-area-inset-right, 0px))
    calc(1.35rem + env(safe-area-inset-bottom, 0px))
    max(1.25rem, env(safe-area-inset-left, 0px));
  background: linear-gradient(to top, rgba(37, 43, 52, 0.55) 0%, rgba(37, 43, 52, 0) 100%);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.intro-scene[data-state="closed"] .intro-chrome {
  opacity: 1;
  visibility: visible;
}

.intro-scene.is-fading .intro-chrome,
.intro-scene[data-state="playing"] .intro-chrome,
.intro-scene[data-state="fading"] .intro-chrome,
.intro-scene.done .intro-chrome {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-hint {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.78rem, 2.8vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 4px 18px rgba(0, 0, 0, 0.2);
}

.intro-skip {
  pointer-events: auto;
  min-height: 44px;
  min-width: 5.5rem;
  padding: 0.55rem 1.35rem;
  border: 1px solid rgba(253, 252, 247, 0.55);
  background: transparent;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  color: var(--champagne);
  border-color: var(--champagne);
  outline: none;
}

/* The clip is focused on load and again on click, which painted a
   champagne frame around the whole picture through playback. */
.intro-video:focus,
.intro-video:focus-visible { outline: none; }

/* The invitation is readable without scripts; only successful initialization gates it. */
#page {
  position: relative;
  opacity: 1;
}
/* ============================================================
   HERO — big type over the photo, chips for date & location
   ============================================================ */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: start;
  justify-items: center;
  gap: clamp(0.3rem, 1.2svh, 0.75rem);
  text-align: center;
  margin-top: calc(-1 * var(--section-nav-height, 3.75rem));
  padding:
    calc(var(--section-nav-height, 3.75rem) + clamp(0.2rem, 1.6svh, 1rem))
    clamp(0.75rem, 3vw, 1.5rem)
    clamp(0.45rem, 1.2svh, 0.9rem);
}

/* Colour grade only. scale() was not a whole device pixel, so mobile
   scroll resampled the cover photo and the picture jittered. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/hero-original.jpg") center 62% / cover no-repeat;
  filter: saturate(1.16) contrast(1.06) brightness(0.96);
}

/* readability gradient — dark top & bottom, clear middle so the photo shows */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(8, 15, 14, 0.42) 0%,
    rgba(8, 15, 14, 0.16) 12%,
    rgba(8, 15, 14, 0.00) 28%,
    rgba(8, 15, 14, 0.00) 72%,
    rgba(8, 15, 14, 0.10) 88%,
    rgba(8, 15, 14, 0.32) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  margin-top: clamp(0rem, 2.2svh, 1.6rem);
  color: var(--white);
}

/* about 20% darker just behind the wording, fading before the ceremony */
.hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -42%);
  width: min(52rem, 150%);
  height: 128%;
  pointer-events: none;
  background: radial-gradient(
    ellipse 78% 68% at 50% 52%,
    rgba(8, 15, 14, 0.20) 0%,
    rgba(8, 15, 14, 0.20) 48%,
    rgba(8, 15, 14, 0) 76%
  );
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: clamp(0.68rem, min(1.6vw, 1.8svh), 0.82rem);
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
  color: var(--champagne);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 12px rgba(0, 0, 0, 0.12);
  margin-bottom: clamp(0.35rem, 1.3svh, 0.85rem);
}

.hero-eyebrow .rule { width: clamp(30px, 7vw, 64px); height: 1px; background: rgba(253, 252, 247, 0.65); }

.hero-names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.35rem, min(10.2vw, 11svh), 7.2rem);
  line-height: 0.96;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.hero-names .amp {
  font-size: 0.5em;
  color: var(--champagne);
  margin: 0 0.12em;
}

.hero-script {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, min(3.8vw, 4.2svh), 2.45rem);
  line-height: 1.05;
  color: rgba(253, 252, 247, 0.95);
  margin-top: 0.1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.hero-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-top: clamp(0.35rem, 1.3svh, 0.8rem);
}

.hero-date-row .hero-date { text-indent: 0; }

.hero-date {
  margin-top: 0;
  font-family: var(--display);
  font-size: clamp(1.82rem, min(6.24vw, 6.76svh), 3.705rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.hero-leaf {
  display: flex;
  justify-content: center;
  margin: clamp(0.35rem, 1.2svh, 0.75rem) 0 0;
  color: var(--champagne);
}
.hero-leaf svg { width: clamp(46px, 9vw, 64px); height: auto; display: block; }

.hero-place {
  margin-top: clamp(0.45rem, 1.4svh, 0.85rem);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 12px rgba(0, 0, 0, 0.12);
}

.place-main {
  font-family: var(--display);
  font-size: clamp(0.72rem, min(1.7vw, 2svh), 0.98rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--white);
}

.place-sub {
  font-family: var(--display);
  font-size: clamp(0.62rem, min(1.35vw, 1.6svh), 0.78rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  color: rgba(253, 252, 247, 0.95);
  padding: 0 0.5rem;
}

.scroll-hint {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(253, 252, 247, 0.85);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 12px rgba(0, 0, 0, 0.12);
}

.mouse {
  width: 22px;
  height: 36px;
  border: 1px solid rgba(253, 252, 247, 0.8);
  border-radius: 12px;
  position: relative;
}
.mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: rgba(253, 252, 247, 0.9);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   COUNTDOWN — slate band, editorial numerals
   ============================================================ */

.countdown-section {
  background: var(--slate);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.countdown-section .eyebrow { color: var(--champagne); }

.countdown {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(64px, 18vw, 130px);
  padding: 0 clamp(0.4rem, 2vw, 1.4rem);
}

.cd-unit + .cd-unit { border-left: 1px solid rgba(253, 252, 247, 0.18); }

.cd-num {
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.05;
  color: var(--white);
}

.cd-label {
  font-family: var(--serif);
  font-size: clamp(0.82rem, 2.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: rgba(253, 252, 247, 0.92);
  margin-top: 0.7rem;
}

/* ============================================================
   CARDS
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.card {
  background: linear-gradient(135deg, #fffef9, #fbf8ee);
  border: 1px solid #ded8c4;
  border-top: 2px solid #c5b37b;
  padding: 2rem 1.5rem;
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(69, 66, 42, .06);
  transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-6px); }

.card-icon { width: 96px; height: 96px; margin: 0 auto 1rem; }
.card-icon img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.card h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 1rem;
}
.cyrillic .cards .card h3 { font-size: .95rem; letter-spacing: .12em; }

.card-big {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.date-row > span { white-space: nowrap; }

.add-calendar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--olive-deep);
  text-decoration: none;
}
.add-calendar svg { width: 1.35rem; height: 1.35rem; display: block; }
.add-calendar:hover { color: var(--ink); }
.hero-date { white-space: nowrap; }
.hero-date-row .add-calendar {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--white);
  background: rgba(8, 15, 14, 0.42);
  border-radius: 50%;
}
.hero-date-row .add-calendar:hover { color: var(--champagne); background: rgba(8, 15, 14, 0.62); }

.card-note {
  font-family: var(--script);
  font-size: 1.35rem;
  color: var(--olive-deep);
  margin: 0.2rem 0 0.8rem;
}

.card-text { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 1.2rem; }

.card-maps {
  display: inline-block;
  margin-top: 0.15rem;
  color: var(--olive-deep);
  font-size: 0.98rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}
.card-maps:hover { color: var(--ink); }
.card-maps::after { content: "\2197"; display: inline-block; margin-left: .35rem; text-decoration: none; }
.card .btn::after { content: "\2193"; margin-left: .7rem; }

/* A single editorial fact sheet on phones, instead of three tall cards. */
@media (max-width: 720px) {
  .details-section { padding-top: 1.5rem; }
  .details-section > .container { width: calc(100% - 32px); }
  .details-section .cards {
    display: block;
    margin-top: 0;
    background: linear-gradient(135deg, #fffef8, #fbf7eb);
    border: 1px solid #ded8c4;
    box-shadow: 0 8px 28px rgba(69, 66, 42, .055);
  }
  .details-section .card {
    position: relative;
    padding: 1rem 1.1rem;
    text-align: left;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .details-section .card + .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.1rem;
    right: 1.1rem;
    height: 1px;
    background: #e5dec8;
  }
  .details-section .card:hover { transform: none; }
  .details-section .card-icon { position: absolute; top: .65rem; right: .55rem; width: 76px; height: 76px; margin: 0; pointer-events: none; }
  .details-section .cards .card h3 {
    margin: 0 0 .25rem;
    padding-right: 76px;
    font-size: .65rem;
    letter-spacing: .12em;
    line-height: 1.4;
  }
  .details-section .card-big { padding-right: 76px; font-size: clamp(1.05rem, 4.8vw, 1.2rem); line-height: 1.35; letter-spacing: .005em; }
  .details-section .date-row { justify-content: flex-start; padding-right: 0; gap: .25rem; }
  .details-section .card-note { padding-right: 76px; margin: .15rem 0 .4rem; font-size: 1rem; line-height: 1.25; }
  .details-section .card-text { margin: 0; font-size: .9rem; line-height: 1.45; }
  .details-section .card:last-child .card-text { padding-right: 76px; }
  .details-section [data-i18n="cardPlaceText"],
  .details-section [data-i18n="cardRsvpNote"] { display: none; }
  .details-section .card-maps { display: inline-flex; align-items: center; min-height: 44px; margin: 0; font-size: .85rem; }
  .details-section .card .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: .45rem; padding: .4rem 1rem; font-size: .7rem; letter-spacing: .15em; }
}

@media (max-width: 720px) and (max-height: 650px) {
  .details-section .card { padding-block: .8rem; }
  .details-section .card-icon { top: .45rem; }
}

.details-extra { margin-top: clamp(3rem, 7vw, 5rem); }
.details-extra__header { margin-bottom: 1.8rem; text-align: center; }
.details-extra__header .eyebrow {
  margin: 0 0 .55rem;
  color: var(--olive-deep);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
}
.details-extra__header .section-title {
  margin: 0;
  color: var(--olive-deep);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.2;
}
.details-extra__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.details-extra__card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  text-align: left;
  background: var(--paper);
  border: 1px solid #ddd9c9;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(46, 51, 39, .045);
}
.details-extra__card--dress { grid-column: 1 / -1; }
.details-extra__card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.2rem;
}
.details-extra__card-header > div { min-width: 0; }
.details-extra__icon {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.details-extra__number {
  display: block;
  margin-bottom: .35rem;
  color: #a47c28;
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .2em;
}
.details-extra__card h3 {
  margin: 0;
  color: var(--olive-deep);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
}
.details-extra__card p,
.details-extra__card .travel-airports {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
}
.details-extra__card p + p { margin-top: .8rem; }
.details-extra__card .travel-airports-title { margin-top: 1.2rem; }
.travel-airports { margin-top: .6rem; padding: 0; list-style: none; }
.travel-airports li + li { margin-top: .5rem; }
.gift-heart { margin-inline: .2em; color: var(--brass); font-size: .9em; }
.gift-bank-trigger {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: .2em;
  cursor: pointer;
}
.gift-bank-trigger:hover { color: var(--brass); }
.gift-bank-details { margin-top: .8rem; }
.gift-bank-status:empty { display: none; }
.gift-bank-check { display: grid; gap: .6rem; margin-top: .6rem; }
.gift-bank-check label { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.gift-bank-answer-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.gift-bank-answer-row input {
  width: 5rem;
  min-height: 44px;
  padding: .5rem;
  font: 1rem Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--olive-soft);
  border-radius: 3px;
}
.gift-bank-answer-row button { min-height: 44px; }
.gift-bank-answer-row button:disabled { opacity: .6; cursor: wait; }
.gift-bank-iban > span { display: block; }
.gift-bank-label { color: var(--ink-soft); font-size: .85rem; }
#giftBankIban {
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  user-select: all;
}
.details-extra__card--dress p { max-width: 78ch; }
.details-extra__dress-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  align-items: center;
  gap: 2rem;
}
.dress-palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: .4rem 0;
  list-style: none;
}
.dress-palette li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}
.dress-palette-block { min-width: 0; }
.details-extra__card .dress-palette-label {
  color: var(--ink-soft);
  font-size: .9rem;
  text-align: center;
}
.details-extra__card .dress-palette-label--men { margin-top: .75rem; }
.details-extra__card .dress-palette-note {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: .9rem;
  text-align: center;
}
.dress-palette li > span:first-child {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid rgba(40, 45, 35, .1);
  border-radius: 50%;
  background: var(--swatch);
}

@media (max-width: 850px) {
  .details-extra__dress-body { grid-template-columns: 1fr; gap: 1.6rem; }
  .dress-palette { max-width: 340px; width: 100%; margin-inline: auto; }
}

@media (max-width: 640px) {
  .details-extra__grid { grid-template-columns: 1fr; gap: .85rem; }
  .details-extra__card--dress { grid-column: auto; }
  .details-extra__card { padding: 1.5rem 1.2rem; }
  .details-extra__card-header { gap: .85rem; margin-bottom: 1rem; }
  .details-extra__icon { width: 88px; height: 88px; flex-basis: 88px; }
  .details-extra__card p,
  .details-extra__card .travel-airports { font-size: 1.07rem; line-height: 1.68; }
  .dress-palette { gap: 5px; }
  .dress-palette li > span:first-child { width: 22px; height: 22px; flex-basis: 22px; }
}

/* ============================================================
   SCHEDULE — illustrated wedding-day timeline
   ============================================================ */

.schedule-section {
  --schedule-step-height: clamp(88px, calc((100svh - var(--section-nav-height, 60px) - 150px) / 5), 140px);
  --schedule-route: #a47c28;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 3svh, 32px) 0;
  background: var(--ivory);
  color: var(--ink);
}

.schedule-section::before,
.schedule-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(100px, 12vw, 170px);
  aspect-ratio: 1;
  background: url("assets/illustrations/olive-branch.png") center / contain no-repeat;
  opacity: 0.3;
  pointer-events: none;
}
.schedule-section::before { top: -3rem; left: -3.5rem; transform: rotate(-14deg); }
.schedule-section::after { right: -4rem; bottom: -3rem; transform: rotate(166deg); }

.schedule-section .container { width: min(620px, calc(100% - 32px)); }
.schedule-section .eyebrow { color: var(--olive-deep); font-size: 0.65rem; margin-bottom: 0.25rem; }
.schedule-section .section-title { color: var(--schedule-route); font-family: var(--script); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 400; line-height: 1; margin-bottom: 0; }
.cyrillic .schedule-section .section-title { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4vw, 2.6rem); }

.schedule-header {
  position: relative;
  margin-bottom: 8px;
}
.schedule-divider {
  display: block;
  width: 140px;
  height: 16px;
  margin: 0.3rem auto 0;
  background: url("assets/illustrations/divider.png") center / contain no-repeat;
}

.schedule-journey {
  position: relative;
}
.schedule-journey-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.schedule-journey-line path {
  fill: none;
  stroke: var(--schedule-route);
  stroke-width: 1.1;
}
.schedule-journey-line .schedule-route-clearance {
  stroke: var(--ivory);
  stroke-width: 14;
  stroke-linecap: round;
}
.schedule-route-details {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.schedule-route-dot,
.schedule-route-sprig {
  position: absolute;
  left: var(--x);
  top: var(--y);
}
.schedule-route-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--schedule-route);
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px rgba(164, 124, 40, 0.35);
  transform: translate(-50%, -50%);
}
.schedule-route-sprig {
  width: clamp(22px, 4vw, 34px);
  height: auto;
  /* The stem starts near the lower-left corner of this transparent asset. */
  transform-origin: 5% 98%;
  transform: translate(-5%, -98%) rotate(var(--turn));
  visibility: hidden;
}
.schedule-route-sprig.is-aligned {
  visibility: visible;
}

.schedule-timeline {
  position: relative;
  display: grid;
  grid-template-rows: repeat(5, var(--schedule-step-height));
  gap: 0;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  align-items: center;
  gap: 0;
  min-width: 0;
  /* Blend the entire row against the paper. Animating an image's parent
     opacity isolated its multiply layer and briefly exposed the white matte. */
  mix-blend-mode: multiply;
}
.schedule-item .schedule-content { grid-column: 2; grid-row: 1; }
.schedule-item .schedule-art { grid-column: 1; grid-row: 1; }
.schedule-item:nth-child(even) { grid-template-columns: minmax(0, 40%) minmax(0, 60%); }
.schedule-item:nth-child(even) .schedule-content { grid-column: 1; }
.schedule-item:nth-child(even) .schedule-art { grid-column: 2; }
.schedule-content {
  width: 100%;
  padding: 0 0 0 12px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.schedule-number { display: none; }
.schedule-time {
  display: block;
  color: var(--schedule-route);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0.06em;
}
.schedule-label {
  margin: 0.15rem 0 0.25rem;
  color: var(--olive-deep);
  font-family: var(--script);
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}
.schedule-description {
  max-width: 27em;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.25;
}
.schedule-label::after {
  content: "";
  display: block;
  width: 76px;
  height: 12px;
  margin: 3px auto;
  background: url("assets/illustrations/divider.png") center / contain no-repeat;
}
.schedule-item:nth-child(even) .schedule-content { padding: 0 12px 0 0; }
.schedule-art {
  justify-self: start;
  width: 98%;
  height: calc(var(--schedule-step-height) * 1.14);
  margin: 0;
  /* A soft curved edge lets the gold journey wrap around each illustration. */
  mask-image: radial-gradient(ellipse 100% 72% at 0% 48%, #000 82%, transparent 100%), linear-gradient(transparent, #000 12%, #000 85%, transparent);
  mask-composite: intersect;
}
.schedule-item:nth-child(even) .schedule-art {
  justify-self: end;
  mask-image: radial-gradient(ellipse 100% 72% at 100% 48%, #000 82%, transparent 100%), linear-gradient(transparent, #000 12%, #000 85%, transparent);
}
.schedule-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.cyrillic .schedule-label { font-size: clamp(1.2rem, 2.7vw, 1.65rem); }

@media (max-width: 720px) {
  .schedule-section::before,
  .schedule-section::after { width: 100px; opacity: 0.2; }
  .schedule-number { font-size: 10px; }
  .schedule-description { font-size: 12px; }
}

@media (max-width: 480px) {
  .schedule-section .container { width: calc(100% - 28px); }
  .schedule-content { padding-left: 8px; }
  .schedule-item:nth-child(even) .schedule-content { padding: 0 8px 0 0; }
  .schedule-label { font-size: clamp(1.4rem, 6.1vw, 1.8rem); }
  .cyrillic .schedule-label { font-size: clamp(0.95rem, 4.3vw, 1.2rem); }
  .schedule-description { display: none; }
}

@media print {
  .schedule-section { break-inside: avoid; --schedule-step-height: 42mm; padding: 6mm 0; }
  .schedule-section .container { width: 170mm; }
  .schedule-description { display: block; }
}

/* ============================================================
   LAKE GARDA — P.S. holiday invitation (after details)
   ============================================================ */

.details-section {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.garda-invite,
.garda-invite * { box-sizing: border-box; }
.garda-invite {
  --garda-olive-deep: #2b3520;
  --garda-olive: #303a25;
  --garda-olive-light: #41492c;
  --garda-gold: #c2a669;
  --garda-gold-light: #d9bd7b;
  --garda-ivory: #f4f1e7;
  --garda-text: #e8e7dc;
  --garda-serif: "Noto Serif Display", "Noto Serif", "EB Garamond", Georgia, serif;
  isolation: isolate;
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  color: var(--garda-ivory);
  background:
    radial-gradient(ellipse 64% 84% at 1% 28%, rgba(94,111,64,.28), transparent 74%),
    radial-gradient(ellipse 45% 70% at 76% 18%, rgba(93,92,55,.10), transparent 75%),
    linear-gradient(110deg, #343e25 0%, #2c3621 53%, #313b25 100%);
  font-family: var(--garda-serif);
}

.garda-invite__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.56' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.garda-invite__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 690fr) minmax(0, 480fr);
  gap: 46px;
  align-items: start;
  width: min(calc(100% - 64px), 1216px);
  margin: 0 auto;
  min-height: 560px;
}

.garda-invite__copy {
  position: relative;
  z-index: 2;
  order: 1;
  min-width: 0;
  padding: 70px 0 80px;
}

.garda-invite__eyebrow {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100%, 735px);
  color: var(--garda-gold-light);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .31em;
  text-transform: uppercase;
}
.garda-invite__eyebrow i {
  display: block;
  flex: 1 1 auto;
  height: 1px;
  min-width: 28px;
  background: var(--garda-gold);
  opacity: .94;
}
.garda-invite__heading {
  max-width: 710px;
  margin: 26px 0 28px;
  font-size: clamp(58px, 5.55vw, 82px);
  font-weight: 300;
  letter-spacing: -.024em;
  line-height: 1.04;
  text-wrap: balance;
  color: var(--garda-ivory);
}
@media (min-width: 1081px) {
  html[lang="en"] .garda-invite__heading { font-size: clamp(54px, 4.9vw, 72px); }
}
.garda-invite__short-rule {
  width: 86px;
  height: 2px;
  background-color: var(--garda-gold-light);
  margin: 0 0 23px;
}
.garda-invite__description {
  max-width: 585px;
  margin: 0;
  color: var(--garda-text);
  font-size: clamp(23px, 1.87vw, 27px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.009em;
}
.garda-invite__description em {
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  font-weight: 500;
  color: var(--garda-gold-light);
  white-space: nowrap;
}

.garda-invite__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.garda-invite__card-inner {
  position: relative;
  width: 100%;
  min-height: 0;
  perspective: 1200px;
  overflow: clip;
}
.garda-invite__card-face {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  backface-visibility: hidden;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.garda-invite__card.has-flip .garda-invite__card-face,
.garda-invite__details-panel {
  position: absolute;
  top: 0;
  left: 0;
}
.garda-invite__card-face--front { transform: rotateY(0); opacity: 1; }
.garda-invite__details-panel {
  transform: rotateY(180deg);
  opacity: 0;
  pointer-events: none;
}
.garda-invite__card.is-flipped .garda-invite__card-face--front {
  transform: rotateY(-180deg);
  opacity: 0;
  pointer-events: none;
}
.garda-invite__card.is-flipped .garda-invite__details-panel {
  transform: rotateY(0);
  opacity: 1;
  pointer-events: auto;
}

.garda-invite__details-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 22px;
  padding: 0.72rem 1.55rem;
  font-family: var(--garda-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--garda-gold-light);
  background: var(--garda-olive);
  border: 1px solid var(--garda-gold);
  cursor: pointer;
}
.garda-invite__details-btn:hover,
.garda-invite__details-btn[aria-expanded="true"] {
  background: var(--garda-gold);
  color: var(--garda-olive-deep);
}
.garda-invite__details-btn:focus-visible {
  outline: 2px solid var(--garda-gold-light);
  outline-offset: 3px;
}

.garda-invite__details {
  width: 100%;
  min-height: 0;
  max-width: none;
  margin: 0;
  color: var(--garda-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: .005em;
}
.garda-invite__details p + p { margin-top: 0.8em; }
.garda-invite__details em,
.garda-invite__details strong {
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: 600;
  color: var(--garda-gold-light);
  white-space: normal;
}
.garda-invite__details-lead {
  max-width: none;
  color: var(--garda-ivory);
  font-size: 1.08em;
  font-weight: 500;
  line-height: 1.45;
}
.garda-invite__details-wish {
  color: var(--garda-ivory);
  font-size: 1em;
  line-height: 1.55;
}
.garda-invite__details-note {
  max-width: 36em;
  padding-top: 0.9em;
  border-top: 1px solid rgba(194, 166, 105, 0.45);
  font-size: .94em;
  line-height: 1.58;
  color: var(--garda-text);
}

.garda-invite__arch {
  position: relative;
  z-index: 1;
  order: 2;
  justify-self: end;
  align-self: end;
  width: 100%;
  height: 548px;
  margin: 17px 0 0;
  pointer-events: none;
}
.garda-invite__arch-outline,
.garda-invite__arch-window {
  position: absolute;
  border-radius: 9999px 9999px 0 0;
}
.garda-invite__arch-outline {
  z-index: 2;
  inset: 0 -1px -16px;
  border: 1.4px solid var(--garda-gold);
  box-shadow: inset 0 0 0 .35px rgba(249,230,172,.23);
}
.garda-invite__arch-window {
  z-index: 1;
  inset: 18px 16px -17px;
  overflow: hidden;
  background: #79867a;
}
.garda-invite__arch-window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.garda-invite__decor {
  position: absolute;
  display: block;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  height: auto;
}
.garda-invite__decor--gold {
  width: clamp(350px, 34vw, 485px);
  left: -98px;
  right: auto;
  bottom: -40px;
  opacity: .88;
  transform: rotate(-9deg);
  transform-origin: 30% 80%;
}
.garda-invite__decor--blur {
  width: 280px;
  left: 46%;
  bottom: -118px;
  opacity: .22;
  filter: blur(12px);
}
.garda-invite__decor--top {
  width: 200px;
  left: auto;
  right: -88px;
  top: -98px;
  bottom: auto;
  opacity: .22;
  filter: blur(5px);
  transform: rotate(34deg);
  z-index: 0;
}
.garda-invite__decor--front {
  width: 275px;
  left: auto;
  right: -182px;
  top: 7px;
  bottom: auto;
  opacity: .35;
  filter: blur(7px);
  transform: rotate(-15deg);
  z-index: 0;
}

@media (max-width: 1080px) {
  .garda-invite__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: min(calc(100% - 80px), 700px);
    min-height: 0;
    padding: 48px 0 0;
  }
  .garda-invite__copy,
  .garda-invite__arch { order: 0; }
  .garda-invite__copy {
    padding: 0;
    width: 100%;
    text-align: left;
  }
  .garda-invite__card,
  .garda-invite__card-inner { min-height: 0; width: 100%; }
  .garda-invite__card {
    justify-content: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
  }
  .garda-invite__card-inner { justify-content: flex-start; }
  .garda-invite__eyebrow { width: 100%; gap: 24px; justify-content:center; font-size: 13px; }
  .garda-invite__eyebrow::before { content:""; width: 85px; max-width: 15%; height: 1px; background: var(--garda-gold); }
  .garda-invite__eyebrow i { flex: 0 1 85px; min-width: 0; }
  .garda-invite__card-face--front { align-items: center; }
  .garda-invite__heading { font-size: clamp(34px, 7vw, 48px); margin: 12px 0 14px; max-width: none; text-align: center; }
  .garda-invite__short-rule { align-self: center; margin: 0 0 14px; }
  .garda-invite__description { max-width: 34em; margin: 0; font-size: 22px; line-height: 1.45; text-align: center; }
  .garda-invite__details { max-width: none; margin: 0; text-align: left; font-size: 19px; }
  .garda-invite__details-lead { max-width: none; }
  .garda-invite__details-btn { align-self: center; }
  .garda-invite__arch { align-self: center; margin-top: 48px; width: min(100%, 420px); height: 460px; }
  .garda-invite__decor--gold { width: 310px; left: -110px; right: auto; bottom:-30px; opacity:.6; transform: rotate(-9deg); transform-origin: 30% 80%; }
  .garda-invite__decor--blur { display:none; }
  .garda-invite__decor--top { width: 150px; left: auto; right:-90px; top: 10px; transform: rotate(34deg); }
  .garda-invite__decor--front { top: auto; bottom: 230px; left: auto; right:-180px; transform: rotate(-15deg); }
}

@media (max-width: 600px) {
  .garda-invite__inner {
    width: calc(100% - 40px);
    min-height: calc(100svh - var(--section-nav-height, 47px));
    justify-content: center;
    gap: clamp(18px, 3svh, 26px);
    padding: 24px 0;
  }
  .garda-invite__copy { padding: 0; }
  .garda-invite__card,
  .garda-invite__card-inner { min-height: 0; }
  .garda-invite__eyebrow { gap: 11px; font-size: 10px; letter-spacing: .19em; }
  .garda-invite__eyebrow::before, .garda-invite__eyebrow i { flex-basis: 26px; }
  .garda-invite__heading {
    font-size: clamp(28px, 8vw, 36px);
    letter-spacing: -.017em;
    line-height: 1.08;
    margin: 12px 0;
  }
  .garda-invite__short-rule { width: 48px; margin-bottom: 14px; height: 1px; }
  .garda-invite__description {
    max-width: none;
    font-size: clamp(16px, 4.5vw, 18px);
    line-height: 1.45;
  }
  .garda-invite__details-btn { min-height: 44px; margin-top: 18px; font-size: 11px; letter-spacing: 0.2em; }
  .garda-invite__details { max-width: none; font-size: 19px; }
  .garda-invite__arch {
    width: min(82%, 280px);
    height: clamp(170px, 34svh, 300px);
    margin: 0;
  }
  .garda-invite__arch-window { inset: 10px 9px 0; }
  .garda-invite__arch-outline { inset: 0; border-width:1.15px; }
  .garda-invite__decor--gold { width: 230px; left: -128px; right: auto; bottom: -10px; opacity: .65; transform: rotate(-2deg); transform-origin: 30% 80%; }
  .garda-invite__decor--top { width: 120px; top: -72px; left: auto; right: -66px; opacity: .27; transform: rotate(34deg); }
  .garda-invite__decor--front { width: 160px; bottom: 285px; left: auto; right:-125px; opacity:.26; transform: rotate(-15deg); }
}

@media (max-width: 360px) {
  .garda-invite__inner { width: calc(100% - 32px); padding-block: 20px; }
  .garda-invite__eyebrow { font-size:9px; }
  .garda-invite__heading { font-size:28px; }
  .garda-invite__description { font-size:16px; }
}
@media (prefers-reduced-motion: reduce) {
  .garda-invite *, .garda-invite *::before, .garda-invite *::after {
    animation: none !important; transition: none !important;
  }
}

/* ============================================================
   LOCATION
   ============================================================ */

.location-section { background: var(--cream); padding-bottom: 0; }

.location-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.map-wrap {
  margin-top: 3.2rem;
  height: 420px;
  filter: grayscale(0.5) sepia(0.1);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   RSVP
   ============================================================ */

.rsvp-form {
  text-align: left;
  margin-top: 2.4rem;
  display: grid;
  gap: 1.4rem;
}

.rsvp-form[hidden], .rsvp-thanks[hidden] { display: none; }
.rsvp-fields { border: 0; min-width: 0; display: grid; gap: 1.4rem; }
.field-error { color: #9c4a35; font-size: .95rem; }
.rsvp-form [aria-invalid="true"] { border-color: #9c4a35; }
.rsvp-form button:disabled { cursor: default; }

.field { display: flex; flex-direction: column; gap: 0.4rem; border: none; }

.field label, .field legend {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field label em, .field legend em { color: var(--olive-deep); font-style: normal; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="search"],
.field select,
.field textarea {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #858c79;
  border-radius: 3px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--olive-deep);
  outline-offset: 3px;
  border-color: var(--olive-deep);
}

.field textarea { resize: vertical; }

.song-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.song-hint {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.song-spotify-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1;
}

.song-spotify-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.song-search-wrap { display: flex; flex-direction: column; gap: 0.45rem; }

.song-results {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
  border: 1px solid #858c79;
  border-radius: 3px;
  background: var(--paper);
  max-height: 16rem;
  overflow-y: auto;
}

.song-results[hidden] { display: none; }

.song-result {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.song-result:hover,
.song-result:focus-visible {
  background: rgba(74, 82, 48, 0.08);
  outline: none;
}

.song-result-art {
  width: 36px;
  height: 36px;
  border-radius: 0.25rem;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(74, 82, 48, 0.1);
}

.song-result-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.song-result-title { font-weight: 600; font-size: 0.95rem; }
.song-result-artist { font-size: 0.85rem; opacity: 0.82; }

.song-status {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(45, 48, 35, 0.75);
}

.song-search-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
}

.song-manual-toggle {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--olive-soft);
}

.song-manual-toggle:hover { color: var(--olive-deep); }

.song-manual { margin-top: 0.15rem; }

.song-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #858c79;
  border-radius: 3px;
  background: var(--paper);
}

.song-selected-main { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.song-selected-art { border-radius: 0.3rem; object-fit: cover; flex-shrink: 0; }
.song-selected-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.song-selected-title { font-weight: 600; }
.song-selected-artist { font-size: 0.9rem; opacity: 0.85; }

.song-clear { flex-shrink: 0; padding: 0.35rem 0.65rem; font-size: 0.88rem; }

.attendance .choices { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.3rem; }

.choice { cursor: pointer; }

.choice input { position: absolute; opacity: 0; }

.choice span {
  display: inline-block;
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid #858c79;
  border-radius: 999px;
  background: var(--paper);
  transition: all 0.3s ease;
}

.choice input:checked + span {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--white);
}

.choice input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }

.stay-fields { margin: 0; padding: 0; }
.stay-fields > legend {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 0.7rem;
}
.stay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
}
@media (max-width: 700px) {
  .stay-grid { grid-template-columns: 1fr; }
}
.stay-date-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.stay-cal-field { position: relative; }
.stay-cal-hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0 0 0.45rem;
}
.stay-cal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.stay-cal-day {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.45rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--olive-deep);
  background: var(--ivory);
  border: 1px solid var(--champagne);
  border-radius: 8px;
  cursor: pointer;
}
.stay-cal-day:hover:not(:disabled) {
  border-color: var(--olive);
  background: var(--paper);
}
.stay-cal-day.is-wedding {
  border-color: var(--olive-deep);
  box-shadow: inset 0 0 0 1px var(--olive-deep);
}
.stay-cal-day.is-selected {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--white);
}
.stay-cal-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.stay-cal-day .stay-cal-wed {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.stay-opt-in { align-items: center; text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem !important; }
.stay-opt-in input { accent-color: var(--olive-deep); width: 1.1rem; height: 1.1rem; }
.stay-range-fields[hidden] { display: none; }
.stay-range-fields { gap: .65rem; margin-top: .5rem; }
.stay-range-intro, .stay-range-summary {
  margin: 0;
  color: var(--ink-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: .01em;
}
.stay-range-summary { min-height: 1.45em; color: var(--olive-deep); font-weight: 600; }
.stay-cal { display: block; }
.stay-cal-month { margin: 0 0 .55rem; text-align: center; color: var(--olive-deep); font-family: var(--display); font-size: 1rem; }
.stay-cal-weekdays, .stay-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .32rem; }
.stay-cal-weekdays { margin-bottom: .32rem; text-align: center; color: var(--ink-soft); font-size: .7rem; font-weight: 600; }
.stay-cal-day { width: 100%; min-width: 0; padding: .35rem .15rem; border-radius: 50%; }
.stay-cal-day.is-in-range { background: rgba(194,166,105,.32); border-color: rgba(164,124,40,.45); color: var(--olive-deep); }
.stay-cal-day.is-wedding:not(.is-selected) { box-shadow: inset 0 0 0 1px var(--olive-deep); }
#rsvpIfYes { display: contents; }
#rsvpIfYes[hidden] { display: none; }

.rsvp-form .btn-solid { justify-self: center; margin-top: 0.6rem; padding: 0.95rem 3rem; }

.form-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  min-height: 1.4em;
}
.form-note.error { color: #9c4a35; }

.rsvp-thanks { margin-top: 2.4rem; animation: fadeIn 0.8s ease; }

.update-banner {
  margin: 0 0 1.4rem;
  padding: .85rem 1rem;
  border: 1px solid var(--olive-soft);
  color: var(--olive-deep, #565e44);
}

.update-link { margin: 1.2rem 0 0; }
.update-link a { color: var(--olive-deep, #565e44); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--slate);
  color: rgba(253, 252, 247, 0.78);
  text-align: center;
  padding: 3.4rem 1rem;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-monogram {
  font-family: var(--script);
  font-size: 2.4rem;
  color: var(--champagne);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.motion-ready .reveal.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  .section-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: .35rem;
    padding-top: .1rem;
    padding-bottom: .1rem;
  }
  .section-nav__links {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
  .section-nav a {
    min-width: 0;
    font-size: clamp(.6rem, 2.5vw, .72rem);
    letter-spacing: .015em;
    padding: .45rem 0;
    text-shadow: none;
  }
  .lang-switch {
    grid-column: 2;
    padding-left: .35rem;
  }
  .lang-toggle { padding-inline: .1rem; gap: .3rem; font-size: .65rem; }
  .map-wrap { height: 300px; }
  .attendance .choices { flex-direction: column; }
  .choice { text-align: center; }
  .hero {
    padding:
      calc(var(--section-nav-height, 3.75rem) + 0.35rem)
      0.8rem
      0.6rem;
  }
  .hero-content { margin-top: 0.2rem; }
  .hero-bg { background-position: center 58%; }
  .hero-eyebrow { letter-spacing: 0.22em; text-indent: 0.22em; gap: 0.45rem; }
  .hero-date, .place-main, .place-sub { letter-spacing: 0.1em; text-indent: 0.1em; }
  .cd-unit { min-width: 0; flex: 1; padding: 0 0.35rem; }
  .cd-num { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .cd-label { letter-spacing: 0.14em; text-indent: 0.14em; font-size: 0.68rem; }
}

/* Short viewports (landscape phones): keep the stack on the mountains */
@media (max-height: 520px) {
  .hero-bg { background-position: center 36%; }
  .hero-content { margin-top: 0; }
  .hero-eyebrow { margin-bottom: 0.2rem; font-size: 0.62rem; gap: 0.4rem; }
  .hero-names { font-size: clamp(1.65rem, 8.2svh, 2.5rem); line-height: 1; }
  .hero-script { font-size: clamp(0.95rem, 3.6svh, 1.3rem); line-height: 1.2; margin-top: 0.05rem; }
  .hero-date { font-size: clamp(1.365rem, 5.72svh, 2.015rem); margin-top: 0.35rem; }
  .hero-place { margin-top: 0.28rem; gap: 0.22rem; }
  .hero-leaf { margin-top: 0.15rem; }
  .hero-leaf svg { width: 36px; }
  .place-main { font-size: clamp(0.72rem, 2.4svh, 0.95rem); }
  .place-sub { font-size: 0.58rem; }
  .btn.hero-rsvp {
    margin-top: 0.3rem;
    min-height: 34px;
    padding: 0.28rem 1rem;
    font-size: 0.68rem;
  }
  .scroll-hint { gap: 0.2rem; }
  .mouse { width: 16px; height: 22px; }
}

/* ============================================================
   RSVP honeypot — visually removed but present for bots
   ============================================================ */

.voice-field {
  min-width: 0;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 1rem 1.05rem;
  background: var(--paper);
  border: 1px solid rgba(86, 94, 68, 0.22);
  border-radius: 3px;
  text-align: center;
}
.voice-label {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.voice-hint {
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.voice-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: center;
}
.voice-status:empty { display: none; }
/* Keep the controls centered as the timer and secondary actions appear. */
.voice-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  width: 100%;
  min-width: 0;
}
.voice-record {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  height: 4.5rem;
  min-height: 4.5rem;
  margin: 0;
  padding: 0.4rem 1.05rem 0.4rem 0.4rem;
  border: 1px solid var(--olive-deep);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--olive-deep);
  font-family: var(--serif);
  line-height: 1;
  cursor: pointer;
}
.voice-record:hover {
  background: var(--champagne);
}
.voice-record:active:not(:disabled),
.voice-record.is-recording {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--ivory);
}
.voice-record:disabled { opacity: 1; }
.voice-record-mark {
  --voice-mic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z'/%3E%3C/svg%3E");
  display: grid;
  place-items: center;
  flex: none;
  width: calc(4.5rem - 0.8rem - 2px);
  height: calc(4.5rem - 0.8rem - 2px);
  border-radius: 50%;
  background: var(--olive-deep);
}
.voice-record-mark::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  background: var(--ivory);
  -webkit-mask: var(--voice-mic) center / contain no-repeat;
  mask: var(--voice-mic) center / contain no-repeat;
}
.voice-record:active:not(:disabled) .voice-record-mark,
.voice-record.is-recording .voice-record-mark { background: var(--champagne); }
.voice-record:active:not(:disabled) .voice-record-mark::before,
.voice-record.is-recording .voice-record-mark::before { background: var(--olive-deep); }
.voice-record-label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .voice-record.is-recording { animation: voice-pulse 1.8s ease-in-out infinite; }
}
@keyframes voice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(86, 94, 68, 0.28); }
  55% { box-shadow: 0 0 0 9px rgba(86, 94, 68, 0); }
}
.voice-secondary {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}
.voice-secondary:not(:has(button:not([hidden]))) { display: none; }
.voice-field .voice-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
  border-color: rgba(86, 94, 68, 0.35);
  background: transparent;
  color: var(--ink-soft);
}
.voice-field .voice-quiet:hover {
  background: transparent;
  border-color: var(--olive-deep);
  color: var(--olive-deep);
}
#voiceTimer {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--olive-deep);
  min-width: 3.5rem;
  text-align: center;
  white-space: nowrap;
}
#voicePreview {
  display: block;
  width: 100%;
  max-width: 28rem;
  min-width: 0;
  margin: 0.35rem auto 0;
}
#voicePreview[hidden] { display: none; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Proposal — a photographic keepsake between the invitation and details. */
.proposal-section {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px) 24px;
  color: #f5f1e7;
  background: radial-gradient(ellipse at 8% 35%, #454b2e 0, transparent 48%), radial-gradient(ellipse at 90% 85%, #42452d 0, transparent 42%), #282e20;
}
.proposal-collage { position: relative; max-width: 1400px; margin: auto; aspect-ratio: 1.9; isolation: isolate; }
.proposal-collage::before, .proposal-collage::after {
  content: ""; position: absolute; border: 1px solid #b79a5d; border-radius: 50%; z-index: -1; opacity: .65;
  width: 32%; height: 86%; left: -4%; top: -2%; transform: rotate(-18deg);
}
.proposal-collage::after { left: auto; right: -2%; top: 17%; width: 37%; height: 80%; transform: rotate(22deg); }
.proposal-copy { position: absolute; top: 5%; left: 30%; width: 40%; text-align: center; z-index: 3; }
.proposal-rings { display: block; width: 155px; height: 30px; margin: 0 auto 28px; fill: none; stroke: #c6aa70; stroke-width: 1; }
.proposal-copy .eyebrow { color: #eee6d6; letter-spacing: .35em; margin-bottom: 12px; }
.proposal-copy h2 { font-family: var(--display); font-size: clamp(36px, 4.8vw, 74px); font-weight: 400; line-height: 1.08; margin: 0; }
.proposal-rule { display: block; width: 42px; height: 1px; background: #c6aa70; margin: 26px auto; }
.proposal-date { font-size: clamp(16px, 2vw, 26px); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 10px; }
.proposal-caption { font-size: clamp(17px, 1.8vw, 24px); font-style: italic; letter-spacing: .04em; margin: 0; }
.proposal-botanical { position: absolute; z-index: -1; width: 36%; opacity: .45; pointer-events: none; }
.proposal-botanical--left { left: 1%; bottom: 0; transform: rotate(-15deg); }
.proposal-botanical--right { right: 10%; top: 5%; transform: rotate(155deg); }
.proposal-photo { position: absolute; display: block; overflow: hidden; box-shadow: 0 16px 35px #11170e40; background: #42452d; }
.proposal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proposal-photo:focus-visible { outline: 3px solid #f5e5bb; outline-offset: 5px; }
.proposal-photo--moment { left: 1%; top: 2%; width: 28%; height: 77%; }
.proposal-photo--moment img { object-position: 53% 50%; }
.proposal-photo--portrait { left: 23%; top: 56%; width: 20%; height: 44%; z-index: 2; }
.proposal-photo--portrait img { object-position: 55% 50%; }
.proposal-photo--embrace { right: 1%; top: 3%; width: 25%; height: 72%; }
.proposal-photo--embrace img { object-position: 44% 50%; }
.proposal-photo--walk { right: 21%; top: 41%; width: 17%; height: 49%; z-index: 2; }
.proposal-photo--walk img { object-position: 54% 50%; }
.proposal-photo--joy { right: 4%; top: 73%; width: 24%; height: 27%; z-index: 3; }
.proposal-photo--joy img { object-position: 56% 59%; }
@media (min-width: 721px) and (max-width: 1050px) {
  .proposal-copy { top: 3%; }
  .proposal-rings { margin-bottom: 14px; }
  .proposal-rule { margin: 16px auto; }
  .proposal-copy h2 { font-size: 38px; }
  .proposal-copy .eyebrow { font-size: 10px; }
  .proposal-caption { font-size: 16px; }
}
@media (max-width: 720px) {
  .proposal-section { padding: 40px 20px 32px; }
  .proposal-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; aspect-ratio: auto; }
  .proposal-copy { position: relative; top: auto; left: auto; width: auto; grid-column: 1 / -1; padding: 0 0 22px; }
  .proposal-copy h2 { font-size: clamp(36px, 8vw, 54px); }
  .proposal-rings { margin-bottom: 20px; }
  .proposal-rule { margin: 20px auto; }
  .proposal-photo { position: relative; inset: auto; width: auto; height: auto; aspect-ratio: 4 / 5; }
  .proposal-photo--moment { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .proposal-photo--portrait { order: 2; }
  .proposal-photo--embrace { order: 1; }
  .proposal-photo--walk { order: 3; }
  .proposal-photo--joy { order: 4; }
  .proposal-botanical { width: 65%; }
  .proposal-collage::before { height: 55%; width: 110%; top: 15%; left: -20%; }
  .proposal-collage::after { width: 100%; height: 55%; top: 45%; right: -20%; }
}
