﻿:root {
    --wp-brown: #8b5e59;
    --wp-dark: #302321;
    --wp-gold: #d9b86c;
    --wp-cream: #fffaf7;
    --wp-white: #ffffff;
    --wp-muted: #776967;
    --wp-border: rgba(139, 94, 89, .18);
    --wp-ease: cubic-bezier(.22, .61, .36, 1);
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

    body:has(.wedding-page) {
        background: var(--wp-cream);
    }

        body:has(.wedding-page) main.wedding-page {
            width: 100%;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

.wedding-page {
    overflow: hidden;
    background: var(--wp-cream);
    color: var(--wp-dark);
    font-family: "Montserrat", sans-serif;
}

    .wedding-page *,
    .wedding-page *::before,
    .wedding-page *::after {
        box-sizing: border-box;
    }

    .wedding-page img {
        display: block;
        width: 100%;
    }


/* ==================================================
   HERO
================================================== */

.wp-hero {
    height: 100svh;
    min-height: 680px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.wp-hero-image-wrap,
.wp-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.wp-hero-image {
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
}

.wp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(27, 18, 17, .78) 0%, rgba(27, 18, 17, .38) 45%, rgba(27, 18, 17, .12) 100%), linear-gradient(0deg, rgba(27, 18, 17, .55), transparent 45%);
}

.wp-hero-content {
    position: absolute;
    z-index: 3;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 720px;
}

.wp-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 5px;
    font-weight: 600;
    margin-bottom: 26px;
}

.wp-hero h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(70px, 9vw, 145px);
    font-weight: 500;
    line-height: .82;
    letter-spacing: -4px;
}

    .wp-hero h1 em {
        display: block;
        color: #f0d99c;
        font-weight: 400;
    }

.wp-hero-content p {
    max-width: 440px;
    margin: 34px 0 32px;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,.84);
}

.wp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.65);
    padding-bottom: 10px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

    .wp-hero-btn span {
        font-size: 20px;
        line-height: 10px;
    }

.wp-hero-side-text {
    position: absolute;
    z-index: 3;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    font-size: 9px;
    letter-spacing: 5px;
    opacity: .7;
}

.wp-scroll-indicator {
    position: absolute;
    z-index: 3;
    left: 8%;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 9px;
    letter-spacing: 3px;
}

    .wp-scroll-indicator span {
        width: 55px;
        height: 1px;
        background: #fff;
    }


/* ==================================================
   INTRO
================================================== */

.wp-intro {
    position: relative;
    min-height: 620px;
    padding: 150px 10%;
    display: grid;
    grid-template-columns: 120px 1fr 200px;
    align-items: center;
    background: var(--wp-cream);
}

.wp-intro-number {
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    color: var(--wp-gold);
}

.wp-section-label {
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 600;
    color: var(--wp-brown);
}

.wp-intro h2,
.wp-chapters h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: clamp(55px, 7vw, 100px);
    line-height: .9;
    margin: 28px 0;
    letter-spacing: -2px;
}

    .wp-intro h2 span,
    .wp-intro h2 em,
    .wp-chapters h2 em {
        color: var(--wp-brown);
        font-style: italic;
    }

.wp-intro p {
    max-width: 530px;
    color: var(--wp-muted);
    line-height: 2;
    font-size: 14px;
}

.wp-intro-mark {
    font-family: "Cormorant Garamond", serif;
    font-size: 230px;
    color: rgba(139,94,89,.055);
    line-height: 1;
}


/* ==================================================
   FEATURED
================================================== */

.wp-featured {
    padding: 100px 8% 150px;
    background: #fff;
}

.wp-featured-heading {
    display: flex;
    gap: 70px;
    align-items: flex-start;
    margin-bottom: 65px;
}

    .wp-featured-heading > span {
        font-family: "Cormorant Garamond", serif;
        font-size: 38px;
        color: var(--wp-gold);
    }

    .wp-featured-heading small {
        font-size: 9px;
        letter-spacing: 4px;
        color: var(--wp-brown);
    }

    .wp-featured-heading h2 {
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(55px, 6vw, 90px);
        font-weight: 500;
        line-height: .88;
        margin: 18px 0 0;
    }

        .wp-featured-heading h2 em {
            display: block;
            color: var(--wp-brown);
            font-style: italic;
        }

.wp-featured-photo {
    position: relative;
    width: 88%;
    margin-left: auto;
    overflow: hidden;
}

.wp-photo-link {
    display: block;
    overflow: hidden;
}

.wp-featured-photo img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 1.2s var(--wp-ease);
}

.wp-photo-link:hover img {
    transform: scale(1.035);
}

.wp-photo-caption {
    position: absolute;
    bottom: 28px;
    left: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 10px;
    letter-spacing: 3px;
}

    .wp-photo-caption span {
        font-family: "Cormorant Garamond", serif;
        font-size: 32px;
    }


/* ==================================================
   EDITORIAL
================================================== */

.wp-editorial {
    padding: 150px 8%;
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 70px;
}

.wp-editorial-intro {
    padding-top: 40px;
}

    .wp-editorial-intro h2 {
        font-family: "Cormorant Garamond", serif;
        font-size: 70px;
        line-height: .9;
        font-weight: 500;
        margin: 25px 0;
    }

        .wp-editorial-intro h2 em {
            color: var(--wp-brown);
            font-style: italic;
        }

    .wp-editorial-intro p {
        max-width: 320px;
        color: var(--wp-muted);
        font-size: 13px;
        line-height: 1.9;
    }

.wp-editorial-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 330px 330px;
    gap: 20px;
}

.wp-editorial-item {
    position: relative;
    overflow: hidden;
    display: block;
}

.wp-item-large {
    grid-row: span 2;
}

.wp-editorial-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--wp-ease);
}

.wp-editorial-item:hover img {
    transform: scale(1.06);
}

.wp-item-overlay {
    position: absolute;
    inset: auto 20px 20px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 9px;
    letter-spacing: 2px;
    z-index: 2;
}

    .wp-item-overlay strong {
        font-family: "Cormorant Garamond", serif;
        font-size: 27px;
        font-weight: 400;
    }


/* ==================================================
   CHAPTERS
================================================== */

.wp-chapters {
    padding: 140px 8%;
    background: #f7efeb;
}

.wp-chapters-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
}

    .wp-chapters-head h2 {
        margin-bottom: 0;
    }

    .wp-chapters-head > p {
        max-width: 330px;
        color: var(--wp-muted);
        font-size: 13px;
        line-height: 1.9;
    }


/* FILTER */

.wp-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 55px;
}

.wp-filter-btn {
    appearance: none;
    border: 1px solid var(--wp-border);
    background: transparent;
    color: var(--wp-dark);
    padding: 13px 18px;
    font-size: 9px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background .35s ease, color .35s ease, transform .35s ease;
}

    .wp-filter-btn:hover,
    .wp-filter-btn.active {
        background: var(--wp-brown);
        color: #fff;
        transform: translateY(-2px);
    }


/* GALLERY */

.wp-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 360px;
    gap: 18px;
}

.wp-gallery-item {
    position: relative;
    overflow: hidden;
    display: block;
    cursor: zoom-in;
}

.wp-gallery-wide {
    grid-column: span 2;
}

.wp-gallery-tall {
    grid-row: span 2;
}

.wp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--wp-ease);
}

.wp-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 0deg, rgba(30,20,18,.55), transparent 45% );
    opacity: .8;
}

.wp-gallery-item:hover img {
    transform: scale(1.07);
}

.wp-gallery-info {
    position: absolute;
    z-index: 3;
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

    .wp-gallery-info span {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .wp-gallery-info strong {
        font-family: "Cormorant Garamond", serif;
        font-size: 30px;
        font-weight: 400;
    }


/* ==================================================
   STORY
================================================== */

.wp-story {
    height: 800px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.wp-story-image,
.wp-story-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

    .wp-story-image img {
        object-fit: cover;
        transform: scale(1.08);
    }

.wp-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(36,25,22,.78), rgba(36,25,22,.2) );
}

.wp-story-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

    .wp-story-content > span {
        font-size: 10px;
        letter-spacing: 4px;
        margin-bottom: 30px;
    }

    .wp-story-content h2 {
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(65px, 8vw, 120px);
        line-height: .85;
        font-weight: 500;
        margin: 0 0 35px;
    }

        .wp-story-content h2 em {
            color: #f0d99c;
            font-style: italic;
        }

    .wp-story-content p {
        max-width: 470px;
        line-height: 1.9;
        font-size: 13px;
        color: rgba(255,255,255,.8);
    }

.wp-story-btn {
    width: fit-content;
    margin-top: 25px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.6);
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 2px;
}

    .wp-story-btn span {
        margin-left: 20px;
        font-size: 18px;
    }


/* ==================================================
   FINAL
================================================== */

.wp-final {
    text-align: center;
    padding: 150px 20px;
    background: var(--wp-cream);
}

    .wp-final > span {
        font-size: 9px;
        letter-spacing: 4px;
        color: var(--wp-brown);
    }

    .wp-final h2 {
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(55px, 7vw, 100px);
        font-weight: 500;
        line-height: .9;
        margin: 30px auto 45px;
    }

    .wp-final a {
        display: inline-flex;
        gap: 20px;
        align-items: center;
        color: var(--wp-dark);
        text-decoration: none;
        font-size: 10px;
        letter-spacing: 3px;
        border-bottom: 1px solid var(--wp-brown);
        padding-bottom: 12px;
    }

        .wp-final a span {
            color: var(--wp-brown);
            font-size: 20px;
        }


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1100px) {

    .wp-intro {
        grid-template-columns: 70px 1fr;
    }

    .wp-intro-mark {
        display: none;
    }

    .wp-editorial {
        grid-template-columns: 1fr;
    }

    .wp-editorial-intro p {
        max-width: 550px;
    }

    .wp-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    .wp-hero {
        min-height: 620px;
    }

    .wp-hero-content {
        left: 7%;
        right: 7%;
    }

    .wp-hero h1 {
        font-size: 68px;
        letter-spacing: -2px;
    }

    .wp-hero-side-text {
        display: none;
    }

    .wp-intro {
        display: block;
        padding: 100px 7%;
    }

    .wp-intro-number {
        margin-bottom: 40px;
    }

    .wp-intro h2 {
        font-size: 58px;
    }

    .wp-featured {
        padding: 80px 7% 100px;
    }

    .wp-featured-heading {
        gap: 25px;
    }

        .wp-featured-heading h2 {
            font-size: 55px;
        }

    .wp-featured-photo {
        width: 100%;
    }

        .wp-featured-photo img {
            aspect-ratio: 4 / 5;
        }

    .wp-editorial {
        padding: 100px 7%;
    }

    .wp-editorial-intro h2 {
        font-size: 58px;
    }

    .wp-editorial-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 420px 280px 280px;
    }

    .wp-item-large {
        grid-row: auto;
    }

    .wp-chapters {
        padding: 100px 7%;
    }

    .wp-chapters-head {
        display: block;
    }

        .wp-chapters-head h2 {
            font-size: 58px;
        }

        .wp-chapters-head > p {
            margin-top: 30px;
        }

    .wp-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

        .wp-filter::-webkit-scrollbar {
            display: none;
        }

    .wp-filter-btn {
        flex: 0 0 auto;
    }

    .wp-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 360px;
    }

    .wp-gallery-wide,
    .wp-gallery-tall {
        grid-column: auto;
        grid-row: auto;
    }

    .wp-story {
        height: 680px;
    }

    .wp-story-content {
        padding: 0 7%;
    }

        .wp-story-content h2 {
            font-size: 62px;
        }

    .wp-final {
        padding: 100px 7%;
    }
}
