/* ==========================================================================
   Petice - a soft, sweet christening, a little quilt sewn from treasured scraps: patchwork plush toys painted in fine
   detail; the photo in a quilted fabric frame with a stitched hem and a button, the teddy in the blue hat beside it
   squishing into a hug at a touch. Cards stitch their hems as they appear, a plush toy peeks out above every title, the
   programme is sewn on fabric patches, the days left are on big buttons, and the baby sleeps on the moon at the end
   Palette: --inv-primary (the thread), --inv-accent (the cloth), --inv-bg, --inv-text.
   The toys (assets/plush, Pixabay, see LICENSES.md) are transparent; on the dark palette (.pt-dark, set by script.js)
   they sit on a soft glow. script.js squishes the teddy and draws the hems as cards appear
   ========================================================================== */

.petice {
    --pt-hand: 'Puppies Play', 'Segoe Script', cursive;
    --pt-soft: color-mix(in srgb, var(--inv-text) 64%, var(--inv-bg));
    --pt-line: color-mix(in srgb, var(--inv-primary) 20%, transparent);
    --pt-thread: color-mix(in srgb, var(--inv-primary) 70%, var(--inv-bg));
    --pt-cloth: color-mix(in srgb, var(--inv-accent) 60%, var(--inv-surface));
    /* fabrics: gingham, polka dots, a fine quilting diamond */
    --pt-gingham:
        linear-gradient(90deg, color-mix(in srgb, var(--inv-primary) 14%, transparent) 50%, transparent 50%) 0 0 / 16px 16px,
        linear-gradient(color-mix(in srgb, var(--inv-primary) 14%, transparent) 50%, transparent 50%) 0 0 / 16px 16px,
        var(--pt-cloth);
    --pt-dots: radial-gradient(circle, color-mix(in srgb, #fff 70%, transparent) 0 2px, transparent 2.6px) 0 0 / 14px 14px, var(--pt-cloth);
    --pt-quilting:
        repeating-linear-gradient(45deg, transparent 0 17px, color-mix(in srgb, var(--inv-primary) 12%, transparent) 17px 18px),
        repeating-linear-gradient(-45deg, transparent 0 17px, color-mix(in srgb, var(--inv-primary) 12%, transparent) 17px 18px);
    --pt-shadow: 0 1px 2px color-mix(in srgb, var(--inv-text) 8%, transparent), 0 22px 44px -28px color-mix(in srgb, var(--inv-text) 50%, transparent);
    --kit-radius: 16px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--pt-line);
    font-family: var(--inv-font-body);
    font-size: 1.03rem;
    line-height: 1.72;
    background: var(--pt-quilting), var(--inv-bg);
    overflow-x: clip;
}
.petice h1, .petice h2, .petice h3 { font-family: var(--inv-font-heading); font-weight: 600; line-height: 1.15; }
:where(.petice) :is(h1, h2, h3) { margin: 0; }
:where(.petice) p { margin: 0 0 .9em; }
.petice strong { font-weight: 700; }
.petice a { color: var(--inv-primary); }
.pt-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.pt-role { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pt-soft); margin: 0 0 4px; }
.pt-names { font-family: var(--inv-font-heading); font-weight: 500; font-size: 1.3rem; margin: 0; }
.pt-hero, .pt-main, .pt-footer { position: relative; }
/* a card of soft cloth with a stitched hem that sews itself in as the card appears (--sewn: 0 → 1) */
.pt-card { --sewn: 1; position: relative; background: var(--inv-surface); border-radius: 18px; box-shadow: var(--pt-shadow), 0 0 0 1px var(--pt-line); }
.pt-card::after { content: ""; position: absolute; inset: 7px; border-radius: 13px; pointer-events: none; border: 2px dashed var(--pt-thread); opacity: .75;
    -webkit-mask: conic-gradient(from -90deg, #000 calc(var(--sewn) * 360deg), transparent 0); mask: conic-gradient(from -90deg, #000 calc(var(--sewn) * 360deg), transparent 0); }
.kit-js .pt-card { --sewn: 0; transition: --sewn 1.6s ease .2s; }
.kit-js .is-visible .pt-card, .kit-js .pt-card.is-visible, .kit-js .is-visible.pt-card { --sewn: 1; }
@property --sewn { syntax: '<number>'; inherits: true; initial-value: 1; }
.pt-card > * { position: relative; z-index: 1; }

/* ---------- The plush toys ---------- */
.pt-art { position: relative; display: block; }
.pt-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 12px color-mix(in srgb, var(--inv-text) 16%, transparent)); }
.pt-dark .pt-art img { filter: drop-shadow(0 0 22px color-mix(in srgb, #fff3d6 30%, transparent)); }

/* ---------- Navigation ---------- */
.pt-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; padding: 18px; }
.pt-nav .kit-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.pt-nav .kit-nav-links a { font-family: var(--inv-font-heading); font-size: .86rem; font-weight: 500; text-decoration: none; color: var(--inv-text); padding: 6px 0; border-bottom: 2px dashed transparent; }
.pt-nav .kit-nav-links a:hover, .pt-nav .kit-nav-links a.is-current { border-color: var(--pt-thread); color: var(--inv-primary); }
.pt-nav .kit-nav-brand { font-family: var(--pt-hand); font-size: 2rem; line-height: 1; color: var(--inv-primary); text-decoration: none; }
.pt-nav.is-stuck { justify-content: space-between; align-items: center; padding: 6px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--inv-bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--pt-line); }
.petice .kit-to-top { background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--pt-line); }
@media (max-width: 899px) {
    .pt-nav { justify-content: flex-end; padding: 12px; }
    .pt-nav .kit-nav-toggle { width: 46px; height: 46px; border-radius: 50%; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--pt-line); font-size: 1.2rem; }
    .pt-nav .kit-nav-links { display: none; }
    .pt-nav.is-open .kit-nav-links {
        display: flex; flex-direction: column; gap: 12px; position: absolute; top: 66px; left: 12px; right: 12px;
        padding: 24px; border-radius: 18px; background: var(--inv-surface); box-shadow: var(--pt-shadow);
    }
    .pt-nav.is-stuck { padding: 6px 12px; }
}

/* ---------- Hero: the quilted frame and the teddy ---------- */
.pt-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 96px 16px 56px; overflow-x: hidden; overflow-x: clip; }
.pt-hero-inner { width: min(1060px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 30px; text-align: center; }
.pt-scene { position: relative; width: min(420px, 90vw); padding-right: 22%; }
/* a quilted fabric frame: gingham border, stitched hem, a button in the corner */
.pt-quilt { position: relative; margin: 0; padding: 14px; border-radius: 22px; background: var(--pt-gingham); box-shadow: var(--pt-shadow), inset 0 0 0 1px var(--pt-line); rotate: -2deg; }
.pt-quilt::before { content: ""; position: absolute; inset: 6px; border-radius: 17px; border: 2px dashed var(--pt-thread); pointer-events: none; opacity: .8; }
.pt-quilt-in { display: block; padding: 6px; border-radius: 12px; background: var(--inv-surface); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--inv-primary) 10%, transparent); }
.pt-quilt img, .pt-initial { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.pt-initial { display: grid; place-items: center; background: var(--pt-cloth); font-family: var(--pt-hand); font-size: 5rem; color: var(--inv-primary); }
.pt-button { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 38% 38%, color-mix(in srgb, var(--inv-primary) 40%, #fff) 0 2.5px, transparent 3px), radial-gradient(circle at 62% 38%, color-mix(in srgb, var(--inv-primary) 40%, #fff) 0 2.5px, transparent 3px), radial-gradient(circle at 38% 62%, color-mix(in srgb, var(--inv-primary) 40%, #fff) 0 2.5px, transparent 3px), radial-gradient(circle at 62% 62%, color-mix(in srgb, var(--inv-primary) 40%, #fff) 0 2.5px, transparent 3px), radial-gradient(closest-side, var(--inv-primary) 70%, color-mix(in srgb, var(--inv-primary) 70%, #000) 86%, color-mix(in srgb, var(--inv-primary) 60%, #fff) 100%); box-shadow: 0 3px 5px rgba(0, 0, 0, .25); }
.pt-button--corner { right: -10px; top: -10px; }
.pt-hug { position: absolute; right: -6%; bottom: -8%; width: 50%; transform-origin: 50% 100%; cursor: pointer; touch-action: manipulation; }
.pt-hug img { transform-origin: 50% 100%; }
.pt-hug.is-hugged img { animation: pt-squish .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pt-squish { 0% { scale: 1 1; } 25% { scale: 1.12 .84; } 55% { scale: .94 1.08; } 80% { scale: 1.03 .97; } 100% { scale: 1 1; } }
.kit-js .pt-quilt { animation: pt-in 1.2s cubic-bezier(.3, 1.2, .5, 1) .2s both; }
.kit-js .pt-hug img { animation: pt-pop 1s cubic-bezier(.3, 1.6, .5, 1) .9s both; }
@keyframes pt-in { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
@keyframes pt-pop { 0% { opacity: 0; scale: .3; } 60% { opacity: 1; scale: 1.08 .92; } 100% { opacity: 1; scale: 1; } }
.pt-hero-text { display: grid; justify-items: center; width: 100%; min-width: 0; }
.petice .pt-name { font-family: var(--pt-hand); font-weight: 400; font-size: clamp(4.4rem, 17vw, 7.4rem); line-height: 1.05; color: var(--inv-primary); overflow-wrap: anywhere; margin: 0 0 8px; }
.pt-hero-date { font-family: var(--inv-font-heading); font-weight: 500; font-size: 1.36rem; margin: 0 0 2px; }
.pt-hero-place { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pt-soft); margin: 0; }
.petice .pt-subtitle { max-width: 44ch; margin: 16px auto 0; color: var(--pt-soft); }
@keyframes pt-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.kit-js .pt-hero-text > * { animation: pt-up 1s ease .7s both; }
.kit-js .pt-hero-text > :nth-child(n+3) { animation-delay: 1s; }
@media (min-width: 900px) {
    .pt-hero { padding-top: 110px; }
    .pt-hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 60px; text-align: left; align-items: center; }
    .pt-hero-text { justify-items: start; order: -1; }
    .petice .pt-subtitle { margin-left: 0; }
    .pt-scene { width: min(440px, 38vw); }
}

/* ---------- Titles: a toy peeks up from behind a row of stitches ---------- */
.pt-title { margin: 0 auto clamp(26px, 4vw, 42px); text-align: center; }
.pt-peek { position: relative; display: block; width: 120px; height: 92px; margin: 0 auto 10px; overflow: hidden; }
.pt-peek::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 2px dashed var(--pt-thread); }
.pt-title-toy { width: 92px; margin: 0 auto; }
.kit-js .pt-title .pt-title-toy img { translate: 0 100%; transition: translate .9s cubic-bezier(.3, 1.4, .5, 1) .15s; }
.kit-js .pt-title.is-visible .pt-title-toy img { translate: 0 8%; }
.pt-title h2 { font-size: clamp(1.9rem, 5.4vw, 2.6rem); color: var(--inv-primary); text-wrap: balance; }

/* ---------- Sections ---------- */
.pt-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.pt-section { padding-top: clamp(84px, 11vw, 128px); }
.pt-welcome { text-align: center; max-width: 680px; margin: 0 auto; }
.pt-welcome-art { width: min(180px, 46vw); margin: 0 auto 8px; }
.kit-js .pt-welcome .pt-welcome-art img { opacity: 0; scale: .5; }
.kit-js .pt-welcome.is-visible .pt-welcome-art img { animation: pt-pop 1s cubic-bezier(.3, 1.6, .5, 1) .1s both; }
.pt-welcome p { font-size: 1.06rem; }
.petice .pt-welcome-title { font-family: var(--pt-hand); font-weight: 400; font-size: clamp(3.2rem, 10vw, 4.6rem); line-height: 1.1; color: var(--inv-primary); margin-bottom: 12px; }
.pt-quote-author { font-family: var(--inv-font-heading); font-size: 1.1rem; color: var(--inv-primary); }
.pt-lead { text-align: center; font-family: var(--inv-font-heading); font-weight: 500; font-size: 1.2rem; line-height: 1.5; color: var(--pt-soft); max-width: 34ch; margin: 0 auto 30px; }

/* Child */
.pt-child-grid { display: grid; gap: 40px; justify-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.pt-portrait { position: relative; width: min(270px, 64vw); }
.pt-quilt--child { rotate: 2deg; background: var(--pt-dots); }
.pt-child-name { font-family: var(--inv-font-heading); font-size: 1.8rem; color: var(--inv-primary); margin-bottom: 6px; }
.pt-child-born { color: var(--pt-soft); }
.pt-child-born strong { color: var(--inv-text); }
.pt-child-message { font-family: var(--inv-font-heading); font-weight: 500; font-size: 1.2rem; line-height: 1.55; max-width: 34ch; margin-left: auto; margin-right: auto; }
@media (min-width: 760px) {
    .pt-child-grid { grid-template-columns: auto minmax(0, 1fr); gap: 80px; text-align: left; align-items: center; }
    .pt-portrait { width: 270px; }
    .pt-child-message { margin-left: 0; }
}

/* Family: fabric patches */
.pt-patches { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); max-width: 780px; margin: 0 auto; }
.pt-patch { padding: 28px 22px; text-align: center; background: var(--pt-dots); rotate: -1.2deg; }
.pt-patches .pt-patch:nth-child(even) { background: var(--pt-gingham); rotate: 1.2deg; }
.pt-patch { display: grid; justify-items: center; gap: 6px; }
.pt-patch .pt-names, .pt-patch .pt-role { display: block; width: fit-content; max-width: 100%; margin: 0; padding: 3px 12px; border-radius: 8px; background: color-mix(in srgb, var(--inv-surface) 90%, transparent); }

/* Programme: patches with the hour on a button */
.pt-moments { list-style: none; margin: 0 auto; padding: 0; max-width: 700px; display: grid; gap: 28px; }
.pt-moment-card { padding: 30px clamp(20px, 5vw, 36px) 24px; text-align: center; }
.pt-moments .pt-moment:nth-child(odd) .pt-moment-card { rotate: -.8deg; }
.pt-moments .pt-moment:nth-child(even) .pt-moment-card { rotate: .8deg; }
.pt-moment-time { position: relative; display: inline-grid; place-items: center; width: 74px; height: 74px; margin: 0 0 10px; border-radius: 50%; font-family: var(--inv-font-heading); font-size: 1.1rem; color: #fff; font-variant-numeric: tabular-nums;
    background: radial-gradient(closest-side, var(--inv-primary) 74%, color-mix(in srgb, var(--inv-primary) 70%, #000) 88%, color-mix(in srgb, var(--inv-primary) 60%, #fff) 100%); box-shadow: 0 6px 10px rgba(0, 0, 0, .2); }
.pt-dark .pt-moment-time { color: var(--inv-bg); }
.pt-moment-card h3 { font-size: clamp(1.34rem, 4.2vw, 1.6rem); margin-bottom: 4px; }
.pt-moment-place { font-weight: 700; margin: 0; }
.pt-moment-address, .pt-moment-notes { color: var(--pt-soft); margin: 0; }
.pt-moment-notes { font-style: italic; margin-top: 6px; }
.pt-moment .kit-event-actions { margin-top: 14px; justify-content: center; }
.petice .kit-button { border-radius: 999px; border: 2px dashed var(--pt-thread); color: var(--inv-primary); background: transparent; font-size: .8rem; font-weight: 700; padding: 7px 18px; text-decoration: none; }
.petice .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); border-style: solid; }

/* Countdown: big sewing buttons */
.pt-countdown { text-align: center; }
.pt-countdown .kit-countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px clamp(6px, 2.4vw, 26px); margin-top: 18px; }
.pt-countdown .kit-countdown-unit { --c: var(--inv-primary); position: relative; width: clamp(70px, 19vw, 112px); min-width: 0; aspect-ratio: 1; padding: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 92%, #fff) 70%, color-mix(in srgb, var(--c) 70%, #000) 84%, color-mix(in srgb, var(--c) 60%, #fff) 94%, transparent 100%); box-shadow: 0 10px 16px -6px rgba(0, 0, 0, .35); }
.pt-countdown .kit-countdown-unit::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 2px dashed color-mix(in srgb, #fff 55%, transparent); }
.pt-countdown .kit-countdown-unit:nth-child(2) { --c: color-mix(in srgb, var(--inv-primary) 60%, #c97a5a); }
.pt-countdown .kit-countdown-unit:nth-child(3) { --c: color-mix(in srgb, var(--inv-primary) 55%, #6f9a74); }
.pt-countdown .kit-countdown-unit:nth-child(4) { --c: color-mix(in srgb, var(--inv-primary) 55%, #c9a54a); }
.kit-js .pt-countdown .kit-countdown-unit { scale: .4; rotate: -90deg; opacity: 0; transition: scale .8s cubic-bezier(.3, 1.6, .5, 1), rotate .8s ease, opacity .4s ease; }
.kit-js .pt-countdown.is-visible .kit-countdown-unit { scale: 1; rotate: 0deg; opacity: 1; }
.kit-js .pt-countdown.is-visible .kit-countdown-unit:nth-child(2) { transition-delay: .12s; }
.kit-js .pt-countdown.is-visible .kit-countdown-unit:nth-child(3) { transition-delay: .24s; }
.kit-js .pt-countdown.is-visible .kit-countdown-unit:nth-child(4) { transition-delay: .36s; }
.pt-countdown .kit-countdown-value { font-family: var(--inv-font-heading); font-size: clamp(1.25rem, 4.8vw, 1.9rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.pt-countdown .kit-countdown-label { margin-top: 2px; opacity: 1; color: color-mix(in srgb, #fff 85%, transparent); font-size: .52rem; font-weight: 700; letter-spacing: .1em; }
.pt-dark .pt-countdown .kit-countdown-value, .pt-dark .pt-countdown .kit-countdown-label { color: var(--inv-bg); }

/* Gallery: photos sewn on with a stitched border */
.pt-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 24px); }
.pt-gallery-grid.kit-gallery a { position: relative; aspect-ratio: 1; padding: 10px; border-radius: 18px; background: var(--pt-gingham); box-shadow: var(--pt-shadow); }
.pt-gallery-grid.kit-gallery a:nth-child(even) { background: var(--pt-dots); }
.pt-gallery-grid.kit-gallery a::after { content: ""; position: absolute; inset: 4px; border-radius: 14px; border: 2px dashed var(--pt-thread); opacity: .7; pointer-events: none; }
.pt-gallery-grid.kit-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transition: scale .8s ease; }
.pt-gallery-grid.kit-gallery a:hover img { scale: 1.03; }
@media (min-width: 760px) { .pt-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* RSVP, info, contact */
.pt-reply { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 58px) clamp(24px, 6vw, 56px) clamp(32px, 5vw, 48px); }
.petice .inv-rsvp__intro { font-family: var(--inv-font-heading); font-weight: 500; font-size: 1.14rem; line-height: 1.5; }
.petice .inv-rsvp__deadline { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--inv-primary); }
.pt-info-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pt-info-item { padding: 30px 24px 20px; text-align: center; }
.pt-info-item h3 { font-size: 1.3rem; color: var(--inv-primary); margin-bottom: 8px; }
.pt-faq { max-width: 720px; margin: 46px auto 0; text-align: center; display: grid; gap: 12px; }
.pt-faq details { text-align: left; }
.pt-faq summary { cursor: pointer; list-style: none; padding: 17px 56px 17px 22px; position: relative; font-family: var(--inv-font-heading); font-weight: 500; font-size: 1.1rem; }
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle at 38% 50%, #fff 0 2px, transparent 2.5px), radial-gradient(circle at 62% 50%, #fff 0 2px, transparent 2.5px), var(--inv-primary); transition: rotate .5s ease; }
.pt-faq details[open] summary::after { rotate: 90deg; }
.pt-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; border-radius: 18px; }
.pt-faq details p { padding: 0 22px; color: var(--pt-soft); }
.pt-faq details p:last-child { padding-bottom: 16px; }
.pt-contact { text-align: center; }
.pt-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 60px; }
.pt-contact-person a { text-decoration: none; }

/* ---------- Footer: asleep on the moon ---------- */
.pt-footer { text-align: center; padding: clamp(90px, 13vw, 140px) 16px 70px; overflow-x: hidden; overflow-x: clip; }
.pt-finale { position: relative; width: min(300px, 74vw); margin: 0 auto 16px; }
.pt-moon img { animation: pt-float 6s ease-in-out infinite; }
@keyframes pt-float { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -10px; rotate: 2deg; } }
.pt-twinkle { position: absolute; top: calc(6% + var(--i) * 4%); right: calc(2% + var(--i) * 4%); width: 12px; height: 12px; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); background: color-mix(in srgb, #f3cf6a 80%, var(--inv-accent)); opacity: 0; }
.pt-twinkle:nth-child(odd) { top: calc(64% - var(--i) * 3%); right: auto; left: calc(4% + var(--i) * 2%); width: 9px; height: 9px; }
.kit-js .pt-footer.is-visible .pt-twinkle { animation: pt-twinkle 2.6s ease-in-out infinite; animation-delay: calc(.4s + var(--i) * .33s); }
@keyframes pt-twinkle { 0%, 100% { opacity: .15; scale: .7; } 50% { opacity: 1; scale: 1.15; } }
.pt-footer-message { font-family: var(--inv-font-heading); font-weight: 500; font-size: 1.24rem; line-height: 1.5; color: var(--pt-soft); max-width: 30ch; margin: 0 auto 6px; }
.petice .pt-footer-name { font-family: var(--pt-hand); font-size: clamp(3.8rem, 14vw, 6rem); line-height: 1.05; color: var(--inv-primary); margin: 4px 0 10px; }
.pt-hashtag { font-weight: 700; letter-spacing: .08em; color: var(--inv-primary); }

@media (prefers-reduced-motion: reduce) {
    .kit-js .pt-quilt, .kit-js .pt-hug img, .kit-js .pt-hero-text > *, .pt-moon img { animation: none; }
    .kit-js .pt-card { --sewn: 1; transition: none; }
    .kit-js .pt-title .pt-title-toy img { translate: 0 8%; transition: none; }
    .kit-js .pt-welcome .pt-welcome-art img { opacity: 1; scale: 1; animation: none !important; }
    .kit-js .pt-countdown .kit-countdown-unit { scale: 1; rotate: 0deg; opacity: 1; transition: none; }
    .kit-js .pt-footer.is-visible .pt-twinkle { animation: none; opacity: .8; }
}
