/* ============================================================
   WowWishes invitation — the scroll story
   A fixed-width centred column of full-height framed screens.
   Layers over invitation.css, which still owns the opening reveal,
   the music control, the share button and the preview bar.
   ============================================================ */

.invite-body.story {
    --iv-paper: #fffaf0;
    --iv-paper-2: #fdf4e4;
    --iv-ink: #4e3a28;
    --iv-ink-soft: #7a6450;
    --iv-gold: #ab8449;
    --iv-gold-soft: #d7bd8e;
    --iv-accent: #7d3346;
    --iv-surround: #eceeef;
    --iv-display: 'Cormorant Garamond', Georgia, serif;
    --iv-script: 'Great Vibes', 'Cormorant Garamond', cursive;
    --iv-caps: 'Marcellus', Georgia, serif;
    --iv-sans: 'DM Sans', system-ui, sans-serif;

    background: var(--iv-surround);
    color: var(--iv-ink);
}

/* Floral carries a softer, rosier palette. */
.invite-body.story.floral {
    --iv-paper: #fffbf8;
    --iv-paper-2: #fbf0ec;
    --iv-ink: #4f3741;
    --iv-ink-soft: #7d6470;
    --iv-gold: #b08462;
    --iv-gold-soft: #e0c3b4;
    --iv-accent: #8d4357;
}

.invite-body.story .invitation {
    max-width: 430px;
    margin: 0 auto;
    background: var(--iv-paper);
    box-shadow: 0 0 80px rgba(0, 0, 0, .14);
    overflow: clip;
}

/* ---------- a screen ---------- */

.iv-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 128px 26px 150px;
    text-align: center;
    overflow: hidden;
    scroll-margin-top: 0;
}
.iv-screen--alt { background: var(--iv-paper-2); }

/* A soft wash of artwork behind a screen. */
.iv-screen__art {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: .3;
}
.iv-screen__art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 72% 58% at 50% 48%, var(--iv-paper) 18%, rgba(255, 250, 240, .72) 52%, rgba(255, 250, 240, .3) 78%);
}
/* Only the content stack is lifted. A blanket `> *` rule here would also
   reset position on the frame and the cue, which place themselves absolutely. */
.iv-screen > .iv-stack { position: relative; z-index: 2; }

/* ---------- the frame ---------- */

.iv-frame { display: block; position: absolute; inset: 0; z-index: 1; color: var(--iv-gold); pointer-events: none; }
.iv-frame__corner { position: absolute; top: 0; width: 108px; opacity: .42; }
.iv-frame__corner.left { left: 0; }
.iv-frame__corner.right { right: 0; transform: scaleX(-1); }
.iv-frame__crown {
    position: absolute; top: 2px; left: 50%;
    transform: translateX(-50%);
    width: 122px;
    opacity: .36;
}
.iv-frame__base {
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    opacity: .4;
}

/* ---------- typography inside a screen ---------- */

.iv-screen .iv-over {
    margin: 0;
    font: 400 9px/1.9 var(--iv-sans);
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--iv-ink-soft);
}
.iv-screen .iv-script {
    margin: 0;
    font: 400 clamp(46px, 15vw, 62px)/1.05 var(--iv-script);
    color: var(--iv-accent);
}
.iv-screen .iv-title {
    margin: 0;
    font: 500 clamp(30px, 9vw, 40px)/1.12 var(--iv-display);
    letter-spacing: -.01em;
    color: var(--iv-ink);
}
.iv-screen .iv-amp {
    display: block;
    margin: 4px 0;
    font: italic 400 20px/1 var(--iv-display);
    color: var(--iv-gold);
}
.iv-screen .iv-caps {
    margin: 0;
    font: 400 12px/1.9 var(--iv-caps);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--iv-ink);
}
.iv-screen .iv-body {
    margin: 0;
    max-width: 30ch;
    font: 400 14.5px/1.95 var(--iv-sans);
    color: var(--iv-ink-soft);
}
.iv-screen .iv-fine {
    margin: 0;
    font: 400 10px/1.8 var(--iv-sans);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--iv-ink-soft);
}
.iv-rule { display: block; width: 112px; color: var(--iv-gold); opacity: .7; }

/* Vertical rhythm: their screens stack content on a consistent gap. */
.iv-stack { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.iv-stack--tight { gap: 13px; }
.iv-stack--loose { gap: 32px; }

/* ---------- the scroll cue ---------- */

.iv-cue {
    position: absolute;
    left: 50%; bottom: 30px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 6px 14px;
    text-decoration: none;
    color: var(--iv-ink-soft);
}
.iv-cue span {
    font: 400 8.5px/1 var(--iv-sans);
    letter-spacing: .32em;
    text-transform: uppercase;
}
.iv-cue i {
    display: flex;
    justify-content: center;
    width: 19px; height: 30px;
    padding-top: 6px;
    border: 1px solid var(--iv-gold-soft);
    border-radius: 999px;
}
.iv-cue b {
    width: 3px; height: 6px;
    border-radius: 999px;
    background: var(--iv-gold);
    animation: iv-cue-dot 1.9s ease-in-out infinite;
}
@keyframes iv-cue-dot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(7px); opacity: .3; }
}

/* ---------- the crest on the welcome screen ---------- */

.iv-crest { position: relative; display: grid; place-items: center; width: 118px; height: 118px; }
.iv-crest svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--iv-gold); }
.iv-crest span {
    font: 400 30px/1 var(--iv-display);
    letter-spacing: .04em;
    color: var(--iv-accent);
}
.iv-crest i { font-style: italic; color: var(--iv-gold); margin: 0 1px; }

/* ---------- the date block ---------- */

.iv-date {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 16px 26px;
    border-block: 1px solid var(--iv-gold-soft);
}
.iv-date span {
    font: 400 10px/1.5 var(--iv-sans);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--iv-ink-soft);
}
.iv-date strong {
    font: 400 44px/1 var(--iv-display);
    color: var(--iv-accent);
}

/* ---------- event screens ---------- */

.iv-count {
    font: 400 10px/1 var(--iv-caps);
    letter-spacing: .3em;
    color: var(--iv-gold);
}
.iv-count b { color: var(--iv-accent); font-weight: 400; }
.iv-meta { display: flex; flex-direction: column; gap: 7px; }
.iv-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1px solid var(--iv-gold-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    font: 400 10px/1 var(--iv-sans);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--iv-ink);
    text-decoration: none;
    transition: background .25s, border-color .25s;
}
.iv-link:hover { background: #fff; border-color: var(--iv-gold); }

/* Event screens sit on their illustrated scene. */
.iv-screen.scene-mehndi .iv-screen__art,
.iv-screen.scene-sangeet .iv-screen__art,
.iv-screen.scene-wedding .iv-screen__art { opacity: .42; }

/* ---------- gallery ---------- */

.iv-gallery {
    display: flex;
    gap: 12px;
    width: 100%;
    padding: 2px 0 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.iv-gallery::-webkit-scrollbar { display: none; }
.iv-gallery figure {
    flex: 0 0 100%;
    margin: 0;
    scroll-snap-align: center;
    border-radius: 10px;
    overflow: hidden;
    background: var(--iv-paper-2);
}
.iv-gallery img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.iv-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 18px; }
.iv-gallery-controls button {
    width: 34px; height: 34px;
    border: 1px solid var(--iv-gold-soft);
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    color: var(--iv-ink);
    cursor: pointer;
    transition: background .2s, opacity .2s;
}
.iv-gallery-controls button:hover:not(:disabled) { background: #fff; }
.iv-gallery-controls button:disabled { opacity: .3; cursor: default; }
.iv-gallery-controls span { font: 400 10px/1 var(--iv-sans); letter-spacing: .2em; color: var(--iv-ink-soft); }

/* ---------- countdown ---------- */

.iv-countdown { display: flex; gap: 10px; }
.iv-countdown > div {
    min-width: 62px;
    padding: 14px 6px;
    border: 1px solid var(--iv-gold-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, .5);
}
.iv-countdown strong { display: block; font: 400 26px/1 var(--iv-display); color: var(--iv-accent); }
.iv-countdown span { font: 400 8px/1.6 var(--iv-sans); letter-spacing: .2em; color: var(--iv-ink-soft); }

/* ---------- names / blessings lists ---------- */

.iv-names { display: flex; flex-direction: column; gap: 9px; }
.iv-names p { margin: 0; font: 400 13.5px/1.7 var(--iv-caps); letter-spacing: .1em; color: var(--iv-ink); }

/* ---------- rsvp ---------- */

.iv-form { display: flex; flex-direction: column; gap: 15px; width: 100%; max-width: 310px; text-align: left; }
.iv-form label { display: flex; flex-direction: column; gap: 7px; font: 400 9.5px/1 var(--iv-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--iv-ink-soft); }
.iv-form input,
.iv-form select {
    padding: 12px 14px;
    border: 1px solid var(--iv-gold-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, .7);
    font: 400 14px/1.4 var(--iv-sans);
    color: var(--iv-ink);
}
.iv-form input:focus, .iv-form select:focus { outline: 2px solid var(--iv-gold); outline-offset: 2px; }
.iv-btn {
    padding: 14px 26px;
    border: 1px solid var(--iv-accent);
    border-radius: 999px;
    background: var(--iv-accent);
    color: #fff8ee;
    font: 400 11px/1 var(--iv-sans);
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: opacity .25s, transform .25s;
}
.iv-btn:hover { opacity: .9; transform: translateY(-1px); }
.iv-success {
    padding: 18px 20px;
    border: 1px solid var(--iv-gold-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, .6);
    font: 400 14px/1.8 var(--iv-sans);
    color: var(--iv-ink);
}

/* ---------- closing ---------- */

.iv-made {
    display: inline-block;
    margin-top: 10px;
    font: 400 8.5px/1 var(--iv-sans);
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--iv-ink-soft);
    text-decoration: none;
    opacity: .75;
}

/* ---------- desktop surround ---------- */

@media (min-width: 540px) {
    .invite-body.story { padding: 0; }
    .invite-body.story .invitation { min-height: 100svh; }
}

@media (max-width: 380px) {
    .iv-screen { padding: 112px 20px 140px; }
    .iv-frame__corner { width: 92px; }
    .iv-countdown > div { min-width: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    .iv-cue b { animation: none; }
}

/* ============================================================
   V6 — the reference invitation's type and colour
   One face (Cinzel) throughout; raspberry for names and titles,
   antique gold for small tracked capitals; quiet ivory screens.
   ============================================================ */

.invite-body.story {
    --iv-paper: #fffaf0;
    --iv-paper-2: #fdf6ec;
    --iv-rose: #b42453;
    --iv-gold: #a8813a;
    --iv-ink: #4a3828;
    --iv-ink-deep: #2b1c12;
    --iv-cinzel: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    background: #f8f5f2;
}
.invite-body.story.floral { --iv-rose: #a3335a; --iv-paper-2: #fbf2ee; }

.iv-screen { padding: 104px 28px 176px; }
.iv-stack { gap: 20px; }

.iv-screen .iv-over { font: 600 11px/1.6 var(--iv-cinzel); letter-spacing: .38em; color: var(--iv-gold); }
.iv-screen .iv-script { font: 400 26px/1.2 var(--iv-cinzel); letter-spacing: .02em; color: var(--iv-rose); }
.iv-screen h1.iv-script { font-size: 28px; }
.iv-screen .iv-amp { display: block; margin: 8px 0; font: 400 15px/1.4 var(--iv-cinzel); font-style: normal; text-transform: lowercase; color: var(--iv-rose); }
.iv-screen .iv-title { font: 400 24px/1.4 var(--iv-cinzel); color: var(--iv-rose); }
.iv-screen .iv-caps { font: 600 13px/1.6 var(--iv-cinzel); letter-spacing: .14em; color: var(--iv-ink-deep); }
.iv-screen .iv-body { max-width: 32ch; font: 400 12px/2 var(--iv-cinzel); letter-spacing: .03em; text-transform: uppercase; color: var(--iv-ink); }
.iv-screen .iv-fine { font: 600 11px/1.6 var(--iv-cinzel); letter-spacing: .22em; color: var(--iv-gold); }
.iv-names p { font: 400 12px/2 var(--iv-cinzel); letter-spacing: .02em; text-transform: uppercase; color: var(--iv-ink); }
.iv-count { font: 400 10px/1 var(--iv-cinzel); letter-spacing: .3em; color: var(--iv-gold); }
.iv-count b { color: var(--iv-gold); }
.iv-crest span { font-family: var(--iv-cinzel); font-size: 24px; color: var(--iv-rose); }
.iv-crest i { color: var(--iv-gold); }
.iv-link, .iv-btn, .iv-made, .iv-form label { font-family: var(--iv-cinzel); }
.iv-btn { background: var(--iv-rose); border-color: var(--iv-rose); letter-spacing: .16em; }
.iv-countdown strong { font-family: var(--iv-cinzel); color: var(--iv-rose); }
.iv-countdown span { font-family: var(--iv-cinzel); color: var(--iv-gold); }
.iv-frame { color: var(--iv-gold); }
.iv-frame__corner { opacity: .32; }
.iv-frame__crown { opacity: .28; }
.iv-frame__base { opacity: .3; }

/* ---------- Save the Date card ---------- */
.iv-card {
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    padding: 18px 26px 20px;
    border: 1px solid rgba(168, 129, 58, .4);
    border-radius: 14px;
    background: rgba(255, 250, 240, .88);
    box-shadow: 0 14px 34px -18px rgba(122, 90, 36, .45);
}
.iv-card .iv-over { font-size: 12px; letter-spacing: .34em; }
.iv-card__date { margin: 0; font: 600 14px/1.25 var(--iv-cinzel); letter-spacing: .13em; text-transform: uppercase; color: var(--iv-rose); }
.iv-card__venue { margin: 0; font: 600 12px/1.25 var(--iv-cinzel); letter-spacing: .12em; text-transform: uppercase; color: #7a5a24; }

/* ---------- the scroll cue: a large tracked word over a slim capsule ---------- */
.iv-cue { bottom: 24px; gap: 10px; padding: 4px 10px; color: var(--iv-gold); }
.iv-cue span { margin-right: -.42em; font: 700 22.8px/1.5 var(--iv-cinzel); letter-spacing: .42em; text-transform: uppercase; }
.iv-cue i { position: relative; width: 6px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: rgba(43, 28, 18, .22); overflow: hidden; }
.iv-cue b { position: absolute; top: 3px; left: 1px; width: 4px; height: 11px; background: rgba(43, 28, 18, .75); }
.iv-cue--light { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.iv-cue--light i { background: rgba(255, 255, 255, .35); }
.iv-cue--light b { background: #fff; }

/* ---------- full-bleed artwork: the opening scene and every function ---------- */
.iv-scene-art {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center bottom;
    pointer-events: none;
}
.iv-screen--scene { padding: 0; background: var(--iv-paper); }

/* The scene artwork was painted with a quiet upper half; the type sits there. */
.iv-screen--event { justify-content: flex-start; padding-top: 58px; background: var(--iv-paper); }
.iv-screen--event .iv-stack { gap: 11px; }
.iv-screen--event .iv-script { font-weight: 600; font-size: 25px; }
.iv-screen--event .iv-over { font-size: 10px; letter-spacing: .26em; }
.iv-screen--event .iv-caps { font-size: 14px; letter-spacing: .2em; color: #000; }
.iv-screen--event .iv-body { font-weight: 600; font-size: 12.5px; letter-spacing: .12em; color: #000; }
.iv-screen--event .iv-rule { width: 90px; }
.iv-screen--event .iv-link { padding: 9px 18px; background: rgba(255, 255, 255, .7); }
.iv-screen--event.is-dark .iv-script,
.iv-screen--event.is-dark .iv-over,
.iv-screen--event.is-dark .iv-caps,
.iv-screen--event.is-dark .iv-body,
.iv-screen--event.is-dark .iv-count,
.iv-screen--event.is-dark .iv-count b,
.iv-screen--event.is-dark .iv-rule { color: #fff; }
.iv-screen--event.is-dark .iv-stack { text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }
.iv-screen--event.is-dark .iv-link { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); }

/* ---------- sound: a small round button, bottom right of the column ---------- */
.invite-body.story .music-control {
    top: auto; bottom: 24px; left: auto;
    right: max(14px, calc(50vw - 215px + 14px));
    display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%;
    background: rgba(70, 70, 70, .55);
    color: #fff; font-size: 17px;
    backdrop-filter: blur(6px);
}
.invite-body.story .music-control span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.invite-body.story .share-invitation { bottom: 28px; left: max(14px, calc(50vw - 215px + 14px)); transform: none; font-family: var(--iv-cinzel); }

/* ============================================================
   V7 — scene clips, the schedule and the countdown
   ============================================================ */

/* Until a clip is dropped in, the still artwork breathes: a slow push towards
   the foreground, anchored at the base where the figures stand. */
.iv-scene-art.is-living { transform-origin: 50% 100%; animation: iv-living 16s ease-in-out infinite alternate; }
@keyframes iv-living { from { transform: scale(1); } to { transform: scale(1.07); } }
.iv-screen--scene .petal-layer { z-index: 1; }
.iv-screen--scene .iv-cue { z-index: 2; }

/* ---------- the schedule: one arched card per function ---------- */
.iv-flourish { margin: 0; font: 400 46px/1.05 'Great Vibes', cursive; color: var(--iv-gold); }
.iv-schedule {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    width: 100%;
    max-width: 330px;
}
.iv-arch {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 30px 10px 24px;
    text-align: center;
    border: 1px solid rgba(168, 129, 58, .55);
    border-radius: 50% 50% 12px 12px / 62px 62px 12px 12px;
    background: rgba(255, 250, 240, .92);
    box-shadow: inset 0 0 0 4px var(--iv-paper), inset 0 0 0 5px rgba(168, 129, 58, .26), 0 10px 22px -16px rgba(122, 90, 36, .55);
}
/* An odd function out sits centred beneath the pairs. */
.iv-arch:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
.iv-arch__name { margin: 0 0 2px; font: 400 23px/1.1 'Great Vibes', cursive; color: var(--iv-gold); }
.iv-arch__date { margin: 0; font: 600 12px/1.4 var(--iv-cinzel); letter-spacing: .1em; color: var(--iv-ink-deep); }
.iv-arch__meta { margin: 0; font: 400 9px/1.5 var(--iv-cinzel); letter-spacing: .12em; text-transform: uppercase; color: var(--iv-ink); }
.iv-arch__bloom { margin-top: 6px; font-size: 11px; letter-spacing: .25em; color: #d98aa0; }

/* ---------- the countdown: plaques with a flower at either end ---------- */
.iv-countdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; width: 100%; max-width: 320px; }
.iv-countdown > .iv-plaque {
    position: relative;
    display: flex; align-items: baseline; justify-content: center; gap: 7px;
    min-width: 0;
    padding: 15px 14px;
    border: 1px solid rgba(168, 129, 58, .55);
    border-radius: 40px;
    background: rgba(255, 250, 240, .94);
    box-shadow: inset 0 0 0 4px var(--iv-paper), inset 0 0 0 5px rgba(168, 129, 58, .24), 0 8px 20px -14px rgba(122, 90, 36, .5);
}
.iv-plaque::before, .iv-plaque::after {
    content: '❀';
    position: absolute; top: 50%;
    transform: translateY(-50%);
    font-size: 15px; line-height: 1;
    color: #d98aa0;
}
.iv-plaque::before { left: -8px; }
.iv-plaque::after { right: -8px; }
.iv-countdown .iv-plaque strong { display: inline; font: 600 18px/1 var(--iv-cinzel); color: var(--iv-ink-deep); }
.iv-countdown .iv-plaque span { font: 600 9.5px/1 var(--iv-cinzel); letter-spacing: .16em; color: var(--iv-ink); }

@media (prefers-reduced-motion: reduce) {
    .iv-scene-art.is-living { animation: none; }
}

/* The monogram's letters sit in a span so a crest can be layered behind them. */
.monogram { position: relative; }
.monogram > span { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; }

/* ============================================================
   V10 — Punjabi Celebration
   Phulkari magenta, mustard and parrot green on warm cream.
   Rozha One for names and titles; Cinzel stays for small capitals.
   ============================================================ */

.invite-body.story.punjabi {
    --iv-paper: #fff6e8;
    --iv-paper-2: #fdecd6;
    --iv-rose: #b3145b;
    --iv-gold: #a35e08;
    --iv-gold-soft: #ecc17a;
    --iv-green: #15784a;
    --iv-saffron: #f2a516;
    --iv-ink: #4a2a17;
    --iv-ink-deep: #2c140a;
    --iv-rozha: 'Rozha One', 'Cormorant Garamond', Georgia, serif;
    --phk-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M7 0l7 7-7 7-7-7z' fill='%23b3145b'/%3E%3Cpath d='M21 0l7 7-7 7-7-7z' fill='%2315784a'/%3E%3Cpath d='M14 4l3 3-3 3-3-3z' fill='%23f2a516'/%3E%3Cpath d='M0 4l3 3-3 3z M28 4l-3 3 3 3z' fill='%23f2a516'/%3E%3C/svg%3E");
    background: #f6eee3;
}
.phk-a { fill: var(--iv-rose); }
.phk-b { fill: var(--iv-green); }
.phk-c { fill: var(--iv-saffron); }

/* A stitched band along the top and foot of every framed screen. */
.punjabi .iv-screen:not(.iv-screen--scene):not(.iv-screen--event)::before,
.punjabi .iv-screen:not(.iv-screen--scene):not(.iv-screen--event)::after {
    content: '';
    position: absolute; left: 0; right: 0; z-index: 1;
    height: 9px;
    background: var(--phk-band) center / auto 100% repeat-x;
    opacity: .9;
}
.punjabi .iv-screen:not(.iv-screen--scene):not(.iv-screen--event)::before { top: 0; }
.punjabi .iv-screen:not(.iv-screen--scene):not(.iv-screen--event)::after { bottom: 0; }
.punjabi .iv-screen--alt { background: var(--iv-paper-2) radial-gradient(ellipse 80% 60% at 50% 45%, #fff8ec, transparent 70%); }
.punjabi .iv-frame__corner { top: 14px; width: 92px; opacity: .8; }
.punjabi .iv-frame__corner.left { left: 10px; }
.punjabi .iv-frame__corner.right { right: 10px; }
.punjabi .iv-frame__crown { top: 22px; width: 118px; opacity: .9; }
.punjabi .iv-frame__base { bottom: 10px; opacity: .55; }

.punjabi .iv-screen .iv-script { font: 400 34px/1.12 var(--iv-rozha); letter-spacing: 0; color: var(--iv-rose); }
.punjabi .iv-screen h1.iv-script { font-size: 44px; line-height: 1.02; }
.punjabi .iv-screen .iv-amp { margin: 10px 0 8px; font: italic 500 21px/1 'Cormorant Garamond', Georgia, serif; text-transform: none; color: var(--iv-green); }
.punjabi .iv-screen .iv-title { font-family: var(--iv-rozha); }
.punjabi .iv-screen .iv-over { color: var(--iv-gold); }
.punjabi .iv-crest { color: var(--iv-gold); }
.punjabi .iv-crest span { font: 400 30px/1 var(--iv-rozha); color: var(--iv-rose); }
.punjabi .iv-crest i { font: italic 500 18px/1 'Cormorant Garamond', serif; color: var(--iv-green); }
.punjabi .iv-rule { width: 128px; opacity: 1; }
.punjabi .iv-flourish { font: 400 38px/1.1 var(--iv-rozha); color: var(--iv-rose); }
.punjabi .iv-btn { background: var(--iv-rose); border-color: var(--iv-rose); box-shadow: 0 10px 24px -14px rgba(179, 20, 91, .8); }
.punjabi .iv-cue { color: var(--iv-rose); }
.punjabi .iv-cue--light { color: #fff; }

.punjabi .iv-card {
    position: relative;
    padding: 26px 30px 22px;
    border: 1px solid rgba(179, 20, 91, .3);
    background: #fffaf1;
    box-shadow: inset 0 0 0 5px #fffaf1, inset 0 0 0 6px rgba(21, 120, 74, .28), 0 18px 36px -20px rgba(120, 40, 20, .5);
    overflow: hidden;
}
.punjabi .iv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--phk-band) center / auto 100% repeat-x; }
.punjabi .iv-card__date { font-family: var(--iv-rozha); font-size: 22px; letter-spacing: .02em; text-transform: none; }
.punjabi .iv-card__venue { color: var(--iv-green); }

.punjabi .iv-arch {
    border-color: rgba(179, 20, 91, .45);
    background: #fffaf1;
    box-shadow: inset 0 0 0 4px #fffaf1, inset 0 0 0 5px rgba(21, 120, 74, .32), 0 12px 24px -16px rgba(120, 40, 20, .6);
}
.punjabi .iv-arch::before { content: ''; position: absolute; top: 9px; left: 50%; width: 42px; height: 7px; transform: translateX(-50%); background: var(--phk-band) center / auto 100% repeat-x; }
.punjabi .iv-arch__name { font: 400 21px/1.1 var(--iv-rozha); color: var(--iv-rose); }
.punjabi .iv-arch__bloom { font-size: 0; }
.punjabi .iv-arch__bloom::before { content: '✦ ✦ ✦'; font-size: 10px; letter-spacing: .3em; color: var(--iv-saffron); }

.punjabi .iv-countdown > .iv-plaque { border-color: rgba(179, 20, 91, .45); background: #fffaf1; box-shadow: inset 0 0 0 4px #fffaf1, inset 0 0 0 5px rgba(21, 120, 74, .3), 0 8px 20px -14px rgba(120, 40, 20, .55); }
.punjabi .iv-plaque::before, .punjabi .iv-plaque::after { content: '✦'; color: var(--iv-saffron); }
.punjabi .iv-countdown .iv-plaque strong { font: 400 22px/1 var(--iv-rozha); color: var(--iv-rose); }

.punjabi .iv-screen--event .iv-script { font-size: 36px; }
.punjabi .iv-screen--event .iv-over { font-weight: 700; }
.punjabi .iv-screen--event .iv-count b { color: var(--iv-rose); }
.punjabi .iv-screen--event.is-dark .iv-count b { color: var(--iv-saffron); }
.punjabi .iv-screen--event.is-dark .iv-script { color: #ffd36b; }

/* Marigold petals instead of rose petals. */
.punjabi .petal-layer i { background: #f5a316; border-radius: 50% 50% 50% 10%; }
.punjabi .petal-layer i:nth-child(3n) { background: #e86a12; }
.punjabi .petal-layer i:nth-child(4n) { background: #c8155f; }

/* ---------- the opening: phulkari curtains under a marigold toran ---------- */
.opening.curtains { background-color: #3b0d22; background-position: center bottom; background-size: cover; background-repeat: no-repeat; }
.curtains .opening-panel {
    z-index: 1;
    background-color: #a8114f;
    background-image:
        repeating-linear-gradient(90deg, rgba(60, 0, 20, .26) 0 5px, transparent 5px 22px, rgba(255, 220, 230, .09) 22px 30px, transparent 30px 44px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='%23f2a516'%3E%3Cpath d='M28 6l6 22-6 22-6-22z' opacity='.9'/%3E%3Cpath d='M6 28l22-6 22 6-22 6z' opacity='.9'/%3E%3C/g%3E%3Cpath d='M28 18l4 10-4 10-4-10z' fill='%2315784a'/%3E%3Ccircle cx='28' cy='28' r='2.4' fill='%23fff3c8'/%3E%3Cpath d='M0 0l5 5-5 5zM56 0l-5 5 5 5zM0 46l5 5-5 5zM56 46l-5 5 5 5z' fill='%23f2a516' opacity='.7'/%3E%3C/svg%3E");
    background-size: 100% 100%, 56px 56px;
    box-shadow: inset 0 -60px 80px -40px rgba(40, 0, 15, .55);
    transition: transform 1.7s cubic-bezier(.7, 0, .2, 1), filter 1.7s;
}
.curtains .opening-panel.left { transform-origin: left center; }
.curtains .opening-panel.right { transform-origin: right center; }
/* The embroidered border where the two curtains meet. */
.curtains .opening-panel::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 22px;
    background: var(--phk-band, none) center / 100% auto repeat-y, #f2a516;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 1l9 10-9 10-9-10z' fill='%2315784a'/%3E%3Cpath d='M11 6l4 5-4 5-4-5z' fill='%23b3145b'/%3E%3C/svg%3E");
    background-size: 22px 22px;
    box-shadow: 0 0 18px rgba(40, 0, 15, .5);
}
.curtains .opening-panel.left::after { right: 0; }
.curtains .opening-panel.right::after { left: 0; }
.curtain-tassel { position: absolute; top: 60%; z-index: 2; width: 12px; height: 54px; border-radius: 6px 6px 4px 4px; background: repeating-linear-gradient(90deg, #c47a0c 0 2px, #f6c04a 2px 4px); box-shadow: 0 6px 12px rgba(0, 0, 0, .3); }
.curtain-tassel::before { content: ''; position: absolute; top: -14px; left: -3px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe39a, #d48a10 60%, #9a5a06); }
.curtains .left .curtain-tassel { right: 32px; }
.curtains .right .curtain-tassel { left: 32px; }
.opening.curtains.is-open .opening-panel.left { transform: translateX(-12%) scaleX(.16); filter: brightness(.7); }
.opening.curtains.is-open .opening-panel.right { transform: translateX(12%) scaleX(.16); filter: brightness(.7); }

/* Strands of marigolds, with mango leaves, hung along the top. */
.opening-toran { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: 0 6px; pointer-events: none; transition: transform 1.1s cubic-bezier(.6, 0, .3, 1) .15s; }
.opening-toran::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 16px; background: repeating-linear-gradient(90deg, #1e7a3c 0 10px, #2f9a4d 10px 14px); clip-path: polygon(0 0, 100% 0, 100% 40%, 97% 100%, 94% 40%, 91% 100%, 88% 40%, 85% 100%, 82% 40%, 79% 100%, 76% 40%, 73% 100%, 70% 40%, 67% 100%, 64% 40%, 61% 100%, 58% 40%, 55% 100%, 52% 40%, 49% 100%, 46% 40%, 43% 100%, 40% 40%, 37% 100%, 34% 40%, 31% 100%, 28% 40%, 25% 100%, 22% 40%, 19% 100%, 16% 40%, 13% 100%, 10% 40%, 7% 100%, 4% 40%, 1% 100%, 0 40%); }
.opening-toran i {
    position: relative;
    width: 15px; height: 92px;
    background: radial-gradient(circle at 50% 50%, #ffc23a 0 4px, #f29a12 4.5px 6px, #d8700a 6.5px 7px, transparent 7.5px) center top / 15px 13px repeat-y;
    transform-origin: top center;
    animation: toran-sway 3.6s ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * -.37s);
}
.opening-toran i:nth-child(even) { height: 66px; background-image: radial-gradient(circle at 50% 50%, #ffe08a 0 4px, #f5b52a 4.5px 6px, #d88a10 6.5px 7px, transparent 7.5px); }
.opening-toran i:nth-child(3n) { height: 118px; }
.opening-toran i::after { content: ''; position: absolute; bottom: -9px; left: 50%; width: 8px; height: 12px; transform: translateX(-50%); border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; background: #c8155f; }
@keyframes toran-sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.opening.curtains.is-open .opening-toran { transform: translateY(-110%); }

.curtains .opening-content { inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 34px 0; color: #fff3dc; }
.curtains .overline { font: 700 11px/1.6 'Cinzel', serif; letter-spacing: .32em; text-transform: uppercase; color: #ffd36b; text-shadow: 0 1px 8px rgba(40, 0, 15, .6); }
.curtains .monogram { width: 168px; height: 168px; margin: 26px auto 22px; border: 0; outline: 0; border-radius: 50%; background: radial-gradient(circle, #fff6e3 0 58%, #fbe3b6 72%); box-shadow: 0 0 0 6px rgba(242, 165, 22, .55), 0 18px 40px rgba(40, 0, 15, .55); font: 400 50px/1 'Rozha One', serif; color: #b3145b; }
.curtains .monogram i { font: italic 500 24px/1 'Cormorant Garamond', serif; color: #15784a; }
.curtains .monogram-crest { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); color: #c47a0c; }
.curtains .envelope-message { margin-bottom: 26px; font: italic 500 23px/1.3 'Cormorant Garamond', serif; color: #fff3dc; text-shadow: 0 1px 10px rgba(40, 0, 15, .7); }
.curtains .opening-content button { border: 0; background: linear-gradient(180deg, #ffd36b, #f2a516); color: #5a1030; font: 700 10.5px/1 'Cinzel', serif; letter-spacing: .16em; padding: 15px 26px; box-shadow: 0 10px 26px rgba(40, 0, 15, .55); }
.curtains .opening-content small { color: #ffe7b5; font-family: 'Cinzel', serif; letter-spacing: .14em; }

@media (prefers-reduced-motion: reduce) {
    .opening-toran i { animation: none; }
}

/* ============================================================
   V11 — Floral Romance, its own garden voice
   Script names in Great Vibes, Cormorant italics, sage over-lines
   and a dusty rose; the floral line art stays.
   ============================================================ */

.invite-body.story.floral {
    --iv-rose: #a03c5e;
    --iv-gold: #9a7a52;
    --iv-sage: #5d7858;
    --iv-paper: #fffbf7;
    --iv-paper-2: #fbf1ec;
    --iv-ink: #4f3741;
    --iv-ink-deep: #3a2530;
}
.floral .iv-screen .iv-over { color: var(--iv-sage); letter-spacing: .32em; }
.floral .iv-screen .iv-script { font: 400 50px/1.02 'Great Vibes', cursive; letter-spacing: 0; color: var(--iv-rose); }
.floral .iv-screen h1.iv-script { font-size: 58px; }
.floral .iv-screen .iv-amp { margin: 4px 0; font: italic 400 22px/1 'Cormorant Garamond', Georgia, serif; text-transform: none; color: var(--iv-sage); }
.floral .iv-screen .iv-title { font: italic 500 30px/1.2 'Cormorant Garamond', Georgia, serif; }
.floral .iv-screen .iv-body { font: italic 400 17px/1.7 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; text-transform: none; }
.floral .iv-crest span { font: italic 500 30px/1 'Cormorant Garamond', serif; }
.floral .iv-frame { color: #b3907a; }
.floral .iv-flourish { color: var(--iv-rose); }
.floral .iv-card { border-radius: 120px 120px 16px 16px; padding: 34px 30px 22px; border-color: rgba(160, 60, 94, .3); background: #fffaf7; box-shadow: inset 0 0 0 5px #fffaf7, inset 0 0 0 6px rgba(93, 120, 88, .3), 0 16px 34px -20px rgba(110, 50, 70, .45); }
.floral .iv-card__date { font: italic 500 22px/1.2 'Cormorant Garamond', serif; letter-spacing: .02em; text-transform: none; }
.floral .iv-card__venue { color: var(--iv-sage); }
.floral .iv-arch { border-color: rgba(160, 60, 94, .38); background: #fffaf7; box-shadow: inset 0 0 0 4px #fffaf7, inset 0 0 0 5px rgba(93, 120, 88, .28), 0 10px 22px -16px rgba(110, 50, 70, .5); }
.floral .iv-arch__name { color: var(--iv-rose); font-size: 26px; }
.floral .iv-arch__bloom, .floral .iv-plaque::before, .floral .iv-plaque::after { color: #e3a0b0; }
.floral .iv-countdown .iv-plaque strong { font: italic 500 22px/1 'Cormorant Garamond', serif; color: var(--iv-rose); }
.floral .iv-btn { background: var(--iv-rose); border-color: var(--iv-rose); }
.floral .iv-cue { color: var(--iv-sage); }
.floral .iv-cue--light { color: #fff; }
.floral .iv-screen--event .iv-script { font-weight: 400; font-size: 54px; }
.floral .iv-screen--event .iv-over { font-size: 10px; font-weight: 700; color: var(--iv-sage); }
.floral .iv-screen--event.is-dark .iv-over { color: #f6e3c8; }
.floral .iv-screen--event.is-dark .iv-script { color: #ffe4ec; }
.floral .iv-screen--event .iv-caps { color: var(--iv-ink-deep); }
.floral .iv-screen--event.is-dark .iv-caps { color: #fff; }
/* A soft shade behind the words so they read over the embroidery. */
.curtains .opening-content::before { content: ''; position: absolute; left: 50%; top: 52%; z-index: -1; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(58, 4, 28, .78) 0 30%, rgba(58, 4, 28, .45) 45%, transparent 66%); pointer-events: none; }
.floral .iv-card { border-radius: 999px 999px 16px 16px / 64px 64px 16px 16px; padding-top: 40px; }
/* A soft shade at the foot of each scene keeps the white SCROLL cue legible
   over light artwork, whatever image or clip is dropped in. */
.punjabi .iv-screen--event::after,
.floral .iv-screen--event::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 24%; background: linear-gradient(rgba(30, 14, 8, 0), rgba(30, 14, 8, .42)); pointer-events: none; }
.punjabi .iv-screen--event .iv-cue,
.floral .iv-screen--event .iv-cue { z-index: 2; }
