/* Collection "Lumină înainte" (ADR-0113): twenty models about the future as light, ten for weddings and ten for
   baptisms, as a cover collection on the shared motion engine (css/invitation-motion.css, ADR-0069). The engine draws
   the cover, the scene, the particles, the entrances, the parallax and the wide layout; this file keeps the taste of
   the collection and its models, each a block of --pv-* variables plus the slots it switches on
   (docs/invitation-templates.md §9).
   The future here is light, not neon on black: eight of the twelve palettes are daylight, and the four night ones
   keep a warm accent. What is new is the opening: every cover leaves in several steps through --pv-open-anim, a
   choreography of 1.2–1.8 s — an iris of blades, a horizon rising, a gate coming apart into bands, a wave of light
   crossing the screen, rings of water widening, a tunnel of arcs. Nothing but transform and opacity moves, nothing is
   blurred and no filter runs on a frame, so a cheap phone draws it as smoothly as a new one.
   With a photograph the cover is the photograph and leaves with the engine's slow zoom (the engine decides that).
   The drawings come from tools/invitations/lumina-inainte-svg.pl. */

/* ================= the collection: its taste ================= */

.inv-c--lumina-inainte {
    --pv-divider: url(../../img/invitations/ornaments/lumina-inainte-divider.svg);
    --pv-divider-ratio: 300 / 24;
    --pv-deco: url(../../img/invitations/ornaments/lumina-inainte-deco.svg);
    --pv-deco-display: block;
    --pv-deco-ratio: 250 / 40;
    --pv-deco-opacity: .35;
    --pv-band: color-mix(in srgb, var(--inv-ornament) 55%, var(--inv-bg));
    --pv-dust-display: block;
    --pv-dust: var(--inv-primary);
    --pv-dust-opacity: .14;
    --pv-dust-time: 26s;
    --pv-far-h: 0px;
    --pv-near-h: 0px;
    --pv-in-time: .9s;
    --f-display: "Outfit", "Segoe UI", sans-serif;
    --f-body: "Jost", "Segoe UI", sans-serif;
    --f-names: "Outfit", "Segoe UI", sans-serif;
    --names-weight: 300;
    --names-transform: uppercase;
    --names-spacing: .16em;
    --names-line: 1.18;
    --kicker-transform: uppercase;
    --kicker-spacing: .34em;
    --kicker-weight: 500;
    --date-spacing: .24em;
    --heading-transform: uppercase;
    --heading-spacing: .22em;
    --heading-weight: 500;
    --heading-size: 1rem;
    --label-transform: uppercase;
    --label-spacing: .18em;
    --box-bg: color-mix(in srgb, var(--inv-surface) 72%, transparent);
    --box-border: 1px solid var(--inv-line);
    --box-radius: 18px;
    --box-shadow: none;
    --card-radius: 22px;
    --card-shadow: none;
    --card-border: 1px solid var(--inv-line);
    --button-radius: 999px;
    --button-transform: uppercase;
    --button-spacing: .18em;
    --photo-radius: 20px;
    --amb-image: url(../../img/invitations/ornaments/lumina-inainte-spark.svg);
    --amb-radius: 0;
    --amb-size: 7px;
    --amb-anim: inv-rise;
    --amb-duration: 19s;
    --amb-fill: var(--inv-primary);
    --amb-opacity: .4;
    --pv-cover-anim: inv-rise;
    --pv-letter-step: 48ms;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 900;
}

/* A still speckle over the backdrop: wide gradients band on a six-bit screen, and a static grain hides it with no
   filter and no cost per frame. */
.inv-c--lumina-inainte .inv__texture {
    display: block;
    --texture-image: url(../../img/invitations/textures/lumina-inainte-grain.svg);
    --texture-size: 160px 160px;
    --texture-opacity: .5;
    --texture-fill: var(--inv-muted);
}

.inv-c--lumina-inainte .orn--divider {
    display: block;
    --orn-image: var(--pv-divider);
    --orn-ratio: var(--pv-divider-ratio);
    --orn-width: 58%;
    --orn-max: 300px;
    --orn-fill: var(--inv-primary);
}

.inv-c--lumina-inainte .orn--heading {
    display: block;
    --orn-image: url(../../img/invitations/ornaments/lumina-inainte-dash.svg);
    --orn-ratio: 40 / 8;
    --orn-width: 40px;
    --orn-max: 40px;
    --orn-margin: -4px auto 20px;
    --orn-fill: var(--inv-primary);
}

.inv-c--lumina-inainte .orn--hero-divider {
    display: block;
    --orn-image: url(../../img/invitations/ornaments/lumina-inainte-dash.svg);
    --orn-ratio: 40 / 8;
    --orn-width: 56px;
    --orn-max: 56px;
    --orn-margin: 14px auto;
    --orn-fill: var(--inv-primary);
    --orn-opacity: .8;
}

/* The signature drawing of a model sits on the near layer: one colour, large, low. */
.inv-c--lumina-inainte {
    --pv-near-fill: var(--inv-primary);
    --pv-near-repeat: no-repeat;
    --pv-near-size: auto 100%;
}

/* ================= the openings of the collection ================= */

/* An iris of blades: the cover draws breath, turns a little and opens out of the point the finger touched. */
@keyframes lumina-inainte-iris {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    22% { transform: scale(.955) rotate(-2deg); opacity: 1; }
    100% { transform: scale(2.1) rotate(9deg); opacity: 0; }
}

/* The horizon: the cover settles, then rises off the screen like a sun. */
@keyframes lumina-inainte-horizon-open {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    26% { transform: translateY(2.5%) scale(1.02); opacity: 1; }
    100% { transform: translateY(-104%) scale(1.06); opacity: .96; }
}

/* A wave of light crosses the cover in a diagonal, and the cover follows it away. */
@keyframes lumina-inainte-wave {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    30% { transform: translate(2%, -1%) scale(1.015); opacity: 1; }
    100% { transform: translate(44%, -26%) scale(1.3); opacity: 0; }
}

/* A tunnel: the cover rushes past the guest in one long acceleration. */
@keyframes lumina-inainte-tunnel {
    0% { transform: scale(1); opacity: 1; }
    18% { transform: scale(1.03); opacity: 1; }
    100% { transform: scale(3.4); opacity: 0; }
}

/* The cover folds into a line of light and the line goes out. */
@keyframes lumina-inainte-fold {
    0% { transform: scaleY(1) scaleX(1); opacity: 1; }
    58% { transform: scaleY(.1) scaleX(1.02); opacity: 1; }
    100% { transform: scaleY(.012) scaleX(.2); opacity: 0; }
}

/* The cover is drawn down, as if the page below pulled it. */
@keyframes lumina-inainte-sink {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    24% { transform: translateY(-2.5%) scale(1.01); opacity: 1; }
    100% { transform: translateY(104%) scale(.92); opacity: .9; }
}

/* Rings of water: the cover widens twice and lets the light through. */
@keyframes lumina-inainte-ripple {
    0% { transform: scale(1); opacity: 1; }
    30% { transform: scale(1.06); opacity: .9; }
    60% { transform: scale(1.02); opacity: .7; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* The cover turns a quarter and withdraws. */
@keyframes lumina-inainte-turn {
    0% { transform: rotate(0deg) scale(1); opacity: 1; }
    30% { transform: rotate(-4deg) scale(1.02); opacity: 1; }
    100% { transform: rotate(-22deg) scale(.4); opacity: 0; }
}

/* Steps: the cover climbs in three hops and leaves. */
@keyframes lumina-inainte-steps-up {
    0% { transform: translateY(0); opacity: 1; }
    30% { transform: translateY(-9%); opacity: 1; }
    52% { transform: translateY(-14%); opacity: 1; }
    74% { transform: translateY(-34%); opacity: .9; }
    100% { transform: translateY(-104%); opacity: .85; }
}

/* The light opens out of the middle and swallows the cover. */
@keyframes lumina-inainte-bloom {
    0% { transform: scale(1); opacity: 1; }
    34% { transform: scale(.93); opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* ================= the signature loops ================= */

/* A pulse so slow it reads as breathing, for the drawing on the first screen. */
@keyframes lumina-inainte-breathe {
    0%, 100% { transform: scale(1); opacity: .9; }
    50% { transform: scale(1.035); opacity: 1; }
}

/* A very slow drift sideways, for a horizon or a ladder. */
@keyframes lumina-inainte-drift {
    0%, 100% { transform: translateX(-1.5%); }
    50% { transform: translateX(1.5%); }
}

/* ================= the ten weddings ================= */

.inv--orizont {
    --pv-sky:
        radial-gradient(130% 60% at 50% 86%, color-mix(in srgb, var(--inv-primary) 26%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-accent) 12%, transparent), transparent 56%);
    --pv-horizon: 70%;
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-horizon.svg);
    --pv-near-h: 140px;
    --pv-near-size: 110% auto;
    --names-size: clamp(2rem, 11cqi, 4.6rem);
    --pv-cover-names: clamp(1.8rem, 10cqi, 4.4rem);
    --pv-open: translateY(-104%);
    --pv-open-opacity: .96;
    --pv-open-anim: lumina-inainte-horizon-open 1.5s cubic-bezier(.4, 0, .2, 1) both;
    --pv-open-ms: 1700;
    --pv-reveal-ms: 850;
    --pv-orn-anim: lumina-inainte-drift;
    --pv-orn-time: 22s;
    --pv-rays-display: block;
    --pv-rays: color-mix(in srgb, var(--inv-primary) 30%, transparent);
    --pv-rays-opacity: .5;
    --pv-rays-time: 20s;
}

.inv--doua-lumini {
    --f-names: "Cormorant Garamond", Georgia, serif;
    --names-weight: 300;
    --names-transform: none;
    --names-spacing: .04em;
    --names-size: clamp(2.3rem, 13cqi, 5.2rem);
    --pv-cover-names: clamp(2rem, 11cqi, 4.8rem);
    --amp-font: "Cormorant Garamond", Georgia, serif;
    --amp-style: italic;
    --pv-sky:
        radial-gradient(44% 30% at 32% 42%, color-mix(in srgb, var(--inv-primary) 34%, transparent), transparent 70%),
        radial-gradient(44% 30% at 68% 58%, color-mix(in srgb, var(--inv-accent) 28%, transparent), transparent 70%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-two-lights.svg);
    --pv-near-h: 150px;
    --pv-near-size: 100% auto;
    --pv-open: scale(2.6);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-bloom 1.6s cubic-bezier(.5, 0, .25, 1) both;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 1000;
    --pv-bloom-display: block;
    --pv-bloom: color-mix(in srgb, var(--inv-primary) 60%, var(--inv-surface));
    --pv-orn-anim: lumina-inainte-breathe;
    --pv-orn-time: 11s;
}

.inv--inel-de-lumina {
    --f-names: "Tenor Sans", "Segoe UI", sans-serif;
    --names-spacing: .3em;
    --names-size: clamp(1.7rem, 9cqi, 3.8rem);
    --pv-cover-names: clamp(1.5rem, 8cqi, 3.6rem);
    --kicker-spacing: .3em;
    --pv-sky:
        radial-gradient(60% 46% at 50% 44%, color-mix(in srgb, var(--inv-primary) 20%, transparent), transparent 74%),
        linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--inv-ornament) 50%, transparent));
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-ring.svg);
    --pv-near-h: 150px;
    --pv-near-size: auto 100%;
    --pv-open: scale(2.1) rotate(9deg);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-iris 1.4s cubic-bezier(.45, 0, .2, 1) both;
    --pv-open-ms: 1600;
    --pv-reveal-ms: 820;
    --pv-orn-anim: inv-breathe;
    --pv-orn-time: 14s;
    --pv-sheen-display: block;
    --pv-sheen: color-mix(in srgb, var(--inv-primary) 26%, transparent);
    --pv-sheen-opacity: .5;
    --pv-sheen-time: 12s;
}

/* The gate comes apart: the two doors are the bands, and they leave from the middle outwards. */
.inv--poarta-de-maine {
    --names-spacing: .2em;
    --names-size: clamp(1.8rem, 10cqi, 4.2rem);
    --pv-cover-names: clamp(1.6rem, 9cqi, 4rem);
    --pv-sky: linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 16%, transparent), transparent 62%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-gate.svg);
    --pv-near-h: 200px;
    --pv-near-size: auto 100%;
    --pv-door-display: block;
    --pv-door-fill: linear-gradient(180deg, var(--inv-bg) 0 2px, color-mix(in srgb, var(--inv-bg) 94%, var(--inv-primary)) 2px 10px) 0 0 / 100% 12px repeat-y;
    --pv-open: scale(1.04);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-fold 1.5s cubic-bezier(.5, 0, .2, 1) both;
    --pv-open-ms: 1700;
    --pv-reveal-ms: 900;
}

.inv--poarta-de-maine .inv-envelope.is-opening .inv-envelope__door--l { transform: translateX(-112%); }
.inv--poarta-de-maine .inv-envelope.is-opening .inv-envelope__door--r { transform: translateX(112%); }

.inv--rasarit-lung {
    --f-names: "Gilda Display", Georgia, serif;
    --names-transform: none;
    --names-spacing: .06em;
    --names-size: clamp(2.1rem, 12cqi, 4.8rem);
    --pv-cover-names: clamp(1.9rem, 10cqi, 4.4rem);
    --pv-sky:
        radial-gradient(120% 70% at 50% 100%, color-mix(in srgb, var(--inv-accent) 30%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 10%, transparent), transparent 50%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-rays.svg);
    --pv-near-h: 180px;
    --pv-near-size: 120% auto;
    --pv-open: translate(44%, -26%) scale(1.3);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-wave 1.5s cubic-bezier(.4, 0, .25, 1) both;
    --pv-open-ms: 1700;
    --pv-reveal-ms: 880;
    --pv-orn-anim: lumina-inainte-breathe;
    --pv-orn-time: 16s;
    --pv-rays-display: block;
    --pv-rays: color-mix(in srgb, var(--inv-accent) 34%, transparent);
    --pv-rays-opacity: .45;
    --pv-rays-time: 24s;
}

.inv--fir-de-argint {
    --f-names: "Tenor Sans", "Segoe UI", sans-serif;
    --names-spacing: .24em;
    --names-size: clamp(1.7rem, 9.5cqi, 4rem);
    --pv-cover-names: clamp(1.5rem, 8.5cqi, 3.8rem);
    --pv-sky:
        linear-gradient(118deg, transparent 34%, color-mix(in srgb, var(--inv-primary) 30%, transparent) 50%, transparent 66%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-ornament) 50%, transparent), transparent 60%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-threads.svg);
    --pv-near-h: 200px;
    --pv-near-size: auto 100%;
    --pv-open: translate(44%, -26%) scale(1.3);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-wave 1.4s cubic-bezier(.35, 0, .25, 1) both;
    --pv-open-ms: 1600;
    --pv-reveal-ms: 840;
    --pv-sheen-display: block;
    --pv-sheen: color-mix(in srgb, var(--inv-text) 18%, transparent);
    --pv-sheen-opacity: .6;
    --pv-sheen-time: 9s;
}

.inv--cupola {
    --f-names: "Cormorant Garamond", Georgia, serif;
    --names-transform: none;
    --names-spacing: .05em;
    --names-size: clamp(2.2rem, 12cqi, 5rem);
    --pv-cover-names: clamp(2rem, 11cqi, 4.6rem);
    --amp-font: "Cormorant Garamond", Georgia, serif;
    --amp-style: italic;
    --pv-sky: radial-gradient(90% 56% at 50% 70%, color-mix(in srgb, var(--inv-primary) 18%, transparent), transparent 76%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-arcade.svg);
    --pv-near-h: 180px;
    --pv-near-size: auto 100%;
    --pv-open: scale(3.4);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-tunnel 1.6s cubic-bezier(.55, 0, .3, 1) both;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 1000;
    --pv-orn-anim: inv-breathe;
    --pv-orn-time: 15s;
}

.inv--nordul-nostru {
    --names-spacing: .22em;
    --names-size: clamp(1.8rem, 10cqi, 4.2rem);
    --pv-cover-names: clamp(1.6rem, 9cqi, 4rem);
    --pv-sky:
        radial-gradient(80% 50% at 50% 30%, color-mix(in srgb, var(--inv-primary) 22%, transparent), transparent 78%),
        linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--inv-ornament) 60%, transparent));
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-meridians.svg);
    --pv-near-h: 180px;
    --pv-near-size: 110% auto;
    --pv-open: scale(2.1) rotate(9deg);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-iris 1.5s cubic-bezier(.45, 0, .2, 1) both;
    --pv-open-ms: 1700;
    --pv-reveal-ms: 900;
    --amb-anim: inv-twinkle;
    --amb-duration: 7s;
    --amb-opacity: .55;
    --pv-letter-step: 62ms;
}

.inv--val-de-aur {
    --inv-align: left;
    --inv-items: flex-start;
    --names-spacing: .18em;
    --names-size: clamp(1.9rem, 10.5cqi, 4.4rem);
    --pv-cover-names: clamp(1.7rem, 9.5cqi, 4.2rem);
    --pv-sky: linear-gradient(104deg, color-mix(in srgb, var(--inv-accent) 24%, transparent), transparent 58%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-ladder.svg);
    --pv-near-h: 180px;
    --pv-near-size: auto 100%;
    --pv-open: translate(44%, -26%) scale(1.3);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-wave 1.5s cubic-bezier(.4, 0, .22, 1) both;
    --pv-open-ms: 1700;
    --pv-reveal-ms: 880;
    --pv-orn-anim: lumina-inainte-drift;
    --pv-orn-time: 18s;
    --pv-in-odd: translateX(-34px);
    --pv-in-even: translateX(-34px);
}

.inv--fereastra-navei {
    --names-spacing: .2em;
    --names-size: clamp(1.8rem, 10cqi, 4.2rem);
    --pv-cover-names: clamp(1.6rem, 9cqi, 4rem);
    --pv-sky:
        radial-gradient(70% 44% at 50% 48%, color-mix(in srgb, var(--inv-primary) 24%, transparent), transparent 76%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-surface) 40%, transparent), transparent 46%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-porthole.svg);
    --pv-near-h: 190px;
    --pv-near-size: auto 100%;
    --photo-radius: 54px;
    --pv-door-display: block;
    --pv-door-fill: linear-gradient(180deg, color-mix(in srgb, var(--inv-bg) 92%, var(--inv-primary)), var(--inv-bg));
    --pv-open: scale(1.02);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-fold 1.6s cubic-bezier(.6, 0, .2, 1) both;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 980;
}

.inv--fereastra-navei .inv-envelope.is-opening .inv-envelope__door--l { transform: translateY(-104%); }
.inv--fereastra-navei .inv-envelope.is-opening .inv-envelope__door--r { transform: translateY(104%); }

/* ================= the ten baptisms ================= */

.inv--bobocul {
    --f-names: "Quicksand", "Segoe UI", sans-serif;
    --names-transform: none;
    --names-weight: 500;
    --names-spacing: .04em;
    --names-size: clamp(2.2rem, 12cqi, 4.8rem);
    --pv-cover-names: clamp(2rem, 11cqi, 4.4rem);
    --pv-sky: radial-gradient(70% 52% at 50% 56%, color-mix(in srgb, var(--inv-primary) 22%, transparent), transparent 76%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-bud.svg);
    --pv-near-h: 150px;
    --pv-near-size: auto 100%;
    --pv-open: scale(3.4);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-tunnel 1.6s cubic-bezier(.5, 0, .3, 1) both;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 1000;
    --pv-orn-anim: lumina-inainte-breathe;
    --pv-orn-time: 9s;
}

.inv--prima-raza {
    --f-names: "Comfortaa", "Segoe UI", sans-serif;
    --names-transform: none;
    --names-weight: 500;
    --names-spacing: .03em;
    --names-size: clamp(2.1rem, 11.5cqi, 4.6rem);
    --pv-cover-names: clamp(1.9rem, 10.5cqi, 4.2rem);
    --pv-sky: linear-gradient(0deg, color-mix(in srgb, var(--inv-accent) 24%, transparent), transparent 54%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-seed-ray.svg);
    --pv-near-h: 180px;
    --pv-near-size: auto 100%;
    --pv-open: translateY(-104%) scale(1.06);
    --pv-open-opacity: .96;
    --pv-open-anim: lumina-inainte-horizon-open 1.6s cubic-bezier(.45, 0, .2, 1) both;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 960;
    --pv-orn-anim: lumina-inainte-breathe;
    --pv-orn-time: 12s;
}

.inv--picatura {
    --f-names: "Quicksand", "Segoe UI", sans-serif;
    --names-transform: none;
    --names-weight: 500;
    --names-spacing: .05em;
    --names-size: clamp(2.2rem, 12cqi, 4.8rem);
    --pv-cover-names: clamp(2rem, 11cqi, 4.4rem);
    --pv-sky: radial-gradient(60% 44% at 50% 50%, color-mix(in srgb, var(--inv-primary) 26%, transparent), transparent 74%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-water-rings.svg);
    --pv-near-h: 170px;
    --pv-near-size: auto 100%;
    --pv-open: scale(1.5);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-ripple 1.7s cubic-bezier(.4, 0, .25, 1) both;
    --pv-open-ms: 1900;
    --pv-reveal-ms: 1050;
    --pv-orn-anim: inv-breathe;
    --pv-orn-time: 10s;
    --amb-anim: inv-rise;
    --amb-duration: 22s;
}

.inv--nor-de-lapte {
    --f-names: "Comfortaa", "Segoe UI", sans-serif;
    --names-transform: none;
    --names-weight: 500;
    --names-spacing: .04em;
    --names-size: clamp(2.1rem, 11.5cqi, 4.6rem);
    --pv-cover-names: clamp(1.9rem, 10.5cqi, 4.2rem);
    --pv-sky: linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 18%, transparent), transparent 58%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-cloud.svg);
    --pv-near-h: 130px;
    --pv-near-size: 100% auto;
    --pv-open: scaleY(.012) scaleX(.2);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-fold 1.5s cubic-bezier(.5, 0, .2, 1) both;
    --pv-open-ms: 1700;
    --pv-reveal-ms: 920;
    --pv-orn-anim: lumina-inainte-drift;
    --pv-orn-time: 20s;
}

.inv--cuibul {
    --f-names: "Quicksand", "Segoe UI", sans-serif;
    --names-transform: none;
    --names-weight: 600;
    --names-spacing: .03em;
    --names-size: clamp(2.2rem, 12cqi, 4.8rem);
    --pv-cover-names: clamp(2rem, 11cqi, 4.4rem);
    --pv-sky: radial-gradient(80% 44% at 50% 78%, color-mix(in srgb, var(--inv-accent) 22%, transparent), transparent 74%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-nest.svg);
    --pv-near-h: 140px;
    --pv-near-size: 100% auto;
    --pv-open: scaleY(.012) scaleX(.2);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-fold 1.6s cubic-bezier(.55, 0, .2, 1) both;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 960;
    --pv-orn-anim: lumina-inainte-breathe;
    --pv-orn-time: 13s;
}

.inv--steluta-blanda {
    --f-names: "Quicksand", "Segoe UI", sans-serif;
    --names-transform: none;
    --names-weight: 500;
    --names-spacing: .05em;
    --names-size: clamp(2.1rem, 11.5cqi, 4.6rem);
    --pv-cover-names: clamp(1.9rem, 10.5cqi, 4.2rem);
    --pv-sky: radial-gradient(60% 48% at 50% 42%, color-mix(in srgb, var(--inv-primary) 24%, transparent), transparent 76%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-star.svg);
    --pv-near-h: 150px;
    --pv-near-size: auto 100%;
    --pv-open: rotate(-22deg) scale(.4);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-turn 1.5s cubic-bezier(.45, 0, .25, 1) both;
    --pv-open-ms: 1700;
    --pv-reveal-ms: 900;
    --amb-anim: inv-twinkle;
    --amb-duration: 6s;
    --amb-opacity: .6;
    --pv-orn-anim: inv-breathe;
    --pv-orn-time: 11s;
}

.inv--anii-care-vin {
    --f-names: "Josefin Sans", "Segoe UI", sans-serif;
    --names-weight: 300;
    --names-spacing: .2em;
    --names-size: clamp(1.9rem, 10.5cqi, 4.4rem);
    --pv-cover-names: clamp(1.7rem, 9.5cqi, 4.2rem);
    --pv-sky: linear-gradient(0deg, color-mix(in srgb, var(--inv-primary) 20%, transparent), transparent 56%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-steps.svg);
    --pv-near-h: 140px;
    --pv-near-size: 100% auto;
    --pv-open: translateY(-104%);
    --pv-open-opacity: .85;
    --pv-open-anim: lumina-inainte-steps-up 1.7s cubic-bezier(.4, 0, .25, 1) both;
    --pv-open-ms: 1900;
    --pv-reveal-ms: 1000;
    --pv-orn-anim: lumina-inainte-breathe;
    --pv-orn-time: 14s;
}

.inv--palma-de-lumina {
    --f-names: "Comfortaa", "Segoe UI", sans-serif;
    --names-transform: none;
    --names-weight: 500;
    --names-spacing: .04em;
    --names-size: clamp(2.1rem, 11.5cqi, 4.6rem);
    --pv-cover-names: clamp(1.9rem, 10.5cqi, 4.2rem);
    --pv-sky: radial-gradient(64% 48% at 50% 64%, color-mix(in srgb, var(--inv-accent) 28%, transparent), transparent 76%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-palm.svg);
    --pv-near-h: 150px;
    --pv-near-size: auto 100%;
    --pv-open: scale(2.6);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-bloom 1.6s cubic-bezier(.5, 0, .25, 1) both;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 1000;
    --pv-bloom-display: block;
    --pv-bloom: color-mix(in srgb, var(--inv-accent) 55%, var(--inv-surface));
}

.inv--luna-noua {
    --f-names: "Josefin Sans", "Segoe UI", sans-serif;
    --names-weight: 300;
    --names-spacing: .22em;
    --names-size: clamp(1.9rem, 10.5cqi, 4.4rem);
    --pv-cover-names: clamp(1.7rem, 9.5cqi, 4.2rem);
    --pv-sky: radial-gradient(56% 40% at 56% 44%, color-mix(in srgb, var(--inv-primary) 26%, transparent), transparent 78%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-moons.svg);
    --pv-near-h: 156px;
    --pv-near-size: auto 100%;
    --pv-door-display: block;
    --pv-door-fill: linear-gradient(90deg, color-mix(in srgb, var(--inv-bg) 94%, var(--inv-primary)), var(--inv-bg));
    --pv-open: translateY(104%) scale(.92);
    --pv-open-opacity: .9;
    --pv-open-anim: lumina-inainte-sink 1.5s cubic-bezier(.45, 0, .2, 1) both;
    --pv-open-ms: 1700;
    --pv-reveal-ms: 900;
    --amb-anim: inv-twinkle;
    --amb-duration: 8s;
}

.inv--fagurele-bland {
    --f-names: "Quicksand", "Segoe UI", sans-serif;
    --names-transform: none;
    --names-weight: 600;
    --names-spacing: .04em;
    --names-size: clamp(2.1rem, 11.5cqi, 4.6rem);
    --pv-cover-names: clamp(1.9rem, 10.5cqi, 4.2rem);
    --pv-sky: radial-gradient(60% 46% at 50% 50%, color-mix(in srgb, var(--inv-accent) 22%, transparent), transparent 76%);
    --pv-near: url(../../img/invitations/ornaments/lumina-inainte-honeycomb.svg);
    --pv-near-h: 170px;
    --pv-near-size: auto 100%;
    --pv-open: scale(1.5);
    --pv-open-opacity: 0;
    --pv-open-anim: lumina-inainte-ripple 1.6s cubic-bezier(.4, 0, .25, 1) both;
    --pv-open-ms: 1800;
    --pv-reveal-ms: 980;
    --pv-orn-anim: inv-breathe;
    --pv-orn-time: 12s;
}

/* ================= the wide screen ================= */

@container (min-width: 900px) {
    .inv-c--lumina-inainte .inv-hero__content {
        --names-size: clamp(2.4rem, 6cqi, 5.4rem);
    }

    /* The drawing is anchored to the bottom of the first screen; on a wide screen that screen is much taller, so the
       drawing has to be shorter and smaller or it climbs over the date and the place (seen at 1440 px on „Cupolă”,
       19 November 2026). A container query cannot set a variable on the container itself, so the layer is styled. */
    .inv-c--lumina-inainte .inv-hero::after {
        height: 132px;
        -webkit-mask-size: auto 100%;
        mask-size: auto 100%;
    }
}
