:root {
    --paper: #fbfaf7;
    --ink: #25201c;
    --muted: #756e66;
    --line: #ddd6cc;
    --soft: #eee9e1;
    --charcoal: #1d1b18;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", system-ui, sans-serif;
    overflow-x: hidden;
}

body.is-preloading {
    height: 100vh;
    overflow: hidden;
}

button,
a {
    font: inherit;
}

.serif {
    font-family: "Playfair Display", Georgia, serif;
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: #050505;
    color: var(--paper);
    opacity: 1;
    transition: opacity 0.9s ease;
}

.site-preloader.is-done {
    opacity: 0;
    pointer-events: none;
}

.site-preloader__progress {
    position: absolute;
    bottom: clamp(2rem, 7vh, 5rem);
    left: 50%;
    width: min(280px, 42vw);
    height: 1px;
    overflow: hidden;
    background: rgba(251, 250, 247, 0.18);
    transform: translateX(-50%);
}

.site-preloader__bar {
    width: 0;
    height: 100%;
    background: var(--paper);
    transition: width 0.2s ease;
}

.site-preloader__brand {
    max-width: min(900px, calc(100% - 3rem));
    font-size: clamp(3.2rem, 10vw, 10rem);
    font-weight: 500;
    line-height: 0.86;
    letter-spacing: 0;
    opacity: 0;
    text-align: center;
    text-transform: uppercase;
    transition: opacity 1s ease;
}

.site-preloader__brand.is-visible {
    opacity: 1;
}

.animation-viewport {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: var(--charcoal);
}

.scroll-prompt {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    color: var(--paper);
    text-align: center;
}

.scroll-prompt.is-visible {
    opacity: 1;
    transition: opacity 0.9s ease;
}

.scroll-prompt__text {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.5rem, 8vw, 7.5rem);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0;
}

.scroll-prompt__line {
    width: 1px;
    height: 72px;
    margin: 28px auto 0;
    overflow: hidden;
    background: rgba(251, 250, 247, 0.25);
}

.scroll-prompt__line::after {
    content: "";
    display: block;
    width: 100%;
    height: 40%;
    background: var(--paper);
    animation: lineDrop 1.4s ease-in-out infinite;
}

@keyframes lineDrop {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(260%);
    }
}

.reveal-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--charcoal);
}

.final-question {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 2rem;
    color: var(--paper);
    opacity: 0;
    text-align: center;
    transform: scale(0.98);
}

.final-question h1 {
    margin: 0;
    font-size: clamp(3.5rem, 13vw, 13rem);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0.95;
}

.pairs-wrapper {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.photo-pair {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    will-change: transform, opacity;
}

.photo-half {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    will-change: transform;
}

.photo-half::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    opacity: var(--shade, 0);
    transition: opacity 0.2s linear;
}

.photo-half.left-half {
    border-right: 1px solid rgba(251, 250, 247, 0.2);
}

.welcome-sequence {
    position: relative;
    height: 1080vh;
    background: #fdf2f2;
    color: var(--ink);
}

.welcome-viewport {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #fdf2f2;
}

.welcome-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    z-index: 70;
    width: max-content;
    color: rgba(37, 32, 28, 0.62);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    pointer-events: none;
    transform: translateX(-50%);
    text-transform: uppercase;
}

.welcome-image {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    will-change: width, opacity, filter, transform;
}

.welcome-panel {
    position: absolute;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    padding: clamp(2rem, 6vw, 5rem);
    opacity: 0;
    transform: translateX(50px);
    will-change: opacity, transform;
}

.welcome-card {
    max-width: 520px;
}

.welcome-card h2,
.welcome-final h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-style: italic;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0;
}

.welcome-card p {
    margin: 0;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    font-weight: 300;
    line-height: 1.75;
}

.welcome-card span {
    display: block;
    margin-top: 1rem;
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 500;
}

.welcome-final {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    text-align: center;
}

.welcome-final__inner {
    max-width: 760px;
}

.welcome-final p {
    margin: 0;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-weight: 300;
    line-height: 1.5;
}

.welcome-final__line {
    width: 96px;
    height: 1px;
    margin: 3rem auto 0;
    background: rgba(37, 32, 28, 0.22);
}

.journey-photo-track {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    height: clamp(228px, 43.2vh, 432px);
    pointer-events: none;
    transform: translate(100vw, -50%);
    will-change: transform;
}

.journey-photo {
    display: block;
    flex: 0 0 auto;
    height: calc(100% * var(--photo-scale, 1));
    object-fit: cover;
    opacity: 1;
}

.journey-photo--portrait {
    --photo-scale: 1;
    aspect-ratio: 2 / 3;
    width: auto;
}

.journey-photo--landscape {
    --photo-scale: 0.72;
    aspect-ratio: 3 / 2;
    width: auto;
}

.process-sequence {
    position: relative;
    height: 720vh;
    background: var(--charcoal);
    color: var(--paper);
}

.process-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--charcoal);
}

.process-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(29, 27, 24, 0.12), rgba(29, 27, 24, 0.7));
}

.process-copy {
    position: absolute;
    right: clamp(1.5rem, 6vw, 5rem);
    top: 58vh;
    z-index: 10;
    width: min(520px, calc(100% - 3rem));
    will-change: transform;
}

.process-item {
    min-height: 42vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.process-title {
    min-height: 34vh;
}

.process-title h2 {
    margin: 0;
    font-size: clamp(4rem, 10vw, 10rem);
    font-style: italic;
    font-weight: 500;
    line-height: 0.86;
    letter-spacing: 0;
}

.process-step {
    margin: 0 0 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.process-item h3 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-style: italic;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0;
}

.process-item p:last-child {
    max-width: 460px;
    margin: 0;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 300;
    line-height: 1.65;
}

.blink-sequence {
    position: relative;
    height: 1120vh;
    margin-bottom: -100vh;
    background: #050505;
    color: var(--paper);
}

.blink-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #050505;
    isolation: isolate;
}

.blink-prompt {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    color: var(--paper);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(4rem, 12vw, 12rem);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0;
    pointer-events: none;
    text-transform: lowercase;
}

.blink-photo {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    will-change: opacity, filter;
}

.blur-message {
    position: absolute;
    inset: 0;
    z-index: 26;
    display: grid;
    place-items: center;
    padding: 2rem;
    color: var(--paper);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3rem, 8vw, 9rem);
    font-style: italic;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.72);
    text-transform: lowercase;
}

.blink-bar {
    position: absolute;
    left: 0;
    z-index: 30;
    width: 100%;
    height: 50%;
    background: #050505;
    will-change: transform;
}

.blink-bar--top {
    top: 0;
}

.blink-bar--bottom {
    bottom: 0;
}

.blink-reel {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 40;
    display: grid;
    justify-items: center;
    gap: 0;
    width: min(68vw, 760px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 100vh);
    will-change: transform, opacity, filter;
}

.blink-reel img {
    display: block;
    width: 100%;
    height: min(54vh, 520px);
    object-fit: cover;
}

.blink-projector-light {
    position: absolute;
    inset: 0;
    z-index: 45;
    background:
        radial-gradient(circle at 50% 46%, rgba(255, 250, 226, 0.16), rgba(255, 250, 226, 0.05) 34%, transparent 68%),
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
}

.pricing {
    position: relative;
    z-index: 60;
    min-height: 100vh;
    margin-top: 0;
    padding: clamp(84px, 9vw, 132px) clamp(18px, 3.5vw, 64px) clamp(72px, 8vw, 112px);
    background:
        linear-gradient(rgba(251, 250, 247, 0.4), rgba(12, 14, 12, 0.5)),
        url("../images/landscape/jpg/DSC_3519.jpg") center / cover;
    background-blend-mode: soft-light, normal;
    overflow: hidden;
}

.pricing__inner {
    width: min(1500px, 100%);
    margin: 0 auto;
}

.pricing__intro {
    display: grid;
    place-items: center;
    margin-bottom: clamp(44px, 5.2vw, 70px);
    text-align: center;
}

.eyebrow {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.pricing h2 {
    margin: 0;
    color: #050505;
    font-size: clamp(4.4rem, 10vw, 10.5rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 24px rgba(251, 250, 247, 0.36);
}

.pricing__copy {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
}

.packages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(18px, 2.2vw, 42px);
}

.package {
    display: flex;
    min-height: clamp(560px, 48vw, 680px);
    flex-direction: column;
    padding: clamp(28px, 3vw, 46px) clamp(26px, 2.8vw, 42px);
    border: 1.5px solid rgba(5, 5, 5, 0.9);
    background: rgba(251, 250, 247, 0.97);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    color: #050505;
}

.package--featured {
    position: relative;
    border-color: #050505;
    background: rgba(255, 255, 255, 0.99);
    box-shadow:
        0 0 0 1px rgba(5, 5, 5, 0.62),
        0 32px 96px rgba(0, 0, 0, 0.3);
}

.package--featured::before {
    content: "Most Popular";
    position: absolute;
    top: -18px;
    right: 34px;
    display: grid;
    place-items: center;
    width: 132px;
    height: 34px;
    background: #b7121b;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.package--featured::after {
    content: none;
    display: none;
}

.package h3 {
    margin: 0 0 clamp(34px, 4vw, 58px);
    font-size: clamp(2.5rem, 3.2vw, 3.7rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
}

.package--featured h3 {
    margin-top: 0;
}

.package__price {
    margin: auto 0 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.5rem, 5.4vw, 5.7rem);
    font-weight: 300;
    line-height: 0.9;
    text-align: center;
}

.package__details {
    display: grid;
    gap: clamp(14px, 1.35vw, 20px);
    margin: 0 0 clamp(42px, 5vw, 64px);
    padding: 0;
    color: #050505;
    font-size: clamp(1.06rem, 1.42vw, 1.42rem);
    font-style: italic;
    line-height: 1.45;
    list-style: none;
}

.package__details strong {
    font-weight: 700;
}

.pricing__note {
    width: min(800px, 100%);
    margin: clamp(52px, 7vw, 88px) auto 0;
    padding: clamp(0.85rem, 1.4vw, 1.15rem) clamp(1rem, 2.5vw, 2rem);
    border: 1.5px solid rgba(251, 250, 247, 0.86);
    background: rgba(5, 5, 5, 0.12);
    color: var(--paper);
    font-size: clamp(1.05rem, 1.8vw, 1.55rem);
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.pricing__note p {
    margin: 0.2rem 0;
}

.footer {
    overflow: hidden;
    padding: 34px 0;
    background: #f8b8cf;
    color: #050505;
}

.footer-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.footer-marquee__track {
    display: flex;
    width: max-content;
    animation: footerMarquee 20s linear infinite;
    will-change: transform;
}

.footer-marquee span {
    flex: 0 0 auto;
    padding-right: clamp(2rem, 6vw, 6rem);
    font-family: Baskerville, "Baskerville Old Face", "Libre Baskerville", Georgia, serif;
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes footerMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 760px) {
    .photo-pair {
        grid-template-columns: 1fr 1fr;
    }

    .welcome-panel {
        width: 100%;
        padding: 2rem;
        background: rgba(251, 250, 247, 0.9);
    }

    .welcome-image {
        opacity: 0.35;
    }

    .journey-photo {
        height: 34vh;
    }

    .process-shade {
        background: rgba(29, 27, 24, 0.62);
    }

    .process-copy {
        right: 1.25rem;
        top: 56vh;
        width: calc(100% - 2.5rem);
    }

    .process-item {
        min-height: 48vh;
    }

    .packages {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .package {
        min-height: auto;
        padding: 30px 28px 34px;
    }

    .package--featured {
        transform: none;
    }

    .package h3 {
        margin-bottom: 28px;
        font-size: clamp(2.9rem, 15vw, 4.2rem);
    }

    .package__details {
        gap: 12px;
        margin-bottom: 38px;
        font-size: clamp(1.05rem, 5vw, 1.35rem);
    }

    .package__price {
        font-size: clamp(3.4rem, 16vw, 5rem);
    }
}

@media (min-width: 761px) and (max-width: 1180px) {
    .packages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package {
        min-height: 560px;
    }
}
