/* =========================================================
   Muzzani Living — Grand Opening Invitation
   Mobile-first · Terracotta palette
   ========================================================= */

:root {
  --terra: #C45824;         /* warna brand dari logo */
  --terra-deep: #8E3B17;
  --terra-dark: #5E2610;
  --sand: #D9A47E;
  --sand-soft: #F1D9C2;
  --cream: #FAE8D5;         /* warna cream dari logo */
  --cream-light: #FDF5EC;
  --ink: #3A1D10;
  --ink-soft: #7A5140;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;

  --maxw: 480px;
  --pad: 28px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--terra-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100dvh; }

img { display: block; max-width: 100%; }
/* Angka Cormorant dibuat sejajar (lining) agar tanggal & countdown rapi */
.hero__num, .countdown__item span, .detail__row p, .timeline time { font-variant-numeric: lining-nums tabular-nums; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
/* Ikon brand (WhatsApp, TikTok) berupa glyph solid */
svg.icon-fill { fill: currentColor; stroke: none; width: 18px; height: 18px; }

/* Desktop: tampilkan seperti layar HP di tengah */
.invite, .cover { max-width: var(--maxw); margin-inline: auto; }

/* ================= COVER ================= */
.cover {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: calc(var(--pad) + env(safe-area-inset-top)) var(--pad) calc(var(--pad) + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--cream);
  background:
    var(--grain),
    radial-gradient(120% 70% at 50% 0%, #D56A34 0%, transparent 60%),
    linear-gradient(180deg, var(--terra) 0%, var(--terra-deep) 100%);
  transition: transform 1.1s var(--ease), opacity .9s ease;
}
.cover.is-open { transform: translateY(-100%); opacity: .4; pointer-events: none; }

/* Bingkai lengkung — mengikuti bentuk lengkung logo "m" */
.cover__arch {
  width: min(62vw, 250px);
  aspect-ratio: 3 / 3.6;
  border: 1px solid rgba(250, 232, 213, .45);
  border-radius: 999px 999px 18px 18px;
  display: grid;
  place-items: center;
  padding: 26px;
  position: relative;
  animation: rise 1.2s var(--ease) both;
}
.cover__arch::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(250, 232, 213, .2);
  border-radius: inherit;
}
.cover__lockup { display: flex; flex-direction: column; align-items: center; width: 100%; }
.cover__logo { width: 100%; }
/* Angka "3" — mengikuti gaya huruf geometris logo */
.cover__num {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(44px, 13vw, 56px); line-height: 1;
  color: var(--cream);
  margin-top: 6px;
  letter-spacing: -.02em;
}

.cover__eyebrow {
  font-size: 11px; letter-spacing: .38em; text-transform: uppercase; opacity: .8;
  margin-top: 10px;
  animation: rise 1.2s .15s var(--ease) both;
}
.cover__title {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(38px, 11vw, 48px); line-height: 1;
  animation: rise 1.2s .25s var(--ease) both;
}
.cover__guest {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 26px; margin: 6px 0 10px;
  border-top: 1px solid rgba(250, 232, 213, .3);
  border-bottom: 1px solid rgba(250, 232, 213, .3);
  animation: rise 1.2s .35s var(--ease) both;
}
.cover__to, .cover__note { font-size: 12px; opacity: .75; }
.cover__name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.cover .btn { animation: rise 1.2s .45s var(--ease) both; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 14px/1 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.btn--cream { background: var(--cream); color: var(--terra-deep); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.btn--terra { background: var(--terra); color: var(--cream); box-shadow: 0 10px 24px -12px rgba(142,59,23,.7); }
.btn--outline-cream { border-color: rgba(250,232,213,.55); color: var(--cream); background: transparent; }
.btn--block { width: 100%; }

/* ================= LAYOUT ================= */
.invite { background: var(--cream); position: relative; box-shadow: 0 0 80px rgba(0,0,0,.35); }

.section {
  position: relative;
  padding: 72px var(--pad);
  text-align: center;
  overflow: hidden;
}
.section--cream { background: var(--grain), var(--cream-light); }
.section--sand  { background: var(--grain), var(--sand-soft); }
.section--terra {
  background: var(--grain), linear-gradient(180deg, var(--terra) 0%, var(--terra-deep) 100%);
  color: var(--cream);
}

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 10px;
}
.eyebrow--cream { color: var(--sand-soft); }

.section__title {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 40px; line-height: 1.1; color: var(--terra-deep);
  margin-bottom: 28px;
}
.section__title--cream { color: var(--cream); }

.body-text { font-size: 15px; color: var(--ink-soft); max-width: 34ch; margin: -12px auto 28px; }
.body-text--cream { color: rgba(250,232,213,.85); }
.muted { font-size: 13px; color: var(--ink-soft); }

/* ================= HERO ================= */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px var(--pad) 120px;
  position: relative; overflow: hidden;
  background:
    var(--grain),
    radial-gradient(90% 60% at 50% 100%, var(--sand-soft) 0%, transparent 70%),
    var(--cream-light);
}
.hero__mark {
  position: absolute;
  width: 135%;
  max-width: none;
  left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  opacity: .07;
  pointer-events: none;
}
.hero__guest {
  position: relative;
  margin-bottom: 18px;
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-soft);
}
.hero__guest[hidden] { display: none; }
.hero__guest b { font-weight: 600; color: var(--terra-deep); }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(64px, 20vw, 88px); line-height: .88;
  color: var(--terra-deep);
  letter-spacing: -.01em;
}
.hero__title em { font-weight: 400; color: var(--terra); }
.hero__brand {
  margin-top: 14px;
  font-size: 15px; letter-spacing: .5em; text-transform: lowercase; color: var(--ink-soft);
}
.hero__date {
  margin-top: 44px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  width: min(100%, 320px);
  color: var(--terra-deep);
}
.hero__day, .hero__month {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  padding: 8px 0;
  border-top: 1px solid rgba(196,88,36,.35);
  border-bottom: 1px solid rgba(196,88,36,.35);
}
.hero__num {
  font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 500;
  color: var(--terra);
}

.scroll-hint {
  position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid var(--terra); border-radius: 999px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--terra); border-radius: 2px;
  animation: scroll 1.8s infinite;
}

/* ================= SAMBUTAN ================= */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; }
.ornament span { height: 1px; width: 56px; background: var(--sand); }
.ornament img { width: 44px; }
.lead {
  font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--ink);
  max-width: 30ch; margin-inline: auto;
}
.lead strong { color: var(--terra); font-weight: 600; }
.lead__guest { font-weight: 600; color: var(--terra-deep); }
.signature { margin-top: 22px; font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }

/* ================= COUNTDOWN ================= */
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin: 18px 0 30px;
}
.countdown__item {
  padding: 16px 4px 12px;
  border: 1px solid rgba(250,232,213,.35);
  border-radius: 999px 999px 14px 14px;   /* lengkung ala logo */
  background: rgba(250,232,213,.06);
}
.countdown__item span {
  display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.countdown__item small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

/* ================= DETAIL ================= */
.card-arch {
  background: #FFFBF6;
  border-radius: 999px 999px 24px 24px;
  padding: 64px 24px 24px;
  box-shadow: 0 30px 60px -30px rgba(142,59,23,.35), inset 0 0 0 1px rgba(196,88,36,.14);
  text-align: left;
}
.detail { display: grid; gap: 22px; margin-bottom: 28px; }
.detail__row { display: flex; gap: 16px; align-items: flex-start; }
.detail__row svg {
  width: 40px; height: 40px; padding: 10px;
  border-radius: 50%; background: var(--cream); color: var(--terra);
}
.detail__row small { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--terra); font-weight: 500; }
.detail__row p { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.25; color: var(--ink); }

/* ================= TIMELINE ================= */
.timeline { list-style: none; text-align: left; position: relative; max-width: 340px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--terra), var(--sand));
}
.timeline li {
  display: grid; grid-template-columns: 56px 1fr; gap: 30px;
  padding: 0 0 26px; position: relative;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::after {
  content: ""; position: absolute; left: 65px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--cream-light); border: 2px solid var(--terra);
}
.timeline time { font-weight: 500; font-size: 14px; color: var(--terra); padding-top: 1px; text-align: right; }
.timeline h4 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--terra-deep); }
.timeline p { font-size: 13.5px; color: var(--ink-soft); }

/* ================= GALLERY ================= */
.gallery { padding-inline: 0; }
.gallery .eyebrow, .gallery .section__title { padding-inline: var(--pad); }
.gallery__feature {
  margin: 0 var(--pad) 22px;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 22px 22px;   /* lengkung ala logo & pintu arch */
  overflow: hidden;
  box-shadow: 0 30px 50px -28px rgba(94,38,16,.55);
  cursor: zoom-in;
}
.gallery__feature img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }

.gallery__track {
  display: flex; gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--pad) 8px;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 82%;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 16px 30px -20px rgba(94,38,16,.6);
}
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__slide:active img { transform: scale(1.03); }
.gallery__slide figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(58,29,16,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--cream); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(196,88,36,.3); transition: width .3s var(--ease), background .3s; }
.gallery__dots span.is-active { width: 20px; background: var(--terra); }
.gallery__chapter {
  display: flex; align-items: center; gap: 14px;
  margin: 34px var(--pad) 16px;
}
.gallery__chapter::before, .gallery__chapter::after { content: ""; flex: 1; height: 1px; background: rgba(196,88,36,.3); }
.gallery__label {
  font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--terra-deep);
}
.gallery__feature + .gallery__chapter { margin-top: 8px; }

/* Interior: bento — foto portrait tinggi di kiri, dua landscape di kanan */
.gallery__bento {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-inline: var(--pad);
}
.gallery__tile {
  position: relative; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  box-shadow: 0 16px 30px -20px rgba(94,38,16,.6);
}
.gallery__tile--tall {
  grid-row: span 2; aspect-ratio: auto;
  border-radius: 999px 999px 18px 18px;   /* lengkung ala pintu arch */
}
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__tile:active img { transform: scale(1.03); }
.gallery__tile figcaption {
  position: absolute; left: 8px; bottom: 8px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(58,29,16,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--cream); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.gallery__hint { margin-top: 18px; font-size: 11px; letter-spacing: .08em; color: var(--ink-soft); opacity: .8; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center; align-content: center; gap: 14px;
  padding: 20px;
  background: rgba(30,14,7,.92);
  animation: fade .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 14px; object-fit: contain; }
.lightbox__cap { color: var(--sand-soft); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.lightbox__count { opacity: .6; margin-left: 8px; letter-spacing: .1em; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(250,232,213,.4); background: rgba(30,14,7,.45);
  color: var(--cream); cursor: pointer;
}
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__close {
  position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(250,232,213,.4);
  background: transparent; color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ================= RSVP ================= */
.rsvp__mark { position: absolute; width: 110%; max-width: none; right: -45%; bottom: -8%; opacity: .06; pointer-events: none; }
.rsvp {
  position: relative;
  display: grid; gap: 18px; text-align: left;
  padding: 24px; border-radius: 22px;
  background: rgba(250,232,213,.08);
  border: 1px solid rgba(250,232,213,.25);
}
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field > span, .field legend {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-soft); font-weight: 500;
}
.field input[type="text"], .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(250,232,213,.35);
  background: rgba(250,232,213,.1);
  color: var(--cream);
  font: 400 16px/1.4 var(--sans);   /* 16px mencegah auto-zoom iOS */
  resize: vertical;
  transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(250,232,213,.5); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cream); background: rgba(250,232,213,.16); }
.field.has-error input { border-color: #FFC9A8; }

.field--choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field--choice legend { float: left; width: 100%; grid-column: 1 / -1; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span {
  display: block; text-align: center; padding: 12px;
  border-radius: 999px; border: 1px solid rgba(250,232,213,.4);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .25s var(--ease);
}
.chip input:checked + span { background: var(--cream); color: var(--terra-deep); border-color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }

.stepper {
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  border: 1px solid rgba(250,232,213,.35); border-radius: 999px; overflow: hidden;
  background: rgba(250,232,213,.1);
}
.stepper button {
  height: 48px; border: 0; background: transparent; color: var(--cream);
  font-size: 22px; cursor: pointer;
}
.stepper button:active { background: rgba(250,232,213,.15); }
.stepper input {
  width: 100%; text-align: center; background: transparent; border: 0; color: var(--cream);
  font: 500 18px var(--sans); -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
#paxField { transition: opacity .3s, max-height .4s var(--ease), margin .4s var(--ease); max-height: 120px; }
#paxField.is-hidden { opacity: 0; max-height: 0; overflow: hidden; margin-top: -18px; }

.form-error { font-size: 13px; color: #FFD8C2; }
.form-error:empty { display: none; }

/* ================= CLOSING ================= */
.closing {
  padding: 80px var(--pad) 130px; text-align: center;
  background: var(--grain), var(--cream);
}
.closing__text { font-size: 15px; color: var(--ink-soft); }
.closing__thanks { font-family: var(--serif); font-size: 44px; color: var(--terra-deep); margin: 8px 0 34px; }
.closing__lockup { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin: 0 auto 28px; }
.closing__logo { width: 190px; }
.closing__num { font-family: var(--sans); font-weight: 500; font-size: 50px; line-height: .8; color: var(--terra); }
.hero__brand b { font-weight: 500; color: var(--terra); letter-spacing: 0; }
.closing__social { display: flex; justify-content: center; gap: 14px; }
.closing__social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(196,88,36,.4); color: var(--terra);
  transition: background .25s, color .25s;
}
.closing__social a:active { background: var(--terra); color: var(--cream); }
.closing__copy { margin-top: 28px; font-size: 11px; letter-spacing: .15em; color: var(--ink-soft); opacity: .7; }

/* ================= DOCK ================= */
.dock {
  position: fixed; z-index: 40;
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 160%);
  display: flex; gap: 4px; padding: 6px;
  border-radius: 999px;
  background: rgba(94,38,16,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.5);
  transition: transform .7s var(--ease);
}
.dock.is-visible { transform: translate(-50%, 0); }
.dock a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  color: var(--sand-soft); text-decoration: none; font-size: 12px; font-weight: 500;
  transition: background .3s, color .3s;
}
.dock a svg { width: 18px; height: 18px; }
.dock a span { display: none; }
.dock a.is-active { background: var(--cream); color: var(--terra-deep); }
.dock a.is-active span { display: inline; }

/* ================= MUSIK ================= */
.music {
  position: fixed; z-index: 45;
  right: max(16px, calc(50% - var(--maxw) / 2 + 16px));
  bottom: calc(80px + env(safe-area-inset-bottom));
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(94,38,16,.85); color: var(--cream);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
  animation: fade .6s var(--ease) both;
}
.music svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.music .music__off { display: none; }
.music.is-playing { animation: fade .6s var(--ease) both, spin 6s linear infinite; }
.music:not(.is-playing) .music__on { display: none; }
.music:not(.is-playing) .music__off { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ================= TOAST ================= */
.toast {
  position: fixed; z-index: 60; left: 50%; top: calc(20px + env(safe-area-inset-top));
  transform: translate(-50%, -200%);
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: 13px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  transition: transform .5s var(--ease);
  white-space: nowrap;
}
.toast.is-show { transform: translate(-50%, 0); }

/* ================= ANIMATION ================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Layar sangat kecil (≤360px) */
@media (max-width: 360px) {
  :root { --pad: 22px; }
  .countdown__item span { font-size: 28px; }
  .section__title { font-size: 34px; }
}
