:root {
  --ivory: #f7f3ea;
  --ivory-deep: #eee6d7;
  --ink: #26372f;
  --ink-soft: #607066;
  --sage: #8d9c86;
  --gold: #bb9660;
  --gold-light: #dcc397;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
}
button, input, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.radio-pill b, .submit-button b, .map-button b, .scroll-cue b { font: inherit; }

.invitation { min-height: 100vh; background: var(--ivory); overflow: hidden; }
.invitation-content { opacity: 0; transition: opacity 1.2s ease; }
.invitation-content.is-visible { opacity: 1; }

.envelope-scene {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.9), transparent 34%),
    linear-gradient(135deg, #e8dfcf, #f8f5ed 48%, #dfd4c1);
  transition: opacity .65s ease .65s, visibility .65s ease .65s;
}
.envelope-scene::before,
.paper-texture,
.grain {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.envelope-scene.is-opening { opacity: 0; visibility: hidden; }
.envelope {
  position: absolute;
  top: 49%;
  left: 50%;
  width: min(76vw, 560px);
  aspect-ratio: 1.55;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 25px 25px rgba(68, 52, 33, .18));
  perspective: 1000px;
}
.envelope-shadow {
  position: absolute;
  left: 50%;
  top: calc(49% + min(25vw, 185px));
  width: min(66vw, 490px);
  height: 35px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(71, 55, 36, .17);
  filter: blur(18px);
  transition: transform 1s ease, opacity 1s ease;
}
.envelope-back,
.envelope-front,
.envelope-left,
.envelope-right {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(117, 91, 55, .15);
  background: #eee3d0;
}
.envelope-back { border-radius: 5px; }
.envelope-left { clip-path: polygon(0 0, 52% 50%, 0 100%); background: #e5d8c2; }
.envelope-right { clip-path: polygon(100% 0, 48% 50%, 100% 100%); background: #ebdfcb; }
.envelope-front { clip-path: polygon(0 100%, 50% 44%, 100% 100%); background: #f1e6d4; }
.envelope-flap {
  position: absolute;
  inset: 0;
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 50% 62%);
  background: linear-gradient(160deg, #f4ead9, #e6d9c3);
  transform-origin: top;
  transition: transform .8s cubic-bezier(.65,0,.35,1), z-index 0s .35s;
}
.invitation-card {
  position: absolute;
  z-index: 1;
  left: 6%; right: 6%; bottom: 4%; height: 88%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--ink);
  background: #fbf8f1;
  border: 1px solid rgba(187, 150, 96, .45);
  transition: transform .85s cubic-bezier(.2,.75,.25,1) .3s;
}
.card-monogram { font-family: Georgia, serif; font-size: clamp(26px, 6vw, 52px); letter-spacing: .08em; }
.card-line { width: 80px; height: 1px; background: var(--gold); }
.card-copy { text-transform: uppercase; font-size: 9px; letter-spacing: .24em; }
.wax-seal {
  position: absolute;
  z-index: 7;
  left: 50%; top: 50%;
  width: 82px; height: 82px;
  transform: translate(-50%, -36%);
  display: flex; align-items: center; justify-content: center; gap: 2px;
  border-radius: 46% 53% 48% 55%;
  color: #f0d9a9;
  font-family: Georgia, serif;
  font-size: 20px;
  background: radial-gradient(circle at 36% 28%, #a55b55, #793633 72%);
  border: 4px double rgba(244, 203, 153, .5);
  box-shadow: 0 7px 12px rgba(73,31,26,.28), inset 0 0 0 3px rgba(92,31,30,.2);
  transition: transform .4s ease, opacity .3s ease .1s;
}
.wax-seal i { color: #d6b276; font-size: 14px; }
.envelope-scene:hover .wax-seal { transform: translate(-50%, -36%) scale(1.06) rotate(-2deg); }
.envelope-scene.is-opening .envelope-flap { transform: rotateX(178deg); z-index: 0; }
.envelope-scene.is-opening .wax-seal { opacity: 0; transform: translate(-50%, -36%) scale(.55); }
.envelope-scene.is-opening .invitation-card { transform: translateY(-74%); }
.envelope-scene.is-opening .envelope-shadow { transform: translateX(-50%) scale(1.12); opacity: .08; }
.open-copy {
  position: absolute;
  left: 50%; bottom: 7vh;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  width: 90%;
  text-transform: uppercase;
}
.open-copy b { font: 400 clamp(18px, 2.2vw, 25px) Georgia, serif; letter-spacing: .17em; }
.open-copy small { color: var(--ink-soft); font-size: 10px; letter-spacing: .23em; }

.floating-nav {
  position: fixed;
  top: 22px; right: 22px;
  z-index: 100;
  display: flex;
  padding: 4px;
  border: 1px solid rgba(38,55,47,.13);
  border-radius: 999px;
  background: rgba(250,248,242,.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(40,48,43,.09);
}
.floating-nav button {
  border: 0; border-radius: 999px; padding: 8px 15px;
  color: var(--ink); background: transparent; cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.floating-nav button.active { color: #fff; background: var(--ink); }

.music-control {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(38,55,47,.18);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(250,248,242,.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(38,55,47,.16);
  cursor: pointer;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.music-control[hidden] { display: none !important; }
.music-control:hover { color: #fff; background: var(--ink); transform: translateY(-2px); }
.music-control-ring { position: absolute; inset: 5px; border: 1px solid rgba(187,150,96,.62); border-radius: 50%; }
.music-note { position: relative; font: 400 22px Georgia, serif; line-height: 1; }
.music-control.is-playing .music-control-ring { animation: music-pulse 2s ease-in-out infinite; }
.music-control.is-playing .music-note { animation: music-sway 1.5s ease-in-out infinite; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 90px 24px 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.86), transparent 35%),
    linear-gradient(180deg, #eff2eb 0%, var(--ivory) 75%);
}
.hero::before {
  content: "";
  position: absolute;
  width: min(70vw, 580px);
  height: min(85vh, 720px);
  border: 1px solid rgba(187,150,96,.5);
  border-radius: 48% 48% 4px 4px;
  box-shadow: inset 0 0 0 11px rgba(247,243,234,.45), inset 0 0 0 12px rgba(187,150,96,.18);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .6; }
.glow-one { width: 390px; height: 390px; left: -180px; top: -130px; background: rgba(192,205,185,.62); }
.glow-two { width: 420px; height: 420px; right: -230px; bottom: -160px; background: rgba(222,200,158,.42); }
.hero-frame { position: relative; z-index: 2; text-align: center; animation: rise-in 1.1s ease both; }
.eyebrow, .hero-date, .hero-note {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: clamp(10px, 1.4vw, 14px);
}
.tiny-ornament { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 22px auto 16px; color: var(--gold); font-size: 9px; }
.tiny-ornament span { display: block; width: 44px; height: 1px; background: var(--gold-light); }
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  color: var(--ink);
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: clamp(72px, 12vw, 142px);
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.03em;
  text-shadow: 0 3px 0 rgba(255,255,255,.5);
}
.hero h1 em { margin: 7px 0 5px; color: var(--gold); font-family: Georgia, serif; font-size: .26em; font-weight: 400; }
.hero-date { margin-top: 36px; font-family: Georgia, serif; font-size: clamp(15px, 2vw, 20px); letter-spacing: .2em; }
.hero-note { margin-top: 12px; color: var(--ink-soft); font-size: 9px; }
.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--ink-soft); text-decoration: none; text-transform: uppercase;
  font-size: 9px; letter-spacing: .22em;
}
.scroll-cue span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold); border-radius: 50%; font-size: 18px; animation: bob 1.8s ease-in-out infinite; }
.corner-botanical { position: absolute; z-index: 1; width: 190px; height: 260px; opacity: .35; }
.botanical-left { left: -15px; bottom: 0; transform: rotate(-8deg); }
.botanical-right { right: -15px; top: 0; transform: rotate(172deg); }
.corner-botanical::before { content: ""; position: absolute; left: 90px; top: 0; width: 1px; height: 250px; background: var(--sage); transform: rotate(20deg); }
.corner-botanical i { position: absolute; width: 55px; height: 22px; border: 1px solid var(--sage); border-radius: 100% 0 100% 0; }
.corner-botanical i:nth-child(1) { left: 83px; top: 34px; transform: rotate(24deg); }
.corner-botanical i:nth-child(2) { left: 44px; top: 75px; transform: rotate(-32deg); }
.corner-botanical i:nth-child(3) { left: 90px; top: 118px; transform: rotate(32deg); }
.corner-botanical i:nth-child(4) { left: 50px; top: 160px; transform: rotate(-28deg); }
.corner-botanical i:nth-child(5) { left: 105px; top: 202px; transform: rotate(35deg); }

.section-pad { padding: clamp(86px, 11vw, 150px) 24px; }
.section-heading { max-width: 760px; margin: 0 auto 62px; text-align: center; }
.section-heading h2,
.narrow-copy h2 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: var(--ink-soft); font-size: 13px; letter-spacing: .08em; }
.section-flourish,
.section-kicker {
  display: block;
  margin: 0;
  color: var(--gold);
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: 24px;
  letter-spacing: .04em;
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s ease, transform .85s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

.countdown-section {
  position: relative;
  background: var(--ivory);
  border-top: 1px solid rgba(187,150,96,.14);
  overflow: hidden;
}
.countdown-section::before,
.countdown-section::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 13vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(187,150,96,.5));
}
.countdown-section::before { left: 0; }
.countdown-section::after { right: 0; transform: rotate(180deg); }
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto;
  border-block: 1px solid rgba(38,55,47,.16);
}
.countdown-item { position: relative; padding: 28px 12px 30px; text-align: center; }
.countdown-item:not(:last-child)::after { content: ""; position: absolute; top: 23%; right: 0; width: 1px; height: 54%; background: rgba(38,55,47,.16); }
.countdown-item strong { display: block; font: 400 clamp(42px, 7vw, 86px)/1 Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.countdown-item span { display: block; margin-top: 13px; color: var(--ink-soft); text-transform: uppercase; font-size: 10px; letter-spacing: .24em; }

.welcome-section {
  position: relative;
  min-height: 620px;
  display: grid;
  align-content: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(235,238,230,.88), rgba(235,238,230,.88)),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(102,121,106,.08) 23px 24px);
}
.welcome-section::before,
.welcome-section::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(187,150,96,.38);
  border-radius: 50%;
}
.welcome-section::before { left: -180px; top: -150px; }
.welcome-section::after { right: -180px; bottom: -150px; }
.narrow-copy { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }
.narrow-copy h2 { margin-top: 14px; }
.narrow-copy > p:last-child { max-width: 650px; margin: 26px auto 0; color: var(--ink-soft); font: 400 clamp(17px, 2.2vw, 21px)/1.9 Georgia, serif; }
.welcome-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; color: var(--gold); }
.welcome-ornament i { width: 54px; height: 1px; background: rgba(187,150,96,.5); }
.welcome-ornament span:nth-of-type(2) { font-size: 30px; }

.timeline-section { background: #faf8f2; }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  max-width: 1080px;
  margin: 0 auto;
}
.timeline::before { content: ""; position: absolute; top: 44px; left: 16%; right: 16%; height: 1px; background: rgba(187,150,96,.45); }
.timeline-item { position: relative; z-index: 1; text-align: center; }
.timeline-mark {
  width: 88px; height: 88px;
  display: grid; place-items: center;
  margin: 0 auto 27px;
  border: 1px solid rgba(187,150,96,.55);
  border-radius: 50%;
  background: #faf8f2;
  box-shadow: inset 0 0 0 6px #faf8f2, inset 0 0 0 7px rgba(187,150,96,.2);
}
.timeline-mark span { color: var(--gold); font: 400 18px Georgia, serif; }
.timeline-item time { color: var(--gold); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .25em; }
.timeline-item h3 { margin: 11px 0; font: 400 31px Georgia, serif; }
.timeline-item p { max-width: 280px; margin: 0 auto; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }

.details-section { position: relative; overflow: hidden; color: #f9f7f1; background: #26372f; }
.details-orb { position: absolute; width: 480px; height: 480px; border: 1px solid rgba(220,195,151,.17); border-radius: 50%; }
.orb-one { left: -260px; top: -240px; }
.orb-two { right: -290px; bottom: -260px; }
.section-heading.light h2 { color: #f9f7f1; }
.section-heading.light p { color: rgba(249,247,241,.62); }
.details-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto 36px;
  border: 1px solid rgba(220,195,151,.34);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(6px);
}
.details-card article { padding: 48px 42px; text-align: center; }
.details-divider { width: 1px; margin-block: 38px; background: rgba(220,195,151,.25); }
.detail-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 21px; border: 1px solid rgba(220,195,151,.48); border-radius: 50%; color: var(--gold-light); font-size: 23px; }
.detail-label { margin: 0 0 15px !important; color: var(--gold-light) !important; text-transform: uppercase; font-size: 9px !important; letter-spacing: .28em; }
.details-card h3 { margin: 0 0 10px; font: 400 clamp(20px, 2.7vw, 29px) Georgia, serif; }
.details-card p { margin: 0; color: rgba(249,247,241,.65); font-size: 14px; }
.map-button,
.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-height: 50px;
  padding: 0 27px;
  border: 1px solid var(--gold-light);
  color: #f9f7f1;
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  transition: color .25s ease, background .25s ease;
}
.map-button { position: relative; z-index: 2; margin: 0 auto; }
.map-button:hover { color: var(--ink); background: var(--gold-light); }
.gift-note { position: relative; z-index: 2; margin: 50px auto 0; text-align: center; color: rgba(249,247,241,.6); font: italic 17px Georgia, serif; }

.rsvp-section {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(190,203,183,.34), transparent 26%),
    radial-gradient(circle at 90% 82%, rgba(221,198,154,.28), transparent 24%),
    var(--ivory);
}
.rsvp-shell {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(35px, 6vw, 72px);
  border: 1px solid rgba(187,150,96,.38);
  background: rgba(255,255,255,.52);
  box-shadow: 0 28px 70px rgba(60,69,62,.07);
}
.rsvp-shell .section-heading { margin-bottom: 42px; }
.rsvp-shell form { display: grid; gap: 25px; }
.rsvp-shell form > label > span { display: block; margin-bottom: 9px; color: var(--ink-soft); text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.rsvp-shell input[type="text"],
.rsvp-shell textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(38,55,47,.28);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font: 400 17px Georgia, serif;
  transition: border .2s ease;
}
.rsvp-shell input[type="text"] { height: 48px; }
.rsvp-shell textarea { padding: 13px 0; resize: vertical; }
.rsvp-shell input:focus,
.rsvp-shell textarea:focus { border-color: var(--gold); }
.rsvp-shell fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 2px 0 0; padding: 0; border: 0; }
.radio-pill { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border: 1px solid rgba(38,55,47,.18); color: var(--ink-soft); cursor: pointer; font-size: 12px; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill:has(input:checked) { border-color: var(--gold); color: var(--ink); background: rgba(220,195,151,.18); }
.radio-pill > span { color: var(--gold); font-size: 17px; }
.submit-button { margin: 5px auto 0; border-color: var(--ink); color: #fff; background: var(--ink); cursor: pointer; }
.submit-button:hover { border-color: var(--gold); background: var(--gold); }
.form-status { margin: -5px 0 0; text-align: center; font-size: 13px; }
.form-status.sent { color: #4c6a57; }
.form-status.error { color: #9c4841; }

.invitation-footer { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 430px; padding: 100px 24px 60px; color: #f6f2e8; text-align: center; background: #202e27; overflow: hidden; }
.invitation-footer::before { content: ""; position: absolute; top: -300px; width: 620px; height: 620px; border: 1px solid rgba(220,195,151,.2); border-radius: 50%; }
.footer-monogram { position: relative; font: 400 clamp(54px, 8vw, 84px) Georgia, serif; letter-spacing: .06em; }
.footer-monogram span { color: var(--gold-light); font: italic 30px Georgia, serif; }
.invitation-footer p { position: relative; margin: 28px 0 0; text-transform: uppercase; font-size: 10px; letter-spacing: .28em; }
.footer-line { position: relative; width: 65px; height: 1px; margin: 30px 0; background: rgba(220,195,151,.55); }
.invitation-footer small { position: relative; color: rgba(246,242,232,.6); font: italic 16px Georgia, serif; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.invitation[dir="rtl"] { font-family: "Tahoma", "Arial", sans-serif; }
.invitation[dir="rtl"] .floating-nav { right: auto; left: 22px; }
.invitation[dir="rtl"] .music-control { right: auto; left: 22px; }
.invitation[dir="rtl"] .eyebrow,
.invitation[dir="rtl"] .hero-note,
.invitation[dir="rtl"] .section-kicker,
.invitation[dir="rtl"] .section-heading p,
.invitation[dir="rtl"] .detail-label,
.invitation[dir="rtl"] .rsvp-shell form > label > span,
.invitation[dir="rtl"] .invitation-footer p { letter-spacing: 0; }
.invitation[dir="rtl"] .hero-date { letter-spacing: .08em; }
.invitation[dir="rtl"] .section-heading h2,
.invitation[dir="rtl"] .narrow-copy h2,
.invitation[dir="rtl"] .timeline-item h3,
.invitation[dir="rtl"] .details-card h3 { font-family: Tahoma, Arial, sans-serif; }
.invitation[dir="rtl"] .section-heading h2,
.invitation[dir="rtl"] .narrow-copy h2 { font-weight: 500; }
.invitation[dir="rtl"] .submit-button span { transform: rotate(180deg); }

@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes music-pulse { 0%,100% { transform: scale(.92); opacity: .55; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes music-sway { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(7deg); } }

@media (max-width: 650px) {
  .floating-nav { top: 14px; right: 14px; }
  .music-control { right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .hero::before { width: 84vw; height: 72vh; }
  .hero h1 { font-size: clamp(68px, 23vw, 102px); }
  .corner-botanical { transform: scale(.72); }
  .botanical-right { transform: rotate(172deg) scale(.72); }
  .envelope { width: 88vw; }
  .wax-seal { width: 68px; height: 68px; font-size: 17px; }
  .open-copy b { letter-spacing: .11em; }
  .section-pad { padding-inline: 18px; }
  .section-heading { margin-bottom: 44px; }
  .countdown-grid { margin-inline: -7px; }
  .countdown-item { padding-inline: 3px; }
  .countdown-item strong { font-size: clamp(36px, 13vw, 52px); }
  .countdown-item span { font-size: 8px; letter-spacing: .12em; }
  .timeline { grid-template-columns: 1fr; gap: 50px; }
  .timeline::before { top: 44px; bottom: 44px; left: 50%; right: auto; width: 1px; height: auto; }
  .timeline-item { padding: 0 12px; }
  .timeline-item p { padding: 0 10px; background: #faf8f2; }
  .details-card { grid-template-columns: 1fr; }
  .details-card article { padding: 38px 24px; }
  .details-divider { width: auto; height: 1px; margin: 0 28px; }
  .rsvp-shell { padding-inline: 23px; }
  .rsvp-shell fieldset { grid-template-columns: 1fr; }
  .radio-pill { justify-content: flex-start; padding-inline: 16px; }
  .invitation[dir="rtl"] .floating-nav { left: 14px; }
  .invitation[dir="rtl"] .music-control { left: 14px; }
}

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