/* =========================================================
   Abdullah & Nadia — "Dune of Love"
   Palette & type pulled from the wedding invitation suite
   ========================================================= */

:root {
  --sand:       #eee6d7;   /* page background (lightened) */
  --sand-deep:  #ddccb4;   /* dune shadow              */
  --cream:      #f7f1e6;   /* cards / panels           */
  --cream-soft: #efe5d5;
  --gold:       #a9824c;   /* primary accent           */
  --gold-soft:  #c2a06a;
  --ink:        #574632;   /* body text                */
  --ink-soft:   #7c6a52;   /* muted text               */
  --border:     #d3be9f;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 640px;
  --radius: 4px;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  /* soft desert gradient (lightened) */
  background-image:
    radial-gradient(120% 60% at 50% -10%, #faf5ec 0%, rgba(250,245,236,0) 60%),
    linear-gradient(180deg, #f3ecdf 0%, #ece2d0 55%, #e7dcc8 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}

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

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 6vw, 60px);
  background: rgba(244, 237, 224, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(169,130,76,.18);
}

.nav__link {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  position: relative;
  transition: color .25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.nav__link:hover { color: var(--gold); }
.nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after { transform: scaleX(1); }

/* Monogram A | N */
.nav__monogram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .05em;
}
.nav__monogram .nav__bar {
  width: 1px;
  height: 22px;
  background: var(--gold);
  position: relative;
}
.nav__monogram .nav__bar::before,
.nav__monogram .nav__bar::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}
.nav__monogram .nav__bar::before { top: -1px; }
.nav__monogram .nav__bar::after  { bottom: -1px; }

/* =========================================================
   PAGE SWITCHING
   ========================================================= */
.page { display: none; }
.page.is-active { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  text-align: center;
  padding: clamp(28px, 6vw, 54px) 20px 6px;
}
.eyebrow {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 5vw, 2rem);
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 22px;
  font-weight: 400;
}
.hero__frame {
  max-width: 468px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 34px 70px -26px rgba(87,70,50,.6);
  border: 1px solid rgba(169,130,76,.28);
  will-change: transform;
}
.hero__frame img { width: 100%; }

/* very minimal floating / breathing motion */
.hero__frame--float { animation: heroFloat 7s ease-in-out infinite; }
@keyframes heroFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(-4px, -7px, 0) scale(1.006); }
  66%  { transform: translate3d(4px, -3px, 0) scale(1.003); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* =========================================================
   INVITE
   ========================================================= */
.invite {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 48px) 24px 8px;
  text-align: center;
}
.invite__intro {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.invite__names {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  letter-spacing: .02em;
}
.invite__names span { display: block; }
.invite__amp {
  color: var(--gold);
  font-style: italic;
  font-size: .8em;
  margin: 4px 0;
}
.invite__line {
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 20px;
}

.invite__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold);
  margin: 28px 0;
  font-size: .7rem;
}
.invite__divider span {
  display: block;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.invite__divider span:last-child {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.invite__details { margin-bottom: 26px; }
.invite__date {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 4.5vw, 1.6rem);
  color: var(--ink);
  letter-spacing: .04em;
}
.invite__date sup { font-size: .55em; }
.invite__time {
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--gold);
  margin: 10px 0;
}
.invite__venue {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: .03em;
}
.invite__dress {
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .28s ease;
}
.btn--map {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 3px;
}
.btn--map:hover { color: var(--ink); border-color: var(--ink); }

.btn--primary {
  background: var(--gold);
  color: #fbf6ee;
  padding: 16px 46px;
  border-radius: 2px;
  box-shadow: 0 14px 30px -14px rgba(169,130,76,.8);
}
.btn--primary:hover {
  background: #96703c;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(169,130,76,.9);
}
.btn--block { width: 100%; margin-top: 8px; }

.btn--outline {
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  padding: 12px 30px;
  border-radius: 2px;
}
.btn--outline:hover { background: var(--gold); color: var(--cream); }

/* =========================================================
   COUNTDOWN
   ========================================================= */
.countdown {
  text-align: center;
  padding: 20px 24px 8px;
}
.countdown__label {
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.countdown__grid {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 5vw, 34px);
}
.countdown__unit {
  min-width: 62px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.countdown__num {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--gold);
  line-height: 1;
  font-weight: 500;
}
.countdown__cap {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* =========================================================
   RSVP CTA
   ========================================================= */
.rsvp-cta {
  text-align: center;
  padding: 44px 24px 20px;
}
.rsvp-cta__note {
  margin-top: 18px;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dune-footer-home {
  height: 70px;
  background:
    radial-gradient(140% 100% at 50% 100%, var(--sand-deep) 0%, transparent 62%),
    radial-gradient(120% 100% at 15% 100%, rgba(214,195,168,.6) 0%, transparent 55%),
    radial-gradient(120% 100% at 85% 100%, rgba(214,195,168,.6) 0%, transparent 55%);
  opacity: .7;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: .03em;
  margin-bottom: 12px;
}
.rsvp__sub {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.rsvp__sub strong { color: var(--gold); font-weight: 500; }

/* ---- form ---- */
.form { text-align: left; }
.field { margin-bottom: 26px; }
.field__label {
  display: block;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  text-align: center;
}
.field__label .opt { text-transform: none; letter-spacing: .02em; font-style: italic; color: var(--gold-soft); }

/* party selector */
.party-select {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.party-opt {
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all .22s ease;
}
.party-opt:hover { border-color: var(--gold-soft); color: var(--gold); }
.party-opt.is-selected {
  background: var(--gold);
  color: var(--cream);
  border-color: var(--gold);
  transform: scale(1.06);
}

/* guest rows */
.guest-rows { display: flex; flex-direction: column; gap: 14px; }
.guest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  animation: slideUp .4s ease;
}
.guest-row__badge {
  grid-column: 1 / -1;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(8px);} to {opacity:1; transform: none;} }

input[type="text"], textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input[type="text"]::placeholder, textarea::placeholder { color: #b3a389; }
input[type="text"]:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(169,130,76,.12);
}
textarea { resize: vertical; }

/* attending toggle */
.toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.toggle__opt {
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 14px 10px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  transition: all .22s ease;
}
.toggle__opt:hover { border-color: var(--gold-soft); }
.toggle__opt.is-selected { background: var(--gold); color: var(--cream); border-color: var(--gold); }

.form__error {
  color: #a6482f;
  font-size: .82rem;
  text-align: center;
  margin-top: 14px;
}

/* success */
.rsvp__success { text-align: center; padding: 20px 0 10px; animation: fade .5s ease; }
.rsvp__success-mark {
  width: 66px; height: 66px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--cream);
  font-size: 1.9rem;
  display: flex; align-items: center; justify-content: center;
}
.rsvp__success h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 10px;
}
.rsvp__success p { color: var(--ink-soft); font-size: .95rem; }

/* =========================================================
   REGISTRY
   ========================================================= */
.registry {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 70px) 24px 20px;
  text-align: center;
}
.registry__mono {
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}
.registry__intro {
  max-width: 460px;
  margin: 10px auto 40px;
  color: var(--ink-soft);
  font-size: .98rem;
}
.registry__cta { text-align: center; padding: 10px 0 6px; }
.gift-hint {
  margin-top: 16px;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--ink-soft);
  opacity: .65;
}
/* gift card (matches inspo: art → title → subtitle → button) */
.gift-card {
  max-width: 420px;
  margin: 10px auto 0;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 22px 30px;
  box-shadow: 0 20px 46px -30px rgba(87,70,50,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gift-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 52px -28px rgba(87,70,50,.55);
}
.gift-card__art {
  height: 170px;
  border-radius: 5px;
  background:
    radial-gradient(120% 140% at 50% 120%, #d8c4a4 0%, transparent 60%),
    linear-gradient(160deg, #efe4d1 0%, #e4d3b7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169,130,76,.18);
  margin-bottom: 22px;
}
.gift-card__mono {
  font-family: var(--serif);
  font-size: 2.4rem;
  letter-spacing: .1em;
  color: var(--gold);
}
.gift-card__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.gift-card__sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 24px; }
.gift-card__btn { width: 100%; padding: 14px; }

.registry__note {
  margin-top: 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
}

/* =========================================================
   DUNE WAVES  (subtle "Dune of Love" motif)
   ========================================================= */
.dune-top {
  height: 90px;
  margin-top: 10px;
  background:
    radial-gradient(140% 100% at 50% 100%, var(--sand-deep) 0%, transparent 62%),
    radial-gradient(120% 100% at 12% 100%, rgba(214,195,168,.7) 0%, transparent 55%),
    radial-gradient(120% 100% at 88% 100%, rgba(214,195,168,.7) 0%, transparent 55%);
  opacity: .8;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  margin-top: 20px;
  border-top: 1px solid rgba(169,130,76,.14);
}
.dune-footer {
  height: 120px;
  background:
    radial-gradient(120% 120% at 20% 100%, var(--sand-deep) 0%, transparent 60%),
    radial-gradient(120% 120% at 70% 100%, #cdb896 0%, transparent 60%),
    radial-gradient(160% 140% at 50% 130%, #c3ac86 0%, transparent 55%);
}
.footer__inner {
  text-align: center;
  padding: 34px 24px 40px;
}
.footer__mono {
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.footer__inner p {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* =========================================================
   MODALS  (bottom sheet on mobile, centered on desktop)
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;               /* bottom sheet on mobile */
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(59,47,33,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s ease;
}
.modal.is-open .modal__overlay { opacity: 1; }

.modal__sheet {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--sand);
  background-image: linear-gradient(180deg, #f1e8d9 0%, #e9dcc6 100%);
  border-radius: 22px 22px 0 0;
  padding: 34px clamp(22px, 6vw, 40px) calc(30px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px -12px rgba(59,47,33,.4);
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.22,.61,.36,1);
}
.modal.is-open .modal__sheet { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 16px; right: 18px;
  width: 38px; height: 38px;
  border: none;
  background: rgba(169,130,76,.12);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease;
}
.modal__close:hover { background: rgba(169,130,76,.25); }

.modal__head { text-align: center; margin-bottom: 26px; }
.modal__head--left { text-align: left; }
.modal__mono { justify-content: center; font-size: 1.7rem; margin-bottom: 14px; }
.modal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 6vw, 2.1rem);
  color: var(--ink);
  letter-spacing: .02em;
}
.modal__head--left .modal__title { font-style: italic; }
.modal__sub { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }
.modal__sub strong { color: var(--gold); font-weight: 500; }

.modal__success { text-align: center; padding: 14px 0 6px; animation: fade .4s ease; }
.modal__success-mark {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--cream);
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}
.modal__success h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 10px;
}
.modal__success p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 24px; }

/* ---- gift method tabs ---- */
.gift-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(169,130,76,.1);
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.gift-tab {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  border-radius: 7px;
  cursor: pointer;
  transition: all .2s ease;
}
.gift-tab.is-active { background: var(--cream); color: var(--gold); box-shadow: 0 4px 12px -6px rgba(87,70,50,.4); }

.gift-panel__intro { font-size: .92rem; color: var(--ink-soft); margin-bottom: 18px; text-align: center; }

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.copy-row__label {
  display: block;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.copy-row__value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  word-break: break-word;
}
.copy-row__value--mono { font-family: var(--sans); font-size: .95rem; letter-spacing: .02em; }
.copy-btn {
  flex: none;
  font-family: var(--sans);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold-soft);
  border-radius: 3px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all .2s ease;
}
.copy-btn:hover { background: var(--gold); color: var(--cream); }
.copy-btn.is-copied { background: var(--gold); color: var(--cream); border-color: var(--gold); }
.gift-done { margin-top: 18px; }

/* ---- contribution form (step 2) ---- */
.gift-contribute__intro { text-align: left; margin-bottom: 22px; }
.field__label--left { text-align: left; }

.amount-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.amount-input:focus-within {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(169,130,76,.12);
}
.amount-input__prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  background: rgba(169,130,76,.09);
  border-right: 1px solid var(--border);
}
.amount-input input[type="number"] {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  padding: 13px 14px;
}
.amount-input input:focus { outline: none; }
.amount-input input::placeholder { color: #b3a389; }

.gift-record { margin-top: 6px; }
.gift-record__heart { margin-right: 6px; }

.link-back {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.link-back:hover { color: var(--gold); }

/* ---- toast ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  font-size: .78rem;
  letter-spacing: .08em;
  padding: 12px 22px;
  border-radius: 30px;
  z-index: 200;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 640px) {
  /* Centered dialog on larger screens */
  .modal { align-items: center; padding: 24px; }
  .modal__sheet {
    border-radius: 16px;
    transform: translateY(24px) scale(.98);
    max-height: 88vh;
  }
  .modal.is-open .modal__sheet { transform: translateY(0) scale(1); }
}
@media (max-width: 380px) {
  .party-opt { width: 46px; height: 46px; font-size: 1.1rem; }
  .countdown__unit { min-width: 52px; }
}

/* Prevent background scroll when a modal is open */
body.modal-open { overflow: hidden; }

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