:root {
    --blue: #1d3f7a;
    --blue-deep: #16305c;
    --teal: #1c5a6e;
    --gold: #c4985a;
    --gold-bright: #d8a957;
    --gold-deep: #a8813f;
    --ivory: #faf4e8;
    --cream: #f3ead6;
    --ink: #2a2335;
    --ink-soft: #5a4f5e;
    --rose: #c4748c;
    --font-head: "Cormorant Garamond", Georgia, serif;
    --font-body: "EB Garamond", Georgia, serif;
    --font-caps: "Cinzel", serif;
    --font-script: "Pinyon Script", cursive;
    --font-display: "Tangerine", "Pinyon Script", cursive;
    --font-name: "Playfair Display", "Cormorant Garamond", Georgia, serif;
    --ease: cubic-bezier(.16,1,.3,1)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

body.intro-active {
    overflow: hidden;
    height: 100vh
}

img,video {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

.intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.1s cubic-bezier(0.4, 0, 0.2, 1)
}

.intro.is-fading {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none
}

.intro.is-gone {
    display: none
}

.intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.intro-leaves-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2
}

/* ==================== BOTTOM FLYING BUTTERFLIES ==================== */
.bottom-butterfly {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 6px 12px rgba(22, 48, 92, 0.22));
    will-change: transform, left, opacity
}

.bottom-butterfly-clip {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.bottom-butterfly-sheet {
    position: absolute;
    top: 0;
    left: 0;
    width: 600%;
    height: 100%;
    max-width: none;
    will-change: transform
}

.bottom-butterfly--1 {
    width: clamp(38px, 8.5vw, 56px);
    aspect-ratio: 362 / 426;
    bottom: 6.5%;
    animation: btfFlyBottom1 18s ease-in-out infinite
}

.bottom-butterfly--1 .bottom-butterfly-sheet {
    animation: flutterFlap 0.9s steps(6, jump-none) infinite
}

.bottom-butterfly--2 {
    width: clamp(34px, 7.5vw, 48px);
    aspect-ratio: 362 / 724;
    bottom: 11.5%;
    animation: btfFlyBottom2 22s ease-in-out 3.5s infinite
}

.bottom-butterfly--2 .bottom-butterfly-sheet {
    animation: flutterFlap 1.05s steps(6, jump-none) infinite
}

@keyframes btfFlyBottom1 {
    0% {
        left: -12%;
        transform: translateY(0) rotate(8deg);
        opacity: 0
    }
    15% {
        opacity: 0.95
    }
    50% {
        transform: translateY(-24px) rotate(-6deg);
        opacity: 0.95
    }
    85% {
        opacity: 0.95
    }
    100% {
        left: 110%;
        transform: translateY(-10px) rotate(10deg);
        opacity: 0
    }
}

@keyframes btfFlyBottom2 {
    0% {
        left: 110%;
        transform: translateY(0) rotate(-10deg) scaleX(-1);
        opacity: 0
    }
    15% {
        opacity: 0.9
    }
    50% {
        transform: translateY(-28px) rotate(6deg) scaleX(-1);
        opacity: 0.9
    }
    85% {
        opacity: 0.9
    }
    100% {
        left: -12%;
        transform: translateY(-12px) rotate(-8deg) scaleX(-1);
        opacity: 0
    }
}

.intro-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 90% at 50% 42%,transparent 52%,rgba(22,48,92,.1) 80%,rgba(22,48,92,.28) 100%)
}

.intro-hint {
    position: absolute;
    left: 50%;
    bottom: 4.5%;
    transform: translate(-50%);
    text-align: center;
    z-index: 3;
    padding: 10px 20px;
    opacity: 0;
    animation: hintIn 1s var(--ease) 1.1s forwards,hintFloat 3.6s ease-in-out 2.2s infinite
}

.intro-hint:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220%;
    height: 320%;
    transform: translate(-50%,-50%);
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.3) 70%, transparent 100%);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.7)
}

.intro-hint.is-gone {
    animation: none;
    opacity: 0;
    transition: opacity .5s ease
}

.intro-hint-label {
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: clamp(.86rem,4.2vw,1.24rem);
    letter-spacing: .24em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ivory);
    text-shadow: 0 2px 14px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.8);
    animation: hintGlow 2.8s ease-in-out infinite
}

.intro-hint-sub {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(.95rem,4.6vw,1.3rem);
    letter-spacing: .04em;
    white-space: nowrap;
    color: var(--gold-bright);
    margin-top: 4px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.8)
}

@keyframes hintGlow {
    0%,to {
        text-shadow: 0 1px 10px rgba(0,0,0,.5)
    }

    50% {
        text-shadow: 0 0 18px rgba(216,169,87,.85),0 1px 10px rgba(0,0,0,.5)
    }
}

@keyframes hintFloat {
    0%,to {
        transform: translate(-50%) translateY(0)
    }

    50% {
        transform: translate(-50%) translateY(-7px)
    }
}

@keyframes hintIn {
    0% {
        opacity: 0;
        transform: translate(-50%) translateY(14px)
    }

    to {
        opacity: 1;
        transform: translate(-50%) translateY(0)
    }
}

@keyframes hintPulse {
    0%,to {
        opacity: .78
    }

    50% {
        opacity: 1
    }
}

.screen-bloom {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: radial-gradient(circle at 50% 50%, rgba(216,169,87,.45) 0%, rgba(32,51,92,.88) 55%, rgba(12,23,48,.98) 100%);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(6px)
}

.screen-bloom.is-blooming {
    opacity: 1;
    transition: opacity .8s cubic-bezier(0.4, 0, 0.2, 1)
}

.screen-bloom.is-retreating {
    opacity: 0;
    transition: opacity 1.8s var(--ease)
}

.screen-bloom.is-gone {
    display: none
}

.sparkle-canvas {
    position: fixed;
    inset: 0;
    z-index: 98;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sparkle-canvas.is-active {
    opacity: 1;
}

.page {
    opacity: 0
}

.page.is-visible {
    opacity: 1;
    transition: opacity .8s ease
}

.section {
    position: relative;
    width: 100%;
    overflow: hidden
}

.reveal-item {
    opacity: 0;
    transform: translateY(26px)
}

.reveal-item.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .9s var(--ease),transform 1s var(--ease)
}

.hero-section {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 2vh 22px 0
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0
}

.hero-content.is-visible {
    opacity: 1;
    transition: opacity 1s ease
}

.hero-logo-wrap {
    margin: 0 auto 0.2rem;
    width: min(360px, 85vw);
    opacity: 0
}

.hero-logo-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.15))
}

.hero-names {
    font-family: var(--font-name);
    font-weight: 500;
    font-style: italic;
    line-height: 1.1;
    color: #2b4c7e;
    font-size: clamp(1.6rem, 6.8vw, 3.4rem);
    letter-spacing: .03em;
    text-shadow: 0 2px 20px rgba(250,244,232,.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    max-width: 100%;
    gap: .25em .35em;
    margin-top: -0.6rem
}

.hero-name {
    display: inline-block
}

.hero-amp {
    display: inline-block;
    font-family: "Great Vibes", "Pinyon Script", cursive;
    font-style: normal;
    font-size: 1.05em;
    color: #d8a957;
    margin: 0 .1em
}

.hero-logo-wrap, .hero-names .hero-name, .hero-names .hero-amp {
    opacity: 0
}

.hero-content.is-visible .hero-logo-wrap {
    animation: heroFadeUp 1.2s var(--ease) both .2s
}

.hero-content.is-visible #heroBride {
    animation: heroNameIn 1.2s var(--ease) both .5s
}

.hero-content.is-visible .hero-amp {
    animation: heroNameIn 1.2s var(--ease) both .7s
}

.hero-content.is-visible #heroGroom {
    animation: heroNameIn 1.2s var(--ease) both .9s
}

@keyframes heroNameIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(1.05);
        filter: blur(14px)
    }

    55% {
        opacity: 1;
        filter: blur(0)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0)
    }
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-divider {
    margin: 16px auto 18px;
    width: min(180px,44vw)
}

.hero-divider-img {
    width: 100%;
    height: auto;
    display: block
}

.hero-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px
}

.hero-date,.hero-venue {
    font-family: var(--font-head);
    font-size: clamp(1.1rem,4.62vw,1.41rem);
    letter-spacing: .06em;
    color: var(--ink)
}

.hero-venue {
    font-style: italic;
    color: var(--ink-soft)
}

.date-ord {
    font-size: .6em;
    vertical-align: super;
    line-height: 0;
    letter-spacing: 0;
    margin-left: 1px;
    text-transform: lowercase
}

.hero-scroll-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 3;
    pointer-events: none
}

.hero-scroll {
    position: absolute;
    bottom: 24px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: auto;
    animation: hintIn .8s var(--ease) 1.8s forwards;
    text-decoration: none
}

.hero-scroll--left {
    left: 14%;
    transform: translateX(-50%)
}

.hero-scroll--right {
    right: 14%;
    transform: translateX(50%)
}

.hero-scroll-label {
    font-family: var(--font-caps);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: #d89a24;
    text-shadow: 0 1px 8px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.7)
}

.hero-scroll-chevrons {
    position: relative;
    width: 28px;
    height: 34px
}

.hero-chevron {
    position: absolute;
    left: 50%;
    margin-left: -8px;
    width: 16px;
    height: 16px;
    border-right: 4px solid #1d3f7a;
    border-bottom: 4px solid #1d3f7a;
    transform: rotate(45deg);
    opacity: 0;
    filter: drop-shadow(0 2px 8px rgba(250, 244, 232, 0.95)) drop-shadow(0 1px 4px rgba(0,0,0,.5));
    animation: chevWave 1.8s ease-in-out infinite
}

.hero-chevron:nth-child(1) {
    top: 0;
    animation-delay: 0s
}

.hero-chevron:nth-child(2) {
    top: 9px;
    animation-delay: .18s
}

.hero-chevron:nth-child(3) {
    top: 18px;
    animation-delay: .36s
}

@keyframes chevWave {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

.countdown-section {
    position: relative;
    padding: clamp(56px,10vh,110px) 14px clamp(52px,9vh,96px);
    text-align: center;
    overflow: hidden;
    color: var(--ivory);
    background: radial-gradient(84% 60% at 50% 30%,rgba(29,63,122,.45),transparent 64%),radial-gradient(60% 46% at 50% 72%,rgba(196,152,90,.14),transparent 72%),linear-gradient(180deg,#0b1730,#0a1428 55%,#0c1730)
}

.cd-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(30px);
    opacity: .55;
    z-index: 0
}

.cd-glow--l {
    width: 220px;
    height: 220px;
    top: 24%;
    left: 6%;
    background: radial-gradient(circle at 45% 45%,rgba(196,152,90,.3),transparent 70%);
    animation: cdGlow 12s ease-in-out infinite
}

.cd-glow--r {
    width: 180px;
    height: 180px;
    bottom: 12%;
    right: 8%;
    background: radial-gradient(circle at 45% 45%,rgba(29,63,122,.24),transparent 70%);
    animation: cdGlow 15s ease-in-out infinite reverse
}

@keyframes cdGlow {
    0%,to {
        transform: translate(0)
    }

    50% {
        transform: translate(18px,-16px)
    }
}

.countdown-header {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(10px,2vh,20px)
}

.countdown-eyebrow {
    font-family: var(--font-caps);
    font-size: .64rem;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--gold-bright);
    text-shadow: 0 1px 12px rgba(0,0,0,.5)
}

.countdown-title {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: clamp(2.1rem,8vw,3rem);
    line-height: 1.02;
    color: #fdf8ee;
    margin-top: 6px;
    text-shadow: 0 2px 26px rgba(0,0,0,.5)
}

.cd-title-lead {
    display: block
}

.cd-title-forever {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2em;
    color: var(--gold-bright);
    line-height: 1.1;
    margin-top: .04em;
    text-shadow: 0 2px 24px rgba(216,169,87,.5),0 2px 26px rgba(0,0,0,.4)
}

.countdown-title-rule {
    display: block;
    width: min(180px,48vw);
    height: auto;
    margin: 12px auto 0
}

.countdown-stage {
    position: relative;
    z-index: 2
}

.countdown-frame {
    position: relative;
    width: min(700px,97vw);
    margin: 6px auto 0;
    aspect-ratio: 1672 / 941
}

.countdown-frame:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 56%;
    transform: translate(-50%,-50%);
    width: 84%;
    height: 46%;
    border-radius: 50%;
    z-index: 0;
    background: radial-gradient(ellipse at center,rgba(216,169,87,.32),transparent 70%);
    filter: blur(16px);
    animation: cdHalo 4.6s ease-in-out infinite
}

@keyframes cdHalo {
    0%,to {
        opacity: .5
    }

    50% {
        opacity: .92
    }
}

.countdown-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 34px rgba(22,48,92,.2))
}

.countdown-cells {
    position: absolute;
    inset: 0;
    z-index: 1
}

.cd-cell {
    position: absolute;
    top: var(--cd-y,59%);
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .14em;
    text-align: center;
    width: 19%
}

.cd-cell--1 {
    left: 17.9%
}

.cd-cell--2 {
    left: 39.6%
}

.cd-cell--3 {
    left: 60.4%
}

.cd-cell--4 {
    left: 81.9%
}

.cd-num {
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: clamp(1.25rem,5.8vw,2.6rem);
    line-height: 1;
    color: var(--blue-deep);
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 0 rgba(255,255,255,.55)
}

.cd-label {
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-caps);
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(.44rem,1.9vw,.68rem);
    letter-spacing: .13em;
    line-height: 1;
    color: var(--gold-deep)
}

.cd-num.is-tick {
    animation: cdTick .5s var(--ease)
}

@keyframes cdTick {
    0% {
        transform: translateY(-34%) scale(1.16);
        opacity: 0;
        filter: blur(2px)
    }

    55% {
        opacity: 1;
        filter: blur(0)
    }

    to {
        transform: none;
        opacity: 1
    }
}

@media (min-width: 768px) {
    .cd-label {
        letter-spacing:.16em
    }
}

.invite-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(48px,9vh,96px) 18px;
    background: var(--ivory)
}

.invite-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.invite-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.invite-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(85% 70% at 50% 48%,rgba(250,244,232,.55) 0%,transparent 70%)
}

.invite-fg {
    position: absolute;
    top: -4%;
    left: 50%;
    transform: translate(-50%);
    width: min(504px,97%);
    z-index: 3;
    pointer-events: none;
    opacity: .92;
    animation: lampSway 5s ease-in-out infinite;
    transform-origin: top center
}

@keyframes lampSway {
    0%,to {
        transform: translate(-50%) rotate(-1.7deg)
    }

    50% {
        transform: translate(-50%) rotate(1.7deg)
    }
}

.invite-card {
    position: relative;
    z-index: 2;
    width: min(420px,90vw);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 24px 50px rgba(22,48,92,.22))
}

.invite-card-frame {
    width: 100%;
    height: auto
}

.invite-card-text {
    position: absolute;
    inset: 22% 0 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 15%;
    overflow: hidden
}

.invite-overline {
    font-family: var(--font-head);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(.82rem,3.4vw,1rem);
    color: var(--teal);
    margin-bottom: 8px
}

.invite-grandparents {
    margin-bottom: 10px
}

.invite-grandparents p {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: .86rem;
    color: var(--ink-soft);
    line-height: 1.4
}

.invite-kicker {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: clamp(.82rem,3.3vw,.96rem);
    color: var(--ink-soft);
    letter-spacing: .02em;
    line-height: 1.5
}

.invite-rule {
    display: block;
    width: min(24px,8vw);
    height: auto;
    margin: 11px auto
}

.invite-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.invite-person {
    display: flex;
    flex-direction: column;
    align-items: center
}

.invite-name {
    font-family: var(--font-name);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(2.1rem,10vw,3.2rem);
    line-height: 1.02;
    color: var(--blue-deep)
}

.invite-parent {
    font-family: var(--font-head);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(.62rem, 2.7vw, .92rem);
    letter-spacing: .01em;
    color: var(--ink-soft);
    line-height: 1.4;
    margin-top: 5px;
    white-space: nowrap;
    max-width: 100%
}

.invite-amp {
    font-family: var(--font-name);
    font-weight: 400;
    font-style: italic;
    color: var(--gold-deep);
    font-size: clamp(1.3rem, 5.5vw, 1.9rem);
    line-height: 1.1;
    margin: 4px 0;
    letter-spacing: .02em
}

.invite-meta {
    margin-top: 14px
}

.invite-date {
    font-family: var(--font-caps);
    font-size: clamp(.78rem,3.2vw,.92rem);
    letter-spacing: .14em;
    color: var(--blue-deep)
}

.invite-venue {
    font-family: var(--font-head);
    font-style: italic;
    font-size: clamp(.78rem,3vw,.92rem);
    color: var(--ink-soft);
    margin-top: 3px
}

.invite-card-text>* {
    opacity: 0
}

.invite-card.is-in .invite-card-text>* {
    animation: invTextIn .8s var(--ease) both
}

.invite-card.is-in .invite-overline {
    animation-delay: .15s
}

.invite-card.is-in .invite-grandparents {
    animation-delay: .25s
}

.invite-card.is-in .invite-kicker {
    animation-delay: .32s
}

.invite-card.is-in .invite-rule:nth-of-type(1) {
    animation-delay: .4s
}

.invite-card.is-in .invite-names {
    animation-delay: .5s
}

.invite-card.is-in .invite-rule:nth-of-type(2) {
    animation-delay: .6s
}

.invite-card.is-in .invite-parent {
    animation-delay: .66s
}

.invite-card.is-in .invite-meta {
    animation-delay: .76s
}

@keyframes invTextIn {
    0% {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.events-section {
    position: relative;
    overflow: hidden;
    padding: clamp(56px,10vh,110px) 0 clamp(48px,8vh,90px);
    background: radial-gradient(120% 80% at 50% 0%,rgba(29,63,122,.06),transparent 60%),linear-gradient(180deg,var(--ivory),var(--cream) 120%);
    text-align: center
}

.events-header,.events-list {
    position: relative;
    z-index: 2
}

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

.evt-decor {
    position: absolute;
    opacity: .42;
    filter: drop-shadow(0 10px 20px rgba(22,48,92,.18));
    user-select: none;
    -webkit-user-drag: none
}

.evt-decor--jhoomer {
    top: -8px;
    width: 100px;
    transform-origin: top center;
    animation: evtSway 6.5s ease-in-out infinite
}

.evt-decor--jhoomer-l {
    left: -30px
}

.evt-decor--jhoomer-r {
    right: -30px;
    animation-duration: 7.2s;
    animation-delay: .6s
}

.evt-decor--chandelier {
    width: 92px;
    transform-origin: top center;
    animation: evtSway 7s ease-in-out infinite
}

.evt-decor--chandelier-1 {
    top: 48%;
    left: -24px
}

.evt-decor--chandelier-2 {
    top: 46%;
    right: -24px;
    animation-duration: 6.2s;
    animation-delay: .5s
}

.evt-decor--nazar {
    width: 58px;
    transform-origin: top center;
    animation: evtSway 5.6s ease-in-out infinite
}

.evt-decor--nazar-1 {
    top: 13%;
    right: -14px
}

.evt-decor--nazar-2 {
    top: 30%;
    right: -12px;
    animation-duration: 6s;
    animation-delay: .3s
}

.evt-decor--nazar-3 {
    top: 88%;
    left: -12px;
    animation-duration: 5.2s;
    animation-delay: .7s
}

.evt-decor--peacock {
    top: 34%;
    left: -38px;
    width: 104px;
    animation: evtDrift 8s ease-in-out infinite
}

.evt-decor--camel {
    top: 66%;
    left: -26px;
    width: 110px
}

.evt-decor--horse {
    top: 78%;
    right: -30px;
    width: 110px
}

@keyframes evtSway {
    0%,to {
        transform: rotate(-1.6deg)
    }

    50% {
        transform: rotate(1.6deg)
    }
}

@keyframes evtDrift {
    0%,to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@media (min-width: 768px) {
    .evt-decor {
        opacity:.5
    }

    .evt-decor--jhoomer {
        top: 0;
        width: 150px
    }

    .evt-decor--jhoomer-l {
        left: 10px
    }

    .evt-decor--jhoomer-r {
        right: 10px
    }

    .evt-decor--chandelier {
        width: 150px
    }

    .evt-decor--chandelier-1 {
        top: 46%;
        left: 1%
    }

    .evt-decor--chandelier-2 {
        top: 44%;
        right: 1%
    }

    .evt-decor--nazar {
        width: 80px
    }

    .evt-decor--nazar-1 {
        top: 12%;
        right: 2%
    }

    .evt-decor--nazar-2 {
        top: 28%;
        right: 2%
    }

    .evt-decor--nazar-3 {
        top: 88%;
        left: 2%
    }

    .evt-decor--peacock {
        top: 30%;
        left: 1%;
        width: 180px
    }

    .evt-decor--camel {
        top: 64%;
        left: 1%;
        width: 170px
    }

    .evt-decor--horse {
        top: 76%;
        right: 1%;
        width: 170px
    }
}

.events-header {
    padding: 0 22px;
    margin-bottom: clamp(26px,5vh,44px)
}

.events-eyebrow {
    font-family: var(--font-caps);
    font-size: .64rem;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--gold-deep)
}

.events-title {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: clamp(2.1rem,8vw,3rem);
    color: var(--blue-deep);
    margin-top: 6px
}

.events-title-rule {
    display: block;
    width: min(180px,48vw);
    height: auto;
    margin: 12px auto 0
}

.events-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px,2.5vh,36px);
    padding: 6px 14px 16px
}

.event-card {
    width: 100%;
    display: flex;
    justify-content: center
}

.event-card-inner {
    position: relative;
    width: min(390px,90vw);
    aspect-ratio: 1024 / 1535;
    perspective: 1500px
}

.event-card--left .event-card-inner {
    perspective-origin: left center
}

.event-card--right .event-card-inner {
    perspective-origin: right center
}

.event-card-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: transform 1.25s cubic-bezier(.2,.9,.25,1),opacity .55s ease;
    will-change: transform,opacity;
    backface-visibility: hidden
}

.event-card--left .event-card-panel {
    transform-origin: left center;
    transform: rotateY(-92deg) scale(.98)
}

.event-card--right .event-card-panel {
    transform-origin: right center;
    transform: rotateY(92deg) scale(.98)
}

.event-card.is-open .event-card-panel {
    transform: rotateY(0) scale(1);
    opacity: 1
}

.event-card-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 36px rgba(22,48,92,.22))
}

.event-card-body {
    position: absolute;
    inset: 4.5% 13% 20%;
    margin-top: -40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s ease,transform .7s var(--ease)
}

.event-card--left .event-card-body {
    left: 14%;
    right: 12%
}

.event-card--right .event-card-body {
    left: 12%;
    right: 14%
}

.event-card.is-open .event-card-body {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .3s
}

@media (prefers-reduced-motion: reduce) {
    .event-card-panel,.event-card-body {
        transform: none;
        opacity: 1;
        transition: none
    }

    .event-illustration {
        animation: none
    }
}

@media (min-width: 768px) {
    .events-list {
        gap:clamp(36px,5vh,68px);
        padding: 12px 0 28px
    }

    .event-card--left {
        justify-content: flex-start
    }

    .event-card--right {
        justify-content: flex-end
    }

    .event-card {
        padding: 0 5vw
    }

    .event-card-inner {
        width: min(420px,44vw)
    }
}

.event-illustration {
    width: 48%;
    max-width: 180px;
    height: auto;
    max-height: 180px;
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-top: -7%;
    filter: drop-shadow(0 8px 14px rgba(22,48,92,.16));
    animation: evtFloat 3.8s ease-in-out infinite
}

@keyframes evtFloat {
    0%,to {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-6px) rotate(-1.6deg)
    }
}

.event-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem,9.5vw,3.4rem);
    color: var(--blue-deep);
    letter-spacing: 0;
    text-transform: none;
    margin-top: 1px;
    line-height: .98
}

.event-rule {
    width: 46px;
    height: 1px;
    margin: 9px auto;
    background: linear-gradient(90deg,transparent,var(--gold-deep),transparent)
}

.event-datetime {
    font-family: var(--font-caps);
    font-size: clamp(.72rem,3vw,.86rem);
    letter-spacing: .1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 4px
}

.event-date {
    color: var(--teal)
}

.event-time {
    color: var(--rose);
    letter-spacing: .16em
}

.event-ord {
    font-size: .6em;
    vertical-align: super;
    line-height: 0;
    letter-spacing: 0;
    margin-left: 1px;
    color: var(--gold-deep);
    text-transform: lowercase
}

.event-venue {
    font-family: var(--font-head);
    font-style: italic;
    font-size: clamp(.72rem, 2.7vw, .85rem);
    font-weight: 400;
    color: var(--blue);
    margin-top: 4px;
    line-height: 1.25;
    opacity: .9
}

.event-note {
    font-family: var(--font-body);
    font-size: clamp(.72rem, 2.6vw, .82rem);
    line-height: 1.35;
    color: var(--ink-soft);
    margin-top: 4px;
    opacity: .85;
    max-width: 90%
}

.event-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 14px;
    font-family: var(--font-caps);
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue-deep);
    background: linear-gradient(135deg, #ffffff 0%, #fdf6ea 100%);
    border: 1px solid rgba(216, 169, 87, 0.65);
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(168, 129, 63, 0.12);
    text-decoration: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.event-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 129, 63, 0.25);
    border-color: var(--gold-deep);
}

.couple-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(56px,9vh,100px) 20px;
    background: var(--ivory);
    overflow: hidden
}

.couple-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.couple-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.couple-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 56% at 50% 46%,rgba(250,244,232,.45) 0%,transparent 72%)
}

.couple-butterfly {
    position: absolute;
    z-index: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 6px 8px rgba(22,48,92,.14));
    will-change: transform,opacity,left
}

.couple-butterfly-clip {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.couple-butterfly-sheet {
    position: absolute;
    top: 0;
    left: 0;
    width: 600%;
    height: 100%;
    max-width: none;
    will-change: transform
}

@keyframes flutterFlap {
    0% {
        transform: translate(0)
    }

    to {
        transform: translate(-83.3333%)
    }
}

.couple-butterfly--1 {
    width: clamp(36px,9vw,54px);
    aspect-ratio: 362 / 724;
    top: -4%;
    animation: flutterDriftR 20s linear infinite
}

.couple-butterfly--1 .couple-butterfly-sheet {
    animation: flutterFlap .9s steps(6,jump-none) infinite
}

.couple-butterfly--2 {
    width: clamp(30px,7.6vw,46px);
    aspect-ratio: 362 / 426;
    top: 52%;
    animation: flutterDriftL 24s linear -11s infinite
}

.couple-butterfly--2 .couple-butterfly-sheet {
    animation: flutterFlap 1.04s steps(6,jump-none) infinite
}

@keyframes flutterDriftR {
    0% {
        left: -14%;
        transform: translateY(0) rotate(-4deg);
        opacity: 0
    }

    6% {
        opacity: .9
    }

    18% {
        transform: translateY(-16px) rotate(5deg)
    }

    31% {
        transform: translateY(7px) rotate(-4deg)
    }

    45% {
        left: 45%;
        transform: translateY(-11px) rotate(4deg)
    }

    59% {
        transform: translateY(8px) rotate(-5deg)
    }

    73% {
        transform: translateY(-14px) rotate(5deg)
    }

    87% {
        transform: translateY(5px) rotate(-3deg)
    }

    94% {
        opacity: .9
    }

    to {
        left: 114%;
        transform: translateY(-4px) rotate(3deg);
        opacity: 0
    }
}

@keyframes flutterDriftL {
    0% {
        left: 114%;
        transform: translateY(0) rotate(4deg);
        opacity: 0
    }

    6% {
        opacity: .82
    }

    18% {
        transform: translateY(14px) rotate(-5deg)
    }

    31% {
        transform: translateY(-6px) rotate(4deg)
    }

    45% {
        left: 45%;
        transform: translateY(12px) rotate(-4deg)
    }

    59% {
        transform: translateY(-8px) rotate(5deg)
    }

    73% {
        transform: translateY(15px) rotate(-5deg)
    }

    87% {
        transform: translateY(-5px) rotate(3deg)
    }

    94% {
        opacity: .82
    }

    to {
        left: -14%;
        transform: translateY(5px) rotate(-3deg);
        opacity: 0
    }
}

.couple-section .cpl-alive {
    color: var(--cpl-faded, rgba(90,79,94,.2));
    will-change: color,filter,opacity,transform
}

.couple-section .cpl-alive.is-in {
    animation: cplInkAlive var(--cpl-dur, 2.8s) cubic-bezier(.22,1,.36,1) forwards
}

@keyframes cplInkAlive {
    0% {
        color: var(--cpl-faded, rgba(90,79,94,.2));
        opacity: .25;
        filter: blur(4px);
        transform: translateY(7px) scale(.99);
        text-shadow: none
    }

    30% {
        opacity: .72;
        filter: blur(1.4px);
        transform: translateY(2px) scale(1);
        text-shadow: 0 0 20px rgba(216,169,87,.5)
    }

    60% {
        color: var(--cpl-final, var(--ink));
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
        text-shadow: 0 0 24px rgba(216,169,87,.92),0 0 56px rgba(196,116,140,.5)
    }

    to {
        color: var(--cpl-final, var(--ink));
        opacity: 1;
        filter: blur(0);
        transform: none;
        text-shadow: 0 0 0 rgba(216,169,87,0)
    }
}

.couple-story-line {
    display: block;
    margin: .12em 0
}

.couple-content {
    position: relative;
    z-index: 3;
    width: min(520px,82vw);
    text-align: center;
    padding: clamp(24px,5vw,46px) clamp(30px,6vw,52px)
}

.couple-header,.couple-story {
    position: relative;
    z-index: 1
}

.couple-eyebrow {
    font-family: var(--font-caps);
    font-size: .62rem;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--gold-deep);
    --cpl-faded: rgba(168,129,63,.26);
    --cpl-final: var(--gold-deep);
    --cpl-dur: 2.6s
}

.couple-title {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: clamp(2rem,8vw,2.9rem);
    color: var(--blue-deep);
    margin-top: 6px;
    --cpl-faded: rgba(22,48,92,.14);
    --cpl-final: var(--blue-deep);
    --cpl-dur: 3.2s
}

.couple-ornament {
    display: block;
    width: min(170px,44vw);
    height: auto;
    margin: 12px auto 22px
}

.couple-story-subtitle {
    font-family: var(--font-head);
    font-size: clamp(1.08rem, 4vw, 1.3rem);
    font-style: italic;
    color: var(--blue-deep);
    margin-bottom: 16px;
}

.couple-story-body {
    font-family: var(--font-head);
    font-size: clamp(1.02rem,4vw,1.22rem);
    font-style: italic;
    line-height: 1.7;
    color: var(--ink);
    letter-spacing: .01em;
    --cpl-faded: rgba(90,79,94,.2);
    --cpl-final: var(--ink)
}

.couple-story-closing {
    font-family: var(--font-script);
    font-size: clamp(1.4rem, 6.5vw, 2.1rem);
    color: var(--gold-deep);
    margin-top: 20px;
}

.couple-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    margin-top: 20px
}

.couple-tag-chip {
    font-family: var(--font-caps);
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
    padding: 7px 15px;
    border: 1px solid rgba(28,90,110,.35);
    background: #ffffff73
}

.couple-hashtag {
    margin-top: 18px;
    font-family: var(--font-script);
    font-size: clamp(1.5rem,7vw,2.1rem);
    color: var(--gold-deep)
}

.gallery-section {
    position: relative;
    padding: clamp(56px,10vh,110px) 20px clamp(56px,9vh,100px);
    background: var(--cream);
    overflow: hidden
}

.gallery-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.gallery-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .9
}

.gallery-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% 40%,rgba(250,244,232,.4),transparent 75%)
}

.gallery-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
    text-align: center
}

.gallery-header {
    margin-bottom: clamp(18px,3.5vh,30px)
}

.gallery-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(1.9rem,7vw,2.7rem);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue-deep)
}

.gallery-flourish {
    display: block;
    width: 54px;
    height: 14px;
    margin: 0 auto;
    color: var(--gold-deep);
    -webkit-mask: center/contain no-repeat var(--fl);
    mask: center/contain no-repeat var(--fl);
    background: currentColor;
    --fl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 16'%3E%3Cpath fill='%23000' d='M30 2c1.6 1.6 1.6 4.4 0 6-1.6-1.6-1.6-4.4 0-6Zm0 5.4c-1.3-.9-3-.9-4.3 0 .9 1.3 2.4 1.7 4.3 1.1 1.9.6 3.4.2 4.3-1.1-1.3-.9-3-.9-4.3 0Z'/%3E%3Cpath stroke='%23000' stroke-width='.8' d='M28 8H6M32 8h22'/%3E%3Ccircle cx='4' cy='8' r='1.4' fill='%23000'/%3E%3Ccircle cx='56' cy='8' r='1.4' fill='%23000'/%3E%3C/svg%3E")
}

.gallery-flourish--top {
    margin-bottom: 10px
}

.gallery-flourish--bot {
    margin-top: 10px;
    transform: rotate(180deg)
}

.gallery-featured {
    position: relative;
    width: min(430px,88vw);
    margin: 0 auto;
    aspect-ratio: 1086 / 1448;
    cursor: pointer
}

.gallery-featured-photo {
    position: absolute;
    top: 9.5%;
    left: 14%;
    width: 72%;
    height: 77.7%;
    object-fit: cover;
    object-position: center;
    transition: opacity .4s ease
}

.gallery-featured-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    filter: drop-shadow(0 16px 34px rgba(22,48,92,.26))
}

.gallery-featured.is-fading .gallery-featured-photo {
    opacity: 0
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #faf4e8e0;
    color: var(--blue-deep);
    border: 1px solid rgba(196,152,90,.6);
    box-shadow: 0 6px 16px #16305c3d;
    cursor: pointer;
    transition: background .2s ease,transform .2s var(--ease),color .2s ease
}

.gallery-arrow:hover {
    background: #fff;
    color: var(--gold-deep)
}

.gallery-arrow:active {
    transform: translateY(-50%) scale(.94)
}

.gallery-arrow svg {
    width: 20px;
    height: 20px;
    display: block
}

.gallery-arrow--prev {
    left: -6px
}

.gallery-arrow--next {
    right: -6px
}

.gallery-featured.single .gallery-arrow {
    display: none
}

@media (min-width: 560px) {
    .gallery-arrow {
        width:44px;
        height: 44px
    }

    .gallery-arrow--prev {
        left: -20px
    }

    .gallery-arrow--next {
        right: -20px
    }
}

.gallery-caption {
    font-family: var(--font-head);
    font-style: italic;
    font-size: clamp(1.02rem,4.2vw,1.24rem);
    color: var(--gold-deep);
    margin: 16px 0 12px
}

.gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1d3f7a47;
    border: none;
    cursor: pointer;
    transition: transform .25s var(--ease),background .25s
}

.gallery-dot.is-active {
    background: var(--gold-deep);
    transform: scale(1.4)
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 2px;
    scroll-snap-type: x proximity
}

.gallery-thumbs::-webkit-scrollbar {
    display: none
}

.gallery-thumb {
    position: relative;
    flex: 0 0 auto;
    width: clamp(50px,16vw,64px);
    aspect-ratio: 1086 / 1448;
    cursor: pointer;
    scroll-snap-align: center;
    opacity: .62;
    transition: opacity .3s var(--ease),transform .3s var(--ease)
}

.gallery-thumb-photo {
    position: absolute;
    top: 9.5%;
    left: 14%;
    width: 72%;
    height: 77.7%;
    object-fit: cover;
    object-position: center
}

.gallery-thumb-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none
}

.gallery-thumb.is-active {
    opacity: 1;
    transform: translateY(-2px) scale(1.04)
}

.gallery-thumb:hover {
    opacity: .9
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c1226eb;
    padding: 24px
}

.gallery-lightbox[hidden] {
    display: none
}

.gallery-lb-inner {
    max-width: 90vw;
    max-height: 86vh;
    text-align: center
}

.gallery-lb-img {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
    border: 1px solid rgba(196,152,90,.5);
    box-shadow: 0 20px 60px #00000080
}

.gallery-lb-caption {
    margin-top: 14px;
    font-family: var(--font-head);
    font-style: italic;
    color: var(--ivory);
    font-size: 1.05rem
}

.gallery-lb-close,.gallery-lb-prev,.gallery-lb-next {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ivory);
    opacity: .8;
    transition: opacity .2s
}

.gallery-lb-close:hover,.gallery-lb-prev:hover,.gallery-lb-next:hover {
    opacity: 1
}

.gallery-lb-close {
    top: 20px;
    right: 24px;
    font-size: 1.8rem
}

.gallery-lb-prev,.gallery-lb-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    padding: 0 16px
}

.gallery-lb-prev {
    left: 6px
}

.gallery-lb-next {
    right: 6px
}

.gallery-lightbox.single .gallery-lb-prev,.gallery-lightbox.single .gallery-lb-next {
    display: none
}

.rsvp-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(64px,12vh,130px) 22px;
    overflow: hidden;
    color: var(--ivory)
}

.rsvp-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url(./assets/images/rsvp/rsvp_bg.webp) center/cover no-repeat;
    background-color: #0a1226
}

.rsvp-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(66% 56% at 50% 44%,#08102252,#081022a8),linear-gradient(180deg,rgba(8,16,34,.3) 0%,transparent 30%)
}

.rsvp-fireworks {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none
}

.rsvp-content {
    position: relative;
    z-index: 3;
    max-width: 620px
}

.rsvp-reveal {
    opacity: 0;
    transform: translateY(22px)
}

.rsvp-section.rsvp-alive .rsvp-reveal {
    opacity: 1;
    transform: none;
    transition: opacity .9s var(--ease),transform 1s var(--ease)
}

.rsvp-section.rsvp-alive .rsvp-reveal:nth-child(2) {
    transition-delay: .1s
}

.rsvp-section.rsvp-alive .rsvp-reveal:nth-child(3) {
    transition-delay: .2s
}

.rsvp-section.rsvp-alive .rsvp-reveal:nth-child(4) {
    transition-delay: .3s
}

.rsvp-section.rsvp-alive .rsvp-reveal:nth-child(5) {
    transition-delay: .4s
}

.rsvp-eyebrow {
    font-family: var(--font-caps);
    font-size: .66rem;
    letter-spacing: .44em;
    text-transform: uppercase;
    color: var(--gold-bright);
    text-shadow: 0 1px 14px rgba(0,0,0,.55)
}

.rsvp-headline {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(2.8rem,12vw,4.6rem);
    line-height: 1;
    color: #fdf8ee;
    margin: 14px 0 18px;
    text-shadow: 0 2px 32px rgba(0,0,0,.6),0 1px 4px rgba(0,0,0,.45)
}

.rsvp-body {
    font-family: var(--font-head);
    font-size: clamp(1rem,4vw,1.18rem);
    line-height: 1.7;
    color: #fcf7eceb;
    max-width: 30em;
    margin: 0 auto;
    text-shadow: 0 1px 12px rgba(0,0,0,.55)
}

.rsvp-cta-wrap {
    margin-top: 30px
}

.rsvp-btn {
    display: inline-block;
    font-family: var(--font-caps);
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #0c1730;
    padding: 16px 38px;
    background: linear-gradient(180deg,var(--gold-bright),var(--gold-deep));
    box-shadow: 0 12px 30px #00000059,0 0 0 1px #d8a95780;
    transition: transform .25s var(--ease),box-shadow .25s
}

.rsvp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px #00000073,0 0 0 1px #d8a957b3
}

.rsvp-helper {
    margin-bottom: 12px;
}

.rsvp-label {
    display: block;
    font-family: var(--font-caps);
    font-size: clamp(0.7rem, 3.2vw, 0.84rem);
    letter-spacing: .36em;
    text-transform: uppercase;
    color: var(--gold-bright);
    text-shadow: 0 1px 14px rgba(0,0,0,.55);
}

.rsvp-family {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 4.8vw, 1.55rem);
    font-style: italic;
    color: #ffffff;
    letter-spacing: .04em;
    margin-top: 4px;
    text-shadow: 0 2px 16px rgba(0,0,0,.75);
}

.rsvp-std {
    margin-top: 38px
}

.rsvp-std-heading {
    font-family: var(--font-caps);
    font-size: .62rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #d8a957c7;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
    padding: 0 16px
}

.rsvp-std-heading:before,.rsvp-std-heading:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(216,169,87,.6))
}

.rsvp-std-heading:before {
    right: 100%;
    transform: scaleX(-1)
}

.rsvp-std-heading:after {
    left: 100%
}

.rsvp-std-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center
}

.rsvp-cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: .84rem;
    letter-spacing: .04em;
    color: #faf4e8e6;
    padding: 11px 20px;
    border: 1px solid rgba(216,169,87,.45);
    background: #ffffff0d;
    transition: background .25s,border-color .25s
}

.rsvp-cal-btn:hover {
    background: #d8a95724;
    border-color: #d8a957b3
}

.rsvp-cal-icon {
    width: 18px;
    height: 18px;
    color: var(--gold-bright)
}

.ttk-section {
    position: relative;
    padding: clamp(60px,11vh,120px) 20px clamp(56px,9vh,100px);
    background: radial-gradient(120% 70% at 50% 0%,rgba(29,63,122,.07),transparent 55%),linear-gradient(180deg,var(--cream),var(--ivory) 60%,var(--cream));
    overflow: hidden
}

.ttk-atm {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(60% 40% at 12% 14%,rgba(29,63,122,.06),transparent 70%),radial-gradient(54% 40% at 88% 86%,rgba(196,152,90,.09),transparent 72%)
}

.ttk-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
    opacity: .5
}

.ttk-orb--1 {
    width: 90px;
    height: 90px;
    top: 12%;
    left: 8%;
    background: radial-gradient(circle at 40% 40%,rgba(196,152,90,.35),transparent 70%);
    animation: ttkOrb 13s ease-in-out infinite
}

.ttk-orb--2 {
    width: 64px;
    height: 64px;
    top: 60%;
    right: 10%;
    background: radial-gradient(circle at 40% 40%,rgba(29,63,122,.28),transparent 70%);
    animation: ttkOrb 17s ease-in-out infinite reverse
}

.ttk-orb--3 {
    width: 120px;
    height: 120px;
    bottom: 6%;
    left: 18%;
    background: radial-gradient(circle at 40% 40%,rgba(28,90,110,.18),transparent 72%);
    animation: ttkOrb 21s ease-in-out infinite
}

@keyframes ttkOrb {
    0%,to {
        transform: translate(0)
    }

    50% {
        transform: translate(14px,-22px)
    }
}

.ttk-inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto
}

.ttk-header {
    text-align: center;
    margin-bottom: clamp(30px,5vh,50px)
}

.ttk-eyebrow {
    font-family: var(--font-caps);
    font-size: .64rem;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--gold-deep)
}

.ttk-title {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: clamp(2.1rem,8vw,3rem);
    color: var(--blue-deep);
    margin-top: 6px
}

.ttk-title-rule {
    display: block;
    width: min(180px,48vw);
    height: auto;
    margin: 12px auto 14px
}

.ttk-subline {
    font-family: var(--font-head);
    font-style: italic;
    font-size: clamp(.92rem,3.6vw,1.06rem);
    color: var(--ink-soft)
}

.ttk-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    list-style: none;
    perspective: 1400px;
    margin: 0 auto
}

.ttk-grid--single {
    grid-template-columns: 1fr;
    max-width: 420px
}

@media (min-width: 768px) {
    .ttk-grid {
        grid-template-columns:repeat(3,1fr);
        gap: 1.5rem
    }
}

.ttk-card {
    position: relative;
    list-style: none;
    text-align: center;
    overflow: hidden;
    background: #fffdf7e6;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px #c4985a61,0 10px 30px #16305c1f,inset 0 1px #ffffffe6;
    opacity: 0;
    transform: translateY(30px) scale(.95);
    filter: blur(5px);
    transition: opacity .9s var(--ease),transform .9s var(--ease),filter .8s var(--ease),box-shadow .35s ease;
    transform-style: preserve-3d;
    will-change: transform,opacity
}

.ttk-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,transparent,rgba(196,152,90,.75) 20%,rgba(216,169,87,.95) 50%,rgba(196,152,90,.75) 80%,transparent);
    border-radius: 12px 12px 0 0;
    opacity: .7;
    transition: opacity .4s ease;
    z-index: 4
}

.ttk-card:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(0deg,rgba(29,63,122,.07),transparent);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none
}

.ttk-card.is-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0)
}

.ttk-card.is-in:hover {
    box-shadow: 0 0 0 1px #c4985a99,0 22px 54px #16305c29,0 6px 18px #16305c14,0 0 40px #c4985a2e
}

.ttk-card.is-in:hover:before {
    opacity: 1
}

.ttk-card.is-in:hover:after {
    opacity: 1
}

.ttk-card--last-odd {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: center
}

@media (min-width: 768px) {
    .ttk-card--last-odd {
        grid-column:auto;
        max-width: none;
        justify-self: auto
    }
}

.ttk-card-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    overflow: hidden
}

.ttk-card-shine:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -90%;
    width: 55%;
    height: 200%;
    background: linear-gradient(105deg,transparent,rgba(255,255,255,.22) 50%,transparent);
    transform: skew(-18deg);
    transition: left .68s cubic-bezier(.25,.46,.45,.94)
}

.ttk-card:hover .ttk-card-shine:after {
    left: 130%
}

.ttk-card-num {
    position: absolute;
    top: .8rem;
    right: .9rem;
    font-family: var(--font-caps);
    font-size: .7rem;
    letter-spacing: .16em;
    color: #1d3f7a80;
    z-index: 5;
    pointer-events: none;
    transition: color .3s ease
}

.ttk-card:hover .ttk-card-num {
    color: var(--gold-deep)
}

.ttk-card-inner {
    position: relative;
    z-index: 2;
    padding: 1.5rem .9rem 1.4rem
}

@media (min-width: 480px) {
    .ttk-card-inner {
        padding:1.8rem 1.2rem 1.6rem
    }
}

@media (min-width: 768px) {
    .ttk-card-inner {
        padding:2rem 1.4rem 1.8rem
    }
}

.ttk-card-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.3rem
}

@media (min-width: 480px) {
    .ttk-card-icon-wrap {
        width:112px;
        height: 112px;
        margin-bottom: 1.5rem
    }
}

.ttk-card-icon-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(29,63,122,.3);
    animation: ttkRing 3.5s ease-in-out infinite;
    pointer-events: none
}

.ttk-card-icon-ring:before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(29,63,122,.14);
    animation: ttkRing 3.5s ease-in-out infinite .7s
}

.ttk-card-icon-ring--outer {
    inset: -17px;
    border: 1px dashed rgba(196,152,90,.32);
    animation: ttkRing 4.5s ease-in-out infinite 1.2s
}

.ttk-card:hover .ttk-card-icon-ring {
    border-color: #c4985a99;
    animation-duration: 1.2s
}

@keyframes ttkRing {
    0%,to {
        opacity: .55;
        transform: scale(1)
    }

    50% {
        opacity: 1;
        transform: scale(1.06)
    }
}

.ttk-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 42%,#d8a9571f,#1d3f7a0d 70%);
    box-shadow: inset 0 0 0 1px #c4985a40;
    position: relative;
    transition: transform .55s cubic-bezier(.34,1.56,.64,1)
}

@media (min-width: 480px) {
    .ttk-card-icon {
        width:100px;
        height: 100px
    }
}

.ttk-card:hover .ttk-card-icon {
    transform: scale(1.06) translateY(-2px)
}

.ttk-card-icon--blank:after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c4985a73;
    box-shadow: 0 0 0 4px #c4985a1f
}

.ttk-card-img {
    display: block;
    width: 90%;
    height: 90%;
    object-fit: contain;
    opacity: 0;
    transform: scale(.72);
    transition: opacity .7s var(--ease),transform .7s var(--ease);
    filter: drop-shadow(0 4px 12px rgba(22,48,92,.25))
}

.ttk-card.is-in .ttk-card-img {
    opacity: 1;
    transform: scale(1)
}

.ttk-card-label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(1.1rem,3.4vw,1.5rem);
    letter-spacing: .02em;
    color: var(--blue-deep);
    margin-bottom: .55rem;
    line-height: 1.25;
    transition: color .3s ease
}

.ttk-card:hover .ttk-card-label {
    color: var(--gold-deep)
}

.ttk-card-rule {
    display: block;
    width: 0;
    height: 1px;
    margin: 0 auto .7rem;
    background: linear-gradient(90deg,transparent,var(--gold-deep) 40%,var(--gold-deep) 60%,transparent);
    transition: width .65s var(--ease)
}

.ttk-card.is-in .ttk-card-rule {
    width: 32px
}

.ttk-card-body {
    font-family: var(--font-head);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(.92rem,2.7vw,1.18rem);
    line-height: 1.6;
    color: var(--ink-soft);
    letter-spacing: .01em
}

.ttk-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: .7rem;
    font-family: var(--font-caps);
    font-size: .6rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    border-bottom: 1px solid rgba(168,129,63,.4);
    padding-bottom: 1px
}

.site-footer {
    position: relative;
    text-align: center;
    padding: clamp(48px,8vh,80px) 22px clamp(34px,5vh,48px);
    background: linear-gradient(180deg,#0c1730,#0a1226);
    color: #faf4e8cc;
    overflow: hidden
}

.ft-border {
    display: block;
    width: min(340px,74vw);
    height: auto;
    margin: 0 auto 24px
}

.ft-names {
    font-family: var(--font-name);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(2.3rem,9vw,3.4rem);
    line-height: 1.02;
    color: var(--ivory)
}

.ft-amp {
    color: var(--gold-bright);
    margin: 0 .08em;
    font-size: .66em
}

.ft-date {
    font-family: var(--font-caps);
    font-size: .74rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #d8a957d9;
    margin-top: 14px
}

.ft-tagline {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.05rem;
    color: #faf4e8b3;
    margin-top: 10px
}

.ft-bottom-rule {
    width: 60px;
    height: 1px;
    margin: 26px auto 18px;
    background: linear-gradient(90deg,transparent,rgba(216,169,87,.45),transparent)
}

.ft-credit {
    font-family: var(--font-body);
    font-size: .78rem;
    letter-spacing: .06em;
    color: #d8a95799
}

.ft-credit a {
    color: var(--gold-bright);
    border-bottom: 1px solid rgba(216,169,87,.4)
}

.fab-cluster {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: opacity .6s var(--ease),transform .6s var(--ease)
}

.fab-cluster.is-ready {
    opacity: 1;
    transform: none;
    pointer-events: auto
}

.fab {
    width: 57px;
    height: 57px;
    flex: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
    filter: drop-shadow(0 4px 13px rgba(12,23,48,.42)) drop-shadow(0 0 9px rgba(216,169,87,.18));
    transition: filter .3s ease,transform .25s var(--ease),opacity .3s ease
}

.fab:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 20px rgba(12,23,48,.52)) drop-shadow(0 0 22px rgba(216,169,87,.44))
}

.fab-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none
}

.fab-music {
    opacity: .55
}

.fab-music:not(.is-muted) {
    opacity: 1;
    filter: drop-shadow(0 4px 13px rgba(12,23,48,.42)) drop-shadow(0 0 18px rgba(216,169,87,.5))
}

.fab-music:hover {
    opacity: .85
}

.fab-music:not(.is-muted):hover {
    opacity: 1
}

.fab-music:not(.is-muted) .fab-img {
    transform-origin: center;
    animation: fabMusicSpin 9s linear infinite
}

@keyframes fabMusicSpin {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.fab-nav .fab-img {
    transition: transform .35s var(--ease)
}

.fab-cluster.nav-open .fab-nav .fab-img {
    transform: rotate(135deg)
}

.nav-panel {
    position: absolute;
    right: 2px;
    bottom: calc(100% + 14px);
    min-width: 224px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
    padding: 14px 0 15px;
    background: radial-gradient(120% 90% at 50% 0%,rgba(216,169,87,.12),transparent 60%),linear-gradient(180deg,#fffdf7,var(--cream));
    border: 1px solid rgba(168,129,63,.55);
    border-radius: 14px;
    box-shadow: 0 20px 48px #16305c57,0 2px #ffffff80 inset;
    opacity: 0;
    transform: translateY(14px) scale(.94);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity .34s var(--ease),transform .34s var(--ease);
    z-index: 1000;
}

.fab-cluster.nav-open .nav-panel {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    display: block !important;
}

.nav-panel:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg,transparent,var(--gold-bright) 22%,#f0d79a 50%,var(--gold-bright) 78%,transparent)
}

.nav-panel:after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(168,129,63,.34);
    pointer-events: none
}

.nav-panel-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 2px 22px 12px
}

.nav-panel-eyebrow {
    font-family: var(--font-caps);
    font-size: .62rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    padding-left: .4em
}

.nav-panel-rule {
    position: relative;
    width: 78px;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(168,129,63,.7),transparent)
}

.nav-panel-rule:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    transform: translate(-50%,-50%) rotate(45deg);
    background: var(--gold-bright);
    box-shadow: 0 0 0 2px #fffdf7
}

.nav-link {
    position: relative;
    display: block;
    padding: 9px 22px 9px 36px;
    font-family: var(--font-head);
    font-size: 1.06rem;
    letter-spacing: .02em;
    color: var(--blue-deep);
    transition: color .22s ease,background .22s ease,padding .28s var(--ease);
    opacity: 0;
    transform: translate(16px)
}

.fab-cluster.nav-open .nav-link {
    animation: navLinkIn .42s var(--ease) forwards
}

.fab-cluster.nav-open .nav-link:nth-of-type(1) {
    animation-delay: .05s
}

.fab-cluster.nav-open .nav-link:nth-of-type(2) {
    animation-delay: .1s
}

.fab-cluster.nav-open .nav-link:nth-of-type(3) {
    animation-delay: .15s
}

.fab-cluster.nav-open .nav-link:nth-of-type(4) {
    animation-delay: .2s
}

.fab-cluster.nav-open .nav-link:nth-of-type(5) {
    animation-delay: .25s
}

.fab-cluster.nav-open .nav-link:nth-of-type(6) {
    animation-delay: .3s
}

.fab-cluster.nav-open .nav-link:nth-of-type(7) {
    animation-delay: .35s
}

.fab-cluster.nav-open .nav-link:nth-of-type(8) {
    animation-delay: .4s
}

.fab-cluster.nav-open .nav-link:nth-of-type(9) {
    animation-delay: .45s
}

.fab-cluster.nav-open .nav-link:nth-of-type(10) {
    animation-delay: .5s
}

.nav-link.nav-map-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin: 4px 14px;
    background: linear-gradient(135deg, #ffffff 0%, #fdf6ea 100%);
    border: 1px solid rgba(216, 169, 87, 0.55);
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(168, 129, 63, 0.12);
    text-decoration: none;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.nav-link.nav-map-link:before {
    display: none;
}

.nav-link.nav-map-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(168, 129, 63, 0.25);
    border-color: var(--gold-deep);
}

.nav-map-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-map-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}

.nav-map-title {
    font-family: var(--font-caps);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--blue-deep);
    text-transform: uppercase;
}

.nav-map-sub {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 0.68rem;
    color: var(--gold-deep);
}

@keyframes navLinkIn {
    to {
        opacity: 1;
        transform: none
    }
}

.nav-link:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    background: var(--gold-bright);
    transform: rotate(45deg) scale(0);
    transition: transform .28s var(--ease),box-shadow .28s ease
}

.nav-link:hover,.nav-link:focus-visible {
    color: var(--gold-deep);
    background: linear-gradient(90deg,rgba(216,169,87,.16),transparent 85%);
    padding-left: 40px
}

.nav-link:hover:before,.nav-link:focus-visible:before {
    transform: rotate(45deg) scale(1);
    box-shadow: 0 0 6px #d8a957b3
}

.nav-link-label {
    position: relative
}

@media (min-width: 768px) {
    .hero-section {
        padding-top:8vh
    }

    .hero-video {
        object-position: center 28%
    }

    .hero-divider {
        width: min(204px,24vw)
    }

    .event-card-inner {
        width: 520px
    }

    .invite-card {
        width: 440px
    }

    .invite-fg {
        width: 540px
    }
}

@media (min-width: 1200px) {
    .hero-names {
        font-size:clamp(5rem,7vw,7rem)
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none!important
    }

    .reveal-item {
        opacity: 1;
        transform: none
    }

    .invite-fg {
        animation: none
    }

    .nav-link {
        opacity: 1;
        transform: none
    }

    .couple-butterfly {
        opacity: .85
    }

    .couple-butterfly--1 {
        left: 16%
    }

    .couple-butterfly--2 {
        left: 66%
    }

    .couple-section .cpl-alive {
        color: var(--cpl-final, var(--ink))
    }

    .hero-logo-wrap, .hero-names .hero-name, .hero-names .hero-amp {
        opacity: 1!important;
        filter: none;
        transform: none
    }

    .invite-card-text>* {
        opacity: 1!important;
        transform: none
    }
}

/* Continuous Pastel Falling Icons Background Overlay */
.pastel-falling-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 1
}

/* Scratch Card Section (Without Header) */
.scratch-section {
    position: relative;
    padding: clamp(24px, 3.5vh, 40px) 16px;
    background: radial-gradient(ellipse at 50% 30%, #fdf8ef 0%, #f5e9d4 60%, #ebd7ba 100%);
    overflow: hidden;
    text-align: center
}

.scratch-inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 0 auto
}

.scratch-card-wrap {
    position: relative;
    width: min(370px, 88vw);
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(168, 129, 63, 0.22), 0 0 0 1px rgba(216, 169, 87, 0.45);
    overflow: hidden;
    background: #faf4e8
}

.scratch-card-underlay {
    position: relative;
    padding: 20px 16px 16px;
    background: linear-gradient(135deg, #fffdfa 0%, #f7eee0 50%, #eee0ca 100%);
    color: var(--ink);
    border-radius: 14px;
    border: 1.5px solid rgba(216, 169, 87, 0.6);
    box-sizing: border-box;
    z-index: 1
}

.scratch-card-kicker {
    font-family: var(--font-caps);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 2px
}

.scratch-card-date {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    font-style: italic;
    color: var(--blue-deep);
    margin-bottom: 12px
}

.scratch-countdown-cells {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px
}

.sc-cell {
    flex: 1;
    max-width: 64px;
    padding: 6px 4px 4px;
    background: #ffffff;
    border: 1px solid rgba(216, 169, 87, 0.5);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(168, 129, 63, 0.12)
}

.sc-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(1.1rem, 4vw, 1.45rem);
    line-height: 1;
    color: var(--blue-deep)
}

.sc-label {
    display: block;
    font-family: var(--font-caps);
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-top: 2px
}

.scratch-card-sub {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--ink-soft)
}

.scratch-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
    touch-action: none;
    transition: opacity 0.6s var(--ease)
}

.scratch-canvas.is-revealed {
    opacity: 0;
    pointer-events: none
}

.confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none
}

/* ==========================================================================
   MOBILE RESPONSIVE SYSTEM (Design Reference: 375px × 812px)
   - Min width support: 320px
   - Design reference width: 375px
   - Large phone width: 430px
   - Height approach: min-height / height: auto (Strictly no fixed pixel heights)
   ========================================================================== */

/* Base Mobile & iPhone Containment (up to 540px, Design Reference 375px x 812px) */
@media (max-width: 540px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    body.intro-active {
        overflow: hidden;
        min-height: 100svh;
        height: 100%;
    }

    .section {
        height: auto;
        min-height: auto;
    }

    .hero-section,
    .couple-section,
    .rsvp-section {
        min-height: 100svh;
        height: auto;
    }

    p, h1, h2, h3, h4, h5, h6, span, a, div {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Hero Section - Reference: 375px */
    .hero-section {
        padding: clamp(16px, 3vh, 32px) 16px 80px;
    }

    .hero-logo-wrap {
        width: min(320px, 82vw);
    }

    .hero-names {
        font-size: clamp(1.45rem, 6.6vw, 2.5rem);
        flex-wrap: wrap;
        white-space: normal;
        gap: 0.15em 0.25em;
        max-width: 100%;
    }

    .hero-scroll--left {
        left: 16%;
    }
    .hero-scroll--right {
        right: 16%;
    }
    .hero-chevron {
        border-color: #1d3f7a;
    }

    /* Intro Hint */
    .intro-hint {
        padding: 8px 16px;
        max-width: 88vw;
        height: auto;
    }

    .intro-hint-label {
        font-size: clamp(.75rem, 3.8vw, 1rem);
        letter-spacing: .16em;
        white-space: normal;
    }

    .intro-hint-sub {
        font-size: clamp(.85rem, 4vw, 1.1rem);
        letter-spacing: .02em;
        white-space: normal;
    }

    /* Invitation Card - Reference: 375px */
    .invite-card {
        width: min(360px, 92vw);
        height: auto;
    }

    .invite-card-text {
        inset: 13% 0 5%;
        padding: 0 8%;
        height: auto;
        overflow: visible;
    }

    .invite-overline {
        font-size: clamp(.72rem, 2.8vw, .88rem);
        margin-bottom: 3px;
    }

    .invite-kicker {
        font-size: clamp(.7rem, 2.7vw, .84rem);
        line-height: 1.35;
    }

    .invite-rule {
        margin: 7px auto;
        width: min(20px, 5vw);
    }

    .invite-names {
        gap: 6px;
    }

    .invite-name {
        font-size: clamp(1.5rem, 7.2vw, 2.4rem);
        line-height: 1.12;
    }

    .invite-parent {
        font-size: clamp(.58rem, 2.3vw, .82rem);
        line-height: 1.35;
        margin-top: 4px;
        white-space: nowrap;
        max-width: 100%;
    }

    .invite-amp {
        font-size: clamp(1.1rem, 4.8vw, 1.6rem);
        margin: 4px 0;
    }

    .invite-meta {
        margin-top: 8px;
    }

    .invite-date {
        font-size: clamp(.72rem, 2.8vw, .85rem);
    }

    .invite-venue {
        font-size: clamp(.7rem, 2.6vw, .82rem);
        margin-top: 2px;
    }

    /* Event Cards - Reference: 375px */
    .event-card-inner {
        width: min(360px, 92vw);
        height: auto;
    }

    .event-card-body {
        inset: 3% 6% 14%;
        margin-top: -40px;
        justify-content: center;
        padding-top: 0;
        height: auto;
    }

    .event-illustration {
        width: min(105px, 34%);
        max-height: 105px;
        margin-top: -3%;
    }

    .event-name {
        font-size: clamp(1.7rem, 7.2vw, 2.6rem);
        line-height: 1.15;
        margin-top: 2px;
    }

    .event-rule {
        margin: 5px auto;
    }

    .event-datetime {
        font-size: clamp(.66rem, 2.7vw, .8rem);
        gap: 2px;
        margin-top: 2px;
    }

    .event-venue {
        font-size: clamp(.66rem, 2.5vw, .8rem);
        line-height: 1.2;
        margin-top: 2px;
    }

    .event-note {
        font-size: clamp(.65rem, 2.4vw, .78rem);
        line-height: 1.3;
        margin-top: 2px;
        max-width: 96%;
    }

    .event-map {
        margin-top: 6px;
        padding: 4px 10px;
        font-size: .56rem;
    }

    /* Meet the Couple - Reference: 375px */
    .couple-content {
        width: min(500px, 86vw);
        height: auto;
        padding: clamp(18px, 3.5vw, 36px) clamp(24px, 7vw, 42px);
    }

    .couple-title {
        font-size: clamp(1.7rem, 7vw, 2.5rem);
    }

    .couple-story-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.15rem);
        margin-bottom: 12px;
        max-width: 88%;
        margin-left: auto;
        margin-right: auto;
    }

    .couple-story-body {
        font-size: clamp(0.88rem, 3.4vw, 1.1rem);
        line-height: 1.6;
        max-width: 88%;
        margin-left: auto;
        margin-right: auto;
    }

    .couple-story-closing {
        font-size: clamp(1.25rem, 5.8vw, 1.8rem);
        margin-top: 14px;
        line-height: 1.25;
    }

    .couple-hashtag {
        font-size: clamp(1.25rem, 5.8vw, 1.8rem);
        margin-top: 12px;
    }

    /* RSVP Section - Reference: 375px */
    .rsvp-content {
        height: auto;
    }

    .rsvp-headline {
        font-size: clamp(2rem, 9vw, 3.8rem);
        line-height: 1.25;
        margin: 10px 0 14px;
    }

    .rsvp-body {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.6;
    }

    .rsvp-btn {
        padding: 14px 28px;
        font-size: .72rem;
    }

    .rsvp-cal-btn {
        padding: 9px 16px;
        font-size: .78rem;
    }

    /* Scratch Card - Reference: 375px */
    .scratch-card-wrap {
        width: min(360px, 92vw);
        height: auto;
    }

    .scratch-card-underlay {
        padding: 16px 10px 14px;
        height: auto;
    }

    .scratch-countdown-cells {
        gap: 4px;
    }

    .sc-cell {
        min-width: 0;
        padding: 5px 2px 3px;
        height: auto;
    }

    .sc-num {
        font-size: clamp(0.95rem, 3.6vw, 1.35rem);
    }

    .sc-label {
        font-size: 0.44rem;
        letter-spacing: 0.08em;
    }

    /* Countdown Section - Reference: 375px */
    .countdown-title {
        font-size: clamp(1.8rem, 7.2vw, 2.6rem);
    }

    .cd-title-forever {
        line-height: 1.1;
    }

    .cd-num {
        font-size: clamp(1.1rem, 5vw, 2.2rem);
    }

    .cd-label {
        font-size: clamp(.4rem, 1.6vw, .6rem);
        letter-spacing: .08em;
    }

    /* Things to know grid - Reference: 375px */
    .ttk-grid {
        grid-template-columns: 1fr 1fr;
        gap: .5rem;
    }

    .ttk-card-inner {
        padding: 1rem .5rem 1rem;
        height: auto;
    }

    .ttk-card-icon-wrap {
        width: 72px;
        height: 72px;
        margin-bottom: .8rem;
    }

    .ttk-card-icon {
        width: 66px;
        height: 66px;
    }

    .ttk-card-label {
        font-size: clamp(0.95rem, 3.2vw, 1.25rem);
        margin-bottom: .35rem;
    }

    .ttk-card-body {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
        line-height: 1.45;
    }

    /* Footer - Reference: 375px */
    .ft-names {
        font-size: clamp(1.9rem, 8vw, 3rem);
    }
}

/* Tier 1: Small Screens (320px Width Minimum Support) */
@media (max-width: 359px) {
    .hero-names {
        font-size: clamp(1.3rem, 6.2vw, 1.9rem);
    }

    .invite-card,
    .event-card-inner,
    .scratch-card-wrap {
        width: 96vw;
    }

    .invite-card-text {
        inset: 10% 0 3%;
        padding: 0 4%;
    }

    .invite-name {
        font-size: clamp(1.35rem, 6.8vw, 1.9rem);
    }

    .invite-parent {
        font-size: clamp(0.55rem, 2.2vw, 0.75rem);
        white-space: nowrap;
    }

    .event-name {
        font-size: clamp(1.45rem, 6.8vw, 2.1rem);
    }

    .sc-cell {
        padding: 4px 1px;
    }

    .sc-num {
        font-size: 0.9rem;
    }

    .sc-label {
        font-size: 0.4rem;
    }

    .ttk-grid {
        gap: 0.35rem;
    }

    .ttk-card-inner {
        padding: 0.8rem 0.35rem;
    }
}

/* Tier 3: Large Phones (414px – 430px Width Support) */
@media (min-width: 414px) and (max-width: 540px) {
    .hero-names {
        font-size: clamp(1.8rem, 6.8vw, 2.8rem);
    }

    .invite-card {
        width: min(390px, 92vw);
    }

    .invite-card-text {
        inset: 14% 0 6%;
        padding: 0 9%;
    }

    .invite-name {
        font-size: clamp(1.75rem, 7.5vw, 2.6rem);
    }

    .invite-parent {
        font-size: clamp(0.6rem, 2.4vw, 0.85rem);
        white-space: nowrap;
    }

    .event-card-inner {
        width: min(390px, 92vw);
    }

    .event-name {
        font-size: clamp(1.9rem, 7.5vw, 2.8rem);
    }

    .scratch-card-wrap {
        width: min(390px, 92vw);
    }
}
