/* Exact font families and variable weights used by the approved Figma design. */
@font-face {
    font-family: 'EW Cormorant';
    src: url('../front/webfonts/CormorantGaramond-Variable.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EW Roboto';
    src: url('../front/webfonts/Roboto-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/**
 * EasyWedded Homepage Stylesheet (Figma Prototype 100% Parity)
 * Prototype Reference: https://www.figma.com/proto/hrz9skxELT1HcXMal2PcIY/Untitled?node-id=21-3106
 * Canvas Source: public/homepage.png (2160x18777)
 */

/* Local fallback keeps the hero display type available without Google Fonts. */
@font-face {
    font-family: 'CormorantGaramond';
    src: url('../front/webfonts/CormorantGaramond-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

/* ==========================================================================
   0. RESET & DESIGN TOKENS
   ========================================================================== */
:root {
    --ew-forest: #153f3c;
    --ew-forest-dark: #0e2b29;
    --ew-forest-light: #1f524e;
    --ew-coral: #da5740;
    --ew-coral-hover: #c44732;
    --ew-champagne: #efe8dc;
    --ew-champagne-light: #f7f4ee;
    --ew-paper: #f9f8f6;
    --ew-surface: #ffffff;
    --ew-ink: #1d171e;
    --ew-ink-muted: #5a6261;
    --ew-border: #e6e3dc;
    --ew-border-light: rgba(255, 255, 255, 0.15);

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-pill: 9999px;
    --radius-card: 32px;
    --radius-sub: 22px;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 18px 45px rgba(21, 63, 60, 0.08);
    --shadow-pop: 0 24px 60px rgba(0, 0, 0, 0.14);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease-out;
}

/* Hide master layout header & footer on this standalone homepage */
body.ew-homepage-active .header-section,
body.ew-homepage-active .footer-section {
    display: none !important;
}

.ew-homepage-wrap {
    font-family: var(--font-sans);
    color: var(--ew-ink);
    background-color: var(--ew-paper);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ew-homepage-wrap * {
    box-sizing: border-box;
}

.ew-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.ew-container-wide {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 36px;
}

/* Upright coral accent text in headlines */
.ew-coral-text {
    color: var(--ew-coral);
    font-style: normal;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.ew-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.ew-delay-1 {
    transition-delay: 0.12s;
}

.ew-delay-2 {
    transition-delay: 0.24s;
}

.ew-delay-3 {
    transition-delay: 0.36s;
}

.ew-delay-4 {
    transition-delay: 0.48s;
}

/* ==========================================================================
   1. FLOATING PILL NAVBAR
   ========================================================================== */
.ew-nav-wrapper {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
    transition: var(--transition);
}

.ew-nav-pill {
    pointer-events: auto;
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 32px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.ew-nav-wrapper.scrolled .ew-nav-pill {
    top: 12px;
    padding: 8px 16px 8px 28px;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.ew-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ew-brand-logo {
    height: 36px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.ew-nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ew-nav-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--ew-forest);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.ew-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--ew-coral);
    transition: var(--transition);
    transform: translateX(-50%);
}

.ew-nav-item:hover,
.ew-nav-item.active {
    color: var(--ew-coral);
}

.ew-nav-item:hover::after,
.ew-nav-item.active::after {
    width: 100%;
}

.ew-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ew-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    white-space: nowrap;
}

.ew-btn-outline {
    background: transparent;
    border: 1.5px solid var(--ew-forest);
    color: var(--ew-forest);
}

.ew-btn-outline:hover {
    background: rgba(21, 63, 60, 0.08);
    color: var(--ew-forest);
    transform: translateY(-2px);
}

.ew-btn-coral {
    background: linear-gradient(135deg, #e4644e 0%, #da5740 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(218, 87, 64, 0.35);
}

.ew-btn-coral:hover {
    background: linear-gradient(135deg, #da5740 0%, #c44732 100%);
    box-shadow: 0 8px 24px rgba(218, 87, 64, 0.5);
    transform: translateY(-2px);
}

.ew-btn-champagne {
    background: var(--ew-champagne);
    color: var(--ew-forest) !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ew-btn-champagne:hover {
    background: #e6ded0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.ew-btn-forest {
    background: var(--ew-forest);
    box-shadow: 0 3px 8px rgba(22, 63, 64, 0.18);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.6px;
    padding: 14px 34px;
}

.ew-btn-forest:hover {
    background: var(--ew-forest-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 63, 64, 0.28);
}

.ew-mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--ew-forest);
    font-size: 24px;
}

/* Mobile Nav Drawer */
.ew-mobile-drawer {
    display: none;
    position: fixed;
    top: 88px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    padding: 24px;
    z-index: 999;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.ew-mobile-drawer.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ew-mobile-drawer a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--ew-forest);
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.ew-hero {
    position: relative;
    min-height: 900px;
    background: #103b34;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 130px 0 210px;
    overflow: hidden;
}

.ew-hero-photo {
    position: absolute;
    top: -79px;
    left: 25px;
    width: calc(100% + 80px);
    height: 900px;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
}

.ew-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 63, 56, 0) 49%, rgba(23, 63, 56, .45) 74%, rgba(16, 59, 52, .96) 100%),
        linear-gradient(90deg, rgba(16, 63, 56, .94) 0%, rgba(22, 63, 56, .8) 35%, rgba(38, 72, 61, .24) 63%, rgba(48, 68, 59, .03) 100%);
    pointer-events: none;
}

.ew-hero>.ew-container {
    max-width: 1142px;
    padding: 0;
}

.ew-hero-content {
    position: relative;
    z-index: 2;
    max-width: 730px;
}

.ew-hero-title {
    font-family: 'EW Cormorant', Georgia, serif;
    font-size: 140px;
    line-height: 126px;
    font-weight: 700;
    color: #f7f4eb;
    margin: 0 0 30px;
    letter-spacing: -5.6px;
}

.ew-hero-title span {
    display: block;
}

.ew-hero-title span+span {
    margin-top: 10px;
}

.ew-hero-subtitle {
    font-family: 'EW Roboto', sans-serif;
    font-size: 40px;
    line-height: 48px;
    font-weight: 300;
    color: #f7f4eb;
    margin: 0 0 88px;
    letter-spacing: 0;
}

.ew-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ew-hero-actions .ew-btn-pill {
    min-height: 64px;
    padding: 16px 24px;
    font-family: 'EW Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
}

.ew-hero-actions .ew-btn-champagne {
    width: 266px;
    background: linear-gradient(90deg, #fffbf2, #e8d6b0);
    border: 1px solid rgba(235, 219, 184, .85);
    color: #163f40;
    box-shadow: 0 12px 28px rgba(5, 23, 20, .35), inset 0 1px 2px rgba(255, 255, 255, .7);
}

.ew-hero .ew-btn-outline {
    width: 188px;
    background: rgba(22, 63, 56, .25);
    border: 1px solid rgba(245, 236, 221, .85);
    color: #f7f4eb;
}

.ew-hero .ew-btn-outline:hover {
    background: rgba(255, 255, 255, .16);
    color: #f7f4eb;
    transform: translateY(-2px);
}

.ew-hero-actions .ew-btn-pill:focus-visible {
    outline: 3px solid #f7f4eb;
    outline-offset: 5px;
}

/* ==========================================================================
   3. HERO OVERLAPPING FEATURE CARDS CAROUSEL (Section 2)
   ========================================================================== */
/* ==========================================================================
   4. LIFECYCLE CONNECTION SECTION (Section 3)
   ========================================================================== */
.ew-lifecycle-section {
    padding: 110px 0 130px;
    background: #ffffff;
    position: relative;
}

.ew-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ew-coral);
    margin-bottom: 18px;
    display: block;
}

.ew-section-title {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1.15;
    font-weight: 400;
    color: var(--ew-ink);
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}

.ew-lifecycle-visual {
    margin: 64px auto 44px;
    position: relative;
    width: 500px;
    height: 500px;
    max-width: 100%;
}

.ew-orbit-ring {
    position: absolute;
    inset: 0;
    border: 1.5px solid #ded6c8;
    border-radius: 50%;
    animation: ewOrbitSpin 32s linear infinite;
    pointer-events: none;
}

.ew-orbit-ring::before,
.ew-orbit-ring::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ew-forest);
    box-shadow: 0 0 10px rgba(21, 63, 60, 0.4);
}

.ew-orbit-ring::before {
    top: 14%;
    left: 14%;
}

.ew-orbit-ring::after {
    bottom: 14%;
    right: 14%;
}

.ew-circle-portal {
    position: absolute;
    inset: 32px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    border: 4px solid #ffffff;
}

.ew-circle-portal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes ewOrbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   5. VERTICAL TIMELINE STEPPER (Section 4: Steps 01 to 08)
   ========================================================================== */
.ew-stepper-section {
    padding: 90px 0 120px;
    background: var(--ew-paper);
    position: relative;
}

.ew-stepper-header {
    text-align: left;
    margin-bottom: 80px;
}

.ew-stepper-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 96px;
}

/* Continuous vertical timeline rail */
.ew-timeline-rail {
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 40px;
    width: 2px;
    background: #e2ded5;
}

.ew-step-card-wrap {
    position: relative;
    margin-bottom: 70px;
}

.ew-step-card-wrap:last-child {
    margin-bottom: 0;
}

/* Pin marker on rail */
.ew-step-pin {
    position: absolute;
    left: -96px;
    top: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(218, 87, 64, 0.2);
    border: 2px solid #f6d4ce;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--ew-coral);
    z-index: 5;
    transition: var(--transition);
}

.ew-step-card-wrap:hover .ew-step-pin,
.ew-step-card-wrap.is-active .ew-step-pin {
    background: var(--ew-coral);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(218, 87, 64, 0.16);
}

.ew-step-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 56px 64px;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
    border: 1px solid var(--ew-border);
    transition: var(--transition);
}

.ew-step-card:hover {
    box-shadow: var(--shadow-pop);
    transform: translateY(-4px);
}

.ew-step-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ew-ink-muted);
    margin-bottom: 14px;
}

.ew-step-title {
    font-family: var(--font-serif);
    font-size: 40px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--ew-ink);
    margin: 0 0 18px 0;
}

.ew-step-desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ew-ink-muted);
    margin: 0 0 32px 0;
}

.ew-step-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.ew-step-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--ew-forest);
    text-decoration: underline;
    transition: var(--transition);
}

.ew-step-link:hover {
    color: var(--ew-coral);
}

.ew-step-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ew-step-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sub);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.ew-step-card:hover .ew-step-mockup img {
    transform: translateY(-4px);
}

/* Interactive elements in step cards */
.ew-pill-toggle {
    display: inline-flex;
    background: #f1ede5;
    border-radius: var(--radius-pill);
    padding: 5px;
    gap: 6px;
    margin-bottom: 26px;
}

.ew-toggle-btn {
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    color: var(--ew-ink-muted);
    cursor: pointer;
    transition: var(--transition);
}

.ew-toggle-btn.active {
    background: var(--ew-surface);
    color: var(--ew-coral);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Color swatches in Step 02 */
.ew-swatches-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

.ew-swatch-item {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
}

.ew-swatch-item:hover,
.ew-swatch-item.active {
    transform: scale(1.22);
    box-shadow: 0 0 0 3px var(--ew-coral);
}

/* ==========================================================================
   6. PRICING & MESSAGING CREDITS (Sections 6 & 7)
   ========================================================================== */
.ew-pricing-section {
    background-color: var(--ew-forest);
    background-image: url('../front/images/homepage/pricing_banner_full.webp');
    background-size: cover;
    background-position: center;
    padding: 130px 0 110px;
    position: relative;
    color: #ffffff;
}

.ew-pricing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 43, 41, 0.88);
}

.ew-pricing-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ew-pricing-info h2 {
    font-family: var(--font-serif);
    font-size: 58px;
    line-height: 1.15;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.ew-pricing-info p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 38px 0;
    max-width: 520px;
}

/* White Hero Pricing Card */
.ew-pricing-card-hero {
    background: #ffffff;
    border-radius: 34px;
    padding: 54px 50px;
    color: var(--ew-ink);
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.28);
    max-width: 500px;
    margin-left: auto;
    transition: var(--transition);
}

.ew-pricing-card-hero:hover {
    transform: translateY(-6px);
}

.ew-pricing-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ew-coral);
    margin-bottom: 8px;
}

.ew-pricing-package-title {
    font-family: var(--font-serif);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.ew-price-display {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 12px;
}

.ew-price-num {
    font-family: var(--font-serif);
    font-size: 68px;
    line-height: 1;
    font-weight: 500;
    color: var(--ew-ink);
}

.ew-price-strike {
    font-size: 22px;
    color: var(--ew-coral);
    text-decoration: line-through;
}

.ew-price-sub {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8c9392;
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid #ebebeb;
}

.ew-feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 34px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ew-feature-checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: var(--ew-ink);
}

.ew-feature-checklist li i {
    color: var(--ew-forest);
    font-size: 15px;
}

.ew-micro-text {
    font-size: 12px;
    color: #8c9392;
    text-align: center;
    margin-top: 16px;
}

/* Messaging Credits Section */
.ew-credits-block {
    position: relative;
    z-index: 2;
    margin-top: 96px;
    padding-top: 76px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ew-credits-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 44px;
    align-items: flex-end;
    margin-bottom: 54px;
}

.ew-credits-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ew-credit-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-card);
    padding: 40px 34px;
    color: #ffffff;
    transition: var(--transition);
    position: relative;
}

.ew-credit-card.highlight {
    background: #ffffff;
    color: var(--ew-ink);
    border-color: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.ew-credit-card:hover {
    transform: translateY(-8px);
}

.ew-credit-card .ew-pop-badge {
    position: absolute;
    top: 26px;
    right: 26px;
    background: var(--ew-coral);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
}

.ew-credit-tier-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ew-coral);
    margin-bottom: 16px;
}

.ew-credit-sms {
    font-family: var(--font-serif);
    font-size: 44px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 14px;
}

.ew-credit-card.highlight .ew-credit-sms {
    color: var(--ew-ink);
}

.ew-credit-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 26px;
}

.ew-credit-card.highlight .ew-credit-desc {
    color: var(--ew-ink-muted);
}

.ew-credit-price {
    font-size: 30px;
    font-weight: 600;
}

/* ==========================================================================
   7. CHECKLIST & TIMELINE SPOTLIGHT (Section 8)
   ========================================================================== */
.ew-checklist-section {
    padding: 130px 0;
    background: #ffffff;
}

.ew-checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 84px;
    align-items: center;
}

.ew-checklist-photo-wrap {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow-pop);
}

.ew-checklist-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.ew-checklist-photo-wrap:hover img {
    transform: scale(1.03);
}

.ew-checklist-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 44px 0 52px;
}

.ew-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding-bottom: 26px;
    border-bottom: 1px solid #f0eee8;
}

.ew-checklist-item:hover,
.ew-checklist-item:focus-visible {
    transform: none;
}

.ew-item-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #f7f4ee;
    border: 1px solid #e8e2d5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ew-forest);
    font-size: 22px;
    flex-shrink: 0;
}

.ew-item-info h4 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: var(--ew-ink);
}

.ew-item-info p {
    font-size: 15px;
    color: var(--ew-ink-muted);
    margin: 0;
}

/* ==========================================================================
   8. VENDOR COMMUNITY SPOTLIGHT (Section 9)
   ========================================================================== */
.ew-vendor-spotlight-section {
    padding: 130px 0;
    background: var(--ew-forest);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ew-vendor-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 76px;
    align-items: center;
}

.ew-vendor-info h2 {
    font-family: var(--font-serif);
    font-size: 58px;
    line-height: 1.15;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 26px 0;
}

.ew-vendor-info p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 38px 0;
}

.ew-vendor-montage-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ew-vendor-montage-wrap img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.35));
    transition: var(--transition);
}

.ew-vendor-montage-wrap:hover img {
    transform: scale(1.02);
}

/* ==========================================================================
   9. FAQ ACCORDION (Section 10)
   ========================================================================== */
.ew-faq-section {
    padding: 130px 0;
    background: #ffffff;
}

.ew-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 84px;
    align-items: flex-start;
}

.ew-faq-left {
    position: sticky;
    top: 130px;
}

.ew-faq-left h2 {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1.15;
    font-weight: 400;
    margin: 0 0 18px 0;
}

.ew-faq-left p {
    font-size: 17px;
    color: var(--ew-ink-muted);
    margin: 0 0 34px 0;
}

.ew-faq-photo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 34px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
}

.ew-faq-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clean Accordion */
.ew-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ew-accordion-item {
    border-bottom: 1px solid #e8e5df;
    padding-bottom: 22px;
    transition: var(--transition);
}

.ew-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 14px 0;
    cursor: pointer;
    text-align: left;
    font-size: 21px;
    font-weight: 600;
    color: var(--ew-ink);
    transition: var(--transition);
}

.ew-accordion-header:hover {
    color: var(--ew-coral);
}

.ew-accordion-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--ew-ink);
    transition: var(--transition);
    flex-shrink: 0;
}

.ew-accordion-item.active .ew-accordion-icon {
    transform: rotate(45deg);
    background: var(--ew-forest);
    color: #ffffff;
}

.ew-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ew-ink-muted);
}

.ew-accordion-item.active .ew-accordion-body {
    max-height: 320px;
    padding-top: 14px;
}

/* ==========================================================================
   10. CLOSING FINALE & FOREST FOOTER (Section 11)
   ========================================================================== */
.ew-closing-section {
    background: var(--ew-forest);
    padding: 110px 0 70px;
    position: relative;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.ew-closing-content {
    max-width: 720px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 2;
}

.ew-closing-title {
    font-family: var(--font-serif);
    font-size: 62px;
    line-height: 1.15;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 22px 0;
}

.ew-closing-sub {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 38px 0;
}

.ew-closing-photos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto 64px;
    position: relative;
}

.ew-closing-photos img {
    border-radius: 22px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    max-width: 290px;
    transition: var(--transition);
}

.ew-closing-photos img:hover {
    transform: translateY(-6px);
}

/* Footer Bottom Bar */
.ew-footer-main {
    background: var(--ew-forest-dark);
    padding: 84px 0 44px;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ew-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 64px;
    text-align: left;
}

.ew-footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    margin: 18px 0 26px;
    max-width: 280px;
}

.ew-footer-col h5 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ew-coral);
    margin: 0 0 26px 0;
}

.ew-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ew-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.ew-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ew-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.ew-footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.ew-footer-bottom a:hover {
    color: #ffffff;
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1199px) {
    .ew-carousel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ew-credits-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .ew-pricing-grid,
    .ew-checklist-grid,
    .ew-vendor-grid,
    .ew-faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ew-pricing-card-hero {
        margin: 0 auto;
        width: 100%;
    }

    .ew-faq-left {
        position: static;
        text-align: center;
    }

    .ew-faq-photo {
        margin: 0 auto 32px;
    }

    .ew-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {

    .ew-nav-links,
    .ew-nav-actions {
        display: none;
    }

    .ew-mobile-toggle {
        display: block;
    }

    .ew-hero-title {
        font-size: 54px;
    }

    .ew-hero-subtitle {
        font-size: 22px;
    }

    .ew-step-card {
        grid-template-columns: 1fr;
        padding: 38px 32px;
        gap: 32px;
    }

    .ew-stepper-timeline {
        padding-left: 0;
    }

    .ew-timeline-rail {
        display: none;
    }

    .ew-step-pin {
        position: static;
        margin-bottom: 20px;
        width: 58px;
        height: 58px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .ew-hero {
        min-height: 640px;
        padding: 130px 0 100px;
        text-align: center;
    }

    .ew-hero-content {
        margin: 0 auto;
    }

    .ew-hero-title {
        font-size: 40px;
    }

    .ew-hero-subtitle {
        font-size: 18px;
    }

    .ew-hero-actions {
        justify-content: center;
    }

    .ew-carousel-grid {
        grid-template-columns: 1fr;
    }

    .ew-feature-carousel-section {
        margin-top: -40px;
    }

    .ew-section-title {
        font-size: 34px;
    }

    .ew-lifecycle-visual {
        width: 300px;
        height: 300px;
    }

    .ew-pricing-info h2,
    .ew-vendor-info h2,
    .ew-faq-left h2,
    .ew-closing-title {
        font-size: 36px;
    }

    .ew-pricing-card-hero {
        padding: 36px 24px;
    }

    .ew-footer-grid {
        grid-template-columns: 1fr;
    }

    .ew-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .ew-closing-photos {
        flex-direction: column;
        gap: 20px;
    }
}

/* Responsive adaptation of the approved desktop hero. */
@media (max-width: 1279px) {
    .ew-hero>.ew-container {
        padding: 0 48px;
    }

    .ew-hero-title {
        font-size: 112px;
        line-height: 104px;
        letter-spacing: -4px;
    }

    .ew-hero-subtitle {
        font-size: 34px;
        line-height: 44px;
    }
}

@media (max-width: 767px) {
    .ew-hero {
        min-height: 740px;
        padding: 140px 0 120px;
        text-align: left;
    }

    .ew-hero>.ew-container {
        padding: 0 24px;
    }

    .ew-hero-photo {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-position: 62% center;
    }

    .ew-hero-title {
        font-size: clamp(64px, 14vw, 100px);
        line-height: .94;
        letter-spacing: -.04em;
        margin-bottom: 28px;
    }

    .ew-hero-subtitle {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 48px;
    }

    .ew-hero-actions {
        justify-content: flex-start;
        gap: 16px;
    }

    .ew-hero-actions .ew-btn-pill {
        min-height: 56px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ew-hero .ew-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* Approved Figma header: 1232 × 68, with a 1200px inner row. */
.ew-nav-pill,
.ew-nav-wrapper.scrolled .ew-nav-pill {
    width: calc(100% - 48px);
    max-width: 1232px;
    height: 68px;
    padding: 0 16px;
    border: 0;
    border-radius: 99px;
    background: #fff;
    backdrop-filter: blur(28px);
    box-shadow: 0 2px 6px rgba(22, 63, 64, .06), 0 8px 24px rgba(22, 63, 64, .14);
    font-family: 'EW Roboto', sans-serif;
    font-variation-settings: 'wdth' 100;
}

.ew-nav-pill .ew-brand-logo {
    width: 139px;
    height: 36px;
    object-fit: contain;
}

.ew-nav-links {
    gap: 36px;
}

.ew-nav-links li:nth-child(1) {
    width: 44px;
}

.ew-nav-links li:nth-child(2) {
    width: 94px;
}

.ew-nav-links li:nth-child(3) {
    width: 125px;
}

.ew-nav-links li:nth-child(4) {
    width: 94px;
}

.ew-nav-item {
    display: block;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
    color: #163f40;
    white-space: nowrap;
}

.ew-nav-item.active {
    color: #163f40;
}

.ew-nav-item.active::after {
    width: 0;
}

.ew-nav-item:hover {
    color: var(--ew-coral);
}

.ew-nav-actions {
    gap: 12px;
}

.ew-nav-actions .ew-btn-pill {
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
    box-shadow: none;
}

.ew-nav-actions .ew-btn-outline {
    width: 100px;
    padding: 0 12px;
    border: 1px solid rgba(22, 63, 64, .4);
    color: #163f40;
}

.ew-nav-actions .ew-btn-coral {
    min-width: 194px;
    background: #e45a4f;
    color: #f7f4eb;
    gap: 4px;
}

.ew-nav-arrow {
    font-size: 18px;
    font-weight: 400;
}

.ew-hero-title .ew-hero-first-line {
    display: flex;
}

.ew-hero-title .ew-hero-first-line>span {
    display: inline-block;
    margin: 0;
}

.ew-hero-title .ew-hero-first-line>span:first-child {
    width: 251px;
}

@media (max-width: 1279px) {
    .ew-hero-title .ew-hero-first-line>span:first-child {
        width: 201px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ew-nav-links {
        gap: 18px;
    }

    .ew-nav-actions .ew-btn-coral {
        min-width: 170px;
    }
}

@media (max-width: 767px) {
    .ew-hero-title .ew-hero-first-line>span:first-child {
        width: auto;
        margin-right: .22em;
    }
}

/* The legacy homePage.css forces Roboto on h1, p, a and span.
   Match its priority only within this design's navbar and hero. */
.ew-homepage-wrap .ew-hero .ew-hero-title,
.ew-homepage-wrap .ew-hero .ew-hero-title span {
    font-family: 'EW Cormorant', Georgia, serif !important;
    font-weight: 700;
    font-style: normal;
    font-synthesis: none;
}

.ew-homepage-wrap .ew-hero .ew-hero-subtitle,
.ew-homepage-wrap .ew-hero .ew-btn-pill,
.ew-homepage-wrap .ew-nav-wrapper a,
.ew-homepage-wrap .ew-nav-wrapper span {
    font-family: 'EW Roboto', sans-serif !important;
    font-variation-settings: 'wdth' 100;
    font-synthesis: none;
}

.ew-feature-carousel-section {
    position: relative;
    z-index: 10;
    margin-top: -230px;
    padding: 48px 0 54px;
    background: linear-gradient(transparent 230px, #fff 230px);
}

.ew-feature-viewport {
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.ew-feature-viewport::-webkit-scrollbar {
    display: none;
}

.ew-carousel-grid {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 16px 56px 16px;
}

.ew-feature-card {
    flex: 0 0 360px;
    width: 360px;
    height: 490px;
    min-height: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    background: linear-gradient(rgba(93, 135, 128, .55), rgba(13, 34, 29, .95));
    backdrop-filter: blur(12px);
    color: white;
    text-decoration: none;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-margin-left: 56px;
    transform: translateY(0);
    will-change: transform, box-shadow, border-color;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.65s ease;
}

.ew-feature-card:hover,
.ew-feature-card:focus-visible {
    transform: translateY(-10px) !important;
    color: white;
    border-color: rgba(229, 195, 136, 0.55);
    box-shadow: 0px 14px 48px 0px rgba(229, 195, 136, 0.22),
        0px 0px 32px 0px rgba(229, 195, 136, 0.35);
}

.ew-feature-badge {
    align-self: flex-start;
    height: 32px;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    margin: 0;
    font: 400 14px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 1.4px;
    white-space: nowrap;
}

.ew-feature-visual {
    flex: none;
    position: relative;
    display: block;
    width: 312px;
    height: 238px;
    margin: 0;
    overflow: hidden;
    filter: drop-shadow(0 14px 12px #0005);
}

.ew-feature-visual img {
    position: absolute;
    max-width: none;
    max-height: none;
    margin: 0;
    filter: none;
    object-fit: contain;
    transition: none;
}

.ew-feature-card:hover .ew-feature-visual img {
    transform: none;
}

.ew-feature-visual .ew-card-shadow {
    left: 8px;
    top: 190px;
    width: 296px;
    height: 62px;
}

.ew-feature-visual .ew-card-product {
    left: 0;
    top: 0;
    width: 312px;
    height: 234px;
}

.ew-visual-cash .ew-card-product {
    top: 8.11px;
    height: 221.78px;
    object-fit: cover;
}

.ew-visual-photos .ew-card-product {
    top: 4px;
    object-fit: cover;
}

.ew-feature-visual .ew-card-tablet {
    width: 185px;
    height: 241px;
    top: -10px;
    left: 40px;
    transform: rotate(-90deg);
}

.ew-feature-card:hover .ew-feature-visual .ew-card-tablet {
    transform: rotate(-90deg);
}

.ew-feature-visual .ew-card-phone {
    width: 86px;
    height: 175.3px;
    left: 210px;
    top: 57px;
}

.ew-feature-visual .ew-invite-phone-1,
.ew-feature-visual .ew-invite-phone-2 {
    width: 85.813px;
    height: 161.147px;
    top: 41.43px;
    left: -6.86px;
}

.ew-feature-visual .ew-invite-phone-2 {
    left: 233.14px;
}

.ew-feature-visual .ew-invite-phone-3 {
    width: 109.65px;
    height: 205.91px;
    left: 31.24px;
    top: 20.71px;
}

.ew-feature-visual .ew-invite-phone-5 {
    width: 133.487px;
    height: 250.673px;
    left: 89.33px;
    top: -4px;
}

.ew-homepage-wrap .ew-feature-title {
    font: 400 38px/40px 'EW Cormorant', Georgia, serif !important;
    letter-spacing: -.38px;
    margin: 0;
    color: white;
}

.ew-homepage-wrap .ew-feature-description {
    height: 66px;
    margin: 0;
    font: 400 15px/22px 'EW Roboto', sans-serif !important;
    color: rgba(255, 255, 255, .9);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ew-feature-card:hover .ew-feature-description,
.ew-feature-card:focus-visible .ew-feature-description {
    opacity: 1;
    transform: translateY(0);
}

.ew-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 196px;
    height: 36px;
    margin: 76px auto 0;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbfa 0%, #e8f0ed 100%);
    box-shadow: 0 5px 16px rgba(22, 63, 64, .1), inset 0 1px 2px rgba(255, 255, 255, .9);
}

.ew-dot {
    display: block;
    align-self: center;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #9fb4ae;
    cursor: pointer;
    position: relative;
}

.ew-dot::before {
    content: '';
    position: absolute;
    inset: -12px -4px;
}

.ew-dot.active {
    width: 30px;
    background: #163f40;
}

.ew-dot:focus-visible {
    outline: 2px solid #163f40;
    outline-offset: 5px;
}

.ew-lifecycle-section {
    padding: 96px 0 62px;
    background: #fff;
}

.ew-connected-container {
    width: min(1200px, calc(100% - 64px));
    margin: auto;
}

.ew-connected-heading {
    min-height: 180px;
}

.ew-homepage-wrap .ew-connected-heading .ew-eyebrow {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    margin: 0 0 12px;
    color: #db5740;
}

.ew-homepage-wrap .ew-connected-heading .ew-section-title,
.ew-homepage-wrap .ew-connected-heading .ew-section-title span {
    font-family: 'EW Cormorant', Georgia, serif !important;
    font-size: 54px;
    font-weight: 500;
    line-height: 57px;
    letter-spacing: -2.16px;
}

.ew-connected-heading .ew-section-title {
    margin: 0;
    color: #172321;
}

.ew-connected-heading .ew-coral-text {
    color: #db5740;
}

.ew-connected-plan {
    position: relative;
    width: 100%;
    aspect-ratio: 1200/750;
    margin: 44px auto 34px;
}

.ew-connected-rings {
    position: absolute;
    left: 0;
    top: 0;
    width: 1200px;
    height: 750px;
    max-width: 100%;
    object-fit: contain;
}

.ew-connected-halo {
    position: absolute;
    left: 36.333%;
    top: 26.8%;
    width: 27.333%;
    height: 43.733%;
}

.ew-connected-couple {
    position: absolute;
    left: 30%;
    top: 16.667%;
    width: 40%;
    aspect-ratio: 1;
    border: 6px solid #fff;
    border-radius: 50%;
}

.ew-journey-card {
    position: absolute;
    width: 30%;
    height: 44%;
    padding: 23px 25px;
    border: 1px solid rgba(105, 136, 122, .4);
    border-radius: 24px;
    background: linear-gradient(#1b4b46, #3f9a91);
    overflow: hidden;
}

.ew-journey-foundation {
    left: 0;
    top: 0;
}

.ew-journey-experience {
    right: 0;
    top: 0;
}

.ew-journey-invite {
    right: 0;
    bottom: 0;
}

.ew-journey-celebrate {
    left: 0;
    bottom: 0;
}

.ew-homepage-wrap .ew-journey-card h3 {
    margin: 0 0 16px;
    font: 500 20px/26px 'EW Roboto', sans-serif !important;
    letter-spacing: -.8px;
    color: #f7f4eb;
}

.ew-homepage-wrap .ew-journey-card p {
    margin: 0;
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #d9e4da;
}

.ew-journey-illustration {
    position: absolute;
    width: 80%;
    height: 58.18%;
    left: 6.94%;
    top: 33.03%;
    object-fit: contain;
}

.ew-journey-foundation .ew-journey-illustration {
    width: 33.889%;
    height: 51.818%;
    left: 30%;
    top: 36.667%;
}

.ew-journey-experience .ew-journey-illustration {
    width: 77.778%;
    height: 40.709%;
    left: 8.056%;
    top: 36.667%;
    object-fit: cover;
    object-position: center bottom;
}

.ew-connected-action {
    text-align: center;
}

.ew-homepage-wrap .ew-connected-action .ew-btn-pill {
    width: 280px;
    height: 64px;
    padding: 16px 24px;
    background: #163f40;
    color: #f7f4eb;
    font: 600 18px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    box-shadow: 0 6px 16px #0a241c1f;
}

@media(max-width: 991px) {
    .ew-connected-plan {
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .ew-connected-rings,
    .ew-connected-halo,
    .ew-connected-couple {
        display: none;
    }

    .ew-journey-card {
        position: relative;
        inset: auto;
        width: 100%;
        height: 330px;
    }

    .ew-connected-heading {
        min-height: 0;
    }
}

@media(max-width: 767px) {
    .ew-feature-carousel-section {
        margin-top: -40px;
        padding-top: 24px;
        background: linear-gradient(transparent 40px, #fff 40px);
    }

    .ew-carousel-grid {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ew-feature-card {
        flex-basis: 360px;
        scroll-margin-left: 24px;
    }

    .ew-carousel-dots {
        margin-top: 36px;
    }

    .ew-lifecycle-section {
        padding-top: 64px;
    }

    .ew-connected-container {
        width: calc(100% - 48px);
    }

    .ew-homepage-wrap .ew-connected-heading .ew-section-title,
    .ew-homepage-wrap .ew-connected-heading .ew-section-title span {
        font-size: 38px;
        line-height: 42px;
        letter-spacing: -1.2px;
    }

    .ew-connected-plan {
        grid-template-columns: 1fr;
    }

    .ew-feature-description {
        opacity: 1 !important;
    }
}

.ew-feature-viewport.ew-auto-scrolling {
    scroll-snap-type: none;
}

@media(prefers-reduced-motion: reduce) {
    .ew-dot {
        transition: none;
    }
}

/* Preserve Figma's sentence case against legacy heading transforms. */
.ew-feature-carousel-section h3,
.ew-lifecycle-section h2,
.ew-lifecycle-section h2 span,
.ew-lifecycle-section h3 {
    text-transform: none;
}

/* One-time clockwise card reveal when the connected plan enters the viewport. */
.ew-journey-pending .ew-journey-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.ew-journey-pending.ew-journey-revealed .ew-journey-card {
    opacity: 1;
    transform: translateY(0);
}

.ew-journey-revealed .ew-journey-foundation {
    transition-delay: 0s;
}

.ew-journey-revealed .ew-journey-experience {
    transition-delay: 3s;
}

.ew-journey-revealed .ew-journey-invite {
    transition-delay: 5s;
}

.ew-journey-revealed .ew-journey-celebrate {
    transition-delay: 7s;
}

@media(prefers-reduced-motion: reduce) {
    .ew-journey-pending .ew-journey-card {
        transform: none;
    }
}

.ew-connected-couple {
    overflow: hidden;
    background: #fff;
}

.ew-connected-couple img {
    position: absolute;
    width: 145%;
    height: 145%;
    max-width: none;
    left: -22.5%;
    top: -24.5%;
    object-fit: cover;
}

/* Wedding website chapter — 1100 × 416 at the approved desktop width. */
.ew-stepper-section>.ew-container {
    max-width: 1264px;
}

.ew-stepper-timeline {
    padding-left: 100px;
}

.ew-timeline-rail {
    top: 0;
    bottom: 0;
    left: 48px;
    width: 1px;
    background: #e1e9e3;
}

.ew-website-row {
    margin-bottom: 24px;
}

.ew-website-row .ew-step-card {
    min-height: 416px;
    padding: 28px 28px 28px 32px;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 56px;
    border: 1px solid #d9e0d3;
    border-radius: 28px;
    box-shadow: none;
}

.ew-website-row .ew-step-card:hover {
    transform: none;
    box-shadow: none;
}

.ew-website-row .ew-step-info {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding-top: 22px;
}

.ew-homepage-wrap .ew-website-row .ew-step-badge {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    color: #3c5c56;
    margin: 0 0 19px;
}

.ew-homepage-wrap .ew-website-row .ew-step-title {
    font: 500 40px/42px 'EW Cormorant', Georgia, serif !important;
    letter-spacing: -1.6px;
    text-transform: none;
    color: #172321;
    margin: 0 0 20px;
}

.ew-homepage-wrap .ew-website-row .ew-step-desc {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #3c5c56;
    margin: 0;
}

.ew-website-row .ew-step-desc br {
    display: none;
}

.ew-website-row .ew-step-actions {
    margin-top: auto;
    gap: 24px;
    flex-wrap: nowrap;
}

.ew-homepage-wrap .ew-website-row .ew-btn-pill {
    height: 50px;
    width: 220px;
    padding: 14px 20px;
    font: 600 14px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    background: #163f40;
}

.ew-homepage-wrap .ew-website-row .ew-step-link {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    white-space: nowrap;
    color: #172321;
}

.ew-website-row .ew-step-pin,
.ew-website-row.is-active .ew-step-pin,
.ew-website-row:hover .ew-step-pin {
    left: -74px;
    top: 186px;
    width: 44px;
    height: 44px;
    border: 5px solid white;
    background: #db5740;
    color: #fff;
    font: 600 18px/24px 'EW Roboto', sans-serif;
    transform: none;
    box-shadow: 0 0 0 1px #e1e9e3, 0 2px 5px #163f4026;
}

.ew-website-row .ew-step-pin::after {
    content: '';
    position: absolute;
    left: 39px;
    top: 16px;
    width: 30px;
    height: 1px;
    background: #dbe5dc;
}

.ew-website-preview {
    position: relative;
    display: block;
    width: 100%;
    height: 360px;
}

.ew-website-desktop {
    position: absolute;
    left: 0;
    top: 28px;
    width: 86%;
    height: 286px;
    overflow: hidden;
    border-radius: 2px;
    background: #39565c;
}

.ew-website-mobile {
    position: absolute;
    right: 0;
    top: 85px;
    width: 25%;
    height: 262px;
    overflow: hidden;
    border-radius: 18px;
    background: #39565c;
}

.ew-website-preview img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    animation: ewWebsiteScroll 36s linear infinite;
}

.ew-website-row .ew-step-card:hover .ew-website-preview img {
    transform: none;
}

.ew-website-mobile img {
    animation-duration: 48s;
    --ew-screen-height: 262px;
}

@keyframes ewWebsiteScroll {

    0%,
    8% {
        transform: translateY(0);
    }

    90%,
    100% {
        transform: translateY(calc(-100% + var(--ew-screen-height, 286px)));
    }
}

@media(max-width:1199px) {
    .ew-website-row .ew-step-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 32px;
    }

    .ew-website-row .ew-step-actions {
        flex-wrap: wrap;
        gap: 16px;
        padding-top: 30px;
    }
}

@media(max-width:991px) {
    .ew-website-row .ew-step-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .ew-website-row .ew-step-pin {
        position: relative;
        inset: auto;
        margin: 0 0 16px;
    }

    .ew-website-row .ew-step-pin::after {
        display: none;
    }

    .ew-stepper-timeline {
        padding-left: 0;
    }

    .ew-website-preview {
        max-width: 584px;
        margin: auto;
    }
}

@media(prefers-reduced-motion:reduce) {
    .ew-website-preview img {
        animation: none;
    }
}

/* Feature introduction typography from the approved reference. */
.ew-stepper-section {
    background: #fff;
}

.ew-homepage-wrap .ew-stepper-header .ew-eyebrow {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    color: #db5740;
    margin-bottom: 12px;
}

.ew-homepage-wrap .ew-stepper-header .ew-section-title,
.ew-homepage-wrap .ew-stepper-header .ew-section-title span {
    font: 500 54px/57px 'EW Cormorant', Georgia, serif !important;
    letter-spacing: -2.16px;
    text-transform: none;
    color: #172321;
}

.ew-homepage-wrap .ew-stepper-header .ew-section-title .ew-coral-text {
    color: #db5740;
}

/* Device frames keep the website scrolling within each screen. */
.ew-website-desktop {
    overflow: visible;
    border: 7px solid #171a19;
    border-bottom-width: 15px;
    border-radius: 14px 14px 2px 2px;
    box-shadow: 0 0 0 2px #9b9b93;
}

.ew-website-desktop img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    animation: ewDesktopWebsite 36s linear infinite;
    border-radius: 5px 5px 0 0;
}

.ew-website-desktop::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: -2px;
    left: 44%;
    width: 12%;
    height: 8px;
    background: #171a19;
    border-radius: 0 0 3px 3px;
}

.ew-website-desktop::after {
    content: '';
    position: absolute;
    z-index: 2;
    bottom: -30px;
    left: -11%;
    width: 122%;
    height: 17px;
    border-radius: 1px 1px 40% 40%;
    background: linear-gradient(90deg, #aaa, #f5f5f5 8%, #bfc0c0 45%, #eee 70%, #8a8b8b);
    box-shadow: 0 3px 2px #0002;
}

.ew-website-mobile {
    border: 5px solid #171a19;
    outline: 2px solid #a28e7a;
    border-radius: 25px;
    background: #bfcfd2;
}

.ew-website-mobile::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 32%;
    width: 36%;
    height: 9px;
    background: #050505;
    border-radius: 8px;
}

.ew-website-mobile img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    animation: ewMobileWebsite 36s linear infinite;
}

@keyframes ewDesktopWebsite {

    0%,
    8% {
        object-position: center top;
    }

    90%,
    100% {
        object-position: center bottom;
    }
}

@keyframes ewMobileWebsite {

    0%,
    8% {
        object-position: center top;
    }

    90%,
    100% {
        object-position: center bottom;
    }
}

.ew-invitation-preview {
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-width: 0;
}

.ew-invitation-selector {
    width: 244px;
    min-width: 0;
    padding-top: 12px;
}

.ew-homepage-wrap .ew-invite-caption {
    font: 400 9px/14px 'EW Roboto', sans-serif !important;
    color: #3c5c56;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.ew-homepage-wrap #ew-active-swatch-name {
    font: 500 36px/40px 'EW Cormorant', Georgia, serif !important;
    color: #172321;
    margin: 0 0 20px;
    text-transform: none;
}

.ew-homepage-wrap .ew-invite-description {
    font: 400 12px/20px 'EW Roboto', sans-serif !important;
    margin: 0 0 28px;
    color: #3c5c56;
}

.ew-invite-track {
    display: flex;
    gap: 16px;
    height: 112px;
    padding-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    scroll-snap-type: x mandatory;
}

.ew-invite-track::-webkit-scrollbar {
    display: none;
}

.ew-invite-option {
    flex: 0 0 48px;
    width: 48px;
    height: 98px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform .3s;
}

.ew-invite-option.active {
    transform: translateY(-10px);
}

.ew-envelope-phone {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 2px solid #211e1a;
    border-radius: 8px;
    background: #b78390;
    box-shadow: 0 0 0 1px #ac9583, 0 5px 10px #0002;
}

.ew-envelope-phone>img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ew-envelope-phone::after {
    content: '';
    position: absolute;
    top: 2%;
    left: 36%;
    width: 28%;
    height: 3.5%;
    border-radius: 999px;
    background: #050505;
}

.ew-envelope-phone .ew-envelope-seal {
    position: absolute;
    width: 29%;
    height: auto;
    left: 17%;
    top: 44%;
    filter: drop-shadow(1px 2px 2px #0005);
}

.ew-invite-large {
    flex: 0 0 166px;
    width: 166px;
    height: 340px;
    border-width: 4px;
    border-radius: 30px;
}

.ew-invite-pagination {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
}

.ew-invite-dot {
    position: relative;
    width: 4px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c8dad1;
    cursor: pointer;
}

.ew-invite-dot::before {
    content: '';
    position: absolute;
    inset: -8px -3px;
}

.ew-invite-dot.active {
    width: 9px;
    background: #163f40;
}

.ew-invite-option:focus-visible,
.ew-invite-dot:focus-visible {
    outline: 2px solid #db5740;
    outline-offset: 4px;
}

@media(max-width:1199px) and (min-width:992px) {
    .ew-invitation-preview {
        gap: 20px;
    }

    .ew-invite-large {
        flex-basis: 140px;
        height: 304px;
    }
}

@media(max-width:991px) {
    .ew-invitation-preview {
        max-width: 584px;
        width: 100%;
        margin: auto;
    }
}

@media(max-width:767px) {

    .ew-homepage-wrap .ew-stepper-header .ew-section-title,
    .ew-homepage-wrap .ew-stepper-header .ew-section-title span {
        font-size: 38px;
        line-height: 42px;
        letter-spacing: -1.2px;
    }

    .ew-invitation-preview {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 12px;
    }

    .ew-invitation-selector {
        width: 100%;
    }

    .ew-invite-track {
        width: 100%;
    }

    .ew-invite-large {
        flex-basis: 166px;
        height: 340px;
        margin-top: 16px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .ew-website-preview img {
        animation: none;
    }

    .ew-invite-option {
        transition: none;
    }
}

/* Chapters 03–08 share the verified feature-card typography and timeline. */
.ew-feature-row {
    margin-bottom: 24px;
}

.ew-feature-row .ew-step-card {
    min-height: 416px;
    padding: 28px 28px 28px 32px;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 56px;
    border: 1px solid #d9e0d3;
    border-radius: 28px;
    box-shadow: none;
}

.ew-feature-row .ew-step-card:hover {
    transform: none;
    box-shadow: none;
}

.ew-feature-row .ew-step-info {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding-top: 22px;
}

.ew-homepage-wrap .ew-feature-row .ew-step-badge {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    color: #3c5c56;
    margin: 0 0 19px;
}

.ew-homepage-wrap .ew-feature-row .ew-step-title {
    font: 500 40px/42px 'EW Cormorant', Georgia, serif !important;
    text-transform: none;
    letter-spacing: -1.6px;
    color: #172321;
    margin: 0 0 20px;
}

.ew-homepage-wrap .ew-feature-row .ew-step-desc {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #3c5c56;
    margin: 0 0 16px;
}

.ew-feature-row .ew-step-desc br {
    display: none;
}

.ew-feature-row .ew-step-actions {
    margin-top: auto;
    padding-top: 24px;
    gap: 24px;
}

.ew-homepage-wrap .ew-feature-row .ew-btn-pill {
    height: 50px;
    min-width: 220px;
    padding: 14px 20px;
    font: 600 14px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    background: #163f40;
}

.ew-feature-row .ew-step-pin,
.ew-feature-row.is-active .ew-step-pin,
.ew-feature-row:hover .ew-step-pin {
    left: -74px;
    top: calc(50% - 22px);
    width: 44px;
    height: 44px;
    border: 5px solid white;
    background: #db5740;
    color: #fff;
    font: 600 18px/24px 'EW Roboto', sans-serif;
    transform: none;
    box-shadow: 0 0 0 1px #e1e9e3, 0 2px 5px #163f4026;
}

.ew-feature-row .ew-step-pin::after {
    content: '';
    position: absolute;
    left: 39px;
    top: 16px;
    width: 30px;
    height: 1px;
    background: #dbe5dc;
}

.ew-feature-row .ew-step-mockup {
    min-width: 0;
    align-self: center;
}

.ew-feature-row .ew-step-mockup img {
    width: 100%;
    height: auto;
    max-height: 576px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.ew-feature-row .ew-step-card:hover .ew-step-mockup img {
    transform: none;
}

.ew-homepage-wrap .ew-feature-row .ew-toggle-btn {
    font: 400 13px/20px 'EW Roboto', sans-serif !important;
}

.ew-feature-row .ew-pill-toggle {
    margin: 8px 0 16px;
    align-self: flex-start;
}

@media(max-width:1199px) {
    .ew-feature-row .ew-step-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 32px;
    }
}

@media(max-width:991px) {
    .ew-feature-row .ew-step-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .ew-feature-row .ew-step-pin {
        position: relative;
        inset: auto;
        margin: 0 0 16px;
    }

    .ew-feature-row .ew-step-pin::after {
        display: none;
    }

    .ew-feature-row .ew-step-mockup {
        max-width: 584px;
        margin: auto;
    }
}

@media(max-width:767px) {
    .ew-homepage-wrap .ew-feature-row .ew-step-title {
        font-size: 34px;
        line-height: 38px;
        letter-spacing: -1.2px;
    }

    .ew-feature-row .ew-step-card {
        padding: 24px;
    }
}

/* RSVP preview: tabs remain above both dashboard and guest form. */
.ew-rsvp-row .ew-step-card {
    min-height: 656px;
    align-items: start;
}

.ew-rsvp-preview {
    min-width: 0;
    width: 100%;
}

.ew-rsvp-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: -6px 0 10px;
}

.ew-rsvp-tabs .ew-toggle-btn {
    flex: 1;
    max-width: 152px;
    padding: 4px 12px;
    border: 1px solid transparent;
    background: white;
    border-radius: 999px;
    color: #3c5c56;
    font: 400 11px/18px 'EW Roboto', sans-serif;
}

.ew-rsvp-tabs .ew-toggle-btn.active {
    border-color: #db5740;
    color: #db5740;
    box-shadow: none;
}

.ew-rsvp-panel {
    border: 1px solid #d4e1d9;
    border-radius: 22px;
    padding: 20px 16px;
    min-height: 535px;
    background: white;
}

.ew-rsvp-panel[hidden] {
    display: none;
}

.ew-rsvp-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.ew-homepage-wrap .ew-rsvp-panel h4 {
    font: 500 22px/28px 'EW Cormorant', Georgia, serif !important;
    text-transform: none;
    color: #1c413e;
    margin: 0;
}

.ew-rsvp-heading>span {
    font: 400 9px/14px 'EW Roboto', sans-serif !important;
    color: #72817d;
}

.ew-rsvp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ew-rsvp-stats>div {
    background: #1d4441;
    color: white;
    border-radius: 14px;
    padding: 12px;
}

.ew-rsvp-stats>div:nth-child(2) {
    background: #2d8c90;
}

.ew-rsvp-stats>div:nth-child(4) {
    background: #fc6b60;
}

.ew-rsvp-stats strong {
    display: block;
    font: 400 28px/32px 'EW Cormorant', Georgia, serif;
}

.ew-rsvp-stats span {
    font: 400 9px/16px 'EW Roboto', sans-serif !important;
    color: white;
    white-space: nowrap;
}

.ew-rsvp-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    padding: 34px 16px 0;
}

.ew-homepage-wrap .ew-rsvp-charts h5 {
    font: 400 11px/18px 'EW Roboto', sans-serif !important;
    color: #243e3a;
    text-transform: none;
    margin: 0 0 6px;
}

.ew-homepage-wrap .ew-rsvp-charts p {
    border-bottom: 1px solid #e7efea;
    padding-bottom: 8px;
    font: 400 9px/16px 'EW Roboto', sans-serif !important;
    color: #72817d;
    margin: 0 0 18px;
}

.ew-rsvp-charts p span {
    float: right;
    color: #278b8f;
}

.ew-rsvp-pie {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 18px;
}

.ew-attendance-pie {
    background: conic-gradient(#397b7b 0 58%, white 58% 58.5%, #fa6b60 58.5% 83%, white 83% 83.5%, #47a4a5 83.5% 99.5%, white 99.5%);
}

.ew-meal-pie {
    background: conic-gradient(#397b7b 0 43%, white 43% 43.5%, #fa6b60 43.5% 72%, white 72% 72.5%, #47a4a5 72.5% 99.5%, white 99.5%);
}

.ew-rsvp-charts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ew-rsvp-charts li {
    font: 400 9px/24px 'EW Roboto', sans-serif;
    color: #72817d;
    white-space: nowrap;
}

.ew-rsvp-charts li::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 8px;
    background: #397b7b;
}

.ew-rsvp-charts li:nth-child(2)::before {
    background: #fa6b60;
}

.ew-rsvp-charts li:nth-child(3)::before {
    background: #47a4a5;
}

.ew-homepage-wrap .ew-rsvp-guest>p {
    font: 400 13px/20px 'EW Roboto', sans-serif !important;
    color: #72817d;
}

.ew-rsvp-demo-form {
    display: grid;
    gap: 12px;
}

.ew-homepage-wrap .ew-rsvp-demo-form label,
.ew-rsvp-demo-form legend {
    font: 400 12px/20px 'EW Roboto', sans-serif !important;
    color: #355a54;
}

.ew-rsvp-demo-form input[type=text],
.ew-rsvp-demo-form select,
.ew-rsvp-demo-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #d4e1d9;
    border-radius: 8px;
    padding: 8px 10px;
    margin-top: 4px;
    background: white;
    font: 400 12px/18px 'EW Roboto', sans-serif;
}

.ew-rsvp-demo-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.ew-rsvp-demo-form fieldset label {
    display: inline-flex;
    gap: 6px;
    margin-right: 14px;
}

.ew-rsvp-demo-form button {
    padding: 10px 18px;
    background: #163f40;
    color: white;
    border: 0;
    border-radius: 999px;
    justify-self: start;
    font: 500 12px/20px 'EW Roboto', sans-serif;
}

.ew-qr-gallery-preview {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.ew-qr-original {
    width: 180px;
    height: 242px;
    overflow: hidden;
    position: relative;
    border-radius: 22px;
}

.ew-qr-original img {
    position: absolute;
    max-width: none;
    width: 586px;
    height: 320px;
    left: -25px;
    top: -6px;
}

.ew-homepage-wrap .ew-shared-gallery h4 {
    font: 500 20px/28px 'EW Roboto', sans-serif !important;
    text-transform: none;
    letter-spacing: -.8px;
    color: #172321;
    margin: 4px 0 20px;
}

.ew-shared-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ew-shared-photos img {
    width: 100%;
    height: 198px;
    object-fit: cover;
    border-radius: 12px;
}

.ew-homepage-wrap .ew-shared-gallery p {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    margin: 12px 0 0;
    color: #172321;
}

@media(max-width:1199px) {
    .ew-qr-gallery-preview {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 20px;
    }

    .ew-qr-original {
        transform: scale(.8333);
        transform-origin: top left;
        width: 180px;
        margin-right: -30px;
        margin-bottom: -40px;
    }

    .ew-rsvp-charts {
        gap: 18px;
        padding-left: 0;
        padding-right: 0;
    }

    .ew-rsvp-stats {
        gap: 6px;
    }

    .ew-rsvp-stats>div {
        padding: 9px 7px;
    }
}

@media(max-width:991px) {
    .ew-rsvp-preview {
        max-width: 584px;
        margin: auto;
    }

    .ew-rsvp-row .ew-step-card {
        min-height: 0;
    }

    .ew-qr-gallery-preview {
        max-width: 584px;
        margin: auto;
        width: 100%;
    }
}

@media(max-width:479px) {
    .ew-rsvp-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ew-rsvp-heading {
        flex-wrap: wrap;
    }

    .ew-rsvp-charts {
        gap: 12px;
    }

    .ew-rsvp-charts li {
        font-size: 8px;
    }

    .ew-rsvp-pie {
        width: 90px;
        height: 90px;
    }

    .ew-qr-gallery-preview {
        grid-template-columns: 1fr;
    }

    .ew-qr-original {
        transform: none;
        margin: auto;
    }

    .ew-shared-photos img {
        height: 180px;
    }
}

/* Pricing, credits, benefits and vendor sections — approved Figma sequence. */
.ew-pricing-section {
    padding: 72px 0 0;
    background: #163f40 url('../front/images/homepage/pricing-couple-original.png') center top / 100% 744px no-repeat;
}

.ew-pricing-overlay {
    height: 744px;
    bottom: auto;
    background: linear-gradient(90deg, rgba(22, 63, 64, .98), rgba(22, 63, 64, .88) 45%, rgba(22, 63, 64, .25));
}

.ew-pricing-section>.ew-container {
    max-width: none;
    padding: 0;
}

.ew-pricing-grid {
    max-width: 1240px;
    margin: auto;
    grid-template-columns: minmax(0, 728px) 440px;
    gap: 72px;
    align-items: start;
    padding-bottom: 72px;
}

.ew-pricing-info {
    padding-top: 42px;
}

.ew-homepage-wrap .ew-pricing-section .ew-eyebrow,
.ew-homepage-wrap .ew-checklist-section .ew-eyebrow,
.ew-homepage-wrap .ew-vendor-spotlight-section .ew-eyebrow {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    color: #db5740;
    letter-spacing: 0;
    margin: 0 0 16px;
}

.ew-homepage-wrap .ew-pricing-info h2,
.ew-homepage-wrap .ew-credits-title,
.ew-homepage-wrap .ew-checklist-content .ew-section-title,
.ew-homepage-wrap .ew-checklist-content .ew-section-title span,
.ew-homepage-wrap .ew-vendor-info h2 {
    font: 500 54px/57px 'EW Cormorant', Georgia, serif !important;
    letter-spacing: -2.16px;
    text-transform: none;
    margin: 0 0 24px;
    color: #f7f4eb;
}

.ew-homepage-wrap .ew-pricing-info p,
.ew-homepage-wrap .ew-credits-header p,
.ew-homepage-wrap .ew-vendor-info p {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #d9e4da !important;
    margin: 0 0 20px;
    max-width: 560px;
}

.ew-pricing-info p br,
.ew-credits-header p br {
    display: none;
}

.ew-pricing-info>div {
    margin-top: 150px !important;
    padding-top: 0 !important;
}

.ew-pricing-info .ew-btn-pill {
    height: 48px;
    width: 246px;
    padding: 12px;
    border-color: #ffffff80;
    color: #f7f4eb;
}

.ew-pricing-card-hero {
    width: 440px;
    max-width: 100%;
    padding: 42px;
    border-radius: 28px;
    box-shadow: none;
    color: #172321;
}

.ew-pricing-card-hero:hover {
    transform: none;
}

.ew-homepage-wrap .ew-pricing-tag {
    display: block;
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.ew-homepage-wrap .ew-pricing-package-title {
    font: 500 40px/42px 'EW Cormorant', Georgia, serif !important;
    letter-spacing: -1.6px;
    text-transform: none;
    margin: 0 0 16px;
}

.ew-price-display {
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.ew-homepage-wrap .ew-price-num {
    font: 500 64px/80px 'EW Cormorant', Georgia, serif !important;
    color: #172321;
}

.ew-regular-price {
    display: flex;
    flex-direction: column;
}

.ew-homepage-wrap .ew-price-strike {
    font: 500 24px/25px 'EW Cormorant', Georgia, serif !important;
    color: #db5740;
    margin-bottom: 5px;
}

.ew-homepage-wrap .ew-regular-price>span:last-child {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    color: #405b54;
}

.ew-price-sub {
    font: 400 14px/21px 'EW Roboto', sans-serif;
    letter-spacing: 0;
    color: #405b54;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-color: #ddd3c4;
    white-space: nowrap;
}

.ew-feature-checklist {
    gap: 4px;
    margin-bottom: 16px;
}

.ew-feature-checklist li {
    font: 400 18px/27px 'EW Roboto', sans-serif;
    color: #405b54;
    gap: 10px;
}

.ew-homepage-wrap .ew-pricing-section .ew-btn-pill {
    font: 600 18px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
}

.ew-pricing-card-hero .ew-btn-coral {
    min-height: 60px;
    background: #e95c51;
    box-shadow: none;
    margin-bottom: 10px !important;
}

.ew-pricing-card-hero .ew-btn-outline {
    min-height: 48px;
    padding: 12px;
    border: 1px solid #163f4066;
}

.ew-micro-text {
    font: 400 14px/21px 'EW Roboto', sans-serif;
    color: #405b54;
    margin-top: 16px;
    white-space: nowrap;
}

.ew-credits-block {
    background: #163f40;
    margin: 0;
    padding: 80px max(32px, calc((100% - 1240px)/2)) 70px;
    border: 0;
}

.ew-credits-header {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 54px;
}

.ew-homepage-wrap .ew-credits-title {
    margin: 0;
}

.ew-credits-cards {
    gap: 16px;
    align-items: center;
}

.ew-credit-card {
    border: 1px solid #ffffff40;
    border-radius: 24px;
    padding: 30px 24px;
    background: transparent;
    box-shadow: none;
    min-height: 232px;
}

.ew-credit-card.highlight {
    box-shadow: none;
    transform: translateY(-10px);
}

.ew-credit-card:hover {
    transform: none;
}

.ew-credit-tier-title {
    font: 400 14px/21px 'EW Roboto', sans-serif;
    letter-spacing: 0;
    color: #d9e4da;
    margin-bottom: 30px;
}

.ew-credit-card.highlight .ew-credit-tier-title {
    color: #db5740;
}

.ew-homepage-wrap .ew-credit-sms {
    font: 500 36px/40px 'EW Cormorant', Georgia, serif !important;
    margin-bottom: 18px;
}

.ew-homepage-wrap .ew-credit-sms span {
    font: 400 16px/24px 'EW Roboto', sans-serif !important;
}

.ew-credit-desc {
    font: 400 16px/24px 'EW Roboto', sans-serif;
    margin-bottom: 18px;
    color: #d9e4da;
}

.ew-credit-price {
    font: 400 18px/27px 'EW Roboto', sans-serif;
}

.ew-credit-card .ew-pop-badge {
    right: 22px;
    top: 24px;
    padding: 6px 10px;
    font: 400 12px/20px 'EW Roboto', sans-serif;
    letter-spacing: 0;
    background: #e95c51;
}

.ew-credits-block>div:last-child {
    color: #d9e4da !important;
    font: 400 16px/24px 'EW Roboto', sans-serif;
    margin-top: 40px !important;
}

.ew-checklist-section {
    padding: 100px 0;
}

.ew-checklist-section>.ew-container {
    max-width: 1264px;
}

.ew-checklist-grid {
    grid-template-columns: 540px minmax(0, 564px);
    gap: 96px;
    align-items: start;
}

.ew-checklist-photo-wrap {
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.ew-checklist-photo-wrap img {
    width: 100%;
}

.ew-checklist-photo-wrap:hover img {
    transform: none;
}

.ew-homepage-wrap .ew-checklist-content .ew-section-title {
    color: #172321;
    margin-bottom: 40px !important;
}

.ew-homepage-wrap .ew-checklist-content .ew-section-title span {
    color: #db5740;
}

.ew-homepage-wrap .ew-checklist-content .ew-step-desc {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #405b54;
    margin: 0;
}

.ew-checklist-content .ew-step-desc br {
    display: none;
}

.ew-checklist-items {
    margin: 48px 0 48px;
    gap: 0;
}

.ew-checklist-item {
    padding: 0 0 30px;
    margin-bottom: 30px;
    gap: 26px;
    border-bottom: 1px solid #e5eeea;
}

.ew-checklist-item:last-child {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ew-homepage-wrap .ew-checklist-item:hover,
.ew-homepage-wrap .ew-checklist-item:focus-visible,
.ew-checklist-item:hover,
.ew-checklist-item:focus-visible {
    transform: none !important;
}

.ew-homepage-wrap .ew-checklist-item:hover .ew-item-icon-box,
.ew-checklist-item:hover .ew-item-icon-box {
    background: #edf4ef;
    color: #307768;
}

.ew-homepage-wrap .ew-item-info h4 {
    font: 500 20px/26px 'EW Roboto', sans-serif !important;
    letter-spacing: -.8px;
    text-transform: none;
    margin: 0;
    color: #172321;
}

.ew-homepage-wrap .ew-item-info p {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    margin: 0;
    color: #405b54;
}

.ew-item-icon-box {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: #edf4ef;
    color: #307768;
    box-shadow: 0 4px 6px #0002;
    font-size: 24px;
}

.ew-checklist-content .ew-btn-pill {
    min-height: 64px;
    width: 266px;
    font: 600 18px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    background: #163f40;
}

.ew-vendor-spotlight-section {
    background: linear-gradient(rgba(22, 63, 64, .88), rgba(22, 63, 64, .88)),
        url("../front/images/homepage/linked%20layout.png") center center / cover no-repeat;
    padding: 84px 0 50px;
}

.ew-vendor-spotlight-section>.ew-container {
    max-width: 1264px;
}

.ew-vendor-grid {
    grid-template-columns: 460px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.ew-vendor-info {
    padding-top: 28px;
}

.ew-vendor-info>.my-4 {
    margin: 64px 0 !important;
}

.ew-vendor-info .ew-btn-pill {
    width: 300px;
    height: 64px;
    font: 600 18px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    background: linear-gradient(90deg, #fffbf2, #e8d6b0);
}

.ew-vendor-info .small {
    font: 400 18px/27px 'EW Roboto', sans-serif;
    color: #d9e4da !important;
}

.ew-vendor-montage-wrap {
    margin: 0;
}

.ew-vendor-montage-wrap img {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.ew-vendor-spotlight-section>.ew-container>div:last-child {
    font: 400 14px/21px 'EW Roboto', sans-serif;
    letter-spacing: 0 !important;
    color: #d9e4da !important;
}

@media(max-width:1279px) {
    .ew-pricing-grid {
        padding-left: 48px;
        padding-right: 48px;
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 48px;
    }

    .ew-pricing-card-hero {
        width: 400px;
        padding: 32px;
    }

    .ew-checklist-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .ew-vendor-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .ew-pricing-card-hero .ew-btn-pill {
        font-size: 15px !important;
    }

    .ew-micro-text {
        font-size: 12px;
    }
}

@media(max-width:991px) {

    .ew-pricing-grid,
    .ew-credits-header,
    .ew-checklist-grid,
    .ew-vendor-grid {
        grid-template-columns: 1fr;
    }

    .ew-pricing-grid {
        gap: 48px;
    }

    .ew-pricing-info>div {
        margin-top: 40px !important;
    }

    .ew-pricing-card-hero {
        width: 440px;
        margin: auto;
    }

    .ew-pricing-section {
        background-size: auto 900px;
    }

    .ew-pricing-overlay {
        height: 900px;
    }

    .ew-credits-cards {
        grid-template-columns: 1fr;
    }

    .ew-credit-card.highlight {
        transform: none;
    }

    .ew-checklist-photo-wrap {
        max-width: 540px;
        margin: auto;
    }

    .ew-vendor-info>.my-4 {
        margin: 32px 0 !important;
    }
}

@media(max-width:767px) {
    .ew-pricing-grid {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ew-homepage-wrap .ew-pricing-info h2,
    .ew-homepage-wrap .ew-credits-title,
    .ew-homepage-wrap .ew-checklist-content .ew-section-title,
    .ew-homepage-wrap .ew-checklist-content .ew-section-title span,
    .ew-homepage-wrap .ew-vendor-info h2 {
        font-size: 38px;
        line-height: 42px;
        letter-spacing: -1.2px;
    }

    .ew-pricing-card-hero {
        padding: 24px;
    }

    .ew-price-sub {
        font-size: 10px;
    }

    .ew-micro-text {
        white-space: normal;
    }

    .ew-checklist-section {
        padding: 64px 0;
    }

    .ew-credits-block {
        padding: 64px 24px;
    }

    .ew-vendor-info .ew-btn-pill {
        max-width: 100%;
    }
}

.ew-homepage-wrap .ew-pricing-package-title {
    color: #172321;
}

.ew-pricing-grid {
    width: calc(100% - 64px);
}

@media(max-width:1279px) {
    .ew-pricing-grid {
        width: 100%;
    }
}

/* Explicit contrast for credits; shared span rules must not darken green cards. */
.ew-homepage-wrap .ew-credit-card:not(.highlight) .ew-credit-sms,
.ew-homepage-wrap .ew-credit-card:not(.highlight) .ew-credit-sms span {
    color: #f7f4eb !important;
}

.ew-homepage-wrap .ew-credit-card.highlight .ew-credit-sms,
.ew-homepage-wrap .ew-credit-card.highlight .ew-credit-sms span {
    color: #172321 !important;
}

.ew-vendor-artwork {
    position: relative;
    width: 100%;
    aspect-ratio: 492 / 400;
}

.ew-vendor-artwork img {
    position: absolute;
    object-fit: cover;
    border: 2px solid #f7f4eb;
    filter: drop-shadow(0 12px 12px #0004);
}

.ew-vendor-artwork .ew-vendor-beauty {
    left: 22.15%;
    top: 6.75%;
    width: 34.35%;
    height: 74.5%;
    z-index: 2;
}

.ew-vendor-artwork .ew-vendor-details {
    left: 56.5%;
    top: 11.5%;
    width: 23%;
    height: 31%;
    z-index: 1;
}

.ew-vendor-artwork .ew-vendor-teamwork {
    left: 50.2%;
    top: 46%;
    width: 29.3%;
    height: 37%;
    z-index: 3;
}

.ew-homepage-wrap .ew-vendor-label {
    position: absolute;
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    color: #f7f4eb !important;
    white-space: nowrap;
    z-index: 4;
}

.ew-vendor-label::after {
    content: '';
    position: absolute;
    height: 1px;
    background: #d9e4da;
    transform-origin: left;
}

.ew-label-artistry {
    left: 6%;
    top: 12%;
}

.ew-label-artistry::after {
    left: 100%;
    margin-left: 12px;
    top: 27px;
    width: 42px;
    transform: rotate(29deg);
}

.ew-label-details {
    left: 83.3%;
    right: auto;
    top: 17.5%;
}

.ew-label-details::after {
    left: -30px;
    top: 27px;
    width: 30px;
    transform: rotate(-30deg);
}

.ew-label-teamwork {
    left: 82.3%;
    right: auto;
    top: 43.5%;
}

.ew-label-teamwork::after {
    left: -22px;
    top: 28px;
    width: 24px;
    transform: rotate(-38deg);
}

.ew-label-photographers {
    left: 21.5%;
    top: 87.5%;
    bottom: auto;
}

.ew-label-photographers::after {
    left: 65px;
    top: -8px;
    width: 29px;
    transform: rotate(-65deg);
}

.ew-vendor-montage-wrap:hover img {
    transform: none;
}

.ew-vendor-closing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 60px auto 0;
    max-width: 680px;
    padding: 0 !important;
}

.ew-vendor-closing::before,
.ew-vendor-closing::after {
    content: '';
    height: 1px;
    background: #d9e4da80;
    flex: 1;
}

.ew-homepage-wrap .ew-vendor-closing span {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    color: #d9e4da;
    text-align: center;
}

@media(max-width:767px) {
    .ew-vendor-artwork {
        margin-top: 24px;
    }

    .ew-homepage-wrap .ew-vendor-label {
        font-size: 10px !important;
    }

    .ew-label-artistry::after {
        left: 52px;
        width: 28px;
    }

    .ew-vendor-closing {
        gap: 12px;
    }

    .ew-homepage-wrap .ew-vendor-closing span {
        font-size: 12px !important;
    }
}

/* FAQ, final invitation and editorial footer. */
.ew-faq-section {
    padding: 80px 0 96px;
    background: #fff;
}

.ew-faq-section>.ew-container {
    max-width: 1264px;
}

.ew-faq-grid {
    grid-template-columns: 376px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.ew-faq-left {
    position: static;
    text-align: left;
}

.ew-homepage-wrap .ew-faq-left .ew-eyebrow {
    font: 400 14px/21px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    color: #db5740;
    margin: 0 0 12px;
}

.ew-homepage-wrap .ew-faq-left h2,
.ew-homepage-wrap .ew-faq-left h2 span {
    font: 500 54px/57px 'EW Cormorant', Georgia, serif !important;
    letter-spacing: -2.16px;
    text-transform: none;
    margin: 0 0 16px;
    color: #172321;
}

.ew-homepage-wrap .ew-faq-left h2 .ew-coral-text {
    color: #db5740;
}

.ew-homepage-wrap .ew-faq-left p {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #405b54;
    margin: 0 0 16px;
}

.ew-faq-photo {
    width: 310px;
    height: 240px;
    border-radius: 999px;
    margin: 0 0 24px;
    overflow: hidden;
    box-shadow: 0 10px 16px #0001;
}

.ew-faq-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ew-faq-left .ew-btn-pill {
    min-height: 56px;
    width: 280px;
    padding: 16px 24px;
    font: 600 18px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    background: #163f40;
}

.ew-accordion {
    gap: 0;
}

.ew-accordion-item {
    padding: 0 16px;
    border-bottom: 1px solid #dfe8e2;
}

.ew-accordion-item:last-child {
    border: 0;
}

.ew-homepage-wrap .ew-accordion-header,
.ew-homepage-wrap .ew-accordion-header>span:first-child {
    font: 500 26px/35px 'EW Roboto', sans-serif !important;
    text-transform: none;
    color: #172321;
}

.ew-accordion-header {
    padding: 24px 0;
    gap: 24px;
    align-items: start;
}

.ew-accordion-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    background: transparent;
    color: #172321;
}

.ew-accordion-item.active .ew-accordion-icon {
    background: #ebebeb;
    color: #172321;
}

.ew-homepage-wrap .ew-accordion-body {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #405b54;
    max-height: none;
    padding: 0 48px 24px 0;
    overflow: visible;
    transition: none;
}

.ew-accordion-body[hidden] {
    display: none;
}

.ew-accordion-item.active .ew-accordion-body {
    max-height: none;
    padding-top: 0;
}

.ew-closing-section {
    position: relative;
    padding: 0;
    min-height: 860px;
    background: #214e4c;
    overflow: hidden;
}

.ew-closing-section>.ew-container {
    position: relative;
    max-width: 1440px;
    height: 860px;
    padding: 0;
}

.ew-closing-content {
    position: relative;
    z-index: 2;
    width: 656px;
    max-width: 54%;
    margin: auto;
    padding-top: 240px;
    text-align: center;
}

.ew-homepage-wrap .ew-closing-content .ew-eyebrow {
    font: 700 22px/33px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    margin: 0 0 36px;
    color: #db5740;
}

.ew-homepage-wrap .ew-closing-title {
    font: 500 54px/57px 'EW Cormorant', Georgia, serif !important;
    text-transform: none;
    letter-spacing: -2.16px;
    margin: 0 0 36px;
    color: #f7f4eb;
}

.ew-homepage-wrap .ew-closing-sub {
    font: 400 22px/33px 'EW Roboto', sans-serif !important;
    margin: 0 0 36px;
    color: #d9e4da;
}

.ew-closing-content .ew-btn-pill {
    height: 64px;
    padding: 16px 30px;
    font: 600 18px/20px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    background: linear-gradient(90deg, #fffbf2, #e8d6b0);
}

.ew-closing-photos {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    pointer-events: none;
}

.ew-closing-photos img {
    position: absolute;
    border: 2px solid #f7f4eb;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 12px 20px #0003;
}

.ew-closing-photos img:nth-child(1) {
    left: 6%;
    top: 9%;
    width: 19%;
    height: 41%;
}

.ew-closing-photos img:nth-child(2) {
    left: 13%;
    top: 66%;
    width: 14%;
    height: 17%;
}

.ew-closing-photos img:nth-child(3) {
    right: 5.5%;
    top: 48%;
    width: 18%;
    height: 24%;
}

.ew-footer-main {
    background: #163f40;
    padding: 64px 0 28px;
    border-top: 1px solid #ffffff1a;
}

.ew-footer-main>.ew-container {
    max-width: 1264px;
}

.ew-footer-grid {
    grid-template-columns: 480px 1fr 1fr 1fr;
    gap: 0;
    align-items: start;
}

.ew-footer-brand .ew-brand-logo {
    width: 250px;
    height: auto;
    margin: 0 0 20px !important;
}

.ew-homepage-wrap .ew-footer-brand p,
.ew-homepage-wrap .ew-footer-brand .small {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #d9e4da !important;
    margin-bottom: 24px;
}

.ew-footer-brand .small>div {
    margin-bottom: 12px;
}

.ew-homepage-wrap .ew-footer-col h5 {
    font: 400 12px/18px 'EW Roboto', sans-serif !important;
    letter-spacing: 0;
    color: #db5740;
    margin: 0 0 24px;
}

.ew-footer-links {
    gap: 16px;
}

.ew-homepage-wrap .ew-footer-links a {
    font: 400 18px/27px 'EW Roboto', sans-serif !important;
    color: #f7f4eb;
}

.ew-footer-bottom {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #ffffff1a;
    font: 400 12px/18px 'EW Roboto', sans-serif;
    color: #d9e4da;
}

.ew-homepage-wrap .ew-footer-bottom a {
    font: 400 12px/18px 'EW Roboto', sans-serif !important;
    color: #d9e4da;
    margin-left: 48px;
}

@media(max-width:1199px) {
    .ew-faq-grid {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 40px;
    }

    .ew-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 24px;
    }
}

@media(max-width:767px) {
    .ew-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ew-faq-photo {
        max-width: 100%;
    }

    .ew-homepage-wrap .ew-faq-left h2,
    .ew-homepage-wrap .ew-faq-left h2 span {
        font-size: 40px;
        line-height: 44px;
        letter-spacing: -1.6px;
    }

    .ew-homepage-wrap .ew-accordion-header,
    .ew-homepage-wrap .ew-accordion-header>span:first-child {
        font-size: 20px;
        line-height: 28px;
    }

    .ew-accordion-item {
        padding: 0;
    }

    .ew-closing-content {
        max-width: none;
        width: calc(100% - 48px);
        padding-top: 220px;
    }

    .ew-closing-section,
    .ew-closing-section>.ew-container {
        min-height: 820px;
        height: 820px;
    }

    .ew-homepage-wrap .ew-closing-content .ew-eyebrow {
        font-size: 16px;
        line-height: 24px;
    }

    .ew-homepage-wrap .ew-closing-title {
        font-size: 44px;
        line-height: 48px;
    }

    .ew-homepage-wrap .ew-closing-sub {
        font-size: 18px;
        line-height: 27px;
    }

    .ew-closing-content .ew-btn-pill {
        font-size: 14px !important;
        max-width: 100%;
    }

    .ew-closing-photos img:nth-child(1) {
        left: 6%;
        top: 4%;
        width: 22%;
        height: 20%;
    }

    .ew-closing-photos img:nth-child(2) {
        left: 8%;
        top: 78%;
        width: 25%;
        height: 13%;
    }

    .ew-closing-photos img:nth-child(3) {
        right: 6%;
        top: 76%;
        width: 28%;
        height: 15%;
    }

    .ew-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .ew-footer-brand {
        grid-column: 1 / -1;
    }

    .ew-footer-bottom {
        align-items: start;
        text-align: left;
        gap: 20px;
    }

    .ew-footer-bottom a:first-child {
        margin-left: 0;
    }
}

/* Center photograph enters after the first card, as shown in the recording. */
.ew-journey-pending .ew-connected-couple {
    opacity: 0;
    transition: opacity 1.2s ease-out 2s;
}

.ew-journey-pending.ew-journey-revealed .ew-connected-couple {
    opacity: 1;
}

@media(prefers-reduced-motion:reduce) {
    .ew-journey-pending .ew-connected-couple {
        transform: none;
    }
}

/* Maintain title stability on hover without artificial distortion */
.ew-feature-card .ew-feature-badge {
    transform: none;
    transition: none;
}

.ew-homepage-wrap .ew-feature-card .ew-feature-title,
.ew-homepage-wrap .ew-feature-card:hover .ew-feature-title,
.ew-homepage-wrap .ew-feature-card:focus-visible .ew-feature-title {
    transform: none;
    transition: none;
    animation: none;
    opacity: 1;
    text-shadow: none;
    filter: none;
}

@media (hover: none) {
    .ew-feature-card .ew-feature-description {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ew-feature-card .ew-feature-description {
        transition-duration: 0.01ms;
    }
}

.ew-feature-viewport {
    cursor: grab;
    touch-action: pan-x pan-y;
}

.ew-feature-viewport.ew-is-dragging {
    cursor: grabbing;
    user-select: none;
    scroll-behavior: auto;
}

.ew-feature-viewport.ew-is-dragging * {
    cursor: grabbing;
    user-select: none;
}

.ew-feature-card img {
    -webkit-user-drag: none;
}

/* Keep both screen animations synchronized and the phone above the keyboard. */
.ew-website-preview {
    isolation: isolate;
}

.ew-website-desktop {
    z-index: 1;
}

.ew-website-mobile {
    z-index: 3;
}

.ew-website-preview .ew-website-desktop img,
.ew-website-preview .ew-website-mobile img {
    animation-name: ewWebsiteScreenScroll;
    animation-duration: 36s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: paused;
}

.ew-website-preview.ew-preview-running img {
    animation-play-state: running;
}

@keyframes ewWebsiteScreenScroll {

    0%,
    4% {
        object-position: center top;
    }

    94%,
    100% {
        object-position: center bottom;
    }
}

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

    .ew-website-preview .ew-website-desktop img,
    .ew-website-preview .ew-website-mobile img {
        animation: none;
    }
}

/* Actual scrolling viewports inside stationary device frames. */
.ew-website-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    scroll-behavior: auto;
}

.ew-website-mobile .ew-website-screen {
    border-radius: 18px;
}

.ew-website-preview .ew-website-screen img,
.ew-website-row .ew-step-card:hover .ew-website-screen img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    max-width: none;
    object-fit: initial;
    object-position: initial;
    animation: none !important;
    transition: none;
    transform: none !important;
    border-radius: 0;
}

/* QR scanning and staged gallery reveal from the supplied recording. */
.ew-qr-original::after {
    content: '';
    position: absolute;
    left: 13px;
    right: 13px;
    top: 42px;
    height: 2px;
    z-index: 2;
    background: #78c7c4;
    box-shadow: 0 0 8px #8bd3ccaa;
    opacity: 0;
    pointer-events: none;
}

.ew-qr-gallery-preview[data-qr-stage="scan-visible"] .ew-qr-original::after,
.ew-qr-gallery-preview[data-qr-stage="scan"] .ew-qr-original::after {
    opacity: 1;
    animation: ewQrScan 1.5s ease-in-out infinite alternate;
}

@keyframes ewQrScan {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(148px);
    }
}

.ew-qr-gallery-preview .ew-shared-photos img {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .65s ease-out, transform .65s ease-out;
}

.ew-qr-gallery-preview[data-qr-stage="scan"] .ew-shared-photos img,
.ew-qr-gallery-preview[data-qr-stage="reset"] .ew-shared-photos img,
.ew-qr-gallery-preview[data-qr-stage="upload"] .ew-shared-photos img:nth-child(2) {
    opacity: 0;
    transform: translateY(12px);
}

.ew-qr-gallery-preview[data-qr-stage="upload"] .ew-shared-photos img:first-child,
.ew-qr-gallery-preview[data-qr-stage="shared"] .ew-shared-photos img,
.ew-qr-gallery-preview[data-qr-stage="relive"] .ew-shared-photos img {
    opacity: 1;
    transform: translateY(0);
}

.ew-qr-caption {
    min-height: 21px;
}

@media(prefers-reduced-motion:reduce) {
    .ew-qr-gallery-preview .ew-shared-photos img {
        transform: none;
    }
}

/* Invitation preview geometry: 584 × 360 within the 1100 × 416 feature row. */
@media(min-width:992px) {
    .ew-invitations-row .ew-step-card {
        grid-template-columns: 400px minmax(0, 584px);
        gap: 56px;
    }

    .ew-invitations-row .ew-step-title,
    .ew-invitations-row .ew-step-desc {
        max-width: 380px;
    }

    .ew-invitation-preview {
        position: relative;
        display: block;
        width: 100%;
        height: 360px;
        padding: 0;
    }

    .ew-invitation-selector {
        position: absolute;
        left: 5.48%;
        top: 50px;
        width: 41.78%;
        padding: 0;
    }

    .ew-invitation-preview .ew-invite-large {
        position: absolute;
        right: 10.27%;
        top: 8px;
        width: 28.42%;
        max-width: 166px;
        height: auto;
        aspect-ratio: 166 / 340;
        margin: 0;
    }

    .ew-invitation-selector .ew-invite-description {
        margin-bottom: 28px;
    }

    .ew-invite-track {
        gap: 16px;
    }
}

@media(min-width:992px) and (max-width:1199px) {
    .ew-invitations-row .ew-step-card {
        grid-template-columns: minmax(0, 380px) minmax(0, 584px);
        gap: 32px;
    }

    .ew-invitation-selector {
        width: 46%;
        left: 0;
    }

    .ew-invitation-preview .ew-invite-large {
        right: 2%;
        width: 32%;
    }
}

/* Lift only the colour currently displayed in the large phone. */
.ew-invite-track {
    scroll-snap-type: none;
}

.ew-invite-option {
    transform: translateY(0);
}

.ew-invite-option[aria-pressed="true"] {
    transform: translateY(-10px);
}

.ew-invite-option[aria-pressed="false"] {
    transform: translateY(0);
}

/* Allow near-end middle colours to reach the centre without shifting the large preview. */
.ew-invite-track {
    scroll-behavior: auto;
}

.ew-invite-track::after {
    content: '';
    flex: 0 0 max(0px, calc(50% - 24px));
}

/* The guest RSVP demonstration fills, selects and confirms within its own preview. */
.ew-rsvp-modal-heading {
    margin: 22px 0 0;
    padding: 10px 18px;
    background: #57888d;
    color: white;
    border-radius: 12px 12px 0 0;
    font: 500 16px/22px 'EW Cormorant', Georgia, serif;
}

.ew-rsvp-demo-form {
    position: relative;
    padding: 18px;
    border: 1px solid #e0e9e6;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 12px #163f4010;
    min-height: 380px;
}

.ew-demo-highlight {
    outline: 2px solid #70b8b1 !important;
    outline-offset: 3px;
    background-color: #edf7f2 !important;
    transition: outline-color .3s, background-color .3s;
}

.ew-rsvp-demo-form button.ew-demo-highlight {
    background-color: #2d8c90 !important;
    transform: scale(.98);
}

.ew-rsvp-confirmation[hidden] {
    display: none;
}

.ew-rsvp-completed> :not(.ew-rsvp-confirmation) {
    visibility: hidden;
}

.ew-rsvp-confirmation {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 24px;
}

.ew-rsvp-success-icon {
    width: 54px;
    height: 54px;
    border: 3px solid #61a844;
    color: #61a844;
    border-radius: 50%;
    font: 400 34px/48px 'EW Roboto', sans-serif !important;
}

.ew-homepage-wrap .ew-rsvp-confirmation h5 {
    font: 500 24px/30px 'EW Cormorant', Georgia, serif !important;
    text-transform: none;
    color: #355b54;
    margin: 0;
}

.ew-homepage-wrap .ew-rsvp-confirmation p {
    font: 400 12px/20px 'EW Roboto', sans-serif !important;
    color: #71827d;
    margin: 0;
}

.ew-rsvp-confirmation button {
    justify-self: center;
}

/* Cash-fund carousel uses original local photographs and live text. */
.ew-fund-carousel {
    min-width: 0;
    width: 100%;
}

.ew-fund-viewport {
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x pan-y;
}

.ew-fund-viewport::-webkit-scrollbar {
    display: none;
}

.ew-fund-track {
    display: flex;
    gap: 16px;
    position: relative;
    padding: 4px 0;
    width: max-content;
}

.ew-fund-track::after {
    content: '';
    width: 300px;
    flex-shrink: 0;
}

.ew-fund-card {
    flex: 0 0 244px;
    width: 244px;
    min-height: 306px;
    border: 1px solid #d8e4dd;
    border-radius: 14px;
    padding: 10px;
    background: #fff;
}

.ew-fund-card>img {
    display: block;
    width: 100%;
    height: 128px;
    object-fit: cover;
    border-radius: 10px;
    -webkit-user-drag: none;
}

.ew-homepage-wrap .ew-fund-card h4 {
    font: 500 20px/24px 'EW Cormorant', Georgia, serif !important;
    color: #233f39;
    margin: 10px 0 4px;
    text-transform: none;
}

.ew-homepage-wrap .ew-fund-card p {
    font: 400 10px/15px 'EW Roboto', sans-serif !important;
    color: #667c75;
    min-height: 45px;
    margin: 0 0 10px;
}

.ew-fund-raised {
    font: 400 9px/12px 'EW Roboto', sans-serif;
    color: #738780;
}

.ew-fund-raised strong {
    display: block;
    font: 500 18px/24px 'EW Roboto', sans-serif;
    color: #203d37;
}

.ew-fund-progress {
    height: 5px;
    background: #e4ece7;
    border-radius: 6px;
    margin: 10px 0;
}

.ew-fund-progress span {
    display: block;
    height: 100%;
    width: 65%;
    background: #247f78;
    border-radius: inherit;
}

.ew-fund-totals {
    display: flex;
    justify-content: space-between;
}

.ew-homepage-wrap .ew-fund-totals span {
    font: 400 9px/14px 'EW Roboto', sans-serif !important;
    color: #42847c;
}

.ew-fund-demo-actions {
    display: flex;
    gap: 8px;
    padding-top: 22px;
}

.ew-fund-demo-actions span {
    flex: 1;
    text-align: center;
    padding: 6px;
    border: 1px solid #3e8c8c;
    border-radius: 999px;
    font: 400 10px/16px 'EW Roboto', sans-serif !important;
    color: #3e8c8c;
}

.ew-fund-demo-actions span:last-child {
    background: #287f7b;
    color: white;
}

.ew-fund-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.ew-fund-dots button {
    width: 4px;
    height: 4px;
    border: 0;
    padding: 0;
    background: #d0ded6;
    border-radius: 99px;
    cursor: pointer;
}

.ew-fund-dots button[aria-pressed=true] {
    width: 12px;
    background: #246b63;
}

.ew-fund-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.ew-journey-illustration {
    image-rendering: auto;
    filter: none;
}

.ew-journey-invite-art {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    height: 160px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.ew-journey-invite-art>img {
    height: 150px;
    width: 80px;
    object-fit: contain;
}

.ew-journey-invite-art>div {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    transform: rotate(4deg);
    box-shadow: 0 8px 14px #163f4033;
}

.ew-homepage-wrap .ew-journey-invite-art strong {
    display: block;
    font: 500 12px/20px 'EW Roboto', sans-serif;
    color: #244b43;
}

.ew-homepage-wrap .ew-journey-invite-art span {
    display: block;
    font: 400 10px/20px 'EW Roboto', sans-serif !important;
    color: #488879;
}

.ew-visual-budget .ew-card-product {
    object-fit: contain;
}

/* Keep the original high-resolution illustrations on an untransformed layer. */
.ew-journey-pending.ew-journey-revealed .ew-journey-card {
    transform: none;
}

.ew-journey-card {
    background: #1b4b46;
}

.ew-journey-card .ew-journey-illustration {
    object-fit: contain;
    image-rendering: auto;
    transform: none;
    filter: none;
}

.ew-journey-experience .ew-journey-illustration {
    object-fit: contain;
    height: 48%;
    width: 80%;
    left: 10%;
    top: 35%;
}

.ew-journey-rsvp-art {
    position: absolute;
    width: 190px;
    height: 150px;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    font-family: 'EW Roboto', sans-serif;
}

.ew-mini-rsvp-back {
    position: absolute;
    top: 5px;
    left: 8px;
    width: 145px;
    height: 114px;
    border-radius: 8px;
    background: #e9f0f2;
    transform: rotate(-9deg);
}

.ew-mini-rsvp-back::after {
    content: '';
    position: absolute;
    width: 145px;
    height: 114px;
    background: #f3f7f8;
    transform: rotate(17deg) translate(12px, 10px);
    border-radius: 8px;
}

.ew-mini-rsvp-card {
    position: absolute;
    top: 13px;
    left: 20px;
    width: 160px;
    background: #fff;
    border-radius: 8px;
    padding: 10px 8px;
    box-shadow: 0 8px 12px #a6ddd155;
}

.ew-homepage-wrap .ew-mini-rsvp-heading {
    font: 500 8px/16px 'EW Roboto', sans-serif !important;
    color: #233442;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ew-homepage-wrap .ew-mini-rsvp-heading>span {
    font: 400 5px/12px 'EW Roboto', sans-serif !important;
    color: #9ba7b1;
    display: flex;
    gap: 4px;
    align-items: center;
}

.ew-mini-rsvp-heading b {
    width: 15px;
    height: 8px;
    border-radius: 9px;
    background: #ff705c;
    position: relative;
}

.ew-mini-rsvp-heading b::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    top: 1px;
    left: 8px;
    background: white;
    border-radius: 50%;
}

.ew-mini-rsvp-line {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 18px;
    border-bottom: 1px solid #edf0f4;
    color: #45566a;
}

.ew-homepage-wrap .ew-mini-rsvp-line span,
.ew-homepage-wrap .ew-mini-rsvp-line strong {
    font: 400 6px/12px 'EW Roboto', sans-serif !important;
    color: #45566a;
}

.ew-mini-rsvp-line strong {
    margin-left: auto;
}

.ew-mini-rsvp-line i {
    width: 8px;
    height: 8px;
    border: 1px solid #cfd7df;
    border-radius: 50%;
}

.ew-mini-rsvp-line i.selected {
    border-color: #ff705c;
    box-shadow: inset 0 0 0 2px white;
    background: #ff705c;
}

.ew-mini-rsvp-actions {
    display: flex;
    gap: 5px;
    padding-top: 7px;
}

.ew-homepage-wrap .ew-mini-rsvp-actions span {
    background: #ff705c;
    color: white;
    border-radius: 4px;
    flex: 1;
    text-align: center;
    padding: 4px 0;
    font: 500 5px/8px 'EW Roboto', sans-serif !important;
}

.ew-homepage-wrap .ew-mini-rsvp-actions span:last-child {
    background: #edf1f5;
    color: #45566a;
}

.ew-homepage-wrap .ew-mini-rsvp-count {
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    color: #354656;
    border-radius: 8px;
    padding: 6px 8px;
    font: 400 7px/12px 'EW Roboto', sans-serif !important;
    box-shadow: 0 4px 8px #ffffff44;
}

/* Arrow motion from home-new-old's register-leads button, using v2 colours. */
.ew-homepage-wrap .ew-arrow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .3s ease;
}

.ew-homepage-wrap .ew-arrow-button .ew-button-arrow {
    display: inline-flex;
    flex: 0 0 18px;
    width: 18px;
    height: 20px;
    align-items: center;
    justify-content: center;
    align-self: center;
    font: 400 18px/1 'EW Roboto', sans-serif !important;
    color: inherit !important;
    transform: translateX(0);
    transition: transform .3s ease-out;
}

.ew-homepage-wrap .ew-arrow-button:hover {
    transform: translateY(-3px);
}

.ew-homepage-wrap .ew-arrow-button:hover .ew-button-arrow {
    transform: translateX(4px);
}

.ew-homepage-wrap .ew-btn-coral .ew-button-arrow {
    color: #f7f4eb !important;
}

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

    .ew-homepage-wrap .ew-arrow-button,
    .ew-homepage-wrap .ew-arrow-button .ew-button-arrow {
        transition: none;
    }
}

/* Center the visible arrow geometry rather than a font glyph's baseline. */
.ew-homepage-wrap .ew-arrow-button .ew-button-arrow {
    height: 20px;
    line-height: 0 !important;
    vertical-align: middle;
}

.ew-homepage-wrap .ew-button-arrow svg {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    color: inherit;
}

/* Ease the button lift and arrow slide on both hover and return. */
.ew-homepage-wrap .ew-arrow-button {
    transform: translateY(0);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), background-color .35s ease, box-shadow .35s ease;
}

.ew-homepage-wrap .ew-arrow-button .ew-button-arrow {
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

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

    .ew-homepage-wrap .ew-arrow-button,
    .ew-homepage-wrap .ew-arrow-button .ew-button-arrow {
        transition-duration: .3s;
    }
}

/* RSVP mode indicators follow the demo timeline; keep their normal appearance. */
.ew-rsvp-tabs .ew-toggle-btn:disabled {
    opacity: 1;
    cursor: default;
}

/* Live seating preview: sharp text, fixed layout, alternating product scenes. */
.ew-seating-demo {
    width: 100%;
    padding: 20px 14px;
    border: 1px solid #dce5df;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 5px 18px #173e3e0a;
    color: #203c39;
    container-type: inline-size;
}

.ew-seating-demo h4 {
    margin: 0;
    font: 500 19px/1.2 var(--ew-font-body, Arial, sans-serif);
}

.ew-seating-caption {
    margin: 2px 0 18px;
    font-size: 9px;
    line-height: 1.4;
}

.ew-seating-modes {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 24px;
}

.ew-seating-modes span {
    min-width: 112px;
    padding: 5px 12px;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 24px;
    font-size: 12px;
    line-height: 1.3;
    transition: color .4s ease, border-color .4s ease;
}

.ew-seating-modes .active {
    color: #f15b49;
    border-color: #ff6654;
}

.ew-seating-scenes {
    position: relative;
    display: grid;
}

.ew-seating-chart,
.ew-floor-scene {
    grid-area: 1/1;
    transition: opacity .65s ease, transform .65s ease;
}

.ew-seating-chart {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ew-seat-table-card {
    padding: 12px 10px;
    border: 1px solid #e0e7e3;
    border-radius: 16px;
    box-shadow: 0 4px 10px #163e3e08;
    min-width: 0;
}

.ew-seat-table-card h5 {
    font: 500 13px/1.4 Arial, sans-serif;
    margin: 0;
    text-align: center;
}

.ew-seat-table-card>small {
    display: block;
    font-size: 8px;
    text-align: center;
    margin: 6px 0 12px;
    color: #4c7775;
}

.ew-seat-divider {
    height: 3px;
    border-radius: 4px;
    background: #285d5d;
}

.ew-seat-ring {
    position: relative;
    width: 138px;
    height: 138px;
    max-width: 100%;
    margin: 12px auto;
}

.ew-seat-center {
    position: absolute;
    width: 58px;
    height: 58px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #e15d48;
    background: #fff6ef;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ew-seat-center small {
    font-size: 8px;
}

.ew-seat-center strong {
    font: 400 24px/1 Arial, sans-serif;
    color: #dc604b;
}

.ew-seat-center>span {
    position: absolute;
    bottom: -4px;
    border-radius: 20px;
    padding: 2px 9px;
    background: #df614b;
    color: white;
    font-size: 9px;
}

.ew-seat-ring>i {
    position: absolute;
    top: calc(50% - 9px);
    left: calc(50% - 9px);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #285e5f;
    color: white;
    font: normal 5px/18px Arial, sans-serif;
    text-align: center;
    transform: rotate(calc(var(--seat)*45deg)) translateY(-52px) rotate(calc(var(--seat)*-45deg));
    box-shadow: 0 2px 3px #173e3e20;
}

.ew-assigned-label {
    display: block;
    font-size: 8px;
    margin: 10px 0;
}

.ew-seat-guest {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
    padding: 6px 4px;
    border: 1px solid #dce7e3;
    border-radius: 7px;
    background: #f4f8f6;
    font-size: 7px;
    min-height: 35px;
}

.ew-seat-guest>span {
    background: #285e5f;
    color: white;
    border-radius: 50%;
    padding: 2px 4px;
}

.ew-seat-guest>i {
    font-style: normal;
    border: 1px solid #71928e;
    border-radius: 50%;
    padding: 5px;
}

.ew-seat-guest small {
    display: block;
    font-size: 6px;
    margin-top: 2px;
}

.ew-seat-guest em {
    margin-left: auto;
    font-style: normal;
}

.ew-seat-tools {
    border-top: 1px solid #e1e9e5;
    margin-top: 14px;
    padding: 12px 4px 0;
    font-size: 8px;
}

.ew-seat-tools span {
    float: right;
    color: #f26450;
    font-size: 16px;
}

.ew-floor-scene {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

[data-seating-mode="floor"] .ew-seating-chart {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

[data-seating-mode="floor"] .ew-floor-scene {
    opacity: 1;
    transform: none;
}

.ew-floor-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 9px;
}

.ew-floor-toolbar span {
    background: #f0f6f3;
    border-radius: 5px;
    padding: 8px;
}

.ew-floor-layout {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 12px;
    min-height: 350px;
}

.ew-floor-layout aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 8px;
    background: #f7f9f8;
    border-radius: 8px;
    font-size: 9px;
}

.ew-floor-layout aside small {
    color: #7b9290;
    margin-top: 8px;
}

.ew-floor-canvas {
    position: relative;
    padding-top: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f3f8f7;
    border-radius: 10px;
}

.ew-head-table {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #cd8c7d;
    border-radius: 15px;
    background: white;
    padding: 5px 16px;
    text-align: center;
    font-size: 9px;
}

.ew-head-table small {
    display: block;
    font-size: 6px;
}

.ew-floor-table .ew-seat-ring {
    width: 120px;
    height: 130px;
}

.ew-floor-table .ew-seat-ring>i {
    border-radius: 3px;
    width: 12px;
    height: 12px;
    transform: rotate(calc(var(--seat)*45deg)) translateY(-48px) rotate(calc(var(--seat)*-45deg));
}

@container(max-width:460px) {
    .ew-seat-table-card {
        padding: 8px 5px;
    }

    .ew-seat-ring {
        width: 100px;
        height: 110px;
    }

    .ew-seat-ring>i {
        transform: rotate(calc(var(--seat)*45deg)) translateY(-41px) rotate(calc(var(--seat)*-45deg));
    }

    .ew-seat-center {
        width: 47px;
        height: 47px;
    }

    .ew-seat-table-card h5 {
        font-size: 10px;
    }

    .ew-seating-modes span {
        min-width: 90px;
    }

    .ew-floor-layout {
        grid-template-columns: 80px 1fr;
    }

    .ew-floor-table .ew-seat-ring {
        width: 95px;
    }
}

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

    .ew-seating-chart,
    .ew-floor-scene {
        transition: none;
    }
}

/* Isolate the live preview from the shared image mockup's flex layout. */
.ew-feature-row .ew-step-mockup.ew-seating-demo {
    display: block;
    box-sizing: border-box;
    min-width: 0;
    max-width: 584px;
    overflow: hidden;
    font-family: 'EW Roboto', Arial, sans-serif;
}

.ew-homepage-wrap .ew-seating-demo h4 {
    font: 500 19px/24px 'EW Roboto', Arial, sans-serif !important;
    color: #203c39;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.ew-homepage-wrap .ew-seating-demo h5 {
    font: 500 13px/18px 'EW Roboto', Arial, sans-serif !important;
    color: #203c39;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.ew-seating-demo .ew-seating-caption {
    display: block;
    width: 100%;
    margin: 2px 0 18px;
    color: #3c5c56;
}

.ew-seating-demo .ew-seating-scenes {
    width: 100%;
    min-width: 0;
}

.ew-seating-demo .ew-seating-chart {
    min-width: 0;
    width: 100%;
}

.ew-seating-demo .ew-seat-guest>span {
    flex-shrink: 0;
}

.ew-seating-demo .ew-seat-guest>i {
    flex-shrink: 0;
}

.ew-seating-demo .ew-seat-guest>div {
    min-width: 0;
    overflow-wrap: anywhere;
}

@container(max-width:460px) {
    .ew-homepage-wrap .ew-seating-demo h5 {
        font-size: 10px !important;
        line-height: 14px !important;
    }
}

.ew-homepage-wrap .ew-seating-demo .ew-floor-toolbar span,
.ew-homepage-wrap .ew-seating-demo .ew-floor-layout aside span {
    font-size: 9px;
    line-height: 14px;
}

.ew-homepage-wrap .ew-seating-demo .ew-seat-guest>span {
    font-size: 7px;
    line-height: 10px;
}

.ew-homepage-wrap .ew-seating-demo .ew-seat-center>span {
    font-size: 9px;
    line-height: 12px;
}

.ew-homepage-wrap .ew-seating-demo .ew-seat-tools>span {
    font-size: 16px;
    line-height: 16px;
}

.ew-homepage-wrap .ew-seating-demo .ew-seating-modes span {
    font-size: 12px;
    line-height: 16px;
}

.ew-seating-demo .ew-seat-guest {
    transition: border-color .5s ease, background-color .5s ease;
}

.ew-seating-demo .ew-seat-guest.ew-seat-selected {
    border-color: #f0644d;
    background-color: #fff8f4;
}

.ew-seating-demo .ew-floor-table .ew-seat-center {
    transition: box-shadow .5s ease, background-color .5s ease;
}

.ew-seating-demo .ew-floor-selected .ew-seat-center {
    background-color: #fff0e7;
    box-shadow: 0 0 0 5px #ef654524;
}

/* Keep the seating preview compact without scaling or stretching its text. */
.ew-feature-row .ew-step-mockup.ew-seating-demo {
    padding-top: 14px;
    padding-bottom: 14px;
}

.ew-seating-demo .ew-seating-caption {
    margin-bottom: 12px;
}

.ew-seating-demo .ew-seating-modes {
    margin-bottom: 16px;
}

.ew-seating-demo .ew-seat-table-card {
    padding-top: 9px;
    padding-bottom: 9px;
}

.ew-seating-demo .ew-seat-ring {
    height: 116px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.ew-seating-demo .ew-assigned-label {
    margin: 7px 0;
}

.ew-seating-demo .ew-seat-guest {
    min-height: 29px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.ew-seating-demo .ew-seat-tools {
    margin-top: 9px;
    padding-top: 8px;
}

.ew-seating-demo .ew-floor-layout {
    min-height: 300px;
}

.ew-seating-demo .ew-floor-table .ew-seat-ring {
    height: 110px;
}

/* Guest seat finder: name search, seat confirmation, then QR scanning. */
.ew-feature-row .ew-step-mockup.ew-seatfinder-demo {
    display: grid;
    position: relative;
    width: 100%;
    aspect-ratio: 880/510;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(#163f4099, #163f4099), url('../front/images/homepage/figma-hero-dsc7106.png') center/cover;
    container-type: inline-size;
}

.ew-finder-name-scene,
.ew-finder-scan-scene {
    grid-area: 1/1;
    width: 100%;
    min-width: 0;
    transition: opacity .6s ease;
}

.ew-finder-name-scene {
    padding: 16px 30px;
    color: #fff;
}

.ew-finder-wedding {
    text-align: center;
    font: 500 20px/1.2 'EW Cormorant', Georgia, serif;
}

.ew-finder-wedding small {
    display: block;
    margin-top: 4px;
    font: 400 8px/12px 'EW Roboto', sans-serif;
}

.ew-finder-glass {
    padding: 14px 18px;
    margin-top: 12px;
    border: 1px solid #ffffff40;
    border-radius: 14px;
    background: #ffffff25;
}

.ew-homepage-wrap .ew-finder-glass h4 {
    font: 500 22px/26px 'EW Cormorant', Georgia, serif !important;
    text-align: center;
    margin: 0 0 12px;
    color: #fff;
    text-transform: none;
}

.ew-finder-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
    color: #385a53;
}

.ew-homepage-wrap .ew-finder-search span {
    font: 400 11px/16px 'EW Roboto', sans-serif;
}

.ew-finder-search i {
    width: 1px;
    height: 13px;
    background: #315950;
    animation: ewFinderCaret 1s steps(1) infinite;
}

.ew-finder-empty,
.ew-finder-results,
.ew-finder-welcome {
    background: #f4faf8;
    border-radius: 10px;
    color: #385a53;
    margin-top: 10px;
    padding: 12px;
    font: 400 10px/16px 'EW Roboto', sans-serif;
}

.ew-finder-empty {
    text-align: center;
}

.ew-finder-results,
.ew-finder-welcome {
    display: none;
}

.ew-finder-results>div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
}

.ew-finder-results small {
    font-size: 8px;
}

.ew-finder-results>div:first-child {
    border-bottom: 1px solid #dce7df;
}

.ew-finder-welcome {
    gap: 12px;
}

.ew-finder-welcome p {
    font: 400 9px/15px 'EW Roboto', sans-serif;
    margin: 5px 0;
    color: #526b63;
}

.ew-homepage-wrap .ew-finder-welcome>span {
    font-size: 22px;
    color: #36867b;
}

.ew-finder-scan-scene {
    position: relative;
    opacity: 0;
    pointer-events: none;
}

.ew-feature-row .ew-finder-scan-scene img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.ew-finder-scan-window {
    position: absolute;
    left: 38.8%;
    top: 29%;
    width: 21.5%;
    height: 37%;
    overflow: hidden;
}

.ew-finder-scan-window span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: #39d3c5;
    box-shadow: 0 0 8px #44f1dc;
}

[data-finder-stage="results"] .ew-finder-empty,
[data-finder-stage="welcome"] .ew-finder-empty {
    display: none;
}

[data-finder-stage="results"] .ew-finder-results {
    display: block;
}

[data-finder-stage="welcome"] .ew-finder-welcome {
    display: flex;
}

[data-finder-stage="scan"] .ew-finder-name-scene {
    opacity: 0;
    pointer-events: none;
}

[data-finder-stage="scan"] .ew-finder-scan-scene {
    opacity: 1;
}

[data-finder-stage="scan"] .ew-finder-scan-window span {
    animation: ewSeatFinderScan 2.2s ease-in-out infinite alternate;
}

@keyframes ewSeatFinderScan {
    from {
        top: 0;
    }

    to {
        top: 98%;
    }
}

@keyframes ewFinderCaret {
    50% {
        opacity: 0;
    }
}

@container(max-width:430px) {
    .ew-finder-name-scene {
        padding: 10px 18px;
    }

    .ew-finder-glass {
        padding: 8px 12px;
        margin-top: 8px;
    }

    .ew-homepage-wrap .ew-finder-glass h4 {
        font-size: 18px !important;
        margin-bottom: 6px;
    }

    .ew-finder-wedding {
        font-size: 16px;
    }

    .ew-finder-welcome p {
        font-size: 8px;
        line-height: 11px;
    }

    .ew-finder-results>div {
        padding: 3px 0;
    }
}

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

    .ew-finder-name-scene,
    .ew-finder-scan-scene {
        transition: none;
    }

    .ew-finder-search i {
        animation: none;
    }
}

/* AI budget preview: typed details, analysis, and a scrolling breakdown. */
.ew-feature-row .ew-step-mockup.ew-budget-demo {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 16px;
    border: 1px solid #f0e9e6;
    border-radius: 18px;
    background: #fff;
    color: #243e3a;
    container-type: inline-size;
}

.ew-budget-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f1ef;
}

.ew-homepage-wrap .ew-budget-header h4 {
    font: 500 18px/22px 'EW Cormorant', Georgia, serif !important;
    color: #172321;
    text-transform: none;
    margin: 0;
}

.ew-budget-header small {
    display: block;
    font: 400 7px/11px 'EW Roboto', sans-serif;
    color: #7d8480;
}

.ew-homepage-wrap .ew-budget-icon {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    background: #f66d5c;
    border-radius: 7px;
    font-size: 25px;
    color: white;
}

.ew-homepage-wrap .ew-budget-history,
.ew-homepage-wrap .ew-budget-powered {
    border: 1px solid #58908a;
    border-radius: 7px;
    padding: 5px;
    font: 400 8px/12px 'EW Roboto', sans-serif;
    white-space: nowrap;
}

.ew-budget-history {
    margin-left: auto;
}

.ew-budget-powered {
    background: #f6f8f7;
}

.ew-budget-columns {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 14px;
    padding-top: 18px;
}

.ew-homepage-wrap .ew-budget-demo h5 {
    font: 400 10px/15px 'EW Roboto', sans-serif !important;
    color: #df6551;
    text-transform: none;
    margin: 0 0 10px;
}

.ew-budget-details h5 small {
    float: right;
    color: #a3aaa6;
    font-size: 7px;
}

.ew-budget-details label {
    display: block;
    font: 400 9px/13px 'EW Roboto', sans-serif;
    color: #53635d;
    margin-bottom: 8px;
}

.ew-homepage-wrap .ew-budget-details label>span {
    display: block;
    margin-top: 3px;
    padding: 6px 8px;
    min-height: 26px;
    box-sizing: border-box;
    border: 1px solid #e4e8e4;
    border-radius: 7px;
    font: 400 8px/12px 'EW Roboto', sans-serif;
    color: #697a72;
    background: #fff;
    transition: border-color .3s ease;
}

.ew-homepage-wrap .ew-budget-details label>span.ew-budget-field-active {
    border-color: #64a59d;
}

.ew-budget-submit {
    padding: 7px 8px;
    border-radius: 20px;
    margin: 16px auto 5px;
    width: 80%;
    text-align: center;
    background: linear-gradient(90deg, #2f7d80, #419e9d);
    color: white;
    font: 400 10px/14px 'EW Roboto', sans-serif;
}

.ew-budget-details>p {
    text-align: center;
    font: 400 6px/9px 'EW Roboto', sans-serif;
    color: #858b87;
    margin: 0;
}

.ew-budget-output-window {
    position: relative;
    height: 247px;
    overflow: hidden;
}

.ew-budget-ready,
.ew-budget-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity .5s ease;
}

.ew-homepage-wrap .ew-budget-ready>span {
    font-size: 44px;
    line-height: 50px;
    color: #df6551;
}

.ew-budget-ready b,
.ew-budget-loading b {
    font: 500 10px/16px 'EW Roboto', sans-serif;
    margin-top: 10px;
}

.ew-budget-ready p,
.ew-budget-loading p {
    font: 400 7px/11px 'EW Roboto', sans-serif;
    color: #7c8580;
    margin: 7px 0;
}

.ew-budget-spinner {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: #fc786d;
    color: white;
    border-radius: 50%;
    font: 400 12px/1 'EW Roboto', sans-serif;
}

.ew-budget-spinner::after {
    content: '';
    position: absolute;
    inset: -7px;
    border: 2px solid #fce4df;
    border-top-color: #ef7365;
    border-radius: 50%;
    animation: ewBudgetSpin 1.2s linear infinite;
}

.ew-budget-loading,
.ew-budget-results {
    opacity: 0;
}

[data-budget-stage="loading"] .ew-budget-ready,
[data-budget-stage="results"] .ew-budget-ready {
    opacity: 0;
}

[data-budget-stage="loading"] .ew-budget-loading {
    opacity: 1;
}

[data-budget-stage="results"] .ew-budget-results {
    opacity: 1;
}

.ew-budget-results {
    transition: opacity .5s ease;
    will-change: transform;
}

.ew-budget-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px 12px;
    background: linear-gradient(110deg, #1e5550, #2e8778);
    color: white;
    border-radius: 8px;
}

.ew-budget-summary small {
    font-size: 7px;
}

.ew-budget-summary strong {
    font: 500 26px/30px 'EW Cormorant', Georgia, serif;
}

.ew-homepage-wrap .ew-budget-summary>span {
    font: 400 8px/12px 'EW Roboto', sans-serif;
    color: white;
}

.ew-budget-advice {
    padding: 10px;
    margin: 12px 0;
    background: #fffbef;
    font: 400 8px/12px 'EW Roboto', sans-serif;
}

.ew-budget-advice p {
    font: 400 8px/13px 'EW Roboto', sans-serif;
    margin: 5px 0 0;
    color: #67746b;
}

.ew-budget-results h6 {
    font: 500 10px/16px 'EW Roboto', sans-serif;
    color: #df6551;
    margin: 12px 0 6px;
}

.ew-budget-category {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 0;
    border-bottom: 1px solid #eef0ec;
    font: 400 8px/12px 'EW Roboto', sans-serif;
}

.ew-budget-category i {
    font-style: normal;
    background: #fa7770;
    border-radius: 3px;
    padding: 2px 3px;
    color: white;
}

.ew-homepage-wrap .ew-budget-category>span {
    font: 400 8px/12px 'EW Roboto', sans-serif;
}

.ew-budget-category b {
    margin-left: auto;
    font-weight: 500;
}

.ew-budget-category small {
    font-size: 7px;
    color: #7b8981;
}

@keyframes ewBudgetSpin {
    to {
        transform: rotate(360deg);
    }
}

@container(max-width:420px) {
    .ew-budget-header {
        flex-wrap: wrap;
    }

    .ew-budget-header>div {
        flex: 1;
    }

    .ew-budget-powered {
        display: none;
    }

    .ew-budget-columns {
        gap: 8px;
    }

    .ew-budget-output-window {
        height: 247px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .ew-budget-spinner::after {
        animation: none;
    }
}

/* Small journey illustrations use native text and vector details for legibility. */
.ew-foundation-art {
    position: absolute;
    width: 116px;
    height: 158px;
    left: 50%;
    bottom: 38px;
    transform: translateX(-50%);
}

.ew-foundation-art::before {
    content: '';
    position: absolute;
    inset: 8px -5px 7px 9px;
    background: #e9f1f4;
    border-radius: 5px;
    transform: rotate(9deg);
}

.ew-foundation-art::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: #ff9a80;
    border-radius: 55% 55% 45% 45%;
    transform: rotate(-20deg);
}

.ew-foundation-sheet {
    position: absolute;
    inset: 14px 5px 0 5px;
    padding: 9px 8px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 7px 15px #afd9d32b;
    color: #263348;
}

.ew-foundation-sheet>small {
    display: block;
    font: 500 5px/8px 'EW Roboto', sans-serif;
    margin-bottom: 2px;
}

.ew-foundation-sheet>div {
    border: 1px solid #e9edf3;
    border-radius: 3px;
    padding: 4px 3px;
    margin-bottom: 5px;
    background: #fafbfe;
    font: 400 5px/7px 'EW Roboto', sans-serif;
}

.ew-foundation-sheet b {
    float: right;
}

.ew-foundation-sheet footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.ew-homepage-wrap .ew-foundation-sheet footer span {
    border: 1px solid #e4e9ef;
    border-radius: 7px;
    padding: 2px 1px;
    font: 400 4px/6px 'EW Roboto', sans-serif;
    text-align: center;
    color: #354356;
}

.ew-homepage-wrap .ew-foundation-sheet footer span:first-child {
    color: #ff6f55;
    background: #fff0e9;
    border-color: #ffb29d;
}

.ew-vision-art {
    position: absolute;
    width: 178px;
    height: 118px;
    left: 50%;
    bottom: 73px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ew-vision-tile {
    position: relative;
    width: 65px;
    height: 75px;
    border-radius: 9px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 14px #d8ffff50;
}

.ew-vision-tile::before {
    content: '';
    position: absolute;
    inset: -12px 0 5px -6px;
    border-radius: 8px;
    background: #f0f5f7;
    transform: rotate(-10deg);
    z-index: -1;
}

.ew-vision-tile:last-child::before {
    transform: rotate(8deg);
    background: #fff7f3;
}

.ew-vision-tile:last-child::after {
    content: '';
    position: absolute;
    inset: -20px -9px 15px 15px;
    border-top: 1px solid #ff875c;
    border-right: 1px solid #ff875c;
    border-radius: 0 14px 0 0;
    z-index: -2;
}

.ew-vision-tile svg {
    width: 26px;
    height: 26px;
    stroke: #ff6c48;
    stroke-width: 1.8;
}

.ew-homepage-wrap .ew-vision-tile>span {
    font: 500 7px/11px 'EW Roboto', sans-serif;
    color: #243246;
}

.ew-homepage-wrap .ew-vision-sync {
    font: 400 20px/24px 'EW Roboto', sans-serif;
    color: #263f43;
}

.ew-celebrate-art {
    position: absolute;
    width: 182px;
    height: 158px;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    color: #253247;
}

.ew-celebrate-art::before {
    content: '';
    position: absolute;
    inset: 27px 5px 15px 0;
    border-radius: 7px;
    background: #ecf3f6;
    transform: rotate(-8deg);
}

.ew-celebrate-seating {
    position: absolute;
    top: 37px;
    left: 5px;
    width: 154px;
    padding: 10px 9px;
    border-radius: 6px;
    background: white;
    box-shadow: 0 4px 10px #c2eae63b;
}

.ew-celebrate-seating header {
    font: 500 7px/11px 'EW Roboto', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ew-celebrate-seating header small {
    font: 400 4px/7px 'EW Roboto', sans-serif;
    border: 1px solid #e3e9ef;
    border-radius: 4px;
    padding: 2px 3px;
}

.ew-celebrate-tables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 9px;
    padding: 12px 5px 4px;
}

.ew-celebrate-table {
    width: 28px;
    height: 28px;
    position: relative;
    border-radius: 50%;
    background: #f1f4f8;
    display: grid;
    place-items: center;
    font: 400 9px/12px 'EW Roboto', sans-serif;
}

.ew-celebrate-table>i {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d1dae4;
    border-radius: 50%;
    top: 12px;
    left: 12px;
    transform: rotate(calc(var(--seat)*45deg)) translateY(-18px);
}

.ew-celebrate-table.selected {
    background: #fff0e9;
}

.ew-celebrate-table.selected>i {
    background: #ff8c70;
}

.ew-celebrate-schedule {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
    width: 124px;
    padding: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    background: #fff;
    font: 500 6px/9px 'EW Roboto', sans-serif;
}

.ew-celebrate-schedule small,
.ew-celebrate-count small {
    display: block;
    color: #8b96a2;
    font: 400 5px/8px 'EW Roboto', sans-serif;
}

.ew-celebrate-schedule i {
    font-style: normal;
    color: #ff795a;
    font-size: 18px;
}

.ew-homepage-wrap .ew-celebrate-schedule>span {
    margin-left: auto;
    font-size: 12px;
    color: #263348;
}

.ew-celebrate-count {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 7px;
    align-items: center;
    border-radius: 6px;
    background: #fff;
    padding: 6px 9px;
    font: 500 7px/10px 'EW Roboto', sans-serif;
    box-shadow: 0 4px 9px #c6ece530;
}

.ew-homepage-wrap .ew-celebrate-count>span {
    color: #263348;
    font-size: 13px;
}

@media(max-width:767px) {
    .ew-foundation-art {
        bottom: 30px;
    }

    .ew-vision-art {
        bottom: 65px;
    }

    .ew-celebrate-art {
        bottom: 30px;
    }
}

/* Feature-card hover from Figma: champagne rim, 8px lift, and ambient glow */
.ew-feature-viewport {
    padding-top: 24px;
    padding-bottom: 32px;
    margin-top: -24px;
    margin-bottom: -32px;
}

.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card {
    transform: translateY(0);
    will-change: transform, box-shadow, border-color;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.65s ease;
}

.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card:hover,
.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card:focus-visible {
    transform: translateY(-10px) !important;
    border-color: rgba(229, 195, 136, 0.55);
    box-shadow: 0px 14px 48px 0px rgba(229, 195, 136, 0.22),
        0px 0px 32px 0px rgba(229, 195, 136, 0.35);
}

/* Seating demo: stable sharp type and a guest transfer above the table cards. */
.ew-seating-demo .ew-seating-chart {
    position: relative;
}

.ew-seating-demo .ew-seating-chart,
.ew-seating-demo .ew-floor-scene,
.ew-seating-demo[data-seating-mode="floor"] .ew-seating-chart,
.ew-seating-demo[data-seating-mode="floor"] .ew-floor-scene {
    transform: none;
    filter: none;
    transition: opacity .5s ease;
}

.ew-seating-demo .ew-seat-moving-guest {
    position: absolute;
    z-index: 5;
    margin: 0;
    pointer-events: none;
    opacity: 0;
    box-sizing: border-box;
    border-color: #f0644d;
    background: #fff;
    box-shadow: 0 5px 12px #163f4033;
    transition: opacity .15s ease;
}

.ew-seating-demo .ew-seat-guest {
    font-size: 8px;
    line-height: 11px;
    color: #243d39;
}

.ew-seating-demo .ew-seat-guest small {
    font-size: 7px;
    line-height: 10px;
    color: #58716a;
}

.ew-seating-demo .ew-assigned-label {
    font-size: 9px;
    line-height: 13px;
    color: #243d39;
}

.ew-seating-demo .ew-seat-table-card>small {
    font-size: 9px;
    line-height: 13px;
    color: #476b64;
}

.ew-seating-demo .ew-seat-ring>i {
    font-size: 6px;
    font-weight: 500;
}

.ew-seating-demo .ew-seating-caption {
    font-size: 10px;
    line-height: 14px;
    color: #47635c;
}

.ew-homepage-wrap .ew-seating-demo .ew-floor-toolbar span,
.ew-homepage-wrap .ew-seating-demo .ew-floor-layout aside span {
    font-size: 10px;
    line-height: 15px;
    color: #34584e;
}

/* Circular avatars never flex or inherit row padding. */
.ew-seating-demo .ew-seat-guest>i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    padding: 0;
    box-sizing: border-box;
    aspect-ratio: 1;
    border-radius: 50%;
    font: 400 7px/1 'EW Roboto', sans-serif;
}

.ew-homepage-wrap .ew-seating-demo .ew-seat-guest>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    min-width: 13px;
    padding: 0;
    border-radius: 50%;
    font: 400 7px/1 'EW Roboto', sans-serif;
}

.ew-seating-demo .ew-seat-center {
    box-sizing: border-box;
    flex-shrink: 0;
    aspect-ratio: 1;
    border: 2px solid #ed6048;
    background: #fff3e9;
    box-shadow: 0 0 0 1px #ef604812;
}

.ew-seating-demo .ew-seat-center strong {
    color: #e75b42;
    font-weight: 500;
}

.ew-seating-demo .ew-seat-table-card .ew-seat-ring>i {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    top: calc(50% - 9px);
    left: calc(50% - 9px);
    transform: rotate(calc(var(--seat)*45deg + var(--seat-orbit, 0deg))) translateY(-52px) rotate(calc(var(--seat)*-45deg - var(--seat-orbit, 0deg)));
}

.ew-seating-demo .ew-seat-receiving .ew-seat-center {
    border-color: #ff6748;
    box-shadow: 0 0 0 4px #ff79551a;
}

.ew-seating-demo .ew-floor-ivory {
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 6px;
    transition: border-color .5s ease, background-color .5s ease;
}

.ew-seating-demo[data-seating-mode="floor"] .ew-floor-ivory {
    border-color: #ee765b;
    background: #fff6ef;
    color: #aa4e38;
}

.ew-seating-demo .ew-floor-selected .ew-seat-center {
    border-color: #ed6048;
    background: #fff0e4;
    box-shadow: 0 0 0 4px #ed604819;
}

@container(max-width:460px) {
    .ew-seating-demo .ew-seat-table-card .ew-seat-ring>i {
        transform: rotate(calc(var(--seat)*45deg + var(--seat-orbit, 0deg))) translateY(-41px) rotate(calc(var(--seat)*-45deg - var(--seat-orbit, 0deg)));
    }
}

/* Mobile reference: public/home-resp.png — section 1, navigation and hero. */
@media (max-width: 767px) {
    .ew-nav-wrapper {
        top: 12px;
    }

    .ew-nav-pill,
    .ew-nav-wrapper.scrolled .ew-nav-pill {
        width: calc(100% - 24px);
        height: 56px;
        padding: 0 16px;
    }

    .ew-nav-pill .ew-brand-logo {
        width: 139px;
        height: 36px;
    }

    .ew-mobile-toggle {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .ew-mobile-drawer {
        top: 80px;
        left: 12px;
        right: 12px;
    }

    .ew-hero {
        min-height: 895px;
        padding: 92px 0 145px;
        text-align: center;
    }

    .ew-hero>.ew-container {
        width: 100%;
        padding: 0 24px;
    }

    .ew-hero-content {
        max-width: 100%;
    }

    .ew-hero-photo {
        inset: auto 0 0;
        width: 100%;
        height: 650px;
        object-position: 60% center;
    }

    .ew-hero-overlay {
        background: linear-gradient(180deg, #426462 0%, #426462 28%, rgba(66, 100, 98, .8) 36%, rgba(66, 100, 98, .15) 57%, rgba(22, 63, 56, .18) 76%, #426462 100%);
    }

    .ew-hero-title {
        font-size: clamp(60px, 18.46vw, 96px);
        line-height: 1.04;
        letter-spacing: -.04em;
        margin-bottom: 16px;
    }

    .ew-hero-title .ew-hero-first-line {
        justify-content: center;
    }

    .ew-hero-title>span+span {
        margin-top: 0;
    }

    .ew-hero-title>span:last-child::after {
        content: '.';
    }

    .ew-hero-subtitle {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 0;
    }

    .ew-hero-actions {
        flex-direction: column;
        gap: 16px;
        margin-top: 318px;
    }

    .ew-hero-actions .ew-btn-pill {
        min-height: 64px;
        font-size: 18px;
    }
}

/* Responsive section review against the 390px homepage reference. */
@media (max-width: 991px) {
    .ew-connected-plan {
        padding-top: 340px;
    }

    .ew-connected-rings {
        display: block;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 340px;
        height: 320px;
        object-fit: cover;
    }

    .ew-connected-halo {
        display: block;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: 280px;
        height: 280px;
    }

    .ew-connected-plan .ew-connected-couple {
        display: block;
        top: 32px;
        left: 50%;
        transform: translateX(-50%);
        width: 260px;
        height: 260px;
        opacity: 1;
    }

    .ew-connected-heading {
        text-align: center;
    }

    .ew-step-card>*,
    .ew-pricing-grid>*,
    .ew-checklist-grid>*,
    .ew-vendor-grid>* {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .ew-homepage-wrap .ew-container {
        max-width: 100%;
    }

    .ew-feature-carousel-section {
        margin-top: -115px;
        background: linear-gradient(transparent 115px, #fff 115px);
    }

    .ew-carousel-grid {
        padding-left: 32px;
        padding-right: 32px;
        gap: 18px;
    }

    .ew-feature-card {
        flex-basis: min(326px, calc(100vw - 64px));
        width: min(326px, calc(100vw - 64px));
        height: 445px;
        padding: 20px 12px;
        align-items: center;
        scroll-margin-left: 32px;
    }

    .ew-feature-badge {
        align-self: center;
    }

    .ew-feature-visual {
        transform: scale(.9);
        transform-origin: top center;
        margin-bottom: -24px;
    }

    .ew-homepage-wrap .ew-feature-title {
        text-align: center;
        font-size: 34px !important;
        line-height: 36px !important;
    }

    .ew-homepage-wrap .ew-feature-description {
        display: none;
    }

    .ew-connected-container {
        width: calc(100% - 48px);
    }

    .ew-connected-plan {
        gap: 14px;
        margin-top: 24px;
    }

    .ew-journey-card {
        height: 365px;
        text-align: center;
        background: #163f40;
        padding: 24px;
    }

    .ew-homepage-wrap .ew-journey-card p {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .ew-connected-action .ew-btn-pill {
        max-width: 100%;
    }

    .ew-stepper-section {
        padding: 48px 0;
    }

    .ew-stepper-timeline {
        padding: 0;
    }

    .ew-timeline-rail,
    .ew-step-pin {
        display: none !important;
    }

    .ew-step-row {
        margin-bottom: 20px;
    }

    .ew-website-row .ew-step-card,
    .ew-feature-row .ew-step-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 28px 20px;
        border-radius: 22px;
        text-align: center;
        min-height: 0;
        box-shadow: 0 3px 8px #163f4010;
    }

    .ew-website-row .ew-step-info,
    .ew-feature-row .ew-step-info {
        display: contents;
    }

    .ew-step-card .ew-step-badge {
        grid-row: 1;
        margin: 0 !important;
        color: #db5740 !important;
    }

    .ew-step-card .ew-step-title {
        grid-row: 2;
        margin: 0 !important;
    }

    .ew-step-card .ew-step-desc {
        grid-row: 3;
        margin: 0 !important;
    }

    .ew-step-card .ew-step-mockup {
        grid-row: 4;
        min-width: 0;
        width: 100%;
    }

    .ew-step-card .ew-step-actions {
        grid-row: 5;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    .ew-homepage-wrap .ew-step-card .ew-step-title {
        font-size: 32px !important;
        line-height: 36px !important;
    }

    .ew-homepage-wrap .ew-step-card .ew-step-desc {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .ew-step-actions .ew-btn-pill {
        max-width: 100%;
    }

    .ew-website-preview {
        height: 250px;
    }

    .ew-website-desktop {
        height: 200px;
    }

    .ew-website-mobile {
        top: 60px;
        height: 180px;
    }

    .ew-invitation-preview {
        flex-direction: column;
        gap: 20px;
    }

    .ew-invite-large {
        flex-basis: auto;
        order: -1;
    }

    .ew-invitation-selector {
        max-width: 260px;
    }

    .ew-invite-caption,
    #ew-active-swatch-name,
    .ew-invite-description {
        display: none;
    }

    .ew-invite-track {
        justify-content: flex-start;
    }

    .ew-invite-pagination {
        justify-content: center;
    }

    .ew-pricing-grid {
        gap: 40px;
    }

    .ew-pricing-info {
        padding-top: 0;
        text-align: center;
    }

    .ew-pricing-info .ew-btn-pill {
        max-width: 100%;
    }

    .ew-pricing-card-hero {
        width: 100%;
    }

    .ew-credits-header {
        text-align: center;
        gap: 20px;
        margin-bottom: 28px;
    }

    .ew-credit-card {
        text-align: center;
    }

    .ew-credit-card.highlight .ew-credit-tier-title {
        padding-top: 32px;
    }

    .ew-credit-card .ew-pop-badge {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .ew-checklist-grid {
        gap: 28px;
    }

    .ew-checklist-content {
        text-align: center;
    }

    .ew-checklist-items {
        text-align: left;
        margin: 32px 0;
    }

    .ew-checklist-item {
        gap: 16px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .ew-checklist-photo-wrap {
        width: 100%;
    }

    .ew-vendor-grid {
        gap: 24px;
    }

    .ew-vendor-info {
        text-align: center;
        padding: 0;
    }

    .ew-vendor-artwork {
        width: 100%;
    }

    .ew-faq-section {
        padding: 56px 0;
    }

    .ew-faq-left {
        text-align: center;
    }

    .ew-faq-photo {
        margin-left: auto;
        margin-right: auto;
    }

    .ew-accordion {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .ew-accordion-item {
        padding: 0 16px;
        border: 0;
        border-radius: 16px;
        background: #edf3ef;
    }

    .ew-homepage-wrap .ew-accordion-header,
    .ew-homepage-wrap .ew-accordion-header>span:first-child {
        font-size: 18px;
        line-height: 25px;
    }

    .ew-accordion-header {
        padding: 16px 0;
        gap: 12px;
    }

    .ew-homepage-wrap .ew-accordion-body {
        padding: 0 0 18px;
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .ew-closing-section,
    .ew-closing-section>.ew-container {
        min-height: 690px;
        height: 690px;
    }

    .ew-closing-content {
        padding-top: 40px;
        width: calc(100% - 32px);
    }

    .ew-homepage-wrap .ew-closing-content .ew-eyebrow {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .ew-homepage-wrap .ew-closing-title {
        font-size: 40px;
        line-height: 44px;
        margin-bottom: 24px;
    }

    .ew-homepage-wrap .ew-closing-sub {
        font-size: 16px;
        line-height: 24px;
    }

    .ew-closing-content .ew-btn-pill {
        margin-top: 290px;
        width: 100%;
        padding: 16px 10px;
    }

    .ew-closing-photos img:nth-child(1) {
        left: 6%;
        top: 42%;
        width: 42%;
        height: 29%;
    }

    .ew-closing-photos img:nth-child(2) {
        left: 53%;
        top: 42%;
        width: 37%;
        height: 15%;
    }

    .ew-closing-photos img:nth-child(3) {
        right: 10%;
        top: 60%;
        width: 41%;
        height: 17%;
    }

    .ew-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        gap: 32px;
    }

    .ew-footer-brand {
        grid-column: auto;
    }

    .ew-footer-links {
        align-items: center;
    }

    .ew-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ew-footer-bottom a {
        margin: 0 12px !important;
    }
}

@media (max-width: 767px) {

    /* Keep multiple descriptive paragraphs in their own rows. */
    .ew-step-card .ew-step-badge {
        grid-row: auto;
        order: 1;
    }

    .ew-step-card .ew-step-title {
        grid-row: auto;
        order: 2;
    }

    .ew-step-card .ew-step-desc {
        grid-row: auto;
        order: 3;
    }

    .ew-step-card .ew-step-mockup {
        grid-row: auto;
        order: 4;
    }

    .ew-step-card .ew-step-actions {
        grid-row: auto;
        order: 5;
    }

    .ew-hero-photo {
        height: 100%;
    }

    .ew-hero-overlay {
        background: linear-gradient(180deg, #426462 0%, rgba(66, 100, 98, .98) 27%, rgba(66, 100, 98, .65) 39%, rgba(66, 100, 98, .12) 58%, rgba(22, 63, 56, .18) 76%, #426462 100%);
    }
}

@media (max-width: 991px) {

    /* Long mobile sections must remain readable when scrolled past quickly. */
    .ew-homepage-wrap .ew-reveal,
    .ew-homepage-wrap .ew-journey-pending .ew-journey-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* The desktop orbit SVG includes a wide canvas; mobile needs a square orbit. */
@media (max-width: 991px) {
    .ew-connected-plan {
        padding-top: 420px;
    }

    .ew-connected-plan .ew-connected-rings {
        display: block;
        content: url('../front/images/homepage/mobile-couple-rings.svg');
        top: 6px;
        left: 50%;
        width: 312px;
        height: 312px;
        max-width: 100%;
        transform: translateX(-50%);
        object-fit: contain;
    }

    .ew-connected-plan .ew-connected-couple {
        top: 32px;
        width: 260px;
        height: 260px;
    }

    .ew-connected-mobile-caption {
        display: block;
        position: absolute;
        top: 334px;
        left: 0;
        width: 100%;
        text-align: center;
        color: #172321;
    }

    .ew-homepage-wrap .ew-connected-mobile-caption strong {
        display: block;
        font: 600 18px/26px 'EW Roboto', sans-serif !important;
        margin-bottom: 12px;
    }

    .ew-homepage-wrap .ew-connected-mobile-caption p {
        margin: 0;
        font: 400 16px/24px 'EW Roboto', sans-serif !important;
        color: #405b54;
    }
}

@media (min-width: 992px) {
    .ew-connected-mobile-caption {
        display: none;
    }
}

/* Reserve room for the laptop keyboard, which extends beyond its screen. */
@media (max-width: 991px) {
    .ew-website-preview .ew-website-desktop {
        left: 9%;
        width: 76%;
    }

    .ew-website-preview .ew-website-mobile {
        right: 2%;
    }
}

/* Invitation chapter: copy, main phone, colour slider, then actions. */
@media (max-width: 767px) {
    .ew-invitations-row .ew-invitation-preview {
        grid-row: auto;
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        gap: 24px;
        padding: 0;
    }

    .ew-invitations-row .ew-invite-large {
        position: relative;
        inset: auto;
        order: 0;
        flex: none;
        width: 140px;
        height: 286px;
        margin: 0;
    }

    .ew-invitations-row .ew-invitation-selector {
        position: relative;
        inset: auto;
        order: 1;
        width: 100%;
        max-width: 260px;
        padding: 0;
    }

    .ew-invitations-row .ew-step-actions {
        order: 5;
    }

    .ew-invitations-row .ew-step-title br {
        display: none;
    }
}

/* Every tool chapter follows the same mobile reading order, including
   custom previews that do not use the shared mockup class. */
@media (max-width: 767px) {
    .ew-stepper-timeline .ew-step-card> :not(.ew-step-info) {
        grid-row: auto;
        order: 4;
        min-width: 0;
        max-width: 100%;
    }

    .ew-stepper-timeline .ew-step-info {
        display: contents;
    }

    .ew-stepper-timeline .ew-step-info>.ew-step-badge {
        order: 1;
    }

    .ew-stepper-timeline .ew-step-info>.ew-step-title {
        order: 2;
    }

    .ew-stepper-timeline .ew-step-info>.ew-step-desc {
        order: 3;
    }

    .ew-stepper-timeline .ew-step-info>.ew-step-actions {
        order: 5;
    }

    .ew-stepper-timeline .ew-step-title br,
    .ew-stepper-timeline .ew-step-desc br {
        display: none;
    }
}

/* QR chapter keeps its scan panel beside the smaller shared memories. */
@media (max-width: 767px) {
    #qr-preview .ew-qr-gallery-preview {
        grid-template-columns: 36% minmax(0, 1fr);
        gap: 16px;
        align-items: start;
        text-align: left;
        margin: 8px auto;
        max-width: 360px;
    }

    #qr-preview .ew-qr-original {
        width: 100%;
        height: auto;
        aspect-ratio: 180 / 242;
        transform: none;
        margin: 0;
        border-radius: 12px;
    }

    #qr-preview .ew-qr-original img {
        width: 325.56%;
        height: 132.23%;
        left: -13.89%;
        top: -2.48%;
    }

    .ew-homepage-wrap #qr-preview .ew-shared-gallery h4 {
        font-size: 13px !important;
        line-height: 18px !important;
        letter-spacing: -.3px;
        margin: 4px 0 12px;
    }

    #qr-preview .ew-shared-photos {
        gap: 6px;
    }

    #qr-preview .ew-shared-photos img {
        height: auto;
        aspect-ratio: 2 / 3;
        border-radius: 7px;
    }

    .ew-homepage-wrap #qr-preview .ew-shared-gallery p {
        font-size: 10px !important;
        line-height: 15px !important;
        margin-top: 8px;
    }
}

.ew-step-title .ew-seatfinder-heading-line {
    display: block;
}

/* Heading line spans retain the heading typography over shared span styles. */
.ew-homepage-wrap .ew-step-title .ew-seatfinder-heading-line {
    font-family: 'EW Cormorant', Georgia, serif !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    color: inherit;
}

@media (max-width: 767px) {
    .ew-tools-planning-cta {
        display: none;
    }
}

/* Center the mobile offer card like the pricing reference. */
@media (max-width: 767px) {
    .ew-pricing-card-hero {
        text-align: center;
        padding: 28px 24px;
    }

    .ew-pricing-card-hero .ew-price-display {
        justify-content: center;
    }

    .ew-pricing-card-hero .ew-regular-price {
        align-items: center;
    }

    .ew-pricing-card-hero .ew-price-sub {
        white-space: normal;
        font-size: 12px;
        line-height: 18px;
        margin-top: 24px;
        padding-bottom: 18px;
    }

    .ew-pricing-card-hero .ew-feature-checklist {
        width: fit-content;
        max-width: 100%;
        margin: 0 auto 20px;
        padding-left: 0;
        text-align: left;
    }

    .ew-pricing-card-hero .ew-feature-checklist li {
        font-size: 16px;
        line-height: 24px;
        gap: 16px;
    }

    .ew-pricing-card-hero .ew-micro-text {
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .ew-homepage-wrap .ew-checklist-content .ew-section-title.text-start {
        text-align: center !important;
    }

    .ew-checklist-content>.ew-eyebrow,
    .ew-checklist-content>.ew-step-desc {
        text-align: center;
    }
}

/* Mobile vendor story: introduction, montage, application, closing copy. */
@media (max-width: 767px) {
    .ew-vendor-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        text-align: center;
    }

    .ew-vendor-grid .ew-vendor-info {
        display: contents;
    }

    .ew-vendor-info>.ew-eyebrow {
        order: 1;
        margin-bottom: 16px;
    }

    .ew-vendor-info>h2 {
        order: 2;
        text-align: center;
    }

    .ew-vendor-info>p {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .ew-vendor-grid>.ew-vendor-montage-wrap {
        order: 4;
        width: 100%;
        margin: 24px 0 32px;
    }

    .ew-vendor-info>.my-4 {
        order: 5;
        margin: 0 0 32px !important;
        max-width: 100%;
    }

    .ew-vendor-info>.small {
        order: 6;
        text-align: center;
        width: 100%;
    }

    .ew-vendor-info .ew-btn-pill {
        max-width: 100%;
    }

    .ew-vendor-closing {
        margin-top: 56px;
        text-align: center;
    }
}

/* Closing invitation flows naturally on mobile instead of overlapping offsets. */
@media (max-width: 767px) {
    .ew-closing-section {
        height: auto;
        min-height: 0;
    }

    .ew-closing-section>.ew-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        height: auto;
        min-height: 0;
        padding: 40px 24px 32px;
        text-align: center;
    }

    .ew-closing-section .ew-closing-content {
        display: contents;
    }

    .ew-closing-content>.ew-eyebrow {
        order: 1;
    }

    .ew-closing-content>.ew-closing-title {
        order: 2;
    }

    .ew-closing-content>.ew-closing-sub {
        order: 3;
    }

    .ew-homepage-wrap .ew-closing-content>.ew-eyebrow,
    .ew-homepage-wrap .ew-closing-content>.ew-closing-title,
    .ew-homepage-wrap .ew-closing-content>.ew-closing-sub {
        margin: 0;
        text-align: center;
    }

    .ew-closing-section .ew-closing-photos {
        position: relative;
        inset: auto;
        order: 4;
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 340 / 280;
        margin: 8px 0 0;
    }

    .ew-closing-photos img:nth-child(1) {
        left: 0;
        top: 0;
        width: 51%;
        height: 88%;
    }

    .ew-closing-photos img:nth-child(2) {
        left: auto;
        right: 0;
        top: 2%;
        width: 43%;
        height: 38%;
    }

    .ew-closing-photos img:nth-child(3) {
        right: 6%;
        top: auto;
        bottom: 0;
        width: 46%;
        height: 46%;
    }

    .ew-closing-content>.ew-btn-pill {
        order: 5;
        margin: 0;
        width: 100%;
        height: auto;
        min-height: 64px;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .ew-closing-content>.mb-5 {
        order: 5;
        width: 100%;
        margin: 0 !important;
    }

    .ew-closing-content>.mb-5>.ew-btn-pill {
        margin: 0;
        width: 100%;
        height: auto;
        min-height: 64px;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .ew-footer-brand {
        text-align: center;
    }

    .ew-footer-brand .ew-brand-logo {
        display: block;
        margin: 0 auto 20px !important;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .ew-homepage-wrap .ew-footer-brand>p {
        max-width: none;
        width: 100%;
        font-size: clamp(11px, 3.3vw, 16px) !important;
        white-space: nowrap;
        text-align: center;
    }

    .ew-footer-brand>p br {
        display: none;
    }
}

/* Figma EW/Heading/Mobile: 38/42. Keep hero and embedded demo UI separate. */
@media (max-width: 767px) {

    .ew-homepage-wrap .ew-section-title,
    .ew-homepage-wrap .ew-section-title span,
    .ew-homepage-wrap .ew-connected-heading .ew-section-title,
    .ew-homepage-wrap .ew-connected-heading .ew-section-title span,
    .ew-homepage-wrap .ew-stepper-header .ew-section-title,
    .ew-homepage-wrap .ew-stepper-header .ew-section-title span,
    .ew-homepage-wrap .ew-step-card .ew-step-title,
    .ew-homepage-wrap .ew-feature-title,
    .ew-homepage-wrap .ew-pricing-info h2,
    .ew-homepage-wrap .ew-pricing-package-title,
    .ew-homepage-wrap .ew-credits-title,
    .ew-homepage-wrap .ew-checklist-content .ew-section-title,
    .ew-homepage-wrap .ew-checklist-content .ew-section-title span,
    .ew-homepage-wrap .ew-vendor-info h2,
    .ew-homepage-wrap .ew-faq-left h2,
    .ew-homepage-wrap .ew-faq-left h2 span,
    .ew-homepage-wrap .ew-closing-title {
        font-size: 38px !important;
        line-height: 42px !important;
    }
}

/* Figma EW/Body/Small: mobile section supporting copy, 14/21. */
@media (max-width: 767px) {

    .ew-homepage-wrap .ew-step-card .ew-step-desc,
    .ew-homepage-wrap .ew-feature-description,
    .ew-homepage-wrap .ew-journey-card p,
    .ew-homepage-wrap .ew-connected-mobile-caption p,
    .ew-homepage-wrap .ew-pricing-info p,
    .ew-homepage-wrap .ew-credits-header p,
    .ew-homepage-wrap .ew-credit-desc,
    .ew-homepage-wrap .ew-checklist-content>.ew-step-desc,
    .ew-homepage-wrap .ew-item-info p,
    .ew-homepage-wrap .ew-vendor-info>p,
    .ew-homepage-wrap .ew-vendor-info>.small,
    .ew-homepage-wrap .ew-vendor-closing span,
    .ew-homepage-wrap .ew-faq-left p,
    .ew-homepage-wrap .ew-closing-sub {
        font-size: 14px !important;
        line-height: 21px !important;
    }
}

/* Figma EW/FAQ/Question: 18/26 on mobile. */
@media (max-width: 767px) {

    .ew-homepage-wrap .ew-accordion-header,
    .ew-homepage-wrap .ew-accordion-header>span:first-child {
        font-size: 18px !important;
        line-height: 26px !important;
    }
}

/* Bring the desktop closing collage closer to the central message. */
@media (min-width: 992px) {
    .ew-closing-photos img:nth-child(1) {
        left: 10%;
    }

    .ew-closing-photos img:nth-child(2) {
        left: 17%;
    }

    .ew-closing-photos img:nth-child(3) {
        right: 9.5%;
    }
}

/* Leave a clear desktop gap between the closing CTA and right photo. */
@media (min-width: 992px) {
    .ew-closing-section .ew-closing-photos img:nth-child(3) {
        right: 4%;
    }
}

@media (min-width: 992px) {
    .ew-closing-section .ew-closing-photos img:nth-child(3) {
        right: 0;
    }
}

/* Keep FAQ toggle backgrounds circular even beside long questions. */
.ew-homepage-wrap .ew-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    box-sizing: border-box;
    aspect-ratio: 1;
    border-radius: 50%;
    line-height: 1;
}

/* Desktop vendor montage ends alongside the application supporting copy. */
@media (min-width: 992px) {
    .ew-vendor-grid {
        align-items: stretch;
    }

    .ew-vendor-grid .ew-vendor-montage-wrap {
        min-height: 0;
    }

    .ew-vendor-grid .ew-vendor-artwork {
        height: 100%;
        min-height: 440px;
        max-height: 560px;
        aspect-ratio: auto;
    }

    .ew-vendor-artwork .ew-vendor-beauty {
        top: 0;
        height: 88%;
    }

    .ew-vendor-artwork .ew-vendor-details {
        top: 5%;
        height: 37%;
    }

    .ew-vendor-artwork .ew-vendor-teamwork {
        top: 46%;
        height: 44%;
    }

    .ew-vendor-artwork .ew-label-photographers {
        top: 94%;
    }

    .ew-vendor-spotlight-section .ew-vendor-closing {
        margin-top: 80px;
    }
}

@media (min-width: 992px) {
    .ew-vendor-grid .ew-vendor-artwork {
        min-height: 520px;
        max-height: 640px;
    }
}

@media (min-width: 992px) {
    .ew-vendor-spotlight-section .ew-vendor-closing {
        margin-top: 120px;
    }
}

/* Desktop benefits: larger portrait and CTA aligned to its lower artwork. */
@media (min-width: 992px) {
    .ew-checklist-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
        gap: 64px;
        align-items: stretch;
    }

    .ew-checklist-grid .ew-checklist-photo-wrap {
        width: 100%;
        max-width: none;
    }

    .ew-checklist-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 6%;
    }

    .ew-checklist-content>.ew-btn-pill {
        margin-top: 50px;
        flex-shrink: 0;
    }
}

@media (min-width: 992px) {
    .ew-checklist-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 56px;
    }
}

/* Mobile hero: show the couple below the headline with a wider photo crop. */
@media (max-width: 767px) {
    .ew-hero .ew-hero-photo {
        top: 220px;
        bottom: auto;
        left: 0;
        width: 100%;
        height: calc(100% - 300px);
        object-fit: cover;
        object-position: 60% center;
    }

    .ew-hero {
        background-color: #426462;
    }

    .ew-hero .ew-hero-overlay {
        background: linear-gradient(180deg,
                #426462 0%,
                #426462 30%,
                rgba(66, 100, 98, .82) 35%,
                rgba(66, 100, 98, .12) 47%,
                rgba(66, 100, 98, .04) 70%,
                rgba(66, 100, 98, .6) 90%,
                #426462 100%);
    }
}

/* Figma mobile button label: 18/22 across homepage CTAs. */
@media (max-width: 767px) {

    .ew-homepage-wrap .ew-btn-pill,
    .ew-homepage-wrap .ew-hero .ew-hero-actions .ew-btn-pill,
    .ew-homepage-wrap .ew-step-card .ew-btn-pill,
    .ew-homepage-wrap .ew-pricing-section .ew-btn-pill,
    .ew-homepage-wrap .ew-connected-action .ew-btn-pill {
        font-size: 18px !important;
        line-height: 22px !important;
    }
}

/* Figma mobile standard button label: 14/20; hero stays 18/22. */
@media (max-width: 767px) {

    .ew-homepage-wrap .ew-btn-pill,
    .ew-homepage-wrap .ew-step-card .ew-btn-pill,
    .ew-homepage-wrap .ew-pricing-section .ew-btn-pill,
    .ew-homepage-wrap .ew-connected-action .ew-btn-pill {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .ew-homepage-wrap .ew-hero .ew-hero-actions .ew-btn-pill {
        font-size: 18px !important;
        line-height: 22px !important;
    }
}

@media (max-width: 767px) {
    .ew-feature-row .ew-step-mockup.ew-seating-demo {
        padding: 16px 10px;
    }

    .ew-seating-mobile-canvas {
        text-align: left;
    }

    .ew-feature-row .ew-step-mockup.ew-seatfinder-demo {
        aspect-ratio: 4 / 3;
        min-height: 220px;
    }
}

/* Prototype content motion refocus: soft optical double-trail settles to sharp text & visual elements */
@keyframes ewFeatureTitleGhost {
    0% {
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    35% {
        text-shadow: 0 7px 1.5px rgba(255, 255, 255, 0.40),
            0 11px 3.5px rgba(255, 255, 255, 0.18);
    }

    70% {
        text-shadow: 0 2px 1px rgba(255, 255, 255, 0.15);
    }

    100% {
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes ewFeatureBadgeGhost {
    0% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    35% {
        box-shadow: 0 6px 14px rgba(255, 255, 255, 0.30);
    }

    100% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes ewFeatureVisualGhost {
    0% {
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }

    35% {
        filter: drop-shadow(0 6px 3px rgba(255, 255, 255, 0.28));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
}

.ew-homepage-wrap .ew-feature-card .ew-feature-title {
    position: relative;
}

.ew-feature-card:hover .ew-feature-title,
.ew-feature-card:focus-visible .ew-feature-title,
.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card:hover .ew-feature-title,
.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card:focus-visible .ew-feature-title {
    animation: ewFeatureTitleGhost 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ew-feature-card:hover .ew-feature-badge,
.ew-feature-card:focus-visible .ew-feature-badge,
.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card:hover .ew-feature-badge,
.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card:focus-visible .ew-feature-badge {
    animation: ewFeatureBadgeGhost 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ew-feature-card:hover .ew-feature-visual img:not(.ew-card-shadow),
.ew-feature-card:focus-visible .ew-feature-visual img:not(.ew-card-shadow),
.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card:hover .ew-feature-visual img:not(.ew-card-shadow),
.ew-homepage-wrap .ew-feature-carousel-section .ew-feature-card:focus-visible .ew-feature-visual img:not(.ew-card-shadow) {
    animation: ewFeatureVisualGhost 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Compact RSVP choices with unbroken labels. */
.ew-homepage-wrap .ew-rsvp-demo-form fieldset label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    width: auto;
    margin: 4px 14px 4px 0;
}

.ew-homepage-wrap .ew-rsvp-demo-form input[type="radio"] {
    appearance: auto;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* Full-height mobile navigation matching the current overlay design. */
@media (max-width: 991px) {
    body:has(.ew-mobile-drawer.open) { overflow: hidden; }
    .ew-nav-wrapper:has(.ew-mobile-drawer.open)::before {
        content: ""; position: fixed; inset: 0; background: #fff; z-index: -1;
    }
    .ew-nav-wrapper:has(.ew-mobile-drawer.open) .ew-nav-pill { box-shadow: 0 2px 8px #153e3520; }
    .ew-mobile-drawer.open {
        top: 88px; bottom: 0; left: 12px; right: 12px; padding: 12px 10px 32px;
        border: 0; border-radius: 0; box-shadow: none; background: #fff;
        gap: 0; overflow-y: auto; backdrop-filter: none;
    }
    .ew-mobile-eyebrow { color: #ed594e; font-size: 11px; margin: 12px 18px; }
    .ew-mobile-drawer > a { padding: 23px 0; margin: 0 18px; font-size: 15px; font-weight: 400; color: #102522; border-bottom: 1px solid #e9edeb; }
    .ew-mobile-drawer > .ew-mobile-current { background: #fafafa; border-left: 2px solid #ef5b50; margin: 0 -10px; padding-left: 27px; }
    .ew-mobile-drawer > .ew-mobile-signin { font-size: 15px; font-weight: 400; border: 0; padding-top: 24px; }
    .ew-mobile-cta { position: relative; background: #faf8f2; border-radius: 18px; margin: 28px 0 0; padding: 36px 20px; text-align: center; }
    .ew-mobile-cta p { color: #102522; font-size: 15px; margin: 0 0 22px; }
    .ew-mobile-spark { position: absolute; left: 8px; top: 10px; color: #ef594d; font-size: 22px; }
    .ew-mobile-cta a { display: inline-flex; justify-content: center; gap: 8px; background: #ed594e; color: #fff; border: 0; font-size: 13px; font-weight: 400; padding: 12px 28px; box-shadow: none; }
    .ew-mobile-tagline { text-align: center; color: #42605b; font-size: 12px; line-height: 1.6; margin: 24px 0 0; }
}

/* Feather the baked-in timeline shadow into the white section background. */
.ew-checklist-photo-wrap {
    position: relative;
    isolation: isolate;
}
.ew-checklist-photo-wrap::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 23%;
    right: 13%;
    bottom: 1%;
    height: 5%;
    border-radius: 50%;
    background: rgba(28, 37, 32, .16);
    filter: blur(18px);
    pointer-events: none;
}
.ew-checklist-photo-wrap img {
    -webkit-mask-image: linear-gradient(to bottom, #000 97.2%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 97.2%, transparent 100%);
}

/* Match the mobile wedding CTA arrow to its label. */
.ew-homepage-wrap .ew-mobile-cta .ew-btn-coral > span {
    color: inherit !important;
}

/* Give the website demo the slim bezel and silver base of a MacBook. */
.ew-website-preview .ew-website-desktop {
    border: 5px solid #151918;
    border-bottom-width: 12px;
    border-radius: 12px 12px 3px 3px;
    box-shadow: 0 0 0 1px #929994;
}
.ew-website-preview .ew-website-desktop::before {
    top: -1px;
    left: 43%;
    width: 14%;
    height: 7px;
    border-radius: 0 0 4px 4px;
}
.ew-website-preview .ew-website-desktop::after {
    bottom: -25px;
    left: -10%;
    width: 120%;
    height: 14px;
    border-radius: 2px 2px 45% 45% / 2px 2px 9px 9px;
    background: linear-gradient(90deg, #858b8c 0%, #e1e4e5 4%, #aeb4b5 12%, #e6e9e9 47%, #b6bcbc 50%, #e6e9e9 53%, #bdc2c3 88%, #e1e4e5 96%, #858b8c 100%);
    box-shadow: 0 2px 2px #0002;
}
@media (min-width: 992px) {
    .ew-website-row .ew-step-card {
        padding: 44px 44px 44px 40px;
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 72px;
        min-height: 448px;
    }
    .ew-website-row .ew-step-info { padding-top: 8px; }
    .ew-website-preview .ew-website-desktop { left: 3%; width: 83%; }
}

/* Original supplied MacBook asset, with the live website behind its screen. */
#website-preview .ew-website-desktop {
    left: 0;
    width: 94%;
    height: auto;
    aspect-ratio: 564 / 353;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}
#website-preview .ew-website-desktop::before { content: none; }
#website-preview .ew-website-desktop::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: url('/custom/front/images/homepage/MacBook%20Pro%2014_%20-%205th%20Gen%20-%20Silver.png') center / contain no-repeat;
    box-shadow: none;
    pointer-events: none;
    z-index: 2;
}
#website-preview .ew-website-desktop .ew-website-screen {
    position: absolute;
    left: 11.5%;
    top: 8.5%;
    width: 77%;
    height: 80%;
    border-radius: 2px;
    background: #fff;
}

/* Supplied iPhone frame keeps the website preview visible and scrolling. */
#website-preview .ew-website-mobile {
    height: auto;
    aspect-ratio: 130 / 269;
    border: 0;
    outline: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
#website-preview .ew-website-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: url('/custom/front/images/homepage/iPhone%2016%20Pro%20Max%20-%20Desert%20Titanium%20-%20Portrait%202.png') center / contain no-repeat;
    pointer-events: none;
    z-index: 2;
}
#website-preview .ew-website-mobile .ew-website-screen {
    position: absolute;
    left: 3.8%;
    top: 1.5%;
    width: 92.4%;
    height: 97%;
    border-radius: 17% / 8%;
    background: #fff;
}

/* Center every fund card, including the first and last cards. */
.ew-fund-track {
    padding-inline: var(--fund-center-space, 0px);
    box-sizing: content-box;
}
.ew-fund-track::after { content: none; }

/* Fine connector lines with a small dot at the photograph end. */
.ew-vendor-label::after {
    height: 4px;
    background:
        radial-gradient(circle at calc(100% - 2px) 50%, #d9e4da 0 2px, transparent 2px),
        linear-gradient(#d9e4da, #d9e4da) left center / 100% 1px no-repeat;
}
.ew-label-details::after,
.ew-label-teamwork::after {
    background:
        radial-gradient(circle at 2px 50%, #d9e4da 0 2px, transparent 2px),
        linear-gradient(#d9e4da, #d9e4da) left center / 100% 1px no-repeat;
}

/* Messaging top-ups: ease the outer cards into their highlighted hover state. */
.ew-homepage-wrap .ew-credit-card:not(.highlight) {
    translate: 0 0;
    transition: translate .5s ease, transform .5s ease, border-color .5s ease, opacity .5s ease !important;
    transition-delay: 0s !important;
}
@media (hover: hover) {
    .ew-homepage-wrap .ew-credit-card:not(.highlight):hover {
        transform: translateY(0);
        translate: 0 -10px;
        border-color: #ef594d;
    }
}

/* Enlarge the journey illustrations within mobile green cards. */
@media (max-width: 767px) {
    .ew-journey-card .ew-foundation-art,
    .ew-journey-card .ew-vision-art,
    .ew-journey-card .ew-journey-rsvp-art,
    .ew-journey-card .ew-celebrate-art {
        transform: translateX(-50%) scale(1.2);
        transform-origin: center bottom;
    }
}

/* Keep mobile website actions clear of the device preview. */
@media (max-width: 767px) {
    #website-preview .ew-step-actions {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .ew-homepage-wrap .ew-stepper-header .ew-section-title {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .ew-homepage-wrap .ew-stepper-header {
        text-align: center;
    }
    .ew-homepage-wrap .ew-stepper-header .ew-eyebrow {
        display: block;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .ew-homepage-wrap .ew-closing-content > .ew-eyebrow {
        font: 400 14px/21px 'EW Roboto', sans-serif !important;
        letter-spacing: 0;
    }
}

/* Hide at first paint, before JavaScript initializes the scroll sequence. */
.ew-vendor-artwork.ew-vendor-awaiting img,
.ew-vendor-artwork.ew-vendor-awaiting .ew-vendor-label {
    opacity: 0;
}
.ew-vendor-artwork.ew-vendor-awaiting .ew-vendor-item-visible {
    opacity: 1;
}

/* Shared memories use portrait photographs rather than square tiles. */
#qr-preview .ew-shared-photos {
    grid-template-columns: repeat(2, minmax(0, 132px));
}
#qr-preview .ew-shared-photos img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

/* Preserve the exact proportions of the supplied Figma gallery exports. */
#qr-preview .ew-shared-photos img {
    aspect-ratio: 133 / 186;
}

/* Keep both budget header badges visible and the sparkle centered. */
.ew-budget-demo .ew-budget-header {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
}
.ew-budget-demo .ew-budget-header > div { min-width: 0; }
.ew-homepage-wrap .ew-budget-demo .ew-budget-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.ew-budget-icon svg { display: block; flex-shrink: 0; }
.ew-homepage-wrap .ew-budget-demo .ew-budget-history,
.ew-homepage-wrap .ew-budget-demo .ew-budget-powered {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #24645e !important;
    padding: 5px 8px;
    font-size: 9px;
    line-height: 12px;
}
@container (max-width: 420px) {
    .ew-budget-demo .ew-budget-header > div { grid-column: 2 / 5; }
    .ew-budget-demo .ew-budget-history { grid-column: 3; grid-row: 2; }
    .ew-budget-demo .ew-budget-powered { grid-column: 4; grid-row: 2; }
}

.ew-budget-demo .ew-budget-history {
    position: relative;
}
.ew-homepage-wrap .ew-budget-history .ew-budget-history-count {
    position: absolute;
    top: -6px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ef594d;
    color: #fff !important;
    font: 500 8px/1 'EW Roboto', sans-serif;
}

.ew-homepage-wrap .ew-feature-checklist .ew-pricing-tick {
    display: inline-block;
    flex: 0 0 20px;
    color: #172321;
    font: 400 22px/1 Arial, sans-serif;
    text-align: left;
}

.ew-checklist-item .ew-item-icon-box {
    border: 0;
    border-radius: 14px;
    background: #edf4ef;
    color: #2b7062;
    box-shadow: 0 7px 9px -3px #0003;
}
.ew-item-icon-box svg { display: block; flex-shrink: 0; }

.ew-checklist-portrait { display: contents; }
.ew-mobile-timeline { display: none; }
@media (max-width: 767px) {
    .ew-checklist-photo-wrap::after { content: none; }
    .ew-checklist-portrait {
        display: block;
        aspect-ratio: 810 / 780;
        overflow: hidden;
        border-radius: 22px;
        margin-bottom: 30px;
        position: relative;
    }
    .ew-checklist-photo-wrap .ew-checklist-portrait img {
        position: absolute;
        width: 111.12%;
        max-width: none;
        height: auto;
        left: -7.41%;
        top: 0;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .ew-mobile-timeline {
        display: block;
        background: #fff;
        border: 1px solid #d0dfd6;
        border-radius: 20px;
        padding: 20px 24px;
        box-shadow: 0 3px 10px #163f3810;
        text-align: left;
        color: #172321;
        font: 400 14px/21px 'EW Roboto', sans-serif;
    }
    .ew-mobile-timeline-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid #e5ece8; margin-bottom: 12px; }
    .ew-mobile-timeline-heading strong { font-weight: 500; font-size: 18px; color: #ed5946; border-left: 3px solid #ed5946; padding: 7px 0 7px 14px; margin-left: -8px; }
    .ew-mobile-timeline-heading > span { background: #edf3ef; border-radius: 20px; padding: 3px 12px; white-space: nowrap; font-size: 12px; }
    .ew-mobile-timeline-task { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
    .ew-mobile-timeline-task > span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #307768; color: #fff; }
    .ew-mobile-timeline p { border-top: 1px solid #e5ece8; margin: 4px 0 0; padding-top: 18px; }
    .ew-mobile-timeline p { background: #f1f5f2; background-clip: padding-box; border-top: 14px solid #fff; border-radius: 8px; padding: 8px 12px; }
}

/* Slightly enlarge the full vendor collage on mobile, including its spacing. */
@media (max-width: 767px) {
    .ew-vendor-grid > .ew-vendor-montage-wrap {
        width: calc(100% + 24px);
        max-width: none;
        margin-left: -12px;
        margin-right: -12px;
    }
    .ew-vendor-grid .ew-vendor-artwork {
        aspect-ratio: 492 / 430;
    }
}

/* Align chapters 03–08 with the invitation chapter's preview column. */
@media (min-width: 992px) {
    .ew-stepper-timeline .ew-invitations-row .ew-step-card,
    .ew-stepper-timeline .ew-feature-row .ew-step-card {
        padding: 44px 44px 44px 40px;
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 72px;
    }
    .ew-stepper-timeline .ew-feature-row .ew-step-info {
        padding-top: 8px;
    }
    .ew-stepper-timeline .ew-feature-row .ew-step-card > :not(.ew-step-info) {
        min-width: 0;
        max-width: 100%;
        justify-self: stretch;
    }
}

/* Desktop collage proportions follow the larger Figma photographs. */
@media (min-width: 992px) {
    .ew-vendor-grid .ew-vendor-artwork {
        min-height: 580px;
        max-height: 680px;
    }
    .ew-vendor-artwork .ew-vendor-beauty {
        left: 13%;
        width: 46%;
        height: 88%;
    }
    .ew-vendor-artwork .ew-vendor-details {
        left: 59%;
        width: 31%;
        top: 5%;
        height: 37%;
    }
    .ew-vendor-artwork .ew-vendor-teamwork {
        left: 51%;
        width: 39%;
        top: 46%;
        height: 44%;
    }
    .ew-vendor-artwork .ew-label-artistry { left: -8%; top: 7%; }
    .ew-vendor-artwork .ew-label-details { left: 95%; top: 12%; }
    .ew-vendor-artwork .ew-label-teamwork { left: 94%; top: 52%; }
    .ew-vendor-artwork .ew-label-photographers { left: 18%; top: 94%; }
}

/* More visible white photo edges in the final invitation collage. */
.ew-closing-section .ew-closing-photos img {
    border: 4px solid #fffdf7;
}

/* Supplied venue photograph under the closing section's green overlay. */
.ew-closing-section {
    background-image: linear-gradient(rgba(22, 63, 64, .87), rgba(22, 63, 64, .87)), url("../front/images/homepage/supplied%20venue%20photograph%20%E2%80%94%20DSC_7651.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Anchor collage callouts to photo edges instead of loose percentage gaps. */
@media (min-width: 992px) {
    .ew-vendor-artwork .ew-label-artistry {
        left: auto;
        right: calc(87% + 50px);
        top: 7%;
    }
    .ew-vendor-artwork .ew-label-artistry::after {
        left: 100%;
        margin-left: 12px;
        width: 42px;
    }
    .ew-vendor-artwork .ew-label-details {
        left: calc(90% + 30px);
        top: 12%;
    }
    .ew-vendor-artwork .ew-label-teamwork {
        left: calc(90% + 22px);
        top: 52%;
    }
    .ew-vendor-artwork .ew-label-photographers {
        left: calc(27% - 77px);
        top: calc(88% + 34px);
    }
}

/* Soft depth for dark green actions, with a stronger hover shadow. */
.ew-homepage-wrap .ew-btn-pill.ew-btn-forest,
.ew-homepage-wrap .ew-rsvp-demo-form button {
    box-shadow: 0 3px 8px rgba(22, 63, 64, .18);
    transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.ew-homepage-wrap .ew-btn-pill.ew-btn-forest:hover,
.ew-homepage-wrap .ew-rsvp-demo-form button:hover {
    box-shadow: 0 6px 16px rgba(22, 63, 64, .28);
}
