:root {
  color-scheme: light;
  --paper: #fbf6ed;
  --paper-deep: #efe4d4;
  --ink: #3e352c;
  --muted: #74675c;
  --olive: #747a58;
  --olive-dark: #555b3d;
  --rose: #b57d74;
  --gold: #b89555;
  --line: rgba(85, 75, 60, 0.2);
  --shadow: 0 24px 80px rgba(73, 56, 38, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(181, 125, 116, 0.16), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(116, 122, 88, 0.18), transparent 28rem),
    linear-gradient(135deg, #f4eadc, #fffaf3 45%, #eadccd);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(62, 53, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 53, 44, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

a {
  color: var(--olive-dark);
  font-weight: 700;
  text-decoration: none;
}

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

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

.invite-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

body.landing-locked {
  overflow: hidden;
  background: #ffffff;
}

body.landing-locked .invite-shell {
  display: none;
}

body.invite-open .invite-shell {
  display: block;
}

.section {
  position: relative;
  padding: 74px 28px;
  text-align: center;
}

.initial-page {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

.initial-page.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.initial-envelope {
  position: relative;
  width: min(100vw, 560px);
  height: 100svh;
  min-height: 620px;
  max-height: 960px;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  transition:
    opacity 520ms ease,
    transform 900ms cubic-bezier(0.18, 0.8, 0.2, 1);
}

.initial-envelope::before,
.initial-envelope::after {
  display: none;
}

.letter-names {
  position: absolute;
  top: clamp(76px, 13svh, 126px);
  left: 50%;
  z-index: 4;
  display: grid;
  width: min(64%, 300px);
  gap: 3px;
  color: #9aa4a4;
  font-family: "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
  font-size: clamp(2.9rem, 11.8vw, 4.4rem);
  font-weight: 400;
  line-height: 0.88;
  text-align: center;
  transform: translateX(-50%);
  transition:
    opacity 520ms ease,
    transform 700ms ease;
}

.letter-names strong {
  color: #8d9999;
  font-family: var(--serif);
  font-size: 0.56em;
  font-weight: 400;
  line-height: 0.92;
}

.envelope-folds {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.fold-line,
.paper-shadow {
  position: absolute;
  top: 50.2%;
  left: 50%;
  height: 2px;
  background: rgba(112, 112, 106, 0.22);
  transform-origin: 0 50%;
}

.fold-line--top-left,
.fold-line--top-right {
  width: 75%;
  box-shadow: 0 5px 10px rgba(72, 72, 66, 0.16);
}

.fold-line--bottom-left,
.fold-line--bottom-right {
  width: 116%;
  background: rgba(112, 112, 106, 0.2);
}

.fold-line--top-left {
  transform: rotate(222deg);
}

.fold-line--top-right {
  transform: rotate(-42deg);
}

.fold-line--bottom-left {
  transform: rotate(137deg);
}

.fold-line--bottom-right {
  transform: rotate(43deg);
}

.paper-shadow {
  top: 49.9%;
  width: 75%;
  height: 12px;
  background: linear-gradient(90deg, rgba(72, 72, 66, 0.26), transparent 64%);
  filter: blur(8px);
  opacity: 0.62;
}

.paper-shadow--left {
  transform: rotate(222deg) translateY(5px);
}

.paper-shadow--right {
  transform: rotate(-42deg) translateY(5px);
}

.landing-seal {
  position: absolute;
  top: 50.2%;
  left: 50%;
  z-index: 5;
  width: clamp(82px, 18vw, 116px);
  height: clamp(82px, 18vw, 116px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 26%, rgba(255, 255, 255, 0.48), transparent 24%),
    radial-gradient(circle at 50% 54%, #ddc58b 0 42%, #b99859 43% 58%, #86672f 59% 68%, #d4ba7c 69% 100%);
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.44),
    inset 0 -7px 12px rgba(79, 58, 22, 0.34),
    0 10px 18px rgba(74, 57, 27, 0.28);
  transform: translate(-50%, -50%);
  transition:
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.18, 0.8, 0.2, 1);
}

.landing-seal::before,
.landing-seal::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.landing-seal::before {
  inset: 10%;
  border: 2px solid rgba(88, 68, 31, 0.32);
}

.landing-seal::after {
  inset: 20%;
  border: 1px solid rgba(255, 250, 220, 0.45);
}

.landing-copy {
  position: absolute;
  right: 24px;
  bottom: clamp(52px, 8svh, 82px);
  left: 24px;
  z-index: 6;
  display: grid;
  gap: 8px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 4.2vw, 1.36rem);
  line-height: 1.08;
  text-align: center;
  transition:
    opacity 360ms ease,
    transform 500ms ease;
}

.landing-copy strong {
  font-size: 1.16em;
  letter-spacing: 0.02em;
}

.initial-page.is-opening .initial-envelope {
  transform: scale(1.04) translateY(-10px);
  opacity: 0.08;
}

.initial-page.is-opening .letter-names {
  transform: translate(-50%, -34px) scale(0.96);
  opacity: 0;
}

.initial-page.is-opening .landing-seal {
  transform: translate(-50%, -50%) scale(0.58);
  opacity: 0;
}

.initial-page.is-opening .landing-copy {
  transform: translateY(24px);
  opacity: 0;
}

.eyebrow,
.section-kicker,
.date-line {
  margin: 0;
  color: var(--olive-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 span {
  color: var(--gold);
  font-size: 0.74em;
  font-weight: 400;
  line-height: 1;
}

.intro {
  padding-top: 86px;
}

h1,
h2,
h3,
.script-title {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  margin: 16px 0 4px;
  font-size: clamp(4rem, 17vw, 6rem);
  line-height: 0.94;
}

h2 {
  margin: 10px 0 20px;
  font-size: clamp(2.25rem, 10vw, 3.8rem);
  line-height: 1;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.9rem;
}

p {
  line-height: 1.75;
}

.script-title {
  margin: 6px 0 32px;
  color: var(--rose);
  font-size: 2.2rem;
  text-transform: uppercase;
}

.quote {
  width: min(100%, 360px);
  margin: 34px auto 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.35;
}

.lead {
  margin: 0 auto;
  max-width: 390px;
  color: var(--muted);
}

.framed-photo {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fffaf2;
  box-shadow: 0 18px 50px rgba(74, 58, 38, 0.13);
}

.framed-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.framed-photo--hero {
  transform: rotate(-1.5deg);
}

.divider {
  width: min(62%, 320px);
  height: 26px;
  margin: 0 auto;
  background:
    radial-gradient(circle, var(--gold) 0 2px, transparent 3px) center/22px 8px
      repeat-x;
  opacity: 0.72;
}

.floral {
  position: absolute;
  width: 116px;
  height: 160px;
  opacity: 0.5;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 40% 18%, rgba(181, 125, 116, 0.55) 0 12px, transparent 13px),
    radial-gradient(ellipse at 58% 34%, rgba(181, 125, 116, 0.45) 0 14px, transparent 15px),
    radial-gradient(ellipse at 36% 52%, rgba(116, 122, 88, 0.5) 0 18px, transparent 19px),
    linear-gradient(120deg, transparent 48%, rgba(116, 122, 88, 0.42) 49% 51%, transparent 52%);
}

.floral--left {
  left: -22px;
  top: 20px;
  transform: rotate(-24deg);
}

.floral--right {
  right: -22px;
  bottom: 26px;
  transform: scaleX(-1) rotate(-24deg);
}

.detail-grid,
.lodging-list {
  display: grid;
  gap: 22px;
}

.place-card,
.lodging-list article,
.route-card {
  border: 1px solid var(--line);
  background: rgba(255, 251, 244, 0.72);
  box-shadow: 0 14px 40px rgba(74, 58, 38, 0.1);
}

.place-card {
  overflow: hidden;
}

.place-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.place-card div {
  padding: 26px 20px 30px;
}

.place-name,
.time {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.place-name {
  color: var(--olive-dark);
}

.time {
  color: var(--rose);
}

.map-pin {
  position: relative;
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.35em;
  border-radius: 50% 50% 50% 0;
  background: #d92d20;
  transform: rotate(-45deg);
  vertical-align: -0.08em;
}

.map-pin::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.32em;
  height: 0.32em;
  content: "";
  border-radius: 50%;
  background: #fff8ef;
  transform: translate(-50%, -50%);
}

.split-section {
  display: grid;
  gap: 30px;
  align-items: center;
}

.palette {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 0;
}

.palette span {
  width: 42px;
  height: 42px;
  border: 5px solid #fffaf2;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 4px 18px rgba(74, 58, 38, 0.16);
}

.carousel {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.carousel__track {
  min-height: 210px;
  display: grid;
}

.carousel__button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fffaf2;
  cursor: pointer;
}

.route-card {
  display: none;
  min-height: 210px;
  align-content: center;
  gap: 10px;
  padding: 34px 20px;
}

.route-card.is-active {
  display: grid;
  animation: fadeUp 360ms ease both;
}

.route-card span {
  color: var(--rose);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.route-card strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.lodging-list article {
  padding: 26px 18px;
}

.rsvp-section {
  min-height: 610px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 50% 100%, rgba(62, 53, 44, 0.12), transparent 48%),
    #a3afad;
}

.rsvp-section::before,
.rsvp-section::after {
  position: absolute;
  left: -6%;
  width: 112%;
  height: 42px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(28px 16px at 12px 20px, #f7f7f2 48%, transparent 51%) 0 0 /
      54px 32px repeat-x,
    linear-gradient(#f7f7f2, #f7f7f2);
}

.rsvp-section::before {
  top: -17px;
  filter: drop-shadow(0 9px 8px rgba(63, 70, 68, 0.18));
}

.rsvp-section::after {
  bottom: -26px;
  opacity: 0.08;
  transform: rotate(180deg);
}

.rsvp-section h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 34px;
  color: #ffffff;
  font-family: "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
  font-size: clamp(4rem, 16vw, 6rem);
  line-height: 0.9;
  text-shadow: 0 2px 12px rgba(66, 78, 76, 0.12);
}

.rsvp-question {
  position: relative;
  z-index: 1;
  margin: 0 0 34px;
  color: #262626;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 5vw, 1.86rem);
  font-weight: 800;
  line-height: 1.2;
}

.rsvp-envelope-button {
  position: relative;
  z-index: 1;
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  border: 0;
  padding: 0;
  color: #111111;
  background: transparent;
  cursor: pointer;
  animation: rsvpFloat 2.6s ease-in-out infinite;
}

.rsvp-envelope-button:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 8px;
}

.rsvp-envelope-icon {
  width: 116px;
  height: 116px;
}

.rsvp-hint {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: #2d2d2d;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 4.6vw, 1.72rem);
  line-height: 1.2;
}

.rsvp-leaf {
  position: absolute;
  z-index: 1;
  width: 120px;
  height: 190px;
  opacity: 0.58;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 48% 15%, rgba(192, 215, 188, 0.85) 0 12px, transparent 13px),
    radial-gradient(ellipse at 64% 31%, rgba(142, 166, 146, 0.8) 0 15px, transparent 16px),
    radial-gradient(ellipse at 37% 47%, rgba(143, 167, 146, 0.75) 0 17px, transparent 18px),
    radial-gradient(ellipse at 60% 64%, rgba(188, 209, 181, 0.7) 0 13px, transparent 14px),
    linear-gradient(132deg, transparent 49%, rgba(113, 104, 60, 0.55) 50% 51%, transparent 52%);
}

.rsvp-leaf--top {
  top: 24px;
  left: 26px;
  transform: rotate(42deg);
}

.rsvp-leaf--bottom {
  right: -8px;
  bottom: -86px;
  transform: rotate(-138deg);
}

@keyframes rsvpFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  color: #050505;
  font-family: var(--serif);
}

.rsvp-modal.is-open {
  display: block;
}

.rsvp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.rsvp-modal__panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 0 16px 56px;
  background: #ffffff;
}

.rsvp-modal__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 -16px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e3e4e8;
  background: #ffffff;
}

.rsvp-modal__header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4.4vw, 1.8rem);
  font-weight: 400;
  line-height: 1;
}

.rsvp-modal__close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  color: #000000;
  background: transparent;
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
}

.rsvp-form {
  display: grid;
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 34px;
  text-align: left;
}

.rsvp-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 0;
  border: 0;
  padding: 0;
}

.rsvp-fieldset legend,
.rsvp-select-field > span,
.rsvp-text-field > span {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  color: #050505;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 3.9vw, 1.56rem);
  font-weight: 800;
  line-height: 1.12;
}

.required-mark {
  color: #c1121f;
  font-family: var(--sans);
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: 0.08em;
}

.rsvp-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.12rem, 3.7vw, 1.42rem);
  line-height: 1;
}

.rsvp-radio input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #111111;
}

.rsvp-radio--stacked {
  width: 100%;
}

.rsvp-select-field {
  display: grid;
  justify-items: start;
}

.rsvp-select-field select {
  width: 68px;
  min-height: 50px;
  border: 1px solid #a8afba;
  border-radius: 8px;
  padding: 8px 10px;
  color: #050505;
  background: #ffffff;
  font-family: var(--serif);
  font-size: 1.22rem;
}

.adult-fields {
  display: grid;
  gap: 32px;
}

.adult-row {
  display: grid;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px dashed #d5d9df;
}

.rsvp-text-field {
  display: grid;
  gap: 10px;
}

.rsvp-text-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #a8afba;
  border-radius: 8px;
  padding: 10px 14px;
  color: #050505;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(36, 44, 55, 0.12);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3.5vw, 1.24rem);
}

.rsvp-text-field input::placeholder {
  color: #9ca3af;
}

.rsvp-form [aria-invalid="true"] {
  border-color: #c1121f;
  box-shadow: 0 0 0 2px rgba(193, 18, 31, 0.14);
}

.rsvp-bus-fieldset {
  gap: 18px;
}

.rsvp-song-field {
  gap: 12px;
}

.rsvp-submit {
  display: inline-flex;
  width: min(100%, 300px);
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 8px;
  padding: 18px 22px;
  color: #ffffff;
  background: #000000;
  box-shadow: 0 0 0 1px #3e3e3e;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 4vw, 1.56rem);
}

.rsvp-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.rsvp-submit-status {
  min-height: 1.4em;
  margin: -22px 0 0;
  color: #333333;
  font-family: var(--serif);
  font-size: 1rem;
}

.rsvp-submit-status.is-error {
  color: #c1121f;
}

.rsvp-submit-status.is-success {
  color: #276749;
}

.send-arrow {
  display: inline-block;
  font-size: 1.35em;
  transform: translateX(0);
  animation: sendArrowNudge 1.2s ease-in-out infinite;
}

@keyframes sendArrowNudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(8px);
  }
}

.copy-card,
.album-code {
  border: 0;
  color: var(--paper);
  background: var(--olive);
  cursor: pointer;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 46px;
  margin-top: 34px;
}

.timeline article {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.timeline-icon {
  width: 118px;
  height: 118px;
  color: #111111;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.timeline span {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1;
}

.timeline strong {
  font-family: var(--serif);
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 1.12;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.gallery img {
  height: 210px;
  object-fit: cover;
}

.gallery img:first-child {
  grid-column: 1 / -1;
  height: 300px;
}

.copy-card {
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
  margin: 26px auto 0;
  padding: 22px;
  background: #fffaf2;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(74, 58, 38, 0.1);
}

.copy-card strong {
  color: var(--olive-dark);
}

.copy-card small {
  color: var(--rose);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qr-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 158px;
  height: 158px;
  margin: 24px auto;
  padding: 16px;
  border: 8px solid #fffaf2;
  background:
    linear-gradient(90deg, var(--ink) 12px, transparent 12px) 12px 50px/30px
      24px no-repeat,
    linear-gradient(var(--ink) 12px, transparent 12px) 66px 24px/24px 48px
      no-repeat,
    linear-gradient(90deg, var(--ink) 12px, transparent 12px) 78px 92px/48px
      24px no-repeat,
    #f4ecdf;
  box-shadow: 0 14px 40px rgba(74, 58, 38, 0.12);
}

.qr-box span {
  border: 10px solid var(--ink);
  background: #f4ecdf;
}

.qr-box span:nth-child(4) {
  border-width: 8px;
  transform: scale(0.72);
}

.album-code {
  padding: 12px 16px;
  background: transparent;
  color: var(--olive-dark);
}

.countdown-section {
  padding-bottom: 90px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 26px;
}

.countdown div {
  padding: 16px 4px;
  border: 1px solid var(--line);
  background: #fffaf2;
}

.countdown strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 8vw, 2.4rem);
  font-weight: 400;
}

.countdown span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.farewell {
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.music-toggle {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: #fffaf2;
  background: rgba(62, 53, 44, 0.78);
  box-shadow: 0 10px 28px rgba(50, 42, 34, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    background 180ms ease;
}

body.invite-open .music-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.music-toggle:hover {
  background: rgba(62, 53, 44, 0.92);
}

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

.music-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.music-toggle.is-muted .music-icon--on,
.music-toggle:not(.is-muted) .music-icon--off {
  display: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .invite-shell {
    margin: 32px auto;
  }

  .rsvp-modal__panel {
    padding: 0 32px 70px;
  }

  .rsvp-modal__header {
    margin-right: -32px;
    margin-left: -32px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .adult-row {
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
  }

  .rsvp-submit {
    width: 300px;
  }
}

@media (max-width: 390px) {
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .carousel {
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
  }

  .countdown {
    gap: 6px;
  }
}
