:root {
    --black: #0a0a0a;
    --ink: #1a1a1a;
    --ivory: #f3f3f1;
    --paper: #fbfbfa;
    --gold: #c6b17a;
    --gold-soft: #e4d7b8;
    --icon: #333;
    --muted: #6b6b6b;
    --line: rgba(198, 177, 122, .38);
    --font-script: "Carattere", "Segoe Script", cursive;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --vv-bottom: 0px;
    --vv-height: 100svh;
    --vv-offset-top: 0px;
}

* { box-sizing: border-box; }
html {
    scroll-behavior: auto;
    overflow-x: clip;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: var(--font-sans);
    line-height: 1.65;
    overflow-x: clip;
}
body.intro-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .45em;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.wrap.narrow { width: min(640px, calc(100% - 32px)); }
.split { display: grid; gap: 24px; }

.eyebrow {
    letter-spacing: .32em;
    text-transform: uppercase;
    font-size: .68rem;
    color: var(--gold);
    margin: 0 0 .8rem;
}
.eyebrow.display {
    font-size: clamp(1.08rem, 3.8vw, 1.62rem);
    letter-spacing: .34em;
    margin-bottom: 1rem;
}
.script-names {
    font-family: var(--font-script);
    font-weight: 400;
    font-synthesis: none;
    font-size: clamp(2.4rem, 8vw, 4.6rem);
    line-height: 1.12;
    letter-spacing: .01em;
    margin: .15rem 0 .4rem;
    overflow: visible;
    -webkit-font-smoothing: antialiased;
}
.script-names span { color: var(--gold); padding: 0 .15em; }
.script-names .cover-name {
    color: inherit;
    display: inline;
    padding: 0;
}
.script-names .cover-amp { color: var(--gold); padding: 0 .08em; }
.script-names.sm { font-size: clamp(2.2rem, 7vw, 3.4rem); }
.lead { font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; }
.muted { color: var(--muted); }
.quote-icon {
    width: 88px;
    height: 28px;
    margin: 0 auto 18px;
    color: var(--icon);
    display: grid;
    place-items: center;
}
.quote-icon svg { width: 88px; height: 28px; }

.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid var(--gold);
    background: transparent;
    color: inherit;
    text-decoration: none;
    font: 500 0.95rem var(--font-sans);
    cursor: pointer;
    width: 100%;
    max-width: 360px;
    touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.btn-outline { background: transparent; }

.flourish {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: .35rem 0 1.1rem;
    color: var(--gold);
}
.flourish::before,
.flourish::after {
    content: "";
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.flourish::after { background: linear-gradient(90deg, var(--gold), transparent); }
.flourish span {
    width: 7px;
    height: 7px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}
.intro-overlay .flourish {
    gap: 14px;
    margin: .55rem 0 1.65rem;
}
.intro-overlay .flourish::before,
.intro-overlay .flourish::after {
    width: 58px;
}
.intro-overlay .flourish span {
    width: 12px;
    height: 12px;
}

.monogram,
.wax-seal {
    position: relative;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin: 0 auto 16px;
    color: var(--gold);
}
.monogram-draw {
    display: none;
}
.monogram-mark {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.wax-seal-lg .monogram-mark {
    opacity: 0;
    transform: scale(.9);
    filter: blur(12px);
}
.seal-button.is-ready .wax-seal-lg .monogram-mark {
    animation: mono-rise 2.4s cubic-bezier(.16, .84, .18, 1) .05s forwards;
}
.seal-button {
    border: 0;
    background: none;
    padding: 8px;
    cursor: pointer;
    color: inherit;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.92);
    pointer-events: none;
}
.seal-button.is-ready {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity .8s ease, transform 1s cubic-bezier(.16,.84,.18,1), visibility 0s;
}
.wax-seal-sm .monogram-mark { opacity: 1; }
.wax-seal-lg,
.monogram.wax-seal-lg {
    width: min(28vw, 92px);
    height: min(28vw, 92px);
}
.wax-seal-sm,
.monogram.wax-seal-sm {
    width: 92px;
    height: 92px;
}
.wax-seal-pulse { animation: none; }
.seal-button.is-ready .wax-seal-pulse { animation: seal-pulse 5.5s ease-in-out .6s infinite; }

.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    text-align: center;
    color: #f4f1ea;
    background:
        radial-gradient(circle at 50% 28%, rgba(198, 177, 122, .14), transparent 46%),
        var(--black);
    transition: opacity 1.4s ease, visibility 1.4s ease;
}
.intro-stars {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.intro-star {
    position: absolute;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: #f7f1df;
    box-shadow: 0 0 10px 2px rgba(228, 215, 184, .62);
    opacity: 0;
    animation: intro-twinkle var(--twinkle, 3.6s) ease-in-out var(--twinkle-delay, 0s) infinite;
}
@keyframes intro-twinkle {
    0%, 100% { opacity: 0; transform: scale(.4); }
    45%, 55% { opacity: .95; transform: scale(1); }
}
.intro-overlay.is-gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.intro-veil { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.intro-card { position: relative; z-index: 1; padding: 24px 16px; width: min(620px, calc(100% - 28px)); max-width: 620px; overflow: visible; }
.cover-kicker {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 7.4vw, 2.9rem);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin: 0 0 .25rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-42px);
    animation: drop-in 1.05s cubic-bezier(.16,.84,.18,1) .12s forwards;
}
.cover-kicker.light { color: rgba(255,255,255,.88); }
.cover-names {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: baseline;
    white-space: nowrap;
    gap: 0;
    margin: .1rem 0 .2rem;
    overflow: visible;
    font-size: clamp(1.85rem, 7.2vw, 4.1rem);
    line-height: 1.2;
}
.intro-overlay .cover-names {
    width: 100%;
    margin: .62rem 0 .72rem;
    font-size: clamp(2.55rem, 13vw, 4.5rem);
    letter-spacing: 1px;
    line-height: 1.08;
}
.cover-name { white-space: nowrap; }
.letter {
    display: inline;
    clip-path: inset(-1.2em 130% -0.8em -0.6em);
    animation: write-letter .36s cubic-bezier(.2,.72,.16,1) var(--i, 0s) both;
}
.letter-space { display: inline-block; width: .28em; }
.cover-amp {
    display: inline-block;
}
.cover-write-amp {
    display: inline-block;
    opacity: 0;
    transform: translateY(.1em);
    animation: amp-in .45s cubic-bezier(.16,.84,.18,1) var(--write-delay, 1.8s) both;
}
.cover-save,
.film-save {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    color: var(--gold-soft);
    min-height: 1.45em;
    margin: .35rem 0 0;
}
.cover-date {
    font-family: var(--font-serif);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .82rem;
    min-height: 1.4em;
    margin: .2rem 0 0;
    opacity: .9;
}
.intro-overlay .cover-date {
    font-size: clamp(1rem, 3.6vw, 1.22rem);
    letter-spacing: .12em;
    margin: .28rem 0 0;
}
.intro-overlay .seal-button {
    margin: .15rem 0 0;
    padding: 18px 12px 10px;
}
.intro-overlay .wax-seal-lg,
.intro-overlay .monogram.wax-seal-lg {
    margin: 0 auto;
}
.js-type.is-typing::after {
    content: "▍";
    display: inline-block;
    margin-left: 1px;
    color: var(--gold);
    animation: caret-blink .9s steps(1) infinite;
}
.film-copy .cover-kicker,
.film-copy .cover-write-amp,
.film-copy .letter {
    animation-play-state: paused;
}
.film-copy.is-play .cover-kicker,
.film-copy.is-play .cover-write-amp,
.film-copy.is-play .letter {
    animation-play-state: running;
}
.intro-lead { font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; }
.intro-hint {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-top: 28px;
    opacity: 0;
    transform: scale(1);
}
.intro-hint.is-ready {
    opacity: 1;
    animation: intro-hint-pulse 1.85s ease-in-out .35s infinite;
}
@keyframes intro-hint-pulse {
    0%, 100% { transform: scale(1); opacity: .78; }
    50% { transform: scale(1.16); opacity: 1; }
}
.fade-in { opacity: 0; transform: translateY(16px); animation: rise 2.2s ease forwards; }
.delay-1 { animation-delay: .25s; }
.delay-2 { animation-delay: .8s; }
.delay-3 { animation-delay: 1.4s; }
.delay-4 { animation-delay: 2s; }

.film-pin {
    height: 300vh;
    background: #000;
    color: #fff;
}
.film-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    background: #000;
}
.film-sticky video,
.film-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    transform: scale(var(--film-scale, .6));
    transform-origin: center center;
    clip-path: inset(var(--film-inset, 10% 14%) round var(--film-radius, 28px));
    will-change: transform, clip-path;
}
.film-fallback { background: #000 center/cover no-repeat; }
.film-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.82) 100%);
}
.film-copy {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    display: grid;
    place-content: end center;
    text-align: center;
    padding: 0 20px 96px;
    opacity: var(--film-copy-opacity, 1);
}
.film-date { letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; opacity: .9; }
.film-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 2;
    margin: 0;
    text-align: center;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .68rem;
    opacity: .75;
}
.film-mute {
    position: absolute;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 3;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.film-mute svg { width: 22px; height: 22px; }
.film-mute .icon-on,
.film-mute .icon-off { display: grid; place-items: center; }
.film-mute .icon-off { display: none; }
.film-mute.is-sound .icon-on { display: none; }
.film-mute.is-sound .icon-off { display: grid; }

.story-pin {
    height: 380vh;
    min-height: 100vh;
    background: #000;
    color: #f3efe7;
}
.story-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}
.story-chrome {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 5;
    flex: 0 0 auto;
    padding: 18px 6vw 40px;
    background: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 68%, transparent 100%);
    pointer-events: none;
}
.story-sticky .section-head {
    text-align: left;
    margin: 0 0 8px;
}
.story-sticky .section-head .eyebrow {
    margin-bottom: 8px;
    font-size: .78rem;
    letter-spacing: .28em;
}
.story-sticky .section-head .eyebrow {
    opacity: 0;
    transform: translateY(-22px);
}
.story-pin.is-live .section-head .eyebrow {
    opacity: 1;
    transform: none;
    transition: opacity .9s cubic-bezier(.16,.84,.18,1), transform 1s cubic-bezier(.16,.84,.18,1);
}
.story-sticky h2 {
    font-size: clamp(1.85rem, 4.8vw, 3.1rem);
    max-width: 18em;
    margin: 0;
    line-height: 1.12;
    min-height: 3.2em;
}
.story-progress {
    width: 100%;
    max-width: 240px;
    height: 3px;
    margin: 14px 0 0;
    background: rgba(255,255,255,.16);
}
.story-progress span {
    display: block;
    height: 100%;
    width: calc(var(--story-progress, 0) * 100%);
    background: var(--gold);
}
.story-viewport {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: stretch;
    position: relative;
    min-height: 0;
}
.story-axis {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(198, 177, 122, .58);
    z-index: 2;
    pointer-events: none;
    transform: translateY(-50%);
}
.story-track {
    position: relative;
    z-index: 1;
    display: flex;
    gap: min(22vw, 240px);
    padding: 0 14vw 0 8vw;
    will-change: transform;
    align-items: stretch;
    height: 100%;
    transform: translate3d(var(--story-shift, 0px), 0, 0);
}
.story-card {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
    color: #f3efe7;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 36px;
    height: 100%;
    min-height: 0;
}
.story-photo {
    position: relative;
    flex: 0 0 auto;
    align-self: stretch;
    width: auto;
    height: 100%;
    aspect-ratio: 3 / 4;
    max-width: none;
    max-height: none;
    overflow: hidden;
    background: transparent;
    z-index: 3;
    border-radius: 20px;
}
.story-photo::before,
.story-photo::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px #000;
    z-index: 3;
}
.story-photo::before {
    left: 0;
    transform: translate(-50%, -50%);
}
.story-photo::after {
    right: 0;
    transform: translate(50%, -50%);
}
.story-photo img,
.story-photo video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    object-position: center;
    filter: saturate(.96);
    background: transparent;
    border-radius: 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16px, #000 calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.story-photo video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}
.story-photo.is-placeholder {
    display: grid;
    place-items: center;
    color: var(--gold-soft);
    text-align: center;
    padding: 24px;
    border: 1px solid rgba(198, 177, 122, .22);
    min-height: 180px;
}
.story-heading {
    min-width: 0;
    margin: 0 0 10px;
    overflow: hidden;
}
.story-copy {
    flex: 0 0 auto;
    align-self: center;
    width: min(34em, 42vw);
    min-width: 260px;
    z-index: 4;
    padding: 4px 8px 4px 2px;
}
.story-year,
.story-heading h3 {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
}
.story-card.is-in .story-year,
.story-card.is-in .story-heading h3 {
    opacity: 1;
    transform: none;
    filter: none;
}
.story-card.is-in .story-year {
    transition: opacity 1.05s cubic-bezier(.16,.84,.18,1), transform 1.15s cubic-bezier(.16,.84,.18,1), filter 1.05s ease;
}
.story-card.is-in .story-heading h3 {
    transition: opacity 1.2s .16s cubic-bezier(.16,.84,.18,1), transform 1.25s .16s cubic-bezier(.16,.84,.18,1), filter 1.15s .16s ease;
}
.story-year {
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: .04em;
    text-transform: none;
    font-size: clamp(1.25rem, 2.8vw, 1.7rem);
    color: var(--gold-soft);
    margin: 0 0 .4rem;
}
.story-heading h3 {
    font-size: clamp(2.1rem, 5.2vw, 3.6rem);
    margin: 0;
    line-height: 1.05;
}
.story-text {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    position: relative;
    z-index: 4;
    color: #d8d1c6;
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.55;
    margin: 0;
    max-width: 34em;
    padding: 0;
    text-align: left;
    min-height: 4.4em;
    opacity: 0;
}
.story-card.is-in .story-text {
    opacity: 1;
}
.story-card.is-alt-mid .story-text,
.story-card.is-alt-left .story-text,
.story-card.is-alt-right .story-text {
    justify-self: start;
    text-align: left;
}
@media (max-width: 700px) {
    .story-pin { height: 520vh; }
    .story-chrome {
        padding: 16px 5vw 36px;
        background: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 62%, transparent 100%);
    }
    .story-sticky h2 {
        font-size: clamp(1.32rem, 6.4vw, 1.85rem);
        max-width: none;
        min-height: 3.4em;
    }
    .story-track {
        gap: 18vw;
        padding: 0 22vw 0 6vw;
        align-items: stretch;
    }
    .story-card {
        width: max-content;
        gap: 16px;
        height: 100%;
        min-height: 0;
        padding-top: 0;
    }
    .story-photo {
        width: auto;
        height: 100%;
        max-width: none;
        max-height: none;
        transform: none;
        align-self: stretch;
        border-radius: 18px;
    }
    .story-photo img,
    .story-photo video {
        width: 100%;
        height: 100%;
        max-height: none;
        max-width: none;
        min-width: 0;
        object-fit: cover;
        object-position: center;
        border-radius: 18px;
    }
    .story-heading h3 { font-size: clamp(1.28rem, 5.6vw, 1.7rem); }
    .story-year { font-size: 1.05rem; }
    .story-copy {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        align-self: center;
        width: 58vw;
        min-width: 58vw;
        max-width: 58vw;
        padding: 0 4px 0 2px;
        background: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        text-shadow: none;
    }
    .story-text {
        font-size: .95rem;
        line-height: 1.45;
        padding: 0;
        max-width: none;
    }
}
.section { padding: 88px 0; }
.section-ivory { background: var(--ivory); }
.section-dark {
    background: var(--black);
    color: #f6f1e8;
}
.section-head, .section-title { text-align: center; margin-bottom: 32px; }
.section-head h2, .section-title {
    font-size: clamp(2.15rem, 5.6vw, 3.55rem);
    margin-bottom: .2em;
}
.quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    font-style: italic;
    margin: 0 0 24px;
}

.paper-card {
    position: relative;
    isolation: isolate;
    background-color: #fbfbfa;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.28)),
        url("../images/backgrounds/paper.jpg");
    background-size: auto, cover;
    background-position: center;
    background-blend-mode: normal, luminosity;
    border: 1px solid rgba(28, 28, 28, .08);
    border-radius: 20px;
    padding: 36px 22px 32px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 18px 40px rgba(20, 20, 20, .06);
    text-align: center;
}
.paper-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(28, 28, 28, .06);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}
.paper-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: .18;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}
.paper-card > * {
    position: relative;
    z-index: 2;
}
.card-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    color: var(--icon);
    display: grid;
    place-items: center;
}
.card-icon svg,
.card-icon.light svg,
.card-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}
.card-icon.light { color: #d8d8d8; }
.btn svg, .music-toggle svg { width: 22px; height: 22px; }
.time svg { width: 34px; height: 34px; flex-shrink: 0; }
.timeline .time svg { width: 36px; height: 36px; }
.story-photo svg { width: 56px; height: 56px; }

.countdown { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 28px); }
.count-card {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0 4px;
    min-width: 0;
}
.count-card strong {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 6.2vw, 3.4rem);
    line-height: 1;
}
.count-card span {
    display: block;
    margin-top: 6px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .8;
}
.countdown-done { font-family: var(--font-serif); font-size: 2rem; text-align: center; }
.countdown-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #f6f1e8;
    min-height: 92svh;
    display: grid;
    align-items: center;
    background: #000;
}
.countdown-video,
.countdown-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.countdown-video {
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.12) contrast(1.04) saturate(1.02) blur(7px);
    transform: scale(1.08);
}
.countdown-shade {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(10,10,10,.1) 0%, rgba(10,10,10,.16) 48%, rgba(10,10,10,.28) 100%);
}
.countdown-section .wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}

.parents-grid, .padrinos-grid, .gallery-grid, .dress-photos, .gifts-grid { display: grid; gap: 20px; }
.parents-grid, .dress-photos { grid-template-columns: 1fr; }
.photo-frame, .gallery-item { min-height: 240px; border-radius: 14px; overflow: hidden; background: #fff; }
.photo-frame img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item { border: 0; padding: 0; cursor: pointer; }
.is-placeholder, .photo-frame.is-placeholder, .gallery-item.is-placeholder {
    display: grid;
    place-items: center;
    background: #eceae6;
    color: var(--muted);
    min-height: 220px;
}
.passes-highlight { font-family: var(--font-serif); font-size: 1.02rem; opacity: .86; }
.notice {
    padding: 14px 16px;
    border-left: 2px solid var(--gold);
    background: rgba(198, 177, 122, .1);
    text-align: left;
}
.access-download {
    display: flex;
    justify-content: center;
    margin: 18px auto 0;
}
.access-download .btn { max-width: 360px; }
.access-download-msg {
    text-align: center;
    margin: 10px 0 0;
    min-height: 1.3em;
}
.notice {
    padding: 14px 16px;
    border-left: 2px solid var(--gold);
    background: rgba(198, 177, 122, .1);
    text-align: left;
}

.rsvp-card {
    text-align: left;
    padding: 28px 20px 32px;
}
.rsvp-card .section-head { margin-bottom: 20px; }
.rsvp-form { display: grid; gap: 18px; }
.rsvp-form .field {
    display: grid;
    gap: 8px;
    font-size: .88rem;
    color: var(--muted);
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(26, 26, 26, .14);
    border-radius: 12px;
    font: 16px/1.4 var(--font-sans);
    color: var(--ink);
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}
.rsvp-form textarea { min-height: 120px; resize: vertical; }
.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
    border-color: var(--gold);
}
.select-wrap { position: relative; }
.select-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.select-wrap select { padding-right: 44px; }
.choice-set {
    border: 0;
    padding: 0;
    margin: 0;
}
.choice-set legend {
    margin-bottom: 10px;
    font-size: .88rem;
    color: var(--muted);
}
.choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.choice-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 64px;
    padding: 16px 14px;
    border: 1px solid rgba(26, 26, 26, .14);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--ink);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.choice-card:has(input:checked) {
    border-color: var(--gold);
    background: #faf7f1;
    box-shadow: inset 0 0 0 1px var(--gold);
}
.rsvp-form .btn { max-width: none; }
.rsvp-form .couple-thin {
    font-weight: 400;
    color: var(--ink);
}
.form-msg { min-height: 1.4em; color: #9b3d3d; }
.form-msg.is-ok { color: #2d7a45; font-weight: 500; }
.confetti-layer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 90;
}
.qr-box { display: grid; place-items: center; min-height: 260px; background: #fff; border-radius: 18px; padding: 20px; }
.qr-box img, #qr-canvas canvas { width: min(260px, 70vw); }
.access-copy {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-style: italic;
    margin: .4rem auto 1.1rem;
    max-width: 22em;
}
.qr-frame {
    position: relative;
    width: min(340px, 86vw);
    aspect-ratio: 1;
    margin: 12px auto 28px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.qr-wreath {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
}
.qr-assemble {
    position: absolute;
    inset: 15%;
    display: block;
    overflow: hidden;
    background: #fff;
    z-index: 1;
}
.qr-zoom {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.qr-piece {
    background-image: var(--qr);
    background-repeat: no-repeat;
    background-size: 300% 300%;
    background-position: calc(var(--c) * 50%) calc(var(--r) * 50%);
    opacity: 0;
    transform: translate3d(calc((var(--c) - 1) * 36px), calc((var(--r) - 1) * 36px), 0) scale(.45);
}
.qr-frame.is-assembled .qr-piece {
    opacity: 1;
    transform: none;
    transition:
        opacity .55s var(--d, 0s) ease,
        transform .8s var(--d, 0s) cubic-bezier(.16,.84,.18,1);
}
.parents-names {
    display: grid;
    gap: 36px;
    text-align: center;
}
.parent-block h3 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: var(--gold);
    margin-bottom: .35em;
}
.parent-name {
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 3.4vw, 2rem);
    margin: .15em 0;
    min-height: 1.35em;
}
.venue-card h2 {
    font-size: clamp(2.05rem, 5.4vw, 3.15rem);
}
.padrino-card .card-icon,
.venue-card .card-icon,
.access-card .card-icon,
.quote-icon {
    opacity: 0;
    transform: scale(.62) translateY(12px);
}
.reveal.is-visible .card-icon,
.reveal.is-visible .quote-icon {
    opacity: 1;
    transform: none;
    transition: opacity .7s ease, transform .85s cubic-bezier(.16,.84,.18,1);
}
.reveal .section-head .eyebrow,
.invite-letter .eyebrow,
.venue-card .eyebrow,
.access-card .eyebrow,
.reveal .section-head h2,
.invite-letter h2,
.venue-card h2,
.access-card h2,
.padrino-card h3,
.padrino-card p {
    opacity: 0;
    transform: translateY(-20px);
}
.reveal.is-visible .eyebrow,
.reveal.is-visible h2,
.reveal.is-visible h3,
.invite-letter.reveal.is-visible p,
.venue-card.reveal.is-visible p,
.padrino-card.reveal.is-visible p,
.access-card.reveal.is-visible p {
    opacity: 1;
    transform: none;
    transition: opacity .8s ease, transform .9s cubic-bezier(.16,.84,.18,1);
}
.reveal.is-visible h2 { transition-delay: .08s; }
.reveal.is-visible h3,
.invite-letter.reveal.is-visible p,
.venue-card.reveal.is-visible p { transition-delay: .16s; }
.photos-night { color: #f6f1e8; }
.photos-lead {
    max-width: 34em;
    margin: 0 auto 24px;
    text-align: center;
}
.photos-upload {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.photos-pick { width: auto; cursor: pointer; }
.photos-night-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.photos-night-item {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    min-height: 160px;
    background: rgba(255,255,255,.06);
}
.photos-night-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}
.photos-night-item.is-new {
    animation: drop-in .8s cubic-bezier(.16,.84,.18,1);
}

.itinerary-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--black);
}
.itinerary-bg,
.itinerary-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.itinerary-bg {
    z-index: 0;
    background: center/cover no-repeat;
    transform: scale(1.12);
    filter: grayscale(.55) saturate(.35) brightness(.28) blur(14px);
}
.itinerary-shade {
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(10,10,10,.35), rgba(10,10,10,.88) 62%);
}
.itinerary-section .wrap {
    position: relative;
    z-index: 2;
}
.itinerary-section .section-head h2 {
    font-size: clamp(2.6rem, 8vw, 4.4rem);
    letter-spacing: .04em;
}
.itinerary-line {
    list-style: none;
    margin: 12px auto 0;
    padding: 8px 0 8px;
    position: relative;
    max-width: 560px;
}
.itinerary-line::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(198,177,122,.85), transparent);
    transform: translateX(-50%);
}
.itinerary-line li {
    --dir: 42px;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 26px 0;
    min-height: 104px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    align-items: center;
    column-gap: 0;
    text-align: left;
}
.itinerary-line li.is-left { --dir: 46px; }
.itinerary-line li.is-right { --dir: -46px; }
.itinerary-line li.is-left .itinerary-icon {
    grid-column: 1;
    justify-self: end;
    margin-right: 10px;
}
.itinerary-line li.is-left .itinerary-copy {
    grid-column: 3;
    text-align: left;
    padding-left: 10px;
}
.itinerary-line li.is-right .itinerary-icon {
    grid-column: 3;
    justify-self: start;
    margin-left: 10px;
}
.itinerary-line li.is-right .itinerary-copy {
    grid-column: 1;
    text-align: right;
    padding-right: 10px;
}
.itinerary-line li::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(10, 10, 10, .9);
    transform: translate(-50%, -50%);
    z-index: 1;
}
.itinerary-line li.is-right::before,
.itinerary-line li.is-left::before {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
}
.itinerary-line li::after { display: none; }
.itinerary-icon {
    width: 82px;
    height: 82px;
    margin: 0;
    color: #d8d8d8;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateX(calc(var(--dir, 46px) * -1)) scale(.72);
    transition: opacity 1s var(--d, 0s) ease, transform 1.15s var(--d, 0s) cubic-bezier(.16,.84,.18,1);
}
.itinerary-icon svg { width: 74px; height: 74px; }
.reveal.is-visible .itinerary-icon {
    opacity: 1;
    transform: none;
}
.itinerary-copy h3 {
    font-family: var(--font-sans);
    font-size: clamp(.88rem, 2.4vw, 1.08rem);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 4px;
    opacity: 0;
    transform: translateX(var(--dir, 46px));
    filter: blur(8px);
    transition:
        opacity 1.15s calc(var(--d, 0s) + .12s) ease,
        transform 1.3s calc(var(--d, 0s) + .12s) cubic-bezier(.16,.84,.18,1),
        filter 1.15s calc(var(--d, 0s) + .12s) ease,
        letter-spacing 1.35s calc(var(--d, 0s) + .12s) ease;
}
.itinerary-copy p {
    margin: 0;
    color: var(--gold-soft);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.08rem;
    letter-spacing: .04em;
    min-height: 1.4em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s calc(var(--d, 0s) + .28s) ease, transform 1.1s calc(var(--d, 0s) + .28s) ease;
}
.reveal.is-visible .itinerary-copy h3 {
    opacity: 1;
    transform: none;
    filter: none;
    letter-spacing: .16em;
}
.reveal.is-visible .itinerary-copy p {
    opacity: 1;
    transform: none;
}

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(26, 26, 26, .08);
    align-items: center;
}
.time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: var(--ink);
}

.guest-name {
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 4vw, 2.15rem);
    min-height: 1.4em;
    margin: .15rem 0 .8rem;
}

.gifts-lead {
    max-width: 36em;
    margin: 0 auto 28px;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-style: italic;
}
.gifts-grid {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
}
.gift-card-main {
    grid-column: 1 / -1;
}
.contact-card { margin-top: 8px; }
.contact-actions {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin-top: 18px;
}
.contact-actions .btn { max-width: 360px; }

.dress-shot {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
}
.dress-shot img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.dress-shot figcaption {
    padding: 10px 12px 12px;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-soft);
    background: rgba(10,10,10,.55);
}

.rsvp-lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.08rem;
    margin: 0 auto;
    max-width: 22em;
}
.field-hint {
    display: block;
    font-size: .82rem;
    line-height: 1.45;
    color: var(--muted);
}
.field-hint strong { color: var(--ink); font-weight: 600; }
.field-hint strong.is-over { color: #9b3d3d; }

.gallery-grid.is-collage {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 78px;
    gap: 10px;
}
.gallery-grid.is-collage .gallery-item {
    min-height: 0;
    height: 100%;
}
.gallery-grid.is-collage .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: span 4; }
.gallery-grid.is-collage .gallery-item:nth-child(2) { grid-column: 3 / 5; grid-row: span 2; }
.gallery-grid.is-collage .gallery-item:nth-child(3) { grid-column: 3 / 4; grid-row: span 2; }
.gallery-grid.is-collage .gallery-item:nth-child(4) { grid-column: 4 / 5; grid-row: span 2; }
.gallery-grid.is-collage .gallery-item:nth-child(5) { grid-column: 1 / 3; grid-row: span 3; }
.gallery-grid.is-collage .gallery-item:nth-child(6) { grid-column: 3 / 5; grid-row: span 3; }
.gallery-grid.is-collage .gallery-item:nth-child(7) { grid-column: 1 / 5; grid-row: span 3; }
.gallery-grid.is-collage .gallery-item:nth-child(n+8) { grid-column: span 2; grid-row: span 3; }

.music-toggle {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: var(--gold);
    color: #1a1a1a;
    z-index: 20;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.music-toggle[hidden] { display: none !important; }
.music-toggle.is-paused { opacity: .55; }
.music-toggle svg { width: 20px; height: 20px; }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    display: none;
    place-items: center;
    z-index: 60;
}
.lightbox:not([hidden]) { display: grid; }
.lightbox[hidden] { display: none !important; }
.lightbox img { max-height: 84dvh; }
.lightbox img[hidden] { display: none !important; }
.lightbox-close, .lightbox-nav {
    position: absolute;
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 1.4rem;
    min-width: 48px;
    min-height: 48px;
}
.lightbox-close { top: 12px; right: 12px; }
.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }

.site-footer { text-align: center; padding: 56px 16px 72px; background: var(--black); color: #f6f1e8; }
.is-hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease var(--d, 0s), transform 1s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.itinerary-line li.reveal { transform: none; }
.itinerary-line li.reveal.is-visible { transform: none; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drop-in { to { opacity: 1; transform: none; } }
@keyframes letter-in { to { opacity: 1; transform: none; } }
@keyframes write-letter {
    0% { clip-path: inset(-1.2em 130% -0.8em -0.6em); }
    88% { clip-path: inset(-1.2em -0.6em -0.8em -0.6em); }
    100% { clip-path: none; }
}
@keyframes amp-in { to { opacity: 1; transform: none; } }
@keyframes mono-rise {
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}
@keyframes caret-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes seal-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
    .fade-in, .wax-seal-pulse, .letter, .cover-kicker, .cover-write-amp, .wax-seal-lg .monogram-mark,
    .coming-soon-kicker, .coming-soon-flourish, .coming-soon-soon, .coming-soon-star, .intro-star, .intro-hint { animation: none; }
    .letter, .cover-kicker, .cover-write-amp, .wax-seal-lg .monogram-mark,
    .coming-soon-kicker, .coming-soon-flourish, .coming-soon-soon { opacity: 1; transform: none; filter: none; clip-path: none; }
    .coming-soon-stars { display: none; }
    .intro-stars { display: none; }
    .coming-soon-fade { display: none; }
    .coming-soon-rail-btn.is-pop .coming-soon-rail-icon { animation: none; }
    .seal-button, .intro-hint { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .monogram-draw { display: none; }
    .js-type.is-typing::after { display: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .intro-overlay { transition: none; }
    .film-pin { height: auto; min-height: 0; }
    .film-sticky { position: relative; height: auto; min-height: 100svh; }
    .film-sticky video { transform: none; clip-path: none; }
    .story-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .story-track { transform: none !important; }
    .story-card { scroll-snap-align: start; }
    .story-year,
    .story-heading h3,
    .story-heading,
    .story-text,
    .story-sticky .section-head .eyebrow,
    .story-sticky h2,
    .itinerary-icon,
    .itinerary-copy h3,
    .itinerary-copy p,
    .quote-icon,
    .card-icon,
    .qr-piece,
    .parent-name,
    .section-head .eyebrow,
    .invite-letter .eyebrow,
    .venue-card .eyebrow,
    .access-card .eyebrow,
    .section-head h2,
    .invite-letter h2,
    .venue-card h2,
    .access-card h2,
    .padrino-card h3,
    .padrino-card p,
    .invite-letter p,
    .venue-card p,
    .access-card p {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

html:has(body.coming-soon-body),
html:has(body.coming-soon-body) body {
    height: 100%;
    height: 100dvh;
    height: 100svh;
    overflow: hidden;
    background: #0a0a0a;
    touch-action: manipulation;
    overscroll-behavior: none;
}
.coming-soon-body {
    margin: 0;
    min-height: 100%;
    height: 100%;
    height: 100dvh;
    height: 100svh;
    background: #0a0a0a;
    color: #f7f4ec;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    overscroll-behavior: none;
}
.coming-soon {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    min-height: 100svh;
    height: 100dvh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
    background: #0a0a0a;
}
.coming-soon.is-comments {
    justify-content: flex-start;
    padding-top: max(48px, calc(env(safe-area-inset-top) + 22px));
}
.coming-soon.is-comments .coming-soon-rail {
    opacity: 0;
    pointer-events: none;
}
.coming-soon-media {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    height: 100svh;
    overflow: hidden;
    background: #0a0a0a;
    pointer-events: none;
}
.coming-soon-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: var(--photo-pos, center 40%);
    display: block;
    filter: brightness(.72) saturate(.92);
    transform: translateZ(0);
}
.coming-soon-fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #050505;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.25s ease-in-out;
}
.coming-soon-media.is-fading .coming-soon-fade {
    opacity: 1;
}
.coming-soon-shade {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 48%, rgba(6, 6, 6, .28) 0%, rgba(6, 6, 6, .42) 62%, rgba(6, 6, 6, .5) 100%),
        rgba(6, 6, 6, .22);
}
.coming-soon-copy {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    padding: 0;
    transform: translateZ(0);
}
.coming-soon-stars {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.coming-soon-star {
    position: absolute;
    width: 2px;
    height: 2px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: #f7f1df;
    box-shadow: 0 0 6px 1px rgba(228, 215, 184, .55);
    opacity: 0;
    animation: coming-soon-twinkle var(--twinkle, 3.6s) ease-in-out var(--twinkle-delay, 0s) infinite;
}
.coming-soon-kicker {
    width: 100%;
    margin: 0 0 .35rem;
    color: var(--gold-soft);
    font-family: var(--font-serif);
    font-size: calc((100vw - 36px) / 18.6);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    opacity: 0;
    transform: translateY(-42px);
    animation: drop-in 1.7s cubic-bezier(.16,.84,.18,1) .18s both;
    animation-play-state: paused;
}
.coming-soon-copy .letter {
    display: inline-block;
    margin: 0;
    vertical-align: baseline;
    animation-name: coming-soon-write;
    animation-duration: .78s;
    animation-timing-function: cubic-bezier(.18, .42, .14, 1);
    animation-play-state: paused;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.coming-soon-copy .cover-write-amp {
    padding: 0 .18em;
    animation-duration: .78s;
    animation-timing-function: cubic-bezier(.18, .42, .14, 1);
    animation-play-state: paused;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.coming-soon-kicker span {
    display: inline-block;
}
.coming-soon-kicker,
.coming-soon-copy .script-names,
.coming-soon-soon {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, .72),
        0 4px 12px rgba(0, 0, 0, .5),
        0 12px 24px rgba(0, 0, 0, .32);
}
.coming-soon-copy .script-names {
    color: #fff;
    margin: .05rem 0 0;
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.9rem, 15vw, 5.8rem);
    letter-spacing: 2px;
    white-space: nowrap;
}
.coming-soon-copy .script-names.cover-names {
    font-size: clamp(2.9rem, 15vw, 5.8rem);
    letter-spacing: 2px;
}
.coming-soon-copy .cover-name,
.coming-soon-copy .cover-write-amp {
    flex: 0 0 auto;
}
.coming-soon-flourish {
    margin: .55rem auto .2rem;
    opacity: 0;
    transform: translateY(-42px);
    animation: drop-in 1.7s cubic-bezier(.16,.84,.18,1) var(--soon-delay, 2.6s) both;
    animation-play-state: paused;
}
.coming-soon-flourish::before,
.coming-soon-flourish::after {
    width: min(22vw, 86px);
    background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.coming-soon-flourish::after {
    background: linear-gradient(90deg, var(--gold-soft), transparent);
}
.coming-soon-flourish span {
    border-color: var(--gold-soft);
}
.coming-soon-soon {
    font-family: var(--font-script);
    font-size: calc(clamp(1.75rem, 7.4vw, 2.6rem) - 5px);
    margin: .2rem 0 0;
    color: var(--gold-soft);
    font-weight: 400;
    font-synthesis: none;
    letter-spacing: .04em;
    line-height: 1.1;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    transform: translateY(-42px);
    animation: drop-in 1.7s cubic-bezier(.16,.84,.18,1) var(--soon-delay, 2.9s) both;
    animation-play-state: paused;
}
.coming-soon.is-ready .coming-soon-kicker,
.coming-soon.is-ready .coming-soon-flourish,
.coming-soon.is-ready .coming-soon-soon,
.coming-soon.is-ready .letter,
.coming-soon.is-ready .cover-write-amp {
    animation-play-state: running;
}
@keyframes coming-soon-write {
    0% {
        opacity: 0;
        clip-path: inset(-0.45em 110% -0.55em -0.3em);
        transform: translate3d(-3px, 2px, 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(-0.45em -0.35em -0.55em -0.3em);
        transform: translate3d(0, 0, 0);
    }
}
@keyframes coming-soon-twinkle {
    0%, 100% { opacity: 0; transform: scale(.4); }
    45% { opacity: .9; transform: scale(1); }
    55% { opacity: .9; transform: scale(1); }
}
.coming-soon-mute {
    color: #fff;
}
.coming-soon-mute-icons {
    display: grid;
    place-items: center;
}
.coming-soon-mute-icons .icon-on,
.coming-soon-mute-icons .icon-off {
    display: grid;
    place-items: center;
    grid-area: 1 / 1;
}
.coming-soon-mute .icon-off { display: none; }
.coming-soon-mute.is-muted .icon-on { display: none; }
.coming-soon-mute.is-muted .icon-off { display: grid; }

.coming-soon-rail {
    position: fixed;
    right: max(6px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px) + var(--vv-bottom, 0px));
    z-index: 35;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    pointer-events: none;
}
.coming-soon-rail-btn,
.coming-soon-rail-avatar {
    pointer-events: auto;
}
.coming-soon-rail-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.coming-soon-rail-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55));
}
.coming-soon-rail-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.coming-soon-rail-btn.is-liked .coming-soon-rail-icon svg {
    fill: #ff2d55;
    stroke: #ff2d55;
}
.coming-soon-rail-btn.is-pop .coming-soon-rail-icon {
    animation: coming-soon-like-pop .38s cubic-bezier(.2, .8, .2, 1);
}
.coming-soon-rail-count {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .01em;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}
.coming-soon-rail-avatar {
    display: block;
    width: 38px;
    height: 38px;
    margin-top: 6px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.coming-soon-rail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.coming-soon-sheet {
    position: fixed;
    top: var(--vv-offset-top, 0px);
    right: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    height: var(--vv-height, 100svh);
    z-index: 55;
}
.coming-soon-sheet[hidden] {
    display: none;
}
.coming-soon-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, .45);
    cursor: pointer;
}
.coming-soon-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56%;
    max-height: calc(100% - 88px);
    min-height: min(240px, 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 8px 12px 8px;
    border-radius: 18px 18px 0 0;
    background: #212121;
    color: #f7f4ec;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .4);
}
.coming-soon-sheet-panel.is-typing,
.coming-soon-sheet-panel.is-identity {
    height: calc(100% - 6px);
    max-height: calc(100% - 6px);
    min-height: 0;
}
.coming-soon-sheet-handle {
    flex: 0 0 auto;
    width: 36px;
    height: 4px;
    margin: 4px auto 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .28);
}
.coming-soon-sheet-list {
    flex: 1 1 0;
    min-height: 96px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 8px;
}
.coming-soon-sheet-panel.is-typing .coming-soon-sheet-list {
    min-height: 88px;
}
.coming-soon-sheet-empty {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .55);
    text-align: center;
    padding: 10px 12px 12px;
}
.coming-soon-sheet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    text-align: left;
    -webkit-user-select: text;
    user-select: text;
}
.coming-soon-sheet-avatar {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #3a3a3a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.coming-soon-sheet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.coming-soon-sheet-body {
    flex: 1;
    min-width: 0;
}
.coming-soon-sheet-meta {
    margin: 0 0 2px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}
.coming-soon-sheet-meta strong {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.coming-soon-sheet-ago {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, .48);
}
.coming-soon-sheet-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    color: rgba(255, 255, 255, .5);
    transform: rotate(35deg);
}
.coming-soon-sheet-pin svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}
.coming-soon-sheet-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .78);
    word-break: break-word;
    white-space: pre-wrap;
}
.coming-soon-sheet-heart {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    min-width: 28px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.coming-soon-sheet-heart svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: rgba(255, 255, 255, .72);
    stroke-width: 1.8;
    stroke-linejoin: round;
}
.coming-soon-sheet-heart.is-liked svg {
    fill: #ff2d55;
    stroke: #ff2d55;
}
.coming-soon-sheet-heart span {
    font-size: 11px;
    line-height: 1;
    color: rgba(255, 255, 255, .55);
    min-height: 11px;
}
.coming-soon-sheet-dock {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0 -12px;
    padding: 0 12px 0;
    border-top: .5px solid rgba(255, 255, 255, .14);
    background: #212121;
}
.coming-soon-emojis {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    flex-shrink: 0;
    padding: 8px 2px 8px;
}
.coming-soon-sheet-panel.is-typing .coming-soon-emojis {
    padding: 4px 2px 6px;
}
.coming-soon-emojis button {
    flex: 1;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.coming-soon-sheet-dock:not(.has-identity) .coming-soon-emojis,
.coming-soon-sheet-form:not(.has-identity) .coming-soon-write {
    display: none;
}
.coming-soon-identity-btn {
    width: 100%;
    min-height: 44px;
    margin: 10px 0 8px;
    padding: 12px 18px;
    border: .5px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    background: #1a1a1a;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.coming-soon-sheet-form.has-identity .coming-soon-identity-btn {
    display: none;
}
.coming-soon-identity-btn[hidden] {
    display: none !important;
}
.coming-soon-identity-pop {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.coming-soon-identity-pop[hidden] {
    display: none;
}
.coming-soon-identity-pop-back {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, .55);
    cursor: pointer;
}
.coming-soon-identity-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 16px 16px 12px;
    border-radius: 18px 18px 0 0;
    background: #262626;
}
.coming-soon-identity-title {
    flex: 0 0 auto;
    margin: 0 0 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-align: center;
}
.coming-soon-identity-name {
    flex: 0 0 auto;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 11px 14px;
    border: .5px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: #1a1a1a;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
    -webkit-appearance: none;
    appearance: none;
    -webkit-user-modify: read-write-plaintext-only;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.coming-soon-identity-name:focus,
.coming-soon-identity-name:focus-visible {
    border-color: rgba(255, 255, 255, .32);
}
.coming-soon-identity-name.is-empty::before {
    content: attr(data-placeholder);
    color: rgba(255, 255, 255, .45);
    pointer-events: none;
}
.coming-soon-identity-card .coming-soon-avatars {
    flex: 1 1 auto;
    min-height: 72px;
    max-height: none;
    margin-top: 10px;
    padding: 8px 2px 12px;
}
.coming-soon-identity-done {
    flex: 0 0 auto;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: #0095f6;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.coming-soon-identity-done.is-off {
    opacity: .38;
    pointer-events: none;
}
.coming-soon-avatars {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 48px;
    align-content: start;
    gap: 8px;
    max-height: 104px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2px 2px 10px;
    -webkit-overflow-scrolling: touch;
}
.coming-soon-avatars button {
    width: 48px;
    height: 48px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: #333;
    overflow: hidden;
    line-height: 0;
    justify-self: center;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.coming-soon-avatars button img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    display: block;
}
.coming-soon-avatars button.is-on {
    border-color: #fff;
}
.coming-soon-write {
    display: flex;
    align-items: flex-end;
    width: 100%;
    flex-shrink: 0;
    padding: 8px 0 6px;
}
.coming-soon-sheet-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.coming-soon-composer textarea {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
}
.coming-soon-composer textarea:focus,
.coming-soon-composer textarea:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, .32);
}
.coming-soon-composer {
    position: relative;
    flex: 1;
    display: block;
    width: 100%;
    min-width: 0;
}
.coming-soon-composer textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    max-height: 168px;
    height: 44px;
    margin: 0;
    padding: 11px 84px 11px 14px;
    border: 0;
    border-radius: 22px;
    background: #3a3b3c;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    -webkit-user-select: text;
    user-select: text;
}
.coming-soon-pick-avatar {
    position: absolute;
    right: 44px;
    bottom: 6px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #2a2b2c;
    overflow: hidden;
    line-height: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.coming-soon-pick-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.coming-soon-send {
    position: absolute;
    right: 8px;
    bottom: 6px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0084ff;
    display: grid;
    place-items: center;
    opacity: .38;
    pointer-events: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.coming-soon-composer.has-text .coming-soon-send {
    opacity: 1;
    pointer-events: auto;
}
.coming-soon-send[aria-disabled="true"] {
    pointer-events: none;
    opacity: .38;
}
.coming-soon-send svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}
.coming-soon-sheet-msg {
    margin: 8px 0 0;
    font-size: 13px;
    color: #f3c6c6;
    text-align: center;
}
@keyframes coming-soon-like-pop {
    0% { transform: scale(1); }
    35% { transform: scale(1.28); }
    100% { transform: scale(1); }
}
@media (min-width: 768px) and (min-height: 640px) {
    .coming-soon-sheet-panel {
        left: 50%;
        right: auto;
        width: min(720px, calc(100% - 48px));
        max-width: min(720px, calc(100% - 48px));
        height: min(780px, 78%);
        max-height: calc(100% - 88px);
        min-height: 0;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
        padding: 12px 22px 14px;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, .45);
    }
    .coming-soon-sheet-panel.is-typing,
    .coming-soon-sheet-panel.is-identity {
        height: min(780px, 78%);
        max-height: calc(100% - 88px);
    }
    .coming-soon-sheet-dock {
        margin: 0 -22px;
        padding: 0 22px 6px;
    }
    .coming-soon-emojis {
        max-width: none;
        margin: 0;
        justify-content: space-between;
        gap: 6px;
    }
    .coming-soon-emojis button {
        flex: 1 1 auto;
        width: auto;
    }
    .coming-soon-avatars {
        max-width: none;
        margin: 0;
    }
}
