:root {
  --wine: #651f32;
  --wine-dark: #32121d;
  --wine-soft: #8d3f55;
  --forest: #254b3d;
  --forest-dark: #153128;
  --cream: #fbf5ea;
  --paper: #fffdf8;
  --gold: #d4a64f;
  --ink: #291c20;
  --muted: #766a6d;
  --line: rgba(55, 31, 38, 0.12);
  --shadow: 0 24px 70px rgba(47, 22, 30, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(20px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overscroll-behavior: none;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { overflow: hidden; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: .13;
  z-index: 0;
}
.ambient--one { background: var(--gold); top: -18vw; left: -18vw; }
.ambient--two { background: var(--wine); bottom: -18vw; right: -18vw; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(62px + var(--safe-top));
  padding: var(--safe-top) 16px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 70;
  color: var(--ink);
  transition: color .3s ease, background .3s ease;
}

.topbar.is-light { color: white; }
.topbar.is-scrolled { background: rgba(251,245,234,.86); backdrop-filter: blur(16px); }
.topbar.is-light.is-scrolled { background: rgba(50,18,29,.72); }

.icon-button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: inherit;
  cursor: pointer;
  opacity: .8;
  transition: opacity .2s, transform .2s;
}
.icon-button:hover { opacity: 1; transform: translateY(-1px); }
.icon-button svg { width: 18px; }
.icon-button.is-hidden { opacity: 0; pointer-events: none; }

.progress-wrap { flex: 1; min-width: 0; }
.progress-label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.progress-label span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.progress-track { height: 3px; overflow: hidden; border-radius: 5px; background: currentColor; opacity: .25; }
.progress-track span { display: block; width: 12.5%; height: 100%; border-radius: inherit; background: currentColor; opacity: 1; transform-origin: left; transition: width .5s cubic-bezier(.22,1,.36,1); }

.app-shell { position: relative; z-index: 1; width: 100%; height: 100dvh; overflow: hidden; }
.screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100dvh;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.screen.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.screen-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: calc(78px + var(--safe-top)) 18px calc(34px + var(--safe-bottom)); scrollbar-width: none; }
.screen-scroll::-webkit-scrollbar { display: none; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 12vw, 72px); line-height: .98; }
h2 { margin-bottom: 12px; font-size: clamp(34px, 9.5vw, 52px); line-height: 1.02; }
h3 { margin-bottom: 0; font-size: 21px; }
.eyebrow { margin-bottom: 14px; color: var(--wine); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.muted { color: var(--muted); line-height: 1.65; }
.microcopy { font-size: 12px; opacity: .7; }

.primary-button,
.whatsapp-button {
  min-height: 56px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  box-shadow: 0 12px 26px rgba(101,31,50,.28);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, opacity .2s, box-shadow .2s;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(101,31,50,.32); }
.primary-button:active { transform: scale(.98); }
.primary-button svg { width: 19px; }
.primary-button--wide { width: 100%; }
.primary-button:disabled { cursor: not-allowed; opacity: .42; box-shadow: none; }

.ghost-button {
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid rgba(41,28,32,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.content-card {
  width: min(100%, 520px);
  padding: 28px 22px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: var(--radius-xl);
  background: rgba(255,253,248,.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

/* Hero */
.screen--hero { background: var(--wine-dark); color: white; }
.hero-photo { position: absolute; inset: 0; background: url("../assets/images/hero-couple.webp?v=20260712-35") 55% 36% / cover no-repeat; transform: scale(1.035); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,12,16,.08) 15%, rgba(28,11,17,.18) 40%, rgba(28,11,17,.88) 92%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 80px 22px calc(28px + var(--safe-bottom)); }
.hero-content .eyebrow { color: #f7cf83; }
.hero-content h1 { max-width: 650px; margin-bottom: 17px; text-wrap: balance; }
.hero-content h1 em { color: #f7d999; font-weight: 600; }
.hero-copy { max-width: 580px; margin-bottom: 23px; font-size: 15px; line-height: 1.55; opacity: .9; }
.hero-content .primary-button { background: white; color: var(--wine-dark); box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.hero-content .microcopy { margin: 13px 0 0 5px; }

/* Quiz */
.screen--quiz { background: radial-gradient(circle at 15% 10%, #fff 0, var(--cream) 42%, #f0e3d1 100%); }
.centered-layout { display: grid; align-content: center; justify-items: center; gap: 18px; padding-top: calc(80px + var(--safe-top)); }
.polaroid { width: min(64vw, 290px); padding: 8px 8px 28px; border-radius: 5px; background: white; box-shadow: 0 16px 40px rgba(58,34,40,.2); }
.polaroid--tilted { transform: rotate(-3.5deg); }
.polaroid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 28%; }
.polaroid span { display: block; padding-top: 9px; text-align: center; font-family: "Playfair Display", serif; font-size: 15px; }
.quiz-card { padding-top: 24px; box-shadow: 0 18px 50px rgba(64,39,45,.12); }
.quiz-card h2 { font-size: clamp(32px, 8vw, 44px); }
.choice-stack { display: grid; gap: 10px; margin-top: 20px; }
.answer-card {
  width: 100%;
  min-height: 58px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s, border .18s, background .18s;
}
.answer-card:hover { transform: translateX(3px); border-color: rgba(101,31,50,.4); }
.answer-card span { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; border-radius: 50%; background: #f4e9df; color: var(--wine); font-size: 11px; }
.answer-card.is-wrong { border-color: #c33243; background: #fff0f1; }
.answer-card.is-correct { border-color: #3d7e61; background: #eff9f1; }
.quiz-status { min-height: 20px; margin: 13px 0 0; font-size: 13px; font-weight: 700; text-align: center; color: var(--wine); }

/* Ask */
.screen--ask { background: linear-gradient(155deg, #e9d9c5 0%, #fdf9f1 50%, #ead6da 100%); }
.invite-layout { display: grid; align-content: center; justify-items: center; padding-top: calc(82px + var(--safe-top)); }
.photo-orbit { position: relative; width: min(92vw, 520px); height: 230px; margin-bottom: -38px; }
.orbit-photo { position: absolute; width: 145px; height: 184px; object-fit: cover; border: 6px solid white; border-radius: 20px; box-shadow: 0 18px 40px rgba(58,28,37,.2); }
.orbit-photo--one { left: 8%; top: 10px; object-position: 52% center; transform: rotate(-8deg); }
.orbit-photo--two { right: 8%; top: 0; object-position: 40% center; transform: rotate(7deg); }
.orbit-heart { position: absolute; left: 50%; top: 66px; width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: white; font-size: 23px; box-shadow: 0 12px 25px rgba(101,31,50,.28); transform: translateX(-50%) rotate(-6deg); }
.invite-card { position: relative; z-index: 2; padding-top: 32px; text-align: center; }
.invite-card h2 { text-wrap: balance; }
.invite-actions { position: relative; min-height: 125px; display: grid; gap: 11px; margin-top: 22px; }
.runaway-button { justify-self: center; transition: left .18s cubic-bezier(.2,.9,.35,1), top .18s cubic-bezier(.2,.9,.35,1); touch-action: none; }
.runaway-button.is-running { position: fixed; z-index: 85; margin: 0; }
.no-caption { margin: 3px 0 0; color: var(--muted); font-size: 12px; }

/* Reveal */
.screen--reveal { background: linear-gradient(160deg, var(--forest-dark), #2c5949 62%, #486d5d); }
.reveal-layout { display: grid; align-content: center; justify-items: center; gap: 18px; }
.video-card { position: relative; width: min(70vw, 340px); overflow: hidden; border: 7px solid rgba(255,255,255,.86); border-radius: 28px; box-shadow: 0 25px 50px rgba(4,27,20,.35); background: black; }
.video-card video { width: 100%; height: min(29vh, 330px); aspect-ratio: 9/16; object-fit: cover; }
.video-badge { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: rgba(14,35,28,.72); backdrop-filter: blur(10px); color: white; font-size: 11px; font-weight: 700; }
.video-badge svg { width: 14px; }
.reveal-card { box-shadow: 0 24px 55px rgba(5,30,22,.26); }
.stay-grid { display: grid; gap: 9px; margin: 18px 0; }
.stay-grid > div { padding: 12px 13px; display: flex; align-items: center; gap: 12px; border-radius: 15px; background: #f3ece0; }
.stay-grid svg { width: 21px; color: var(--wine); }
.stay-grid span { display: grid; font-weight: 700; font-size: 14px; }
.stay-grid small { margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.countdown div { padding: 10px 4px; display: grid; justify-items: center; border: 1px solid var(--line); border-radius: 14px; background: white; }
.countdown strong { font-family: "Playfair Display", serif; font-size: 24px; color: var(--wine); }
.countdown span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.link-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 14px; }
.mini-link { min-height: 43px; padding: 8px 10px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; }
.mini-link svg { width: 16px; color: var(--wine); }

/* Planner */
.screen--planner, .screen--extras { background: linear-gradient(145deg, #fffdf8, #f0e5d5); }
.planner-layout { max-width: 620px; margin: 0 auto; }
.section-heading { margin: 14px 0 24px; }
.section-heading h2 { margin-bottom: 10px; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.6; }
.choice-grid { display: grid; gap: 12px; }
.picture-choice { padding: 19px; display: grid; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.76); text-align: left; cursor: pointer; transition: transform .2s, border .2s, background .2s; }
.picture-choice:hover { transform: translateY(-2px); }
.picture-choice.is-selected { border-color: var(--wine); background: #fff8f7; box-shadow: 0 9px 24px rgba(101,31,50,.12); }
.picture-choice__icon { grid-row: 1 / 3; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: #f0e3d8; color: var(--wine); }
.picture-choice__icon svg { width: 24px; }
.picture-choice strong { font-size: 17px; }
.picture-choice small { margin-top: 3px; color: var(--muted); }
.conditional-panel { margin-top: 22px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.7); }
.conditional-panel[hidden] { display: none; }
.field-label { display: block; margin-bottom: 11px; font-weight: 700; }
.field-label--spaced { margin-top: 25px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.select-chip { min-height: 43px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.88); font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .16s, background .16s, color .16s, border .16s; }
.select-chip:hover { transform: translateY(-1px); border-color: rgba(101,31,50,.35); }
.select-chip.is-selected { border-color: var(--wine); background: var(--wine); color: white; }
.select-chip--accent { border-style: dashed; border-color: rgba(37,75,61,.45); color: var(--forest); }
.select-chip--accent.is-selected { border-style: solid; border-color: var(--forest); background: var(--forest); }
.planner-footer { position: sticky; bottom: calc(-1 * var(--safe-bottom)); margin: 28px -18px calc(-1 * (34px + var(--safe-bottom))); padding: 14px 18px calc(16px + var(--safe-bottom)); background: linear-gradient(180deg, rgba(251,245,234,0), rgba(251,245,234,.98) 28%); z-index: 5; }

/* Food */
.screen--food { background: var(--wine-dark); }
.food-photo { position: absolute; inset: 0 0 auto 0; height: 43vh; background: linear-gradient(180deg, rgba(40,13,22,.05), var(--wine-dark)), url("../assets/images/kitchen-fun.webp?v=20260712-35") center 30% / cover no-repeat; opacity: .86; }
.food-content { position: relative; padding-top: calc(35vh + var(--safe-top)); }
.section-heading--light { color: white; }
.section-heading--light .eyebrow { color: #f3cc83; }
.section-heading--light > p:last-child { color: rgba(255,255,255,.72); }
.meal-card { margin-bottom: 13px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(255,253,248,.97); box-shadow: 0 16px 35px rgba(0,0,0,.12); }
.meal-title { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.meal-title > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; background: #f2e8da; font-size: 20px; }
.meal-title small { color: var(--wine); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.text-field { display: grid; gap: 8px; margin-top: 17px; color: white; font-size: 13px; font-weight: 700; }
.text-field textarea { width: 100%; resize: vertical; padding: 14px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 17px; outline: none; background: rgba(255,255,255,.12); color: white; line-height: 1.4; }
.text-field textarea::placeholder { color: rgba(255,255,255,.5); }
.text-field textarea:focus { border-color: #f0c474; background: rgba(255,255,255,.16); }
.screen--food .planner-footer { background: linear-gradient(180deg, rgba(50,18,29,0), rgba(50,18,29,.98) 28%); }

/* Extras */
.extras-photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 23px; }
.extras-photo-row img { width: 100%; aspect-ratio: 1.15/1; object-fit: cover; border: 5px solid white; border-radius: 18px; box-shadow: 0 14px 30px rgba(50,27,34,.14); }
.extras-photo-row img:first-child { object-position: 48% center; transform: rotate(-2deg); }
.extras-photo-row img:last-child { object-position: center 38%; transform: rotate(2deg); }
.text-field--light { margin-top: 24px; color: var(--ink); }
.text-field--light textarea { border-color: var(--line); background: rgba(255,255,255,.75); color: var(--ink); }
.text-field--light textarea::placeholder { color: #a2999a; }
.text-field--light textarea:focus { border-color: var(--wine); background: white; }

/* Final */
.screen--final { background: linear-gradient(155deg, var(--wine-dark), #6f263b 55%, #9a5160); }
.final-layout { display: grid; align-content: center; justify-items: center; gap: 18px; }
.final-photo-wrap { position: relative; width: min(76vw, 390px); }
.final-photo-wrap img { width: 100%; aspect-ratio: 1.18/1; object-fit: cover; object-position: center 42%; border: 7px solid rgba(255,255,255,.9); border-radius: 28px; box-shadow: 0 24px 55px rgba(26,6,12,.35); }
.date-stamp { position: absolute; right: -10px; bottom: -12px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); box-shadow: 0 12px 28px rgba(0,0,0,.25); color: var(--wine-dark); font-family: "Playfair Display", serif; font-size: 14px; font-weight: 700; line-height: .9; text-align: center; transform: rotate(7deg); }
.final-card h2 { font-size: clamp(32px, 8.7vw, 46px); }
.summary-list { display: grid; gap: 8px; margin: 18px 0 20px; }
.summary-item { display: grid; grid-template-columns: 35px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: #f5ede2; }
.summary-item > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; background: white; }
.summary-item small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.summary-item strong { display: block; font-size: 13px; line-height: 1.35; }
.whatsapp-button { width: 100%; background: #157f55; box-shadow: 0 12px 26px rgba(21,127,85,.24); }
.text-button { width: 100%; padding: 13px; border: 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; }
.privacy-note { display: flex; align-items: flex-start; gap: 7px; margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.privacy-note svg { width: 14px; flex: 0 0 14px; }

/* Feedback and toast */
.feedback-flash { position: fixed; inset: 0; z-index: 120; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 25px; background: rgba(177,25,47,.94); color: white; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; }
.feedback-flash strong { font-family: "Playfair Display", serif; font-size: clamp(68px, 22vw, 130px); line-height: .9; }
.feedback-flash span { font-weight: 700; }
.feedback-flash.is-good { background: rgba(31,112,79,.95); }
.toast { position: fixed; left: 50%; bottom: calc(22px + var(--safe-bottom)); z-index: 110; width: max-content; max-width: calc(100% - 36px); padding: 11px 16px; border-radius: 999px; background: rgba(38,23,28,.92); color: white; font-size: 13px; font-weight: 700; text-align: center; opacity: 0; transform: translate(-50%, 14px); pointer-events: none; }

/* Animated age trailer */
.age-show {
  position: fixed;
  inset: 0;
  z-index: 125;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 44%, rgba(165,64,88,.34), transparent 30%),
    radial-gradient(circle at 20% 10%, rgba(212,166,79,.14), transparent 26%),
    #140a0f;
  color: white;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.age-show.is-active { visibility: visible; pointer-events: auto; }
.age-show__stars { position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(circle, #f4d89d 1px, transparent 1.5px); background-size: 34px 34px; mask-image: radial-gradient(circle at center, black, transparent 78%); }
.age-show__stars::before,
.age-show__stars::after { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; transform: translate(-50%,-50%); }
.age-show__stars::after { width: 520px; height: 520px; border-color: rgba(212,166,79,.12); }
.age-show__skip { position: absolute; top: calc(16px + var(--safe-top)); right: 16px; z-index: 2; padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.65); font-size: 11px; cursor: pointer; }
.age-show__content { position: relative; z-index: 1; width: min(100%, 520px); text-align: center; }
.age-show__kicker { margin-bottom: 8px; color: #e9c478; font-size: 10px; font-weight: 700; letter-spacing: .24em; }
.age-show__number { margin: -10px 0 -14px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(150px, 48vw, 280px); font-weight: 600; line-height: 1; letter-spacing: -.08em; color: #fff7e7; text-shadow: 0 0 55px rgba(190,76,101,.42); }
.age-show__level { display: inline-block; padding: 7px 12px; border: 1px solid rgba(232,193,116,.4); border-radius: 999px; color: #e9c478; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.age-show__caption { min-height: 50px; margin: 20px auto 14px; max-width: 350px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(21px, 6vw, 29px); line-height: 1.15; text-wrap: balance; }
.age-show__continue { min-height: 50px; padding: 12px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; background: white; color: var(--wine-dark); font-weight: 700; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); }
.age-show__continue svg { width: 17px; }

.swal2-popup { border-radius: 24px !important; font-family: "DM Sans", sans-serif !important; }
.swal2-title { font-family: "Playfair Display", serif !important; }
.swal2-confirm { border-radius: 999px !important; background: var(--wine) !important; }

@media (min-width: 760px) {
  .topbar { left: 50%; width: min(760px, 100%); transform: translateX(-50%); }
  .hero-content { left: 50%; right: auto; width: min(1100px, 100%); transform: translateX(-50%); padding-left: 50px; }
  .hero-photo { background-position: center 34%; }
  .centered-layout { grid-template-columns: 300px minmax(390px, 510px); gap: 38px; }
  .polaroid { width: 300px; }
  .invite-layout { grid-template-columns: 420px 500px; gap: 20px; }
  .photo-orbit { height: 380px; margin: 0; }
  .orbit-photo { width: 220px; height: 295px; }
  .orbit-photo--one { left: 0; }
  .orbit-photo--two { right: 0; top: 40px; }
  .orbit-heart { top: 125px; }
  .reveal-layout { grid-template-columns: 280px 500px; gap: 30px; }
  .video-card { width: 280px; }
  .video-card video { height: min(66vh, 590px); }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .final-layout { grid-template-columns: 390px 500px; gap: 34px; }
  .final-photo-wrap { width: 390px; }
}

@media (max-height: 730px) and (max-width: 759px) {
  .hero-content { padding-bottom: calc(18px + var(--safe-bottom)); }
  .hero-content h1 { font-size: 42px; }
  .hero-copy { margin-bottom: 15px; }
  .centered-layout { align-content: start; }
  .polaroid { width: 48vw; }
  .invite-layout { align-content: start; }
  .photo-orbit { height: 190px; }
  .orbit-photo { width: 120px; height: 150px; }
  .orbit-heart { top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
