/* ======================================================
   Charbel & Maria — Wedding Site
   Palette: cream #F2EDE7 · mist #E8EBED · terracotta #B78E79
            ink #414751 · sage #919F90
   ====================================================== */

:root {
  --cream: #F2EDE7;
  --mist: #E8EBED;
  --terracotta: #B78E79;
  --ink: #414751;
  --sage: #919F90;

  --font-script: 'Parisienne', cursive;
  --font-serif: 'Cormorant Garamond', 'Cormorant', serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

/* ---------- Film grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Intro gate ---------- */
body.gate-locked {
  overflow: hidden;
  height: 100vh;
}

.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: block;
  overflow: hidden;
  background: var(--ink);
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s var(--ease-out), visibility 1.1s var(--ease-out);
}

.intro-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-gate__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-gate__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(65, 71, 81, 0.35) 0%, rgba(65, 71, 81, 0.15) 45%, rgba(65, 71, 81, 0.5) 100%);
  transition: opacity 0.6s var(--ease-out);
}

.intro-gate.is-playing .intro-gate__scrim {
  opacity: 0;
}

/* ---------- Background music toggle ---------- */
.music-toggle {
  position: fixed;
  right: clamp(1rem, 4vw, 1.75rem);
  bottom: clamp(1rem, 4vw, 1.75rem);
  z-index: 400;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(65, 71, 81, 0.25);
  background: rgba(242, 237, 231, 0.9);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), visibility 0.5s;
  backdrop-filter: blur(6px);
}

.music-toggle.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.music-toggle__icon {
  width: 16px;
  height: 16px;
}

.music-toggle__icon--off {
  display: none;
}

.music-toggle.is-muted .music-toggle__icon--on {
  display: none;
}

.music-toggle.is-muted .music-toggle__icon--off {
  display: block;
}

/* ---------- Shared type helpers ---------- */
.eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(0.7rem, 0.6rem + 0.4vw, 0.82rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}

.eyebrow--dark { color: var(--terracotta); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.hero .reveal--1.in-view { transition-delay: .15s; }
.hero .reveal--2.in-view { transition-delay: .4s; }
.hero .reveal--3.in-view { transition-delay: .7s; }
.hero .reveal--4.in-view { transition-delay: 1.05s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img { animation: none !important; }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1);
  animation: kenburns 26s var(--ease-out) infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1) translate3d(0,0,0); }
  to   { transform: scale(1.09) translate3d(-0.5%, -1%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(242,237,231,0.38) 0%, rgba(242,237,231,0) 60%),
    linear-gradient(180deg, rgba(65,71,81,0.10) 0%, rgba(65,71,81,0) 22%, rgba(65,71,81,0) 68%, rgba(242,237,231,0.55) 92%, var(--cream) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  transform: translateY(-4%);
}

.hero__names {
  margin-top: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: clamp(0.5rem, 2vw, 1.1rem);
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(242,237,231,0.55);
}

.hero__name { font-size: clamp(3.4rem, 6vw + 1.5rem, 7.2rem); }

.hero__amp {
  font-size: clamp(1.8rem, 3vw + 0.8rem, 3.4rem);
  color: var(--terracotta);
  font-style: italic;
  transform: translateY(-8%);
}

.hero__rule {
  width: 1px;
  height: 34px;
  margin: 1.4rem auto 1.1rem;
  background: linear-gradient(180deg, transparent, var(--terracotta), transparent);
}

.hero__date-stack {
  position: absolute;
  top: 76%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero__date-stack__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.hero__date-month,
.hero__date-year {
  font-family: var(--font-serif);
  font-size: clamp(0.72rem, 0.6rem + 0.3vw, 0.86rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(242,237,231,0.6);
  font-variant-numeric: lining-nums;
}

.hero__date-day {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 2.2vw + 2.5rem, 4.6rem);
  line-height: 1;
  color: var(--terracotta);
  text-shadow: 0 2px 20px rgba(242,237,231,0.6);
  font-variant-numeric: lining-nums;
}

.hero__scroll-cue {
  position: absolute;
  bottom: clamp(1.4rem, 4vh, 2.6rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.hero__scroll-cue__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.hero__scroll-cue svg { animation: bob 2.2s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue svg { animation: none; }
}

/* ================= COUNTDOWN ================= */
.countdown {
  position: relative;
  background:
    linear-gradient(180deg, var(--cream) 0%, rgba(242, 237, 231, 0.9) 15%, rgba(242, 237, 231, 0.65) 32%, rgba(242, 237, 231, 0.38) 50%, rgba(242, 237, 231, 0.16) 65%, rgba(242, 237, 231, 0) 78%, rgba(242, 237, 231, 0.5) 92%, var(--cream) 100%),
    url("../assets/images/countdown-arc.png") no-repeat center top / cover;
  padding: clamp(4.5rem, 12vh, 7rem) 1.5rem clamp(3rem, 7vh, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.countdown__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.countdown .eyebrow {
  text-shadow: 0 1px 12px rgba(242, 237, 231, 0.85), 0 0 6px rgba(242, 237, 231, 0.7);
}

.countdown__script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.4rem, 3vw + 1.6rem, 3.8rem);
  color: var(--ink);
  margin: 0.6rem 0 clamp(2.6rem, 6vh, 3.6rem);
  text-shadow: 0 2px 18px rgba(242, 237, 231, 0.9), 0 0 10px rgba(242, 237, 231, 0.8);
}

.countdown__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  width: 100%;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 3.2em;
}

.countdown__value {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 2.6vw + 1.4rem, 3.4rem);
  line-height: 1;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums lining-nums;
  text-shadow: 0 1px 12px rgba(242, 237, 231, 0.85), 0 0 6px rgba(242, 237, 231, 0.7);
}

.countdown__label {
  font-size: clamp(0.6rem, 0.5rem + 0.3vw, 0.72rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(242, 237, 231, 0.85), 0 0 5px rgba(242, 237, 231, 0.7);
}

.countdown__sep {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2vw + 0.6rem, 2rem);
  color: var(--terracotta);
  opacity: 0.45;
  transform: translateY(-0.6em);
}

@media (max-width: 480px) {
  .countdown__timer { gap: 0.5rem; }
  .countdown__sep { display: none; }
  .countdown__unit { min-width: 2.6em; }
}

/* ================= INVITATION ================= */
.invite {
  position: relative;
  background:
    radial-gradient(52% 46% at 50% 42%, rgba(183, 142, 121, 0.16) 0%, rgba(183, 142, 121, 0) 70%),
    radial-gradient(42% 38% at 50% 62%, rgba(145, 159, 144, 0.14) 0%, rgba(145, 159, 144, 0) 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--mist) 35%, var(--cream) 100%);
  padding: clamp(3rem, 8vh, 5rem) 1.5rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.invite__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 620px;
}

.invite__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.15em;
  margin-top: clamp(4rem, 11vh, 6.5rem);
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.2rem);
  line-height: 1.3;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(242, 237, 231, 0.9), 0 0 10px rgba(242, 237, 231, 0.8), 0 0 3px rgba(242, 237, 231, 0.9);
}

.invite__names-line {
  white-space: nowrap;
}

.invite__amp {
  color: var(--terracotta);
  font-style: italic;
  font-size: 0.7em;
  line-height: 1;
  margin: 0.1em 0;
}

.invite__body {
  margin-top: clamp(1.6rem, 4vh, 2.2rem);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.85;
  text-shadow: 0 1px 12px rgba(242, 237, 231, 0.85), 0 0 6px rgba(242, 237, 231, 0.7);
}

.invite__date {
  margin-top: clamp(1.1rem, 2.4vh, 1.6rem);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  letter-spacing: 0.06em;
  color: var(--terracotta);
  text-shadow: 0 1px 12px rgba(242, 237, 231, 0.85), 0 0 6px rgba(242, 237, 231, 0.7);
}

.invite__held-at {
  margin-top: clamp(1.8rem, 4.5vh, 2.4rem);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.85;
  text-shadow: 0 1px 12px rgba(242, 237, 231, 0.85), 0 0 6px rgba(242, 237, 231, 0.7);
}

.invite__rule {
  width: 88px;
  height: 1px;
  margin: clamp(1.8rem, 4vh, 2.6rem) auto;
  background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
}

.invite__venue {
  margin-top: clamp(0.8rem, 2vh, 1.2rem);
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3rem, 2vw + 2.2rem, 4.6rem);
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(242, 237, 231, 0.9), 0 0 10px rgba(242, 237, 231, 0.8);
}

/* ================= LOCATION ================= */
.location {
  position: relative;
  background: var(--cream);
  padding: clamp(4rem, 10vh, 6rem) 1.5rem clamp(0.8rem, 2vh, 1.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.location + .location {
  padding-top: clamp(0.3rem, 1vh, 0.6rem);
}

.location__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 640px;
  border: 1px solid rgba(145, 159, 144, 0.35);
  border-radius: 28px;
  background: rgba(145, 159, 144, 0.07);
  padding: clamp(2.6rem, 7vh, 4rem) clamp(1.6rem, 6vw, 3.2rem);
}

.location__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.6rem, 2vw + 2rem, 3.8rem);
  color: var(--ink);
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.location__rings {
  width: clamp(120px, 22vw, 180px);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(65, 71, 81, 0.16));
}

.location__cards {
  margin-top: clamp(2rem, 5vh, 3rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2.5rem, 7vw, 5rem);
  flex-wrap: wrap;
}

.location__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.location__label {
  font-family: var(--font-serif);
  font-size: clamp(0.72rem, 0.6rem + 0.3vw, 0.86rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sage);
}

.location__button {
  display: inline-block;
  padding: 0.5rem 0.1rem 0.6rem;
  border-bottom: 1px solid var(--sage);
  color: var(--sage);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.location__button:hover,
.location__button:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

/* ================= SCHEDULE ================= */
.schedule {
  position: relative;
  background: var(--cream);
  padding: clamp(4rem, 10vh, 6rem) 1.5rem;
  overflow: hidden;
}

.schedule__inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.schedule__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.6rem, 2vw + 2rem, 3.8rem);
  color: var(--ink);
  text-align: center;
  margin-bottom: clamp(2.6rem, 7vh, 4rem);
}

.schedule__content {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 4vw, 3.5rem);
  flex-wrap: nowrap;
}

.schedule__timeline {
  position: relative;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 4.5vh, 2.4rem);
  padding-left: clamp(1.1rem, 3vw, 1.8rem);
  text-align: left;
}

.schedule__image {
  flex: 1 1 120px;
  min-width: 0;
  max-width: 260px;
  width: clamp(100px, 30vw, 260px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(65, 71, 81, 0.16));
}

.schedule__timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--terracotta), var(--sage));
  opacity: 0.5;
}

.schedule__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.schedule__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.1rem, 3vw, 1.8rem));
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px var(--cream);
}

.schedule__time {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.1rem, 1rem + 0.3vw, 1.3rem);
  letter-spacing: 0.03em;
  color: var(--ink);
}

.schedule__label {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.15rem);
  color: var(--ink);
  opacity: 0.75;
}

@media (max-width: 480px) {
  .schedule__content {
    gap: 0.6rem;
  }

  .schedule__timeline {
    padding-left: 1rem;
    gap: 1.2rem;
  }

  .schedule__item::before {
    left: -1rem;
    width: 7px;
    height: 7px;
  }

  .schedule__time {
    font-size: 0.85rem;
  }

  .schedule__label {
    font-size: 0.8rem;
  }
}

/* ================= REGISTRY ================= */
.registry {
  background: var(--cream);
  padding: clamp(4.5rem, 12vh, 7rem) 1.5rem;
  display: flex;
  justify-content: center;
}

.registry__card {
  width: 100%;
  max-width: 560px;
  padding: clamp(2.6rem, 7vh, 4rem) clamp(1.6rem, 6vw, 3.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(145, 159, 144, 0.35);
  border-radius: 28px;
  background: rgba(145, 159, 144, 0.07);
}

.registry__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.4rem, 2vw + 1.8rem, 3.4rem);
  color: var(--ink);
}

.registry__body {
  margin-top: clamp(1.4rem, 3vh, 2rem);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.85;
  max-width: 38ch;
}

.registry__rule {
  width: 60px;
  height: 1px;
  margin: clamp(1.8rem, 4vh, 2.4rem) auto;
  background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
}

.registry__whish {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.7rem;
  margin: 0;
}

.registry__whish-label {
  font-family: var(--font-serif);
  font-size: clamp(0.72rem, 0.6rem + 0.3vw, 0.86rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

.registry__whish-number {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  letter-spacing: 0.06em;
  color: var(--terracotta);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ================= RSVP ================= */
.rsvp {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--mist) 100%);
  padding: clamp(4.5rem, 12vh, 7rem) 1.5rem clamp(5rem, 13vh, 8rem);
  display: flex;
  justify-content: center;
  text-align: center;
}

.rsvp__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 460px;
}

.rsvp__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.6rem, 2vw + 2rem, 3.8rem);
  color: var(--ink);
}

.rsvp .eyebrow {
  margin-top: 0.7rem;
  margin-bottom: clamp(2.6rem, 6vh, 3.6rem);
}

.rsvp__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(1.7rem, 4vh, 2.3rem);
  text-align: left;
}

.rsvp__row {
  display: flex;
  gap: 1.4rem;
}

.rsvp__row .rsvp__field {
  flex: 1;
  min-width: 0;
}

.rsvp__field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rsvp__field label,
.rsvp__fieldset legend {
  font-family: var(--font-serif);
  font-size: clamp(0.66rem, 0.58rem + 0.2vw, 0.76rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

.rsvp__field input[type="text"],
.rsvp__field input[type="tel"] {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(65, 71, 81, 0.25);
  padding: 0.5rem 0.1rem;
  outline: none;
  transition: border-color 220ms var(--ease-out);
  width: 100%;
}

.rsvp__field input[type="text"]:focus,
.rsvp__field input[type="tel"]:focus {
  border-color: var(--terracotta);
}

.rsvp__field input:invalid {
  box-shadow: none;
}

.rsvp__fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.rsvp__toggle {
  display: flex;
  gap: 1.6rem;
  margin-top: 0.3rem;
}

.rsvp__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.2rem;
  margin: -0.6rem -0.2rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 0.94rem;
  color: var(--ink);
}

.rsvp__radio input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
  margin: 0;
  display: grid;
  place-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.rsvp__radio input::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 160ms var(--ease-out);
  background: var(--terracotta);
}

.rsvp__radio input:checked::before {
  transform: scale(1);
}

.rsvp__submit {
  margin-top: clamp(0.8rem, 2vh, 1.2rem);
  align-self: center;
  min-height: 44px;
  padding: 0.95rem 3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.rsvp__submit:hover,
.rsvp__submit:focus-visible {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.rsvp__note {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--sage);
  min-height: 1.4em;
  margin: 0;
}

.rsvp__note.is-error {
  color: #B3574A;
}

@media (max-width: 480px) {
  .rsvp__row {
    flex-direction: column;
    gap: clamp(1.7rem, 4vh, 2.3rem);
  }
}
