:root {
    --ink: #241714;
    --muted: #6d5b54;
    --maroon: #7a2433;
    --night: #2c1014;
    --night-2: #1a090c;
    --gold: #c4a265;
    --gold-2: #f0e2c4;
    --ivory: #f6f0e6;
    --paper: #fffaf4;
    --rose: #f4e6df;
    --line: rgba(196, 162, 101, 0.55);
    --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", serif;
    --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
    --display: Cinzel, "Times New Roman", serif;
    --arabic: "Noto Naskh Arabic", "Noto Nastaliq Urdu", serif;
    --urdu: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif;
}

* { box-sizing: border-box; }

html {
    scroll-padding-top: 5.2rem;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.05;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--gold);
    color: var(--night);
    padding: 0.5rem 0.8rem;
    z-index: 30;
}

.skip:focus { top: 0.6rem; }

.wrap {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: rgba(246, 240, 230, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    font-family: var(--display);
    letter-spacing: 0.18em;
    text-decoration: none;
    color: var(--maroon);
}

.brand span { color: var(--gold); }

.nav {
    display: flex;
    gap: 1.1rem;
}

.nav a {
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}

.nav a:hover { color: var(--maroon); }

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    padding: 0.45rem 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--gold-2);
    background:
        radial-gradient(circle at 85% 10%, rgba(196, 162, 101, 0.2), transparent 26%),
        linear-gradient(165deg, #3d1820 0%, var(--night) 48%, var(--night-2) 100%);
    padding: 2.2rem 0 2.8rem;
}

.hero-grid { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    gap: 1.6rem;
}

.kicker {
    margin-bottom: 0.7rem;
    font-family: var(--display);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.kicker-ink { color: var(--maroon); }

.arabic, .urdu {
    margin-bottom: 0.35rem;
    text-align: center;
}

.arabic {
    font-family: var(--arabic);
    font-size: 1.7rem;
    line-height: 1.8;
}

.urdu {
    font-family: var(--urdu);
    font-size: 1.35rem;
    line-height: 2.2;
    color: var(--gold-2);
}

.hero h1 {
    margin: 0.4rem 0 1rem;
    text-align: center;
}

.name {
    display: block;
    font-size: clamp(2.7rem, 7vw, 5.3rem);
    font-weight: 600;
    color: #fffaf4;
}

.ampersand {
    display: block;
    margin: 0.15rem 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
}

.lede, .aside, .deck {
    color: rgba(240, 226, 196, 0.88);
}

.hero .lede, .hero .aside { text-align: center; }

.aside { font-size: 0.98rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.15rem;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold-2);
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn:hover { background: rgba(196, 162, 101, 0.12); transform: translateY(-2px); }

.btn-solid {
    background: var(--gold);
    color: var(--night);
}

.btn-solid:hover { background: var(--gold-2); }

.portrait {
    margin: 0;
    padding: 0.7rem;
    background: #f7f1e7;
    border: 1px solid var(--gold);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.portrait img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 18%;
}

.portrait figcaption, .story-photo figcaption {
    margin-top: 0.7rem;
    color: var(--muted);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    text-align: center;
}

.stamp {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.35rem 0.5rem;
    border: 2px solid var(--maroon);
    color: var(--maroon);
    font-family: var(--display);
    font-style: normal;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transform: rotate(-6deg);
}

.count-band {
    padding: 3.6rem 0 3rem;
    color: var(--gold-2);
    background:
        radial-gradient(circle at 100% 0%, rgba(196, 162, 101, 0.16), transparent 28%),
        var(--night-2);
}

.count-band h2 {
    margin-bottom: 0.6rem;
    color: #fffaf4;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.count-band .deck { color: rgba(240, 226, 196, 0.88); }

.pending-note {
    margin: 1.2rem 0 0.4rem;
    text-align: center;
    letter-spacing: 0.16em;
    font-family: var(--display);
    color: var(--gold);
}

.status {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.status li { margin: 0.2rem 0; }

.status strong { color: var(--gold); font-weight: 500; }

.desk .status strong { color: var(--maroon); }

.rules h3 {
    margin: 0 0 0.2rem;
    color: white;
    font-size: 1.35rem;
}

.rules li p { margin: 0; }

.faq { padding: 3.2rem 0 1rem; }

.faq h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.faq details {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.45rem;
}

.faq details p { margin: 0.45rem 0 0.15rem; }

.count {
    border: 1px solid var(--line);
    padding: 1rem;
    background: rgba(255, 250, 244, 0.04);
}

.count-kicker, .count-for, .count-note {
    text-align: center;
}

.count-kicker {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--gold-2);
}

.switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.switch button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--gold-2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.switch button[aria-pressed="true"] {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--night);
}

.switch i {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    border: 1px solid currentColor;
}

.switch i.is-set { background: currentColor; }

.face { margin-top: 1rem; }

.stamp-inline {
    display: block;
    width: max-content;
    margin: 0.4rem auto 0.8rem;
    color: var(--gold-2);
    border-color: var(--gold);
}

.digits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    text-align: center;
}

.digits strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.7rem, 5vw, 2.8rem);
    font-weight: 500;
    color: white;
    font-variant-numeric: tabular-nums;
}

.digits span {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.face[data-state="waiting"] .digits,
.face[data-state="started"] .digits,
.face[data-state="live"] .stamp-inline,
.face[data-state="started"] .stamp-inline { display: none; }

.count-note {
    min-height: 3.2rem;
    margin: 0.9rem 0 0;
    color: rgba(240, 226, 196, 0.9);
}

.glance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.glance li {
    padding: 0.55rem 0.6rem;
    border: 1px solid rgba(196, 162, 101, 0.3);
}

.glance span, .glance strong { display: block; }

.glance span {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.glance strong {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.banner {
    margin: 0.9rem 0 0;
    padding: 0.7rem 0.8rem;
    background: rgba(196, 162, 101, 0.16);
    color: var(--gold-2);
    text-align: center;
}

.banner.is-bad { background: rgba(122, 36, 51, 0.18); }

.desk {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(240, 226, 196, 0.35);
}

.desk summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0.2rem auto 0;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--gold);
    cursor: pointer;
    color: var(--night);
    background: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    list-style: none;
}

.desk summary::-webkit-details-marker { display: none; }

.desk summary:hover { background: var(--gold-2); }

.desk-aside {
    margin-bottom: 0;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
}

.desk p { color: rgba(240, 226, 196, 0.88); }

.desk label, .reply label {
    display: block;
    margin: 0.75rem 0;
    font-size: 0.92rem;
}

.desk input, .reply input, .reply select, .reply textarea, .desk textarea {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold-2);
}

.reply input, .reply select, .reply textarea {
    background: white;
    color: var(--ink);
    border-color: #e2d3c4;
}

.desk input[type="date"], .desk input[type="time"] { color-scheme: dark; }

.desk-grid, .form-grid {
    display: grid;
    gap: 0.6rem;
}

.desk fieldset, .reply fieldset {
    margin: 0.8rem 0;
    padding: 0.7rem;
    border: 1px solid rgba(196, 162, 101, 0.35);
}

.reply fieldset { border-color: #e7d9cb; }

.desk legend, .reply legend {
    padding: 0 0.3rem;
    font-family: var(--display);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.desk .btn-solid {
    letter-spacing: 0.04em;
    text-transform: none;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
}

.desk-link a { color: var(--gold); }

.story { padding: 4rem 0 3rem; }

.story-grid, .close-grid { display: grid; gap: 1.5rem; }

.story h2, .functions h2, .rules h2, .reply h2, .close h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.deck { color: var(--muted); font-size: 1.08rem; }

.chapters {
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.chapters li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(36, 23, 20, 0.12);
}

.chapters span {
    font-family: var(--display);
    color: var(--gold);
    letter-spacing: 0.08em;
}

.story-photo {
    margin: 0;
    padding: 0.65rem;
    background: white;
    border: 1px solid var(--line);
}

.story-photo img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 30%;
}

blockquote {
    margin: 2rem 0 0;
    padding: 0;
    text-align: center;
}

blockquote p {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: var(--maroon);
}

.committee {
    margin-top: 1.6rem;
    padding: 1.1rem 1.1rem 0.4rem;
    background: var(--paper);
    border: 1px solid var(--line);
}

.committee h3 {
    margin-bottom: 0.6rem;
    font-size: 1.8rem;
}

.committee ul { margin: 0; padding-left: 1.1rem; }

.committee li { margin-bottom: 0.55rem; }

.functions {
    padding: 3.5rem 0;
    background: var(--rose);
}

.event-grid {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.event {
    padding: 1.15rem 1.1rem 0.4rem;
    background: var(--paper);
    border: 1px solid rgba(122, 36, 51, 0.14);
    border-top: 3px solid var(--maroon);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(44, 16, 20, 0.08);
}

.event-index {
    margin-bottom: 0.2rem;
    font-family: var(--display);
    color: var(--gold);
    letter-spacing: 0.12em;
}

.event h3 { font-size: 2.3rem; margin-bottom: 0.45rem; }

.event dl { margin: 1rem 0 0.8rem; }

.event dl div {
    display: grid;
    grid-template-columns: 7.2rem 1fr;
    gap: 0.6rem;
    padding: 0.45rem 0;
    border-top: 1px solid rgba(36, 23, 20, 0.1);
}

.event dt {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--maroon);
}

.event dd { margin: 0; }

.event a { color: var(--maroon); }

.rules {
    padding: 3.6rem 0;
    color: var(--gold-2);
    background:
        radial-gradient(circle at 0% 100%, rgba(196, 162, 101, 0.16), transparent 28%),
        var(--night);
}

.rules h2 { color: white; }

.rules ol {
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: rule;
}

.rules li {
    counter-increment: rule;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(196, 162, 101, 0.28);
}

.rules li::before {
    content: counter(rule, decimal-leading-zero);
    font-family: var(--display);
    color: var(--gold);
}

.rsvp { padding: 3.5rem 0; }

.reply {
    position: relative;
    padding: 1.4rem 1.1rem 1.3rem;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(44, 16, 20, 0.06);
}

.tear {
    margin: -1.4rem -1.1rem 1rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px dashed var(--gold);
    text-align: center;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--maroon);
}

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
}

.checks label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.25rem 0;
}

.checks input { width: auto; margin: 0; }

.text-btn {
    margin-top: 0.6rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--maroon);
    text-decoration: underline;
    cursor: pointer;
}

.form-status { min-height: 1.4rem; margin-bottom: 0; }

.form-status.is-ok { color: #2f6b45; }

.form-status.is-error { color: var(--maroon); }

.form-status.is-pending { color: var(--muted); }

.cousin { margin-top: 1rem; }

.cousin a { color: var(--maroon); }

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.close {
    padding: 0 0 3rem;
}

.close-grid figure {
    margin: 0;
    background: var(--night);
}

.close-grid img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    object-position: center 30%;
}

.close .kicker { margin-top: 0.4rem; }

.close p { color: var(--muted); }

.ps {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--maroon);
}

.foot {
    padding: 1.4rem 0 2rem;
    background: var(--night);
    color: rgba(240, 226, 196, 0.78);
    text-align: center;
    font-size: 0.92rem;
}

.foot p { margin: 0.25rem 0; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (min-width: 720px) {
    .desk-grid, .form-grid { grid-template-columns: 1fr 1fr; }
    .event-grid { grid-template-columns: 1fr 1fr; }
    .glance { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 980px) {
    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        grid-template-areas: "copy photo";
        align-items: center;
        gap: 2rem 2.4rem;
    }

    .hero-copy { grid-area: copy; }
    .portrait { grid-area: photo; align-self: stretch; }
    .portrait img { height: 100%; max-height: 760px; }
    .hero .lede, .hero .aside, .arabic, .urdu, .hero h1 { text-align: left; }
    .hero-actions { justify-content: flex-start; }
    .story-grid, .close-grid {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
        gap: 2.5rem;
    }
    .close-grid { grid-template-columns: 0.9fr 1.1fr; }
    .reply { padding: 1.6rem 1.6rem 1.4rem; }
    .tear { margin: -1.6rem -1.6rem 1.1rem; }
}

@media (max-width: 979px) {
    .hero-grid { display: flex; flex-direction: column; }
    .hero-copy { display: contents; }
    .hero .arabic { order: 1; }
    .hero .urdu { order: 2; }
    .hero .kicker { order: 3; }
    .hero h1 { order: 4; }
    .portrait { order: 5; }
    .hero .lede { order: 6; }
    .hero .aside { order: 7; }
    .hero-actions { order: 8; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--ivory);
        border-bottom: 1px solid var(--line);
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 0.9rem 1.1rem; border-top: 1px solid rgba(196, 162, 101, 0.25); }
}

.petals {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.petals span {
    position: absolute;
    top: -12%;
    width: 9px;
    height: 14px;
    background: rgba(240, 226, 196, 0.55);
    border-radius: 70% 10% 70% 10%;
    animation: fall linear infinite;
}

.petals span:nth-child(1) { left: 8%; animation-duration: 13s; animation-delay: -2s; }
.petals span:nth-child(2) { left: 22%; animation-duration: 16s; animation-delay: -8s; width: 7px; }
.petals span:nth-child(3) { left: 46%; animation-duration: 14s; animation-delay: -5s; }
.petals span:nth-child(4) { left: 63%; animation-duration: 18s; animation-delay: -11s; }
.petals span:nth-child(5) { left: 78%; animation-duration: 12s; animation-delay: -3s; width: 6px; }
.petals span:nth-child(6) { left: 90%; animation-duration: 17s; animation-delay: -9s; }

.top { animation: arrive 0.6s ease both; }

.hero .arabic { animation: rise 0.9s ease both; }
.hero .urdu { animation: rise 0.9s 0.12s ease both; }
.hero .kicker { animation: rise 0.8s 0.22s ease both; }
.hero .name:first-of-type { animation: rise 0.95s 0.34s ease both; }
.hero .ampersand { animation: bloom 0.8s 0.5s ease both; }
.hero .name:last-of-type { animation: rise 0.95s 0.62s ease both; }
.hero .lede { animation: rise 0.8s 0.78s ease both; }
.hero .aside { animation: rise 0.8s 0.9s ease both; }
.hero-actions { animation: rise 0.8s 1s ease both; }
.portrait { animation: rise 1.1s 0.28s ease both; }
.count { animation: rise 1s 0.55s ease both; }
.stamp { animation: press 0.7s 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.face.is-swap { animation: rise 0.35s ease; }
.digits strong.is-tick { animation: tick 0.35s ease; }

.has-motion .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.has-motion .reveal.is-in {
    opacity: 1;
    transform: none;
}

.has-motion .event:nth-child(2),
.has-motion .rules li:nth-child(2) { transition-delay: 0.08s; }
.has-motion .event:nth-child(3),
.has-motion .rules li:nth-child(3) { transition-delay: 0.16s; }
.has-motion .event:nth-child(4),
.has-motion .rules li:nth-child(4) { transition-delay: 0.24s; }
.has-motion .rules li:nth-child(5) { transition-delay: 0.32s; }
.has-motion .rules li:nth-child(6) { transition-delay: 0.4s; }
.has-motion .rules li:nth-child(7) { transition-delay: 0.48s; }
.has-motion .rules li:nth-child(8) { transition-delay: 0.56s; }

.has-motion .event.reveal {
    transition: opacity 0.75s ease, transform 0.75s ease, box-shadow 0.3s ease;
}

.has-motion .event.reveal.is-in:hover {
    transform: translateY(-4px);
}

.nav.is-open a { animation: rise 0.35s ease both; }
.nav.is-open a:nth-child(2) { animation-delay: 0.04s; }
.nav.is-open a:nth-child(3) { animation-delay: 0.08s; }
.nav.is-open a:nth-child(4) { animation-delay: 0.12s; }
.nav.is-open a:nth-child(5) { animation-delay: 0.16s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes bloom {
    from { opacity: 0; transform: scale(0.6) rotate(-8deg); }
    to { opacity: 1; transform: none; }
}

@keyframes press {
    0% { opacity: 0; transform: rotate(-18deg) scale(1.35); }
    70% { opacity: 1; transform: rotate(-3deg) scale(0.96); }
    100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}

@keyframes tick {
    from { opacity: 0.2; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

@keyframes arrive {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fall {
    0% { opacity: 0; transform: translate3d(0, -10vh, 0) rotate(0deg); }
    12% { opacity: 0.8; }
    100% { opacity: 0; transform: translate3d(30px, 105vh, 0) rotate(200deg); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .has-motion .reveal,
    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .top, .desk, .rsvp, .nav-toggle, .hero-actions { display: none !important; }
    body { background: white; }
    .hero, .rules, .foot { background: white; color: black; }
}
