:root {
  --paper: #fffdf8;
  --paper-warm: #f5eee6;
  --mist: #e9ece2;
  --sage: #8b9066;
  --sage-dark: #46543b;
  --sage-soft: #a1a386;
  --gray-green: #9fa99d;
  --rose: #a87962;
  --rose-soft: #ead8ca;
  --casino-red: #8b5f3b;
  --casino-ink: #22251e;
  --gold: #bd8c56;
  --linen: #e8decd;
  --taupe: #aaa196;
  --ink: #26231d;
  --muted: #70685d;
  --line: rgba(70, 84, 59, 0.16);
  --line-strong: rgba(70, 84, 59, 0.3);
  --shadow: 0 24px 70px rgba(47, 38, 25, 0.13);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(135deg, rgba(243, 238, 231, 0.92) 0%, rgba(255, 253, 248, 0.94) 46%, rgba(232, 222, 205, 0.88) 100%);
}

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

button {
  color: inherit;
}

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

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 32px;
}

.invitation {
  width: min(1160px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.94)),
    repeating-linear-gradient(0deg, rgba(70, 84, 59, 0.028) 0 1px, transparent 1px 8px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 72px 48px 64px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(189, 140, 86, 0.28);
  border-radius: 12px;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 144, 102, 0.76), transparent);
  transform: translateX(-50%);
}

.hero__ornament {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.roulette-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 430px;
  height: 430px;
  border: 2px solid rgba(70, 84, 59, 0.1);
  border-radius: 999px;
  background:
    repeating-conic-gradient(
      from -4deg,
      rgba(189, 140, 86, 0.06) 0deg 8deg,
      rgba(139, 144, 102, 0.07) 8deg 16deg,
      rgba(255, 253, 248, 0.32) 16deg 24deg
    ),
    radial-gradient(circle, rgba(255, 253, 248, 0.78) 0 31%, transparent 32% 100%);
  box-shadow: inset 0 0 0 22px rgba(255, 253, 248, 0.56), inset 0 0 0 23px rgba(189, 140, 86, 0.12);
  opacity: 0.48;
  transform: translate(-50%, -47%) rotate(-8deg);
}

.roulette-halo i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: rgba(67, 82, 56, 0.52);
  border: 1px solid rgba(189, 150, 89, 0.34);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
  font-family: var(--serif);
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  transform: translate(-50%, -50%);
}

.playing-card {
  position: absolute;
  width: 86px;
  height: 118px;
  display: grid;
  align-content: start;
  justify-items: start;
  padding: 12px;
  border: 1px solid rgba(67, 82, 56, 0.22);
  border-radius: 9px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 32px rgba(47, 38, 25, 0.08);
}

.playing-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(189, 150, 89, 0.22);
  border-radius: 6px;
}

.playing-card b,
.playing-card small {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  line-height: 1;
}

.playing-card b {
  color: var(--sage-dark);
  font-size: 30px;
}

.playing-card small {
  color: var(--gold);
  font-size: 30px;
}

.playing-card--left {
  left: 16%;
  top: 58%;
  transform: rotate(-12deg);
}

.playing-card--right {
  right: 16%;
  top: 18%;
  transform: rotate(11deg);
}

.wedding-rings {
  position: relative;
  width: 92px;
  height: 52px;
  display: block;
  margin: 20px auto 4px;
}

.wedding-rings::before,
.wedding-rings::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(189, 150, 89, 0.72);
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px rgba(255, 253, 247, 0.68), 0 8px 18px rgba(47, 38, 25, 0.08);
}

.wedding-rings::before {
  left: 15px;
}

.wedding-rings::after {
  right: 15px;
}

.eyebrow,
.section-heading p {
  margin: 0;
  color: var(--rose);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.names {
  margin: 10px 0 0;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 500;
  line-height: 0.95;
}

.names span {
  display: inline-block;
  margin: 0 18px;
  color: var(--gold);
  font-weight: 400;
}

.date {
  margin: 24px 0 0;
  padding: 12px 30px;
  color: var(--sage-dark);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.35;
}

.lucky-panel {
  width: min(500px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label number"
    "button number";
  gap: 7px 20px;
  align-items: center;
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid rgba(189, 140, 86, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(245, 238, 230, 0.88)),
    linear-gradient(90deg, rgba(139, 144, 102, 0.1), transparent 42%, rgba(189, 140, 86, 0.12));
  box-shadow: 0 18px 34px rgba(47, 38, 25, 0.08);
  text-align: left;
}

.lucky-panel span {
  grid-area: label;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.lucky-panel b {
  grid-area: number;
  min-width: 82px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 58px;
  line-height: 1;
  text-align: center;
}

.lucky-panel .text-btn {
  grid-area: button;
  justify-self: start;
  margin-top: 0;
  color: var(--brown);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.primary-link,
.ghost-btn,
.submit-btn,
.text-btn {
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.primary-link,
.ghost-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-link {
  color: var(--paper);
  background: var(--sage-dark);
  box-shadow: 0 14px 26px rgba(67, 82, 56, 0.18);
}

.ghost-btn {
  color: var(--sage-dark);
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 247, 0.68);
}

.primary-link:hover,
.ghost-btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
}

.ghost-btn:hover {
  color: var(--paper);
  border-color: var(--sage-dark);
  background: var(--sage-dark);
}

.details,
.program,
.dress,
.rsvp,
.casino-strip,
.countdown,
.footer {
  padding-left: 54px;
  padding-right: 54px;
}

.casino-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(67, 82, 56, 0.92), rgba(31, 36, 28, 0.92)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 253, 247, 0.04) 12px 13px);
}

.casino-strip div {
  min-height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: var(--paper);
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.04);
}

.casino-strip span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.casino-strip p {
  margin: 0;
  color: rgba(255, 253, 247, 0.78);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 62px;
}

.detail-card {
  position: relative;
  min-height: 244px;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 238, 230, 0.66);
  text-align: center;
}

.card-mark {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(189, 140, 86, 0.58);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.detail-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--sage-dark);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.detail-card__icon svg {
  width: 28px;
  height: 28px;
}

.detail-card h2 {
  margin: 0 0 10px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.text-btn {
  margin-top: 16px;
  padding: 0;
  color: var(--rose);
  background: transparent;
  border-bottom: 1px solid rgba(185, 130, 123, 0.38);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text-btn:hover {
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}

.program {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  padding-top: 62px;
  padding-bottom: 62px;
  background: linear-gradient(135deg, rgba(233, 236, 226, 0.76), rgba(232, 222, 205, 0.42));
}

.section-heading {
  text-align: center;
}

.section-heading--left {
  text-align: left;
}

.section-heading h2 {
  margin: 8px 0 0;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}

.timeline {
  display: grid;
  gap: 22px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 112px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(67, 82, 56, 0.2);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 82px 34px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 107px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 6px rgba(185, 130, 123, 0.12);
}

.timeline time {
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.timeline p {
  grid-column: 3;
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.dress {
  position: relative;
  padding-top: 62px;
  padding-bottom: 62px;
}

.dress__note {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  text-align: center;
}

.palette {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 14px;
  margin-top: 34px;
}

.palette__item {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.palette__item span {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(67, 82, 56, 0.16);
  border-radius: 999px;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.48), 0 10px 20px rgba(47, 38, 25, 0.08);
}

.palette__item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.rsvp {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 34px;
  padding-top: 62px;
  padding-bottom: 62px;
  border-top: 1px solid var(--line);
}

.rsvp__copy {
  align-self: start;
}

.rsvp__copy .section-heading {
  margin-top: 34px;
}

.rsvp__copy > p {
  max-width: 360px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.contact {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.62);
  box-shadow: 0 14px 28px rgba(47, 38, 25, 0.05);
  color: var(--muted);
}

.contact span {
  display: block;
  color: var(--rose);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact strong {
  display: block;
  margin-top: 8px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.contact p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.contact-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 20px rgba(47, 38, 25, 0.06);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.contact-btn:hover {
  color: var(--paper);
  border-color: var(--sage-dark);
  background: var(--sage-dark);
  transform: translateY(-2px);
}

.contact-btn--primary {
  color: var(--paper);
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 12px 22px rgba(189, 140, 86, 0.18);
}

.contact-btn--primary:hover {
  border-color: var(--brown);
  background: var(--brown);
}

.form {
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.74);
}

.form-group {
  margin-bottom: 18px;
}

label,
.form-label {
  display: block;
  margin-bottom: 9px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.input,
.textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid rgba(67, 82, 56, 0.26);
  border-radius: 6px;
  background: rgba(255, 253, 247, 0.9);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input {
  height: 46px;
  padding: 0 14px;
}

.textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px 14px;
  line-height: 1.5;
}

.input:focus,
.textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(185, 130, 123, 0.12);
}

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

.choice {
  margin: 0;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(67, 82, 56, 0.2);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(247, 241, 231, 0.54);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: 0.18s ease;
}

.choice input:checked + span {
  color: var(--paper);
  border-color: var(--sage-dark);
  background: var(--sage-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.submit-btn {
  width: 100%;
  min-height: 52px;
  color: var(--paper);
  border-radius: 6px;
  background: var(--rose);
  box-shadow: 0 14px 24px rgba(185, 130, 123, 0.2);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.submit-btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  justify-content: center;
  gap: 14px;
  padding-top: 46px;
  padding-bottom: 46px;
  background: var(--sage-dark);
}

.countdown div {
  padding: 14px 12px;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 8px;
  color: var(--paper);
  text-align: center;
}

.countdown b {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.countdown span {
  color: rgba(255, 253, 247, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer {
  padding-top: 34px;
  padding-bottom: 38px;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 31px;
  font-style: italic;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 20px;
  color: var(--paper);
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 999px;
  background: rgba(38, 35, 29, 0.94);
  box-shadow: 0 16px 38px rgba(47, 38, 25, 0.22);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: 0.24s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 920px) {
  .page {
    padding: 18px;
  }

  .hero {
    min-height: 560px;
    padding: 62px 30px 56px;
  }

  .names {
    font-size: 78px;
  }

  .lead {
    font-size: 23px;
  }

  .details,
  .program,
  .dress,
  .rsvp,
  .casino-strip,
  .countdown,
  .footer {
    padding-left: 30px;
    padding-right: 30px;
  }

  .roulette-halo {
    width: 360px;
    height: 360px;
  }

  .wedding-rings {
    margin-top: 18px;
  }

  .playing-card--left {
    left: 7%;
  }

  .playing-card--right {
    right: 7%;
  }

  .casino-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program,
  .rsvp {
    grid-template-columns: 1fr;
  }

  .details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-card {
    min-height: auto;
  }

  .section-heading,
  .section-heading--left {
    text-align: center;
  }

  .rsvp__copy > p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .contact {
    text-align: center;
  }

  .contact__actions {
    justify-content: center;
  }

  .palette {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .page {
    padding: 10px;
  }

  .invitation {
    border-radius: 12px;
  }

  .hero {
    min-height: 540px;
    padding: 54px 18px 52px;
  }

  .hero::before {
    inset: 10px;
    border-radius: 8px;
  }

  .eyebrow,
  .section-heading p {
    font-size: 11px;
  }

  .names {
    font-size: 58px;
  }

  .names span {
    display: block;
    margin: 2px 0;
  }

  .date {
    padding: 10px 18px;
    font-size: 27px;
  }

  .lead {
    font-size: 21px;
  }

  .hero__actions {
    display: grid;
    width: 100%;
    max-width: 300px;
  }

  .playing-card {
    opacity: 0.42;
  }

  .roulette-halo {
    width: 300px;
    height: 300px;
    opacity: 0.46;
  }

  .roulette-halo i {
    width: 66px;
    height: 66px;
    font-size: 29px;
  }

  .wedding-rings {
    width: 74px;
    height: 42px;
    margin-top: 16px;
    margin-bottom: 6px;
  }

  .wedding-rings::before,
  .wedding-rings::after {
    width: 34px;
    height: 34px;
  }

  .wedding-rings::before {
    left: 11px;
  }

  .wedding-rings::after {
    right: 11px;
  }

  .playing-card {
    width: 64px;
    height: 88px;
    padding: 9px;
  }

  .playing-card b,
  .playing-card small {
    font-size: 24px;
  }

  .playing-card--left {
    left: 0;
    top: 64%;
  }

  .playing-card--right {
    right: 2px;
    top: 15%;
  }

  .lucky-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "chips"
      "label"
      "number"
      "button";
    justify-items: center;
    max-width: 320px;
    padding: 18px 16px;
    text-align: center;
  }

  .lucky-panel .text-btn {
    justify-self: center;
  }

  .details,
  .program,
  .dress,
  .rsvp,
  .casino-strip,
  .countdown,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .details,
  .program,
  .dress,
  .rsvp {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .casino-strip {
    grid-template-columns: 1fr;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .casino-strip div {
    min-height: 58px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .timeline::before {
    left: 92px;
  }

  .timeline__item {
    grid-template-columns: 66px 28px 1fr;
    gap: 12px;
  }

  .timeline__item::before {
    left: 87px;
  }

  .timeline time {
    font-size: 25px;
  }

  .palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .dress__note {
    font-size: 20px;
  }

  .form {
    padding: 22px 16px;
  }

  .rsvp__copy .section-heading {
    margin-top: 28px;
  }

  .choice-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .countdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .countdown div {
    padding: 12px 8px;
  }

  .countdown b {
    font-size: 32px;
  }

  .footer p {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
