:root {
    --void: #07080d;
    --midnight: #111522;
    --ink: #16131b;
    --ivory: #fff7ea;
    --soft: rgba(255, 247, 234, 0.82);
    --gold: #d9b76f;
    --rose: #c77b8f;
    --plum: #3a2136;
    --blue: #7aa7d9;
    --line: rgba(255, 247, 234, 0.18);
    --dark-line: rgba(22, 19, 27, 0.18);
    --shadow: 0 32px 100px rgba(7, 8, 13, 0.36);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: 96px; }
body {
    margin: 0;
    color: var(--ivory);
    background:
        radial-gradient(circle at 22% 12%, rgba(199,123,143,.28), transparent 26%),
        radial-gradient(circle at 78% 4%, rgba(122,167,217,.22), transparent 30%),
        radial-gradient(circle at 50% 86%, rgba(217,183,111,.16), transparent 28%),
        linear-gradient(145deg, #07080d 0%, #151827 48%, #2b1b2c 100%);
    font-family: Avenir Next, Inter, Segoe UI, Verdana, sans-serif;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.starfield, .silk-noise { position: fixed; inset: 0; pointer-events: none; }
.starfield { z-index: 1; width: 100vw; height: 100vh; opacity: .9; }
.silk-noise {
    z-index: 2;
    opacity: .15;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.72' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}
.vogue-nav {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 50;
    width: min(660px, calc(100vw - 18px));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    padding: 5px;
    border: 1px solid rgba(255,247,234,.24);
    background: rgba(7,8,13,.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 70px rgba(7,8,13,.42);
}
.vogue-nav a {
    min-height: 42px;
    display: grid;
    place-items: center;
    color: rgba(255,247,234,.74);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.vogue-nav a.is-active,
.vogue-nav a:hover { background: var(--gold); color: #111017; }
.vogue-shell {
    position: relative;
    z-index: 3;
    width: min(1360px, calc(100vw - 24px));
    margin: 0 auto;
    padding: 12px 0 calc(100px + env(safe-area-inset-bottom));
}
.vogue-hero {
    min-height: calc(100vh - 24px);
    display: grid;
    grid-template-columns: minmax(320px, .76fr) minmax(460px, 1.24fr);
    gap: 12px;
}
.hero-editorial,
.cosmic-stage,
.constellation-story,
.evening-section,
.editorial-gallery,
.rsvp-celestial,
.vogue-footer {
    border: 1px solid var(--line);
    background: rgba(255,247,234,.08);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.hero-editorial {
    min-height: 640px;
    display: grid;
    align-content: center;
    padding: clamp(24px, 5vw, 72px);
    position: relative;
    overflow: hidden;
}
.hero-editorial::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(217,183,111,.38);
    border-radius: 999px 999px 18px 18px;
    pointer-events: none;
}
.hero-editorial::after {
    content: "I DO";
    position: absolute;
    right: -10px;
    bottom: 20px;
    color: rgba(255,247,234,.055);
    font-size: clamp(110px, 16vw, 230px);
    font-weight: 950;
    letter-spacing: .02em;
}
.vogue-label {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-family: Georgia, Times New Roman, serif; font-weight: 500; letter-spacing: 0; }
.hero-editorial h1 {
    max-width: 9.2ch;
    font-size: clamp(56px, 8vw, 126px);
    line-height: .88;
    position: relative;
    z-index: 1;
}
.origin-lead,
.section-heading p,
.rsvp-intro p,
.vogue-footer p,
.story-window p,
.ritual-card p,
.couture-note p,
.rsvp-meta span {
    color: rgba(255,247,234,.68);
    font-size: 16px;
    line-height: 1.68;
}
.origin-lead { max-width: 620px; margin: 24px 0 0; position: relative; z-index: 1; }
.origin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; position: relative; z-index: 1; }
.vogue-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,247,234,.34);
    background: rgba(255,247,234,.08);
    color: var(--ivory);
    padding: 0 18px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.vogue-button.primary { background: var(--gold); color: #111017; border-color: var(--gold); }
.cosmic-stage {
    min-height: 760px;
    position: relative;
    overflow: hidden;
    background: #07080d;
}
.hero-image {
    position: absolute;
    inset: 0;
    background: center / cover no-repeat;
    filter: saturate(1.02) contrast(1.05);
    transform: scale(1.02);
}
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 46% 28%, transparent 0 25%, rgba(7,8,13,.22) 48%, rgba(7,8,13,.82) 100%),
        linear-gradient(180deg, rgba(7,8,13,.02), rgba(7,8,13,.72));
}
.moon-orbit {
    position: absolute;
    inset: 9%;
    border: 1px solid rgba(217,183,111,.34);
    border-radius: 50%;
    transform: rotate(-18deg);
}
.monogram-orb {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 168px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid rgba(217,183,111,.56);
    border-radius: 50%;
    background: rgba(7,8,13,.48);
    backdrop-filter: blur(10px);
}
.monogram-orb small,
.event-panel small,
.countdown-panel span,
.countdown-panel small,
.story-kicker,
.ritual-time,
.gallery-card span,
.couture-note span {
    display: block;
    color: rgba(255,247,234,.62);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-style: normal;
}
.monogram-orb i { color: var(--gold); font: normal 500 48px/1 Georgia, Times New Roman, serif; }
.couple-panel {
    position: absolute;
    left: clamp(20px, 4vw, 54px);
    bottom: clamp(28px, 5vw, 70px);
    display: grid;
    gap: 0;
    text-shadow: 0 18px 50px rgba(7,8,13,.5);
}
.couple-panel span { font: 500 clamp(54px, 7vw, 112px)/.82 Georgia, Times New Roman, serif; }
.couple-panel em { color: var(--gold); font: italic 36px/1 Georgia, Times New Roman, serif; margin: 10px 0; }
.event-panel {
    position: absolute;
    left: 28px;
    top: 28px;
    width: min(380px, calc(100% - 224px));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid rgba(255,247,234,.18);
    background: rgba(7,8,13,.46);
    backdrop-filter: blur(10px);
}
.event-panel p { margin: 0; padding: 14px; border-right: 1px solid rgba(255,247,234,.12); }
.event-panel p:last-child { border-right: 0; }
.event-panel strong { display: block; color: var(--ivory); margin-top: 8px; font-size: 14px; }
.countdown-panel {
    position: absolute;
    right: 28px;
    bottom: 28px;
    width: 178px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(217,183,111,.42);
    background: rgba(7,8,13,.62);
    backdrop-filter: blur(10px);
}
.countdown-panel strong { display: block; color: var(--gold); font-size: 58px; line-height: .82; }
.constellation-story,
.evening-section,
.editorial-gallery,
.rsvp-celestial { margin-top: 12px; padding: clamp(22px, 4vw, 50px); }
.section-heading { max-width: 790px; }
.section-heading h2,
.evening-head h2,
.rsvp-intro h2 { font-size: clamp(40px, 5vw, 82px); line-height: .96; }
.constellation-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.story-window {
    min-height: 260px;
    padding: 24px;
    border: 1px solid rgba(255,247,234,.14);
    background: linear-gradient(180deg, rgba(255,247,234,.12), rgba(255,247,234,.05));
    position: relative;
    overflow: hidden;
}
.story-window::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 18px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(217,183,111,.35);
    border-radius: 50%;
}
.story-kicker { color: var(--gold); }
.story-window h3,
.ritual-card h3 { margin-top: 18px; font-size: 28px; line-height: 1.05; }
.evening-section {
    display: grid;
    grid-template-columns: minmax(270px, .65fr) minmax(430px, 1.35fr);
    gap: 12px;
    align-items: start;
}
.evening-head,
.couture-note {
    border: 1px solid rgba(255,247,234,.14);
    background: rgba(255,247,234,.08);
    padding: 24px;
}
.orbit-timeline { display: grid; gap: 8px; }
.ritual-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    padding: 19px;
    border: 1px solid rgba(255,247,234,.14);
    background: rgba(7,8,13,.42);
}
.ritual-time { color: var(--gold); font-size: 20px; letter-spacing: 0; text-transform: none; }
.ritual-card p { margin-bottom: 0; }
.couture-note { grid-column: 1 / 2; }
.couture-note span { color: var(--gold); }
.couture-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1.15fr .85fr 1fr;
    grid-auto-rows: 260px;
    gap: 10px;
}
.gallery-card {
    position: relative;
    border: 1px solid rgba(255,247,234,.16);
    background: center / cover no-repeat;
    cursor: pointer;
    overflow: hidden;
    min-height: 260px;
}
.gallery-card:first-child { grid-row: span 2; }
.gallery-card:nth-child(4) { grid-column: span 2; }
.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(7,8,13,.76));
}
.gallery-card span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    color: var(--ivory);
}
.rsvp-celestial {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 12px;
}
.rsvp-intro,
.rsvp-form {
    border: 1px solid rgba(255,247,234,.16);
    background: rgba(7,8,13,.38);
    padding: clamp(20px, 4vw, 44px);
}
.rsvp-meta { display: grid; gap: 8px; margin-top: 20px; }
.rsvp-meta strong { color: var(--gold); }
.rsvp-form { display: grid; gap: 12px; }
.rsvp-form label { display: grid; gap: 7px; color: rgba(255,247,234,.82); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    border: 1px solid rgba(255,247,234,.24);
    background: rgba(255,247,234,.94);
    color: #15121a;
    padding: 13px 14px;
    outline: none;
}
.rsvp-form textarea { resize: vertical; min-height: 116px; }
.vogue-footer {
    margin-top: 12px;
    min-height: 200px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
}
.vogue-footer p { margin: 0 0 10px; }
.vogue-footer strong { color: var(--gold); }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(7,8,13,.82);
}
.lightbox.is-open { display: grid; }
.lightbox-close {
    position: fixed;
    right: 18px;
    top: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,247,234,.36);
    background: var(--gold);
    color: #111017;
    cursor: pointer;
    font-weight: 900;
}
.lightbox-panel { width: min(960px, 92vw); border: 1px solid rgba(255,247,234,.22); background: rgba(7,8,13,.74); box-shadow: var(--shadow); padding: 10px; }
#lightboxImage { min-height: min(70vh, 690px); background: center / cover no-repeat; }
#lightboxCaption { margin: 12px 2px 2px; color: var(--ivory); font-weight: 800; }
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(80px + env(safe-area-inset-bottom));
    z-index: 100;
    transform: translate(-50%, 18px);
    opacity: 0;
    pointer-events: none;
    background: var(--gold);
    color: #111017;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 850;
    transition: .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
    .vogue-shell { width: min(100% - 16px, 740px); padding-top: 8px; }
    .vogue-hero,
    .evening-section,
    .rsvp-celestial { grid-template-columns: 1fr; }
    .hero-editorial { min-height: 520px; }
    .cosmic-stage { min-height: 660px; }
    .event-panel { width: auto; right: 28px; grid-template-columns: 1fr; }
    .constellation-grid,
    .couture-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .gallery-card,
    .gallery-card:first-child,
    .gallery-card:nth-child(4) { min-height: 300px; grid-row: auto; grid-column: auto; }
    .couture-note { grid-column: auto; }
}
@media (max-width: 540px) {
    .hero-editorial h1 { font-size: 48px; }
    .couple-panel span { font-size: 48px; }
    .event-panel { position: absolute; left: 14px; right: 14px; top: 14px; }
    .monogram-orb { top: auto; right: 18px; bottom: 210px; width: 128px; }
    .countdown-panel { right: 18px; bottom: 18px; width: 152px; }
    .vogue-nav { width: calc(100vw - 10px); }
    .vogue-nav a { min-height: 40px; font-size: 9px; letter-spacing: .06em; }
    .ritual-card { grid-template-columns: 1fr; }
}
