@font-face {
    font-family: "New Icon Serif";
    src: url("../fonts/canva-serif.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --cream: #FAF6F0;
    --dark: #2C2521;
    --accent: #B8956A;
    --accent-light: #E8D5BC;
    --white: #FFFFFF;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Lora", Georgia, serif;
    color: var(--dark);
    background: var(--cream);
    margin: 0
}

.script {
    font-family: "Alex Brush", cursive
}

.section-title {
    font-family: "Lora", serif;
    font-size: 1.75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0
}

.divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.25rem auto;
    max-width: 180px
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--accent)
}

.divider span {
    color: var(--accent)
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 2rem;
    transition: background .35s, padding .35s, box-shadow .35s
}

#navbar.scrolled {
    background: rgba(255, 255, 255, .97);
    padding: .6rem 2rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .07)
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto
}

.nav-logo {
    font-family: "Alex Brush", cursive;
    font-size: 2rem;
    color: var(--white);
    text-decoration: none;
    transition: color .3s;
    line-height: 1
}

#navbar.scrolled .nav-logo {
    color: var(--dark)
}

#navMenu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0
}

#navMenu li a {
    font-family: "Lora", serif;
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    transition: color .2s
}

#navbar.scrolled #navMenu li a {
    color: var(--dark)
}

#navMenu li a:hover {
    color: var(--accent)
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: background .3s
}

#navbar.scrolled .nav-toggle span {
    background: var(--dark)
}

@media(max-width:768px) {
    .nav-toggle {
        display: flex
    }

    #navMenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, .97);
        flex-direction: column;
        gap: 0;
        padding: .5rem 0;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .07)
    }

    #navMenu.open {
        display: flex
    }

    #navMenu li a {
        display: block;
        padding: .75rem 2rem;
        color: var(--dark)
    }
}

/* ── Hero: dark green typographic ── */
#hero {
    height: 100vh;
    min-height: 620px;
    background-color: #3A5038;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.hero-botanical {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(390px, 54vw, 720px);
    opacity: .88;
    pointer-events: none;
    z-index: 1
}

.hero-welcome {
    position: absolute;
    top: clamp(1.4rem, 3vh, 2.6rem);
    right: clamp(1.5rem, 4vw, 3.5rem);
    font-family: "Cinzel", serif;
    font-size: .65rem;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: #D6CAAF;
    z-index: 2;
    opacity: .75
}

.hero-body {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 6vh, 4.5rem) clamp(1rem, 3vw, 3rem) 0 clamp(8rem, 22vw, 30rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.hero-name-block {
    display: flex;
    flex-direction: column;
    gap: 0
}

.hero-name-row {
    display: flex;
    align-items: baseline;
    gap: 0;
    line-height: 1
}

.hero-name-row+.hero-name-row {
    margin-top: -.45em;
    padding-left: clamp(3rem, 8vw, 10rem)
}

.hero-initial {
    font-family: "Alex Brush", cursive;
    font-size: clamp(7.5rem, 20vw, 16rem);
    color: #f3dbb9;
    line-height: .85
}

.hero-rest {
    font-family: "New Icon Serif", "Cinzel", serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 400;
    letter-spacing: -.04em;
    text-transform: uppercase;
    color: #f3dbb9;
    padding-left: .04em
}

.hero-and {
    font-family: "Alex Brush", cursive;
    font-size: clamp(5.6rem, 12vw, 10rem);
    color: #b4b49f;
    opacity: .85;
    padding-left: .1em;
    padding-right: .04em;
    line-height: .9
}

.hero-info-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    align-items: center;
    padding: clamp(1.2rem, 2.5vh, 2rem) clamp(1.5rem, 6vw, 7rem);
    gap: 0
}

.hero-info-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(216, 202, 175, .28);
    justify-self: center
}

.hero-info-col {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 0 1rem;
    align-items: center;
    text-align: center
}

.hero-info-col:first-child {
    padding-left: 0
}

.hero-info-col:last-child {
    padding-right: 0
}

.hi-celebrating {
    grid-column: 1 / -1;
    font-family: "Cinzel", serif;
    font-size: clamp(1.1rem, 2.1vw, 1.6rem);
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #f0f0fa;
    opacity: .7;
    margin: 0 0 1.1rem;
    padding: 0;
    text-align: center
}

.hi-line {
    font-family: "Cinzel", serif;
    font-size: clamp(1.16rem, 2.1vw, 1.64rem);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #dcc9a9;
    font-weight: 400;
    display: block
}

.hi-rsvp-heading {
    font-family: "Cinzel", serif;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    letter-spacing: .22em;
    color: #E8DCC8;
    font-weight: 400;
    display: block;
    border-bottom: 1px solid rgba(216, 202, 175, .45);
    padding-bottom: .28rem;
    margin-bottom: .38rem
}

.hi-rsvp-sub {
    font-family: "Cinzel", serif;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #dcc9a9;
    opacity: .7;
    display: block
}

.hi-rsvp-link {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    transition: opacity .2s
}

.hi-rsvp-link:hover {
    opacity: .75
}

@media(max-width:768px) {
    .hero-welcome {
        display: none
    }

    .hero-botanical {
        width: clamp(180px, 52vw, 280px);
        opacity: .45
    }

    .hero-body {
        padding: 5rem 1.2rem 1rem 1.5rem
    }

    .hero-initial {
        font-size: clamp(3.5rem, 18vw, 5.5rem)
    }

    .hero-rest {
        font-size: clamp(1.6rem, 9vw, 2.8rem)
    }

    .hero-and {
        font-size: clamp(2.6rem, 13vw, 4rem)
    }

    .hero-name-row+.hero-name-row {
        margin-top: -.25em;
        padding-left: clamp(1.2rem, 4vw, 2.5rem)
    }

    .hero-info-bar {
        grid-template-columns: 1fr;
        padding: 1.2rem 1.5rem;
        gap: .9rem
    }

    .hero-info-divider {
        display: none
    }

    .hero-info-col {
        padding: 0
    }

    .hi-celebrating {
        font-size: clamp(.75rem, 3vw, 1rem);
        letter-spacing: .15em;
        margin-bottom: .5rem
    }

    .hi-line {
        font-size: clamp(.9rem, 3.5vw, 1.15rem);
        letter-spacing: .12em
    }

    .hi-rsvp-heading {
        font-size: clamp(.95rem, 3.8vw, 1.2rem);
        letter-spacing: .12em
    }

    .hi-rsvp-sub {
        font-size: clamp(.8rem, 3vw, 1rem);
        letter-spacing: .1em
    }
}

/* ── Extra-small phone: prevent hero name overflow ── */
@media(max-width:480px) {
    .hero-name-row+.hero-name-row {
        padding-left: 0
    }

    .hero-initial {
        font-size: clamp(2.8rem, 15vw, 4rem)
    }

    .hero-and {
        font-size: clamp(1.9rem, 10vw, 2.8rem)
    }

    .hero-rest {
        font-size: clamp(1.3rem, 7.5vw, 1.9rem)
    }

    .hero-body {
        padding: 5rem 1rem 0.5rem 1.2rem
    }
}

#countdown {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 1rem;
    text-align: center
}

.cd-label {
    font-size: .68rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 2rem
}

.cd-grid {
    display: flex;
    justify-content: center;
    align-items: center
}

.cd-box {
    min-width: 100px;
    padding: .5rem 1rem
}

.cd-num {
    font-family: "Lora", serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 400;
    display: block;
    line-height: 1
}

.cd-unit {
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    opacity: .45;
    margin-top: .4rem;
    display: block
}

.cd-sep {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    opacity: .25;
    padding-bottom: 1.4rem
}

@media(max-width:400px) {
    .cd-box {
        min-width: 72px;
        padding: .5rem
    }
}

section {
    padding: 5.5rem 0
}

.bg-white {
    background: var(--white)
}

.bg-cream {
    background: var(--cream)
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem
}

.story-text {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.025rem;
    line-height: 1.95;
    font-style: italic;
    color: #585048
}

.story-text p+p {
    margin-top: 1.25rem
}

#gallery {
    padding: 5.5rem 0
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px
}

@media(max-width:576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
    display: block
}

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

.schedule-wrap {
    max-width: 520px;
    margin: 0 auto
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--accent-light)
}

.schedule-item:last-child {
    border-bottom: none
}

.s-time {
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    min-width: 72px;
    flex-shrink: 0;
    padding-top: .2rem
}

.s-event h4 {
    font-family: "Lora", serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 .2rem
}

.s-event p {
    font-size: .88rem;
    color: #7a6e65;
    margin: 0
}

.venue-map {
    width: 100%;
    height: 340px;
    border: none;
    display: block;
    margin-bottom: 1.25rem
}

.venue-detail {
    font-size: .9rem;
    color: #625850;
    line-height: 1.75;
    margin-bottom: .65rem
}

.venue-detail strong {
    color: var(--dark)
}

.sub-title {
    font-family: "Lora", serif;
    font-size: 1.25rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0 0 .25rem
}

.hotels-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.hotels-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--accent-light);
    font-size: .92rem
}

.hotels-list li:last-child {
    border-bottom: none
}

.hotels-list a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s
}

.hotels-list a:hover {
    color: var(--accent)
}

.hotels-list .dist {
    font-size: .78rem;
    color: var(--accent);
    letter-spacing: .05em;
    flex-shrink: 0;
    margin-left: 1rem
}

.faq-wrap {
    max-width: 660px;
    margin: 0 auto
}

.faq-item {
    border-bottom: 1px solid var(--accent-light)
}

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.35rem 0;
    font-family: "Lora", serif;
    font-size: .975rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    gap: 1rem
}

.faq-btn::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0
}

.faq-btn.open::after {
    content: "−"
}

.faq-answer {
    display: none;
    padding: 0 0 1.35rem;
    font-size: .92rem;
    line-height: 1.85;
    color: #625850
}

.faq-answer.show {
    display: block
}

.fund-box {
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
    padding: 3.5rem 2.5rem;
    border: 1px solid var(--accent-light)
}

.fund-script {
    font-family: "Alex Brush", cursive;
    font-size: 2.8rem;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem
}

.fund-box p {
    font-size: .95rem;
    color: #625850;
    line-height: 1.85
}

.btn-gold {
    display: inline-block;
    margin-top: 1.75rem;
    font-family: "Lora", serif;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--accent);
    padding: .85rem 2.5rem;
    text-decoration: none;
    transition: background .22s
}

.btn-gold:hover {
    background: #9e7d55;
    color: var(--white)
}

#contact {
    background: var(--dark);
    color: var(--white)
}

#contact .section-title {
    color: var(--white)
}

.contact-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap
}

.contact-card {
    text-align: center;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, .1);
    min-width: 240px
}

.contact-card .c-name {
    font-family: "Alex Brush", cursive;
    font-size: 2.6rem;
    color: var(--accent-light);
    margin-bottom: .75rem;
    display: block
}

.contact-card p {
    font-size: .88rem;
    opacity: .65;
    margin: .3rem 0
}

.contact-card a {
    color: inherit;
    text-decoration: none
}

.contact-card a:hover {
    color: var(--accent-light)
}

.see-you {
    font-family: "Alex Brush", cursive;
    font-size: 3rem;
    opacity: .5;
    margin-top: 3rem;
    display: block
}

footer {
    background: #1a1210;
    color: rgba(255, 255, 255, .35);
    text-align: center;
    padding: 2rem;
    font-size: .78rem;
    letter-spacing: .1em
}

/* ── Photo Triptych ── */
#triptych {
    background: var(--cream);
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: flex-start
}

.tripty-item {
    overflow: hidden;
    border-radius: 999px;
    flex-shrink: 0
}

.tripty-item.side {
    width: clamp(140px, 18vw, 240px);
    height: clamp(260px, 33vw, 460px)
}

.tripty-item.center {
    width: clamp(210px, 27vw, 360px);
    height: clamp(260px, 33vw, 460px)
}

.tripty-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block
}

@media(max-width: 640px) {
    #triptych {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 3rem 1.5rem
    }

    .tripty-item.side {
        width: clamp(180px, 65vw, 280px);
        height: clamp(230px, 82vw, 360px)
    }

    .tripty-item.center {
        width: clamp(200px, 72vw, 310px);
        height: clamp(280px, 96vw, 420px)
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s, transform .75s
}

.fade-up.visible {
    opacity: 1;
    transform: none
}