/* ============================================================
   Edna & Pascal Wedding — Main Stylesheet
   Version: 1.0.0
   Elementor-compatible custom CSS
   ============================================================ */

/* ─── 1. TOKENS & VARIABLES ──────────────────────────────── */
:root {
    /* Palette */
    --ep-bg-primary:     #F5F2ED;
    --ep-bg-secondary:   #E8E4E1;
    --ep-bg-tertiary:    #F0F2EE;
    --ep-bg-deep:        #2C2825;

    /* Text */
    --ep-text-dark:      #2C2825;
    --ep-text-mid:       #5A5450;
    --ep-text-soft:      #8C8480;
    --ep-text-light:     #FAF8F5;

    /* Accent — warm antique gold */
    --ep-gold:           #B8975A;
    --ep-gold-light:     #D4B07A;
    --ep-gold-dark:      #8A6E3E;
    --ep-gold-pale:      #E8D5B0;

    /* Typography */
    --ep-font-serif:     'Cormorant Garamond', Georgia, serif;
    --ep-font-script:    'Great Vibes', cursive;
    --ep-font-sans:      'Jost', system-ui, sans-serif;

    /* Spacing */
    --ep-space-xs:   0.5rem;
    --ep-space-sm:   1rem;
    --ep-space-md:   2rem;
    --ep-space-lg:   4rem;
    --ep-space-xl:   7rem;
    --ep-space-2xl: 10rem;

    /* Sizing */
    --ep-radius-sm:  4px;
    --ep-radius-md:  12px;
    --ep-radius-lg:  24px;
    --ep-radius-full: 9999px;

    /* Transitions */
    --ep-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ep-transition-fast: 0.2s ease;

    /* Shadows */
    --ep-shadow-sm:  0 2px 16px rgba(44, 40, 37, 0.06);
    --ep-shadow-md:  0 6px 40px rgba(44, 40, 37, 0.10);
    --ep-shadow-lg:  0 20px 80px rgba(44, 40, 37, 0.16);
}


/* ─── 2. RESET & BASE ────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body.ep-wedding-page {
    font-family: var(--ep-font-sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ep-text-dark);
    background-color: var(--ep-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ep-transition-fast);
}

button {
    font-family: var(--ep-font-sans);
    cursor: pointer;
    border: none;
    background: none;
}

/* WordPress admin bar compensation */
.admin-bar .ep-nav { top: 32px; }


/* ─── 3. TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ep-font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--ep-text-dark);
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 500; }

p {
    font-family: var(--ep-font-sans);
    font-weight: 300;
    color: var(--ep-text-mid);
    line-height: 1.8;
}

em { font-style: italic; }
strong { font-weight: 500; color: var(--ep-text-dark); }

blockquote {
    font-family: var(--ep-font-serif);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ep-text-mid);
}

blockquote cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-family: var(--ep-font-sans);
    font-style: normal;
    letter-spacing: 0.08em;
    color: var(--ep-gold);
    text-transform: uppercase;
}


/* ─── 4. LAYOUT CONTAINERS ───────────────────────────────── */
.ep-container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.ep-container--narrow  { max-width: 680px;  }
.ep-container--medium  { max-width: 1100px; }
.ep-container--wide    { max-width: 1400px; }


/* ─── 5. SECTION HEADERS ─────────────────────────────────── */
.ep-section-header {
    text-align: center;
    margin-bottom: var(--ep-space-lg);
}

.ep-section-header__label {
    font-family: var(--ep-font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ep-gold);
    margin-bottom: 0.75rem;
}

.ep-section-header__title {
    font-family: var(--ep-font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--ep-text-dark);
    margin-bottom: 1.25rem;
}

.ep-section-header--light .ep-section-header__title {
    color: var(--ep-text-light);
}

.ep-section-header--light .ep-section-header__label {
    color: var(--ep-gold-light);
}

.ep-section-header--light .ep-section-header__subtitle {
    color: rgba(250, 248, 245, 0.75);
}

.ep-section-header__rule {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ep-gold), transparent);
    margin: 0 auto 1.5rem;
}

.ep-section-header__subtitle {
    font-family: var(--ep-font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--ep-text-soft);
    max-width: 540px;
    margin-inline: auto;
}


/* ─── 6. BUTTONS ─────────────────────────────────────────── */
.ep-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ep-font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-radius: var(--ep-radius-full);
    cursor: pointer;
    transition: all var(--ep-transition);
    white-space: nowrap;
    border: 1px solid transparent;
    text-decoration: none;
}

.ep-btn--ghost {
    color: white;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}

.ep-btn--ghost:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.ep-btn--filled {
    background: var(--ep-gold);
    color: white;
    border-color: var(--ep-gold);
}

.ep-btn--filled:hover {
    background: var(--ep-gold-dark);
    border-color: var(--ep-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 151, 90, 0.35);
}

.ep-btn--outline {
    color: var(--ep-text-dark);
    border-color: var(--ep-bg-secondary);
    background: white;
}

.ep-btn--outline:hover {
    border-color: var(--ep-gold);
    color: var(--ep-gold);
    transform: translateY(-2px);
    box-shadow: var(--ep-shadow-sm);
}

.ep-btn--large {
    padding: 1.1rem 3rem;
    font-size: 0.875rem;
}


/* ─── 7. REVEAL ANIMATIONS ───────────────────────────────── */
.ep-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ep-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ep-reveal--delay-1 { transition-delay: 0.1s; }
.ep-reveal--delay-2 { transition-delay: 0.2s; }
.ep-reveal--delay-3 { transition-delay: 0.3s; }
.ep-reveal--delay-4 { transition-delay: 0.4s; }
.ep-reveal--delay-5 { transition-delay: 0.5s; }
.ep-reveal--delay-6 { transition-delay: 0.6s; }


/* ─── 8. NAVIGATION ──────────────────────────────────────── */
.ep-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    transition: all var(--ep-transition);
}

.ep-nav.is-scrolled {
    background: rgba(245, 242, 237, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 2rem;
    box-shadow: 0 1px 30px rgba(44, 40, 37, 0.08);
}

.ep-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.ep-nav__brand {
    font-family: var(--ep-font-script);
    font-size: 1.6rem;
    color: white;
    transition: color var(--ep-transition-fast);
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.ep-nav.is-scrolled .ep-nav__brand {
    color: var(--ep-text-dark);
    text-shadow: none;
}

.ep-nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.ep-nav__links a {
    font-family: var(--ep-font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    transition: color var(--ep-transition-fast);
    position: relative;
}

.ep-nav__links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ep-gold-light);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--ep-transition-fast);
}

.ep-nav__links a:hover::after { transform: scaleX(1); }

.ep-nav.is-scrolled .ep-nav__links a {
    color: var(--ep-text-mid);
}

.ep-nav__cta {
    color: var(--ep-gold-light) !important;
}

.ep-nav.is-scrolled .ep-nav__cta {
    color: var(--ep-gold) !important;
}

.ep-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
    cursor: pointer;
}

.ep-nav__toggle span {
    display: block;
    height: 1px;
    background: white;
    transition: all var(--ep-transition-fast);
    transform-origin: left center;
}

.ep-nav.is-scrolled .ep-nav__toggle span { background: var(--ep-text-dark); }

/* Toggle open state */
.ep-nav__toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(1px, -1px); }
.ep-nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ep-nav__toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(1px, 1px); }


/* ─── 9. HERO SECTION ────────────────────────────────────── */
.ep-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ep-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ep-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.ep-hero.is-loaded .ep-hero__img { transform: scale(1); }

.ep-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(30, 24, 18, 0.35) 0%,
            rgba(30, 24, 18, 0.55) 50%,
            rgba(20, 16, 12, 0.75) 100%
        );
}

/* Decorative organic circles */
.ep-hero__deco {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    z-index: 1;
    pointer-events: none;
}

.ep-hero__deco--tl {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -120px;
    opacity: 0.4;
}

.ep-hero__deco--br {
    width: 700px;
    height: 700px;
    bottom: -200px;
    right: -200px;
    opacity: 0.25;
}

.ep-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 820px;
    margin-inline: auto;
}

.ep-hero__tag {
    font-family: var(--ep-font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ep-gold-pale);
    margin-bottom: 1.5rem;
}

.ep-hero__monogram {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,0.4);
}

.ep-hero__names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--ep-font-script);
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 400;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
    letter-spacing: 0.02em;
    flex-wrap: wrap;
}

.ep-hero__name { display: inline-block; }

.ep-hero__amp {
    font-family: var(--ep-font-script);
    font-size: 0.7em;
    color: var(--ep-gold-pale);
    opacity: 0.8;
}

.ep-hero__divider {
    width: 280px;
    margin: 1.5rem auto;
    color: var(--ep-gold-pale);
    opacity: 0.7;
}

.ep-hero__date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-family: var(--ep-font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
}

.ep-hero__date-main {
    font-family: var(--ep-font-serif);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: white;
    letter-spacing: 0.06em;
    text-transform: none;
}

.ep-hero__location {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2.5rem;
}

.ep-hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ep-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.ep-hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: ep-scroll-line 2s ease-in-out infinite;
}

@keyframes ep-scroll-line {
    0%, 100% { opacity: 0.5; transform: scaleY(1); transform-origin: top; }
    50% { opacity: 1; }
}


/* ─── 10. BIBLE VERSE SECTION ────────────────────────────── */
.ep-verse {
    position: relative;
    padding: var(--ep-space-xl) 0;
    background: var(--ep-bg-primary);
    overflow: hidden;
}

.ep-verse__bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ep-bg-secondary) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.ep-verse__body {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: var(--ep-space-lg) var(--ep-space-md);
}

.ep-verse__cross {
    color: var(--ep-gold);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: block;
    letter-spacing: 0.3em;
}

.ep-verse__quote {
    font-family: var(--ep-font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--ep-text-dark);
    margin-bottom: 2rem;
}

.ep-verse__quote p::before { content: '\201C'; }
.ep-verse__quote p::after  { content: '\201D'; }

.ep-verse__ref {
    margin-top: 1.5rem;
}

.ep-verse__ref cite {
    font-family: var(--ep-font-sans);
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ep-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.ep-verse__ref cite::before,
.ep-verse__ref cite::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--ep-gold);
    opacity: 0.5;
}


/* ─── 11. INVITATION SECTION ─────────────────────────────── */
/* ─── 11. INVITATION SECTION ─────────────────────────────── */
.ep-invitation {
    padding: var(--ep-space-xl) 0;
    background: var(--ep-bg-tertiary);
}

.ep-invitation__layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.ep-invitation__hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.ep-invitation__hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--ep-radius-lg);
    background: var(--ep-bg-primary);
    border: 8px solid rgba(255,255,255,0.6);
    box-shadow: var(--ep-shadow-md);
    aspect-ratio: 4 / 5;
}

.ep-invitation__hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--ep-transition);
}

.ep-invitation__hero-frame:hover img {
    transform: scale(1.03);
}

.ep-invitation__names {
    margin-top: 1.5rem;
}

.ep-invitation__names-script {
    font-family: var(--ep-font-script);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--ep-text-dark);
    line-height: 1.05;
    margin-bottom: 0.4rem;
}

.ep-invitation__names-script span {
    color: var(--ep-gold);
}

.ep-invitation__names-subtitle {
    font-family: var(--ep-font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ep-text-soft);
}

.ep-invitation__family {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}

.ep-invitation__family-card {
    text-align: center;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(184, 151, 90, 0.14);
    border-radius: var(--ep-radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--ep-shadow-sm);
}

.ep-invitation__family-label {
    font-family: var(--ep-font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ep-gold);
    margin-bottom: 0.75rem;
}

.ep-invitation__family-name {
    font-family: var(--ep-font-script);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--ep-text-dark);
    margin-bottom: 0.85rem;
}

.ep-invitation__family-parents {
    font-family: var(--ep-font-sans);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--ep-text-soft);
    line-height: 1.9;
}

.ep-invitation__family-parents strong {
    font-weight: 500;
    color: var(--ep-text-mid);
}

.ep-invitation__and {
    color: var(--ep-gold);
    font-style: italic;
    font-size: 0.8rem;
}

.ep-invitation__text {
    text-align: center;
    padding: 3rem;
    background: var(--ep-bg-primary);
    border-radius: var(--ep-radius-lg);
    box-shadow: var(--ep-shadow-sm);
    border: 1px solid rgba(184, 151, 90, 0.15);
    max-width: 860px;
    margin: 0 auto;
}

.ep-invitation__blessing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--ep-font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ep-gold);
    margin-bottom: 1.5rem;
}

.ep-invitation__blessing-cross {
    font-size: 0.9rem;
    opacity: 0.6;
}

.ep-invitation__body {
    font-family: var(--ep-font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--ep-text-dark);
    margin-bottom: 1rem;
}

.ep-invitation__body--italic {
    font-style: italic;
    color: var(--ep-text-mid);
}


/* ─── 12. EVENT DETAILS SECTION ──────────────────────────── */
.ep-details {
    position: relative;
    padding: var(--ep-space-xl) 0;
    background: var(--ep-bg-deep);
    overflow: hidden;
}

.ep-details__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(184, 151, 90, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(184, 151, 90, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.ep-details__cards {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ep-details__card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ep-radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--ep-transition);
}

.ep-details__card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(184, 151, 90, 0.3);
    transform: translateY(-3px);
}

.ep-details__card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    color: var(--ep-gold);
}

.ep-details__card h3 {
    font-family: var(--ep-font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ep-gold);
    margin-bottom: 0.75rem;
}

.ep-details__card-main {
    font-family: var(--ep-font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--ep-text-light);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.ep-details__card-sub {
    font-size: 0.875rem;
    color: rgba(250,248,245,0.6);
    margin-bottom: 0.4rem;
}

.ep-details__card-chinese {
    font-size: 0.8125rem;
    color: rgba(250,248,245,0.4);
    font-style: italic;
}

.ep-details__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.ep-details .ep-btn--outline {
    color: rgba(250,248,245,0.85);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.ep-details .ep-btn--outline:hover {
    color: var(--ep-gold-light);
    border-color: var(--ep-gold);
    background: rgba(184, 151, 90, 0.1);
}

.ep-details__map {
    border-radius: var(--ep-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--ep-shadow-lg);
    height: 400px;
}

.ep-details__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) sepia(10%) brightness(0.85);
}
/* ─── 12B. EVENT DETAILS — VENUE PREVIEW + PALETTE ───────── */
.ep-details__extras {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ep-details__feature {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ep-radius-md);
    padding: 1.5rem;
    box-shadow: var(--ep-shadow-md);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all var(--ep-transition);
}

.ep-details__feature:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(184, 151, 90, 0.26);
    transform: translateY(-3px);
}

.ep-details__feature-head {
    margin-bottom: 1rem;
}

.ep-details__feature-kicker {
    font-family: var(--ep-font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ep-gold);
    margin-bottom: 0.5rem;
}

.ep-details__feature-title {
    font-family: var(--ep-font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ep-text-light);
    margin-bottom: 0;
}

.ep-details__venue-media {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--ep-radius-md) - 4px);
    aspect-ratio: 16/10;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.ep-details__venue-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.ep-details__feature--venue:hover .ep-details__venue-media img {
    transform: scale(1.03);
}

.ep-details__dress-copy p {
    font-size: 0.95rem;
    color: rgba(250,248,245,0.78);
    line-height: 1.85;
    margin-bottom: 0.85rem;
}

.ep-details__dress-copy strong {
    color: var(--ep-text-light);
}

.ep-details__feature-note {
    font-size: 0.82rem !important;
    color: rgba(250,248,245,0.56) !important;
    font-style: italic;
    margin-top: 0.25rem;
    margin-bottom: 0 !important;
}

.ep-details__palette {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.ep-details__swatch {
    text-align: center;
}

.ep-details__swatch-color {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 999px;
    background: var(--swatch);
    margin-bottom: 0.65rem;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.ep-details__swatch-label {
    display: block;
    font-family: var(--ep-font-sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250,248,245,0.72);
    line-height: 1.45;
}

/* ─── 13. OUR STORY SECTION ──────────────────────────────── */
.ep-story {
    padding: var(--ep-space-xl) 0;
    background: var(--ep-bg-primary);
}

.ep-story__tagline {
    font-family: var(--ep-font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ep-text-soft);
}

.ep-story__timeline {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    position: relative;
}

/* Vertical line */
.ep-story__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 3rem;
    bottom: 3rem;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--ep-gold-pale) 20%, var(--ep-gold-pale) 80%, transparent);
    transform: translateX(-50%);
    opacity: 0.5;
}

.ep-story__moment {
    display: grid;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.ep-story__moment--left  { grid-template-columns: 1fr 1fr; }
.ep-story__moment--right { grid-template-columns: 1fr 1fr; }
.ep-story__moment--center {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    gap: 2.5rem;
}

.ep-story__moment-frame {
    border-radius: var(--ep-radius-lg);
    overflow: hidden;
    box-shadow: var(--ep-shadow-md);
    position: relative;
    aspect-ratio: 4/5;
    transition: transform var(--ep-transition);
}

.ep-story__moment-frame:hover { transform: scale(1.02); }

.ep-story__moment-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ep-story__moment-frame--wide {
    aspect-ratio: 16/9;
    max-width: 700px;
    margin-inline: auto;
}

.ep-story__moment-img {
    position: relative;
}

.ep-story__moment-num {
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: var(--ep-font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: var(--ep-gold-pale);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.ep-story__moment-num--right {
    left: auto;
    right: -1rem;
}

.ep-story__moment-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ep-gold);
    margin-bottom: 1.25rem;
    position: relative;
    box-shadow: 0 0 0 4px var(--ep-bg-primary), 0 0 0 5px var(--ep-gold-pale);
}

.ep-story__moment-dot--gold {
    width: 14px;
    height: 14px;
    margin-inline: auto;
}

.ep-story__moment-text h3 {
    font-family: var(--ep-font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ep-text-dark);
    margin-bottom: 1rem;
}

.ep-story__moment-text p {
    font-family: var(--ep-font-sans);
    font-weight: 300;
    font-size: 0.9375rem;
    color: var(--ep-text-mid);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.ep-story__quote {
    margin-top: 1.5rem;
    padding: 1.5rem 1.75rem;
    border-left: 2px solid var(--ep-gold);
    background: var(--ep-bg-tertiary);
    border-radius: 0 var(--ep-radius-md) var(--ep-radius-md) 0;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.ep-story__ending {
    font-family: var(--ep-font-serif);
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--ep-text-dark) !important;
    margin-top: 1.5rem;
}

.ep-story__ending strong {
    color: var(--ep-gold-dark);
    font-weight: 500;
}

.ep-story__moment-text--right {
    order: -1;
}


/* ─── 14. GIFTS SECTION ──────────────────────────────────── */
.ep-gifts {
    position: relative;
    padding: var(--ep-space-xl) 0;
    background: var(--ep-bg-deep);
    overflow: hidden;
}

.ep-gifts__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(184, 151, 90, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(184, 151, 90, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.ep-gifts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 720px;
    margin-inline: auto;
}

.ep-gifts__card {
    transition: transform var(--ep-transition);
}

.ep-gifts__card:hover { transform: translateY(-4px); }

.ep-gifts__card-inner {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--ep-radius-lg);
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: border-color var(--ep-transition);
}

.ep-gifts__card:hover .ep-gifts__card-inner {
    border-color: rgba(184, 151, 90, 0.35);
}

.ep-gifts__card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.ep-gifts__logo-icon {
    width: 36px;
    height: 36px;
    color: var(--ep-gold);
}

.ep-gifts__card-header h3 {
    font-family: var(--ep-font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--ep-text-light);
    margin: 0;
}

.ep-gifts__qr-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--ep-radius-md);
    box-shadow: var(--ep-shadow-md);
    overflow: hidden;
}

.ep-gifts__qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ep-gifts__card-caption {
    font-family: var(--ep-font-sans);
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(250,248,245,0.55);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}


/* ─── 15. RSVP SECTION ───────────────────────────────────── */
.ep-rsvp {
    padding: var(--ep-space-xl) 0;
    background: var(--ep-bg-tertiary);
}

.ep-rsvp__card {
    background: var(--ep-bg-primary);
    border-radius: var(--ep-radius-lg);
    padding: 3rem 3.5rem;
    box-shadow: var(--ep-shadow-md);
    border: 1px solid rgba(184, 151, 90, 0.12);
}

.ep-rsvp__form { display: flex; flex-direction: column; gap: 1.5rem; }

.ep-rsvp__row { display: grid; gap: 1.5rem; }
.ep-rsvp__row--half { grid-template-columns: 1fr 1fr; }

.ep-rsvp__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ep-rsvp__field label {
    font-family: var(--ep-font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ep-text-mid);
}

.ep-rsvp__field label span[aria-hidden] { color: var(--ep-gold); margin-left: 2px; }
.ep-rsvp__optional { color: var(--ep-text-soft); font-weight: 300; text-transform: none; letter-spacing: 0; }

.ep-rsvp__field input,
.ep-rsvp__field select,
.ep-rsvp__field textarea {
    font-family: var(--ep-font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--ep-text-dark);
    background: var(--ep-bg-tertiary);
    border: 1px solid var(--ep-bg-secondary);
    border-radius: var(--ep-radius-sm);
    padding: 0.875rem 1rem;
    outline: none;
    transition: border-color var(--ep-transition-fast), box-shadow var(--ep-transition-fast);
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.ep-rsvp__field select {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6,9 12,15 18,9' fill='none' stroke='%238C8480' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.ep-rsvp__field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.ep-rsvp__field input:focus,
.ep-rsvp__field select:focus,
.ep-rsvp__field textarea:focus {
    border-color: var(--ep-gold);
    box-shadow: 0 0 0 3px rgba(184, 151, 90, 0.12);
    background: white;
}

.ep-rsvp__field input::placeholder,
.ep-rsvp__field textarea::placeholder {
    color: var(--ep-text-soft);
    font-style: italic;
    font-weight: 300;
}

/* Attendance radio buttons */
.ep-rsvp__attending-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ep-rsvp__attend-opt {
    display: block;
    cursor: pointer;
}

.ep-rsvp__attend-opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ep-rsvp__attend-opt span {
    display: block;
    padding: 0.875rem 0.75rem;
    text-align: center;
    font-family: var(--ep-font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--ep-text-mid);
    background: var(--ep-bg-tertiary);
    border: 1px solid var(--ep-bg-secondary);
    border-radius: var(--ep-radius-sm);
    transition: all var(--ep-transition-fast);
    cursor: pointer;
}

.ep-rsvp__attend-opt input:checked + span {
    background: var(--ep-gold);
    color: white;
    border-color: var(--ep-gold);
    box-shadow: 0 4px 16px rgba(184, 151, 90, 0.3);
}

.ep-rsvp__attend-opt:hover span {
    border-color: var(--ep-gold);
    color: var(--ep-gold);
}

/* Submit */
.ep-rsvp__submit { text-align: center; margin-top: 0.5rem; }

.ep-rsvp__btn-loading { display: none; }

#ep-rsvp-submit.is-loading .ep-rsvp__btn-text   { display: none; }
#ep-rsvp-submit.is-loading .ep-rsvp__btn-loading { display: inline; }
#ep-rsvp-submit.is-loading { opacity: 0.7; cursor: not-allowed; }

.ep-rsvp__message {
    text-align: center;
    padding: 1rem;
    border-radius: var(--ep-radius-sm);
    font-size: 0.9rem;
    transition: all var(--ep-transition-fast);
}

.ep-rsvp__message.is-success {
    background: rgba(100, 160, 120, 0.1);
    color: #3a7a52;
    border: 1px solid rgba(100, 160, 120, 0.25);
}

.ep-rsvp__message.is-error {
    background: rgba(200, 80, 80, 0.08);
    color: #8a3a3a;
    border: 1px solid rgba(200, 80, 80, 0.2);
}


/* ─── 16. GALLERY SECTION ────────────────────────────────── */
.ep-gallery {
    padding: var(--ep-space-xl) 0;
    background: var(--ep-bg-primary);
}

.ep-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1rem;
}

/* Masonry-like spanning */
.ep-gallery__item:nth-child(1),
.ep-gallery__item:nth-child(6) { grid-row: span 2; }

.ep-gallery__item:nth-child(3) { grid-column: span 2; }

.ep-gallery__btn {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: block;
    border-radius: var(--ep-radius-md);
    overflow: hidden;
    position: relative;
}

.ep-gallery__btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ep-gallery__btn:hover img { transform: scale(1.06); }

.ep-gallery__hover {
    position: absolute;
    inset: 0;
    background: rgba(30, 24, 18, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ep-transition-fast);
    backdrop-filter: blur(2px);
}

.ep-gallery__btn:hover .ep-gallery__hover { opacity: 1; }

/* Focus style */
.ep-gallery__btn:focus-visible {
    outline: 2px solid var(--ep-gold);
    outline-offset: 2px;
}


/* ─── 17. LIGHTBOX ───────────────────────────────────────── */
.ep-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ep-lightbox[hidden] { display: none; }

.ep-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 12, 0.92);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.ep-lightbox__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 90vw;
    max-height: 90vh;
}

.ep-lightbox__img-wrap {
    flex: 1;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ep-lightbox__img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--ep-radius-md);
    box-shadow: var(--ep-shadow-lg);
    animation: ep-lightbox-in 0.3s ease-out;
}

@keyframes ep-lightbox-in {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.ep-lightbox__close,
.ep-lightbox__nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ep-transition-fast);
    flex-shrink: 0;
}

.ep-lightbox__close:hover,
.ep-lightbox__nav:hover {
    background: rgba(255,255,255,0.2);
}

.ep-lightbox__close {
    position: absolute;
    top: -3rem;
    right: 0;
}

.ep-lightbox__caption {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}


/* ─── 18. FOOTER ─────────────────────────────────────────── */
.ep-footer {
    padding: 5rem 2rem 3rem;
    background: var(--ep-bg-deep);
    text-align: center;
}

.ep-footer__inner {
    max-width: 600px;
    margin-inline: auto;
}

.ep-footer__ornament {
    width: 200px;
    height: 40px;
    margin: 0 auto 2rem;
    color: rgba(250, 248, 245, 0.25);
}

.ep-footer__names {
    font-family: var(--ep-font-script);
    font-size: 3rem;
    font-weight: 400;
    color: var(--ep-text-light);
    margin-bottom: 0.5rem;
}

.ep-footer__names span { color: var(--ep-gold-light); }

.ep-footer__date {
    font-family: var(--ep-font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ep-gold);
    margin-bottom: 2.5rem;
}

.ep-footer__verse {
    font-family: var(--ep-font-serif);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(250,248,245,0.5);
    margin-bottom: 2.5rem;
}

.ep-footer__verse small {
    display: block;
    font-family: var(--ep-font-sans);
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--ep-gold);
    margin-top: 0.5rem;
}

.ep-footer__nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ep-footer__nav a {
    font-family: var(--ep-font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250,248,245,0.35);
    transition: color var(--ep-transition-fast);
}

.ep-footer__nav a:hover { color: var(--ep-gold-light); }

.ep-footer__copy {
    font-family: var(--ep-font-sans);
    font-size: 0.75rem;
    color: rgba(250,248,245,0.2);
    margin: 0;
}


/* ─── 19. TOAST NOTIFICATION ─────────────────────────────── */
.ep-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ep-text-dark);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--ep-radius-full);
    font-family: var(--ep-font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    box-shadow: var(--ep-shadow-lg);
    z-index: 999;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.ep-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* ─── 20. RESPONSIVE — TABLET (≤900px) ───────────────────── */
@media (max-width: 900px) {

    :root {
        --ep-space-xl: 5rem;
        --ep-space-lg: 3rem;
    }

    /* Nav */
    .ep-nav__toggle { display: flex; }

    .ep-nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 280px;
        background: var(--ep-bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        padding: 4rem 2.5rem;
        box-shadow: -8px 0 40px rgba(0,0,0,0.15);
        transition: right 0.35s ease;
        overflow-y: auto;
    }

    .ep-nav__links.is-open { right: 0; }

    .ep-nav__links li { width: 100%; }

    .ep-nav__links a {
        display: block;
        padding: 1rem 0;
        color: var(--ep-text-mid) !important;
        font-size: 0.875rem;
        border-bottom: 1px solid var(--ep-bg-secondary);
    }

    .ep-nav__cta { color: var(--ep-gold) !important; }

    /* Details cards */
    .ep-details__cards {
        grid-template-columns: 1fr 1fr;
    }

    .ep-details__card--wide {
        grid-column: span 2;
    }

    /* Story */
    .ep-story__timeline::before { display: none; }

    .ep-story__moment--left,
    .ep-story__moment--right {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ep-story__moment-text--right { order: 0; }

    .ep-story__moment-num { font-size: 3rem; }

    /* Gallery */
    .ep-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .ep-gallery__item:nth-child(3) { grid-column: span 1; }

    /* RSVP */
    .ep-rsvp__card { padding: 2rem; }
    .ep-rsvp__row--half { grid-template-columns: 1fr; }
    .ep-rsvp__attending-btns { grid-template-columns: 1fr; }
    .ep-details__extras {
        grid-template-columns: 1fr;
    }

    .ep-details__palette {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .ep-invitation__family {
        grid-template-columns: 1fr;
    }
}


/* ─── 21. RESPONSIVE — MOBILE (≤600px) ───────────────────── */
@media (max-width: 600px) {

    :root {
        --ep-space-xl: 4rem;
        --ep-space-lg: 2.5rem;
    }

    /* Hero */
    .ep-hero__names {
        gap: 0.5rem;
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .ep-hero__deco--tl,
    .ep-hero__deco--br { display: none; }

    .ep-hero__cta { flex-direction: column; align-items: center; }

    /* Invitation couple */
    .ep-invitation__hero-frame {
        aspect-ratio: 4 / 5;
    }

    .ep-invitation__names-script {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
    }

    .ep-invitation__family {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ep-invitation__family-card {
        padding: 1.5rem 1.15rem;
    }

    .ep-invitation__text {
        padding: 2rem 1.5rem;
    }

    /* Details */
    .ep-details__cards { grid-template-columns: 1fr; }
    .ep-details__card--wide { grid-column: span 1; }
    .ep-details__map { height: 280px; }

    /* Gifts */
    .ep-gifts__grid { grid-template-columns: 1fr; }
    .ep-gifts__qr-frame { width: 180px; height: 180px; }

    /* Gallery */
    .ep-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .ep-gallery__item:nth-child(1),
    .ep-gallery__item:nth-child(6) { grid-row: span 1; }

    /* Lightbox nav */
    .ep-lightbox__nav--prev { display: none; }
    .ep-lightbox__nav--next { display: none; }

    /* RSVP */
    .ep-rsvp__card { padding: 1.5rem 1.25rem; }

    /* Story */
    .ep-story__timeline { gap: 4rem; }
    .ep-story__moment-frame { aspect-ratio: 4/3; }

    /* Section headers */
    .ep-section-header { margin-bottom: 2.5rem; }
    .ep-details__extras {
    grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ep-details__feature {
        padding: 1.25rem;
    }

    .ep-details__feature-title {
        font-size: 1.3rem;
    }

    .ep-details__palette {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
}
/* Adicionado recentemente por Denio*/
.ep-story__moment-frame picture,
.ep-story__moment-frame img {
    display: block;
    width: 100%;
    height: 100%;
}

.ep-story__moment-frame img {
    object-fit: cover;
    object-position: center;
}

/* ─── 22. ELEMENTOR COMPATIBILITY ────────────────────────── */
/* Prevent Elementor from conflicting with our base styles */
.elementor-section .ep-container,
.elementor-widget-container .ep-container {
    padding-inline: 0;
}

/* Elementor full-width sections */
.elementor-section.elementor-section-stretched .ep-hero {
    min-height: 100vh;
}

/* Preserve our section padding when used inside Elementor columns */
[data-ep-section] {
    width: 100%;
    position: relative;
}


/* ─── 23. PRINT ──────────────────────────────────────────── */
@media print {
    .ep-nav,
    .ep-hero__scroll,
    .ep-details__actions,
    .ep-gallery,
    .ep-rsvp,
    .ep-lightbox { display: none; }

    .ep-hero {
        min-height: auto;
        padding: 4rem 2rem;
        background: var(--ep-bg-primary);
    }

    .ep-hero__media { display: none; }
    .ep-hero__names { color: var(--ep-text-dark); text-shadow: none; }
}


/* ─── 24. REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }

    .ep-reveal {
        opacity: 1;
        transform: none;
    }
}
