/* ==========================================================================
   Origami - the thousand paper cranes: your photo on a square sheet set on its corner whose top corner unfolds,
   cranes flying across the page (canvas), cards that unfold with the creases of the folds on them, little cranes
   folding themselves above the titles, times and countdown on folded squares, washi tape, strings of cranes
   Palette: --inv-primary (the coloured paper), --inv-accent (the second paper: gold, pink, terracotta), --inv-bg, --inv-text
   script.js flies the cranes on canvas.og-sky (colours from the palette)
   ========================================================================== */

.origami {
    --og-script: 'Moon Dance', 'Segoe Script', cursive;
    --og-ink-soft: color-mix(in srgb, var(--inv-text) 70%, var(--inv-bg));
    --og-line: color-mix(in srgb, var(--inv-primary) 22%, transparent);
    --og-paper: var(--inv-surface);
    --og-paper-back: color-mix(in srgb, var(--inv-surface) 84%, var(--inv-primary));
    --og-light: color-mix(in srgb, var(--inv-primary) 52%, var(--inv-surface));
    --og-mid: color-mix(in srgb, var(--inv-primary) 78%, var(--inv-surface));
    --og-shadow: 0 1px 1px color-mix(in srgb, var(--inv-text) 10%, transparent), 0 18px 34px -24px color-mix(in srgb, var(--inv-text) 45%, transparent);
    --og-creases: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='black' stroke-width='.5' vector-effect='non-scaling-stroke'%3E%3Cpath d='M0 0L100 100M100 0L0 100M50 0V100M0 50H100M50 0L100 50L50 100L0 50Z'/%3E%3C/g%3E%3C/svg%3E");
    --kit-radius: 3px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--og-line);
    font-family: var(--inv-font-body);
    font-weight: 300;
    font-size: 1.04rem;
    line-height: 1.75;
    background: var(--inv-bg);
    overflow-x: clip;
}
/* the faint fibres of washi paper */
.origami::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
    background:
        repeating-linear-gradient(97deg, transparent 0 7px, color-mix(in srgb, var(--inv-text) 2.5%, transparent) 7px 8px, transparent 8px 19px),
        repeating-linear-gradient(8deg, transparent 0 13px, color-mix(in srgb, var(--inv-primary) 3%, transparent) 13px 14px, transparent 14px 31px); }
.og-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.og-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.origami h1, .origami h2, .origami h3 { font-family: var(--inv-font-heading); font-weight: 300; line-height: 1.2; }
:where(.origami) :is(h1, h2, h3) { margin: 0; }
:where(.origami) p { margin: 0 0 .9em; }
.origami strong, .origami b { font-weight: 500; }
.origami a { color: var(--inv-primary); }
.og-kicker { font-size: .74rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.og-role { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--og-ink-soft); margin: 0 0 6px; }
.og-names-line { font-family: var(--inv-font-heading); font-size: 1.3rem; margin: 0; }
.og-hero, .og-main, .og-footer { position: relative; z-index: 1; }
.og-hero { z-index: 2; }

/* ---------- Paper: creases of the folds, a dog-eared corner; it unfolds when it appears ---------- */
.og-paper { position: relative; background: var(--og-paper); border-radius: 2px; box-shadow: var(--og-shadow); }
.og-paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-color: var(--inv-primary); opacity: .055;
    -webkit-mask: var(--og-creases) 0 0 / 100% 100%; mask: var(--og-creases) 0 0 / 100% 100%; }
.og-paper::after { content: ""; position: absolute; top: 0; right: 0; width: 28px; height: 28px; pointer-events: none;
    background: linear-gradient(225deg, var(--inv-bg) 50%, var(--og-paper-back) 50%);
    box-shadow: -2px 2px 4px -1px color-mix(in srgb, var(--inv-text) 18%, transparent); border-bottom-left-radius: 2px; }
.kit-js .og-paper { opacity: 0; transform: perspective(1100px) rotateX(-82deg); transform-origin: 50% 0; transition: opacity .5s ease, transform 1.1s cubic-bezier(.25, .9, .3, 1.05); }
.kit-js .og-paper.is-visible, .kit-js .is-visible .og-paper { opacity: 1; transform: none; }
.kit-js .is-visible .og-paper:nth-child(2) { transition-delay: .15s; }
.kit-js .is-visible .og-paper:nth-child(3) { transition-delay: .3s; }

/* ---------- The crane that folds itself ---------- */
.og-crane { display: block; width: 130px; margin: 0 auto 6px; overflow: visible; }
.og-crane-small { width: 92px; margin-bottom: 6px; }
.og-f { transform-box: fill-box; transform-origin: center; stroke: color-mix(in srgb, var(--inv-primary) 40%, transparent); stroke-width: .4; stroke-linejoin: round; }
.og-f-light { fill: var(--og-light); }
.og-f-mid { fill: var(--og-mid); }
.og-f-dark { fill: var(--inv-primary); }
.og-crease { fill: none; stroke: color-mix(in srgb, var(--inv-surface) 60%, transparent); stroke-width: .6; }
.kit-js .og-f { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.4); }
.kit-js .og-crease { opacity: 0; }
.kit-js .is-visible .og-f, .kit-js .is-visible.og-title .og-f { animation: og-fold .9s cubic-bezier(.3, 1.3, .5, 1) calc(.15s + var(--i) * .1s) forwards; }
.kit-js .is-visible .og-crease { animation: og-show .6s ease 1.1s forwards; }
@keyframes og-fold { to { opacity: 1; transform: none; } }
@keyframes og-show { to { opacity: 1; } }

/* ---------- Titles ---------- */
.og-title { margin: 0 auto clamp(30px, 4.5vw, 48px); text-align: center; }
.og-title h2 { font-size: clamp(2rem, 5.4vw, 2.85rem); letter-spacing: .01em; display: inline-block; position: relative; padding-bottom: 14px; }
/* a fold line beneath: a valley fold, dashed as on origami diagrams */
.og-title h2::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--inv-primary) 0 7px, transparent 7px 12px); opacity: .45; }

/* ---------- Navigation ---------- */
.og-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; padding: 18px; }
.og-nav .kit-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; }
.og-nav a { text-decoration: none; font-size: .76rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--inv-text); padding: 6px 0; border-bottom: 1px solid transparent; }
.og-nav a:hover, .og-nav a.is-current { color: var(--inv-primary); border-bottom-color: currentColor; }
.og-nav .kit-nav-brand { font-family: var(--og-script); font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--inv-primary); margin-right: auto; border: 0; line-height: 1; }
.og-nav.is-stuck { justify-content: space-between; align-items: center; padding: 6px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--inv-bg) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--og-line); }
.origami .kit-to-top { border-radius: 2px; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--og-line); }
@media (max-width: 899px) {
    .og-nav { justify-content: flex-end; padding: 12px; }
    .og-nav .kit-nav-toggle { width: 46px; height: 46px; border-radius: 2px; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--og-line); font-size: 1.2rem; }
    .og-nav .kit-nav-links { display: none; }
    .og-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: 2px; background: var(--inv-surface); box-shadow: var(--og-shadow);
    }
    .og-nav.is-stuck { padding: 6px 12px; }
}

/* ---------- Hero: the sheet set on its corner, its top corner unfolding ---------- */
.og-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 88px 16px 64px; text-align: center; overflow-x: hidden; overflow-x: clip; } /* the corner, mid-unfold in perspective, reaches past a phone screen */
.og-hero-inner { width: min(760px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.og-sheet-wrap { --s: min(470px, 80vw); position: relative; width: var(--s); aspect-ratio: 1; margin: 6px 0 0; filter: drop-shadow(0 22px 26px color-mix(in srgb, var(--inv-text) 22%, transparent)); }
.og-sheet { position: absolute; inset: 0; margin: 0; background: var(--og-paper-back); clip-path: polygon(50% 0, 50% 0, 100% 50%, 50% 100%, 0 50%); }
.og-sheet img { display: block; width: 100%; height: 100%; object-fit: cover; }
.og-initial { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--og-script); font-size: calc(var(--s) * .2); color: var(--inv-primary); }
/* the creases of the sheet, faint over the photo */
.og-sheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, transparent 49.8%, color-mix(in srgb, white 30%, transparent) 50%, transparent 50.2%), linear-gradient(45deg, transparent 49.8%, color-mix(in srgb, black 12%, transparent) 50%, transparent 50.2%); }
/* the folded corner: the back of the paper, folded down along a line at 28% */
.og-flap { position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--og-paper-back) 70%, white) 28%, var(--og-paper-back) 44%, color-mix(in srgb, var(--og-paper-back) 88%, var(--inv-text)) 56%);
    clip-path: polygon(22% 28%, 78% 28%, 50% 56%); transform-origin: 50% 28%; backface-visibility: hidden; }
.kit-js .og-sheet { animation: og-unclip .9s cubic-bezier(.4, 0, .2, 1) 1.25s both; }
.kit-js .og-flap { opacity: 1; animation: og-unfold 1.1s cubic-bezier(.5, 0, .3, 1) .9s both; }
@keyframes og-unclip { from { clip-path: polygon(22% 28%, 78% 28%, 100% 50%, 50% 100%, 0 50%); } to { clip-path: polygon(50% 0, 50% 0, 100% 50%, 50% 100%, 0 50%); } }
@keyframes og-unfold { 0% { transform: perspective(900px) rotateX(0); } 100% { transform: perspective(900px) rotateX(180deg); } }
.origami .og-names { font-family: var(--og-script); font-weight: 400; font-size: clamp(4rem, 14vw, 7.2rem); line-height: 1; color: var(--inv-primary); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .24em; overflow-wrap: anywhere; margin: 18px 0 0; }
.og-and { font-family: var(--inv-font-heading); font-style: italic; font-size: .32em; color: var(--inv-accent); }
.og-hero-date { font-family: var(--inv-font-heading); font-size: 1.34rem; margin: 14px 0 2px; }
.og-hero-place { font-size: .74rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--og-ink-soft); margin: 0; }
.origami .og-subtitle { max-width: 42ch; margin: 20px auto 0; color: var(--og-ink-soft); }
@keyframes og-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes og-drop { from { opacity: 0; transform: translateY(-30px) rotate(-8deg) scale(.9); } to { opacity: 1; transform: none; } }
.kit-js .og-hero-inner > * { animation: og-rise 1.1s ease 1.6s both; }
.kit-js .og-hero-inner > .og-kicker { animation-delay: .1s; }
.kit-js .og-hero-inner > .og-sheet-wrap { animation: og-drop 1.2s cubic-bezier(.3, .9, .4, 1) .15s both; }
.kit-js .og-hero-inner > .og-names { animation-delay: 1.9s; }
.kit-js .og-hero-inner > :nth-child(n+4) { animation-delay: 2.2s; }
@media (min-width: 1000px) and (max-height: 900px) { .og-sheet-wrap { --s: 430px; } }

/* ---------- Sections ---------- */
.og-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.og-section { padding-top: clamp(80px, 11vw, 128px); }
.og-welcome { text-align: center; max-width: 720px; margin: 0 auto; }
.og-welcome p { font-size: 1.1rem; }
.origami .og-welcome-title { font-family: var(--og-script); font-size: clamp(3.2rem, 9vw, 4.4rem); line-height: 1.05; color: var(--inv-primary); margin-bottom: 12px; }
.og-quote-author { font-family: var(--inv-font-heading); color: var(--inv-primary); }
.og-lead { text-align: center; font-family: var(--inv-font-heading); font-style: italic; font-size: 1.22rem; color: var(--og-ink-soft); max-width: 40ch; margin: 0 auto 26px; }

/* Couple: square prints with a white border and a dog-eared corner, each a little askew */
.og-couple-grid { display: grid; gap: 60px; justify-items: center; }
.og-person { text-align: center; max-width: 380px; display: grid; justify-items: center; }
.og-portrait { position: relative; margin: 0 0 26px; width: min(290px, 74vw); aspect-ratio: 1; padding: 10px; background: var(--og-paper); box-shadow: var(--og-shadow); transform: rotate(-2.4deg); }
.og-person:nth-child(even) .og-portrait { transform: rotate(2deg); }
.og-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.og-portrait::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; background: linear-gradient(315deg, var(--inv-bg) 50%, var(--og-paper-back) 50%); box-shadow: -2px -2px 4px -1px color-mix(in srgb, var(--inv-text) 18%, transparent); }
.og-person h3 { font-size: 1.6rem; margin: 0 0 8px; }
.og-person p { color: var(--og-ink-soft); }
@media (min-width: 760px) { .og-couple-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Family */
.og-family-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); text-align: center; }
.og-family-item { padding: 30px 26px; }

/* Story: photos held with washi tape */
.og-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 8vw, 86px); }
.og-chapter { display: grid; gap: 30px; align-items: center; }
.og-chapter-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; padding: 10px; background: var(--og-paper); box-shadow: var(--og-shadow); transform: rotate(-1.2deg); }
.og-chapter:nth-child(even) .og-chapter-photo { transform: rotate(1.4deg); }
.og-chapter-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.og-tape { position: absolute; z-index: 2; top: -13px; left: 50%; width: 118px; height: 28px; margin-left: -59px; transform: rotate(-4deg); opacity: .82;
    background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--inv-accent) 70%, var(--inv-surface)) 0 6px, color-mix(in srgb, var(--inv-accent) 45%, var(--inv-surface)) 6px 12px); }
.og-chapter-text h3 { font-size: 1.8rem; margin-bottom: 8px; }
.og-chapter-text p:not(.og-kicker) { color: var(--og-ink-soft); }
@media (min-width: 900px) {
    .og-chapter { grid-template-columns: 1fr 1fr; gap: 60px; }
    .og-chapter:nth-child(even) .og-chapter-photo { order: 2; }
}

/* Programme: the hour on a folded square set on its corner */
.og-moments { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.og-moment { padding: 36px 28px 30px; text-align: center; }
.og-square { margin: 0 auto 16px; width: max-content; }
.og-square span, .og-countdown .kit-countdown-value { position: relative; z-index: 0; display: grid; place-items: center; aspect-ratio: 1; color: var(--inv-primary); font-family: var(--inv-font-heading); }
.og-square span { width: 96px; font-size: 1.22rem; }
.og-square span::before, .og-countdown .kit-countdown-value::before { content: ""; position: absolute; z-index: -1; inset: 15%; transform: rotate(45deg);
    background: linear-gradient(135deg, color-mix(in srgb, var(--inv-primary) 10%, var(--inv-surface)) 50%, color-mix(in srgb, var(--inv-primary) 18%, var(--inv-surface)) 50%);
    box-shadow: 0 0 0 1px var(--og-line), 0 6px 12px -8px color-mix(in srgb, var(--inv-text) 40%, transparent); }
/* the top corner folded down onto the square */
.og-square span::after, .og-countdown .kit-countdown-value::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 34%; aspect-ratio: 2 / 1; transform: translateX(-50%);
    background: linear-gradient(180deg, var(--inv-primary), color-mix(in srgb, var(--inv-primary) 70%, var(--inv-surface))); clip-path: polygon(0 0, 100% 0, 50% 100%); opacity: .9; }
.og-moment h3 { font-size: 1.45rem; margin: 6px 0 6px; }
.og-moment-place { font-weight: 500; margin: 12px 0 0; }
.og-moment-address, .og-moment-notes { color: var(--og-ink-soft); margin: 0; }
.og-moment-notes { font-style: italic; margin-top: 6px; }
.origami .kit-button { border-radius: 2px; border: 1px solid var(--og-line); color: var(--inv-primary); background: transparent; font-size: .8rem; font-weight: 400; padding: 9px 16px; text-decoration: none; }
.origami .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); }

/* Countdown: on folded squares */
.og-countdown { text-align: center; }
.og-countdown .kit-countdown { gap: clamp(6px, 2.4vw, 22px); }
.og-countdown .kit-countdown-unit { min-width: 0; }
.og-countdown .kit-countdown-value { width: clamp(76px, 21vw, 132px); font-size: clamp(1.25rem, 5vw, 2.2rem); margin: 0 auto; }
.og-countdown .kit-countdown-label { margin-top: 2px; opacity: 1; color: var(--og-ink-soft); }

/* Gallery: prints with a white border; the corner folds when you hover */
.og-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.og-gallery-grid.kit-gallery a { position: relative; aspect-ratio: 4 / 5; padding: 7px; background: var(--og-paper); box-shadow: var(--og-shadow); }
.og-gallery-grid.kit-gallery img { width: 100%; height: 100%; object-fit: cover; }
.og-gallery-grid.kit-gallery a::after { content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 0; background: linear-gradient(315deg, var(--inv-bg) 50%, var(--og-paper-back) 50%); box-shadow: -2px -2px 4px -1px color-mix(in srgb, var(--inv-text) 18%, transparent); transition: width .35s, height .35s; }
.og-gallery-grid.kit-gallery a:hover::after, .og-gallery-grid.kit-gallery a:focus-visible::after { width: 34px; height: 34px; }
@media (min-width: 760px) { .og-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* RSVP */
.og-reply::before { opacity: .03; }
.og-reply { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 60px) clamp(24px, 6vw, 56px); }
.origami .inv-rsvp__intro { font-family: var(--inv-font-heading); font-size: 1.14rem; }
.origami .inv-rsvp__deadline { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-primary); }

/* Info, contact */
.og-info-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.og-info-item { padding: 34px 26px 18px; text-align: center; }
.og-info-item h3 { font-size: 1.35rem; color: var(--inv-primary); margin-bottom: 8px; }
.og-faq { max-width: 720px; margin: 44px auto 0; text-align: center; }
.og-faq details { text-align: left; border-bottom: 1px dashed var(--og-line); }
.og-faq details:first-of-type { border-top: 1px dashed var(--og-line); }
.og-faq summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 6px; position: relative; font-family: var(--inv-font-heading); font-size: 1.14rem; }
.og-faq summary::-webkit-details-marker { display: none; }
.og-faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%) rotate(45deg); border: 1px solid var(--inv-primary); transition: background .3s, transform .4s; }
.og-faq details[open] summary::after { background: var(--inv-primary); transform: translateY(-50%) rotate(225deg); }
.og-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; }
.og-faq details p { padding: 0 6px; color: var(--og-ink-soft); }
.og-faq details p:last-child { padding-bottom: 16px; }
.og-contact { text-align: center; }
.og-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 60px; }
.og-contact-person a { text-decoration: none; }

/* Footer: strings of a thousand cranes */
.og-footer { text-align: center; padding: clamp(100px, 14vw, 160px) 16px 70px; }
.og-strings { position: relative; width: min(620px, 100%); margin: 0 auto 40px; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 22px; }
.og-branch { position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--inv-text) 55%, var(--inv-accent)); }
.og-string::after { content: ""; position: absolute; bottom: -16px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--inv-accent); }
.og-string { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 14px; transform-origin: 50% 0; animation: og-sway 5s ease-in-out calc(var(--s) * -.7s) infinite alternate; }
.og-string::before { content: ""; position: absolute; top: 0; bottom: -10px; left: 50%; width: 1px; background: color-mix(in srgb, var(--inv-text) 35%, transparent); }
.og-bird { position: relative; width: clamp(32px, 8.4vw, 50px); aspect-ratio: 12 / 7; height: auto; animation: og-turn 6s ease-in-out calc(var(--k) * -1.1s - var(--s) * .4s) infinite alternate; }
.og-tone-0 { --c1: color-mix(in srgb, var(--inv-primary) 60%, white); --c2: var(--inv-primary); --c3: color-mix(in srgb, var(--inv-primary) 85%, black); }
.og-tone-1 { --c1: color-mix(in srgb, var(--inv-accent) 62%, white); --c2: var(--inv-accent); --c3: color-mix(in srgb, var(--inv-accent) 85%, black); }
.og-tone-2 { --c1: color-mix(in srgb, var(--inv-surface) 90%, var(--inv-text)); --c2: color-mix(in srgb, var(--inv-surface) 70%, var(--inv-text)); --c3: color-mix(in srgb, var(--inv-surface) 80%, var(--inv-text)); }
@keyframes og-sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@keyframes og-turn { from { transform: scaleX(1); } 45% { transform: scaleX(1); } 55% { transform: scaleX(-1); } to { transform: scaleX(-1); } }
.og-footer-message { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.25rem; color: var(--og-ink-soft); }
.og-footer-names { font-family: var(--og-script); font-size: clamp(3.4rem, 11vw, 5.4rem); line-height: 1.05; color: var(--inv-primary); margin: 6px 0 10px; }
.og-hashtag { letter-spacing: .12em; color: var(--inv-primary); }

@media (prefers-reduced-motion: reduce) {
    .kit-js .og-hero-inner > * { animation: none; }
    .kit-js .og-sheet { animation: none; }
    .kit-js .og-flap { animation: none; opacity: 0; }
    .kit-js .og-paper { opacity: 1; transform: none; transition: none; }
    .kit-js .og-f, .kit-js .og-crease { opacity: 1; transform: none; animation: none !important; }
    .og-string, .og-bird { animation: none; }
}
