/* =========================================================
   DOCTOR & EMMA
   Wedding custom theme
   Theme: Sage Green + Camel
   Fonts: Cormorant Garamond + DM Sans
   ========================================================= */

/* Keep page visible without legacy Designesia initialization */
html,
body {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

:root {
    /* Lighter Sage Palette */
    --sage-deep: #788773;
    --sage: #9EAC91;
    --sage-soft: #BEC8B3;
    --sage-pale: #E2E7DC;
    /* Camel */
    --camel-deep: #9B754F;
    --camel: #C19A6B;
    --camel-soft: #D7B991;
    /* Neutrals */
    --sand: #E9DDCB;
    --forest: #30392F;
    --text: #55584F;
    --muted: #7B7E75;
    --ivory: #FAF8F2;
    --cream: #F3EFE6;
    --white: #FFFFFF;
    --border: rgba(48, 57, 47, .13);
    --shadow: 0 18px 50px rgba(48, 57, 47, .08);
    /* Legacy aliases */
    --orange-deep: var(--sage-deep);
    --orange-burnt: var(--sage);
    --orange-terracotta: var(--camel);
    --orange-warm: var(--camel-soft);
    --orange-peach: var(--sand);
    --orange-cream: var(--ivory);
    --brown-deep: var(--forest);
    --brown-soft: var(--text);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--text);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--forest);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
}

a {
    color: var(--sage-deep);
}

    a:hover {
        color: var(--camel-deep);
    }

::selection {
    background: var(--sage);
    color: #fff;
}

.wedding-section {
    position: relative;
    padding: 110px 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 60px;
}

    .section-heading p {
        max-width: 560px;
        margin: 10px auto 0;
        color: var(--muted);
    }

.section-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--camel-deep);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 3.5px;
    text-transform: uppercase;
}

.section-heading h2,
.theme-section h2,
.registry-card h2,
.rsvp-heading h2 {
    margin-bottom: 15px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
}

/* =========================================================
   HEADER
   ========================================================= */

header.wedding-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    z-index: 9999;
    background: transparent !important;
    box-shadow: none !important;
    transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}

    header.wedding-header .container,
    header.wedding-header .row,
    header.wedding-header .col-md-12 {
        height: 100%;
    }

    header.wedding-header div#logo h2 {
        margin: 18px 0 0;
        font-family: "Cormorant Garamond", Georgia, serif !important;
        font-size: 34px;
        font-weight: 600;
        line-height: 1.05;
        letter-spacing: -.01em;
        color: #fff !important;
    }

        header.wedding-header div#logo h2 span {
            display: inline-block;
            margin: 0 .08em;
            font-family: "Cormorant Garamond", Georgia, serif !important;
            font-size: .8em;
            font-weight: 400;
            font-style: italic;
            line-height: 1;
            color: var(--camel-soft) !important;
        }

    header.wedding-header #mainmenu {
        margin-right: 95px;
    }

        header.wedding-header #mainmenu > li > a {
            padding-top: 24px;
            padding-bottom: 23px;
            color: rgba(255, 255, 255, .92) !important;
            font-family: "DM Sans", Arial, sans-serif;
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 1.1px;
            text-transform: uppercase;
        }

            header.wedding-header #mainmenu > li > a:hover,
            header.wedding-header #mainmenu > li > a.active {
                color: var(--camel-soft) !important;
            }

    header.wedding-header > .container .btn-rsvp {
        background: var(--camel);
    }

        header.wedding-header > .container .btn-rsvp a {
            font-family: "DM Sans", Arial, sans-serif;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1.3px;
            text-transform: uppercase;
        }

    /* Hide monogram over hero, show after scroll */
    header.wedding-header #logo {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    }

    header.wedding-header.scrolled {
        height: 72px;
        background: rgba(250, 248, 242, .98) !important;
        box-shadow: 0 5px 30px rgba(48, 57, 47, .08) !important;
    }

        header.wedding-header.scrolled #logo {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        header.wedding-header.scrolled div#logo h2,
        header.wedding-header.scrolled #mainmenu > li > a {
            color: var(--forest) !important;
        }

        header.wedding-header.scrolled div#logo h2 {
            margin-top: 16px;
        }

        header.wedding-header.scrolled #mainmenu > li > a:hover,
        header.wedding-header.scrolled #mainmenu > li > a.active {
            color: var(--camel-deep) !important;
        }


/* =========================================================
   HERO — DESIGNED TO WORK WITHOUT PHOTOGRAPHS
   ========================================================= */
#section-home {
    position: relative;
    min-height: 550px;
    height: 58vh;
    overflow: hidden;
    background: var(--sage);
}

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

    /*#section-home.wedding-hero {
        position: relative;
        min-height: 72vh;
        height: 72vh;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    #section-home .hero-content {
        position: relative;
        z-index: 3;
        width: 100%;*/
    /* Override old template center-y positioning */
    /*top: auto !important;
        transform: none !important;
    }*/

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

    #section-home.wedding-hero {
        position: relative;
        width: 100%;
        min-height: 400px;
        height: 40vh;
        display: flex;
        align-items: center;
        overflow: hidden;
        /*background: #87977F;*/
        background: var(--sage);
    }


    /* =========================================================
   HERO BACKGROUND / OVERLAY
   ========================================================= */

    #section-home .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        /*
       Keep this extremely subtle.
       We want the lighter sage to remain visible.
    */
        background: radial-gradient( circle at 15% 20%, rgba(255, 255, 255, .06), transparent 32% ), radial-gradient( circle at 85% 80%, rgba(193, 154, 107, .07), transparent 35% );
        pointer-events: none;
    }


    /* =========================================================
   DECORATIVE BACKGROUND CIRCLES
   ========================================================= */

    #section-home.wedding-hero::before,
    #section-home.wedding-hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 1;
    }

    #section-home.wedding-hero::before {
        width: 480px;
        height: 480px;
        top: -290px;
        left: -170px;
        border: 1px solid rgba(255, 255, 255, .12);
    }

    #section-home.wedding-hero::after {
        width: 600px;
        height: 600px;
        right: -330px;
        bottom: -380px;
        border: 1px solid rgba(216, 188, 152, .18);
    }


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

    #section-home .hero-content {
        position: relative !important;
        top: auto !important;
        z-index: 3;
        width: 100%;
        transform: none !important;
        text-align: center;
    }


    /* =========================================================
   DATE
   ========================================================= */

    #section-home .hero-kicker {
        margin: 0 0 34px;
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 10px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: .38em;
        text-transform: uppercase;
        color: #D8BC98;
    }


    /* =========================================================
   DOCTOR & EMMA
   ========================================================= */

    #section-home .hero-names {
        display: flex;
        align-items: baseline;
        justify-content: center;
        margin: 0;
        font-family: "Cormorant Garamond", Georgia, serif;
        line-height: .9;
        white-space: nowrap;
    }


    /* Names */

    #section-home .hero-name {
        display: inline-block;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(72px, 9vw, 110px);
        font-weight: 500;
        line-height: .9;
        letter-spacing: -.035em;
        color: #FFFFFF;
        text-shadow: none;
    }


    /* Ampersand */

    #section-home .hero-ampersand {
        display: inline-block;
        margin: 0 .12em;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(45px, 6vw, 72px);
        font-weight: 400;
        font-style: italic;
        line-height: 1;
        color: #D8BC98;
        transform: none;
    }


    /* =========================================================
   TAGLINE
   ========================================================= */

    #section-home .hero-tagline {
        margin: 35px 0 0;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 24px;
        font-weight: 400;
        font-style: italic;
        line-height: 1.4;
        letter-spacing: .01em;
        color: rgba(255, 255, 255, .84);
    }


    /* =========================================================
   CAMEL DIVIDER
   ========================================================= */

    #section-home .hero-divider {
        position: relative;
        width: 90px;
        height: 1px;
        margin: 34px auto 0;
        background: rgba(216, 188, 152, .75);
    }


        /* Small diamond in centre */

        #section-home .hero-divider::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 50%;
            width: 7px;
            height: 7px;
            background: #C19A6B;
            transform: translate(-50%, -50%) rotate(45deg);
        }


    /* =========================================================
   PLACEHOLDER / OWL HOOK
   ========================================================= */

    #section-home .hero-visual,
    #section-home .hero-visual-placeholder {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    #section-home .hero-visual {
        z-index: 0;
    }


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

@media (max-width: 767px) {

    #section-home.wedding-hero {
        min-height: 620px;
        height: 72vh;
    }

    #section-home .hero-kicker {
        margin-bottom: 27px;
        font-size: 9px;
        letter-spacing: .28em;
    }

    #section-home .hero-names {
        flex-direction: column;
        align-items: center;
        line-height: .85;
        white-space: normal;
    }

    #section-home .hero-name {
        font-size: clamp(58px, 18vw, 78px);
        line-height: .82;
    }

    #section-home .hero-ampersand {
        margin: 10px 0 8px;
        font-size: 42px;
        line-height: .8;
    }

    #section-home .hero-tagline {
        margin-top: 32px;
        padding: 0 20px;
        font-size: 21px;
    }

    #section-home .hero-divider {
        width: 75px;
        margin-top: 28px;
    }

    #section-home.wedding-hero::before {
        width: 330px;
        height: 330px;
        top: -200px;
        left: -170px;
    }

    #section-home.wedding-hero::after {
        width: 400px;
        height: 400px;
        right: -240px;
        bottom: -250px;
    }
}

/* Mobile */

@media (max-width: 767px) {

    #section-home.wedding-hero {
        min-height: 68vh;
        height: 68vh;
    }
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-visual-placeholder {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 18%, rgba(255,255,255,.09) 0, rgba(255,255,255,0) 28%), radial-gradient(circle at 85% 78%, rgba(193,154,107,.18) 0, rgba(193,154,107,0) 30%), linear-gradient(135deg, #4F5D4B 0%, #697762 48%, #7F866D 100%);
}

    /* Fine editorial lines */
    .hero-visual-placeholder::before,
    .hero-visual-placeholder::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(233, 221, 203, .22);
        border-radius: 50%;
    }

    .hero-visual-placeholder::before {
        width: 620px;
        height: 620px;
        top: -290px;
        right: -180px;
    }

    .hero-visual-placeholder::after {
        width: 760px;
        height: 760px;
        left: -430px;
        bottom: -480px;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(33,43,32,.18) 0%, rgba(33,43,32,.03) 48%, rgba(33,43,32,.28) 100%);
    pointer-events: none;
}

.wedding-hero .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 95px 20px 0;
}

.hero-kicker {
    margin: 0 0 28px;
    color: var(--sand);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    line-height: 1;
}

.hero-name {
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(74px, 10vw, 140px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.025em;
}

.hero-ampersand {
    color: var(--camel-soft);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    font-style: italic;
}

.hero-tagline {
    margin: 26px auto 34px;
    color: rgba(255,255,255,.78);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(18px, 2vw, 24px);
    font-style: italic;
    letter-spacing: .5px;
}

.hero-scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.9) !important;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity .25s ease, transform .25s ease;
}

    .hero-scroll-link:hover {
        opacity: 1;
        transform: translateY(3px);
    }

    .hero-scroll-link i {
        font-size: 22px;
        animation: invitationArrow 1.8s ease-in-out infinite;
    }

@keyframes invitationArrow {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

/* =========================================================
   INVITATION
   ========================================================= */

.invitation-section {
    overflow: hidden;
    background: radial-gradient(circle at 0 0, rgba(183,192,168,.22), transparent 27%), radial-gradient(circle at 100% 100%, rgba(193,154,107,.12), transparent 30%), var(--ivory);
}

    .invitation-section::before,
    .invitation-section::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(89,102,83,.11);
        border-radius: 50%;
        pointer-events: none;
    }

    .invitation-section::before {
        width: 380px;
        height: 380px;
        left: -220px;
        top: 60px;
    }

    .invitation-section::after {
        width: 500px;
        height: 500px;
        right: -330px;
        bottom: -160px;
    }

.invitation-card {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 30px;
}

.invitation-message {
    max-width: 650px;
    margin: 0 auto 20px;
    color: var(--text);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    line-height: 1.7;
}

.invitation-couple {
    margin: 14px 0 20px;
    color: var(--forest);
    font-size: clamp(55px, 8vw, 88px);
    font-weight: 400;
    line-height: 1;
}

    .invitation-couple span {
        margin: 0 .12em;
        /*color: var(--camel-deep);*/
        color: var(--sage-name) !important;
        font-style: italic;
    }

.invitation-date-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px 13px;
    margin: 38px auto 42px;
    color: var(--forest);
}

.invitation-date-day {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 44px;
    line-height: 1;
}

.invitation-date-month,
.invitation-date-year {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.invitation-date-separator {
    color: var(--camel);
}

/* Countdown */
.wedding-countdown {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 650px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

    .wedding-countdown > div {
        position: relative;
        width: 25%;
        padding: 24px 12px 20px;
        background: transparent;
    }

        .wedding-countdown > div:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 23%;
            right: 0;
            width: 1px;
            height: 54%;
            background: var(--border);
        }

    .wedding-countdown strong {
        display: block;
        color: var(--sage-deep);
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 38px;
        font-weight: 500;
        line-height: 1;
    }

    .wedding-countdown span {
        display: block;
        margin-top: 8px;
        color: var(--muted);
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 2.2px;
        text-transform: uppercase;
    }

/* =========================================================
   WEDDING DETAILS
   ========================================================= */

.events-section {
    background: #F3F1E9;
}

    .events-section .section-heading h2 {
        margin-bottom: 10px;
    }

.event-card {
    position: relative;
    min-height: 430px;
    padding: 55px 52px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(89,102,83,.12);
    border-radius: 0;
    box-shadow: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }

    .event-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: var(--sage);
    }

.event-number {
    position: absolute;
    top: -10px;
    right: 22px;
    color: rgba(142,155,123,.10);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 150px;
    font-weight: 500;
    line-height: 1;
    pointer-events: none;
}

.day-card-header,
.event-details {
    position: relative;
    z-index: 1;
}

.event-day {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--camel-deep);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.day-card-header h3 {
    margin-bottom: 2px;
    font-size: 49px;
    line-height: 1;
}

.event-date-sub {
    /*color: var(--sage-deep);*/
    color: var(--forest);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .4px;
}

.event-details {
    margin-top: 45px;
}

    .event-details .event-label {
        margin: 20px 0 2px;
        color: var(--camel-deep);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2.6px;
        text-transform: uppercase;
    }

    .event-details p {
        margin-bottom: 6px;
    }

/* For future maps button */
.event-location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 11px 22px;
    background: transparent;
    color: var(--sage-deep) !important;
    border: 1px solid var(--sage-deep);
    border-radius: 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .25s ease;
}

    .event-location-btn:hover {
        background: var(--sage-deep);
        color: #fff !important;
    }

/* =========================================================
   THEME
   ========================================================= */

.theme-section {
    overflow: hidden;
    background: var(--sage-deep);
    color: rgba(255,255,255,.78);
}

    .theme-section .section-eyebrow {
        color: var(--camel-soft);
    }

    .theme-section h2 {
        color: #fff;
    }

.theme-lead {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255,255,255,.76);
    font-size: 17px;
    line-height: 1.9;
}

.palette {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 42px auto 0;
}

.palette-swatch {
    display: block;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(25,33,24,.13);
    transition: transform .25s ease;
}

    .palette-swatch:hover {
        transform: translateY(-5px);
    }

.palette-sage-dark {
    background: #596653;
}

.palette-sage {
    background: #8E9B7B;
}

.palette-sage-light {
    background: #B7C0A8;
}

.palette-camel {
    background: #C19A6B;
}

.palette-sand {
    background: #E9DDCB;
}

.palette-ivory {
    background: #FAF8F2;
}

/* =========================================================
   GIFTS
   ========================================================= */

.registry-section {
    background: var(--ivory);
}

.registry-card {
    width: 100%;
    max-width: 960px;
    padding: 72px 80px;
    background: transparent;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
}

    .registry-card h2 {
        margin-bottom: 22px;
    }

    .registry-card p {
        max-width: 680px;
        margin: 0 auto;
        color: var(--muted);
        font-size: 16px;
        line-height: 1.9;
    }

/* Future registry store cards */
.registry-stores {
    margin-top: 35px;
}

.registry-store {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
}

    .registry-store img {
        width: auto;
        height: auto;
        max-width: 145px;
        max-height: 50px;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: .66;
    }

/* =========================================================
   RSVP
   ========================================================= */

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

.rsvp-card {
    padding: 70px 68px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: var(--shadow);
}

.rsvp-heading {
    max-width: 680px;
    margin: 0 auto 45px;
}

    .rsvp-heading p {
        margin-bottom: 0;
        color: var(--muted);
        line-height: 1.85;
    }

.rsvp-card .form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--forest);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
}

.rsvp-card .required {
    color: var(--camel-deep);
}

.rsvp-card .form-control,
.rsvp-card .form-select {
    min-height: 54px;
    padding: 13px 15px;
    background-color: #FCFBF7;
    border: 1px solid rgba(89,102,83,.22);
    border-radius: 0;
    color: var(--forest);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .rsvp-card .form-control:focus,
    .rsvp-card .form-select:focus {
        background: #fff;
        border-color: var(--sage);
        box-shadow: 0 0 0 3px rgba(142,155,123,.11);
    }

.rsvp-help {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
}

.rsvp-submit-btn {
    margin-top: 12px;
    padding: 14px 36px;
    background: var(--sage-deep);
    border: 1px solid var(--sage-deep);
    border-radius: 0;
    color: #fff !important;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

    .rsvp-submit-btn:hover {
        background: var(--camel-deep);
        border-color: var(--camel-deep);
        transform: translateY(-2px);
    }

.rsvp-message {
    margin-top: 10px;
}

/* =========================================================
   CONTACT
   ========================================================= */

.wedding-contact-section {
    padding: 68px 0;
    background: var(--sage-deep);
    color: rgba(255,255,255,.78);
}

.contact-card .section-eyebrow {
    color: var(--camel-soft);
}

.contact-card h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 36px;
}

.contact-intro {
    max-width: 580px;
    margin: 0 auto;
    color: rgba(255,255,255,.72);
}

.contact-person {
    padding: 12px;
}

    .contact-person h4 {
        color: #fff !important;
    }

.contact-number {
    color: var(--sand) !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

.wedding-footer,
footer.wedding-footer {
    padding: 52px 0 45px;
    background: #273027 !important;
    color: rgba(255,255,255,.58);
}

.footer-monogram {
    margin-bottom: 7px;
    color: var(--camel-soft);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: .08em;
}

.footer-date {
    margin-bottom: 18px;
    color: rgba(255,255,255,.72);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-copy {
    font-size: 11px;
}

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

.music-toggle {
    position: fixed;
    left: 20px;
    bottom: 28px;
    width: 46px;
    height: 46px;
    padding: 0;
    z-index: 9998;
    background: var(--camel);
    color: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(48,57,47,.18);
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

    .music-toggle:hover {
        background: var(--camel-deep);
    }

    .music-toggle.playing {
        animation: musicPulse 1.8s ease-in-out infinite;
    }

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

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

/* =========================================================
   PRELOADER
   ========================================================= */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ivory);
}

    #preloader.preloader-hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .3s ease, visibility .3s ease;
    }

.heart-loader {
    text-align: center;
}

    .heart-loader .heart {
        display: inline-block;
        margin: 0 4px;
        color: var(--sage);
        font-size: 28px;
        line-height: 1;
        animation: weddingHeartBeat 1.2s ease-in-out infinite;
        transform-origin: center;
    }

        .heart-loader .heart:nth-child(2) {
            color: var(--camel);
            font-size: 42px;
            animation-delay: .15s;
        }

        .heart-loader .heart:nth-child(3) {
            animation-delay: .3s;
        }

    .heart-loader .loading-text {
        margin-top: 18px;
        color: var(--sage-deep);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 3px;
        text-transform: uppercase;
        animation: weddingLoadingFade 1.8s ease-in-out infinite;
    }

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

    20% {
        transform: scale(1.25);
    }

    40% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.15);
    }

    80% {
        transform: scale(1);
    }
}

@keyframes weddingLoadingFade {
    0%,100% {
        opacity: .45;
    }

    50% {
        opacity: 1;
    }
}

/* =========================================================
   BACK TO TOP / GENERIC TEMPLATE OVERRIDES
   ========================================================= */

#back-to-top,
.bg-color,
a.btn-custom,
.btn-custom {
    background-color: var(--sage-deep) !important;
}

.id-color,
.de_testi_by {
    color: var(--camel-deep) !important;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}

    .scroll-reveal.reveal-left {
        transform: translate3d(-38px, 0, 0);
    }

    .scroll-reveal.reveal-right {
        transform: translate3d(38px, 0, 0);
    }

    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translate3d(0,0,0);
    }

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

@media (max-width: 991.98px) {

    header.wedding-header {
        height: 70px;
    }

        header.wedding-header .container,
        header.wedding-header .row,
        header.wedding-header .col-md-12 {
            position: relative;
            overflow: visible !important;
        }

        header.wedding-header.scrolled {
            height: 70px;
        }

            header.wedding-header div#logo h2,
            header.wedding-header.scrolled div#logo h2 {
                margin-top: 16px;
                font-size: 34px;
            }

    #menu-btn {
        display: block !important;
        position: absolute !important;
        top: 14px;
        right: 62px;
        float: none !important;
        width: 40px;
        height: 40px;
        margin: 0 !important;
        padding: 6px;
        background: transparent !important;
        color: #fff !important;
        cursor: pointer;
        z-index: 10002;
    }

    header.wedding-header.scrolled #menu-btn {
        color: var(--forest) !important;
    }

    #menu-btn::before {
        display: block;
        color: inherit;
        content: "\f0c9";
        font-family: FontAwesome;
        font-size: 24px;
        line-height: 28px;
    }

    #menu-btn.menu-open::before {
        content: "\f00d";
    }

    header.wedding-header nav {
        display: block !important;
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 10001 !important;
        pointer-events: none;
    }

    #mainmenu {
        display: block !important;
        width: 100% !important;
        max-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        background: var(--ivory) !important;
        box-shadow: 0 18px 40px rgba(48,57,47,.12);
        transform: translateY(-10px);
        transition: opacity .25s ease, transform .25s ease, max-height .35s ease, visibility .25s ease;
    }

        #mainmenu.mobile-menu-open {
            max-height: 430px;
            padding: 8px 0 !important;
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
        }

    header.wedding-header nav:has(#mainmenu.mobile-menu-open) {
        pointer-events: auto;
    }

    #mainmenu > li {
        display: block !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header.wedding-header #mainmenu > li > a,
    header.wedding-header:not(.scrolled) #mainmenu > li > a,
    header.wedding-header.scrolled #mainmenu > li > a {
        display: block !important;
        width: 100%;
        padding: 13px 24px !important;
        color: var(--forest) !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(48,57,47,.07);
        font-size: 11px;
        text-align: left;
        opacity: 1 !important;
    }

    #mainmenu > li:last-child > a {
        border-bottom: 0;
    }

    header.wedding-header #mainmenu > li > a:hover {
        padding-left: 30px !important;
        color: var(--camel-deep) !important;
        background: rgba(142,155,123,.06) !important;
    }

    /* No decorative heart separators on mobile */
    #mainmenu.heart-separator li a::after {
        display: none !important;
    }

    .wedding-hero .hero-content {
        padding-top: 72px;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .wedding-section {
        padding: 78px 0;
    }

    .section-heading {
        margin-bottom: 42px;
    }

        .section-heading h2,
        .theme-section h2,
        .registry-card h2,
        .rsvp-heading h2 {
            font-size: 39px;
        }

    #section-home {
        min-height: 620px;
        height: 78vh;
    }

    .hero-kicker {
        margin-bottom: 22px;
        font-size: 9px;
        letter-spacing: 3.2px;
    }

    .hero-names {
        flex-direction: column;
        gap: 0;
    }

    .hero-name {
        font-size: clamp(42px, 14vw, 60px) !important;
        line-height: .88;
    }

    .hero-ampersand {
        margin: 6px 0;
        font-size: 45px;
        line-height: .75;
    }

    .hero-tagline {
        margin-top: 22px;
        font-size: 18px;
    }

    .invitation-card {
        padding: 25px 5px;
    }

    .invitation-message {
        font-size: 19px;
    }

    .invitation-couple {
        font-size: clamp(52px, 15vw, 68px);
    }

    .invitation-date-block {
        margin: 32px auto 34px;
    }

    .wedding-countdown > div {
        padding: 20px 4px 17px;
    }

    .wedding-countdown strong {
        font-size: 29px;
    }

    .wedding-countdown span {
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .event-card {
        min-height: 370px;
        padding: 42px 28px;
    }

    .event-number {
        right: 12px;
        font-size: 115px;
    }

    .day-card-header h3 {
        font-size: 42px;
    }

    .event-details {
        margin-top: 32px;
    }

    .palette {
        gap: 11px;
    }

    .palette-swatch {
        width: 47px;
        height: 47px;
    }

    .registry-card {
        padding: 48px 10px;
    }

    .rsvp-card {
        padding: 48px 22px;
    }

    .rsvp-heading {
        margin-bottom: 34px;
    }

    .wedding-contact-section {
        padding: 55px 0;
    }
}

/* Mobile landscape: hide D & E monogram */
@media (max-width: 767.98px) and (orientation: landscape) {
    header.wedding-header #logo {
        display: none !important;
    }

    #section-home {
        min-height: 470px;
        height: 100vh;
    }

    .hero-name {
        font-size: 64px;
    }
}

/* Small phones */
@media (max-width: 390px) {

    .hero-name {
        font-size: 65px;
    }

    .wedding-countdown strong {
        font-size: 25px;
    }

    .wedding-countdown span {
        letter-spacing: .8px;
    }

    .palette-swatch {
        width: 42px;
        height: 42px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

    .scroll-reveal,
    .scroll-reveal.reveal-left,
    .scroll-reveal.reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-scroll-link i,
    .heart-loader .heart,
    .heart-loader .loading-text,
    .music-toggle.playing {
        animation: none !important;
    }
}


/* =========================================================
   DOCTOR & EMMA - REDESIGNED INTRO VERSE
   ========================================================= */

.intro-verse {
    position: relative;
    max-width: 720px;
    margin: 0 auto 65px;
    padding: 15px 30px 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: center;
}

    .intro-verse .verse-mark {
        display: block;
        height: 48px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 82px;
        font-weight: 400;
        line-height: .8;
        color: var(--camel);
        opacity: .75;
        background: transparent !important;
    }

    .intro-verse blockquote {
        margin: 10px 0 22px;
        padding: 0;
        /* Override legacy template blockquote styling */
        background: transparent !important;
        background-color: transparent !important;
        border: 0 !important;
        border-left: 0 !important;
        box-shadow: none !important;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(25px, 3vw, 34px);
        font-weight: 400;
        font-style: italic;
        line-height: 1.45;
        letter-spacing: -.01em;
        /*color: var(--sage-deep);*/
        color: var(--forest);
    }

    .intro-verse .verse-reference {
        display: block;
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: .28em;
        text-transform: uppercase;
        color: var(--camel-deep);
        background: transparent !important;
    }

.invitation-divider {
    display: flex;
    justify-content: center;
    margin: 0 auto 55px;
}

    .invitation-divider span {
        position: relative;
        display: block;
        width: 90px;
        height: 1px;
        background: rgba(89, 102, 83, .25);
    }

        .invitation-divider span::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 7px;
            height: 7px;
            background: var(--camel);
            transform: translate(-50%, -50%) rotate(45deg);
        }


/* =========================================================
   DOCTOR & EMMA - FEATURE COUNTDOWN
   ========================================================= */

#section-countdown {
    position: relative;
    overflow: hidden;
    padding: 125px 20px;
    background: var(--sand);
    text-align: center;
}

    #section-countdown::before,
    #section-countdown::after {
        content: "";
        position: absolute;
        width: 390px;
        height: 390px;
        border: 1px solid rgba(89, 102, 83, .11);
        border-radius: 50%;
        pointer-events: none;
    }

    #section-countdown::before {
        top: -245px;
        left: -125px;
    }

    #section-countdown::after {
        right: -145px;
        bottom: -260px;
    }

.countdown-feature {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.countdown-eyebrow {
    display: block;
    margin-bottom: 38px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--camel-deep);
}

.countdown-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-days {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(115px, 16vw, 190px);
    font-weight: 400;
    line-height: .72;
    letter-spacing: -.045em;
    color: var(--sage-deep);
}

.countdown-days-label {
    display: block;
    margin-top: 28px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--muted);
}

.countdown-time {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 58px;
    margin-top: 55px;
}

.countdown-time-item {
    position: relative;
    min-width: 82px;
}

    .countdown-time-item:not(:last-child)::after {
        content: ":";
        position: absolute;
        top: -8px;
        right: -34px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 39px;
        font-weight: 400;
        color: var(--camel);
    }

.countdown-time-number {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1;
    color: var(--forest);
}

.countdown-time-label {
    display: block;
    margin-top: 11px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--muted);
}

.countdown-wedding-date {
    display: inline-block;
    margin-top: 58px;
    padding: 14px 30px;
    border-top: 1px solid rgba(89, 102, 83, .24);
    border-bottom: 1px solid rgba(89, 102, 83, .24);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--sage-deep);
}


/* =========================================================
   BACK TO TOP - LIGHT DIAMOND
   ========================================================= */

#back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
}

    #back-to-top::before {
        content: "";
        position: absolute;
        width: 36px;
        height: 36px;
        background: rgba(250, 248, 242, .96);
        border: 1px solid var(--camel);
        transform: rotate(45deg);
        box-shadow: 0 7px 20px rgba(48, 57, 47, .11);
        transition: background-color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
    }

    #back-to-top::after {
        content: "";
        position: relative;
        z-index: 2;
        width: 9px;
        height: 9px;
        margin-top: 5px;
        border-top: 1.5px solid var(--sage-deep);
        border-left: 1.5px solid var(--sage-deep);
        transform: rotate(45deg);
        transition: border-color .3s ease, margin-top .3s ease;
    }

    #back-to-top i {
        display: none !important;
    }

    #back-to-top:hover::before {
        background: var(--sage-deep);
        border-color: var(--sage-deep);
        transform: rotate(45deg) scale(1.08);
        box-shadow: 0 10px 25px rgba(48, 57, 47, .18);
    }

    #back-to-top:hover::after {
        border-color: var(--ivory);
        margin-top: 0;
    }


/* =========================================================
   REDESIGN RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {
    .intro-verse {
        margin-bottom: 48px;
        padding: 10px 5px 0;
    }

        .intro-verse .verse-mark {
            height: 40px;
            font-size: 68px;
        }

        .intro-verse blockquote {
            font-size: 25px;
            line-height: 1.5;
        }

        .intro-verse .verse-reference {
            font-size: 11px !important;
            letter-spacing: .22em;
        }

    .invitation-divider {
        margin-bottom: 43px;
    }

    #section-countdown {
        padding: 90px 15px;
    }

        #section-countdown::before,
        #section-countdown::after {
            width: 260px;
            height: 260px;
        }

    .countdown-eyebrow {
        margin-bottom: 32px;
        font-size: 10px;
        letter-spacing: .26em;
    }

    .countdown-days {
        font-size: clamp(100px, 32vw, 145px);
    }

    .countdown-time {
        gap: 30px;
        margin-top: 48px;
    }

    .countdown-time-item {
        min-width: 62px;
    }

        .countdown-time-item:not(:last-child)::after {
            right: -18px;
            font-size: 30px;
        }

    .countdown-time-number {
        font-size: 36px;
    }

    .countdown-time-label {
        font-size: 8px;
        letter-spacing: .16em;
    }

    .countdown-wedding-date {
        margin-top: 48px;
        padding: 12px 16px;
        font-size: 9px;
        letter-spacing: .22em;
    }

    #back-to-top {
        right: 18px;
        bottom: 20px;
        width: 46px;
        height: 46px;
    }

        #back-to-top::before {
            width: 33px;
            height: 33px;
        }
}


/* =========================================================
   FINAL AMPERSAND CONSISTENCY
   Match hero and invitation ampersands to the logo ampersand
   ========================================================= */

.hero-ampersand,
.invitation-couple span {
    margin-left: .08em !important;
    margin-right: .08em !important;
    color: var(--camel-soft) !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    /* font-size: .8em !important;*/
    font-weight: inherit !important;
    font-style: italic !important;
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: baseline !important;
    transform: none !important;
}

@media (max-width: 767px) {
    .hero-ampersand {
        margin-top: 6px !important;
        margin-bottom: 6px !important;
        margin-left: .08em !important;
        margin-right: .08em !important;
        font-size: .8em !important;
        line-height: 1 !important;
    }
}


/* =========================================================
   VISUAL SHARPNESS / CONTRAST
   ========================================================= */

html,
body {
    -webkit-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}

body {
    color: #484d46;
}

/* Main serif typography */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-name,
.invitation-couple,
.intro-verse blockquote,
.countdown-days,
.countdown-time-number {
    font-weight: 500;
    text-shadow: none !important;
    filter: none !important;
}

/* Body / UI typography */
p,
li,
a,
label,
input,
select,
textarea,
button {
    text-shadow: none !important;
    filter: none !important;
}

/* Slightly stronger normal copy */
p {
    color: #51564f;
}

/* Don't allow inherited template opacity on content */
.wedding-section .container,
.invitation-card,
.event-card,
.registry-card,
.rsvp-card,
.contact-card {
    filter: none !important;
}

/* Sharper small uppercase text */
.section-eyebrow,
.hero-kicker,
.event-day,
.countdown-eyebrow,
.countdown-time-label,
.countdown-days-label,
.countdown-wedding-date {
    font-weight: 600;
}

/* =========================================================
   GIFT REGISTRY STORES
   ========================================================= */

.registry-intro {
    max-width: 620px;
    margin: 0 auto;
}

.registry-stores {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 780px;
    margin: 45px auto 0;
    border-top: 1px solid rgba(89, 102, 83, .18);
    border-bottom: 1px solid rgba(89, 102, 83, .18);
}

.registry-store {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 105px;
    padding: 20px 25px;
}

    .registry-store + .registry-store {
        border-left: 1px solid rgba(89, 102, 83, .18);
    }

    .registry-store span {
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 26px;
        font-weight: 500;
        line-height: 1.2;
        color: var(--sage-deep);
    }

.registry-other-gifts {
    max-width: 560px;
    margin: 38px auto 0;
}

.registry-divider {
    display: block;
    width: 30px;
    height: 1px;
    margin: 0 auto 18px;
    background: var(--camel);
}

.registry-other-gifts p {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--text);
}


/* Mobile */

@media (max-width: 767px) {

    .registry-stores {
        display: block;
        max-width: 380px;
        margin-top: 35px;
    }

    .registry-store {
        min-height: 82px;
        padding: 18px 20px;
    }

        .registry-store + .registry-store {
            border-left: 0;
            border-top: 1px solid rgba(89, 102, 83, .18);
        }

        .registry-store span {
            font-size: 24px;
        }

    .registry-other-gifts {
        margin-top: 32px;
    }
}
/* =========================================================
   EVENT LOCATION BUTTON
   ========================================================= */

.event-location {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 13px 24px;
    background: var(--sage-deep);
    border: 1px solid var(--sage-deep);
    color: var(--ivory) !important;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}

    .location-btn span {
        font-size: 16px;
        line-height: 1;
        transition: transform .3s ease;
    }

    .location-btn:hover {
        background: var(--camel);
        border-color: var(--camel);
        color: var(--ivory) !important;
        transform: translateY(-2px);
    }

        .location-btn:hover span {
            transform: translateX(4px);
        }

.invitation-date-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
}

.invitation-date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.invitation-date-separator {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
    color: var(--camel);
}

@media (max-width: 767px) {
    .invitation-date-block {
        gap: 20px;
    }

    .invitation-couple {
        font-size: clamp(35px, 10vw, 48px);
    }

    .invitation-date-separator {
        font-size: 26px;
    }
}

.invitation-couple {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 22px 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    text-align: center;
}


    /* Couple names */

    .invitation-couple .couple-name {
        display: block;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(36px, 4.5vw, 52px);
        font-weight: 600;
        line-height: 1.05;
        color: var(--forest) !important;
        /*color: #65745F !important;*/
    }


    /* Ampersand */

    .invitation-couple .couple-ampersand {
        display: block;
        margin: 3px 0;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 32px;
        font-weight: 400;
        font-style: italic;
        line-height: 1;
        color: var(--camel-soft) !important;
    }


/* Mobile */

@media (max-width: 767px) {

    .invitation-couple .couple-name {
        font-size: 34px;
    }

    .invitation-couple .couple-ampersand {
        font-size: 27px;
        margin: 2px 0;
    }
}

/* =========================================================
   CONTACT PEOPLE
   ========================================================= */

.contact-people {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 850px;
    margin: 50px auto 0;
}

.contact-person {
    flex: 1;
    padding: 15px 45px;
    text-align: center;
}

    .contact-person + .contact-person {
        border-left: 1px solid rgba(250, 248, 242, .25);
    }

    .contact-person h3 {
        margin: 0 0 12px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 28px;
        font-weight: 600;
        color: var(--ivory);
    }

.contact-number,
.contact-number:visited {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--ivory) !important;
    text-decoration: none;
}

    .contact-number:hover {
        color: var(--camel-soft) !important;
    }

.contact-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-number-separator {
    color: var(--camel-soft);
}


/* Mobile */

@media (max-width: 767px) {

    .contact-people {
        display: block;
        margin-top: 35px;
    }

    .contact-person {
        padding: 25px 15px;
    }

        .contact-person + .contact-person {
            border-left: 0;
            border-top: 1px solid rgba(250, 248, 242, .20);
        }

        .contact-person h3 {
            font-size: 26px;
        }

    .contact-numbers {
        flex-wrap: wrap;
    }
}

.event-notice {
    max-width: 430px;
    margin: 32px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(89, 102, 83, .18);
    text-align: center;
}

.event-notice-title {
    display: block;
    margin-bottom: 12px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--camel-deep);
}

.event-notice p {
    margin: 0 auto 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text);
}

    .event-notice p:last-child {
        margin-bottom: 0;
    }

.info-i {
    color: var(--sage) !important;
}

/* Main sections */
.wedding-section {
    padding: 70px 0;
}

/* Section heading spacing */
.section-heading {
    margin: 0 auto 40px;
}

/* Invitation */
#section-invitation {
    padding-top: 50px;
    padding-bottom: 65px;
}

/* Countdown */
#section-countdown {
    padding: 60px 20px;
}

/* Contact */
.wedding-contact-section {
    padding: 55px 0;
}

@media (max-width: 767.98px) {

    .wedding-section {
        padding: 50px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    #section-invitation {
        padding-top: 35px;
        padding-bottom: 50px;
    }

    #section-countdown {
        padding: 50px 15px;
    }

    .wedding-contact-section {
        padding: 45px 0;
    }
}
/* =========================================================
   DOCTOR & EMMA - PHOTO INVITATION LAYOUT
   Final integrated override
   Designed for portrait photographs around 1066 x 1600
   ========================================================= */

#section-invitation.invitation-section {
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 0 0, rgba(183, 192, 168, .22), transparent 27%), radial-gradient(circle at 100% 100%, rgba(193, 154, 107, .12), transparent 30%), var(--ivory);
}

    #section-invitation.invitation-section::before,
    #section-invitation.invitation-section::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(89, 102, 83, .11);
        border-radius: 50%;
        pointer-events: none;
    }

    #section-invitation.invitation-section::before {
        width: 380px;
        height: 380px;
        left: -220px;
        top: 60px;
    }

    #section-invitation.invitation-section::after {
        width: 500px;
        height: 500px;
        right: -330px;
        bottom: -160px;
    }

#section-invitation .invitation-card.invitation-card-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(320px, .88fr) minmax(430px, 1.12fr);
    width: 100%;
    max-width: 1120px;
    min-height: 650px;
    margin: 0 auto;
    padding: 28px;
    overflow: hidden;
    background: rgba(250, 248, 242, .94);
    border: 1px solid rgba(48, 57, 47, .12);
    box-shadow: 0 24px 65px rgba(48, 57, 47, .08);
    filter: none !important;
}

/* Portrait couple photograph */
#section-invitation .invitation-photo {
    position: relative;
    min-height: 594px;
    overflow: hidden;
    background: var(--sage-pale);
}

    #section-invitation .invitation-photo::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient(180deg, rgba(48, 57, 47, 0) 68%, rgba(48, 57, 47, .10) 100%);
        pointer-events: none;
    }

    #section-invitation .invitation-photo::after {
        content: "";
        position: absolute;
        z-index: 3;
        inset: 16px;
        border: 1px solid rgba(250, 248, 242, .40);
        pointer-events: none;
    }

#section-invitation .invitation-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 30%;
    transition: transform 1.1s ease;
}

#section-invitation .invitation-card-split:hover .invitation-photo-img {
    transform: scale(1.02);
}

/* Invitation copy */
#section-invitation .invitation-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 45px 50px;
    text-align: center;
}

    #section-invitation .invitation-content::before {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        right: -105px;
        bottom: -105px;
        border: 1px solid rgba(158, 172, 145, .13);
        border-radius: 50%;
        pointer-events: none;
    }

/* Scripture */
#section-invitation .intro-verse {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: center;
}

    #section-invitation .intro-verse .verse-mark {
        display: block;
        height: 38px;
        margin: 0 0 7px;
        background: transparent !important;
        color: var(--camel);
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 66px;
        font-weight: 400;
        line-height: .8;
        opacity: .78;
    }

    #section-invitation .intro-verse blockquote {
        margin: 0;
        padding: 0;
        background: transparent !important;
        background-color: transparent !important;
        border: 0 !important;
        border-left: 0 !important;
        box-shadow: none !important;
        color: var(--forest);
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(20px, 2vw, 25px);
        font-weight: 500;
        font-style: italic;
        line-height: 1.48;
        letter-spacing: -.01em;
    }

    #section-invitation .intro-verse .verse-reference {
        display: block;
        margin-top: 15px;
        background: transparent !important;
        color: var(--camel-deep);
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .24em;
        text-transform: uppercase;
    }

/* Divider */
#section-invitation .invitation-divider {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 27px auto 25px;
}

    #section-invitation .invitation-divider span {
        position: relative;
        display: block;
        width: 90px;
        height: 1px;
        background: rgba(89, 102, 83, .25);
    }

        #section-invitation .invitation-divider span::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 7px;
            height: 7px;
            background: var(--camel);
            transform: translate(-50%, -50%) rotate(45deg);
        }

/* Together with their families */
#section-invitation .invitation-family {
    max-width: none;
    margin: 0 0 20px;
    color: var(--sage-deep);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .22em;
    text-transform: uppercase;
}

/* Couple names */
#section-invitation .invitation-couple {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin: 0;
    color: var(--forest);
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1;
    text-align: center;
}

    #section-invitation .invitation-couple .couple-name {
        display: block;
        margin: 0;
        color: var(--forest) !important;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(39px, 4.1vw, 53px);
        font-weight: 600;
        line-height: 1.02;
        letter-spacing: -.025em;
    }

    #section-invitation .invitation-couple .couple-ampersand {
        display: block !important;
        margin: 8px 0 7px !important;
        color: var(--camel-soft) !important;
        font-family: "Cormorant Garamond", Georgia, serif !important;
        font-size: 34px !important;
        font-weight: 400 !important;
        font-style: italic !important;
        line-height: .8 !important;
        transform: none !important;
    }

/* Closing invitation line */
#section-invitation .invitation-closing {
    max-width: 390px;
    margin: 24px auto 0;
    color: var(--forest);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px !important;
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
}

/* =========================================================
   PHOTO INVITATION - TABLET
   ========================================================= */

@media (max-width: 991.98px) {
    #section-invitation .invitation-card.invitation-card-split {
        grid-template-columns: minmax(275px, .85fr) minmax(370px, 1.15fr);
        min-height: 590px;
        padding: 22px;
    }

    #section-invitation .invitation-photo {
        min-height: 546px;
    }

    #section-invitation .invitation-content {
        padding: 35px 30px;
    }

    #section-invitation .intro-verse blockquote {
        font-size: 20px;
    }

    #section-invitation .invitation-couple .couple-name {
        font-size: clamp(36px, 4.5vw, 46px);
    }
}

/* =========================================================
   PHOTO INVITATION - MOBILE
   ========================================================= */

@media (max-width: 767.98px) {
    #section-invitation.invitation-section {
        padding-top: 40px;
        padding-bottom: 55px;
    }

    #section-invitation .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    #section-invitation .invitation-card.invitation-card-split {
        display: block;
        width: 100%;
        min-height: 0;
        padding: 10px;
    }

    #section-invitation .invitation-photo {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1066 / 1600;
    }

        #section-invitation .invitation-photo::after {
            inset: 10px;
        }

    #section-invitation .invitation-photo-img {
        object-position: 50% 28%;
    }

    #section-invitation .invitation-content {
        padding: 44px 20px 38px;
    }

    #section-invitation .intro-verse {
        margin: 0 auto;
        padding: 0;
    }

        #section-invitation .intro-verse .verse-mark {
            height: 35px;
            font-size: 58px;
        }

        #section-invitation .intro-verse blockquote {
            font-size: 20px;
            line-height: 1.48;
        }

        #section-invitation .intro-verse .verse-reference {
            font-size: 9px;
            letter-spacing: .20em;
        }

    #section-invitation .invitation-divider {
        margin: 24px auto 22px;
    }

    #section-invitation .invitation-family {
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: .18em;
    }

    #section-invitation .invitation-couple .couple-name {
        font-size: 38px;
    }

    #section-invitation .invitation-couple .couple-ampersand {
        margin: 7px 0 6px !important;
        font-size: 29px !important;
    }

    #section-invitation .invitation-closing {
        margin-top: 22px;
        font-size: 17px;
    }
}

@media (max-width: 420px) {
    #section-invitation .invitation-card.invitation-card-split {
        padding: 8px;
    }

    #section-invitation .invitation-content {
        padding: 40px 14px 35px;
    }

    #section-invitation .intro-verse blockquote br {
        display: none;
    }

    #section-invitation .invitation-couple .couple-name {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #section-invitation .invitation-photo-img {
        transition: none !important;
    }

    #section-invitation .invitation-card-split:hover .invitation-photo-img {
        transform: none !important;
    }
}

/* =========================================================
   DOCTOR & EMMA - COUPLE PHOTO MOMENT
   ========================================================= */

.couple-photo-moment {
    position: relative;
    overflow: hidden;
    padding: 28px 0;
    background: var(--ivory);
}


/* Three-image editorial strip */

.couple-photo-strip {
    display: grid;
    grid-template-columns: 1fr 1.18fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 22px;
}


/* Individual photographs */

.couple-strip-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--sage-pale);
}


/* Outer photos */

.couple-strip-photo-1,
.couple-strip-photo-3 {
    height: 480px;
    margin-top: 34px;
    margin-bottom: 34px;
}


/* Centre photo slightly larger */

.couple-strip-photo-2 {
    height: 548px;
}


/* Images */

.couple-strip-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
}


/*
   Different crops give the strip a more editorial feel.

   Adjust these individually depending on each photograph.
*/

.couple-strip-photo-1 img {
    object-position: 50% 30%;
}

.couple-strip-photo-2 img {
    object-position: 50% 25%;
}

.couple-strip-photo-3 img {
    object-position: 50% 35%;
}


/* Very subtle overlay */

.couple-strip-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(48, 57, 47, .01), rgba(48, 57, 47, .08) );
    pointer-events: none;
}


/* Fine inner frame */

.couple-strip-photo::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .42);
    pointer-events: none;
}


/* Gentle interaction */

.couple-strip-photo:hover img {
    transform: scale(1.025);
}


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

@media (max-width: 991.98px) {

    .couple-photo-moment {
        padding: 24px 0;
    }

    .couple-photo-strip {
        gap: 9px;
        padding: 0 14px;
    }

    .couple-strip-photo-1,
    .couple-strip-photo-3 {
        height: 390px;
        margin-top: 27px;
        margin-bottom: 27px;
    }

    .couple-strip-photo-2 {
        height: 444px;
    }
}


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

@media (max-width: 767.98px) {

    .couple-photo-moment {
        padding: 16px 0;
    }

    .couple-photo-strip {
        /*
           Keep all three photographs visible rather than
           stacking them into three very tall images.
        */
        grid-template-columns: .88fr 1.12fr .88fr;
        gap: 5px;
        padding: 0 7px;
    }

    .couple-strip-photo-1,
    .couple-strip-photo-3 {
        height: 260px;
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .couple-strip-photo-2 {
        height: 296px;
    }

    .couple-strip-photo::before {
        inset: 6px;
    }
}


/* Smaller phones */

@media (max-width: 420px) {

    .couple-photo-strip {
        gap: 4px;
        padding: 0 5px;
    }

    .couple-strip-photo-1,
    .couple-strip-photo-3 {
        height: 225px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .couple-strip-photo-2 {
        height: 255px;
    }
}


/* Accessibility */

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

    .couple-strip-photo img {
        transition: none;
    }

    .couple-strip-photo:hover img {
        transform: none;
    }
}