/* GULZAR (rose garden). Painted AI artwork in Webgency's palette: peach-cream, champagne, blush and bronze.
   Opening: carved ivory doors under a rose-draped mihrab; tap the medallion, the doors swing open
   onto the garden courtyard and you walk through. Script headings, airy cream sections, soft sparkles.
   Artwork: gulzar/art/*.webp (full-size originals in artwork/gulzar). */
:root {
  --light: #f9e6d4;
  --paper: #f3dcc6;
  --card: #fffaf6;
  --card-line: #ecd6bf;
  --note: #f8e9da;
  --line2: #e6cdb2;
  --field: #fffaf6;
  --ink: #2a2a2a;
  --muted: #7d6a58;
  --accent: #866739;
  --accent-soft: #c9a878;
  --deep: #866739;
  --deep2: #4f3b22;
  --rose: #c98a86;
  --ink1: #7a5a2e;
  --ink2: #d8b47c;
  --ink3: #9a7646;
  --seal: none;
  --foil: #b48a56, #ecd2a6, #c69c66, #f6e4c4, #9c7442;
  --foil-ink: rgba(70, 48, 20, 0.85);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Ovo", Georgia, serif;
  --script: "Pinyon Script", "Cormorant Garamond", cursive;
  --names-font: "Pinyon Script", cursive;
  --names-weight: 400;
  --names-size: clamp(54px, 16vw, 80px);
  --pattern: none;
  --map-route: #866739;
  --map-pin: #b0716a;
  --map-land: #f7e5d3;
  --couple-glow: #f3d9bf;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sparkle: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px);
}
body { background: var(--light); color: var(--ink); font-weight: 400; }

/* Soft light specks drifting over the whole page, like Webgency's invitations */
.gz-glints, body::before {
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9) 0 1.2px, transparent 2.5px),
    radial-gradient(circle at 78% 9%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 42%, rgba(255, 248, 225, 0.9) 0 1.4px, transparent 3px),
    radial-gradient(circle at 26% 66%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 74%, rgba(255, 248, 225, 0.9) 0 1.2px, transparent 2.6px),
    radial-gradient(circle at 44% 88%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 6% 92%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px);
  background-size: 260px 320px;
  animation: gz-twinkle 5s ease-in-out infinite alternate, gz-drift 40s linear infinite;
}
body::before { content: ""; position: fixed; inset: 0; z-index: 0; opacity: 0.7; }
.gz-glints { position: absolute; inset: 0; z-index: 1; }
@keyframes gz-twinkle { from { opacity: 0.35; } to { opacity: 0.9; } }
@keyframes gz-drift { to { background-position: 60px -320px; } }
main, footer { position: relative; z-index: 1; }

/* ---------- Opening: the carved doors ---------- */
.envelope-screen {
  --open-ms: 2700;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #fdf3e8 0%, var(--light) 60%, #f3d9c2 100%);
  color: var(--accent);
}
.envelope-screen::before { display: none; }
.gz-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(55.81svh, min(100vw, 62svh));
  aspect-ratio: 1536 / 2752;
  /* "translate" (not transform) so the walk-in zoom below grows from the doorway itself */
  translate: -50% -50%;
  /* sits a little low, so the title above has room and clears the roses */
  margin-top: 7svh;
  transform-origin: 50% 60%;
  perspective: 1600px;
  /* the painting fades into the cream at both sides and along its top edge */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 9%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 9%);
  mask-composite: intersect;
}
.gz-frame, .gz-leaf, .gz-beyond { position: absolute; inset: 0; }
.gz-frame, .gz-leaf { background: url("art/doors.webp") center / 100% 100% no-repeat; }
/* the doorway: both leaves together */
.gz-beyond {
  clip-path: polygon(29.3% 81.7%, 29.3% 44%, 31.2% 41.4%, 35.2% 39.4%, 40% 37.6%, 44.9% 36.2%, 50% 35%, 55.1% 36.2%, 60% 37.6%, 64.8% 39.4%, 68.8% 41.4%, 70.7% 44%, 70.7% 81.7%);
  background: url("art/courtyard.webp") 50% 62% / 46% auto no-repeat, #fbeedd;
}
.gz-beyond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 22% 26% at 50% 58%, rgba(255, 246, 228, 0.95), rgba(255, 240, 215, 0) 100%);
  opacity: 0.2;
  transition: opacity 1.4s ease 0.5s;
}
.gz-l {
  clip-path: polygon(29.3% 81.7%, 29.3% 44%, 31.2% 41.4%, 35.2% 39.4%, 40% 37.6%, 44.9% 36.2%, 50.1% 35%, 50.1% 81.7%);
  transform-origin: 29.3% 50%;
}
.gz-r {
  clip-path: polygon(70.7% 81.7%, 70.7% 44%, 68.8% 41.4%, 64.8% 39.4%, 60% 37.6%, 55.1% 36.2%, 49.9% 35%, 49.9% 81.7%);
  transform-origin: 70.7% 50%;
}
.gz-leaf { transition: transform 1.7s cubic-bezier(0.55, 0.05, 0.25, 1) 0.35s, filter 1.7s ease 0.35s; }

/* The medallion where the doors meet: the couple's initials, glowing softly */
.seal.gz-knock {
  position: absolute;
  left: 50%;
  top: 61.3%;
  width: 17.5%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 244, 222, 0.5), rgba(255, 244, 222, 0) 60%);
  box-shadow: 0 0 0 0 rgba(255, 236, 200, 0.7);
  color: #fff8ec;
  font: 400 clamp(22px, 6.4vw, 34px) / 1 var(--script);
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(80, 50, 15, 0.55);
  animation: gz-call 2.4s ease-in-out infinite;
}
@keyframes gz-call { 0% { box-shadow: 0 0 0 0 rgba(255, 238, 205, 0.75); } 70% { box-shadow: 0 0 0 18px rgba(255, 238, 205, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 238, 205, 0); } }
.gz-top {
  position: absolute;
  top: max(3.5svh, 20px);
  left: 0;
  right: 0;
  padding: 0 20px;
  text-align: center;
  isolation: isolate;
  animation: gz-in 1.4s ease 0.2s both;
}
/* a soft cream veil behind the title */
.gz-top::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40px;
  width: min(520px, 130vw);
  height: calc(100% + 90px);
  translate: -50% 0;
  background: radial-gradient(ellipse 50% 50% at 50% 46%, rgba(253, 243, 232, 0.96) 0 52%, rgba(253, 243, 232, 0) 100%);
}
.gz-bis { font: 400 clamp(20px, 5.6vw, 26px) / 1.5 "Amiri", serif; color: var(--accent); }
.envelope-screen .env-to { margin-top: 6px; font: 400 10px var(--sans); letter-spacing: 0.38em; text-transform: uppercase; color: var(--muted); animation: none; }
/* The names on the doors: stacked in spaced capitals, "weds" between hairlines, the date below (built in fx.js) */
.gz-names { display: flex; flex-direction: column; align-items: center; margin-top: 12px; }
.gz-n {
  padding-left: 0.16em;
  font: 500 clamp(30px, 8.8vw, 42px) / 1.02 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #7a5a2e 0%, #c9a878 42%, #8a6a3b 68%, #b8925c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gz-j {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 6px;
  font: italic 400 clamp(19px, 5.2vw, 23px) / 1 "Cormorant Garamond", Georgia, serif;
  color: var(--rose);
}
.gz-j::before, .gz-j::after { content: ""; width: 38px; height: 1px; background: currentColor; opacity: 0.55; }
.gz-date { margin-top: 14px; font: 400 10px / 1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.envelope-screen .env-hint {
  position: absolute;
  bottom: max(4.5svh, 22px);
  left: 0;
  right: 0;
  font: 400 10px var(--sans);
  letter-spacing: 0.34em;
  color: var(--accent);
}
/* the doors sit low, so the line can fall on the painted step: a small cream pill keeps it readable */
.envelope-screen .env-hint {
  left: 50%;
  right: auto;
  translate: -50% 0;
  padding: 7px 14px 7px 18px;
  border-radius: 999px;
  background: rgba(253, 243, 232, 0.88);
  white-space: nowrap;
}
@keyframes gz-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* Tap: the medallion fades, the doors swing in, light pours out, and you walk into the garden */
.opening .seal.gz-knock { opacity: 0; transform: translate(-50%, -50%) scale(1.25); animation: none; }
/* both leaves swing away from the guest, into the garden */
.opening .gz-l { transform: rotateY(98deg); filter: brightness(0.8); }
.opening .gz-r { transform: rotateY(-98deg); filter: brightness(0.8); }
.opening .gz-beyond::after { opacity: 1; }
.opening .gz-top, .opening .env-hint { opacity: 0; transition: opacity 0.5s ease; animation: none; }
.opening .gz-stage { animation: gz-walk 1.5s cubic-bezier(0.6, 0, 0.35, 1) 1.2s forwards; }
@keyframes gz-walk { to { scale: 2.3; } }
.envelope-screen.leaving { opacity: 0; transform: none; transition: opacity 0.8s ease; }

/* ---------- Welcome: the garden courtyard ---------- */
.hero {
  --scene-w: min(100vw, 640px);
  min-height: 0;
  justify-content: flex-start;
  gap: 0;
  padding: max(8svh, 48px) 0 0;
  background: var(--light);
  color: var(--ink);
}
.hero::before, .hero::after { display: none; }
/* The painting sits under the names: its empty sky slides up behind the text, the palace starts below it */
.gz-scene {
  order: 2;
  position: relative;
  z-index: 0;
  width: var(--scene-w);
  aspect-ratio: 1080 / 1935;
  margin-top: calc(var(--scene-w) * -0.52);
  background: url("art/courtyard.webp") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 90%, transparent 100%), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 90%, transparent 100%), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
  transform-origin: 50% 70%;
}
@media (max-width: 640px) {
  .gz-scene { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 90%, transparent 100%); }
}
.arch.gz-hero { order: 1; }
.opened .gz-scene { animation: gz-settle 3.2s var(--ease) both; }
@keyframes gz-settle { from { transform: scale(1.12); opacity: 0.4; } to { transform: none; opacity: 1; } }
.arch.gz-hero { position: relative; z-index: 2; width: 100%; max-width: 520px; padding: 0 16px; border: 0; border-radius: 0; outline: 0; background: none; }
.gz-hero .bismillah { font-size: clamp(22px, 6.2vw, 30px); color: var(--accent); }
.gz-hero .eyebrow { margin-top: 14px; font: 400 10px var(--sans); letter-spacing: 0.34em; color: var(--muted); }
.names { margin-top: 10px; line-height: 0.98; color: var(--accent); text-shadow: 0 1px 14px rgba(255, 250, 240, 0.9); }
.amp { margin: 0.08em 0 0.02em; font: italic 400 0.42em / 1 var(--serif); color: var(--rose); }
.gz-sub { margin-top: 12px; font: italic 400 clamp(17px, 4.8vw, 21px) / 1.4 var(--serif); color: var(--muted); opacity: 0; }
.opened .gz-sub { animation: gz-in 1.2s ease 1.6s forwards; }
.hero .scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fffaf2; font: 400 10px var(--sans); letter-spacing: 0.4em; text-shadow: 0 1px 6px rgba(60, 40, 20, 0.5); }
.hero .scroll::after { border-color: #fffaf2; }
/* Handwritten names (Standard, Premium) */
.ink-names .amp { fill: var(--rose); stroke: var(--rose); }

/* ---------- Sections: airy cream, script headings, a small bronze flourish ---------- */
.section { padding: 76px 22px; }
h2 { margin: 0 0 26px; font: 400 clamp(40px, 11.5vw, 52px) / 1.1 var(--script); color: var(--accent); letter-spacing: 0; }
h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 14px;
  margin: 10px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cg fill='none' stroke='%23866739' stroke-width='.9' stroke-linecap='round'%3E%3Cpath d='M2 7h44M74 7h44'/%3E%3Cpath d='M60 1c-4 3-4 9 0 12 4-3 4-9 0-12zM52 7c-3-3-7-3-9 0 2 3 6 3 9 0zM68 7c3-3 7-3 9 0-2 3-6 3-9 0z'/%3E%3Ccircle cx='48' cy='7' r='1.2' fill='%23866739'/%3E%3Ccircle cx='72' cy='7' r='1.2' fill='%23866739'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.small { font: 400 13px var(--sans); letter-spacing: 0.03em; color: var(--muted); opacity: 1; }
.lead { font: italic 400 clamp(20px, 5.8vw, 24px) / 1.55 var(--serif); color: var(--ink); }
.ornament { width: 120px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cg fill='none' stroke='%23866739' stroke-width='.9' stroke-linecap='round'%3E%3Cpath d='M2 7h44M74 7h44'/%3E%3Cpath d='M60 1c-4 3-4 9 0 12 4-3 4-9 0-12zM52 7c-3-3-7-3-9 0 2 3 6 3 9 0zM68 7c3-3 7-3 9 0-2 3-6 3-9 0z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.ornament::after { display: none; }

/* "Dark" sections become cream cards under a mihrab arch (Webgency's Arabic text panel) */
.section.dark {
  --light: #2a2a2a;
  --accent-soft: #866739;
  --deep2: #f7e7d6;
  max-width: 520px;
  margin: 34px auto;
  width: calc(100% - 32px);
  padding: 64px 22px 56px;
  background: linear-gradient(180deg, #fffaf4, #fcf0e3);
  color: var(--ink);
  border: 1px solid #d9bf9c;
  border-radius: 999px 999px 10px 10px / 150px 150px 10px 10px;
  outline: 1px solid rgba(134, 103, 57, 0.25);
  outline-offset: 6px;
  box-shadow: 0 18px 40px rgba(134, 103, 57, 0.1);
}
.section.dark::before { display: none; }
.dark h2 { color: var(--accent); }
.dark .small { color: var(--muted); }
#invite { padding-top: 118px; }
#invite::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 92%;
  aspect-ratio: 1000 / 469;
  max-height: 120px;
  transform: translateX(-50%);
  background: url("art/garland.webp") center top / contain no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 52% 60% at 50% 40%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 60% at 50% 40%, #000 60%, transparent 100%);
}
.child { font: 400 clamp(42px, 12vw, 54px) / 1.1 var(--script); color: var(--accent); }
.parents { color: var(--muted); }
.parents span { color: var(--ink); }
.from { color: var(--rose); }
.families .star { width: 8px; height: 8px; background: var(--rose); }

/* Buttons: bronze pills */
.btn { border-radius: 999px; min-height: 50px; padding: 10px 30px; background: var(--accent); border-color: var(--accent); color: #fffaf2; font: 400 12px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.btn.outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.gold, .dark .btn.gold { background: var(--accent); border-color: var(--accent); color: #fffaf2; }
.text-btn { color: var(--accent); }

/* Date: champagne foil, plain numbers like Webgency's countdown */
.scratch { border-radius: 14px; border: 1px solid #d9bf9c; box-shadow: 0 10px 26px rgba(134, 103, 57, 0.12); }
.big-date { font: italic 500 clamp(24px, 7vw, 30px) / 1.2 var(--serif); color: var(--accent); }
.countdown { gap: 4px; }
.countdown div { background: transparent; color: var(--accent); border-radius: 0; padding: 10px 2px; box-shadow: none; }
.countdown b { font: 400 clamp(38px, 11vw, 50px) / 1 var(--serif); }
.countdown span { font: 400 11px var(--sans); letter-spacing: 0.08em; text-transform: none; color: var(--muted); }

/* Events: cream cards with a thin bronze line */
.event { background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; box-shadow: 0 12px 30px rgba(134, 103, 57, 0.1); }
.event h3 { font: 400 46px / 1.1 var(--script); color: var(--accent); }
.event .note, .event .dress { border-radius: 12px; background: var(--note); border: 0; }
.dots i.on { background: var(--accent); }
.gz-dress { margin: 40px auto 0; max-width: 560px; }
.gz-dress h3 { margin: 0 0 4px; font: 400 40px / 1.1 var(--script); color: var(--accent); }
.gz-dress img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 70%, transparent 100%);
}
.gz-dress .gz-note { margin-top: 18px; font: italic 400 17px / 1.5 var(--serif); color: var(--muted); }
.gz-label { margin-top: 22px; font: 400 26px / 1.2 var(--script); color: var(--accent); }
.gz-guide { max-width: 34ch; margin: 4px auto 0; font: 400 15px / 1.6 var(--sans); color: var(--ink); }
.gz-swatches { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.gz-swatches i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fffaf4; box-shadow: 0 0 0 1px #e2c7a6, 0 4px 10px rgba(134, 103, 57, 0.15); }

/* After the welcome: one line, like Webgency's "Two souls, one destiny" */
.gz-intro { padding: 56px 26px 10px; }
.gz-tagline { max-width: none; margin: 0 auto; white-space: pre-line; font: 400 clamp(28px, 7.4vw, 44px) / 1.25 var(--script); color: var(--accent); }
.gz-cd-title { margin: 6px 0 12px; font: 400 30px / 1.2 var(--script); color: var(--accent); }

/* The Nikah day: a timeline with a bronze thread */
.gz-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 400px; position: relative; }
.gz-timeline::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(#d9bf9c, #866739 50%, #d9bf9c); }
.gz-timeline li { display: grid; grid-template-columns: 1fr 22px 1fr; align-items: center; gap: 14px; padding: 14px 0; }
.gz-time { text-align: right; font: 400 clamp(22px, 6.4vw, 28px) / 1.1 var(--serif); color: var(--ink); }
.gz-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin: 0 auto; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--light), 0 0 0 5px #d9bf9c; }
.gz-what { text-align: left; font: 400 17px / 1.3 var(--sans); color: var(--ink); }
.gz-what small { display: block; margin-top: 2px; font: italic 400 14px var(--serif); color: var(--muted); }
.js .gz-timeline li { opacity: 0; transform: translateY(12px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .in .gz-timeline li { opacity: 1; transform: none; }
.in .gz-timeline li:nth-child(2) { transition-delay: 0.15s; }
.in .gz-timeline li:nth-child(3) { transition-delay: 0.3s; }
.in .gz-timeline li:nth-child(4) { transition-delay: 0.45s; }
.in .gz-timeline li:nth-child(5) { transition-delay: 0.6s; }
.in .gz-timeline li:nth-child(n+6) { transition-delay: 0.75s; }

/* Gift preference */
.gz-gift { max-width: 30ch; margin: 0 auto; font: italic 400 clamp(20px, 5.8vw, 24px) / 1.5 var(--serif); color: var(--ink); }
#gifts { padding-top: 40px; padding-bottom: 30px; }

/* Signed farewell */
.gz-sign { margin: 26px 0 8px; }
.gz-sign-line { font: italic 400 19px var(--serif); color: var(--muted); }
.gz-sign-names { margin-top: 2px; font: 400 clamp(36px, 10vw, 48px) / 1.15 var(--script); color: var(--accent); }

/* How to reach: the painted venue above the drawn map */
.reach::before {
  content: "";
  display: block;
  width: min(100%, 520px);
  aspect-ratio: 1100 / 738;
  margin: -12px auto 18px;
  background: url("art/venue.webp") center / contain no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 60% at 50% 50%, #000 72%, transparent 100%);
}
.reach-map { border-radius: 18px; border-color: var(--card-line); }
.reach-tabs button { border-radius: 999px; }
.reach-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fffaf2; }
.reach-venue { font: 400 40px / 1.15 var(--script); color: var(--accent); }

/* Good to know, RSVP */
.info details { border-radius: 14px; border-color: #e2c7a6; background: rgba(255, 250, 244, 0.8); }
.info summary { color: var(--accent); }
.form label, .form legend, .stepper-row > span { color: var(--muted); }
.form input, .form textarea { border-radius: 12px; border-color: var(--line2); background: var(--field); color: var(--ink); }
.choice span { border-radius: 999px; border-color: #d9bf9c; color: var(--ink); }
.choice input:checked + span { background: var(--accent); color: #fffaf2; }
.stepper button { border-color: #d9bf9c; color: var(--accent); }
.stepper button:active { color: #fffaf2; }
.thanks { font: 400 32px / 1.3 var(--script); color: var(--accent); }

/* Verse and duas */
.verse blockquote { font: italic 400 clamp(22px, 6.2vw, 27px) / 1.55 var(--serif); color: var(--ink); }
.verse .source { color: var(--accent); }
.wish { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; box-shadow: none; }
.wish p { font: italic 400 20px / 1.45 var(--serif); color: var(--ink); }
.wish cite { color: var(--accent); }

/* Closing: the Konkan coast at sunset, words in the sky */
.section.closing { --cw: min(100vw, 640px); position: relative; max-width: none; padding: 70px 22px calc(var(--cw) * 1.12); overflow: hidden; }
/* The painting keeps its own shape (never stretched across a wide screen); its sky sits behind the words */
.gz-end {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0;
  width: var(--cw);
  aspect-ratio: 1080 / 1935;
  translate: -50% 0;
  background: url("art/closing.webp") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
@media (max-width: 640px) {
  .gz-end { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
}
.closing > :not(.gz-end) { position: relative; max-width: 520px; margin-left: auto; margin-right: auto; }
.closing .lead { font: 400 clamp(34px, 9.6vw, 46px) / 1.2 var(--script); color: var(--accent); }
.hosts { color: var(--muted); }
.closing .btn { margin-top: 22px; }

/* Bottom shortcuts: light, like the rest */
.bar { background: rgba(255, 249, 242, 0.94); border-top: 1px solid var(--card-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bar a, .bar button { color: var(--accent); }
.bar a:active, .bar button:active { color: var(--rose); }
footer a { color: var(--muted); }

/* Premium opening film, in daylight cream instead of night */
.kw-film { background: radial-gradient(ellipse at 50% 70%, #fff6ea, var(--light) 55%, #f1d6bd); }
.kw-film-stars i { background: #fff; box-shadow: 0 0 6px rgba(255, 236, 200, 0.9); }
.kw-film-bis { color: var(--accent); }
.kw-film-sub { color: var(--muted); }
.kw-film-skyline { color: rgba(134, 103, 57, 0.28); }
.kw-film-skip { border-color: rgba(134, 103, 57, 0.4); background: rgba(255, 250, 244, 0.7); color: var(--accent); }
.kw-film-lantern svg { filter: brightness(0.75) saturate(0.6); }

/* Flip-card countdown (Standard, Premium): ivory cards, bronze numbers */
.countdown .kw-flip, .kw-flip { color: var(--accent); }
.kw-flip > span { background: linear-gradient(#fffaf4, #f8eadb); }
.kw-top::after, .kw-ftop::after { background: rgba(134, 103, 57, 0.18); }
.kw-flip::before { box-shadow: inset 0 0 0 1px #e2c7a6, 0 6px 16px rgba(134, 103, 57, 0.12); }

/* Dua lanterns (Premium): hanging in a warm evening glow instead of a dark night */
.kw-lanterns { background: radial-gradient(ellipse at 50% 0%, #fff6ea, #f6dcc4 60%, #ecc7a8); border: 1px solid #e6cdb2; }
.kw-hang svg { filter: brightness(0.8) saturate(0.55); }
.kw-hang.lit svg { filter: brightness(1.02) drop-shadow(0 0 8px #ffc874) drop-shadow(0 0 20px rgba(255, 180, 90, 0.6)); }
.kw-hang small { color: var(--accent); text-shadow: 0 1px 4px #fff6ea; font-family: var(--serif); font-size: 12px; font-weight: 500; }
.kw-hang.fresh small { color: var(--rose); }

/* "Today" bar on the function days */
.kw-today { background: var(--accent); color: #fffaf2; box-shadow: 0 14px 34px rgba(80, 55, 20, 0.3); }
.kw-today-btn { background: #fffaf2; color: var(--accent); }

/* Premium's drawn illustration is replaced here by the painted scenes */
.couple-sec { display: none !important; }

/* Sections float up gently */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .gz-glints, body::before, .seal.gz-knock, .opened .gz-scene { animation: none; }
  .gz-leaf { transition: none; }
  .opening .gz-stage { animation: none; }
}
