/* =========================================================
   Barat Ceremony — Premium Wedding Invitation
   Palette · Typography · Layout · Decor · Animations
   ========================================================= */

:root {
  --maroon-1: #3b0a13;
  --maroon-2: #560f1f;
  --maroon-3: #74152b;
  --wine: #2a0710;
  --gold-1: #f7e6ad;
  --gold-2: #e6c368;
  --gold-3: #c9992f;
  --gold-deep: #a9772a;
  --cream: #fbf1dc;
  --cream-dim: #e9d7b4;
  --rose: #e78ba0;
  --ink: #f6ead2;

  --gold-grad: linear-gradient(135deg, #f7e6ad 0%, #e6c368 42%, #c9992f 72%, #f2d98a 100%);
  --font-display: "Cinzel", serif;
  --font-body: "Cormorant Garamond", serif;
  --font-script: "Great Vibes", cursive;
  --font-alt: "Segoe UI", "Noto Naskh Arabic", "Jameel Noori Nastaleeq", "Tahoma", sans-serif;

  --card-max: 660px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--wine);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.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;
}

/* ---------- Background layers ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg--gradient {
  background:
    radial-gradient(120% 90% at 50% -10%, #7a1a30 0%, #560f1f 38%, #3b0a13 68%, #240610 100%);
}

.bg--pattern {
  z-index: 1;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(247, 230, 173, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 75%, rgba(247, 230, 173, 0.5) 0 2px, transparent 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23e6c368' stroke-width='1' opacity='0.6'%3E%3Cpath d='M60 12c14 12 14 24 0 36-14-12-14-24 0-36zM60 108c14-12 14-24 0-36-14 12-14 24 0 36zM12 60c12-14 24-14 36 0-12 14-24 14-36 0zM108 60c-12-14-24-14-36 0 12 14 24 14 36 0z'/%3E%3Ccircle cx='60' cy='60' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 42px 42px, 42px 42px, 120px 120px;
}

.bg--glow {
  z-index: 1;
  filter: blur(60px);
  opacity: 0.55;
}
.bg--glow-1 {
  width: 46vmax; height: 46vmax;
  top: -14vmax; left: -12vmax;
  background: radial-gradient(circle, rgba(230, 195, 104, 0.4), transparent 62%);
  animation: floatGlow 16s ease-in-out infinite;
}
.bg--glow-2 {
  width: 40vmax; height: 40vmax;
  bottom: -14vmax; right: -10vmax;
  background: radial-gradient(circle, rgba(231, 139, 160, 0.32), transparent 62%);
  animation: floatGlow 20s ease-in-out infinite reverse;
}

.bg--vignette {
  z-index: 2;
  background: radial-gradient(120% 100% at 50% 42%, transparent 55%, rgba(20, 4, 9, 0.6) 100%);
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(4vmax, 3vmax) scale(1.08); }
}

.petal-canvas {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* ---------- Stage & Card ---------- */
.stage {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(52px, 8vh, 96px) clamp(14px, 4vw, 40px) clamp(48px, 8vh, 90px);
}

.card {
  position: relative;
  width: min(94vw, var(--card-max));
  padding: clamp(26px, 4.5vw, 54px) clamp(20px, 4.6vw, 56px);
  background:
    linear-gradient(158deg, rgba(66, 15, 26, 0.72), rgba(26, 6, 12, 0.86));
  border: 1px solid rgba(230, 195, 104, 0.4);
  border-radius: 20px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(230, 195, 104, 0.14),
    inset 0 0 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(7px) saturate(1.15);
  -webkit-backdrop-filter: blur(7px) saturate(1.15);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(230, 195, 104, 0.34);
  border-radius: 12px;
  pointer-events: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(247, 230, 173, 0.1), transparent 60%);
  pointer-events: none;
}

.card__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Ornate card corners */
.card__corner {
  position: absolute;
  width: 54px; height: 54px;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23e6c368' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M6 54C6 26 26 6 54 6'/%3E%3Cpath d='M6 42C6 22 22 6 42 6'/%3E%3Cpath d='M42 6c-9 5-14 12-13 22 0 0-9-3-16 4'/%3E%3C/g%3E%3Ccircle cx='30' cy='30' r='2.6' fill='%23e6c368'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.85;
}
.card__corner--tl { top: 8px; left: 8px; }
.card__corner--tr { top: 8px; right: 8px; transform: scaleX(-1); }
.card__corner--bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.card__corner--br { bottom: 8px; right: 8px; transform: scale(-1); }

/* ---------- Typography blocks ---------- */
.bismillah {
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1;
  margin: 0;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(230, 195, 104, 0.25));
}
.bismillah__caption {
  font-size: clamp(0.72rem, 2vw, 0.86rem);
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
  opacity: 0.82;
  margin: 6px 0 0;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: clamp(14px, 2.6vw, 22px) auto;
  max-width: 260px;
}
.ornament--wide { max-width: 340px; }
.ornament__line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(230, 195, 104, 0.7));
}
.ornament__line:last-child {
  background: linear-gradient(90deg, rgba(230, 195, 104, 0.7), transparent);
}
.ornament__motif {
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 3px rgba(230, 195, 104, 0.3));
  animation: motifPulse 4s ease-in-out infinite;
}
@keyframes motifPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.12); opacity: 1; }
}
.ornament__motif.ornament__motif--heartbeat {
  animation: heartbeat 1.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes heartbeat {
  0%   { transform: scale(1); }
  12%  { transform: scale(1.42); }
  24%  { transform: scale(1); }
  36%  { transform: scale(1.42); }
  48%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 2vw, 0.8rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 10px;
  padding-left: 0.34em;
}

.hosts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 auto 8px;
  color: var(--cream);
  max-width: 24ch;
}
.hosts__line1 {
  font-size: clamp(0.82rem, 2.5vw, 1.02rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.hosts__line2 {
  font-size: clamp(1.3rem, 4.4vw, 1.95rem);
  letter-spacing: 0.05em;
}

.invite-line {
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-style: italic;
  color: var(--cream-dim);
  margin: 6px 0;
}
.invite-line--sub { margin-top: 4px; }

.event-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.2rem, 12vw, 5.6rem);
  line-height: 1.2;
  padding: 0.16em 0.14em 0.3em;
  margin: clamp(2px, 1vw, 8px) auto 0;
  overflow: visible;
  background: linear-gradient(105deg, #f7e6ad 0%, #e6c368 30%, #fff4d0 48%, #c9992f 70%, #f2d98a 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 16px rgba(230, 195, 104, 0.28));
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  to { background-position: 220% center; }
}

.couple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: clamp(10px, 2vw, 18px) 0 4px;
}
.couple__name {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 6.4vw, 2.7rem);
  line-height: 1.1;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(231, 139, 160, 0.28);
}
.couple__amp {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: -2px 0;
}

/* ---------- Section shared ---------- */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 1.8vw, 0.74rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 14px;
  padding-left: 0.3em;
}

/* ---------- Countdown ---------- */
.countdown { margin-top: clamp(6px, 1.4vw, 12px); }
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 2vw, 14px);
  max-width: 420px;
  margin: 0 auto;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: clamp(10px, 2vw, 14px) 4px;
  border: 1px solid rgba(230, 195, 104, 0.28);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(247, 230, 173, 0.08), rgba(0, 0, 0, 0.14));
}
.cd-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 5vw, 2rem);
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.cd-label {
  font-family: var(--font-display);
  font-size: clamp(0.54rem, 1.6vw, 0.66rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* ---------- Schedule ---------- */
.schedule { margin-top: clamp(20px, 3.6vw, 32px); }
.schedule__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 2vw, 16px);
}
.schedule__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 2.2vw, 18px) 6px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(247, 230, 173, 0.07), rgba(0, 0, 0, 0.12));
  border: 1px solid rgba(230, 195, 104, 0.22);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.schedule__item:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 195, 104, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.schedule__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 230, 173, 0.14), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(230, 195, 104, 0.3);
}
.schedule__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.schedule__name {
  font-family: var(--font-display);
  font-size: clamp(0.74rem, 2vw, 0.9rem);
  letter-spacing: 0.06em;
  color: var(--cream);
}
.schedule__time {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  color: var(--gold-2);
  letter-spacing: 0.03em;
}

/* ---------- Venue ---------- */
.venue {
  margin-top: clamp(20px, 3.6vw, 32px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(14px, 4vw, 34px);
  flex-wrap: wrap;
}
.venue__block {
  flex: 1 1 200px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.venue__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(transparent, rgba(230, 195, 104, 0.5), transparent);
}
.venue__day {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4.2vw, 1.75rem);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}
.venue__date {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: clamp(1rem, 2.8vw, 1.18rem);
  color: var(--gold-1);
  margin: 0 0 5px;
  letter-spacing: 0.03em;
}
.venue__date--blink {
  animation: dateBlink 1.1s ease-in-out infinite;
}
@keyframes dateBlink {
  0%, 100% { opacity: 1; text-shadow: 0 0 12px rgba(247, 230, 173, 0.75); }
  50%      { opacity: 0.3; text-shadow: 0 0 0 rgba(247, 230, 173, 0); }
}
.venue__date-alt {
  font-family: var(--font-alt);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--cream-dim);
  margin: 2px 0 0;
  line-height: 1.55;
  direction: rtl;
}
.venue__date-alt--ur { color: rgba(233, 215, 180, 0.78); }
.venue__place {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  color: var(--cream);
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}
.venue__addr {
  font-size: clamp(0.9rem, 2.4vw, 1.02rem);
  color: var(--cream-dim);
  margin: 0 0 8px;
}
.venue__map {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 1.8vw, 0.76rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid rgba(230, 195, 104, 0.4);
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}
.venue__map:hover {
  background: rgba(230, 195, 104, 0.16);
  color: var(--gold-1);
}

/* ---------- RSVP ---------- */
.rsvp { margin-top: clamp(24px, 4vw, 38px); }
.rsvp__heading {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  line-height: 1.2;
  padding: 0.12em 0.1em 0.24em;
  margin: 0 0 2px;
  background: linear-gradient(105deg, #f7e6ad 0%, #e6c368 30%, #fff4d0 48%, #c9992f 70%, #f2d98a 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
.rsvp__sub {
  font-style: italic;
  font-size: clamp(0.92rem, 2.5vw, 1.08rem);
  color: var(--cream-dim);
  margin: 0 0 20px;
}

.rsvp__form {
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}
.field { margin-bottom: 16px; }
.field > label,
.field__legend {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(230, 195, 104, 0.3);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.field input::placeholder { color: rgba(233, 215, 180, 0.45); }
.field input:focus {
  border-color: rgba(230, 195, 104, 0.75);
  box-shadow: 0 0 0 3px rgba(230, 195, 104, 0.16);
  background: rgba(0, 0, 0, 0.3);
}
.field input.invalid {
  border-color: #e98ba0;
  box-shadow: 0 0 0 3px rgba(233, 139, 160, 0.18);
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.choice { display: flex; flex-direction: column; gap: 10px; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.choice__pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--cream-dim);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(230, 195, 104, 0.28);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.28s ease;
}
.choice__text { flex: 1; line-height: 1.35; }
.choice__mark {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(230, 195, 104, 0.6);
  display: grid;
  place-items: center;
  transition: all 0.28s ease;
}
.choice__mark::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-grad);
  transform: scale(0);
  transition: transform 0.25s ease;
}
.choice__pill:hover { border-color: rgba(230, 195, 104, 0.55); }
.choice input:checked + .choice__pill {
  color: var(--cream);
  background: linear-gradient(160deg, rgba(230, 195, 104, 0.18), rgba(0, 0, 0, 0.15));
  border-color: rgba(230, 195, 104, 0.85);
  box-shadow: inset 0 0 0 1px rgba(230, 195, 104, 0.3);
}
.choice input:checked + .choice__pill .choice__mark { border-color: var(--gold-2); }
.choice input:checked + .choice__pill .choice__mark::after { transform: scale(1); }
.choice input:focus-visible + .choice__pill {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.btn-rsvp {
  margin-top: 6px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #45180d;
  background: var(--gold-grad);
  background-size: 200% auto;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(201, 153, 47, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.6s ease;
}
.btn-rsvp:hover {
  transform: translateY(-2px);
  background-position: right center;
  box-shadow: 0 16px 34px rgba(201, 153, 47, 0.5);
}
.btn-rsvp:active { transform: translateY(0); }
.btn-rsvp svg { color: #1f7a3d; }

.rsvp__note {
  min-height: 1.2em;
  margin: 12px 0 0;
  text-align: center;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--gold-1);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.rsvp__note.show { opacity: 1; }

/* ---------- Footer ---------- */
.card__footer { margin-top: clamp(20px, 3.4vw, 30px); }
.card__closing {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.98rem, 2.6vw, 1.15rem);
  color: var(--cream);
  margin: 0 0 4px;
}
.card__signoff {
  font-family: var(--font-display);
  font-size: clamp(0.64rem, 1.8vw, 0.76rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0;
}
.card__credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 1.6vw, 0.68rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.card__credit a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 195, 104, 0.4);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.card__credit a:hover {
  color: var(--gold-1);
  border-color: rgba(230, 195, 104, 0.8);
}
.card__credit-heart {
  vertical-align: middle;
  transform-origin: center;
  animation: heartbeat 1.4s ease-in-out infinite;
}

/* ---------- Scroll hint ---------- */
.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold-2);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.scroll-hint__text {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-hint__chev {
  width: 11px; height: 11px;
  border-right: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: rotate(45deg);
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-hint.hidden { opacity: 0; visibility: hidden; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50%      { transform: translateY(5px) rotate(45deg); }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .venue__divider { display: none; }
  .venue { gap: 18px; }
  .schedule__list { gap: 7px; }
  .schedule__item { padding: 12px 4px; }
  .card__corner { width: 42px; height: 42px; }
}

@media (max-width: 380px) {
  .schedule__name { font-size: 0.68rem; }
  .cd-num { font-size: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
