/* =========================================================
   BASE
========================================================= */

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

:root {
    --black: #08070a;
    --black-soft: #111014;
    --black-deep: #050406;

    --cream: #f7eee8;
    --cream-soft: #dfd2ca;

    --rose: #cf8f9a;
    --rose-light: #eebfc7;
    --rose-deep: #8c4255;

    --wine: #5d2835;
    --gold: #c7a26a;

    --white: #ffffff;

    --text-soft: rgba(247, 238, 232, 0.68);
    --border-soft: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background: var(--black);
    color: var(--cream);

    font-family: "Inter", sans-serif;

    overflow-x: hidden;
}

body.locked {
    overflow: hidden;
}

.hidden {
    display: none !important;
}

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

button,
input {
    font: inherit;
}


/* =========================================================
   BACKGROUND
========================================================= */

.ambient-background {
    position: fixed;
    inset: 0;

    z-index: -10;

    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;

    border-radius: 999px;

    filter: blur(120px);

    opacity: 0.17;
}

.orb-one {
    width: 460px;
    height: 460px;

    left: -150px;
    top: 8%;

    background: #8d3448;
}

.orb-two {
    width: 520px;
    height: 520px;

    right: -230px;
    top: 42%;

    background: #70405c;
}

.orb-three {
    width: 360px;
    height: 360px;

    left: 30%;
    bottom: -200px;

    background: #d2a463;
}

.grain {
    position: fixed;
    inset: 0;

    z-index: 999;

    pointer-events: none;

    opacity: 0.032;

    background-image:
        url(
            "data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='.65'/%3E%3C/svg%3E"
        );
}


/* =========================================================
   LOCK SCREEN
========================================================= */

.lock-screen {
    position: fixed;
    inset: 0;

    z-index: 500;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    transition:
        opacity 1.5s ease,
        transform 1.5s ease;
}

.lock-screen.unlocked {
    opacity: 0;

    transform: scale(1.045);

    pointer-events: none;
}

.lock-background {
    position: absolute;
    inset: -30px;
}

.lock-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        blur(18px)
        brightness(0.6);

    transform: scale(1.08);

    opacity: 0.5;
}

.lock-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(80, 24, 41, 0.18),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            rgba(5, 4, 7, 0.58),
            rgba(8, 7, 10, 0.92)
        );
}


/* =========================================================
   PREMIUM PETALS
========================================================= */

.petal-scene {
    position: absolute;
    inset: 0;

    z-index: 1;

    overflow: hidden;

    pointer-events: none;
}

.petal {
    position: absolute;

    display: block;

    width: 16px;
    height: 24px;

    border-radius:
        80% 20% 75% 25%;

    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(214, 115, 138, 0.95),
            rgba(130, 38, 59, 0.78) 46%,
            rgba(69, 17, 32, 0.7) 100%
        );

    box-shadow:
        inset 2px 2px 5px
        rgba(255, 215, 223, 0.12),
        0 8px 24px
        rgba(62, 12, 26, 0.2);

    opacity: 0;

    animation:
        petalDrift 13s
        ease-in-out
        infinite;
}

.petal-1 {
    left: 5%;
    top: 8%;

    width: 20px;
    height: 29px;

    animation-delay: 0s;
}

.petal-2 {
    left: 12%;
    top: 32%;

    width: 12px;
    height: 18px;

    animation-delay: 2s;
}

.petal-3 {
    left: 7%;
    top: 68%;

    width: 16px;
    height: 23px;

    animation-delay: 4s;
}

.petal-4 {
    left: 23%;
    top: 9%;

    width: 10px;
    height: 15px;

    animation-delay: 6s;
}

.petal-5 {
    right: 5%;
    top: 12%;

    width: 19px;
    height: 28px;

    animation-delay: 1s;
}

.petal-6 {
    right: 12%;
    top: 39%;

    width: 12px;
    height: 19px;

    animation-delay: 3s;
}

.petal-7 {
    right: 7%;
    top: 69%;

    width: 16px;
    height: 24px;

    animation-delay: 5s;
}

.petal-8 {
    right: 23%;
    top: 8%;

    width: 10px;
    height: 15px;

    animation-delay: 7s;
}

.petal-9 {
    left: 18%;
    bottom: 5%;

    width: 11px;
    height: 17px;

    animation-delay: 8.5s;
}

.petal-10 {
    right: 18%;
    bottom: 6%;

    width: 13px;
    height: 20px;

    animation-delay: 10s;
}

@keyframes petalDrift {

    0% {
        opacity: 0;

        transform:
            translate3d(0, -15px, 0)
            rotate(0deg);
    }

    12% {
        opacity: 0.2;
    }

    35% {
        opacity: 0.4;

        transform:
            translate3d(18px, 15px, 0)
            rotate(75deg);
    }

    65% {
        opacity: 0.3;

        transform:
            translate3d(-10px, 48px, 0)
            rotate(165deg);
    }

    88% {
        opacity: 0.12;
    }

    100% {
        opacity: 0;

        transform:
            translate3d(22px, 88px, 0)
            rotate(255deg);
    }
}


/* =========================================================
   SOFT ROSE-TONED CORNER GLOW
========================================================= */

.rose-glow {
    position: absolute;

    z-index: 0;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(80px);

    opacity: 0.14;

    background:
        radial-gradient(
            circle,
            rgba(151, 39, 69, 0.55),
            rgba(86, 20, 40, 0.22) 48%,
            transparent 72%
        );

    animation:
        roseGlowBreath 10s
        ease-in-out
        infinite;
}

.rose-glow-left {
    left: -250px;
    bottom: -150px;
}

.rose-glow-right {
    right: -250px;
    top: -160px;

    animation-delay: 3s;
}

@keyframes roseGlowBreath {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.18;
    }
}


/* =========================================================
   LOCK CONTENT
========================================================= */

.lock-content {
    position: relative;

    z-index: 3;

    width: min(90%, 620px);

    padding: 40px 20px;

    text-align: center;

    filter:
        drop-shadow(
            0 20px 60px
            rgba(0, 0, 0, 0.15)
        );
}

.tiny-label {
    margin-bottom: 26px;

    color: var(--rose-light);

    font-size: 10px;

    letter-spacing: 5px;
}

.bee-icon {
    position: relative;

    z-index: 5;

    margin-bottom: 18px;

    font-size: 42px;

    animation:
        beeFloat 3s
        ease-in-out
        infinite;
}

.bee-icon::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    z-index: -1;

    width: 55px;
    height: 55px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(230, 187, 100, 0.1),
            transparent 70%
        );

    filter: blur(8px);
}

@keyframes beeFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-3deg);
    }

    50% {
        transform:
            translateY(-10px)
            rotate(3deg);
    }
}

.lock-content h1 {
    font-family:
        "Italiana",
        serif;

    font-size:
        clamp(
            42px,
            7vw,
            82px
        );

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -2px;

    text-shadow:
        0 14px 55px
        rgba(207, 143, 154, 0.12);
}

.lock-intro {
    max-width: 440px;

    margin:
        22px auto
        35px;

    color:
        rgba(247, 238, 232, 0.72);

    font-weight: 300;

    line-height: 1.7;

    text-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.25);
}


/* =========================================================
   QUESTION CARD
========================================================= */

.question-card {
    position: relative;

    width: 100%;

    padding: 28px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.05);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.35),
        0 0 70px
        rgba(156, 57, 82, 0.05);
}

.question-card::before {
    content: "";

    position: absolute;

    top: -120px;
    left: 20%;

    width: 60%;
    height: 190px;

    border-radius: 50%;

    background:
        rgba(218, 139, 157, 0.07);

    filter: blur(45px);

    pointer-events: none;
}

.question-card > * {
    position: relative;

    z-index: 2;
}

.question {
    margin-bottom: 18px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 22px;
}

.input-wrapper {
    display: flex;

    gap: 10px;
}

.input-wrapper input {
    flex: 1;

    min-width: 0;

    padding: 16px 18px;

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius: 14px;

    outline: none;

    background:
        rgba(255, 255, 255, 0.06);

    color: white;

    font-size: 15px;
}

.input-wrapper input::placeholder {
    color:
        rgba(255, 255, 255, 0.42);
}

.input-wrapper input:focus {
    border-color:
        rgba(238, 191, 199, 0.7);

    box-shadow:
        0 0 0 4px
        rgba(238, 191, 199, 0.08);
}

.input-wrapper button {
    padding: 0 22px;

    border: none;

    border-radius: 14px;

    background: var(--cream);

    color: #171217;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.input-wrapper button:hover {
    transform: translateY(-2px);

    background: white;
}

.input-wrapper button span {
    margin-left: 7px;
}

.unlock-message {
    min-height: 22px;

    margin-top: 14px;

    color: var(--rose-light);

    font-size: 13px;
}

.scroll-decoration {
    position: absolute;

    left: 50%;
    bottom: 22px;

    transform: translateX(-50%);

    width: 100%;

    color:
        rgba(247, 238, 232, 0.56);

    text-align: center;

    font-family:
        "Cormorant Garamond",
        serif;

    font-style: italic;

    letter-spacing: 0.3px;
}


/* =========================================================
   MUSIC
========================================================= */

.music-control {
    position: fixed;

    top: 20px;
    right: 20px;

    z-index: 100;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 11px 15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 999px;

    background:
        rgba(12, 10, 14, 0.58);

    color: white;

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    cursor: pointer;
}

.music-control span:last-child {
    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.music-bars {
    display: flex;
    align-items: center;

    gap: 2px;

    height: 16px;
}

.music-bars i {
    display: block;

    width: 2px;

    background: var(--rose-light);

    animation:
        soundBar 0.8s
        infinite
        alternate;
}

.music-bars i:nth-child(1) {
    height: 7px;
}

.music-bars i:nth-child(2) {
    height: 15px;

    animation-delay: 0.2s;
}

.music-bars i:nth-child(3) {
    height: 10px;

    animation-delay: 0.4s;
}

.music-bars i:nth-child(4) {
    height: 13px;

    animation-delay: 0.1s;
}

.music-control.paused
.music-bars i {
    animation: none;

    height: 5px;
}

@keyframes soundBar {

    from {
        transform: scaleY(0.4);
    }

    to {
        transform: scaleY(1);
    }
}


/* =========================================================
   CINEMATIC INTRO
========================================================= */

.cinematic-intro {
    position: relative;

    height: 100svh;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            #1a1118 0%,
            #08070a 65%
        );
}

.intro-stars {
    position: absolute;
    inset: 0;

    opacity: 0.35;

    background-image:
        radial-gradient(
            white 0.7px,
            transparent 0.8px
        );

    background-size:
        35px 35px;
}

.intro-content {
    position: relative;

    z-index: 2;

    width:
        min(90%, 900px);
}

.intro-line,
.intro-title {
    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 1.3s ease,
        transform 1.3s ease;
}

.intro-line.visible,
.intro-title.visible {
    opacity: 1;

    transform:
        translateY(0);
}

.intro-line {
    font-family:
        "Cormorant Garamond",
        serif;

    color:
        rgba(247, 238, 232, 0.72);

    font-size:
        clamp(
            18px,
            3vw,
            27px
        );
}

.intro-title {
    margin: 27px 0;

    font-family:
        "Italiana",
        serif;

    font-size:
        clamp(
            45px,
            8vw,
            98px
        );

    font-weight: 400;

    line-height: 1.03;
}

.intro-line span,
.intro-line strong {
    color: var(--rose-light);
}

.intro-line.second {
    margin-top: 20px;
}

.intro-line.final {
    margin-top: 42px;

    line-height: 1.65;
}

.intro-scroll {
    position: absolute;

    left: 50%;
    bottom: 30px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 13px;

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 9px;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 45px;

    background:
        linear-gradient(
            transparent,
            var(--rose-light)
        );

    animation:
        scrollPulse 1.7s
        infinite;
}

@keyframes scrollPulse {

    0% {
        transform: scaleY(0);

        transform-origin: top;
    }

    50% {
        transform: scaleY(1);

        transform-origin: top;
    }

    100% {
        transform: scaleY(0);

        transform-origin: bottom;
    }
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    padding: 7vw;
}

.hero-photo-wrap {
    position: relative;

    width:
        min(100%, 1250px);

    margin: auto;

    overflow: hidden;

    border-radius: 32px;

    background: #0d0b0e;

    box-shadow:
        0 40px 120px
        rgba(0, 0, 0, 0.45);

    isolation: isolate;
}

.hero-photo-background {
    position: absolute;

    inset: -35px;

    z-index: 0;

    width:
        calc(100% + 70px);

    height:
        calc(100% + 70px);

    object-fit: cover;

    filter:
        blur(34px)
        brightness(0.48)
        saturate(0.9);

    transform:
        scale(1.08);

    opacity: 0.9;
}

.hero-photo {
    position: relative;

    z-index: 2;

    width: 100%;
    height: auto;

    max-height: 88vh;

    object-fit: contain;

    margin: auto;
}

.hero-photo-overlay {
    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(6, 5, 7, 0.93) 0%,
            rgba(6, 5, 7, 0.42) 32%,
            rgba(6, 5, 7, 0.08) 65%,
            transparent 82%
        );
}

.hero-copy {
    position: absolute;

    z-index: 4;

    left:
        clamp(
            25px,
            7vw,
            85px
        );

    bottom:
        clamp(
            28px,
            6vw,
            70px
        );

    width:
        min(
            620px,
            calc(100% - 50px)
        );
}

.eyebrow,
.small-heading {
    color: var(--rose-light);

    font-size: 10px;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.hero-copy h2 {
    margin:
        10px 0
        15px;

    font-family:
        "Italiana",
        serif;

    font-size:
        clamp(
            55px,
            9vw,
            120px
        );

    font-weight: 400;
}

.hero-copy p {
    max-width: 540px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   GENERAL
========================================================= */

.section-inner {
    width:
        min(88%, 1200px);

    margin: auto;
}

.section-inner.narrow {
    width:
        min(86%, 850px);
}

.section-header {
    max-width: 760px;

    margin-bottom: 70px;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-header h2,
.love-statement h2 {
    margin:
        18px 0
        25px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            42px,
            6vw,
            80px
        );

    font-weight: 500;

    line-height: 1.06;
}

.section-header h2 em,
.love-statement h2 em {
    color: var(--rose-light);

    font-weight: 400;
}

.section-header p,
.body-copy {
    color: var(--text-soft);

    line-height: 1.9;
}


/* =========================================================
   BEFORE US
========================================================= */

.love-statement {
    padding: 150px 0;
}

.love-statement h2 {
    margin:
        22px 0
        35px;
}

.body-copy {
    max-width: 690px;

    font-size: 16px;
}

.story-gap {
    margin-top: 28px;
}


/* =========================================================
   TIMELINE
========================================================= */

.our-story-section {
    padding:
        70px 0
        180px;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(102, 42, 61, 0.12),
            transparent 35%
        );
}

.story-opening {
    max-width: 760px;

    margin-bottom: 110px;
}

.story-opening h2 {
    margin:
        20px 0
        30px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            48px,
            7vw,
            88px
        );

    font-weight: 400;

    line-height: 1.05;
}

.story-opening > p:last-child {
    color:
        rgba(247, 238, 232, 0.62);

    line-height: 1.9;
}

.story-timeline {
    position: relative;

    max-width: 950px;

    margin: auto;
}

.story-timeline::before {
    content: "";

    position: absolute;

    left: 116px;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(238, 191, 199, 0.35),
            rgba(199, 162, 106, 0.3),
            transparent
        );
}

.story-moment {
    position: relative;

    display: grid;

    grid-template-columns:
        90px 1fr;

    gap: 70px;

    padding:
        30px 0
        120px;
}

.story-moment::before {
    content: "";

    position: absolute;

    left: 111px;
    top: 38px;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: var(--rose-light);

    box-shadow:
        0 0 0 8px
        rgba(238, 191, 199, 0.06);
}

.story-year {
    padding-top: 5px;

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 2px;

    line-height: 1.8;
}

.story-year span {
    display: block;

    opacity: 0.5;
}

.story-content {
    max-width: 620px;
}

.story-content h3 {
    margin-bottom: 24px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            36px,
            5vw,
            55px
        );

    font-weight: 400;

    line-height: 1.08;
}

.story-content p {
    margin-bottom: 18px;

    color:
        rgba(247, 238, 232, 0.66);

    font-size: 15px;

    line-height: 1.9;
}

.story-highlight {
    color:
        var(--rose-light)
        !important;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        22px
        !important;

    font-style: italic;
}

.story-highlight.large {
    font-size:
        35px
        !important;
}

.together-moment
.story-content h3 {
    color: var(--rose-light);
}


/* =========================================================
   INSOMNIA NIGHT
========================================================= */

.featured-memory {
    padding:
        40px 7vw
        160px;
}

.memory-grid {
    width:
        min(100%, 1350px);

    margin: auto;

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    gap:
        clamp(
            50px,
            8vw,
            125px
        );

    align-items: center;
}

.memory-photo {
    overflow: hidden;

    border-radius: 30px;
}

.memory-photo.full-photo-card {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0c0a0d;

    isolation: isolate;

    box-shadow:
        0 35px 100px
        rgba(0, 0, 0, 0.35);
}

.memory-photo-background {
    position: absolute;

    inset: -25px;

    z-index: -1;

    width:
        calc(100% + 50px)
        !important;

    height:
        calc(100% + 50px)
        !important;

    object-fit:
        cover
        !important;

    filter:
        blur(28px)
        brightness(0.5);

    transform:
        scale(1.08);

    opacity: 0.82;
}

.memory-photo-main {
    position: relative;

    z-index: 2;

    width:
        100%
        !important;

    height:
        auto
        !important;

    max-height: 82vh;

    object-fit:
        contain
        !important;
}

.memory-copy h2 {
    margin:
        25px 0
        40px;

    font-family:
        "Italiana",
        serif;

    font-size:
        clamp(
            62px,
            8vw,
            110px
        );

    font-weight: 400;

    line-height: 0.95;
}

.memory-copy > p {
    margin-bottom: 20px;

    color:
        rgba(247, 238, 232, 0.67);

    line-height: 1.9;
}

.memory-love-line {
    margin:
        34px 0
        !important;

    color:
        var(--rose-light)
        !important;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            27px,
            3vw,
            39px
        )
        !important;

    font-style: italic;

    line-height:
        1.32
        !important;
}

.memory-signature {
    margin-top: 40px;

    color: var(--rose-light);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 18px;

    font-style: italic;
}


/* =========================================================
   PHOTO GALLERY
========================================================= */

.photo-story {
    padding:
        120px 0
        180px;
}

.photo-gallery {
    columns: 3;

    column-gap: 20px;
}

.gallery-item {
    position: relative;

    margin-bottom: 20px;

    break-inside: avoid;

    overflow: hidden;

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.03);

    cursor: pointer;

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        box-shadow 0.5s ease;
}

.gallery-item.visible {
    opacity: 1;

    transform:
        translateY(0);
}

.gallery-item:hover {
    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;

    object-fit: contain;

    transition:
        transform 0.7s ease;
}

.gallery-item:hover img {
    transform:
        scale(1.025);
}

.gallery-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 55%,
            rgba(0, 0, 0, 0.54)
        );

    opacity: 0;

    transition:
        opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}


/* =========================================================
   OBSESSION
========================================================= */

.obsession-section {
    min-height: 90svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        130px 25px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(104, 41, 59, 0.22),
            transparent 65%
        ),
        linear-gradient(
            180deg,
            #08070a,
            #0d090d,
            #08070a
        );
}

.obsession-inner {
    width:
        min(100%, 880px);
}

.obsession-small {
    color: var(--rose-light);

    font-size: 9px;

    letter-spacing: 4px;

    line-height: 1.7;

    text-transform: uppercase;
}

.obsession-section h2 {
    margin: 35px 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            55px,
            8vw,
            105px
        );

    font-weight: 400;

    line-height: 0.98;
}

.obsession-main {
    margin-bottom: 45px;

    color: var(--rose-light);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            25px,
            4vw,
            42px
        );

    font-style: italic;

    line-height: 1.3;
}

.obsession-copy {
    max-width: 650px;

    margin: auto;

    color:
        rgba(247, 238, 232, 0.68);

    line-height: 2;

    white-space: pre-line;
}

.obsession-ending {
    margin-top: 50px;

    color: var(--cream);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            25px,
            4vw,
            34px
        );
}


/* =========================================================
   THINGS I LOVE
========================================================= */

.reasons-section {
    padding:
        120px 0
        180px;

    background: #0c0a0e;
}

.reason-cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.reason-card {
    min-height: 320px;

    padding: 38px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
}

.reason-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(238, 191, 199, 0.24);

    background:
        rgba(255, 255, 255, 0.055);
}

.reason-card > span {
    display: block;

    margin-bottom: 48px;

    color: var(--gold);

    font-size: 12px;
}

.reason-card h3 {
    margin-bottom: 15px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 34px;

    font-weight: 500;

    line-height: 1.05;
}

.reason-card p {
    color:
        rgba(247, 238, 232, 0.62);

    font-size: 14px;

    line-height: 1.85;
}

.special-card {
    background:
        linear-gradient(
            135deg,
            rgba(121, 50, 69, 0.36),
            rgba(44, 24, 34, 0.2)
        );
}

.kiss-card {
    background:
        linear-gradient(
            145deg,
            rgba(116, 46, 65, 0.22),
            rgba(255, 255, 255, 0.018)
        );
}


/* =========================================================
   BIG ROMANTIC PHOTO
========================================================= */

.big-love-section {
    position: relative;

    height: 100svh;

    min-height: 700px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #070608;
}

.big-love-background {
    position: absolute;
    inset: 0;

    z-index: 0;
}

.cinematic-photo-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        blur(26px)
        brightness(0.42)
        saturate(0.95);

    transform:
        scale(1.1);
}

.big-love-foreground {
    position: absolute;
    inset: 0;

    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.big-love-foreground img {
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.big-love-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(7, 5, 8, 0.91),
            rgba(7, 5, 8, 0.44),
            rgba(7, 5, 8, 0.83)
        );
}

.big-love-content {
    position: relative;

    z-index: 3;

    width:
        min(88%, 950px);

    text-align: center;
}

.big-love-content > p {
    margin-bottom: 30px;

    color:
        rgba(255, 255, 255, 0.7);

    line-height: 1.8;
}

.big-love-content h2 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            55px,
            8vw,
            110px
        );

    font-weight: 400;

    line-height: 1;
}

.big-love-content em {
    color: var(--rose-light);
}

.future-line {
    max-width: 550px;

    margin:
        35px auto 0
        !important;

    color:
        rgba(255, 255, 255, 0.84)
        !important;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 23px;
}

.heart-line {
    width: 95px;
    height: 95px;

    margin-top: 55px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 23px;

    font-style: italic;
}


/* =========================================================
   LETTER
========================================================= */

.letter-section {
    padding:
        150px 0
        240px;
}

.envelope {
    position: relative;

    width:
        min(100%, 650px);

    height: 430px;

    margin:
        110px auto 0;

    perspective: 1200px;
}

.envelope-back {
    position: absolute;
    inset: 0;

    border-radius: 12px;

    background: #b89687;

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.32);
}

.letter-paper {
    position: absolute;

    left: 6%;
    bottom: 12px;

    z-index: 2;

    width: 88%;
    height: 95%;

    padding: 45px;

    overflow-y: auto;

    border-radius: 8px;

    background: #f4e9df;

    color: #342c2a;

    transition:
        transform 1.1s ease,
        height 1.1s ease;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(93, 40, 53, 0.45)
        transparent;
}

.letter-paper::-webkit-scrollbar {
    width: 6px;
}

.letter-paper::-webkit-scrollbar-thumb {
    border-radius: 999px;

    background:
        rgba(93, 40, 53, 0.42);
}

.letter-content {
    opacity: 0;

    transition:
        opacity 0.8s ease 0.4s;
}

.letter-date {
    margin-bottom: 30px;

    color: #9e7a6e;

    font-size: 11px;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.letter-content h3 {
    margin-bottom: 25px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 38px;
}

.letter-content p {
    margin-bottom: 20px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 20px;

    line-height: 1.65;
}


/* Highlighted letter lines */

.letter-highlight {
    position: relative;

    margin:
        32px 0
        !important;

    padding: 10px 8px;

    color: #7d4051;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        25px
        !important;

    font-style: italic;

    font-weight: 600;

    line-height:
        1.5
        !important;

    text-align: center;
}

.letter-highlight::before {
    content: "♡";

    display: block;

    margin-bottom: 8px;

    color: #b87888;

    font-size: 17px;

    font-style: normal;
}

.final-letter-line {
    margin-top:
        40px
        !important;

    color: #693445;

    font-size:
        27px
        !important;
}

.letter-ending {
    margin-top: 42px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(93, 40, 53, 0.15);

    text-align: left;
}

.letter-ending strong {
    display: inline-block;

    margin-top: 4px;

    color: #6f3143;

    font-size: 23px;
}

.envelope-front {
    position: absolute;
    inset: 0;

    z-index: 4;

    border-radius: 12px;

    pointer-events: none;

    background:
        linear-gradient(
            145deg,
            transparent 49.5%,
            #c7a597 50%
        );
}

.envelope-flap {
    position: absolute;

    left: 0;
    top: 0;

    z-index: 5;

    width: 100%;
    height: 55%;

    background: #d1b1a3;

    clip-path:
        polygon(
            0 0,
            100% 0,
            50% 100%
        );

    transform-origin: top;

    transition:
        transform 0.9s ease;
}

.open-letter {
    position: absolute;

    left: 50%;
    bottom: 60px;

    z-index: 7;

    transform:
        translateX(-50%);

    padding: 16px 28px;

    border: none;

    border-radius: 999px;

    background: var(--wine);

    color: white;

    cursor: pointer;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.2);
}

.open-letter span {
    margin-left: 8px;
}

.envelope.open {
    height: 900px;
}

.envelope.open
.envelope-flap {
    transform:
        rotateX(180deg);
}

.envelope.open
.letter-paper {
    transform:
        translateY(-105px);

    height: 930px;

    max-height: 78vh;

    z-index: 6;
}

.envelope.open
.letter-content {
    opacity: 1;
}

.envelope.open
.open-letter {
    display: none;
}


/* =========================================================
   FINALE
========================================================= */

.finale {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #070608;

    text-align: center;
}

.finale-background {
    position: absolute;
    inset: 0;

    z-index: 0;
}

.finale-foreground {
    position: absolute;
    inset: 0;

    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.finale-foreground img {
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.finale-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        radial-gradient(
            circle at center,
            rgba(8, 7, 10, 0.28),
            rgba(8, 7, 10, 0.91)
        );
}

#confettiCanvas {
    position: absolute;
    inset: 0;

    z-index: 3;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

.finale-content {
    position: relative;

    z-index: 4;

    width:
        min(90%, 900px);
}

.finale-small {
    margin-bottom: 25px;

    color: var(--rose-light);

    font-size: 10px;

    letter-spacing: 6px;
}

.finale h2 {
    font-family:
        "Italiana",
        serif;

    font-size:
        clamp(
            57px,
            9vw,
            120px
        );

    font-weight: 400;

    line-height: 0.98;
}

.finale h2 span {
    display: block;

    margin-top: 10px;

    color: var(--rose-light);
}

.finale-message {
    max-width: 600px;

    margin:
        40px auto;

    color:
        rgba(255, 255, 255, 0.78);

    line-height: 1.9;
}

.final-heart {
    color: var(--rose-light);

    font-size: 35px;

    animation:
        heartbeat 1.5s
        infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform:
            scale(1);
    }

    50% {
        transform:
            scale(1.2);
    }
}

.final-signature {
    margin-top: 30px;

    color:
        rgba(255, 255, 255, 0.58);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 19px;

    font-style: italic;

    line-height: 1.7;
}


/* =========================================================
   SCROLL REVEALS
========================================================= */

.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;

    transition:
        opacity 1s ease,
        transform 1s ease;
}

.reveal {
    transform:
        translateY(45px);
}

.reveal-left {
    transform:
        translateX(-50px);
}

.reveal-right {
    transform:
        translateX(50px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;

    transform:
        translate(0, 0);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;
    inset: 0;

    z-index: 900;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        rgba(5, 4, 6, 0.96);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;

    visibility: visible;
}

.lightbox img {
    width: auto;

    max-width: 92%;
    max-height: 80vh;

    object-fit: contain;

    border-radius: 15px;

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.5);
}

.lightbox p {
    margin-top: 18px;

    color:
        rgba(255, 255, 255, 0.7);

    text-align: center;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 18px;

    font-style: italic;
}

.close-lightbox {
    position: absolute;

    top: 25px;
    right: 30px;

    border: none;

    background: transparent;

    color: white;

    font-size: 42px;

    font-weight: 200;

    cursor: pointer;
}


/* =========================================================
   FLOATING HEARTS
========================================================= */

.floating-hearts {
    position: fixed;
    inset: 0;

    z-index: 850;

    pointer-events: none;
}

.float-heart {
    position: absolute;

    bottom: -30px;

    color:
        rgba(238, 191, 199, 0.55);

    animation:
        floatHeart linear forwards;
}

@keyframes floatHeart {

    from {
        transform:
            translateY(0)
            rotate(0);

        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    to {
        transform:
            translateY(-110vh)
            rotate(25deg);

        opacity: 0;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .memory-grid {
        grid-template-columns:
            1fr;
    }

    .memory-copy {
        padding:
            10px 4%;
    }

    .photo-gallery {
        columns: 2;
    }

    .reason-cards {
        grid-template-columns:
            1fr 1fr;
    }

    .story-timeline::before {
        left: 98px;
    }

    .story-moment {
        grid-template-columns:
            75px 1fr;

        gap: 55px;
    }

    .story-moment::before {
        left: 93px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .lock-content {
        width: 94%;

        padding:
            25px 12px;
    }

    .lock-content h1 {
        font-size: 43px;
    }

    .lock-intro {
        margin-bottom: 28px;

        font-size: 14px;
    }

    .question-card {
        padding: 20px;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .input-wrapper input,
    .input-wrapper button {
        width: 100%;

        min-height: 52px;
    }

    .petal {
        width: 11px;
        height: 17px;
    }

    .petal-1 {
        left: 2%;
        top: 8%;
    }

    .petal-2 {
        left: 5%;
        top: 32%;
    }

    .petal-3 {
        left: 3%;
        top: 67%;
    }

    .petal-4 {
        left: 16%;
        top: 4%;
    }

    .petal-5 {
        right: 2%;
        top: 10%;
    }

    .petal-6 {
        right: 5%;
        top: 38%;
    }

    .petal-7 {
        right: 3%;
        top: 67%;
    }

    .petal-8 {
        right: 16%;
        top: 5%;
    }

    .petal-9 {
        left: 15%;
        bottom: 4%;
    }

    .petal-10 {
        right: 15%;
        bottom: 5%;
    }

    .rose-glow {
        width: 280px;
        height: 280px;

        opacity: 0.1;
    }

    .rose-glow-left {
        left: -190px;
        bottom: -90px;
    }

    .rose-glow-right {
        right: -180px;
        top: -100px;
    }

    .music-control {
        top: 14px;
        right: 14px;

        padding:
            10px 13px;
    }

    .cinematic-intro {
        min-height: 690px;
    }

    .intro-title {
        font-size: 48px;
    }

    .hero-section {
        padding: 18px;
    }

    .hero-photo-wrap {
        border-radius: 22px;
    }

    .hero-photo {
        max-height: 80vh;
    }

    .hero-copy {
        left: 24px;
        bottom: 32px;

        width:
            calc(100% - 48px);
    }

    .hero-copy h2 {
        font-size: 58px;
    }

    .hero-copy p {
        font-size: 14px;

        line-height: 1.72;
    }

    .love-statement {
        padding:
            105px 0;
    }

    .section-header h2,
    .love-statement h2 {
        font-size: 45px;
    }

    .our-story-section {
        padding:
            40px 0
            110px;
    }

    .story-opening {
        margin-bottom: 70px;
    }

    .story-timeline::before {
        left: 14px;
    }

    .story-moment {
        grid-template-columns:
            1fr;

        gap: 18px;

        padding:
            20px 0
            85px
            50px;
    }

    .story-moment::before {
        left: 9px;
        top: 27px;
    }

    .story-year {
        font-size: 10px;
    }

    .story-content h3 {
        font-size: 38px;
    }

    .featured-memory {
        padding:
            20px 18px
            110px;
    }

    .memory-grid {
        gap: 45px;
    }

    .memory-photo.full-photo-card {
        min-height: 0;

        border-radius: 22px;
    }

    .memory-photo-main {
        max-height: 78vh;
    }

    .memory-copy h2 {
        font-size: 65px;
    }

    .memory-love-line {
        font-size:
            29px
            !important;
    }

    .photo-story {
        padding:
            90px 0
            120px;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .photo-gallery {
        columns: 2;

        column-gap: 10px;
    }

    .gallery-item {
        margin-bottom: 10px;

        border-radius: 11px;
    }

    .obsession-section {
        min-height: auto;

        padding:
            110px 22px;
    }

    .obsession-section h2 {
        font-size: 54px;
    }

    .obsession-main {
        font-size: 29px;
    }

    .reasons-section {
        padding:
            90px 0
            120px;
    }

    .reason-cards {
        grid-template-columns:
            1fr;
    }

    .reason-card {
        min-height: 250px;

        padding: 30px;
    }

    .reason-card > span {
        margin-bottom: 32px;
    }

    .reason-card h3 {
        font-size: 32px;
    }

    .big-love-section {
        min-height: 720px;
    }

    .big-love-content h2 {
        font-size: 56px;
    }

    .future-line {
        font-size: 21px;
    }

    .heart-line {
        width: 82px;
        height: 82px;

        margin-top: 42px;
    }

    .letter-section {
        padding:
            100px 0
            180px;
    }

    .envelope {
        height: 320px;

        margin-top: 70px;
    }

    .letter-paper {
        padding:
            28px 22px;
    }

    .letter-content h3 {
        font-size: 33px;
    }

    .letter-content p {
        font-size: 18px;
    }

    .letter-highlight {
        margin:
            26px 0
            !important;

        padding:
            8px 4px;

        font-size:
            22px
            !important;
    }

    .final-letter-line {
        font-size:
            23px
            !important;
    }

    .letter-ending strong {
        font-size: 21px;
    }

    .envelope.open {
        height: 760px;
    }

    .envelope.open
    .letter-paper {
        transform:
            translateY(-75px);

        height: 790px;

        max-height: 74vh;
    }

    .finale {
        min-height: 100svh;
    }

    .finale h2 {
        font-size: 54px;
    }

    .finale-message {
        font-size: 14px;

        line-height: 1.8;
    }

    .final-signature {
        font-size: 18px;
    }

    .lightbox {
        padding: 18px;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 78vh;
    }

    .close-lightbox {
        top: 14px;
        right: 18px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .lock-content h1 {
        font-size: 38px;
    }

    .intro-title {
        font-size: 43px;
    }

    .hero-copy h2 {
        font-size: 50px;
    }

    .section-header h2,
    .love-statement h2 {
        font-size: 40px;
    }

    .memory-copy h2 {
        font-size: 58px;
    }

    .obsession-section h2 {
        font-size: 48px;
    }

    .big-love-content h2 {
        font-size: 49px;
    }

    .finale h2 {
        font-size: 48px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .petal,
    .rose-glow {
        animation: none;
    }

    .petal {
        opacity: 0.18;
    }
}