:root {
    --ivory: #F7F1E7;
    --cream: #EFE5D3;
    --paper: #FBF8F2;
    --gold: #B08D57;
    --gold-deep: #8C6A36;
    --gold-soft: rgba(176, 141, 87, .35);
    --evergreen: #1E3A2B;
    --evergreen-deep: #152A1F;
    --text: #4A4238;
    --serif: "EB Garamond", Georgia, serif;
    --script: "Great Vibes", "EB Garamond", cursive;
    --sans: "Manrope", system-ui, sans-serif;
    --snowflake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17l17.4-10M12 5.5 9.8 3.3M12 5.5l2.2-2.2M12 18.5l-2.2 2.2M12 18.5l2.2 2.2'/%3E%3C/svg%3E");
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--serif);
    font-size: 1.125rem;
    background: var(--ivory);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    transition: background-color .4s ease, box-shadow .4s ease;
}

.site-header.scrolled {
    background: rgba(247, 241, 231, .92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--gold-soft);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--gold-deep);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-logo span,
.amp {
    font-style: italic;
    color: var(--gold);
}

.nav-menu {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-menu a {
    font-family: var(--sans);
    color: var(--evergreen);
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color .3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--gold-deep);
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: 2px;
    color: var(--gold);
}

.lang-switch button {
    background: none;
    border: 0;
    font: inherit;
    letter-spacing: inherit;
    color: var(--evergreen);
    opacity: .55;
    cursor: pointer;
    padding: 6px 2px;
}

.lang-switch button[aria-pressed="true"] {
    opacity: 1;
    color: var(--gold-deep);
    font-weight: 500;
}

.music-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--paper);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--gold-deep);
}

.music-btn[hidden] {
    display: none;
}

.music-btn svg,
.map-link svg,
.copy-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.music-btn[aria-pressed="true"] {
    background: var(--gold);
    color: var(--paper);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    50% { box-shadow: 0 0 0 6px rgba(176, 141, 87, .18); }
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--evergreen);
    transition: transform .3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type {
    transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type {
    transform: translateY(-4.25px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse 55% 50% at 40% 45%, rgba(251, 248, 242, .9) 0%, rgba(251, 248, 242, .55) 55%, rgba(251, 248, 242, 0) 100%),
        linear-gradient(180deg, rgba(247, 241, 231, 0) 70%, var(--ivory) 100%),
        url("../assets/photos/hero-castle.png") center / cover no-repeat;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.snow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    animation: fadeUp 1.4s ease both;
}

.eyebrow {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 12px;
    text-align: center;
    font-weight: 500;
}

.hero h1 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3.4rem, 9vw, 6.8rem);
    line-height: 1.02;
    color: var(--gold-deep);
    text-shadow: 0 1px 18px rgba(251, 248, 242, .9);
}

.hero h1 .amp {
    display: block;
    font-size: .6em;
    margin: 4px 0;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 26px auto;
    max-width: 240px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.divider::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.divider span {
    width: 18px;
    height: 18px;
    background: var(--gold);
    -webkit-mask: var(--snowflake) center / contain no-repeat;
    mask: var(--snowflake) center / contain no-repeat;
}

.date {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: 6px;
    color: var(--evergreen);
}

.tagline {
    font-style: italic;
    font-size: 1.3rem;
    margin-top: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    padding: 15px 34px;
    border-radius: 999px;
    background: var(--evergreen);
    color: var(--ivory);
    border: 1px solid var(--gold);
    box-shadow: 0 8px 24px rgba(30, 58, 43, .22), inset 0 0 0 3px var(--evergreen), inset 0 0 0 4px rgba(176, 141, 87, .5);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background-color .3s ease, transform .3s ease;
}

.btn::after {
    content: "";
    width: 16px;
    height: 16px;
    background: var(--gold);
    -webkit-mask: var(--snowflake) center / contain no-repeat;
    mask: var(--snowflake) center / contain no-repeat;
}

.btn:hover,
.btn:focus-visible {
    background: var(--evergreen-deep);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 110px 20px;
}

section.alt {
    background: var(--cream);
}

.section-title {
    font-family: var(--serif);
    font-weight: 400;
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--evergreen);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 48px;
}

.section-title.align-left,
.story-text .eyebrow {
    text-align: left;
}

.section-title.align-left {
    margin-bottom: 24px;
}

/* Countdown */
.countdown-section {
    background: var(--cream);
    position: relative;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}

.count-card {
    background: var(--paper);
    border: 1px solid var(--gold-soft);
    border-radius: 16px;
    padding: 30px 16px;
    text-align: center;
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--evergreen);
    box-shadow: 0 10px 30px rgba(140, 106, 54, .08);
}

.count-card span {
    display: block;
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6vw, 3.8rem);
    line-height: 1.1;
    color: var(--gold-deep);
    letter-spacing: 0;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.countdown-done {
    text-align: center;
    font-style: italic;
    font-size: 2rem;
    color: var(--gold-deep);
}

/* Story */
.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.story-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 200px 200px 16px 16px;
    border: 1px solid var(--gold);
    padding: 8px;
    background: var(--paper);
    box-shadow: 0 20px 50px rgba(140, 106, 54, .15);
}

.story-text p {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.muted {
    opacity: .6;
    font-style: italic;
}

/* Cards */
.card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--paper);
    padding: 64px 40px;
    text-align: center;
    border: 1px solid var(--gold-soft);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(140, 106, 54, .1);
}

.card::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    width: 170px;
    height: 170px;
    background: url("../assets/photos/pine-corner.png") top left / 240px no-repeat;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(176, 141, 87, .2);
    border-radius: 14px;
    pointer-events: none;
}

.card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--evergreen);
    margin-bottom: 8px;
}

.card p {
    position: relative;
}

.card-day,
.card-time {
    font-family: var(--sans);
    font-size: .8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.card-date {
    font-size: clamp(2.2rem, 5vw, 3rem);
    letter-spacing: 4px;
    color: var(--evergreen);
    line-height: 1.2;
}

.card-time {
    font-family: var(--serif);
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: var(--evergreen);
    margin-bottom: 4px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--gold-soft);
    background: var(--ivory);
    color: var(--evergreen);
    text-decoration: none;
    font-family: var(--sans);
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: border-color .3s ease;
}

.map-link svg {
    color: var(--gold-deep);
}

.map-link:hover,
.map-link:focus-visible {
    border-color: var(--gold);
}

.btn {
    cursor: pointer;
}

.btn-outline {
    background: var(--paper);
    color: var(--evergreen);
    box-shadow: 0 6px 18px rgba(140, 106, 54, .1);
}

.btn-outline::after {
    display: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--ivory);
}

.btn-small {
    margin-top: 18px;
    padding: 11px 26px;
    font-size: .9rem;
}

.btn:disabled {
    opacity: .6;
    cursor: wait;
}

.rsvp-deadline {
    font-size: 1.25rem;
    color: var(--evergreen);
}

.rsvp-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 8px 0 32px;
    position: relative;
}

.rsvp-actions .btn {
    margin-top: 12px;
    min-width: 280px;
    justify-content: center;
}

.rsvp-actions .btn + .btn {
    margin-top: 0;
}

#rsvp .card h3 {
    margin-top: 12px;
}

/* Gallery */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    flex: 1 1 280px;
    max-width: 420px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gold-soft);
    padding: 8px;
    background: var(--paper);
    box-shadow: 0 16px 40px rgba(140, 106, 54, .1);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-note {
    text-align: center;
    font-style: italic;
    margin-top: 28px;
    color: var(--gold-deep);
}

/* Modals */
.modal {
    margin: auto;
    width: min(460px, 92vw);
    max-height: 92vh;
    border: 1px solid var(--gold-soft);
    border-radius: 22px;
    background: var(--paper);
    color: var(--text);
    padding: 44px 32px 32px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(21, 42, 31, .25);
}

.modal::backdrop {
    background: rgba(40, 34, 26, .45);
    backdrop-filter: blur(4px);
}

.modal[open] {
    animation: fadeUp .4s ease both;
}

.modal h2 {
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--evergreen);
    line-height: 1.2;
}

.modal-sub {
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gold-soft);
    background: var(--ivory);
    color: var(--evergreen);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.rsvp-form h2,
.rsvp-form .modal-sub {
    text-align: center;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.field input,
.field textarea {
    font-family: var(--serif);
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text);
    background: var(--ivory);
    border: 1px solid var(--gold-soft);
    border-radius: 10px;
    padding: 10px 14px;
    resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.guests {
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.guests[hidden] {
    display: none;
}

.guests legend {
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stepper > span {
    flex: 1;
}

.stepper button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--paper);
    color: var(--evergreen);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.stepper output {
    min-width: 24px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--evergreen);
    font-variant-numeric: tabular-nums;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.form-status,
.copy-status {
    min-height: 1.4em;
    text-align: center;
    font-style: italic;
    color: #9B3D2E;
}

.copy-status {
    color: var(--evergreen);
}

.rsvp-form .btn {
    margin-top: 0;
    align-self: center;
    min-width: 220px;
    justify-content: center;
}

.rsvp-thanks .btn {
    margin-top: 24px;
}

.iban-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--cream);
    border: 1px solid var(--gold-soft);
    border-radius: 12px;
    padding: 14px 16px;
}

.iban-box code {
    font-family: var(--serif);
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--evergreen);
    text-align: left;
    word-break: break-word;
}

.copy-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--gold-soft);
    background: var(--paper);
    color: var(--gold-deep);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.iban-holder {
    margin-top: 8px;
    color: var(--evergreen);
}

.iban-thanks {
    font-style: italic;
    font-size: 1.3rem;
    margin-top: 16px;
    color: var(--gold-deep);
}

/* Envelope intro */
body.intro-open {
    overflow: hidden;
}

.intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(247, 241, 231, .55), rgba(247, 241, 231, .92)),
        url("../assets/photos/hero-castle.png") center / cover no-repeat;
    transition: opacity .7s ease, visibility .7s;
    overflow: hidden;
}

.intro.gone {
    opacity: 0;
    visibility: hidden;
}

.intro-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.intro-names {
    font-family: var(--script);
    font-size: clamp(3rem, 8vw, 4.6rem);
    line-height: 1.1;
    color: var(--gold-deep);
    text-shadow: 0 1px 16px rgba(251, 248, 242, .9);
}

.intro-names .amp {
    font-family: var(--script);
}

.intro-date {
    letter-spacing: 6px;
    font-size: 1.3rem;
    color: var(--evergreen);
    margin: 4px 0 28px;
}

.envelope {
    position: relative;
    width: min(360px, 82vw);
    aspect-ratio: 3 / 2;
    perspective: 900px;
}

.envelope-body {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background:
        linear-gradient(155deg, transparent 49.5%, rgba(176, 141, 87, .25) 50%, transparent 51%),
        linear-gradient(205deg, transparent 49.5%, rgba(176, 141, 87, .25) 50%, transparent 51%),
        linear-gradient(180deg, #FBF7EF, #EFE5D3);
    border: 1px solid rgba(176, 141, 87, .4);
    box-shadow: 0 24px 50px rgba(140, 106, 54, .22);
}

.envelope-flap {
    position: absolute;
    inset: 0 0 38% 0;
    z-index: 2;
    background: linear-gradient(180deg, #F4ECDD, #E9DDC6);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top center;
    transition: transform 1s ease;
    filter: drop-shadow(0 4px 6px rgba(140, 106, 54, .15));
}

.intro.opening .envelope-flap {
    transform: rotateX(180deg);
    z-index: 0;
}

.seal {
    position: relative;
    z-index: 3;
    width: 104px;
    height: 104px;
    margin-top: -128px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background:
        radial-gradient(circle at 35% 30%, #F1DDA6 0%, #C9A45F 38%, #A07A3A 70%, #7D5C27 100%);
    box-shadow:
        0 10px 24px rgba(125, 92, 39, .45),
        inset 0 0 0 6px rgba(125, 92, 39, .35),
        inset 0 0 0 9px rgba(241, 221, 166, .35);
    display: grid;
    place-items: center;
    transition: transform .6s ease, opacity .6s ease;
    animation: sealGlow 2.6s ease-in-out infinite;
}

.seal:focus-visible {
    outline: 2px solid var(--evergreen);
    outline-offset: 6px;
}

.seal-monogram {
    font-family: var(--script);
    font-size: 2.2rem;
    color: #FBF3DC;
    text-shadow: 0 1px 1px rgba(90, 64, 24, .6);
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.seal-monogram span {
    font-size: 1.3rem;
}

.intro.opening .seal {
    transform: scale(.6) translateY(-20px);
    opacity: 0;
    animation: none;
}

@keyframes sealGlow {
    50% { box-shadow: 0 10px 30px rgba(201, 164, 95, .7), inset 0 0 0 6px rgba(125, 92, 39, .35), inset 0 0 0 9px rgba(241, 221, 166, .35); transform: scale(1.03); }
}

.intro-hint {
    margin-top: 72px;
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--evergreen);
    line-height: 1.9;
}

/* Finale */
.finale {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 110px 20px 64px;
    background:
        linear-gradient(180deg, var(--ivory) 0%, rgba(247, 241, 231, .6) 22%, rgba(247, 241, 231, 0) 45%, rgba(247, 241, 231, 0) 70%, rgba(247, 241, 231, .85) 100%),
        url("../assets/photos/lantern-path.png") center / cover no-repeat;
}

.finale-quote {
    font-family: var(--script);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.2;
    color: var(--gold-deep);
    text-shadow: 0 1px 14px rgba(251, 248, 242, .9);
}

.finale-sign {
    color: var(--gold-deep);
}

.footer-names {
    font-style: italic;
    font-size: 2.4rem;
    line-height: 1.2;
}

.finale-sign .date {
    font-size: 1.1rem;
    letter-spacing: 5px;
}

.divider.small {
    margin: 12px auto;
    max-width: 160px;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-content,
    .seal,
    .music-btn[aria-pressed="true"],
    .modal[open] { animation: none; }
    .envelope-flap { transition: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile */
@media (max-width: 820px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        inset: 72px 0 auto 0;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 32px 0 40px;
        background: rgba(247, 241, 231, .98);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .hero {
        background-position: 70% center;
    }

    .story {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .story-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .section-title.align-left,
    .story-text .eyebrow,
    .story-text {
        text-align: center;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    section {
        padding: 80px 16px;
    }

    .card {
        padding: 72px 24px 48px;
    }

    .card::before {
        width: 120px;
        height: 120px;
        background-size: 170px;
    }

    .nav-tools {
        gap: 10px;
    }

    .rsvp-actions .btn {
        min-width: 0;
        width: 100%;
    }

    .modal {
        padding: 44px 20px 24px;
    }
}
