/* =========================================================
   Lucian & Alina - Wedding RSVP
   A quiet, editorial invitation in ivory, ink and champagne.
   ========================================================= */

:root {
  --ivory: #fbf8f0;
  --ivory-deep: #f1ede2;
  --paper: #fffefa;
  --paper-soft: #fbf7ee;
  --ink: #223a2b;
  --ink-soft: #3e5343;
  --muted: #5f6d5e;
  --gold: #ad8a50;
  --gold-line: rgba(146, 112, 61, 0.25);
  --gold-line-soft: rgba(146, 112, 61, 0.12);
  --gold-deep: #7b5e32;
  --gold-bright: #c1a36f;
  --sage: #829279;
  --sage-deep: #435c49;
  --sage-pale: #edf1e8;
  --forest: #294634;
  --forest-deep: #1e3628;
  --error: #8e3e35;
  --error-bg: #fff8f5;
  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --script: "Alex Brush", "Snell Roundhand", "Segoe Script", cursive;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  color-scheme: light;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.021;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.52'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: #dfe7d7;
  color: var(--ink);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
fieldset {
  margin: 0;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}

/* ---------- Shared typographic language ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lowercase-script {
  font-family: var(--script);
  font-weight: 400;
  text-transform: none;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.42;
}

.section {
  position: relative;
  padding: clamp(94px, 11vw, 154px) 24px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.section-title {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.2vw, 4.55rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.section-title em {
  color: var(--gold-deep);
  font-weight: 300;
}

.section-lede {
  max-width: 585px;
  margin-inline: auto;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.65vw, 1.38rem);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.003em;
  text-wrap: pretty;
}

.divider {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding-top: env(safe-area-inset-top);
  background: rgba(251, 248, 240, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
  transition: background-color 400ms ease, box-shadow 400ms ease, backdrop-filter 400ms ease;
}

.site-header::after {
  display: none;
}

.site-header.is-scrolled {
  background: rgba(251, 248, 240, 0.98);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  height: var(--header-height);
  margin-inline: auto;
  padding-inline: clamp(22px, 3.4vw, 50px);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  color: var(--ink);
}

.brand__monogram {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand__amp {
  margin-inline: 0.05em;
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 300;
}

.brand__date {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.53rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.9vw, 26px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}

.site-nav__link {
  position: relative;
  padding: 9px 0;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 220ms ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

.site-nav__link:hover {
  color: var(--gold-deep);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--gold-line);
  background: rgba(255, 253, 248, 0.34);
  color: var(--forest);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease;
}

.site-nav__rsvp svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  transition: transform 300ms var(--ease);
}

.site-nav__rsvp:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.site-nav__rsvp:hover svg {
  transform: translateX(2px);
}

.language-switch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--gold-line);
  background: rgba(255, 253, 248, 0.32);
}

.language-switch__button {
  display: grid;
  min-width: 34px;
  min-height: 38px;
  place-items: center;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease;
}

.language-switch__button:hover {
  color: var(--forest);
}

.language-switch__button.is-active {
  background: var(--forest);
  color: var(--paper);
}

.language-switch__button:focus-visible {
  outline-offset: -2px;
}

.language-switch__divider {
  width: 1px;
  height: 12px;
  background: var(--gold-line);
}

/* ---------- Hero ---------- */

.paper-art {
  display: block;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 64px) 28px 112px;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 46% at 50% 42%, rgba(255, 254, 250, 0.97) 0%, rgba(255, 253, 247, 0.54) 48%, transparent 76%),
    linear-gradient(145deg, #f8f3e8 0%, #fcfaf4 36%, #f6f2e7 69%, #edeee2 100%);
}

/* The couple's photo, softened into a warm wash across the hero. The layer is
   oversized so the blur never leaves a pale fringe at the edges. */
.hero__wash {
  position: absolute;
  inset: -6%;
  z-index: -1;
  background: #f7f0e3 url("/assets/bg_header-soft.jpg") center 30% / cover no-repeat;
  filter: blur(16px) saturate(1.12);
  pointer-events: none;
}

/* Ivory veil over the photo: keeps the script names and the body copy readable
   and lets the photo melt into the paper colour at the bottom of the hero. */
.hero__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 58% at 50% 45%,
      rgba(255, 254, 250, 0.87) 0%,
      rgba(255, 253, 247, 0.56) 48%,
      rgba(255, 253, 247, 0.18) 74%,
      rgba(255, 253, 247, 0) 90%
    ),
    linear-gradient(
      180deg,
      rgba(248, 243, 232, 0.66) 0%,
      rgba(252, 250, 244, 0.44) 42%,
      rgba(247, 243, 234, 0.8) 78%,
      #f6f2e7 100%
    );
}

.hero__garland {
  position: absolute;
  top: calc(var(--header-height) + 14px);
  left: 50%;
  z-index: 0;
  width: min(1060px, 126vw);
  max-width: none;
  height: auto;
  opacity: 0.94;
  transform: translateX(-50%);
  filter: saturate(0.91);
}

.hero__branch {
  position: absolute;
  bottom: 38px;
  z-index: 0;
  height: auto;
  opacity: 0.43;
  filter: saturate(0.9);
  -webkit-mask-image: radial-gradient(ellipse 96% 94% at 42% 48%, #000 48%, rgba(0, 0, 0, 0.82) 68%, transparent 96%);
  mask-image: radial-gradient(ellipse 96% 94% at 42% 48%, #000 48%, rgba(0, 0, 0, 0.82) 68%, transparent 96%);
}

.hero__branch--left {
  left: -72px;
  width: 215px;
  transform: rotate(9deg);
}

.hero__branch--right {
  right: -62px;
  width: 180px;
  transform: scaleX(-1) rotate(-8deg);
  opacity: 0.34;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 960px;
  text-align: center;
}

.hero__eyebrow {
  opacity: 0;
  animation: hero-rise 1.05s 0.16s var(--ease) forwards;
}

.hero__names {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  margin-top: clamp(16px, 2.8vh, 30px);
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(4.35rem, 11.3vw, 9.75rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.035em;
  white-space: nowrap;
  opacity: 0;
  animation: hero-rise 1.18s 0.26s var(--ease) forwards;
}

.hero__name {
  display: inline-block;
}

.hero__amp {
  display: inline-block;
  margin: 0 0.12em 0 0.14em;
  color: var(--gold-deep);
  font-family: var(--script);
  font-size: 0.56em;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-0.08em);
}

.hero__date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 13px;
  margin-top: clamp(24px, 3.2vh, 35px);
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.23em;
  line-height: 1.7;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-rise 1.05s 0.43s var(--ease) forwards;
}

.hero__date-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.9;
}

.hero__date-place {
  color: var(--muted);
}

.hero__divider {
  width: clamp(230px, 25vw, 310px);
  height: auto;
  margin-top: clamp(22px, 3vh, 31px);
  opacity: 0;
  animation: hero-fade 1.2s 0.55s ease forwards;
}

.hero__invitation {
  max-width: 700px;
  margin-top: clamp(18px, 2.6vh, 27px);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--forest);
  text-wrap: balance;
  opacity: 0;
  animation: hero-rise 1.12s 0.62s var(--ease) forwards;
}

.hero__intro {
  max-width: 540px;
  margin-top: clamp(13px, 1.8vh, 18px);
  color: var(--muted);
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 300;
  line-height: 1.82;
  text-wrap: pretty;
  opacity: 0;
  animation: hero-rise 1.05s 0.71s var(--ease) forwards;
}

.hero__button {
  margin-top: clamp(24px, 3.1vh, 34px);
  opacity: 0;
  animation: hero-rise 1s 0.82s var(--ease) forwards;
}

.hero__button-note {
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.97rem;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: hero-fade 1.1s 0.94s ease forwards;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--forest);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateX(-50%);
  opacity: 0;
  animation: hero-fade 1.2s 1.15s ease forwards;
}

.scroll-cue__line {
  width: 1px;
  height: 31px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: scroll-pulse 2.8s 2s ease-in-out infinite;
}

/* ---------- Buttons & links ---------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 1px 25px;
  border: 1px solid #1c3324;
  border-radius: 1px;
  background: linear-gradient(135deg, #355640 0%, #294936 55%, #1f3929 100%);
  color: #fffdfa;
  box-shadow: inset 0 0 0 2px rgba(237, 225, 195, 0.08);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 300ms ease, box-shadow 350ms ease, transform 350ms var(--ease), border-color 300ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(218, 194, 147, 0.33);
  pointer-events: none;
  transition: border-color 300ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  margin-left: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 340ms var(--ease);
}

.button:hover {
  border-color: var(--gold-deep);
  background: var(--forest-deep);
  box-shadow: 0 12px 30px -20px rgba(30, 54, 40, 0.8), inset 0 0 0 2px rgba(237, 225, 195, 0.1);
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.8;
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold-line);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease;
}

.text-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease);
}

.text-link:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
}

.text-link:hover svg {
  transform: translateX(2px);
}

/* ---------- The printed invitation ---------- */

.invitation {
  overflow: hidden;
  padding: clamp(72px, 9vw, 116px) 24px;
  background:
    radial-gradient(ellipse 55% 60% at 50% 32%, rgba(255, 253, 247, 0.95), transparent 72%),
    linear-gradient(180deg, #f6f1e5 0%, #fbf8f1 48%, #f4eee2 100%);
}

.invitation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(72%, 880px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  transform: translateX(-50%);
}

.invitation__container {
  max-width: 1080px;
}

.invitation-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 8.5vw, 100px) clamp(24px, 7.4vw, 94px) clamp(68px, 8.5vw, 104px);
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255, 254, 250, 0.98), rgba(252, 249, 242, 0.83) 75%),
    var(--paper);
  box-shadow: 0 34px 80px -68px rgba(30, 54, 40, 0.46);
  text-align: center;
}

.invitation-card__frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.9;
  pointer-events: none;
}

.invitation-card__branch {
  position: absolute;
  bottom: 12px;
  z-index: 0;
  height: auto;
  opacity: 0.58;
  filter: saturate(0.9);
  -webkit-mask-image: radial-gradient(ellipse 96% 94% at 44% 46%, #000 50%, rgba(0, 0, 0, 0.82) 70%, transparent 98%);
  mask-image: radial-gradient(ellipse 96% 94% at 44% 46%, #000 50%, rgba(0, 0, 0, 0.82) 70%, transparent 98%);
}

.invitation-card__branch--left {
  left: -38px;
  width: clamp(130px, 17vw, 208px);
  transform: rotate(7deg);
}

.invitation-card__branch--right {
  right: -28px;
  width: clamp(110px, 14vw, 174px);
  transform: scaleX(-1) rotate(-9deg);
  opacity: 0.43;
}

.invitation-card__rings {
  position: absolute;
  top: clamp(-8px, 1.6vw, 16px);
  right: clamp(44px, 11vw, 150px);
  z-index: 1;
  width: clamp(92px, 12vw, 148px);
  height: auto;
  opacity: 0.9;
}

.invitation-card__header,
.invitation-card__body {
  position: relative;
  z-index: 2;
}

.invitation-card__body {
  max-width: 740px;
  margin: 30px auto 0;
}

.invitation-card__lead {
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.24rem;
  font-style: italic;
  letter-spacing: 0.025em;
  line-height: 1.35;
}

.invitation-card__couple {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 0.12em;
  margin-top: 9px;
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(3.15rem, 6.2vw, 5.3rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.invitation-card__couple em {
  color: var(--gold-deep);
  font-family: var(--script);
  font-size: 0.55em;
  font-style: normal;
  font-weight: 400;
}

.invitation-card__line {
  max-width: 590px;
  margin: 26px auto 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  font-weight: 400;
  line-height: 1.58;
  text-wrap: pretty;
}

.invitation-card__family {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 5px clamp(20px, 3.5vw, 44px);
  max-width: 760px;
  margin: 16px auto 0;
}

.invitation-card__family p {
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

.invitation-card__family-rule {
  width: 1px;
  height: 34px;
  flex: 0 0 auto;
  background: linear-gradient(transparent, var(--gold-line), transparent);
}

.invitation-card__godparents {
  margin-top: 14px;
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(1.9rem, 3.7vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.invitation-card__formal {
  max-width: 555px;
  margin: 25px auto 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  font-weight: 400;
  line-height: 1.62;
  text-wrap: pretty;
}

.invitation-card__divider {
  width: clamp(210px, 30vw, 310px);
  height: auto;
  margin: clamp(27px, 3.8vw, 38px) auto 0;
}

.invitation-card__date {
  margin-top: 13px;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.invitation-card__closing {
  margin-top: 15px;
  color: var(--gold-deep);
  font-family: var(--script);
  font-size: clamp(2.25rem, 4.3vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
}

/* ---------- Details ---------- */

.details {
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 36% at 50% 0%, rgba(231, 235, 222, 0.57), transparent 70%),
    linear-gradient(180deg, #fcfaf4 0%, #fffdf8 42%, #fbf7ee 100%);
}

.details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(72%, 800px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  transform: translateX(-50%);
}

.section-intro {
  max-width: 770px;
  margin-inline: auto;
  text-align: center;
}

.section-intro__divider {
  width: 270px;
  height: auto;
  margin: clamp(25px, 3.6vw, 38px) auto 24px;
}

.section-intro .section-lede {
  max-width: 550px;
}

.date-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 24px);
  margin-top: clamp(32px, 4.2vw, 48px);
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.55;
  text-transform: uppercase;
}

.date-lockup__side {
  white-space: nowrap;
}

.date-lockup__rule {
  width: clamp(25px, 5vw, 72px);
  height: 1px;
  background: var(--gold-line);
}

.date-lockup__day {
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: clamp(3.2rem, 5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.75;
}

.date-lockup__month {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1.04rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-align: left;
  text-transform: none;
}

.date-lockup__month-name {
  display: block;
}

.date-lockup__year {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.57rem;
  font-style: normal;
  letter-spacing: 0.23em;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: clamp(43px, 6vw, 70px) auto 0;
}

.venue-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: clamp(36px, 4.4vw, 54px) clamp(24px, 3.6vw, 46px) clamp(32px, 3.6vw, 42px);
  border: 1px solid var(--gold-line-soft);
  background:
    linear-gradient(160deg, rgba(255, 254, 249, 0.94), rgba(242, 246, 238, 0.64));
  box-shadow: 0 30px 70px -62px rgba(30, 54, 40, 0.46);
  text-align: center;
  transition: border-color 400ms ease, transform 500ms var(--ease), box-shadow 500ms ease;
}

.venue-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(159, 131, 88, 0.08);
  pointer-events: none;
}

.venue-card:hover {
  border-color: rgba(116, 139, 104, 0.58);
  box-shadow: 0 34px 70px -58px rgba(30, 54, 40, 0.38);
  transform: translateY(-4px);
}

.venue-card__number {
  position: absolute;
  top: 23px;
  right: 27px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

.venue-card__icon {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 23px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(248, 250, 244, 0.8);
  color: var(--forest);
}

.venue-card__icon::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(142, 112, 66, 0.08);
  border-radius: 50%;
}

.venue-card__icon svg {
  width: 37px;
  height: 37px;
  stroke: currentColor;
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.venue-card__eyebrow {
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.venue-card__time {
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
}

.venue-card__name {
  max-width: 340px;
  margin-top: 17px;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.5vw, 2.08rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.venue-card__address {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.79rem;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.72;
}

.venue-card .text-link {
  margin-top: 22px;
}

.details__footnote {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(46px, 6vw, 70px);
  text-align: center;
}

.details__footnote img {
  width: 225px;
  height: auto;
  opacity: 0.8;
}

.details__footnote p {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.06rem;
  font-style: italic;
  letter-spacing: 0.015em;
}

/* ---------- RSVP ---------- */

.rsvp {
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 45% at 50% 5%, rgba(255, 253, 247, 0.89), transparent 68%),
    linear-gradient(180deg, #f6f2e7 0%, #eef1e6 48%, #f6f1e6 100%);
}

.rsvp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.rsvp__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 31%, rgba(139, 159, 126, 0.13), transparent 21%),
    radial-gradient(circle at 88% 68%, rgba(199, 173, 131, 0.1), transparent 24%);
}

.rsvp__texture::before,
.rsvp__texture::after {
  content: "";
  position: absolute;
  width: 34vw;
  height: 34vw;
  max-width: 440px;
  max-height: 440px;
  border: 1px solid rgba(116, 137, 104, 0.13);
  border-radius: 50%;
}

.rsvp__texture::before {
  top: -24vw;
  left: -16vw;
}

.rsvp__texture::after {
  right: -18vw;
  bottom: -25vw;
}

.rsvp__container {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.rsvp__intro {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.rsvp__intro .section-lede {
  margin-top: 22px;
}

.reply-card {
  position: relative;
  max-width: 764px;
  margin: clamp(43px, 6vw, 64px) auto 0;
  border: 1px solid rgba(146, 112, 61, 0.32);
  background: var(--paper);
  box-shadow: 0 40px 100px -64px rgba(30, 54, 40, 0.44);
}

.reply-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 0;
  border: 1px solid rgba(142, 112, 66, 0.1);
  pointer-events: none;
}

.reply-card__crest {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 37px 28px 0;
}

.reply-card__crest-line {
  width: 46px;
  height: 1px;
  background: var(--gold-line);
}

.reply-card__crest-mark {
  color: var(--forest);
  font-family: var(--script);
  font-size: 1.72rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.reply-card__crest-mark em {
  color: var(--gold-deep);
  font-size: 0.9em;
  font-style: normal;
  font-weight: 400;
}

.reply-card__body {
  position: relative;
  z-index: 1;
  padding: 23px clamp(23px, 6.8vw, 66px) clamp(38px, 5vw, 54px);
}

.reply-card__label {
  color: var(--gold-deep);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.reply-card__label::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 14px auto 0;
  background: var(--gold-line);
}

.rsvp-form {
  margin-top: 30px;
}

.field {
  margin-top: 25px;
}

.rsvp-form > .field:first-child {
  margin-top: 0;
}

.attendance-details > .field:first-child {
  margin-top: 25px;
}

.field__label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.135em;
  line-height: 1.55;
  text-transform: uppercase;
}

.required-mark {
  margin-left: 2px;
  color: var(--gold-deep);
}

.optional-mark {
  margin-left: 4px;
  color: #586757;
  font-size: 0.87em;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field__input {
  display: block;
  width: 100%;
  min-height: 53px;
  padding: 13px 16px;
  border: 1px solid rgba(142, 112, 66, 0.25);
  border-radius: 1px;
  background: #fcfaf4;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  caret-color: var(--gold-deep);
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.field__input::placeholder {
  color: #586757;
  font-weight: 300;
  opacity: 1;
}

.field__input:hover {
  border-color: rgba(142, 112, 66, 0.42);
}

.field__input:focus {
  border-color: var(--gold-deep);
  outline: none;
  background: #fffefa;
  box-shadow: 0 0 0 3px rgba(142, 112, 66, 0.1);
}

.field__input[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-bg);
  box-shadow: 0 0 0 3px rgba(142, 62, 53, 0.07);
}

.field__input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(142, 62, 53, 0.12);
}

.field__textarea {
  min-height: 112px;
  resize: vertical;
}

.field__hint {
  color: #586757;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.012em;
  line-height: 1.6;
}

.field__hint:first-of-type {
  margin-top: 7px;
}

/* The running total under the adults/children counters. */
#partyHint {
  margin-top: 4px;
  color: var(--forest);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Adults and children sit side by side; they stack on very narrow phones. */
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.field-row > .field {
  min-width: 0;
}

@media screen and (max-width: 420px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
}

.field__meta .field__hint {
  max-width: 380px;
}

.character-count {
  flex: 0 0 auto;
  color: #586757;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 7px;
  color: var(--error);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 1.55;
}

.field__error::before {
  content: "!";
  display: inline-grid;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  place-items: center;
  margin-top: 2px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.56rem;
  font-weight: 500;
  line-height: 1;
}

.field--attendance {
  margin-top: 28px;
}

.attendance-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.attendance-option {
  position: relative;
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 12px;
  padding: 16px 15px;
  border: 1px solid rgba(142, 112, 66, 0.23);
  background: #fcfaf4;
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.attendance-option:hover {
  border-color: rgba(142, 112, 66, 0.48);
  background: #fffdf9;
}

.attendance-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.attendance-option__control {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1px solid rgba(126, 97, 54, 0.55);
  border-radius: 50%;
  background: var(--paper);
  transition: border-color 220ms ease, background-color 220ms ease;
}

.attendance-option__control::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold-deep);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 220ms ease, transform 300ms var(--ease);
}

.attendance-option__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.attendance-option__title {
  color: var(--ink);
  font-size: 0.81rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.attendance-option__hint {
  color: #776c5d;
  font-family: var(--display);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.2;
}

.attendance-option:has(input:checked) {
  border-color: rgba(126, 97, 54, 0.72);
  background: #f0f4e9;
  box-shadow: inset 0 0 0 1px rgba(126, 97, 54, 0.08);
}

.attendance-option:has(input:checked) .attendance-option__control {
  border-color: var(--gold-deep);
}

.attendance-option:has(input:checked) .attendance-option__control::after {
  opacity: 1;
  transform: scale(1);
}

.attendance-option:has(input:focus-visible) {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.attendance-option.has-error {
  border-color: var(--error);
  background: var(--error-bg);
}

.attendance-details {
  animation: fields-in 480ms var(--ease) both;
}

.select-wrap {
  position: relative;
}

.field__select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transform: translateY(-50%);
}

.companions {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--gold-line-soft);
}

.companions__fields {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.companion-field .field__label {
  margin-bottom: 7px;
  font-size: 0.61rem;
  letter-spacing: 0.13em;
}

.companion-field .field__input {
  min-height: 48px;
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(142, 62, 53, 0.25);
  background: var(--error-bg);
  color: var(--error);
  font-size: 0.78rem;
  line-height: 1.55;
}

.form-alert:focus {
  outline: none;
}

.form-alert svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
}

/* Bot trap. It must stay out of reach of the guest AND of the browser's
   autofill: an off-screen input is still fillable by address autofill, which
   would silently reject a real guest's reply. `display: none` prevents that. */
.honeypot {
  display: none !important;
}

.form-submit {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--gold-line-soft);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #586757;
  font-size: 0.68rem;
  font-weight: 300;
  line-height: 1.6;
}

.privacy-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 2px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--submit {
  width: 100%;
  min-height: 56px;
  margin-top: 20px;
  padding-inline: 42px;
  white-space: nowrap;
}

.button--submit .button__arrow {
  position: absolute;
  right: 22px;
  margin-left: 0;
}

.button--submit[disabled] .button__arrow {
  display: none;
}

.button--submit .button__loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1px solid rgba(255, 253, 248, 0.3);
  border-top-color: #fffdf8;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.form-footnote {
  margin-top: 13px;
  color: #586757;
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-align: center;
}

.no-script {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--error);
  background: var(--error-bg);
  color: var(--error);
  font-size: 0.82rem;
}

.rsvp__footnote {
  margin-top: clamp(43px, 6vw, 66px);
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.rsvp__footnote > span:first-child {
  font-family: var(--display);
  font-style: italic;
}

.rsvp__footnote > span:last-child {
  display: inline-block;
  margin-top: 5px;
  color: var(--forest);
  font-family: var(--script);
  font-size: 2.15rem;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ---------- Confirmation ---------- */

.confirmation {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3.4vw, 34px) clamp(2px, 1.6vw, 10px) clamp(14px, 2.2vw, 22px);
  background: radial-gradient(
    150% 110% at 50% -18%,
    rgba(255, 253, 246, 0.95),
    rgba(250, 247, 237, 0.55) 54%,
    rgba(250, 247, 237, 0) 100%
  );
  text-align: center;
  animation: confirmation-in 850ms var(--ease) both;
}

.confirmation:focus {
  outline: none;
}

.confirmation__wreath {
  width: clamp(84px, 10.4vw, 98px);
  aspect-ratio: 1;
  margin: 0 auto clamp(14px, 2.2vw, 22px);
  color: var(--gold-deep);
  opacity: 0.9;
}

.confirmation__wreath svg {
  width: 100%;
  height: 100%;
}

.confirmation__decline-mark {
  display: none;
}

.confirmation.is-declined .confirmation__check {
  display: none;
}

.confirmation.is-declined .confirmation__decline-mark {
  display: block;
}

.confirmation.is-declined .confirmation__name {
  color: var(--ink-soft);
}

.confirmation .eyebrow::before,
.confirmation .eyebrow::after {
  width: 18px;
}

.confirmation__title {
  margin-top: 14px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.confirmation__title:focus {
  outline: none;
}

/* The guest's full name, set in the calligraphic face under the greeting. */
.confirmation__name {
  margin-top: 0.06em;
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(2.9rem, 7.2vw, 4.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: none;
}

.confirmation__name.is-long {
  font-size: clamp(2rem, 5vw, 3rem);
}

.confirmation__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(14px, 2.2vw, 20px);
  color: var(--gold-deep);
}

.confirmation__rule span {
  width: clamp(38px, 8vw, 70px);
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 112, 66, 0), var(--gold-line));
}

.confirmation__rule span:last-child {
  background: linear-gradient(90deg, var(--gold-line), rgba(142, 112, 66, 0));
}

.confirmation__rule svg {
  width: 40px;
  height: 16px;
  flex: 0 0 auto;
  opacity: 0.9;
}

.confirmation__message {
  max-width: 505px;
  margin: clamp(18px, 2.6vw, 24px) auto 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(1.14rem, 1.7vw, 1.3rem);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

.confirmation__summary {
  display: inline-block;
  max-width: 100%;
  margin-top: clamp(20px, 2.8vw, 26px);
  padding: 10px 20px;
  border: 1px solid var(--gold-line);
  background: rgba(243, 245, 236, 0.8);
  box-shadow: inset 0 0 0 3px rgba(255, 253, 246, 0.85);
  color: var(--gold-deep);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.confirmation__signature {
  position: relative;
  margin-top: clamp(28px, 3.8vw, 36px);
  padding-top: 20px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.45;
}

.confirmation__signature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 1px;
  transform: translateX(-50%);
  background: var(--gold-line);
}

.confirmation__signature > span:last-child {
  display: inline-block;
  margin-top: 5px;
  color: var(--forest);
  font-family: var(--script);
  font-size: 2.15rem;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.confirmation__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 17px 26px;
  margin-top: 30px;
}

.button--quiet {
  min-height: 48px;
  padding-inline: 22px;
  border-color: var(--gold-line);
  background: transparent;
  color: var(--forest);
  box-shadow: none;
}

.button--quiet::after {
  border-color: rgba(142, 112, 66, 0.1);
}

.button--quiet:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.confirmation__actions .text-link {
  border-bottom-color: transparent;
}

.confirmation__email {
  max-width: 430px;
  margin: 15px auto 0;
  color: #586757;
  font-family: var(--display);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
}

/* ---------- Music and botanical accents ---------- */

.music-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.34);
  color: var(--forest);
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.music-toggle:hover {
  border-color: var(--forest);
  background: rgba(255, 253, 248, 0.78);
}

.music-toggle:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.music-toggle[hidden] {
  display: none;
}

.music-toggle svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-toggle svg.music-toggle__play {
  display: block;
  fill: currentColor;
  stroke: none;
}

.music-toggle svg.music-toggle__pause {
  display: none;
}

.music-toggle.is-playing {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.music-toggle.is-playing svg.music-toggle__play {
  display: none;
}

.music-toggle.is-playing svg.music-toggle__pause {
  display: block;
}

.hero__leaf {
  position: absolute;
  z-index: 1;
  display: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.58;
  mix-blend-mode: multiply;
  filter: saturate(0.88);
  transform-origin: bottom center;
  /* The stem is planted on the hero's bottom edge; only the tips fade, so the
     sprig reads as growing out of the ground rather than floating. */
  -webkit-mask-image: radial-gradient(
    ellipse 94% 120% at 50% 104%,
    #000 58%,
    rgba(0, 0, 0, 0.7) 82%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 94% 120% at 50% 104%,
    #000 58%,
    rgba(0, 0, 0, 0.7) 82%,
    transparent 100%
  );
}

.hero__leaf--left {
  bottom: -14px;
  left: clamp(-12px, 1.2vw, 26px);
  width: clamp(175px, 16vw, 245px);
  transform: rotate(-3deg);
}

.hero__leaf--right {
  right: clamp(-12px, 1.2vw, 26px);
  bottom: -14px;
  width: clamp(145px, 13vw, 195px);
  opacity: 0.44;
  transform: scaleX(-1) rotate(-3deg);
}

.site-footer__leaf {
  display: block;
  width: 145px;
  height: auto;
  margin: 0 auto 9px;
  opacity: 0.6;
  mix-blend-mode: multiply;
  filter: saturate(0.88);
  -webkit-mask-image: radial-gradient(ellipse 82% 84% at 50% 50%, #000 48%, transparent 94%);
  mask-image: radial-gradient(ellipse 82% 84% at 50% 50%, #000 48%, transparent 94%);
}

@media screen and (min-width: 1280px) {
  .hero__leaf {
    display: block;
  }
}

@media screen and (max-width: 640px) {
  .header-actions {
    gap: 7px;
  }

  .music-toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .music-toggle svg {
    width: 14px;
    height: 14px;
  }

  .site-footer__leaf {
    width: 132px;
    margin-bottom: 6px;
  }
}

@media screen and (max-width: 370px) {
  .header-actions {
    gap: 5px;
  }

  .music-toggle {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .site-footer__leaf {
    width: 120px;
  }
}

.confirmation__note {
  max-width: 380px;
  margin: 26px auto 0;
  color: #5f6d5e;
  font-size: 0.68rem;
  font-weight: 300;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: clamp(62px, 8vw, 92px) 24px calc(clamp(49px, 6vw, 70px) + env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse 50% 78% at 50% 0%, rgba(231, 237, 223, 0.65), transparent 75%),
    #f6f2e8;
  text-align: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(70%, 820px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  transform: translateX(-50%);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__monogram {
  color: var(--forest);
  font-family: var(--script);
  font-size: 2.65rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.site-footer__monogram em {
  color: var(--gold-deep);
  font-size: 0.76em;
  font-style: normal;
}

.site-footer__date {
  margin-top: 11px;
  color: var(--gold-deep);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.23em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-footer__divider {
  width: 210px;
  height: auto;
  margin-top: 20px;
  opacity: 0.82;
}

.site-footer__quote {
  margin-top: 9px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.55;
}

.share-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 4px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}

.share-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-button:hover {
  border-bottom-color: var(--gold);
  color: var(--forest-deep);
}

.site-footer__privacy {
  margin-top: 31px;
  color: #5f6d5e;
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: calc(22px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 2500;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 13px 18px;
  border: 1px solid rgba(193, 163, 111, 0.4);
  background: rgba(30, 54, 40, 0.97);
  color: var(--paper);
  box-shadow: 0 12px 32px -16px rgba(24, 42, 31, 0.55);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.45;
  text-align: left;
  transform: translate(-50%, 12px);
  opacity: 0;
  animation: toast-in 300ms var(--ease) forwards;
}

.toast.is-hiding {
  animation: toast-out 250ms ease forwards;
}

.toast__icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 50%;
  color: #ddc59d;
  font-family: var(--sans);
  font-size: 0.65rem;
  line-height: 1;
}

/* ---------- Progressive reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.85s ease,
    transform 0.95s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 110ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Motion ---------- */

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.55);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fields-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes confirmation-in {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}

/* ---------- Responsive ---------- */

.divider {
  height: auto;
}

@media (max-width: 1120px) {
  .hero__garland {
    width: min(980px, 128vw);
  }

  .invitation-card__family {
    gap: 5px 24px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 78px;
  }

  .site-header__inner {
    height: var(--header-height);
  }

  .hero {
    padding: calc(var(--header-height) + 48px) 26px 106px;
  }

  .hero__garland {
    top: calc(var(--header-height) + 8px);
    width: 134vw;
    opacity: 0.86;
  }

  .hero__branch--left {
    left: -74px;
    width: 185px;
    opacity: 0.34;
  }

  .hero__branch--right {
    right: -64px;
    width: 155px;
    opacity: 0.27;
  }

  .hero__names {
    font-size: clamp(3.6rem, 12.4vw, 6.5rem);
  }

  .invitation-card {
    padding: clamp(54px, 8.5vw, 80px) clamp(23px, 5vw, 58px) clamp(62px, 8vw, 82px);
  }

  .invitation-card__family {
    max-width: 570px;
  }

  .venue-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    max-width: 540px;
  }

  .venue-card {
    padding-block: 38px 35px;
  }

  .venue-card__name {
    font-size: 1.92rem;
  }

  .reply-card {
    max-width: 650px;
  }
}

@media (max-width: 700px) {
  .site-nav {
    display: none;
  }

  .site-header__inner {
    padding-inline: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 0.98rem;
  }

  .section {
    padding: clamp(74px, 17vw, 94px) 20px;
  }

  .eyebrow {
    gap: 11px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 17px;
  }

  .site-header__inner {
    padding-inline: 18px;
  }

  .brand__monogram {
    font-size: 1.64rem;
  }

  .brand__date {
    margin-top: 5px;
    font-size: 0.45rem;
    letter-spacing: 0.18em;
  }

  .header-actions {
    gap: 8px;
  }

  .site-nav {
    display: none;
  }

  .language-switch {
    min-height: 44px;
    padding: 2px;
  }

  .language-switch__button {
    min-width: 31px;
    min-height: 38px;
    padding-inline: 4px;
    font-size: 0.58rem;
  }

  .site-nav__rsvp {
    min-height: 44px;
    gap: 7px;
    padding-inline: 12px;
    font-size: 0.59rem;
    letter-spacing: 0.14em;
  }

  .site-nav__rsvp svg {
    width: 13px;
    height: 13px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-height) + 34px) 20px 92px;
  }

  .hero__garland {
    top: calc(var(--header-height) + 4px);
    width: 150vw;
    opacity: 0.76;
  }

  .hero__frame {
    inset: calc(var(--header-height) + 10px) 10px 10px;
    opacity: 0.55;
  }

  .hero__branch {
    bottom: 34px;
    opacity: 0.23;
  }

  .hero__branch--left {
    left: -70px;
    width: 142px;
    opacity: 0.25;
  }

  .hero__branch--right {
    right: -54px;
    width: 118px;
    opacity: 0.2;
  }

  .hero__eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .hero__names {
    margin-top: 17px;
    font-size: clamp(3.15rem, 14vw, 4.55rem);
    letter-spacing: -0.03em;
    line-height: 0.9;
  }

  .hero__amp {
    margin-inline: 0.06em 0.09em;
  }

  .hero__date {
    gap: 8px 9px;
    margin-top: 19px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .hero__date-place {
    flex-basis: 100%;
    color: var(--muted);
    font-family: var(--display);
    font-size: 0.79rem;
    font-style: italic;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: none;
  }

  .hero__date-dot--optional {
    display: none;
  }

  .hero__divider {
    width: 212px;
    margin-top: 17px;
  }

  .hero__invitation {
    max-width: 350px;
    margin-top: 14px;
    font-size: 1.6rem;
    line-height: 1.18;
  }

  .hero__intro {
    max-width: 346px;
    margin-top: 11px;
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .hero__button {
    min-height: 52px;
    margin-top: 22px;
    padding-inline: 20px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .hero__button-note {
    margin-top: 10px;
    font-size: 0.85rem;
  }

  .scroll-cue {
    bottom: 20px;
    gap: 8px;
    font-size: 0.47rem;
    letter-spacing: 0.19em;
  }

  .scroll-cue__line {
    height: 23px;
  }

  .invitation {
    padding: 58px 14px;
  }

  .invitation-card {
    padding: 48px 20px 58px;
  }

  .invitation-card__frame {
    opacity: 0.74;
  }

  .invitation-card__rings {
    top: -2px;
    right: 16px;
    width: 84px;
    opacity: 0.84;
  }

  .invitation-card__branch--left {
    left: -32px;
    bottom: 18px;
    width: 112px;
    opacity: 0.4;
  }

  .invitation-card__branch--right {
    right: -24px;
    bottom: 22px;
    width: 92px;
    opacity: 0.29;
  }

  .invitation-card__body {
    margin-top: 22px;
  }

  .invitation-card__lead {
    font-size: 1.08rem;
  }

  .invitation-card__couple {
    gap: 0 0.05em;
    margin-top: 7px;
    font-size: clamp(2.65rem, 12.4vw, 3.55rem);
    line-height: 1;
  }

  .invitation-card__line {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .invitation-card__family {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    margin-top: 12px;
  }

  .invitation-card__family p {
    font-size: clamp(1.55rem, 7.2vw, 2rem);
    line-height: 1.22;
  }

  .invitation-card__family-rule {
    width: 25px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  }

  .invitation-card__godparents {
    margin-top: 10px;
    font-size: clamp(1.7rem, 8.2vw, 2.2rem);
  }

  .invitation-card__formal {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .invitation-card__divider {
    width: 198px;
    margin-top: 24px;
  }

  .invitation-card__date {
    margin-top: 10px;
    font-size: 1.38rem;
  }

  .invitation-card__closing {
    margin-top: 12px;
    font-size: clamp(2.05rem, 9.8vw, 2.65rem);
  }

  .section-title {
    margin-top: 16px;
    font-size: clamp(2.45rem, 11.5vw, 3.2rem);
  }

  .section-lede {
    font-size: 1.08rem;
    line-height: 1.58;
  }

  .section-intro__divider {
    width: 230px;
    margin-block: 23px 19px;
  }

  .date-lockup {
    gap: 9px;
    margin-top: 27px;
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .date-lockup__rule {
    width: 17px;
  }

  .date-lockup__day {
    font-size: 3.1rem;
  }

  .date-lockup__month {
    font-size: 0.92rem;
  }

  .date-lockup__year {
    font-size: 0.5rem;
  }

  .venue-grid {
    margin-top: 37px;
  }

  .venue-card {
    padding: 34px 23px 31px;
  }

  .venue-card__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
  }

  .venue-card__icon::after {
    width: 69px;
    height: 69px;
  }

  .venue-card__icon svg {
    width: 33px;
    height: 33px;
  }

  .venue-card__name {
    margin-top: 14px;
    font-size: 1.78rem;
  }

  .venue-card__address {
    font-size: 0.78rem;
  }

  .details__footnote {
    margin-top: 41px;
  }

  .details__footnote img {
    width: 195px;
  }

  .details__footnote p {
    margin-top: 8px;
    font-size: 1rem;
  }

  .rsvp__intro .section-lede {
    margin-top: 18px;
  }

  .reply-card {
    margin-top: 37px;
  }

  .reply-card::before {
    inset: 6px;
  }

  .reply-card__crest {
    padding-top: 29px;
  }

  .reply-card__crest-mark {
    font-size: 1.5rem;
  }

  .reply-card__body {
    padding: 20px 22px 35px;
  }

  .rsvp-form {
    margin-top: 25px;
  }

  .field {
    margin-top: 22px;
  }

  .attendance-details > .field:first-child {
    margin-top: 22px;
  }

  .attendance-options {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .attendance-option {
    min-height: 69px;
    padding: 13px 14px;
  }

  .attendance-option__title {
    font-size: 0.82rem;
  }

  .field__label {
    font-size: 0.67rem;
    letter-spacing: 0.1em;
  }

  .field__input {
    min-height: 52px;
    font-size: 16px;
  }

  .field__textarea {
    min-height: 105px;
  }

  .field__meta {
    gap: 8px;
  }

  .field__meta .field__hint {
    max-width: 265px;
    font-size: 0.67rem;
  }

  .character-count {
    font-size: 0.63rem;
  }

  .form-submit {
    margin-top: 26px;
    padding-top: 22px;
  }

  .button--submit {
    min-height: 55px;
    font-size: 0.67rem;
    letter-spacing: 0.1em;
  }

  .confirmation {
    padding: 47px 22px 40px;
  }

  .confirmation__wreath {
    width: 88px;
    height: 88px;
    margin-bottom: 23px;
  }

  .confirmation__title {
    font-size: clamp(2.25rem, 10.2vw, 2.9rem);
  }

  .confirmation__message {
    margin-top: 18px;
    font-size: 1.17rem;
  }

  .confirmation__signature > span:last-child {
    font-size: 2rem;
  }

  .confirmation__actions {
    flex-direction: column;
    gap: 13px;
    margin-top: 26px;
  }

  .confirmation__actions .button {
    width: 100%;
  }

  .confirmation__actions .text-link {
    min-height: 44px;
  }

  .rsvp__footnote {
    margin-top: 39px;
    font-size: 1rem;
  }

  .rsvp__footnote > span:last-child {
    font-size: 1.95rem;
  }

  .site-footer {
    padding-inline: 20px;
  }

  .site-footer__monogram {
    font-size: 2.5rem;
  }

  .site-footer__quote {
    font-size: 0.99rem;
  }

  .site-footer__privacy {
    margin-top: 27px;
  }

  .toast {
    bottom: calc(17px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 370px) {
  .site-header__inner {
    padding-inline: 15px;
  }

  .brand__monogram {
    font-size: 1.5rem;
  }

  .brand__date {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch__button {
    min-width: 28px;
    font-size: 0.55rem;
  }

  .site-nav__rsvp {
    padding-inline: 10px;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero__names {
    font-size: clamp(2.8rem, 13.6vw, 3.25rem);
  }

  .hero__date {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }

  .hero__date-place {
    font-size: 0.74rem;
  }

  .hero__button {
    padding-inline: 17px;
    font-size: 0.62rem;
  }

  .date-lockup {
    gap: 6px;
  }

  .date-lockup__side {
    font-size: 0.49rem;
  }

  .date-lockup__rule {
    width: 10px;
  }

  .date-lockup__day {
    font-size: 2.8rem;
  }

  .invitation {
    padding-inline: 10px;
  }

  .invitation-card {
    padding: 41px 17px 53px;
  }

  .invitation-card__family p {
    font-size: 1.5rem;
  }

  .invitation-card__godparents {
    font-size: 1.68rem;
  }

  .reply-card__body {
    padding-inline: 18px;
  }

  .button--submit {
    font-size: 0.63rem;
    letter-spacing: 0.08em;
  }
}

@media (max-height: 760px) and (min-width: 641px) {
  .hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 80px;
  }

  .hero__garland {
    top: calc(var(--header-height) - 2px);
    width: min(840px, 120vw);
  }

  .hero__names {
    margin-top: 10px;
    font-size: clamp(3.7rem, 8.3vw, 6.5rem);
  }

  .hero__date {
    margin-top: 17px;
  }

  .hero__divider {
    margin-top: 13px;
  }

  .hero__invitation {
    margin-top: 11px;
    font-size: 1.85rem;
  }

  .hero__intro {
    margin-top: 8px;
    line-height: 1.65;
  }

  .hero__button {
    margin-top: 18px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-height: 690px) and (max-width: 640px) {
  .hero__intro {
    display: none;
  }

  .hero__date-place {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .hero__button-note {
    margin-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__eyebrow,
  .hero__names,
  .hero__date,
  .hero__divider,
  .hero__invitation,
  .hero__intro,
  .hero__button,
  .hero__button-note,
  .scroll-cue {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .scroll-cue,
  .site-footer .share-button,
  .hero__button,
  .paper-art,
  .invitation-card__frame,
  .rsvp {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
    background: #fff;
  }

  .hero__frame {
    opacity: 0.4;
  }

  .invitation {
    background: #fff;
    padding-block: 30px;
  }

  .invitation-card {
    box-shadow: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Clean botanical art and download CTA ---------- */

.hero__names {
  font-family: var(--script);
  font-size: clamp(2.9rem, 13vw, 10rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.hero__amp {
  margin: 0 0.1em;
  color: var(--gold-deep);
  font-family: var(--script);
  font-size: 0.52em;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-0.08em);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: clamp(22px, 3.1vh, 34px);
  opacity: 0;
  animation: hero-rise 1s 0.82s var(--ease) forwards;
}

.hero__actions .hero__button {
  margin-top: 0;
  opacity: 1;
  animation: none;
}

.button--download {
  min-height: 54px;
  padding-inline: 21px;
  border-color: var(--gold-line);
  background: rgba(255, 253, 248, 0.66);
  color: var(--forest);
  box-shadow: none;
}

.button--download::after {
  border-color: rgba(146, 112, 61, 0.13);
}

.button--download:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0 12px 26px -22px rgba(30, 54, 40, 0.8);
}

.button--download svg {
  width: 15px;
  height: 15px;
  margin-right: 9px;
  margin-left: 0;
}

.button--download:hover svg {
  transform: translateY(1px);
}

.button__filetype {
  margin-left: 8px;
  padding: 2px 5px;
  border: 1px solid currentColor;
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.1;
  opacity: 0.68;
}

.brand__monogram {
  font-family: var(--display);
}

@media screen and (max-width: 640px) {
  .hero__names {
    font-size: clamp(2.9rem, 13vw, 5.35rem);
    letter-spacing: -0.015em;
  }

  .hero__amp {
    margin-inline: 0.08em 0.1em;
  }

  .hero__actions {
    width: 100%;
    max-width: 340px;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 51px;
  }

  .button--download {
    padding-inline: 16px;
    font-size: 0.65rem;
    letter-spacing: 0.11em;
  }

  .button__filetype {
    font-size: 0.48rem;
  }

  .brand__monogram {
    font-size: 1.38rem;
    letter-spacing: 0.1em;
  }
}

@media screen and (max-width: 370px) {
  .hero__eyebrow {
    gap: 0;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .hero__eyebrow::before,
  .hero__eyebrow::after {
    display: none;
  }

  .hero__names {
    font-size: clamp(2.85rem, 13.2vw, 3.3rem);
  }

  .hero__actions {
    max-width: 300px;
  }

  .hero__actions .button {
    min-height: 48px;
    font-size: 0.6rem;
    letter-spacing: 0.09em;
  }

  .button__filetype {
    display: none;
  }

  .brand__monogram {
    font-size: 1.3rem;
  }
}

/* ---------- Invite links, edit mode and the closed state ---------- */

.edit-banner {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 22px;
  padding: 13px 15px;
  border: 1px solid rgba(142, 112, 66, 0.28);
  background: rgba(243, 245, 236, 0.7);
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: left;
}

.edit-banner svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rsvp-closed {
  padding: clamp(26px, 4vw, 40px) 8px clamp(10px, 2vw, 18px);
  text-align: center;
}

.rsvp-closed__title {
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
}

.rsvp-closed__text {
  max-width: 430px;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.6;
}

.turnstile-holder {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.confirmation__edit {
  margin-top: 12px;
}

.confirmation__edit .text-link {
  border-bottom-color: transparent;
}
