/* Open House Algebra IIBS · digital invitation
   Palette from the creative brief: Sky Blue, Royal Blue, Ice Blue, White,
   Grass Green, Gold accent. Mobile-first; desktop shows a centred phone column. */

:root {
  --sky: #0b7bc4;
  --sky-2: #4fb3ea;
  --royal: #0b4a97;
  --navy: #0a2c5c;
  --ice: #e7f3fb;
  --ice-2: #f4f9fd;
  --white: #ffffff;
  --grass: #76c557;
  --grass-2: #4fa83a;
  --gold: #e6b24e;
  --gold-2: #f6cf6e;
  --ink: #12305c;
  --muted: #5a6f8f;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(11, 74, 151, .35);
  --shadow-sm: 0 4px 14px -6px rgba(11, 74, 151, .3);

  --f-display: "Outfit", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-script: "Great Vibes", cursive;

  --col: 480px;
  --pad: clamp(20px, 6vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 20% -10%, #cfe8f8 0, transparent 60%),
    radial-gradient(900px 600px at 110% 110%, #d9f0cf 0, transparent 55%),
    var(--ice);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; height: 100svh; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- layout ---------- */
.app {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 74, 151, .06), 0 30px 80px -30px rgba(11, 74, 151, .45);
}
.screen {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--pad) + 16px) var(--pad) calc(var(--pad) + 24px);
  isolation: isolate;
}

/* ---------- type ---------- */
.script { font-family: var(--f-script); font-weight: 400; line-height: 1; }
.eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 6px;
}
.eyebrow--light { color: #cfe9fb; }
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 8.6vw, 38px);
  line-height: 1.08;
  color: var(--royal);
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.h2 span { color: var(--sky); }
.h2--light { color: var(--white); }
.h2--light .script { font-size: 1.25em; font-weight: 400; color: var(--gold-2); margin-right: .1em; }
.h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--royal);
  margin: 26px 0 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible, .fab-music:focus-visible, .fab-rsvp:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 18px; }
.btn--light { background: var(--white); color: var(--royal); box-shadow: var(--shadow); }
.btn--primary { background: var(--royal); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--ghost { background: var(--ice); color: var(--royal); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: 0 10px 26px -10px rgba(160, 110, 10, .7), inset 0 -2px 0 rgba(0, 0, 0, .08);
}

/* ---------- sky + clouds ---------- */
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cloud {
  position: absolute;
  width: 150px;
  height: 46px;
  background: #fff;
  border-radius: 999px;
  opacity: .92;
  filter: drop-shadow(0 8px 14px rgba(11, 74, 151, .18));
  animation: drift 26s ease-in-out infinite alternate;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before { width: 70px; height: 70px; left: 22px; top: -34px; }
.cloud::after { width: 54px; height: 54px; left: 74px; top: -24px; }
.cloud--1 { top: 9%; left: -30px; transform: scale(.9); }
.cloud--2 { top: 22%; right: -50px; transform: scale(.7); animation-duration: 32s; opacity: .8; }
.cloud--3 { top: 46%; left: -60px; transform: scale(.55); animation-duration: 38s; opacity: .7; }
@keyframes drift { to { translate: 34px 0; } }

/* =========================================================
   01 · COVER
   ========================================================= */
.cover {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-bottom: 0;
  color: var(--white);
  background: linear-gradient(180deg, var(--royal) 0%, var(--sky) 42%, var(--sky-2) 78%, #9fd7f5 100%);
  overflow: hidden;
}
.cover__badges { display: flex; justify-content: center; align-items: center; gap: 14px; }
.cover__badges img { height: 62px; width: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .2)); }
.cover__text { text-align: center; margin-top: clamp(10px, 3svh, 26px); position: relative; z-index: 2; }
.cover__invited { font-size: clamp(40px, 12vw, 54px); color: var(--white); text-shadow: 0 4px 18px rgba(0, 0, 0, .18); }
.cover__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(54px, 17vw, 78px);
  line-height: .9;
  letter-spacing: -.02em;
  margin-top: 4px;
  text-shadow: 0 6px 24px rgba(6, 40, 90, .35);
}
.cover__school {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: .16em;
  font-size: clamp(13px, 3.8vw, 16px);
  margin-top: 10px;
  opacity: .95;
}
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--royal);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow);
}

.cover__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  margin: 8px calc(var(--pad) * -1) 0;
}
.hill {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 46%;
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  background: linear-gradient(180deg, #8fd56d 0%, var(--grass) 35%, var(--grass-2) 100%);
  box-shadow: inset 0 10px 0 rgba(255, 255, 255, .18);
}
.kid {
  position: absolute;
  bottom: 0;
  height: min(100%, 58svh);
  width: auto;
  max-width: none;
  filter: drop-shadow(0 14px 18px rgba(6, 40, 90, .28));
}
.kid--faza { left: 6%; height: min(90%, 52svh); }
.kid--rayyan { right: 2%; }

.cover__cta {
  position: relative;
  z-index: 3;
  margin: 0 calc(var(--pad) * -1);
  padding: 18px var(--pad) calc(22px + env(safe-area-inset-bottom));
  text-align: center;
  background: linear-gradient(180deg, rgba(79, 168, 58, 0) 0%, rgba(47, 120, 36, .9) 38%, #2f7824 100%);
  margin-top: -110px;
}
.cover__to { font-size: 13.5px; line-height: 1.45; margin-bottom: 12px; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.cover__to strong { font-family: var(--f-display); font-size: 16px; font-weight: 700; }
#openInvite { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, .18), var(--shadow); } }

/* =========================================================
   02 · WELCOME
   ========================================================= */
.welcome { background: linear-gradient(180deg, var(--white) 0%, var(--ice-2) 100%); }
.photo-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ice);
}
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-card--tall { margin-top: 26px; }
.photo-card--tall img { aspect-ratio: 4 / 3.4; object-position: center 40%; }
.photo-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--royal);
  font-weight: 600;
  font-size: 13px;
}
.letter {
  margin-top: 20px;
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #d8eaf7;
  box-shadow: var(--shadow-sm);
}
.letter p + p { margin-top: 10px; }
.letter strong { color: var(--royal); }
.letter__sign {
  margin-top: 6px;
  font-family: var(--f-script);
  font-size: 23px;
  white-space: nowrap;
  color: var(--sky);
  text-align: right;
  line-height: 1.2;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid #bfe0f6;
  color: var(--royal);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
}
.chips li:last-child { background: var(--royal); color: var(--white); border-color: var(--royal); }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.programs li {
  padding: 14px 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid #d8eaf7;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  color: var(--royal);
}
.programs small { font-family: var(--f-body); font-weight: 500; font-size: 11.5px; color: var(--muted); }
.program__ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 12px;
  background: var(--ice);
  color: var(--sky);
}
.program__ic svg { width: 24px; height: 24px; }

/* =========================================================
   03 · SAVE THE DATE
   ========================================================= */
.date {
  background: linear-gradient(180deg, var(--royal) 0%, var(--sky) 60%, #2b9ad9 100%);
  color: var(--white);
}
.sky--soft .cloud { opacity: .14; filter: none; }
.date-card {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--royal);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.date-card__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  background: linear-gradient(180deg, #e5f4fd, #c5e6fa);
  font-family: var(--f-display);
}
.date-card__dow { font-weight: 700; letter-spacing: .3em; font-size: 15px; margin-right: -.3em; }
.date-card__num { font-weight: 800; font-size: 72px; line-height: .9; }
.date-card__rest { display: flex; flex-direction: column; justify-content: center; padding: 14px 18px; font-family: var(--f-display); }
.date-card__month { font-weight: 800; font-size: 28px; line-height: 1; }
.date-card__year { font-weight: 500; font-size: 22px; letter-spacing: .3em; color: var(--sky); }
.date-card__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ice);
  font-weight: 600;
  font-size: 14px;
  align-self: flex-start;
}
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.countdown div {
  padding: 10px 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  text-align: center;
  backdrop-filter: blur(6px);
}
.countdown b { display: block; font-family: var(--f-display); font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; opacity: .9; }
.countdown__done { margin-top: 14px; text-align: center; font-weight: 600; }
.venue {
  margin-top: 22px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
}
.venue img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; }
.venue__body { padding: 18px 18px 20px; }
.venue__label { display: flex; align-items: center; gap: 6px; color: var(--sky); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.venue__name { font-family: var(--f-display); font-weight: 800; font-size: 22px; line-height: 1.15; color: var(--royal); margin-top: 4px; }
.venue__addr { color: var(--muted); font-size: 14px; margin-top: 6px; }
.venue__actions { display: grid; gap: 10px; margin-top: 16px; }

.rundown {
  margin-top: 22px;
  padding: 20px 18px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.rundown__title { font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.rundown__lead { font-size: 14px; opacity: .95; margin-top: 4px; }
.rundown__lead b { color: var(--gold-2); }
.timeline { position: relative; margin: 16px 0 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, .35);
}
.timeline li { position: relative; display: flex; align-items: baseline; gap: 26px; padding: 7px 0; font-size: 14.5px; line-height: 1.4; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}
.timeline time { flex: 0 0 40px; font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; color: #cfe9fb; }
.timeline .is-key span { font-weight: 700; color: var(--gold-2); }
.timeline .is-key::before { background: var(--gold-2); box-shadow: 0 0 0 3px rgba(246, 207, 110, .35); }
.timeline .is-break span { opacity: .75; font-style: italic; }
.rundown__note { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; opacity: .92; }

/* =========================================================
   04 · WHY ATTEND + OFFER
   ========================================================= */
.why { background: var(--ice-2); }
.checks { display: grid; gap: 10px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid #d8eaf7;
  font-size: 14.5px;
  line-height: 1.5;
}
.checks b { color: var(--royal); }
.ic-check { width: 24px; height: 24px; flex: none; color: var(--grass-2); margin-top: 1px; }

.gallery {
  display: flex;
  gap: 10px;
  margin: 22px calc(var(--pad) * -1) 0;
  padding: 0 var(--pad) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 42%; margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 10px 9px;
  background: linear-gradient(180deg, transparent, rgba(6, 34, 74, .8));
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
}

.offer {
  position: relative;
  margin-top: 26px;
  padding: 26px 20px 20px;
  border-radius: var(--radius);
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(79, 179, 234, .55), transparent 70%),
    linear-gradient(160deg, var(--royal) 0%, #083a7a 100%);
  color: var(--white);
  text-align: center;
  box-shadow: 0 22px 44px -20px rgba(11, 74, 151, .8);
}
.offer__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
  padding: 5px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.offer small { display: block; font-size: 12.5px; opacity: .9; }
.offer p { font-family: var(--f-display); font-weight: 800; line-height: 1; }
.offer sup { font-size: .42em; vertical-align: top; position: relative; top: .35em; margin-right: 2px; font-weight: 700; }
.offer em { font-style: normal; font-size: .38em; font-weight: 700; margin-left: 4px; }
.offer__row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.offer__row p { font-size: 40px; margin-top: 4px; }
.offer__plus { font-family: var(--f-display); font-size: 28px; font-weight: 800; color: var(--gold-2); }
.offer__total {
  margin-top: 16px;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--royal);
}
.offer__total small { color: var(--muted); opacity: 1; font-weight: 600; }
.offer__total p { font-size: 62px; color: var(--sky); margin-top: 4px; }
.offer__quota {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px dashed var(--gold-2);
  color: var(--gold-2);
  font-weight: 700;
  font-size: 14px;
}
.offer__note { margin-top: 10px; font-size: 12px; opacity: .8; font-family: var(--f-body) !important; font-weight: 400 !important; line-height: 1.5 !important; }

/* =========================================================
   05 · RSVP + CLOSING
   ========================================================= */
.rsvp {
  padding-bottom: 0;
  color: var(--white);
  text-align: center;
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky) 38%, var(--royal) 100%);
}
.rsvp__script { font-size: clamp(44px, 13vw, 58px); color: var(--white); text-shadow: 0 4px 18px rgba(0, 0, 0, .15); margin-top: 18px; }
.rsvp__title { font-size: clamp(36px, 10.5vw, 46px); margin: 2px 0 14px; }
.rsvp__lead { max-width: 34ch; margin: 0 auto; font-size: 15px; opacity: .96; }
.rsvp__actions { display: grid; gap: 12px; margin: 22px auto 0; max-width: 360px; }
.rsvp .cloud--1 { top: 2%; left: auto; right: -44px; transform: scale(.6); }
.rsvp .cloud--3 { top: auto; bottom: 640px; left: -50px; }
.rsvp__stage { position: relative; height: 400px; margin: 18px calc(var(--pad) * -1) 0; }
.rsvp__stage .hill { z-index: 2; height: 24%; }
.rsvp__kid { position: absolute; z-index: 1; left: 50%; bottom: 40px; translate: -50% 0; height: calc(100% - 40px); width: auto; max-width: none; filter: drop-shadow(0 14px 18px rgba(6, 40, 90, .28)); }

.footer {
  position: relative;
  margin: 0 calc(var(--pad) * -1);
  padding: 26px var(--pad) calc(96px + env(safe-area-inset-bottom));
  background: var(--white);
  color: var(--ink);
}
.footer__logo { height: 60px; width: auto; margin: 0 auto; }
.footer__motto { font-family: var(--f-display); font-weight: 700; color: var(--royal); margin-top: 10px; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--royal);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
}
.sponsors { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e3eef8; }
.sponsors p { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sponsors__logos { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; }
.sponsors__logos img:first-child { height: 52px; width: auto; }
.sponsors__logos img:last-child { height: 46px; width: auto; border-radius: 4px; }
.footer__copy { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ---------- floating controls ---------- */
.fab-music, .fab-rsvp {
  position: fixed;
  z-index: 50;
  bottom: calc(16px + env(safe-area-inset-bottom));
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(6, 40, 90, .55);
  transition: opacity .25s ease, transform .25s ease;
}
.fab-music {
  right: max(16px, calc(50% - var(--col) / 2 + 16px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--royal);
}
.fab-music .ic { width: 22px; height: 22px; }
.fab-music .ic-off { display: none; }
.fab-music.is-muted .ic-on { display: none; }
.fab-music.is-muted .ic-off { display: block; }
.fab-music:not(.is-muted) .ic-on { animation: spin 6s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.fab-rsvp {
  left: max(16px, calc(50% - var(--col) / 2 + 16px));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.fab-rsvp.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* cover entrance */
.cover__badges, .cover__text > *, .kid, .cover__cta { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.cover__text > :nth-child(1) { animation-delay: .1s; }
.cover__text > :nth-child(2) { animation-delay: .2s; }
.cover__text > :nth-child(3) { animation-delay: .3s; }
.cover__text > :nth-child(4) { animation-delay: .4s; }
.kid--faza { animation-delay: .45s; }
.kid--rayyan { animation-delay: .55s; }
.cover__cta { animation-delay: .7s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

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

/* short phones (e.g. iPhone SE) */
@media (max-height: 700px) {
  .cover__badges img { height: 50px; }
  .cover__title { font-size: 52px; }
  .cover__invited { font-size: 38px; }
  .date-pill { margin-top: 10px; }
  .cover__stage { min-height: 250px; }
}

/* desktop: a little breathing room around the phone column */
@media (min-width: 720px) {
  body { padding: 0; }
  .app { border-radius: 0; }
}
