:root {
  --brown: #7c6a60;
  --brown-dark: #4d3d35;
  --brown-soft: #948075;
  --paper: #f7efe6;
  --paper-light: #fffaf3;
  --sand: #e3cdbb;
  --line: rgba(124, 106, 96, 0.24);
  --shadow: 0 10px 24px rgba(74, 55, 45, 0.18);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  --num: "Noto Serif Display", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

a {
  color: inherit;
}

.invitation-page {
  position: relative;
  width: min(100%, 890px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--paper);
  background-image: url("./assets/paper-botanical-bg.png");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
  box-shadow: 0 0 28px rgba(67, 48, 38, 0.12);
}

.invitation-page::before,
.invitation-page::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(124, 106, 96, .12);
  border-radius: 62% 38% 55% 45%;
  pointer-events: none;
}

.invitation-page::before {
  top: 130px;
  left: -120px;
  rotate: 28deg;
}

.invitation-page::after {
  right: -135px;
  bottom: 580px;
  rotate: -22deg;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 28px;
  color: var(--brown);
  font-family: "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}

.section-kicker,
.gate-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--brown);
  color: #fff;
  font-family: "Times New Roman", serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 7px 15px rgba(73, 53, 43, .22);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  background: var(--brown-dark);
  outline: none;
  transform: translateY(-2px);
}

.invitation-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.55), transparent 24%),
    radial-gradient(circle at 82% 84%, rgba(255,255,255,.32), transparent 20%),
    linear-gradient(135deg, #ead8c8, #dfc7b3);
  transition: opacity .7s ease, visibility .7s ease;
}

.invitation-gate.is-opening {
  opacity: 0;
  visibility: hidden;
}

.gate-card {
  position: relative;
  width: min(88vw, 600px);
  padding: clamp(38px, 7vw, 64px) 28px;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--paper-light);
  background-image: linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2)), url("./assets/paper-botanical-bg.png");
  background-position: center;
  background-size: cover;
  color: var(--brown);
  text-align: center;
  box-shadow: 0 24px 40px rgba(68, 49, 39, .32);
}

.gate-card::before,
.gate-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,106,96,.22), transparent);
  rotate: 48deg;
}

.gate-card::before {
  top: 42px;
  left: -35px;
}

.gate-card::after {
  right: -35px;
  bottom: 42px;
}

.seal {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff7ee;
  font-size: 1.35rem;
  box-shadow: 0 8px 16px rgba(68, 49, 39, .25);
}

.gate-card h1 {
  margin: 18px 0 10px;
  color: #745f53;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 8vw, 4.4rem);
  font-weight: 500;
  line-height: .95;
}

.gate-card h1 span,
.hero-section h1 span,
footer strong span {
  color: #aa8665;
  font-style: italic;
}

.gate-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}

.gate-ornament i {
  width: 42px;
  height: 1px;
  background: var(--line);
}

.gate-ornament b {
  font-weight: 400;
}

.gate-date,
.gate-invite {
  margin-bottom: 16px;
  color: var(--brown-soft);
  font-size: 1.05rem;
}

.gate-invite {
  margin-bottom: 22px;
}

.gate-button {
  min-width: 150px;
}

.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: 48px 6% 82px;
  text-align: center;
}

.hero-section h1 {
  margin: 12px 0 34px;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 8vw, 5.3rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.polaroid {
  position: relative;
  width: min(82%, 520px);
  margin: 0 auto;
  padding: 16px 16px 72px;
  background: #fff;
  box-shadow: var(--shadow);
  rotate: -2deg;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 38%;
}

.paper-tape {
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 50%;
  width: 130px;
  height: 42px;
  background: rgba(211, 186, 150, .68);
  box-shadow: inset 0 0 10px rgba(255,255,255,.4);
  translate: -50% 0;
  rotate: -4deg;
}

.wax-seal {
  position: absolute;
  right: -20px;
  bottom: 40px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 5px double #b69269;
  border-radius: 50%;
  background: #d8b98d;
  color: #7a624f;
  font-size: 2.6rem;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(72,50,38,.28);
  rotate: 8deg;
}

.paper-card,
.ceremony-summary,
.album-section,
.venues-section,
.wishes-section {
  position: relative;
  z-index: 1;
  width: min(88%, 560px);
  margin: 18px auto;
}

.wedding-info-image-section {
  position: relative;
  z-index: 1;
  width: min(92%, 360px);
  margin: 18px auto;
}

.wedding-info-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(78, 57, 46, .16);
}

.paper-card {
  padding: 42px clamp(20px, 6vw, 48px);
  border: 1px solid rgba(124, 106, 96, .13);
  border-radius: 8px;
  background: rgba(255, 250, 243, .72);
  box-shadow: 0 4px 12px rgba(78, 57, 46, .13);
}

.wedding-info {
  text-align: center;
}

.family-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 18px;
  align-items: stretch;
}

.family-row > i {
  background: var(--line);
}

.family-row article {
  min-width: 0;
}

.family-row article > span,
.family-row strong,
.family-row small {
  display: block;
}

.family-row article > span {
  margin-bottom: 12px;
  font-size: .83rem;
}

.family-row strong {
  margin-bottom: 11px;
  font-size: .92rem;
  line-height: 1.3;
}

.family-row small {
  color: var(--brown-soft);
  font-size: .73rem;
  line-height: 1.55;
}

.announce {
  margin: 40px 0 24px;
  font-family: var(--sans);
  font-size: .7rem;
  line-height: 1.8;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.couple-names {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.couple-names strong,
.couple-names small {
  display: block;
}

.couple-names em {
  display: block;
  margin-bottom: 7px;
  color: var(--brown-soft);
  font-size: .92rem;
  font-style: italic;
}

.couple-names strong {
  color: var(--brown-dark);
  font-size: clamp(1.35rem, 5vw, 2.1rem);
  line-height: 1;
}

.couple-names small {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: .63rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.couple-names > span {
  color: #b18d69;
  font-size: 2.2rem;
  font-style: italic;
}

.nuptial-mass {
  margin-top: 38px;
  padding: 30px 18px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mass-cross {
  display: block;
  margin-bottom: 8px;
  color: #a47e59;
  font-size: 1.55rem;
  line-height: 1;
}

.nuptial-mass .section-kicker {
  margin-bottom: 6px;
}

.nuptial-mass h3 {
  margin-bottom: 14px;
  color: var(--brown-dark);
  font-size: clamp(1.65rem, 6vw, 2.35rem);
}

.mass-time,
.mass-location {
  margin: 0;
  font-family: var(--sans);
}

.mass-time {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.mass-location {
  margin-top: 8px;
  color: var(--brown-soft);
  font-size: .78rem;
  line-height: 1.55;
}

.ceremony-summary {
  padding: 42px 20px 54px;
  text-align: center;
}

.sprite-icon {
  display: block;
  width: 58px;
  height: 58px;
  background-image: url("./assets/wedding-icons-sprite.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.icon-arch { background-position: 0 0; }
.icon-bells { background-position: 50% 0; }
.icon-toast { background-position: 100% 0; }
.icon-cake { background-position: 0 100%; }
.icon-pin { background-position: 50% 100%; }
.icon-calendar { background-position: 100% 100%; }

.section-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
}

.ceremony-summary > p {
  margin-bottom: 32px;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.date-pair {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 18px;
}

.date-pair > i {
  background: var(--line);
}

.date-pair article span,
.date-pair article strong,
.date-pair article small {
  display: block;
}

.date-pair article span {
  font-size: .84rem;
}

.date-pair article strong {
  margin: 4px 0;
  color: var(--brown-dark);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
}

.date-pair article small {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.album-section {
  padding: 32px 0 46px;
}

.album-hint {
  margin: -10px 0 18px;
  color: var(--brown-soft);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .035em;
  text-align: center;
}

.album-viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  contain: layout paint;
  will-change: scroll-position;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.album-viewport::-webkit-scrollbar {
  display: none;
}

.album-viewport:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 5px;
}

.album-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 4px 12px 12px;
}

.album-track button {
  position: relative;
  flex: 0 0 clamp(210px, 68vw, 292px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #e8ded3;
  box-shadow: 0 8px 22px rgba(72, 50, 38, .16);
  cursor: pointer;
}

.album-track img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .45s ease;
}

.album-track button:hover img,
.album-track button:focus-visible img {
  transform: scale(1.04);
}

.reception-card {
  text-align: center;
}

.reception-label {
  margin-bottom: 20px;
  font-size: .95rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 34px;
  border-block: 1px solid var(--line);
}

.countdown div {
  padding: 14px 4px;
}

.countdown div + div {
  border-left: 1px solid var(--line);
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  color: var(--brown-dark);
  font-size: clamp(1.65rem, 6vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}

.countdown span {
  margin-top: 5px;
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.countdown-done {
  font-size: .9rem;
}

.event-schedule {
  display: grid;
  gap: 18px;
}

.event-schedule article {
  padding: 22px 12px;
  border-top: 1px solid var(--line);
}

.event-schedule article > span,
.event-schedule article > strong,
.event-schedule article > small {
  display: block;
}

.event-schedule article > span {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.event-schedule article > strong {
  margin: 5px 0;
  color: var(--brown-dark);
  font-size: 2.1rem;
  font-weight: 500;
}

.event-schedule article p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: .9rem;
  text-transform: uppercase;
}

.event-schedule article p i {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.event-schedule article small {
  color: var(--brown-soft);
  font-size: .8rem;
}

.calendar {
  margin: 24px 0;
  padding: 22px 18px 26px;
  border-radius: 8px;
  background: #8d786d;
  color: #fff;
}

.calendar > p {
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-style: italic;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 3px;
  font-family: var(--sans);
  font-size: .7rem;
}

.calendar-grid span {
  display: grid;
  place-items: center;
  min-height: 27px;
}

.calendar-grid .weekday {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  font-size: .58rem;
  font-weight: 500;
}

.calendar-grid .blank {
  visibility: hidden;
}

.calendar-grid .wedding-day {
  position: relative;
  z-index: 0;
  isolation: isolate;
  color: var(--brown-dark);
  font-weight: 600;
}

.calendar-grid .wedding-day::before {
  content: "♥";
  position: absolute;
  z-index: -1;
  color: #fff8ef;
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 2px 2px rgba(77, 61, 53, .2));
}

.calendar-links {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.calendar-links a {
  font-size: .9rem;
  text-underline-offset: 4px;
}

.venues-section {
  padding: 44px 0 24px;
  text-align: center;
}

.venue-card {
  margin-bottom: 22px;
  padding: 26px 20px;
  border: 1px solid rgba(124,106,96,.13);
  border-radius: 8px;
  background: rgba(255,250,243,.64);
  box-shadow: 0 4px 12px rgba(78,57,46,.1);
}

.venue-card h3 {
  margin-bottom: 8px;
  color: var(--brown-dark);
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.venue-card p {
  margin-bottom: 8px;
  font-size: .9rem;
}

.venue-card a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  text-underline-offset: 5px;
}

.wishes-section {
  padding-bottom: 54px;
}

.wish-form-card {
  width: 100%;
  margin: 0 0 22px;
}

.wish-form-card form,
.modal-card {
  display: grid;
  gap: 14px;
}

.wish-form-card label,
.modal-card label {
  display: grid;
  gap: 6px;
}

.wish-form-card label > span,
.modal-card label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--brown-soft);
  border-radius: 7px;
  background: rgba(255,255,255,.46);
  color: var(--brown-dark);
  font-family: var(--serif);
  font-size: 1rem;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(124,106,96,.25);
  outline-offset: 2px;
}

.wish-form-card .pill-button {
  justify-self: end;
}

.local-note {
  display: block;
  margin-top: 12px;
  color: var(--brown-soft);
  font-family: var(--sans);
  font-size: .64rem;
  text-align: center;
}

.wish-list {
  display: grid;
  max-height: 430px;
  gap: 12px;
  overflow-y: auto;
}

.wish-item,
.wish-empty {
  padding: 18px 20px;
  border: 1px solid rgba(124,106,96,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.42);
}

.wish-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.wish-item strong {
  color: var(--brown-dark);
}

.wish-item time {
  color: var(--brown-soft);
  font-size: .75rem;
}

.wish-item p,
.wish-empty {
  margin: 0;
}

.wish-empty {
  color: var(--brown-soft);
  text-align: center;
}

footer {
  position: relative;
  z-index: 1;
  padding: 68px 28px 78px;
  background: rgba(124,106,96,.09);
  text-align: center;
}

footer p {
  max-width: 500px;
  margin: 0 auto 18px;
}

footer strong {
  display: block;
  color: var(--brown-dark);
  font-size: clamp(2.1rem, 7vw, 4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

footer > i {
  display: block;
  margin-top: 20px;
  color: #aa8665;
}

.back-to-top,
.auto-scroll-toggle,
.music-toggle {
  position: fixed;
  z-index: 30;
  right: max(18px, calc((100vw - 850px) / 2));
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(124,106,96,.9);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(64,45,36,.22);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity .2s ease, visibility .2s ease;
}

.back-to-top {
  bottom: max(18px, env(safe-area-inset-bottom));
}

.auto-scroll-toggle {
  bottom: max(72px, calc(env(safe-area-inset-bottom) + 54px));
  font-family: var(--sans);
  font-size: .78rem;
}

.music-toggle {
  bottom: max(126px, calc(env(safe-area-inset-bottom) + 108px));
  font-family: var(--serif);
  font-size: 1.2rem;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.auto-scroll-toggle.is-visible {
  opacity: 1;
  visibility: visible;
}

.music-toggle.is-visible {
  opacity: 1;
  visibility: visible;
}

.auto-scroll-toggle[aria-pressed="true"] {
  background: rgba(77,61,53,.96);
}

.music-toggle[aria-pressed="true"] {
  background: rgba(77,61,53,.96);
  animation: musicPulse 1.8s ease-in-out infinite;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 6px 14px rgba(64,45,36,.22); }
  50% { box-shadow: 0 6px 18px rgba(64,45,36,.4), 0 0 0 5px rgba(124,106,96,.1); }
}

dialog {
  border: 0;
}

dialog::backdrop {
  background: rgba(40, 30, 25, .72);
  backdrop-filter: blur(4px);
}

.modal {
  width: min(90%, 470px);
  padding: 0;
  border-radius: 10px;
  background: transparent;
}

.modal-card {
  position: relative;
  padding: 38px 28px 30px;
  background: var(--paper-light);
  color: var(--brown);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 2rem;
  text-transform: none;
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 5vh 3vw;
  padding: 5dvh 3dvw;
  overflow: hidden;
  background: transparent;
  color: #fff;
}

.lightbox img {
  display: block;
  width: 94vw;
  width: 94dvw;
  height: 90vh;
  height: 90dvh;
  max-width: 94vw;
  max-width: 94dvw;
  max-height: 90vh;
  max-height: 90dvh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 54px;
  border: 0;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  translate: 0 -50%;
}

.lightbox-nav.prev { left: 4px; }
.lightbox-nav.next { right: 4px; }

.lightbox-close {
  color: #fff;
}

.lightbox > p {
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin: 0;
  text-align: center;
  translate: -50% 0;
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 28px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brown-dark);
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  translate: -50% 16px;
  transition: opacity .25s ease, translate .25s ease;
}

.toast.is-visible {
  opacity: 1;
  translate: -50% 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 520px) {
  .invitation-gate {
    padding: 18px;
  }

  .gate-card {
    width: 100%;
    padding: 38px 20px;
  }

  .gate-card h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    white-space: nowrap;
  }

  .gate-date {
    font-size: .92rem;
  }

  .hero-section {
    padding: 48px 6% 72px;
  }

  .hero-section h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .polaroid {
    width: 86%;
    padding: 11px 11px 58px;
  }

  .wax-seal {
    right: -12px;
    bottom: 32px;
    width: 58px;
    height: 58px;
    font-size: 2rem;
  }

  .paper-card {
    padding: 36px 20px;
  }

  .family-row {
    gap: 10px;
  }

  .family-row strong {
    font-size: .82rem;
  }

  .family-row small {
    font-size: .66rem;
  }

  .couple-names {
    gap: 8px;
  }

  .event-schedule article p {
    gap: 7px;
    font-size: .8rem;
  }

  .venue-card {
    padding: 24px 12px;
  }

  .lightbox {
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    padding: 5vh 3vw;
    padding: 5dvh 3dvw;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
.dress-code,
.timeline-card {
  display: none !important;
}

/* Số thẳng hàng cho ngày, đồng hồ đếm ngược và giờ tiệc */
.date-pair article strong,
.countdown strong,
.event-schedule article > strong {
  font-family: var(--num);
  font-variant-numeric: lining-nums;
}
