:root {
    --ink: #11110f;
    --paper: #fbfaf7;
    --gold: #c8a97e;
    --footer-dark: #1e231f;
    --hero-height: 100svh;
    --hero-progress: 0;
    --hero-blur: 0px;
}

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

html {
    background: var(--paper);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

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

button {
    color: inherit;
    font: inherit;
}

img {
    display: block;
    width: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

::selection {
    background: #c8a97e;
    color: #111;
}

::-moz-selection {
    background: #c8a97e;
    color: #111;
}

.wedding-stage {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    height: var(--hero-height);
    min-height: 82px;
    overflow: hidden;
    background: #171510;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    contain: layout paint;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: height;
}

.wedding-stage__media,
.wedding-stage__image,
.wedding-stage__veil {
    position: absolute;
    inset: 0;
}

.wedding-stage__media {
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.wedding-stage__image {
    height: 100%;
    object-fit: cover;
    filter: blur(var(--hero-blur));
    will-change: transform, filter, opacity;
}

.wedding-stage__image--base {
    object-position: 50% 63%;
    transform: scale(calc(1.03 + var(--hero-progress) * 0.06));
}

.wedding-stage__image--echo {
    top: 4vh;
    right: auto;
    bottom: auto;
    left: 5vw;
    width: min(58vw, 1060px);
    height: 76%;
    object-position: 37% 65%;
    opacity: clamp(0, calc(0.34 - var(--hero-progress) * 0.46), 0.34);
    mix-blend-mode: screen;
    transform: scale(calc(1.06 + var(--hero-progress) * 0.08));
    transform-origin: 28% 64%;
}

.wedding-stage__veil {
    background:
        linear-gradient(180deg, rgba(7, 7, 5, 0.1), transparent 38%),
        linear-gradient(0deg, rgba(8, 7, 5, 0.64), transparent 48%),
        rgba(200, 169, 126, 0.08);
    opacity: clamp(0.46, calc(0.46 - var(--hero-progress) * 0.18), 0.46);
}

.wedding-stage__title-wrap {
    position: absolute;
    right: clamp(20px, 2vw, 38px);
    bottom: 0;
    left: clamp(20px, 2vw, 38px);
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    color: #fff;
    opacity: clamp(0, calc(1 - var(--hero-progress) * 1.4), 1);
    transform: translateY(calc(var(--hero-progress) * 54px));
    will-change: opacity, transform;
}

.wedding-stage__title-wrap h1 {
    display: flex;
    overflow: hidden;
    font-size: clamp(6rem, 16.5vw, 18rem);
    font-weight: 500;
    line-height: 0.72;
    letter-spacing: -0.09em;
}

.wedding-stage__title-wrap h1 > span {
    display: inline-block;
    opacity: 0;
    transform: translateY(112%) rotate(2deg);
    transform-origin: 50% 100%;
    animation: wedding-title-letter-in 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.12s + var(--letter-index) * 0.075s);
    will-change: opacity, transform;
}

.wedding-stage__monogram {
    position: absolute;
    right: clamp(20px, 2vw, 38px);
    bottom: clamp(17px, 2.2vw, 34px);
    z-index: 4;
    overflow: hidden;
    padding-bottom: 0.3em;
    color: #fff;
    font-size: clamp(1.05rem, 1.65vw, 2.2rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.035em;
    white-space: nowrap;
    opacity: clamp(0, calc(1 - var(--hero-progress) * 1.4), 1);
    transform: translateY(calc(var(--hero-progress) * 54px));
    will-change: opacity, transform;
}

.wedding-stage__monogram > span {
    display: block;
    opacity: 0;
    transform: translateY(115%);
    animation: wedding-signature-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.68s forwards;
    will-change: opacity, transform;
}

.wedding-stage__monogram::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: clamp(2px, 0.25vw, 5px);
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    animation: wedding-signature-line-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.92s forwards;
}

@keyframes wedding-title-letter-in {
    0% {
        opacity: 0;
        transform: translateY(112%) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

@keyframes wedding-signature-in {
    0% {
        opacity: 0;
        transform: translateY(115%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wedding-signature-line-in {
    100% {
        transform: scaleX(1);
    }
}

.wedding-stage__hint {
    position: absolute;
    top: 50%;
    right: 22px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    opacity: clamp(0, calc(0.78 - var(--hero-progress) * 2), 0.78);
    transform: translateY(-50%);
}

.navbar {
    position: fixed;
    top: 82px;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 90px;
    padding: 0 clamp(22px, 5vw, 76px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(155px, 18vw, 260px) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(18px, 3vw, 46px);
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 34px rgba(17, 17, 15, 0.05);
    transform: translate3d(0, calc(var(--hero-height) - 82px), 0);
    backface-visibility: hidden;
    will-change: transform;
}

.nav-links {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.8vw, 40px);
    list-style: none;
}

.nav-links:first-of-type {
    justify-self: end;
}

.nav-links:last-of-type {
    justify-self: start;
}

.nav-links a {
    color: #111;
    font-family: Inter, sans-serif;
    font-size: clamp(9px, 0.8vw, 11px);
    letter-spacing: clamp(2px, 0.24vw, 3px);
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #b89a7a;
}

.nav-logo {
    width: 100%;
    height: 64px;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-toggle,
.mobile-menu {
    display: none;
}

.wedding-scroll-space {
    height: 100svh;
}

.wedding-intro {
    --intro-stack-height: 90px;
    position: relative;
    z-index: 1;
    height: 430svh;
    padding: 0 24px;
    background: var(--paper);
    text-align: center;
}

.wedding-intro__sticky {
    position: sticky;
    top: var(--intro-stack-height);
    width: 100%;
    height: calc(100svh - var(--intro-stack-height));
    min-height: 500px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.wedding-intro__story-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: url("../photos/photo1.jpg") 58% center / cover no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transform-origin: center;
    will-change: opacity, transform;
}

.wedding-intro__story-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 20, 17, .92) 0%, rgba(16, 20, 17, .84) 38%, rgba(16, 20, 17, .54) 68%, rgba(16, 20, 17, .42) 100%),
        linear-gradient(180deg, rgba(8, 10, 9, .18), rgba(8, 10, 9, .38));
}

.wedding-intro__headline {
    --headline-center-offset: clamp(24px, 3.2vw, 58px);
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    z-index: 2;
    width: min(calc(100% - 48px), 1400px);
    margin-right: auto;
    margin-left: auto;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(3rem, 7vw, 7.8rem);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.075em;
    text-align: left;
    transform: translate3d(var(--headline-center-offset), -50%, 0);
    will-change: transform, opacity;
}

.wedding-intro__headline-row {
    width: 100%;
    display: grid;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.wedding-intro__headline-row--one,
.wedding-intro__headline-row--three {
    transform: translate3d(clamp(-160px, -10vw, -70px), 0, 0);
}

.wedding-intro__headline-row--two {
    transform: translate3d(clamp(70px, 10vw, 160px), 0, 0);
}

.wedding-intro__headline-row.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.wedding-intro__headline-row + .wedding-intro__headline-row {
    margin-top: 0.13em;
}

.wedding-intro__headline-row--one {
    grid-template-columns: 35% minmax(0, 1fr);
}

.wedding-intro__headline-row--two {
    width: 82%;
    grid-template-columns: max-content minmax(260px, 1fr);
}

.wedding-intro__headline-row--three {
    grid-template-columns: 34% minmax(0, 1fr);
}

.wedding-intro__headline-text {
    display: block;
    white-space: nowrap;
}

.wedding-intro__portal-letter {
    display: inline-block;
}

.wedding-intro__headline-text > span {
    display: inline;
}

.wedding-intro__headline-photo {
    height: 0.76em;
    min-width: 0;
    display: block;
    overflow: hidden;
    background: #d7cab9;
}

.wedding-intro__headline-row--two .wedding-intro__headline-photo {
    border-radius: 999px 0 0 999px;
}

.wedding-intro__headline-row--three .wedding-intro__headline-photo {
    border-radius: 0 999px 999px 0;
}

.wedding-intro__headline-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wedding-intro__headline-row--one img {
    object-position: 52% 36%;
}

.wedding-intro__headline-row--two img {
    object-position: 50% 42%;
}

.wedding-intro__headline-row--three img {
    object-position: 58% 48%;
}

.wedding-intro__story {
    position: absolute;
    top: 50%;
    left: clamp(360px, 34vw, 650px);
    z-index: 3;
    width: min(46vw, 760px);
    max-height: calc(100% - 48px);
    padding: 34px 38px 34px 30px;
    overflow-y: auto;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1rem, 1.12vw, 1.1rem);
    font-weight: 500;
    line-height: 1.8;
    text-align: left;
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + 28px), 0) scale(0.92);
    pointer-events: none;
    will-change: opacity, transform;
}

.wedding-intro__story::before {
    content: "Povestea voastră";
    display: block;
    margin-bottom: 20px;
    padding-left: 13px;
    border-left: 2px solid var(--gold);
    color: #d7b783;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.wedding-intro__story p + p {
    margin-top: 18px;
}

.wedding-intro__story strong {
    color: #fff;
    font-weight: 700;
}

.wedding-intro__cta {
    min-height: 50px;
    margin-top: 34px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0ad78;
    background: #c8a97e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.wedding-intro__cta:hover,
.wedding-intro__cta:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #171a17;
    transform: translateY(-2px);
}

.wedding-intro.is-story-visible .wedding-intro__story {
    pointer-events: auto;
}

.wedding-intro__scroll-hint {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    z-index: 3;
    color: #8a7252;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    pointer-events: none;
    will-change: opacity, transform;
}

.wedding-intro.is-measuring .wedding-intro__headline-row {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Teancul de carduri urmează animația sticky din referința video: fiecare
   card se fixează sub navigație, iar următorul îl acoperă progresiv. */
.wedding-card-stack {
    position: relative;
    z-index: 2;
    padding: clamp(72px, 8vw, 128px) 24px 48svh;
    background: var(--paper);
    isolation: isolate;
}

.wedding-stack-card {
    --stack-order: 0;
    position: sticky;
    top: calc(188px + var(--stack-order) * 9px);
    width: min(92%, 1320px);
    height: clamp(410px, 62svh, 620px);
    margin: 0 auto 26px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border: 1px solid rgba(17, 17, 15, 0.08);
    border-radius: 10px;
    background: #eee9e1;
    box-shadow: 0 24px 60px rgba(41, 34, 25, 0.1);
    isolation: isolate;
}

.wedding-stack-card--one {
    --stack-order: 0;
    z-index: 1;
}

.wedding-stack-card--two {
    --stack-order: 1;
    z-index: 2;
    width: min(95%, 1360px);
    background: #e9e2d8;
}

.wedding-stack-card--three {
    --stack-order: 2;
    z-index: 3;
    width: min(98%, 1400px);
    margin-bottom: 0;
    background: #e5ddd2;
}

.wedding-stack-card__copy {
    position: relative;
    z-index: 2;
    padding: clamp(32px, 5vw, 74px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #171611;
}

.wedding-stack-card__number {
    position: absolute;
    top: 24px;
    left: clamp(32px, 5vw, 74px);
    color: rgba(17, 17, 15, 0.42);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.wedding-stack-card__eyebrow {
    margin-bottom: 16px;
    color: #9b7c55;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.wedding-stack-card__copy h2 {
    max-width: 10ch;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.7rem, 4.5vw, 5.25rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.wedding-stack-card__copy > p:not(.wedding-stack-card__eyebrow) {
    max-width: 48ch;
    margin-top: 24px;
    color: #5f5a52;
    font-size: clamp(0.82rem, 1vw, 1rem);
    line-height: 1.65;
}

.wedding-stack-card__copy > a {
    min-height: 44px;
    margin-top: 28px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border-radius: 999px;
    background: #171611;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.wedding-stack-card__copy > a:hover,
.wedding-stack-card__copy > a:focus-visible {
    background: var(--gold);
    color: #111;
    transform: translateY(-2px);
}

.wedding-stack-card__media {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.wedding-stack-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(238, 233, 225, 0.16), transparent 24%);
    pointer-events: none;
}

.wedding-stack-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wedding-stack-card--one img {
    object-position: 56% 50%;
}

.wedding-stack-card--two img {
    object-position: 58% 52%;
}

.wedding-stack-card--three img {
    object-position: 52% 48%;
}

@media (max-width: 900px) {
    .wedding-card-stack {
        padding: 58px 12px 40svh;
    }

    .wedding-stack-card,
    .wedding-stack-card--two,
    .wedding-stack-card--three {
        top: calc(160px + var(--stack-order) * 7px);
        width: 100%;
        height: clamp(420px, calc(100svh - 176px), 620px);
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1.08fr) minmax(0, 0.92fr);
        margin-bottom: 18px;
        border-radius: 8px;
    }

    .wedding-stack-card--three {
        margin-bottom: 0;
    }

    .wedding-stack-card__copy {
        padding: 28px 22px 22px;
        justify-content: flex-start;
    }

    .wedding-stack-card__number {
        top: 17px;
        right: 18px;
        left: auto;
    }

    .wedding-stack-card__eyebrow {
        margin-bottom: 9px;
        font-size: 8px;
    }

    .wedding-stack-card__copy h2 {
        width: 100%;
        max-width: 13ch;
        font-size: clamp(2rem, 9.4vw, 2.75rem);
        line-height: 0.92;
        overflow-wrap: break-word;
    }

    .wedding-stack-card__copy > p:not(.wedding-stack-card__eyebrow) {
        margin-top: 12px;
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .wedding-stack-card__copy > a {
        min-height: 38px;
        margin-top: 14px;
        padding: 0 15px;
        font-size: 7px;
    }

    .wedding-stack-card__media::after {
        background: linear-gradient(180deg, rgba(238, 233, 225, 0.18), transparent 22%);
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .navbar {
        height: 76px;
        padding: 0 22px;
        grid-template-columns: 1fr auto;
    }

    .nav-logo {
        width: min(52vw, 185px);
        height: 54px;
        justify-self: start;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        justify-self: end;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border: 1px solid rgba(200, 169, 126, 0.35);
        border-radius: 50%;
        background: #fff;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 18px;
        height: 1px;
        display: block;
        background: #111;
        transition: transform 0.25s ease;
    }

    .navbar.is-open .nav-toggle span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .navbar.is-open .nav-toggle span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .mobile-menu {
        position: absolute;
        top: 76px;
        right: 0;
        left: 0;
        padding: 20px 22px 24px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: #fff;
        border-bottom: 1px solid rgba(200, 169, 126, 0.2);
        box-shadow: 0 24px 55px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    .navbar.is-open .mobile-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-menu a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(200, 169, 126, 0.16);
        color: #111;
        font-family: Inter, sans-serif;
        font-size: 12px;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
}

@media (max-width: 760px) {
    :root {
        --hero-height: 100svh;
    }

    .wedding-stage {
        min-height: 72px;
    }

    .navbar {
        top: 72px;
        transform: translate3d(0, calc(var(--hero-height) - 72px), 0);
    }

    body.is-collapsed .wedding-stage {
        overflow: visible;
    }

    .wedding-stage__image--base {
        object-position: 48% 58%;
    }

    .wedding-stage__image--echo {
        display: none;
    }

    .wedding-stage__image {
        filter: none;
        will-change: transform, opacity;
    }

    .wedding-stage__title-wrap {
        right: 18px;
        bottom: 0;
        left: 15px;
        gap: 12px;
    }

    .wedding-stage__title-wrap h1 {
        max-width: none;
        font-size: clamp(3.4rem, 16.5vw, 5.6rem);
        line-height: 0.76;
        letter-spacing: -0.09em;
    }

    .wedding-stage__monogram {
        right: 18px;
        bottom: 7px;
        width: clamp(78px, 24vw, 104px);
        max-width: none;
        font-size: clamp(0.42rem, 1.9vw, 0.58rem);
        text-align: right;
    }

    .wedding-stage__hint {
        right: 10px;
        font-size: 7px;
    }

    .wedding-intro {
        --intro-stack-height: 76px;
        height: 360svh;
        padding: 0 16px;
    }

    .wedding-intro__sticky {
        min-height: 430px;
    }

    .wedding-intro__headline {
        --headline-center-offset: 0px;
        left: 0;
        width: calc(100% - 32px);
        font-size: clamp(1.85rem, 7.8vw, 3.2rem);
        line-height: 0.88;
        letter-spacing: -0.065em;
    }

    .wedding-intro__headline-row {
        gap: 10px;
    }

    .wedding-intro__headline-row + .wedding-intro__headline-row {
        margin-top: 0.28em;
    }

    .wedding-intro__headline-row--one {
        grid-template-columns: 35% minmax(0, 1fr);
    }

    .wedding-intro__headline-row--two {
        width: 100%;
        grid-template-columns: minmax(0, 1.25fr) minmax(88px, 0.75fr);
    }

    .wedding-intro__headline-row--three {
        grid-template-columns: 34% minmax(0, 1fr);
    }

    .wedding-intro__headline-row--two .wedding-intro__headline-text > span {
        display: block;
    }

    .wedding-intro__headline-photo {
        height: 0.9em;
    }

    .wedding-intro__headline-row--two .wedding-intro__headline-photo {
        height: 1.85em;
    }

    .wedding-intro__story {
        left: 50%;
        width: calc(100% - 20px);
        max-height: calc(100% - 20px);
        padding: 22px 18px;
        font-size: clamp(0.78rem, 3.5vw, 0.92rem);
        line-height: 1.55;
    }

    .wedding-intro__story-bg {
        background-position: 64% center;
    }

    .wedding-intro__story::before {
        margin-bottom: 13px;
        font-size: 8px;
    }

    .wedding-intro__story p + p {
        margin-top: 11px;
    }

    .wedding-intro__cta {
        width: 100%;
        min-height: 46px;
        margin-top: 18px;
    }

    .wedding-intro__scroll-hint {
        bottom: 12px;
        font-size: 7px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .wedding-stage__image {
        filter: none;
        will-change: transform, opacity;
    }

    .wedding-stage__image--echo {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .wedding-stage,
    .wedding-stage__image,
    .wedding-stage__title-wrap,
    .wedding-stage__monogram,
    .navbar,
    .wedding-intro * {
        transition: none !important;
    }

    .wedding-stage__title-wrap h1 > span,
    .wedding-stage__monogram > span,
    .wedding-stage__monogram::after {
        animation: none !important;
        opacity: 1;
        transform: none;
    }

    .wedding-intro {
        height: auto;
        padding: 80px 24px;
    }

    .wedding-intro__sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 42px;
        overflow: visible;
    }

    .wedding-intro__headline,
    .wedding-intro__story {
        position: relative;
        top: auto;
        left: auto;
        opacity: 1 !important;
        transform: none !important;
    }

    .wedding-intro__story {
        width: min(100%, 800px);
        max-height: none;
        padding: 34px;
        overflow: visible;
        pointer-events: auto;
    }

    .wedding-intro__story-bg {
        opacity: 1 !important;
        transform: none !important;
    }

    .wedding-intro__headline {
        color: #fff;
    }

    .wedding-intro__scroll-hint {
        display: none;
    }

    .wedding-card-stack {
        padding-bottom: 80px;
    }

    .wedding-stack-card,
    .wedding-stack-card--two,
    .wedding-stack-card--three {
        position: relative;
        top: auto;
        width: min(100%, 1400px);
    }
}

/* Cursor identic cu cel de pe index.html. */
@media (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button {
        cursor: none;
    }

    .cursor-follow {
        position: fixed;
        top: -80px;
        left: -80px;
        z-index: 5000;
        width: 18px;
        height: 18px;
        pointer-events: none;
        opacity: 0;
        transform: translate(-50%, -50%);
        transition: width 0.24s ease, height 0.24s ease, opacity 0.2s ease, transform 0.18s ease;
    }

    .cursor-follow.is-visible {
        opacity: 1;
    }

    .cursor-follow.is-pressed {
        transform: translate(-50%, -50%) scale(0.92);
    }

    .cursor-follow__trail,
    .cursor-follow__orb {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .cursor-follow__trail {
        display: none;
    }

    .cursor-follow__orb {
        left: 50%;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: rgba(200, 169, 126, 0.82);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
        transform: translate(-50%, -50%);
        transition: 0.24s ease;
    }

    .cursor-follow__arrow {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 30px;
        opacity: 0;
        transform: translate(-58%, -50%) scale(0.72);
        transition: 0.2s ease;
    }

    .cursor-follow__arrow::before,
    .cursor-follow__arrow::after {
        position: absolute;
        top: 50%;
        background: #fff;
        content: "";
    }

    .cursor-follow__arrow::before {
        left: 1px;
        width: 29px;
        height: 4px;
        border-radius: 999px;
        transform: translateY(-50%);
    }

    .cursor-follow__arrow::after {
        right: 1px;
        width: 17px;
        height: 17px;
        border-top: 4px solid #fff;
        border-right: 4px solid #fff;
        background: transparent;
        transform: translateY(-50%) rotate(45deg);
    }

    .cursor-follow.is-link {
        width: 76px;
        height: 76px;
        transform: translate(-50%, -50%);
    }

    .cursor-follow.is-link.is-pressed {
        transform: translate(-50%, -50%) scale(0.95);
    }

    .cursor-follow.is-link .cursor-follow__orb {
        right: auto;
        left: 50%;
        width: 76px;
        height: 76px;
        background: rgba(200, 169, 126, 0.9);
        backdrop-filter: blur(10px);
    }

    .cursor-follow.is-link .cursor-follow__arrow {
        opacity: 1;
        transform: translate(-58%, -50%) scale(1);
    }
}

footer.site-footer {
    position: relative;
    z-index: 1;
    min-height: 650px;
    padding: 52px clamp(24px, 5vw, 92px) 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: var(--footer-dark);
    color: #f4f0e5;
}

.footer-main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1780px;
    margin: 0 auto clamp(44px, 5vw, 78px);
    display: grid;
    grid-template-columns: minmax(330px, 0.9fr) minmax(560px, 1.55fr);
    gap: clamp(46px, 8vw, 140px);
    align-items: start;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease 0.18s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.site-footer.is-ready .footer-main {
    opacity: 0;
    transform: translateY(34px);
}

.site-footer.is-ready.is-visible .footer-main {
    opacity: 1;
    transform: translateY(0);
}

.footer-newsletter h2 {
    max-width: 620px;
    margin: 0 0 18px;
    color: #f4f0e5;
    font-family: Inter, sans-serif;
    font-size: clamp(3.3rem, 5.8vw, 6.6rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.footer-newsletter p {
    max-width: 540px;
    margin: 0 0 22px;
    color: rgba(244, 240, 229, 0.78);
    font-family: Inter, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.footer-news-link {
    width: min(560px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.footer-news-link a {
    min-height: 62px;
    width: 100%;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-news-primary {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #fff;
}

.footer-news-secondary {
    border: 1px solid rgba(244, 240, 229, 0.22);
    background: #f4f0e5;
    color: #111;
}

.footer-news-link a:hover,
.footer-news-link a:focus-visible {
    border-color: #111;
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

.footer-columns {
    padding-top: 5px;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: clamp(24px, 4vw, 70px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
    font-family: Inter, sans-serif;
}

.footer-column h3 {
    margin: 0 0 7px;
    color: rgba(244, 240, 229, 0.5);
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    text-transform: lowercase;
}

.footer-column a {
    color: #f4f0e5;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: lowercase;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: var(--gold);
    transform: translateX(4px);
}

.site-footer::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 74px;
    background: #f4f0e5;
    content: "";
}

.footer-brand {
    position: relative;
    z-index: 2;
    width: min(calc(100% - clamp(20px, 3vw, 52px)), 1680px);
    margin: 0 auto -20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.18em;
    overflow: visible;
    perspective: 900px;
    color: #f4f0e5;
    font-family: Inter, sans-serif;
    font-size: clamp(5rem, 8.8vw, 11rem);
    line-height: 0.9;
    font-weight: 950;
    letter-spacing: -0.08em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    transform: scaleX(0.96);
    transform-origin: center bottom;
    user-select: none;
}

.footer-brand-word {
    display: inline-flex;
    align-items: flex-end;
}

.footer-brand-letter {
    display: block;
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scaleY(1);
    transform-origin: center bottom;
    transition: opacity 0.4s ease var(--letter-out-delay, var(--letter-delay)), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) var(--letter-out-delay, var(--letter-delay));
}

.site-footer.is-ready .footer-brand-letter {
    opacity: 0.04;
    transform: translateY(112%) rotateX(48deg) scaleY(0.88);
}

.site-footer.is-ready.is-visible .footer-brand-letter {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scaleY(1);
    transition-delay: var(--letter-delay);
}

.footer-bottom {
    position: relative;
    z-index: 3;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #111;
    font-family: Inter, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
}

.footer-legal a,
.footer-bottom p {
    color: #111;
}

.footer-legal a {
    transition: color 0.25s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #8a6d47;
}

.footer-bottom p {
    margin: 0;
    flex: 0 0 auto;
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-credit-name {
    color: #111;
    font-family: Inter, sans-serif;
    font-size: 1.08em;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.footer-credit-name:hover,
.footer-credit-name:focus-visible {
    color: #8a6d47;
}

.footer-social-link {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: #3f3f3f;
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}

.footer-social-link svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    background: #111;
    transform: translateY(-1px);
}

@media (max-width: 1400px) {
    .footer-brand {
        margin-bottom: -16px;
    }
}

@media (max-width: 900px) {
    footer.site-footer {
        min-height: 720px;
        padding: 48px 22px 0;
    }

    .site-footer::before {
        height: 116px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-bottom: 52px;
    }

    .footer-newsletter h2 {
        font-size: clamp(3rem, 14vw, 5.2rem);
    }

    .footer-news-link {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .footer-brand {
        width: 100%;
        max-width: 100%;
        margin-bottom: -10px;
        flex-wrap: wrap;
        row-gap: 0.06em;
        font-size: clamp(3.25rem, 13.5vw, 6.4rem);
        line-height: 0.9;
        letter-spacing: -0.07em;
        white-space: normal;
        transform: scaleX(0.98);
    }

    .footer-bottom {
        width: 100%;
        min-height: 116px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: center;
        font-size: 11px;
    }

    .footer-legal {
        width: 100%;
        justify-content: center;
        gap: 12px 20px;
    }

    .footer-credit {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-main,
    .footer-brand-letter {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
