/* ============================================================
   Endless Horizon × Grainy Mesh
   Deep navy · steel/ice mesh · heavy film grain · soft light leaks
   ============================================================ */

@font-face {
    font-family: 'Forum';
    src: url('fonts/Forum/Forum-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher/Philosopher-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher/Philosopher-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher/Philosopher-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher/Philosopher-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Marianna';
    src: url('fonts/Marianna/Marianna.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-deep: #141516;
    --bg-mid: #1e2022;
    --azurite: #2b2b2b;
    --mountain: #3a3d3a;
    --contrail: #8a8a8a;
    --silver: #d4d3d1;
    --dove: #e8e7e5;
    --warm-glow: #f0efed;
    --white: #f2f1ef;
    --text: #e8e7e5;
    --text-soft: rgba(242, 241, 239, 0.72);
    --text-muted: rgba(242, 241, 239, 0.42);
    --glow: rgba(242, 241, 239, 0.5);
    --frost: rgba(242, 241, 239, 0.08);
    --max: 440px;
    --sheet-radius: 32px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html.is-scroll-locked,
html.is-scroll-locked body {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

body {
    min-height: 100vh;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--text);
    line-height: 1.75;
    letter-spacing: 0.01em;
    /* Matches atmosphere / continuation seam tone */
    background: #1e2f42;
    overflow-x: hidden;
}

/* ============================================================
   Fixed page background — grainy steel mesh continuation
   ============================================================ */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background:
        radial-gradient(ellipse 26% 68% at 50% -4%, rgba(255, 255, 255, 0.16), transparent 72%),
        radial-gradient(ellipse 40% 34% at 64% 40%, rgba(236, 244, 250, 0.2), transparent 68%),
        radial-gradient(ellipse 38% 32% at 16% 18%, rgba(186, 204, 222, 0.14), transparent 70%),
        radial-gradient(ellipse 48% 36% at 40% 74%, rgba(210, 226, 238, 0.12), transparent 72%),
        radial-gradient(ellipse 30% 26% at 88% 82%, rgba(168, 192, 214, 0.1), transparent 65%),
        linear-gradient(180deg, rgba(28, 46, 66, 0.22), rgba(18, 32, 48, 0.38)),
        url('images/bg-continuation.png') center top / 125% 125% no-repeat,
        #1e2f42;
    pointer-events: none;
}

/* Full-viewport soft light leak behind content */
.page-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 22% 58% at 50% -8%, rgba(255, 255, 255, 0.2), transparent 70%),
        radial-gradient(ellipse 58% 20% at 50% 70%, rgba(255, 236, 220, 0.09), transparent 72%);
    mix-blend-mode: screen;
    opacity: 0.55;
    filter: blur(52px);
    pointer-events: none;
}

/* Hero-local bloom — soft beam, under hero content */
.page-bloom {
    display: block;
    position: absolute;
    inset: -8% 0 20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 24% 55% at 50% 0%, rgba(255, 255, 255, 0.16), transparent 72%),
        radial-gradient(ellipse 60% 22% at 50% 68%, rgba(255, 236, 220, 0.08), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.32;
    filter: blur(40px);
}

/* Paper grain — nearly silent so film grain leads */
.paper-grain {
    position: fixed;
    inset: 0;
    z-index: 48;
    pointer-events: none;
    opacity: 0.02;
    mix-blend-mode: soft-light;
    background-image:
        linear-gradient(
            180deg,
            rgba(232, 238, 244, 0.02) 0%,
            rgba(20, 30, 42, 0) 40%,
            rgba(20, 30, 42, 0.03) 100%
        ),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.35' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: auto, 320px 320px;
}

/* Film grain — dense frosted / high-ISO texture */
.film-grain {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.25' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px 120px;
}

@media (prefers-reduced-motion: reduce) {
    .film-grain {
        opacity: 0.04;
    }

    .paper-grain {
        opacity: 0.015;
    }

    .page-bloom {
        opacity: 0.3;
        filter: blur(28px);
    }
}

/* ============================================================
   Hero — overlapping lens circles (Venn)
   ============================================================ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 20px 88px;
    text-align: center;
    /* visible: background-attachment:fixed on .hero-bg must not be
       demoted by an overflow clipping ancestor */
    overflow: visible;
}

/* Atmosphere plate — soft horizon / light-leak, full-bleed */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* Opaque continuation locked to the viewport — same plate as .page-bg,
       so the hero box edge never reveals a different texture. */
    background:
        radial-gradient(ellipse 26% 68% at 50% -4%, rgba(255, 255, 255, 0.16), transparent 72%),
        radial-gradient(ellipse 40% 34% at 64% 40%, rgba(236, 244, 250, 0.2), transparent 68%),
        radial-gradient(ellipse 38% 32% at 16% 18%, rgba(186, 204, 222, 0.14), transparent 70%),
        radial-gradient(ellipse 48% 36% at 40% 74%, rgba(210, 226, 238, 0.12), transparent 72%),
        radial-gradient(ellipse 30% 26% at 88% 82%, rgba(168, 192, 214, 0.1), transparent 65%),
        linear-gradient(180deg, rgba(28, 46, 66, 0.22), rgba(18, 32, 48, 0.38)),
        url('images/bg-continuation.png') center top / 125% 125% no-repeat,
        #1e2f42;
    background-attachment: fixed, fixed, fixed, fixed, fixed, fixed, fixed, scroll;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 28% 55% at 50% 6%, rgba(255, 255, 255, 0.18), transparent 70%),
        radial-gradient(ellipse 52% 26% at 50% 66%, rgba(255, 236, 220, 0.1), transparent 68%),
        radial-gradient(ellipse 36% 30% at 72% 38%, rgba(220, 234, 246, 0.12), transparent 66%),
        linear-gradient(180deg, rgba(24, 40, 58, 0.12), rgba(18, 32, 48, 0.28)),
        url('images/bg-atmosphere2.png') center center / cover no-repeat;
    /* Long soft dissolve — gone well above the hero/sheet join */
    -webkit-mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 32%,
        rgba(0, 0, 0, 0.75) 48%,
        rgba(0, 0, 0, 0.35) 60%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent 82%
    );
    mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 32%,
        rgba(0, 0, 0, 0.75) 48%,
        rgba(0, 0, 0, 0.35) 60%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent 82%
    );
}

.hero::before {
    content: none;
}

.hero-venn {
    position: relative;
    z-index: 1;
    width: min(92vw, 400px);
    aspect-ratio: 400 / 520;
    flex-shrink: 0;
    isolation: isolate;
}

.hero-rings {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.hero-ring {
    mix-blend-mode: screen;
    opacity: 0.85;
    filter: blur(0.6px);
}

.hero-ring-halo {
    stroke: rgba(255, 255, 255, 0.42);
    stroke-width: 22;
    opacity: 0.7;
}

.hero-intersection-glow {
    fill: rgba(30, 47, 66, 0.55);
    opacity: 1;
}

.hero-ring-edge {
    stroke: rgba(255, 255, 255, 0.72);
    stroke-width: 3.2;
    opacity: 0.95;
}

.hero-ring-edge--top {
    stroke: rgba(255, 255, 255, 0.78);
}

.hero-ring-edge--bottom {
    stroke: rgba(255, 255, 255, 0.64);
}

.hero-ring-core {
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1.6;
    opacity: 0.85;
}

.hero-ring-core--top {
    stroke: rgba(255, 255, 255, 0.62);
}

.hero-ring-core--bottom {
    stroke: rgba(255, 255, 255, 0.48);
}

.hero-arc-text {
    font-family: 'Cormorant Garamond', 'Jost', serif;
    font-size: 11px;
    letter-spacing: 0.28em;
    fill: rgba(184, 189, 191, 0.72);
    text-transform: uppercase;
}

.hero-arc-text--foot {
    font-size: 10px;
    letter-spacing: 0.22em;
    fill: rgba(122, 128, 127, 0.85);
}

.hero-venn-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Zones match SVG: top cy=168, lens@260, bottom cy=352 (viewBox 520) */
.hero-names {
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, -50%);
    width: 58%;
    max-width: 11.5em;
    margin: 0;
    font-family: 'Philosopher', 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 5vw, 1.65rem);
    line-height: 1.2;
    letter-spacing: 0.28em;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18em;
    text-shadow:
        0 0 28px rgba(255, 255, 255, 0.45),
        0 0 64px rgba(220, 236, 246, 0.35),
        0 1px 18px rgba(0, 0, 0, 0.28);
}

.hero-names span {
    display: block;
    max-width: 100%;
    overflow: visible;
    white-space: nowrap;
}

.hero-cross {
    font-size: 0.72em;
    letter-spacing: 0;
    color: var(--silver);
    opacity: 0.75;
    font-weight: 400;
    line-height: 1;
}

.hero-wedding-day {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72%;
    max-width: none;
    margin: 0;
    font-family: 'Forum', 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(0.78rem, 3.2vw, 0.98rem);
    line-height: 1.15;
    letter-spacing: 0.48em;
    text-indent: 0.48em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow:
        0 0 24px rgba(255, 255, 255, 0.4),
        0 0 56px rgba(210, 228, 240, 0.28),
        0 1px 14px rgba(0, 0, 0, 0.28);
    white-space: nowrap;
    overflow: visible;
    text-align: center;
    opacity: 0.92;
}

.hero-date {
    position: absolute;
    left: 50%;
    top: 72%;
    transform: translate(-50%, -50%);
    width: 58%;
    max-width: 10em;
    margin: 0;
    font-family: 'Philosopher', 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1.15rem, 4.8vw, 1.5rem);
    letter-spacing: 0.28em;
    color: var(--dove);
    text-shadow:
        0 0 28px rgba(255, 255, 255, 0.4),
        0 0 56px rgba(210, 228, 240, 0.3),
        0 1px 18px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: visible;
    text-align: center;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    display: grid;
    place-items: start center;
    padding-top: 8px;
    z-index: 2;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.hero-scroll span {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--dove);
    animation: scroll-nudge 1.8s ease-in-out infinite;
}

@keyframes scroll-nudge {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

/* ============================================================
   Sheet — content container over page background (no frost)
   ============================================================ */
.sheet {
    position: relative;
    z-index: 2;
    margin-top: -48px;
    width: 100%;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-top: none;
    overflow: visible;
}

.sheet::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.045;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    /* Fade grain in so its top edge doesn't read as a seam */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 64px);
    mask-image: linear-gradient(180deg, transparent 0%, #000 64px);
}

.sheet-inner {
    position: relative;
    z-index: 1;
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 48px 28px 88px;
}

.section {
    text-align: center;
    padding: 56px 0;
}

.section + .section {
    border-top: 1px solid rgba(232, 231, 229, 0.12);
}

.section-label {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.68rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.6rem;
}

.section-text {
    font-size: 0.95rem;
    color: var(--text-soft);
    max-width: 34em;
    margin: 0 auto;
}

.section-text strong {
    color: var(--white);
    font-weight: 500;
}

.icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.2rem;
    color: var(--silver);
}

.icon-wrap svg {
    width: 100%;
    height: 100%;
}

.ornament {
    width: 120px;
    margin: 0 auto;
    color: var(--contrail);
    opacity: 0.85;
}

.ornament svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   Reveal motion
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .snake-item,
    .snake-line,
    .snake-line-bloom {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .snake-line,
    .snake-line-bloom {
        stroke-dashoffset: 0;
    }

    .hero-scroll span {
        animation: none;
    }
}

/* ============================================================
   Intro
   ============================================================ */
.intro {
    padding-top: 36px;
}

.intro p.intro-greeting {
    font-family: 'Marianna', cursive;
    font-weight: 400;
    font-size: clamp(2.0rem, 8.0vw, 2.15rem);    
    letter-spacing: 0.06em;
    line-height: 1.15;
    white-space: nowrap;
    color: var(--white);
    margin-bottom: 3.2rem !important;
    text-shadow: 0 0 48px rgba(242, 241, 239, 0.1);
}

.intro p:not(.intro-greeting) {
    font-size: 0.98rem;
    color: var(--text-soft);
    margin-bottom: 1.2rem;
}

.intro p:last-child {
    margin-bottom: 0;
}

.intro strong {
    color: var(--white);
    font-weight: 500;
}

/* ============================================================
   Quote
   ============================================================ */
.quote {
    padding-top: 48px;
    padding-bottom: 48px;
}

.quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 4rem;
    line-height: 1;
    color: var(--white);
    opacity: 0.35;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 48px rgba(242, 241, 239, 0.16);
}

.quote blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1.65;
    color: var(--dove);
    font-style: italic;
    letter-spacing: 0.04em;
}

/* ============================================================
   Calendar / Date
   ============================================================ */
.calendar {
    margin: 0 auto 1rem;
    max-width: 260px;
}

.calendar-month {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.48em;
    color: var(--white);
    margin-bottom: 1.15rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px 4px;
    justify-items: center;
}

.calendar-grid span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--contrail);
    letter-spacing: 0.02em;
}

.calendar-grid .is-empty {
    visibility: hidden;
    pointer-events: none;
}

.calendar-grid .is-active {
    color: var(--bg-deep);
    background: var(--white);
    border-radius: 50%;
    font-weight: 500;
    box-shadow: 0 0 24px rgba(242, 241, 239, 0.28);
    animation: pulse-date 2.8s ease-in-out infinite;
}

@keyframes pulse-date {
    0%, 100% { box-shadow: 0 0 0 0 rgba(242, 241, 239, 0.28); }
    50% { box-shadow: 0 0 0 12px rgba(242, 241, 239, 0); }
}

.date-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 320px;
    margin: 1.8rem auto 0;
    padding: 0.95rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px) saturate(0.9);
    -webkit-backdrop-filter: blur(16px) saturate(0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 40px rgba(255, 255, 255, 0.04);
}

.date-strip-month,
.date-strip-weekday {
    position: relative;
    font-family: 'Jost', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dove);
    text-align: center;
    line-height: 1.2;
}

.date-strip-month::after,
.date-strip-weekday::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 1px;
    height: 1.35em;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%);
}

.date-strip-month::after {
    right: 0;
}

.date-strip-weekday::before {
    left: 0;
}

.date-strip-day {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.85rem;
    font-weight: 300;
    line-height: 1;
    color: var(--white);
    text-align: center;
    padding: 0 1.1rem;
    text-shadow: 0 0 28px rgba(242, 241, 239, 0.22);
}

/* ============================================================
   Location — twin circles: merge → split → reveal
   ============================================================ */
.location-stage {
    --circle-size: min(70vw, 248px);
    --split: calc(var(--circle-size) * 0.88);
    position: relative;
    width: 100%;
    height: calc(var(--circle-size) * 3.05 + 4.5rem);
    margin: 0.2rem auto 0;
}

/* Atmospheric orbs — directional beams (Expo-style, not circular) */
.location-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.location-orb {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/* White beam: rides with photo circle — no separate split animation */
.location-orb--top {
    width: calc(var(--circle-size) * 2.2);
    height: calc(var(--circle-size) * 2.5);
    background:
        radial-gradient(
            ellipse 72% 48% at 50% 18%,
            #ffffff 0%,
            #ffffff 10%,
            rgba(255, 255, 255, 0.98) 22%,
            rgba(248, 252, 255, 0.72) 40%,
            rgba(220, 235, 255, 0.32) 58%,
            transparent 78%
        );
    -webkit-mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 22%,
        #000 40%,
        rgba(0, 0, 0, 0.45) 68%,
        transparent 95%
    );
    mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 22%,
        #000 40%,
        rgba(0, 0, 0, 0.45) 68%,
        transparent 95%
    );
    filter: blur(28px);
    opacity: 0;
    /* Fixed offset vs photo center — moves only via parent circle transform */
    transform: translate(-50%, calc(-50% + var(--circle-size) * 0.7));
    transition: opacity 1.35s cubic-bezier(0.33, 0.05, 0.2, 1) 0.2s;
}

.location.is-expanded .location-orb--top {
    opacity: 1;
}

/* Soft outer aura — same parent as top, mirrors bottom aura offset */
.location-orb--aura-top {
    width: calc(var(--circle-size) * 2.5);
    height: calc(var(--circle-size) * 2.8);
    background:
        radial-gradient(
            ellipse 78% 52% at 50% 16%,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(240, 248, 255, 0.22) 38%,
            transparent 72%
        );
    -webkit-mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 22%,
        #000 40%,
        rgba(0, 0, 0, 0.35) 68%,
        transparent 95%
    );
    mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 22%,
        #000 40%,
        rgba(0, 0, 0, 0.35) 68%,
        transparent 95%
    );
    filter: blur(44px);
    opacity: 0;
    transform: translate(-50%, calc(-50% + var(--circle-size) * 0.95));
    transition: opacity 1.35s cubic-bezier(0.33, 0.05, 0.2, 1) 0.2s;
}

.location.is-expanded .location-orb--aura-top {
    opacity: 0.5;
}

/* Narrow vertical bridge where beams meet */
.location-orb--bridge {
    width: calc(var(--circle-size) * 0.5);
    height: calc(var(--circle-size) * 1.4);
    border-radius: 50%;
    background:
        radial-gradient(
            ellipse 60% 80% at 50% 50%,
            rgba(160, 190, 245, 0.2) 0%,
            rgba(100, 140, 210, 0.08) 40%,
            transparent 70%
        );
    filter: blur(36px);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition:
        height 1.7s cubic-bezier(0.33, 0.05, 0.2, 1),
        opacity 1.55s cubic-bezier(0.33, 0.05, 0.2, 1);
}

.location.is-expanded .location-orb--bridge {
    width: calc(var(--circle-size) * 0.55);
    height: calc(var(--circle-size) * 2);
    opacity: 0.48;
    filter: blur(38px);
}

/* Blue beam: rides with text circle — mirror of white */
.location-orb--bottom {
    width: calc(var(--circle-size) * 2.2);
    height: calc(var(--circle-size) * 2.5);
    background:
        radial-gradient(
            ellipse 72% 48% at 50% 82%,
            #6ea8ff 0%,
            rgba(90, 155, 255, 0.98) 10%,
            rgba(70, 130, 245, 0.85) 24%,
            rgba(50, 105, 210, 0.5) 42%,
            rgba(30, 75, 170, 0.22) 60%,
            transparent 78%
        );
    -webkit-mask-image: linear-gradient(
        0deg,
        #000 0%,
        #000 22%,
        #000 40%,
        rgba(0, 0, 0, 0.45) 68%,
        transparent 95%
    );
    mask-image: linear-gradient(
        0deg,
        #000 0%,
        #000 22%,
        #000 40%,
        rgba(0, 0, 0, 0.45) 68%,
        transparent 95%
    );
    filter: blur(28px);
    opacity: 0;
    transform: translate(-50%, calc(-50% - var(--circle-size) * 0.7));
    transition: opacity 1.35s cubic-bezier(0.33, 0.05, 0.2, 1) 0.2s;
}

.location.is-expanded .location-orb--bottom {
    opacity: 1;
}

/* Soft outer aura — same parent as bottom */
.location-orb--aura {
    width: calc(var(--circle-size) * 2.5);
    height: calc(var(--circle-size) * 2.8);
    background:
        radial-gradient(
            ellipse 78% 52% at 50% 84%,
            rgba(100, 160, 255, 0.5) 0%,
            rgba(70, 130, 235, 0.22) 38%,
            transparent 72%
        );
    -webkit-mask-image: linear-gradient(
        0deg,
        #000 0%,
        #000 22%,
        #000 40%,
        rgba(0, 0, 0, 0.35) 68%,
        transparent 95%
    );
    mask-image: linear-gradient(
        0deg,
        #000 0%,
        #000 22%,
        #000 40%,
        rgba(0, 0, 0, 0.35) 68%,
        transparent 95%
    );
    filter: blur(44px);
    opacity: 0;
    transform: translate(-50%, calc(-50% - var(--circle-size) * 0.95));
    transition: opacity 1.35s cubic-bezier(0.33, 0.05, 0.2, 1) 0.2s;
}

.location.is-expanded .location-orb--aura {
    opacity: 0.75;
}

.location-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
        transform 1.7s cubic-bezier(0.33, 0.05, 0.2, 1),
        border-color 1.45s ease,
        background 1.45s ease,
        box-shadow 1.45s ease;
}

.location.is-expanded .location-circle--top {
    transform: translate(-50%, calc(-50% - var(--split)));
}

.location.is-expanded .location-circle--bottom {
    transform: translate(-50%, calc(-50% + var(--split)));
}

.location-circle--top {
    z-index: 2;
    overflow: visible;
}

.location-circle--bottom {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 1px solid rgba(247, 248, 245, 0.22);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 0 0 1px rgba(247, 248, 245, 0.05),
        inset 0 0 24px rgba(247, 248, 245, 0.04);
}

/* After split: no circle — soft uplight from below */
.location.is-expanded .location-circle--bottom {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

/* Photo rim glow — appears with split, not in folded state */
.location-photo-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
    transition: box-shadow 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%
    );
    filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 1.7s cubic-bezier(0.33, 0.05, 0.2, 1);
}

.location.is-expanded .location-photo-wrap {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8),
        0 0 32px 10px rgba(255, 255, 255, 0.55),
        0 0 72px 24px rgba(240, 248, 255, 0.32);
}

.location.is-expanded .location-photo-wrap::before {
    opacity: 1;
}

.location-photo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    background:
        linear-gradient(180deg, rgba(214, 226, 232, 0.12), rgba(64, 80, 92, 0.34)),
        url('images/location.jpg') center / cover no-repeat;
    background-blend-mode: soft-light, normal;
    filter: grayscale(0.85) saturate(0.15) contrast(0.84) brightness(1.08);
    transition: opacity 1.35s cubic-bezier(0.33, 0.05, 0.2, 1) 0.6s;
}

.location.is-expanded .location-photo {
    opacity: 1;
}

.location-arc {
    position: absolute;
    left: 50%;
    top: 1.35rem;
    z-index: 3;
    width: 136%;
    height: auto;
    overflow: visible;
    pointer-events: none;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1.3s cubic-bezier(0.33, 0.05, 0.2, 1) 0.85s;
}

.location.is-expanded .location-arc {
    opacity: 1;
}

.location-arc-text {
    fill: var(--white);
    font-family: 'Cormorant Garamond', 'Jost', serif;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.location-arc-text--1 {
    font-size: 11.5px;
}

.location-arc-text--2 {
    font-size: 11px;
}

.location-arc-text--3 {
    font-size: 10.5px;
}

.location-details {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 118%;
    max-width: 22rem;
    height: auto;
    min-height: 100%;
    padding: 0.85rem 0.6rem 1rem;
    box-sizing: border-box;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 1.35s cubic-bezier(0.33, 0.05, 0.2, 1) 0.7s,
        transform 1.5s cubic-bezier(0.33, 0.05, 0.2, 1) 0.65s;
}

.location.is-expanded .location-details {
    opacity: 1;
    transform: translateY(0);
}

.location-kicker {
    margin: 0 0 0.65rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.4;
    white-space: nowrap;
    text-shadow: 0 0 28px rgba(245, 251, 255, 0.35);
}

.location-note {
    margin: 0 auto 0.55rem;
    max-width: 18em;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.45;
    color: var(--text-soft);
}

.location-diamond {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    color: rgba(247, 248, 245, 0.7);
    line-height: 1;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0;
    appearance: none;
    border: 1px solid rgba(247, 248, 245, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: 'Jost', sans-serif;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 16px;
    cursor: pointer;
    box-shadow:
        inset 0 0 28px rgba(247, 248, 245, 0.08),
        0 0 36px rgba(45, 100, 180, 0.3);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.btn-map-pin {
    flex-shrink: 0;
    opacity: 0.9;
}

.btn-map:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(249, 249, 246, 0.72);
    color: var(--white);
    box-shadow:
        inset 0 0 32px rgba(250, 250, 247, 0.12),
        0 0 40px rgba(50, 110, 190, 0.4);
    transform: none;
}

.btn-map:active {
    background: rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .location-circle,
    .location-orb,
    .location-photo-wrap,
    .location-photo-wrap::before,
    .location-photo,
    .location-arc,
    .location-details {
        transition: none;
    }

    .location.is-expanded .location-circle--top,
    .location-circle--top {
        transform: translate(-50%, calc(-50% - var(--split)));
    }

    .location.is-expanded .location-circle--bottom,
    .location-circle--bottom {
        transform: translate(-50%, calc(-50% + var(--split)));
        border-color: transparent;
        background: transparent;
        box-shadow: none;
    }

    .location-orb--top,
    .location.is-expanded .location-orb--top {
        opacity: 1;
        transform: translate(-50%, calc(-50% + var(--circle-size) * 0.7));
    }

    .location-orb--aura-top,
    .location.is-expanded .location-orb--aura-top {
        opacity: 0.5;
        transform: translate(-50%, calc(-50% + var(--circle-size) * 0.95));
    }

    .location-orb--bridge,
    .location.is-expanded .location-orb--bridge {
        width: calc(var(--circle-size) * 0.55);
        height: calc(var(--circle-size) * 2);
        opacity: 0.48;
        filter: blur(38px);
        transform: translate(-50%, -50%);
    }

    .location-orb--bottom,
    .location.is-expanded .location-orb--bottom {
        opacity: 1;
        transform: translate(-50%, calc(-50% - var(--circle-size) * 0.7));
    }

    .location-orb--aura,
    .location.is-expanded .location-orb--aura {
        opacity: 0.75;
        transform: translate(-50%, calc(-50% - var(--circle-size) * 0.95));
    }

    .location-photo,
    .location-arc,
    .location-details {
        opacity: 1;
        transform: none;
    }

    .location-photo-wrap::before {
        opacity: 1;
    }
}

/* ============================================================
   Snake schedule
   ============================================================ */
.snake {
    --snake-w: 1000;
    --snake-h: 1240;
    --snake-y0: 0;
    --snake-r: 82;
    position: relative;
    width: min(100%, 380px);
    margin: 12px auto 0;
    aspect-ratio: var(--snake-w) / var(--snake-h);
    container-type: inline-size;
}

.snake-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.snake-line,
.snake-line-bloom {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.snake-line-bloom {
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 26;
    filter: url(#snakeGlow);
}

.snake-line {
    stroke: #fff;
    stroke-width: 5.5;
    /* SVG filter with fixed userSpaceOnUse region — CSS drop-shadow grows with the stroke bbox */
    filter: url(#snakeLineGlow);
}

.snake.is-drawn .snake-line,
.snake.is-drawn .snake-line-bloom {
    animation: snake-draw 2.8s linear forwards;
}

@keyframes snake-draw {
    from {
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.snake-list {
    list-style: none;
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.snake-item {
    position: absolute;
    left: calc(var(--x) / var(--snake-w) * 100%);
    top: calc((var(--y) - var(--snake-y0)) / var(--snake-h) * 100%);
    width: 0;
    height: 0;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
        opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.snake-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.snake-node {
    position: absolute;
    left: 0;
    top: 0;
    /* 2r in viewBox units → fraction of snake width (cqi; parent item is width:0) */
    width: 62px;
    height: 62px;
    width: calc(var(--snake-r) * 2 / var(--snake-w) * 100cqi);
    height: calc(var(--snake-r) * 2 / var(--snake-w) * 100cqi);
    border-radius: 50%;
    border: 3.5px solid #fff;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow:
        0 0 8px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 42px rgba(255, 255, 255, 0.55),
        0 0 72px rgba(255, 255, 255, 0.28);
    transform: translate3d(-50%, -50%, 0) scale(0.72);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.snake-item.is-visible .snake-node {
    transform: translate3d(-50%, -50%, 0) scale(1);
}

.snake-node svg {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}

.snake-body {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateY(-50%);
    white-space: nowrap;
}

.snake-item--left .snake-body {
    left: 44px;
    left: calc(var(--snake-r) / var(--snake-w) * 100cqi + 10px);
    text-align: left;
}

.snake-item--right .snake-body {
    right: 44px;
    right: calc(var(--snake-r) / var(--snake-w) * 100cqi + 10px);
    text-align: right;
}

.snake-body .time {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    color: var(--white);
    line-height: 1.2;
}

.snake-body .event {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

/* ============================================================
   Dress code
   ============================================================ */
.dresscode {
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: visible;
    border-top-color: transparent;
    background: transparent;
}

.dresscode-stage {
    position: relative;
    z-index: 0;
    overflow: visible;
}

.dresscode-mist {
    position: absolute;
    top: 31%;
    bottom: -140px;
    left: 50%;
    z-index: 0;
    width: 100vw;
    margin-left: -50vw;
    pointer-events: none;
    overflow: visible;
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 70%,
        rgba(0, 0, 0, 0.4) 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 70%,
        rgba(0, 0, 0, 0.4) 88%,
        transparent 100%
    );
}

.dresscode-mist-svg {
    display: block;
    width: 100%;
    height: 108%;
}

.dresscode-stage > :not(.dresscode-mist) {
    position: relative;
    z-index: 1;
}

.dresscode-label {
    margin-bottom: 1.1rem;
}

.dresscode-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.85rem, 6.5vw, 2.45rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.15rem;
    text-shadow: 0 0 42px rgba(242, 241, 239, 0.16);
}

.dresscode-diamond {
    display: block;
    width: 7px;
    height: 7px;
    margin: 0 auto 1.35rem;
    background: var(--dove);
    transform: rotate(45deg);
    box-shadow: 0 0 14px rgba(242, 241, 239, 0.45);
    opacity: 0.85;
}

.dresscode-intro {
    margin-bottom: 2.4rem;
    max-width: 28em;
}

.dresscode-circles {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.2rem;
    overflow: visible;
}

.dresscode-her-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.05rem;
}

.dresscode-palette {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 2;
    width: min(90vw, 360px);
}

.dresscode-swatch {
    flex: 1 1 0;
    width: auto;
    max-width: 2.85rem;
    aspect-ratio: 1;
    height: auto;
    border-radius: 50%;
    background-color: transparent;
    background-image: var(--swatch-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(242, 241, 239, 0.38);
    box-shadow:
        0 0 0 1px rgba(20, 24, 28, 0.12),
        0 0 14px rgba(242, 241, 239, 0.14),
        inset 0 1px 2px rgba(255, 255, 255, 0.22);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dresscode-circle {
    position: relative;
    z-index: 1;
    width: min(78vw, 280px);
    aspect-ratio: 1;
    display: block;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(242, 241, 239, 0.42);
    background:
        radial-gradient(circle at 50% 42%, rgba(242, 241, 239, 0.07) 0%, rgba(20, 21, 22, 0.22) 62%, rgba(14, 16, 18, 0.45) 100%);
    box-shadow:
        0 0 0 1px rgba(242, 241, 239, 0.06),
        0 0 28px rgba(242, 241, 239, 0.22),
        0 0 64px rgba(242, 241, 239, 0.1),
        inset 0 0 36px rgba(242, 241, 239, 0.04);
    overflow: visible;
}

.dresscode-circle-glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 2;
}

.dresscode-gallery {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.dresscode-gallery.is-dragging {
    cursor: grabbing;
}

.dresscode-gallery::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 42%;
    background: linear-gradient(
        to top,
        rgba(12, 14, 16, 0.52) 0%,
        rgba(12, 14, 16, 0.18) 48%,
        transparent 100%
    );
    pointer-events: none;
}

.dresscode-gallery-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
}

.dresscode-gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.dresscode-gallery.is-dragging .dresscode-gallery-track {
    transition: none;
}

.dresscode-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

.dresscode-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
}

.dresscode-gallery-btn {
    display: none;
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 2.15rem;
    height: 2.15rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(242, 241, 239, 0.45);
    border-radius: 50%;
    background: rgba(18, 22, 26, 0.38);
    color: rgba(242, 241, 239, 0.92);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.dresscode-gallery-btn svg {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0 auto;
}

.dresscode-gallery-btn--prev {
    left: 0.55rem;
}

.dresscode-gallery-btn--next {
    right: 0.55rem;
}

@media (hover: hover) and (pointer: fine) {
    .dresscode-gallery-btn {
        display: grid;
        place-items: center;
    }

    .dresscode-gallery-btn:hover {
        background: rgba(18, 22, 26, 0.55);
        border-color: rgba(242, 241, 239, 0.7);
        color: #fff;
    }

    .dresscode-gallery-btn:focus-visible {
        outline: 1px solid rgba(242, 241, 239, 0.75);
        outline-offset: 2px;
    }
}

.dresscode-glow-halo {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 18;
    opacity: 0.45;
}

.dresscode-glow-edge {
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2.4;
    opacity: 0.55;
}

.dresscode-glow-core {
    stroke: rgba(255, 255, 255, 0.38);
    stroke-width: 1.2;
    opacity: 0.5;
}

.dresscode-circle--her .dresscode-glow-edge {
    stroke: rgba(255, 255, 255, 0.78);
}

.dresscode-circle--her .dresscode-glow-core {
    stroke: rgba(255, 255, 255, 0.62);
}

.dresscode-circle--him .dresscode-glow-halo {
    stroke: rgba(255, 255, 255, 0.5);
}

.dresscode-circle--him .dresscode-glow-edge {
    stroke: rgba(255, 255, 255, 0.88);
}

.dresscode-circle--him .dresscode-glow-core {
    stroke: rgba(255, 255, 255, 0.7);
}

.dresscode-circle--her {
    box-shadow:
        0 0 0 1px rgba(242, 241, 239, 0.08),
        0 0 32px rgba(242, 241, 239, 0.34),
        0 0 72px rgba(242, 241, 239, 0.16),
        inset 0 0 36px rgba(242, 241, 239, 0.05);
}

.dresscode-circle--him {
    border-color: rgba(255, 255, 255, 0.55);
    background:
        radial-gradient(circle at 50% 40%, #3a4654 0%, #2a3440 52%, #1e2832 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 28px rgba(255, 255, 255, 0.38),
        0 0 64px rgba(255, 255, 255, 0.16),
        0 18px 36px rgba(20, 28, 36, 0.22),
        inset 0 0 28px rgba(0, 0, 0, 0.2);
}

.dresscode-circle-label {
    position: absolute;
    left: 50%;
    bottom: 11%;
    z-index: 3;
    margin: 0;
    transform: translateX(-50%);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.68rem;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: rgba(242, 241, 239, 0.95);
    text-shadow:
        0 1px 2px rgba(10, 12, 14, 0.55),
        0 0 18px rgba(10, 12, 14, 0.45);
    pointer-events: none;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .dresscode-gallery-track {
        transition: none;
    }
}

.dresscode-note {
    position: relative;
    z-index: 1;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(32, 38, 44, 0.72);
    max-width: 26em;
    margin: 0 auto 1.35rem;
}

.dresscode .dresscode-diamond:last-child {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    background: rgba(40, 48, 54, 0.55);
    box-shadow: 0 0 12px rgba(40, 48, 54, 0.2);
    opacity: 0.75;
}

/* ============================================================
   Gifts
   ============================================================ */
.gifts .section-text {
    margin-top: 0.2rem;
}

/* ============================================================
   RSVP
   ============================================================ */
.rsvp .section-text {
    margin-bottom: 1.4rem;
}

.rsvp-date {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.75rem;
    letter-spacing: 0.28em;
    color: var(--white);
    margin-bottom: 1.8rem;
    text-shadow: 0 0 40px rgba(242, 241, 239, 0.14);
}

.btn-rsvp {
    appearance: none;
    border: 1px solid rgba(242, 241, 239, 0.24);
    background: rgba(242, 241, 239, 0.07);
    color: var(--white);
    font-family: 'Jost', sans-serif;
    font-size: 0.74rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 17px 44px;
    cursor: pointer;
    box-shadow:
        inset 0 0 32px rgba(242, 241, 239, 0.05),
        0 0 0 rgba(242, 241, 239, 0);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.btn-rsvp:hover {
    background: rgba(242, 241, 239, 0.12);
    border-color: rgba(242, 241, 239, 0.42);
    transform: none;
    box-shadow:
        inset 0 0 40px rgba(242, 241, 239, 0.08),
        0 0 40px rgba(242, 241, 239, 0.1);
}

.btn-rsvp:active {
    transform: none;
    background: rgba(242, 241, 239, 0.09);
}

/* ============================================================
   Coordinator + footer
   ============================================================ */
.coordinator-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 1.2rem;
}

.coordinator-role {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.footer {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid rgba(232, 231, 229, 0.12);
}

.footer p {
    margin-top: 1.6rem;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 720px) {
    .sheet-inner {
        padding-top: 52px;
        padding-bottom: 96px;
    }

    .section {
        padding: 56px 0;
    }

    .hero-venn {
        width: min(88vw, 440px);
    }

    .hero-names {
        font-size: 1.7rem;
        letter-spacing: 0.3em;
    }

    .hero-wedding-day {
        font-size: 1rem;
        letter-spacing: 0.5em;
        text-indent: 0.5em;
    }

    .hero-date {
        font-size: 1.55rem;
        letter-spacing: 0.3em;
    }

    .sheet {
        margin-inline: 0;
        width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 380px) {
    .sheet-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .location-orb--top {
        filter: blur(20px);
    }

    .location.is-expanded .location-orb--top {
        filter: blur(22px);
    }

    .location-orb--bridge {
        filter: blur(28px);
    }

    .location.is-expanded .location-orb--bridge {
        filter: blur(30px);
    }

    .location-orb--bottom {
        filter: blur(24px);
    }

    .location.is-expanded .location-orb--bottom {
        filter: blur(26px);
    }

    .location-orb--aura-top,
    .location-orb--aura {
        filter: blur(34px);
    }

    .location.is-expanded .location-orb--aura-top,
    .location.is-expanded .location-orb--aura {
        filter: blur(36px);
    }

    .dresscode-circle {
        width: min(84vw, 260px);
    }

    .dresscode-her-col {
        gap: 0.95rem;
    }

    .dresscode-palette {
        gap: 0.8rem;
        width: min(92vw, 340px);
    }

    .dresscode-swatch {
        max-width: 2.55rem;
    }

    .snake-node svg {
        width: 28px;
        height: 28px;
    }

    .snake-body .time {
        font-size: 1.05rem;
    }

    .snake-body .event {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }

    .countdown {
        gap: 4px;
    }
}

/* Fallback when backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .location-circle--bottom {
        background: rgba(30, 32, 34, 0.55);
    }

    .location.is-expanded .location-circle--bottom {
        background: transparent;
    }

    .date-strip {
        background: rgba(36, 38, 40, 0.55);
    }

    .snake-node {
        background: rgba(28, 30, 32, 0.6);
    }
}

/* ============================================================
   Silver mist art direction
   ============================================================ */
:root {
    --bg-deep: #8d98a3;
    --bg-mid: #b6c0c8;
    --azurite: #4d5b67;
    --mountain: #77848e;
    --contrail: #aab4bc;
    --silver: #d7e0e6;
    --dove: #edf2f5;
    --warm-glow: #f7fafc;
    --white: #f8fbfd;
    --text: #eef3f5;
    --text-soft: rgba(238, 243, 245, 0.78);
    --text-muted: rgba(232, 240, 244, 0.48);
    --glow: rgba(235, 245, 251, 0.72);
    --frost: rgba(231, 238, 243, 0.3);
}

body {
    color: var(--text);
    background: #1e2f42;
    text-rendering: geometricPrecision;
}

.page-bg {
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background:
        radial-gradient(ellipse 26% 68% at 50% -4%, rgba(255, 255, 255, 0.16), transparent 72%),
        radial-gradient(ellipse 40% 34% at 64% 40%, rgba(236, 244, 250, 0.2), transparent 68%),
        radial-gradient(ellipse 38% 32% at 16% 18%, rgba(186, 204, 222, 0.14), transparent 70%),
        radial-gradient(ellipse 48% 36% at 40% 74%, rgba(210, 226, 238, 0.12), transparent 72%),
        radial-gradient(ellipse 30% 26% at 88% 82%, rgba(168, 192, 214, 0.1), transparent 65%),
        linear-gradient(180deg, rgba(28, 46, 66, 0.22), rgba(18, 32, 48, 0.38)),
        url('images/bg-continuation.png') center top / 125% 125% no-repeat,
        #1e2f42;
    filter: none;
}

.hero-bg {
    filter: none;
}

.page-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 22% 58% at 50% -8%, rgba(255, 255, 255, 0.2), transparent 70%),
        radial-gradient(ellipse 58% 20% at 50% 70%, rgba(255, 236, 220, 0.09), transparent 72%);
    mix-blend-mode: screen;
    opacity: 0.55;
    filter: blur(52px);
    pointer-events: none;
}

.page-bg::after {
    content: none;
}

.page-bloom {
    display: block;
    position: absolute;
    inset: -8% 0 20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 24% 55% at 50% 0%, rgba(255, 255, 255, 0.16), transparent 72%),
        radial-gradient(ellipse 60% 22% at 50% 68%, rgba(255, 236, 220, 0.08), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.32;
    filter: blur(40px);
}

.paper-grain {
    opacity: 0.025;
    mix-blend-mode: soft-light;
}

.film-grain {
    opacity: 0.07;
    mix-blend-mode: soft-light;
}

.hero::before {
    content: none;
}

.hero-venn::before {
    content: '';
    position: absolute;
    inset: 4% 2%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 31%, rgba(61, 78, 91, 0.5), transparent 38%),
        radial-gradient(circle at 50% 68%, rgba(55, 73, 87, 0.5), transparent 39%);
    filter: blur(20px);
}

.hero-ring {
    mix-blend-mode: screen;
    opacity: 0.9;
    filter: blur(0.8px);
}

.hero-ring-halo {
    stroke: rgba(247, 251, 255, 0.5);
    stroke-width: 24;
    opacity: 0.75;
}

.hero-ring-edge {
    stroke: rgba(250, 253, 255, 0.88);
    stroke-width: 3.4;
    opacity: 1;
}

.hero-ring-edge--top {
    stroke: rgba(255, 255, 255, 0.94);
}

.hero-ring-edge--bottom {
    stroke: rgba(239, 247, 252, 0.8);
}

.hero-ring-core {
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.8;
    opacity: 0.9;
}

.hero-ring-core--top {
    stroke: rgba(255, 255, 255, 0.78);
}

.hero-ring-core--bottom {
    stroke: rgba(239, 247, 252, 0.62);
}

.hero-intersection-glow {
    fill: rgba(30, 47, 66, 0.5);
}

.hero-names,
.hero-wedding-day,
.hero-date {
    color: #fbfdff;
    text-transform: uppercase;
    text-shadow:
        0 0 22px rgba(255, 255, 255, 0.55),
        0 0 56px rgba(220, 238, 250, 0.4),
        0 1px 14px rgba(40, 54, 66, 0.45);
}

.hero-names {
    letter-spacing: 0.32em;
}

.hero-wedding-day {
    font-family: 'Forum', serif;
    font-weight: 400;
    font-size: clamp(0.76rem, 3.1vw, 0.95rem);
    width: 78%;
    max-width: none;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    overflow: visible;
}

.hero-date {
    letter-spacing: 0.3em;
}

.hero-cross {
    color: #f5f9fc;
}

.hero-scroll {
    border-color: rgba(246, 251, 255, 0.58);
    background: rgba(226, 236, 243, 0.08);
    box-shadow: 0 0 28px rgba(245, 251, 255, 0.22);
}

.sheet {
    margin-inline: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    box-shadow: none;
}

.sheet::before {
    opacity: 0.08;
    mix-blend-mode: soft-light;
}

.section + .section,
.footer {
    border-color: rgba(39, 54, 65, 0.14);
}

.section-label {
    color: var(--text-muted);
    letter-spacing: 0.5em;
}

.intro p.intro-greeting,
.intro strong,
.calendar-month,
.date-strip-day,
.location-kicker,
.snake-body .time,
.rsvp-date,
.coordinator-name,
.section-text strong {
    color: var(--white);
    text-shadow: 0 0 34px rgba(248, 252, 255, 0.34);
}

.intro p:not(.intro-greeting),
.section-text,
.location-note {
    color: var(--text-soft);
}

.quote-mark {
    color: rgba(245, 250, 253, 0.9);
    opacity: 0.7;
    text-shadow: 0 0 38px rgba(255, 255, 255, 0.58);
}

.quote blockquote {
    color: var(--dove);
}

.calendar-grid span {
    color: var(--text-soft);
}

.calendar-grid .is-active {
    color: #2a3842;
    background: rgba(246, 250, 252, 0.92);
    box-shadow: 0 0 25px rgba(248, 252, 255, 0.72);
}

@keyframes pulse-date {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 251, 255, 0.58); }
    50% { box-shadow: 0 0 0 12px rgba(245, 251, 255, 0); }
}

.date-strip {
    background: rgba(238, 244, 248, 0.24);
    border-color: rgba(248, 252, 255, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 0 40px rgba(248, 252, 255, 0.16);
}

.date-strip-month,
.date-strip-weekday {
    color: var(--dove);
}

.date-strip-month::after,
.date-strip-weekday::before {
    background: rgba(248, 252, 255, 0.22);
}

.location-circle--bottom {
    border-color: rgba(248, 252, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 0 0 1px rgba(248, 252, 255, 0.06),
        inset 0 0 24px rgba(255, 255, 255, 0.06);
}

.location.is-expanded .location-circle--bottom {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.location-photo-wrap {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.location.is-expanded .location-photo-wrap {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.84),
        0 0 0 2px rgba(133, 151, 164, 0.2),
        0 0 28px 8px rgba(255, 255, 255, 0.5),
        0 0 64px 20px rgba(235, 245, 255, 0.3);
}

.location-photo-wrap::before {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.22) 0%,
        transparent 70%
    );
}

.location-photo {
    background:
        linear-gradient(
            180deg,
            rgba(202, 216, 225, 0.18) 0%,
            rgba(68, 84, 96, 0.42) 100%
        ),
        url('images/location.jpg') center / cover no-repeat;
    background-blend-mode: soft-light, normal;
    filter: grayscale(0.76) saturate(0.38) contrast(0.86) brightness(1.08);
}

.btn-map,
.btn-rsvp {
    color: var(--white);
    border-color: rgba(249, 252, 254, 0.42);
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 28px rgba(243, 250, 253, 0.1);
}

.btn-map {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 36px rgba(45, 100, 180, 0.3);
}

.btn-map:hover,
.btn-rsvp:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.12),
        0 0 34px rgba(246, 251, 254, 0.22);
}

.btn-map:hover {
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.12),
        0 0 40px rgba(50, 110, 190, 0.4);
}

.snake-line {
    stroke: #fff;
    stroke-width: 5.5;
}

.snake-node {
    color: #fff;
    border-color: #fff;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
        0 0 8px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 42px rgba(255, 255, 255, 0.55),
        0 0 72px rgba(255, 255, 255, 0.28);
}

.snake-body .event,
.coordinator-role,
.footer p {
    color: var(--text-muted);
}

.snake-body .event {
    color: rgba(255, 255, 255, 0.85);
}

.icon-wrap,
.ornament {
    color: var(--contrail);
}

.dresscode {
    background: transparent;
}

.dresscode-note {
    color: rgba(28, 40, 50, 0.72);
}

.dresscode-circle--her {
    border-color: rgba(248, 252, 255, 0.52);
    box-shadow:
        0 0 0 1px rgba(248, 252, 255, 0.1),
        0 0 36px rgba(245, 251, 254, 0.36),
        0 0 80px rgba(245, 251, 254, 0.16),
        inset 0 0 40px rgba(248, 252, 255, 0.06);
}

.dresscode-circle--him {
    border-color: rgba(255, 255, 255, 0.55);
    background:
        radial-gradient(circle at 50% 40%, #405060 0%, #2e3c4a 52%, #22303c 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 28px rgba(255, 255, 255, 0.4),
        0 0 64px rgba(245, 251, 254, 0.18),
        0 18px 36px rgba(20, 28, 36, 0.22),
        inset 0 0 28px rgba(0, 0, 0, 0.2);
}

.dresscode-glow-halo {
    stroke: rgba(247, 251, 255, 0.32);
    stroke-width: 18;
    opacity: 0.45;
}

.dresscode-glow-edge {
    stroke: rgba(250, 253, 255, 0.55);
    stroke-width: 2.4;
    opacity: 0.55;
}

.dresscode-glow-core {
    stroke: rgba(255, 255, 255, 0.42);
    stroke-width: 1.2;
    opacity: 0.5;
}

.dresscode-circle--her .dresscode-glow-edge {
    stroke: rgba(255, 255, 255, 0.94);
}

.dresscode-circle--her .dresscode-glow-core {
    stroke: rgba(255, 255, 255, 0.78);
}

.dresscode-circle--him .dresscode-glow-edge {
    stroke: rgba(239, 247, 252, 0.8);
}

.dresscode-circle--him .dresscode-glow-core {
    stroke: rgba(239, 247, 252, 0.62);
}

@media (min-width: 720px) {
    .hero-venn {
        width: min(72vw, 540px);
    }
}

.btn-map:focus-visible,
.btn-rsvp:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.96);
    outline-offset: 4px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .location-circle--bottom,
    .date-strip,
    .snake-node {
        background: rgba(40, 52, 60, 0.55);
    }

    .location.is-expanded .location-circle--bottom {
        background: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .location-photo {
        filter: grayscale(0.76) saturate(0.38) contrast(0.86) brightness(1.08);
    }
}

/* ============================================================
   Moonlight editorial — final visual language
   Paint-only overrides: interaction and motion remain unchanged
   ============================================================ */
:root {
    --bg-deep: #6d7a85;
    --bg-mid: #98a5ae;
    --azurite: #4a5862;
    --mountain: #6f7d87;
    --contrail: #9aa7b0;
    --silver: #d4dde3;
    --dove: #e8eef1;
    --warm-glow: #f2f4f3;
    --white: #f5f7f6;
    --text: #eef3f5;
    --text-soft: rgba(238, 243, 245, 0.78);
    --text-muted: rgba(232, 240, 244, 0.48);
    --glow: rgba(232, 240, 244, 0.68);
    --frost: rgba(210, 220, 226, 0.26);
}

body {
    color: var(--text);
    background: #1e2f42;
    font-weight: 300;
    letter-spacing: 0.025em;
}

.page-bg {
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background:
        radial-gradient(ellipse 26% 68% at 50% -4%, rgba(255, 255, 255, 0.16), transparent 72%),
        radial-gradient(ellipse 40% 34% at 64% 40%, rgba(236, 244, 250, 0.2), transparent 68%),
        radial-gradient(ellipse 38% 32% at 16% 18%, rgba(186, 204, 222, 0.14), transparent 70%),
        radial-gradient(ellipse 48% 36% at 40% 74%, rgba(210, 226, 238, 0.12), transparent 72%),
        radial-gradient(ellipse 30% 26% at 88% 82%, rgba(168, 192, 214, 0.1), transparent 65%),
        linear-gradient(180deg, rgba(28, 46, 66, 0.22), rgba(18, 32, 48, 0.38)),
        url('images/bg-continuation.png') center top / 125% 125% no-repeat,
        #1e2f42;
    filter: none;
}

.hero-bg {
    filter: none;
}

.page-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 22% 58% at 50% -8%, rgba(255, 255, 255, 0.2), transparent 70%),
        radial-gradient(ellipse 58% 20% at 50% 70%, rgba(255, 236, 220, 0.09), transparent 72%);
    mix-blend-mode: screen;
    opacity: 0.55;
    filter: blur(52px);
    pointer-events: none;
}

.page-bg::after {
    content: none;
}

.page-bloom {
    display: block;
    position: absolute;
    inset: -8% 0 20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 24% 55% at 50% 0%, rgba(255, 255, 255, 0.16), transparent 72%),
        radial-gradient(ellipse 60% 22% at 50% 68%, rgba(255, 236, 220, 0.08), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.32;
    filter: blur(40px);
}

.paper-grain {
    opacity: 0.03;
    mix-blend-mode: soft-light;
    background-image:
        linear-gradient(
            180deg,
            rgba(236, 242, 246, 0.04) 0%,
            rgba(210, 222, 232, 0) 42%,
            rgba(30, 46, 66, 0.04) 100%
        ),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.35' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}

.film-grain {
    opacity: 0.03;
    mix-blend-mode: soft-light;
}

.hero::before {
    content: none;
}

.hero-venn::before {
    inset: -8% -14%;
    background:
        radial-gradient(ellipse 48% 22% at 50% 50%, rgba(30, 47, 66, 0.58) 0%, rgba(28, 46, 66, 0.32) 42%, transparent 74%),
        radial-gradient(circle at 50% 30%, rgba(42, 56, 68, 0.55) 0 10%, rgba(58, 74, 88, 0.38) 34%, transparent 58%),
        radial-gradient(circle at 50% 70%, rgba(36, 50, 62, 0.58) 0 10%, rgba(52, 68, 82, 0.4) 34%, transparent 58%);
    filter: blur(28px);
}

.hero-ring {
    mix-blend-mode: screen;
    opacity: 1;
    filter: none;
}

.hero-ring-halo {
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 26;
    opacity: 1;
}

.hero-ring-edge,
.hero-ring-edge--top,
.hero-ring-edge--bottom {
    stroke: #ffffff;
    stroke-width: 1.1;
    opacity: 1;
}

.hero-ring-core,
.hero-ring-core--top,
.hero-ring-core--bottom {
    stroke: #ffffff;
    stroke-width: 0.65;
    opacity: 1;
}

.hero-intersection-glow {
    fill: rgba(30, 47, 66, 0.55);
}

.hero-names,
.hero-wedding-day,
.hero-date {
    color: #ffffff;
    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.95),
        0 0 36px rgba(255, 255, 255, 0.7),
        0 0 72px rgba(210, 230, 245, 0.55),
        0 2px 16px rgba(10, 18, 26, 0.65);
}

.hero-names {
    font-weight: 400;
    letter-spacing: 0.36em;
}

.hero-wedding-day {
    font-family: 'Forum', serif;
    font-size: clamp(0.8rem, 3.2vw, 1rem);
    font-style: normal;
    font-weight: 550;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    text-transform: uppercase;
    width: 80%;
    max-width: none;
    overflow: visible;
    opacity: 1;
}

.hero-date {
    letter-spacing: 0.34em;
    font-size: clamp(1.25rem, 5vw, 1.6rem);
    font-weight: 400;
    color: #ffffff;
}

.hero-cross {
    color: #ffffff;
    opacity: 0.95;
}

.hero-scroll {
    border-color: rgba(232, 242, 246, 0.42);
    background: transparent;
    box-shadow: 0 0 30px rgba(220, 234, 240, 0.2);
}

.hero-scroll span {
    background: rgba(232, 242, 246, 0.8);
}

.sheet {
    margin-inline: 0;
    width: 100%;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    box-shadow: none;
}

.sheet::before {
    opacity: 0.07;
    mix-blend-mode: soft-light;
}

.sheet::after {
    content: none;
}

.section {
    padding-top: 68px;
    padding-bottom: 68px;
}

.section + .section,
.footer {
    border-color: rgba(232, 242, 246, 0.12);
}

.section-label {
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.52em;
}

.section-text,
.intro p:not(.intro-greeting),
.location-note {
    color: var(--text-soft);
}

.intro p.intro-greeting,
.intro strong,
.calendar-month,
.date-strip-day,
.location-kicker,
.snake-body .time,
.rsvp-date,
.coordinator-name,
.section-text strong {
    color: var(--white);
    font-weight: 300;
    text-shadow: 0 0 28px rgba(245, 251, 255, 0.35);
}

.intro p.intro-greeting {
    font-weight: 400;
    letter-spacing: 0.03em;
}

.quote-mark {
    color: rgba(246, 247, 243, 0.88);
    opacity: 0.72;
    text-shadow: 0 0 40px rgba(247, 248, 245, 0.78);
}

.quote blockquote {
    color: var(--dove);
    font-size: 1.48rem;
    letter-spacing: 0.055em;
}

.calendar-grid span {
    color: var(--text-soft);
}

.calendar-grid .is-active {
    color: #2a3842;
    background: rgba(245, 246, 243, 0.92);
    box-shadow:
        0 0 20px rgba(246, 248, 246, 0.55),
        0 0 48px rgba(235, 241, 242, 0.35);
}

.date-strip {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: rgba(247, 248, 245, 0.28);
    box-shadow:
        inset 0 0 26px rgba(247, 248, 245, 0.08),
        0 0 44px rgba(240, 244, 243, 0.12);
}

.date-strip-month,
.date-strip-weekday {
    color: var(--dove);
    font-weight: 400;
}

.date-strip-month::after,
.date-strip-weekday::before {
    background: rgba(247, 248, 245, 0.22);
}

.location-circle--bottom {
    border-color: rgba(245, 247, 245, 0.25);
    background: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 0 0 1px rgba(247, 248, 245, 0.06),
        inset 0 0 24px rgba(247, 248, 245, 0.05);
}

.location.is-expanded .location-circle--bottom {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.location-photo-wrap {
    box-shadow: 0 0 0 1px rgba(247, 248, 245, 0.3);
}

.location.is-expanded .location-photo-wrap {
    box-shadow:
        0 0 0 1px rgba(247, 248, 245, 0.7),
        0 0 28px 8px rgba(255, 255, 255, 0.5),
        0 0 64px 20px rgba(235, 245, 255, 0.3);
}

.location-photo-wrap::before {
    filter: blur(10px);
}

.location-photo {
    background:
        linear-gradient(180deg, rgba(214, 226, 232, 0.12), rgba(64, 80, 92, 0.34)),
        url('images/location.jpg') center / cover no-repeat;
    background-blend-mode: soft-light, normal;
    filter: grayscale(0.85) saturate(0.15) contrast(0.84) brightness(1.08);
}

.location-arc-text {
    fill: var(--white);
}

.btn-map,
.btn-rsvp {
    color: var(--white);
    border-color: rgba(247, 248, 245, 0.42);
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 0 28px rgba(247, 248, 245, 0.08),
        0 0 30px rgba(239, 244, 243, 0.12);
}

.btn-map {
    box-shadow:
        inset 0 0 28px rgba(247, 248, 245, 0.08),
        0 0 36px rgba(45, 100, 180, 0.3);
}

.btn-map:hover,
.btn-rsvp:hover {
    color: var(--white);
    border-color: rgba(249, 249, 246, 0.72);
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 0 32px rgba(250, 250, 247, 0.12),
        0 0 38px rgba(245, 247, 245, 0.28);
}

.btn-map:hover {
    box-shadow:
        inset 0 0 32px rgba(250, 250, 247, 0.12),
        0 0 40px rgba(50, 110, 190, 0.4);
}

.snake-line {
    stroke: #fff;
    stroke-width: 5.5;
}

.snake-node {
    color: #fff;
    border-color: #fff;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
        0 0 8px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 42px rgba(255, 255, 255, 0.55),
        0 0 72px rgba(255, 255, 255, 0.28);
}

.snake-body .event,
.coordinator-role,
.footer p {
    color: var(--text-muted);
}

.snake-body .event {
    color: rgba(255, 255, 255, 0.85);
}

.icon-wrap,
.ornament {
    color: var(--contrail);
}

.dresscode {
    background: transparent;
}

.dresscode-note {
    color: rgba(28, 36, 42, 0.72);
}

.dresscode-circle--her {
    border-color: rgba(247, 248, 245, 0.54);
    box-shadow:
        0 0 0 1px rgba(247, 248, 245, 0.1),
        0 0 36px rgba(239, 243, 242, 0.36),
        0 0 80px rgba(205, 216, 221, 0.16),
        inset 0 0 40px rgba(248, 248, 245, 0.06);
}

.dresscode-circle--him {
    border-color: rgba(255, 255, 255, 0.55);
    background:
        radial-gradient(circle at 50% 40%, #3c4a56 0%, #2c3844 52%, #1e2a34 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 28px rgba(255, 255, 255, 0.38),
        0 0 64px rgba(239, 243, 242, 0.16),
        0 18px 36px rgba(20, 28, 36, 0.22),
        inset 0 0 28px rgba(0, 0, 0, 0.2);
}

.dresscode-glow-halo {
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 20;
    opacity: 0.45;
}

.dresscode-glow-edge,
.dresscode-circle--her .dresscode-glow-edge,
.dresscode-circle--him .dresscode-glow-edge {
    stroke: rgba(255, 255, 255, 0.72);
    stroke-width: 1.1;
    opacity: 0.55;
}

.dresscode-glow-core,
.dresscode-circle--her .dresscode-glow-core,
.dresscode-circle--him .dresscode-glow-core {
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 0.65;
    opacity: 0.5;
}

.btn-map:focus-visible,
.btn-rsvp:focus-visible {
    outline-color: rgba(245, 251, 255, 0.72);
}

@media (min-width: 720px) {
    .section {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .location-circle--bottom,
    .date-strip,
    .snake-node {
        background-color: rgba(40, 52, 60, 0.55);
    }

    .location.is-expanded .location-circle--bottom {
        background: transparent;
        background-color: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .location-photo {
        filter: grayscale(0.85) saturate(0.15) contrast(0.84) brightness(1.08);
    }
}
