/*
 Theme Name:   ExitPath Global
 Theme URI:    https://exitpath.global
 Description:  Custom child theme for ExitPath Global — Strategic Exit Advisory. Built on Astra with premium brand styling.
 Author:       ExitPath Global
 Author URI:   https://exitpath.global
 Template:     astra
 Version:      3.3.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  exitpath-child
 Tags:         business, advisory, professional, one-column, two-columns, custom-menu, featured-images
*/
/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1. CSS Custom Properties (Brand Tokens)
   2. Global Reset & Base
   3. Typography
   4. Header & Navigation
   5. Buttons & Links
   6. Hero / Banner Sections
   7. Content Sections
   8. Cards & Feature Boxes
   9. Forms
   10. Footer
   11. Page Templates (Homepage, Services, About, Contact)
   12. Responsive
   13. Utilities
   14. Single-Page Scroll Sections
   15. Animation Concepts
   16. Template Class Fixes
   ========================================================================== */
/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (BRAND TOKENS)
   ========================================================================== */
:root {
    /* Primary Brand Colors */
    --ep-maroon: #502108;
    --ep-gold: #bc9c22;
    --ep-slate: #5b696F;
    /* Derived / Supporting Colors */
    --ep-cream: #F7F3E8;
    --ep-cream-dark: #EDE8D8;
    --ep-white: #FFFFFF;
    --ep-maroon-light: #6B3A1E;
    --ep-maroon-dark: #3A1805;
    --ep-gold-light: #D4B84A;
    --ep-gold-dark: #9A7F1A;
    --ep-slate-light: #7A8A90;
    --ep-slate-dark: #444F54;
    --ep-text-body: #5b696F;
    --ep-text-light: #8A9499;
    --ep-border: #E0D9C8;
    --ep-border-light: #EDE8D8;
    /* Typography */
    --ep-font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --ep-font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --ep-font-accent: 'Cormorant Garamond', serif;
    /* Font Sizes (fluid) */
    --ep-text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
    --ep-text-sm: clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
    --ep-text-base: clamp(0.9375rem, 0.875rem + 0.3vw, 1.0625rem);
    --ep-text-lg: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
    --ep-text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --ep-text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --ep-text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --ep-text-4xl: clamp(2.25rem, 1.5rem + 3.75vw, 3.5rem);
    --ep-text-5xl: clamp(2.75rem, 1.75rem + 5vw, 4.5rem);
    /* Spacing */
    --ep-space-xs: 0.5rem;
    --ep-space-sm: 1rem;
    --ep-space-md: 1.5rem;
    --ep-space-lg: 2.5rem;
    --ep-space-xl: 4rem;
    --ep-space-2xl: 6rem;
    --ep-space-3xl: 8rem;
    /* Layout */
    --ep-max-width: 1200px;
    --ep-max-width-narrow: 800px;
    --ep-max-width-wide: 1400px;
    --ep-border-radius: 4px;
    --ep-border-radius-lg: 8px;
    /* Transitions */
    --ep-transition: 0.3s ease;
    --ep-transition-slow: 0.5s ease;
}
/* ==========================================================================
   2. GLOBAL RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    background-color: var(--ep-white);
    color: var(--ep-text-body);
    font-family: var(--ep-font-body);
    font-size: var(--ep-text-base);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Override Astra defaults */
.ast-container {
    max-width: var(--ep-max-width) !important;
}
/* ==========================================================================
   ASTRA FULL-WIDTH OVERRIDES FOR EXITPATH TEMPLATES
   Force sections to break out of Astra's content wrappers
   ========================================================================== */
/* Remove all Astra container constraints on our templates */
.page-template-front-page .site-content > .ast-container,
.page-template-page-single-scroll .site-content > .ast-container,
.page-template-page-services .site-content > .ast-container,
.page-template-page-about .site-content > .ast-container,
.page-template-page-contact .site-content > .ast-container,
.page-template-front-page #primary,
.page-template-page-single-scroll #primary,
.page-template-page-services #primary,
.page-template-page-about #primary,
.page-template-page-contact #primary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}
/* Remove Astra's content area padding */
.page-template-front-page .site-content,
.page-template-page-single-scroll .site-content,
.page-template-page-services .site-content,
.page-template-page-about .site-content,
.page-template-page-contact .site-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Remove entry-content padding/margins from Astra */
.page-template-front-page .entry-content,
.page-template-page-single-scroll .entry-content,
.page-template-page-services .entry-content,
.page-template-page-about .entry-content,
.page-template-page-contact .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}
/* Override Astra's .ast-page-builder-template if applied */
.ast-page-builder-template .entry-header {
    display: none;
}
/* Remove any Astra article padding */
.page-template-front-page article,
.page-template-page-single-scroll article,
.page-template-page-services article,
.page-template-page-about article,
.page-template-page-contact article {
    padding: 0 !important;
    margin: 0 !important;
}
/* Ensure sections stack vertically, not side by side */
.page-template-front-page .entry-content,
.page-template-page-single-scroll .entry-content,
.page-template-page-services .entry-content,
.page-template-page-about .entry-content,
.page-template-page-contact .entry-content {
    display: block !important;
}
/* Override any flex/grid Astra applies to content */
.page-template-front-page #content .ast-container,
.page-template-page-single-scroll #content .ast-container,
.page-template-page-services #content .ast-container,
.page-template-page-about #content .ast-container,
.page-template-page-contact #content .ast-container {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
}
/* All ep-section, ep-hero, ep-promise should be full-viewport-width */
.ep-hero,
.ep-promise-section,
.ep-section,
.ep-page-banner {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    display: block !important;
}
/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.site-title {
    font-family: var(--ep-font-heading);
    color: var(--ep-maroon);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h1, .entry-title { font-size: var(--ep-text-4xl); margin-bottom: var(--ep-space-md); }
h2 { font-size: var(--ep-text-3xl); margin-bottom: var(--ep-space-md); }
h3 { font-size: var(--ep-text-2xl); margin-bottom: var(--ep-space-sm); }
h4 { font-size: var(--ep-text-xl); margin-bottom: var(--ep-space-sm); }
h5 { font-size: var(--ep-text-lg); margin-bottom: var(--ep-space-xs); }
h6 { font-size: var(--ep-text-base); margin-bottom: var(--ep-space-xs); font-weight: 600; }
p {
    margin-bottom: 1.5em;
    color: var(--ep-text-body);
}
/* Branded text: gold "Exit" styling */
.ep-brand-exit {
    color: var(--ep-gold);
}
.ep-brand-path {
    color: var(--ep-maroon);
}
/* Tagline styling */
.ep-tagline {
    font-family: var(--ep-font-accent);
    font-style: italic;
    color: var(--ep-slate);
    font-size: var(--ep-text-lg);
}
/* Section labels / eyebrow text */
.ep-eyebrow {
    font-family: var(--ep-font-body);
    font-size: var(--ep-text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ep-gold);
    margin-bottom: var(--ep-space-sm);
    display: block;
}
/* Lead / intro paragraphs */
.ep-lead {
    font-size: var(--ep-text-lg);
    line-height: 1.8;
    color: var(--ep-slate);
}
blockquote {
    border-left: 3px solid var(--ep-gold);
    padding-left: var(--ep-space-md);
    margin: var(--ep-space-lg) 0;
    font-family: var(--ep-font-accent);
    font-size: var(--ep-text-xl);
    font-style: italic;
    color: var(--ep-maroon);
}
/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.site-header,
.ast-primary-header {
    background-color: var(--ep-white) !important;
    border-bottom: 1px solid var(--ep-border);
    transition: box-shadow var(--ep-transition);
}
/* Sticky header shadow */
.ast-header-sticked {
    box-shadow: 0 2px 20px rgba(80, 33, 8, 0.08) !important;
}
/* Site title / logo area */
.site-title a,
.ast-site-title-wrap a {
    font-family: var(--ep-font-heading) !important;
    font-size: var(--ep-text-2xl) !important;
    color: var(--ep-maroon) !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    letter-spacing: -0.02em;
}
/* Navigation */
.main-navigation a,
.ast-header-sections-navigation a,
.main-header-menu > .menu-item > a {
    font-family: var(--ep-font-body) !important;
    font-size: var(--ep-text-sm) !important;
    font-weight: 500 !important;
    color: var(--ep-slate) !important;
    text-transform: none !important;
    letter-spacing: 0.02em;
    padding: 0.5em 1.2em !important;
    transition: color var(--ep-transition) !important;
}
.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item.current-menu-item > a {
    color: var(--ep-maroon) !important;
}
/* Nav CTA button (last menu item) */
.main-header-menu > .menu-item:last-child > a {
    background-color: var(--ep-maroon) !important;
    color: var(--ep-white) !important;
    border-radius: var(--ep-border-radius) !important;
    padding: 0.6em 1.5em !important;
    margin-left: 0.5em;
    transition: background-color var(--ep-transition) !important;
}
.main-header-menu > .menu-item:last-child > a:hover {
    background-color: var(--ep-maroon-light) !important;
}
/* Dropdown menus */
.ast-header-sections-navigation .sub-menu,
.main-header-menu .sub-menu {
    background-color: var(--ep-white) !important;
    border: 1px solid var(--ep-border) !important;
    border-top: 2px solid var(--ep-gold) !important;
    box-shadow: 0 8px 24px rgba(80, 33, 8, 0.08) !important;
}
.main-header-menu .sub-menu .menu-item a:hover {
    background-color: var(--ep-cream) !important;
    color: var(--ep-maroon) !important;
}
/* ==========================================================================
   5. BUTTONS & LINKS
   ========================================================================== */
a {
    color: var(--ep-maroon);
    text-decoration: none;
    transition: color var(--ep-transition);
}
a:hover {
    color: var(--ep-gold);
}
/* Primary button */
.ep-btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
    display: inline-block;
    font-family: var(--ep-font-body);
    font-size: var(--ep-text-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.85em 2em;
    border: none;
    border-radius: var(--ep-border-radius);
    cursor: pointer;
    transition: all var(--ep-transition);
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}
.ep-btn-primary,
.wp-block-button__link {
    background-color: var(--ep-maroon);
    color: var(--ep-white) !important;
}
.ep-btn-primary:hover,
.wp-block-button__link:hover {
    background-color: var(--ep-maroon-light);
    color: var(--ep-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80, 33, 8, 0.2);
}
/* Secondary button (outline) */
.ep-btn-secondary {
    background-color: transparent;
    color: var(--ep-maroon);
    border: 1.5px solid var(--ep-maroon);
}
.ep-btn-secondary:hover {
    background-color: var(--ep-maroon);
    color: var(--ep-white);
}
/* Gold accent button */
.ep-btn-gold {
    background-color: var(--ep-gold);
    color: var(--ep-white) !important;
}
.ep-btn-gold:hover {
    background-color: var(--ep-gold-dark);
    color: var(--ep-white) !important;
    transform: translateY(-1px);
}
/* Ghost / text link button */
.ep-btn-ghost {
    background: none;
    color: var(--ep-maroon);
    padding: 0;
    border-bottom: 1px solid var(--ep-gold);
    border-radius: 0;
}
.ep-btn-ghost:hover {
    color: var(--ep-gold);
}
/* ==========================================================================
   6. HERO / BANNER SECTIONS
   ========================================================================== */
.ep-hero {
    background-color: var(--ep-cream);
    padding: var(--ep-space-3xl) 0;
    position: relative;
    overflow: hidden;
}
.ep-hero-inner {
    max-width: var(--ep-max-width);
    margin: 0 auto;
    padding: 0 var(--ep-space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ep-space-xl);
    align-items: center;
}
.ep-hero h1 {
    font-size: var(--ep-text-5xl);
    color: var(--ep-maroon);
    margin-bottom: var(--ep-space-md);
}
.ep-hero p {
    font-size: var(--ep-text-lg);
    color: var(--ep-slate);
    line-height: 1.8;
    max-width: 540px;
}
.ep-hero-image {
    border-radius: var(--ep-border-radius-lg);
    overflow: hidden;
}
.ep-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Hero image wrap (replacement for placeholder) */
.ep-hero-image-wrap {
    width: 100%;
    height: 500px;
    border-radius: var(--ep-border-radius-lg);
    overflow: hidden;
    background: var(--ep-cream-dark);
}
.ep-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--ep-border-radius-lg);
}
/* Page banner (inner pages) */
.ep-page-banner {
    background-color: var(--ep-cream);
    padding: var(--ep-space-2xl) 0;
    text-align: center;
}
.ep-page-banner h1 {
    font-size: var(--ep-text-4xl);
    margin-bottom: var(--ep-space-sm);
}
.ep-page-banner p {
    font-size: var(--ep-text-lg);
    color: var(--ep-slate);
    max-width: var(--ep-max-width-narrow);
    margin: 0 auto;
}
/* ==========================================================================
   7. CONTENT SECTIONS
   ========================================================================== */
.ep-section {
    padding: var(--ep-space-3xl) 0;
}
.ep-section-inner {
    max-width: var(--ep-max-width);
    margin: 0 auto;
    padding: 0 var(--ep-space-md);
}
.ep-section-cream {
    background-color: var(--ep-cream);
}
.ep-section-white {
    background-color: var(--ep-white);
}
.ep-section-maroon {
    background-color: var(--ep-maroon);
}
.ep-section-maroon h2,
.ep-section-maroon h3,
.ep-section-maroon p {
    color: var(--ep-white);
}
.ep-section-maroon .ep-eyebrow {
    color: var(--ep-gold-light);
}
/* Section header */
.ep-section-header {
    text-align: center;
    max-width: var(--ep-max-width-narrow);
    margin: 0 auto var(--ep-space-xl);
}
/* Two-column layout (text + image) */
.ep-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ep-space-xl);
    align-items: center;
}
.ep-two-col-reverse {
    direction: rtl;
}
.ep-two-col-reverse > * {
    direction: ltr;
}
/* Divider */
.ep-divider {
    border: none;
    border-top: 1px solid var(--ep-border);
    margin: var(--ep-space-xl) auto;
    max-width: var(--ep-max-width);
}
/* Gold accent line */
.ep-accent-line {
    width: 60px;
    height: 2px;
    background-color: var(--ep-gold);
    margin-bottom: var(--ep-space-md);
}
.ep-accent-line-center {
    margin-left: auto;
    margin-right: auto;
}
/* ==========================================================================
   8. CARDS & FEATURE BOXES
   ========================================================================== */
.ep-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--ep-space-lg);
}
.ep-card {
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-border-radius-lg);
    padding: var(--ep-space-lg);
    transition: all var(--ep-transition);
}
.ep-card:hover {
    border-color: var(--ep-gold);
    box-shadow: 0 8px 30px rgba(80, 33, 8, 0.06);
    transform: translateY(-2px);
}
.ep-card h3 {
    font-size: var(--ep-text-xl);
    margin-bottom: var(--ep-space-sm);
}
.ep-card p {
    color: var(--ep-slate);
    font-size: var(--ep-text-sm);
}
/* Icon cards */
.ep-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--ep-space-md);
    color: var(--ep-gold);
}
/* Value proposition cards (with left border) */
.ep-value-card {
    border-left: 3px solid var(--ep-gold);
    padding: var(--ep-space-md) var(--ep-space-lg);
    background: var(--ep-cream);
    border-radius: 0 var(--ep-border-radius-lg) var(--ep-border-radius-lg) 0;
    margin-bottom: var(--ep-space-md);
}
.ep-value-card h4 {
    font-size: var(--ep-text-lg);
    margin-bottom: var(--ep-space-xs);
}
/* Stat / number cards */
.ep-stat {
    text-align: center;
    padding: var(--ep-space-lg);
}
.ep-stat-number {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-4xl);
    color: var(--ep-maroon);
    line-height: 1;
    margin-bottom: var(--ep-space-xs);
}
.ep-stat-label {
    font-size: var(--ep-text-sm);
    color: var(--ep-slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
/* Testimonial */
.ep-testimonial {
    background: var(--ep-cream);
    border-radius: var(--ep-border-radius-lg);
    padding: var(--ep-space-xl);
    position: relative;
}
.ep-testimonial::before {
    content: '\201C';
    font-family: var(--ep-font-heading);
    font-size: 4rem;
    color: var(--ep-gold);
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}
.ep-testimonial blockquote {
    border: none;
    padding-left: 0;
    margin: 0;
}
.ep-testimonial cite {
    display: block;
    font-style: normal;
    font-family: var(--ep-font-body);
    font-size: var(--ep-text-sm);
    color: var(--ep-slate);
    margin-top: var(--ep-space-sm);
}
/* ==========================================================================
   9. FORMS
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    font-family: var(--ep-font-body);
    font-size: var(--ep-text-base);
    color: var(--ep-slate-dark);
    background-color: var(--ep-white);
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-border-radius);
    padding: 0.75em 1em;
    width: 100%;
    transition: border-color var(--ep-transition), box-shadow var(--ep-transition);
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--ep-gold);
    box-shadow: 0 0 0 3px rgba(188, 156, 34, 0.12);
}
label {
    font-size: var(--ep-text-sm);
    font-weight: 600;
    color: var(--ep-maroon);
    margin-bottom: 0.5em;
    display: block;
}
input[type="submit"],
button[type="submit"] {
    background-color: var(--ep-maroon);
    color: var(--ep-white);
    border: none;
    cursor: pointer;
    width: auto;
}
input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: var(--ep-maroon-light);
}
/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer,
.ast-footer {
    background-color: var(--ep-maroon-dark) !important;
    color: rgba(255, 255, 255, 0.7);
}
.site-footer h4,
.ast-footer h4,
.site-footer .widget-title {
    font-family: var(--ep-font-heading) !important;
    color: var(--ep-white) !important;
    font-size: var(--ep-text-lg) !important;
    font-weight: 400;
    margin-bottom: var(--ep-space-md);
}
.site-footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color var(--ep-transition);
}
.site-footer a:hover {
    color: var(--ep-gold-light) !important;
}
.site-footer p,
.ast-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--ep-text-sm);
}
/* Footer bar / copyright */
.ast-footer-copyright,
.ast-small-footer {
    background-color: var(--ep-maroon-dark) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: var(--ep-text-xs);
}
/* ==========================================================================
   11. PAGE TEMPLATES
   ========================================================================== */
/* --- Homepage --- */
.page-template-front-page .ep-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.ep-promise-section {
    background-color: var(--ep-maroon);
    color: var(--ep-white);
    text-align: center;
    padding: var(--ep-space-2xl) 0;
}
.ep-promise-section h2 {
    font-size: var(--ep-text-3xl);
    color: var(--ep-white);
    max-width: var(--ep-max-width-narrow);
    margin: 0 auto;
    line-height: 1.4;
}
/* --- Services --- */
.ep-service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: var(--ep-space-lg);
    border-radius: var(--ep-border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ep-border);
}
.ep-service-block:nth-child(even) {
    direction: rtl;
}
.ep-service-block:nth-child(even) > * {
    direction: ltr;
}
.ep-service-content {
    padding: var(--ep-space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ep-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* --- About --- */
.ep-timeline {
    position: relative;
    padding-left: 2rem;
}
.ep-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--ep-gold);
}
.ep-timeline-item {
    position: relative;
    padding-bottom: var(--ep-space-xl);
    padding-left: var(--ep-space-lg);
}
.ep-timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ep-gold);
    border: 2px solid var(--ep-white);
}
/* --- Contact --- */
.ep-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ep-space-xl);
}
.ep-contact-info h3 {
    font-size: var(--ep-text-2xl);
    margin-bottom: var(--ep-space-sm);
}
.ep-contact-info p {
    font-size: var(--ep-text-base);
    line-height: 1.8;
    color: var(--ep-slate);
}
.ep-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--ep-space-sm);
    margin-bottom: var(--ep-space-md);
}
.ep-contact-info-icon {
    color: var(--ep-gold);
    flex-shrink: 0;
    margin-top: 0.2em;
}
/* Contact details list (updated contact section) */
.ep-contact-details {
    margin-top: var(--ep-space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--ep-space-md);
}
.ep-contact-item {
    display: flex;
    align-items: center;
    gap: var(--ep-space-sm);
    font-size: var(--ep-text-base);
}
.ep-contact-item svg {
    color: var(--ep-gold);
    flex-shrink: 0;
}
.ep-contact-item a {
    color: var(--ep-maroon);
    font-weight: 500;
    transition: color var(--ep-transition);
}
.ep-contact-item a:hover {
    color: var(--ep-gold);
}
/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .ep-hero-inner,
    .ep-two-col,
    .ep-contact-grid,
    .ep-service-block {
        grid-template-columns: 1fr;
    }
    .ep-two-col-reverse {
        direction: ltr;
    }
    .ep-service-block:nth-child(even) {
        direction: ltr;
    }
    .ep-hero {
        padding: var(--ep-space-2xl) 0;
    }
    .page-template-front-page .ep-hero {
        min-height: auto;
    }
    .ep-hero-image {
        max-height: 400px;
    }
    .ep-hero-image-wrap {
        height: 350px;
    }
}
@media (max-width: 768px) {
    .ep-section {
        padding: var(--ep-space-2xl) 0;
    }
    .ep-cards {
        grid-template-columns: 1fr;
    }
    .ep-page-banner {
        padding: var(--ep-space-xl) 0;
    }
    .ep-hero-image-wrap {
        height: 280px;
    }
}
@media (max-width: 544px) {
    .ep-section-inner,
    .ep-hero-inner {
        padding: 0 var(--ep-space-sm);
    }
}
/* ==========================================================================
   13. UTILITY CLASSES
   ========================================================================== */
.ep-text-center { text-align: center; }
.ep-text-left { text-align: left; }
.ep-text-right { text-align: right; }
.ep-mt-0 { margin-top: 0; }
.ep-mb-0 { margin-bottom: 0; }
.ep-mt-sm { margin-top: var(--ep-space-sm); }
.ep-mt-md { margin-top: var(--ep-space-md); }
.ep-mt-lg { margin-top: var(--ep-space-lg); }
.ep-mb-sm { margin-bottom: var(--ep-space-sm); }
.ep-mb-md { margin-bottom: var(--ep-space-md); }
.ep-mb-lg { margin-bottom: var(--ep-space-lg); }
.ep-hidden { display: none; }
.ep-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* ==========================================================================
   14. SINGLE-PAGE SCROLL SECTIONS
   ========================================================================== */
/* --- Hero Actions --- */
.ep-hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.ep-hero-visual {
    border-radius: var(--ep-border-radius-lg);
    overflow: hidden;
}
.ep-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ep-hero-placeholder {
    background: var(--ep-cream-dark);
    width: 100%;
    height: 500px;
    border-radius: var(--ep-border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ep-slate-light);
    font-size: var(--ep-text-sm);
}
/* --- Stats Bar --- */
.ep-stats-bar {
    background: var(--ep-maroon);
    margin-top: var(--ep-space-xl);
    border-radius: var(--ep-border-radius-lg);
    max-width: var(--ep-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--ep-space-md);
}
.ep-stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}
.ep-stat-item {
    padding: var(--ep-space-lg) var(--ep-space-md);
    border-right: 1px solid rgba(255,255,255,0.15);
}
.ep-stat-item:last-child {
    border-right: none;
}
.ep-stat-item .ep-stat-number {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-3xl);
    color: var(--ep-gold-light);
    display: block;
    line-height: 1.1;
    margin-bottom: 0.25em;
}
.ep-stat-item .ep-stat-label {
    font-size: var(--ep-text-xs);
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
/* --- Comparison Table (Market Position) --- */
.ep-comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--ep-border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ep-border);
}
.ep-comparison-col {
    padding: var(--ep-space-xl);
}
.ep-comparison-col h3 {
    font-size: var(--ep-text-xl);
    margin-bottom: var(--ep-space-xs);
}
.ep-comparison-subtitle {
    font-size: var(--ep-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: var(--ep-space-lg);
}
.ep-comparison-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ep-comparison-col ul li {
    padding: 0.75em 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: var(--ep-text-sm);
    line-height: 1.5;
}
.ep-comparison-col ul li:last-child {
    border-bottom: none;
}
.ep-comparison-them,
.ep-comp-them {
    background: var(--ep-cream);
}
.ep-comparison-them .ep-comparison-subtitle,
.ep-comp-them .ep-comparison-subtitle {
    color: var(--ep-slate-light);
}
.ep-comparison-them ul li,
.ep-comp-them ul li {
    color: var(--ep-slate);
}
.ep-comparison-us,
.ep-comp-us {
    background: var(--ep-white);
    border-left: 3px solid var(--ep-gold);
}
.ep-comparison-us h3,
.ep-comp-us h3 {
    color: var(--ep-maroon);
}
.ep-comparison-us .ep-comparison-subtitle,
.ep-comp-us .ep-comparison-subtitle {
    color: var(--ep-gold);
}
.ep-comparison-us ul li,
.ep-comp-us ul li {
    color: var(--ep-maroon);
    font-weight: 500;
}
/* --- Card Meta --- */
.ep-card-meta {
    font-size: var(--ep-text-sm) !important;
    color: var(--ep-gold) !important;
    font-weight: 600;
    margin-bottom: 0.5em !important;
}
.ep-card-needs {
    font-size: var(--ep-text-sm) !important;
    margin-top: var(--ep-space-sm);
    padding-top: var(--ep-space-sm);
    border-top: 1px solid var(--ep-border-light);
}
/* --- Approach Grid --- */
.ep-approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--ep-space-lg);
    margin-bottom: var(--ep-space-xl);
}
.ep-approach-item {
    padding: var(--ep-space-lg);
    background: var(--ep-cream);
    border-radius: var(--ep-border-radius-lg);
    border: 1px solid var(--ep-border);
    transition: all var(--ep-transition);
}
.ep-approach-item:hover {
    border-color: var(--ep-gold);
    box-shadow: 0 8px 30px rgba(80, 33, 8, 0.06);
}
.ep-approach-number {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-3xl);
    color: var(--ep-gold);
    line-height: 1;
    margin-bottom: var(--ep-space-sm);
    opacity: 0.6;
}
.ep-approach-item h3 {
    font-size: var(--ep-text-lg);
    margin-bottom: var(--ep-space-xs);
}
.ep-approach-item p {
    font-size: var(--ep-text-sm);
    margin-bottom: 0;
}
/* --- Dimensions Bar --- */
.ep-dimensions-bar {
    background: var(--ep-cream);
    border-radius: var(--ep-border-radius-lg);
    padding: var(--ep-space-lg);
    border: 1px solid var(--ep-border);
}
.ep-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--ep-space-sm);
    text-align: center;
}
.ep-dimension {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-base);
    color: var(--ep-maroon);
    padding: var(--ep-space-sm);
    background: var(--ep-white);
    border-radius: var(--ep-border-radius);
    border: 1px solid var(--ep-border);
}
/* --- Saleability Quadrant --- */
.ep-quadrant {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2.5rem;
    padding-bottom: 2.5rem;
}
.ep-quadrant-label {
    position: absolute;
    font-size: var(--ep-text-xs);
    color: var(--ep-slate-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.ep-quadrant-label-y {
    left: 0;
    top: 50%;
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: left center;
}
.ep-quadrant-label-x {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.ep-quadrant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--ep-border);
    border-radius: var(--ep-border-radius-lg);
    overflow: hidden;
}
.ep-quadrant-cell {
    padding: var(--ep-space-lg);
    background: var(--ep-white);
}
.ep-quadrant-cell h4 {
    font-size: var(--ep-text-lg);
    margin-bottom: var(--ep-space-xs);
}
.ep-quadrant-score {
    display: inline-block;
    font-size: var(--ep-text-xs);
    font-weight: 700;
    padding: 0.25em 0.75em;
    border-radius: 20px;
    margin-bottom: var(--ep-space-sm);
}
.ep-quadrant-cell p {
    font-size: var(--ep-text-sm);
    margin-bottom: 0;
}
.ep-quadrant-hard {
    background: #FFF5F5;
}
.ep-quadrant-hard .ep-quadrant-score {
    background: #FECACA;
    color: #991B1B;
}
.ep-quadrant-strategic {
    background: #FFFBEB;
}
.ep-quadrant-strategic .ep-quadrant-score {
    background: #FDE68A;
    color: #92400E;
}
.ep-quadrant-risky {
    background: #FFF7ED;
}
.ep-quadrant-risky .ep-quadrant-score {
    background: #FED7AA;
    color: #9A3412;
}
.ep-quadrant-ideal {
    background: #F0FDF4;
    border: 2px solid var(--ep-gold);
}
.ep-quadrant-ideal .ep-quadrant-score {
    background: #BBF7D0;
    color: #166534;
}
/* --- Quadrant Axis Labels (for ep-prog-quadrant) --- */
.ep-prog-quadrant-wrap {
    display: flex;
    align-items: stretch;
    gap: var(--ep-space-md);
    max-width: 800px;
    margin: 0 auto;
}
.ep-prog-axis-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-width: 1.5rem;
}
.ep-prog-axis-y span {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ep-slate);
    opacity: 0.6;
}
.ep-prog-quadrant-col {
    flex: 1;
    min-width: 0;
}
.ep-prog-axis-x {
    display: flex;
    justify-content: space-between;
    padding-top: var(--ep-space-sm);
}
.ep-prog-axis-x span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ep-slate);
    opacity: 0.6;
}
.ep-axis-label-high {
    color: var(--ep-maroon);
}
.ep-axis-label-low {
    color: var(--ep-slate-light);
}
/* --- Pricing Cards --- */
.ep-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ep-space-lg);
    align-items: start;
}
.ep-pricing-card {
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-border-radius-lg);
    padding: var(--ep-space-lg);
    transition: all var(--ep-transition);
}
.ep-pricing-card:hover {
    border-color: var(--ep-gold);
    box-shadow: 0 8px 30px rgba(80, 33, 8, 0.06);
}
.ep-pricing-featured {
    border: 2px solid var(--ep-gold);
    position: relative;
}
.ep-pricing-header {
    text-align: center;
    padding-bottom: var(--ep-space-md);
    margin-bottom: var(--ep-space-md);
    border-bottom: 1px solid var(--ep-border);
}
.ep-pricing-badge {
    display: inline-block;
    font-size: var(--ep-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ep-gold);
    margin-bottom: var(--ep-space-sm);
}
.ep-pricing-amount {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-4xl);
    color: var(--ep-maroon);
    line-height: 1.1;
}
.ep-pricing-term {
    font-size: var(--ep-text-sm);
    color: var(--ep-slate);
}
.ep-pricing-card > p {
    font-size: var(--ep-text-sm);
}
.ep-pricing-features {
    list-style: none;
    padding: 0;
    margin: var(--ep-space-md) 0 0;
}
.ep-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    padding: 0.5em 0;
    font-size: var(--ep-text-sm);
    color: var(--ep-slate-dark);
}
.ep-pricing-features li svg {
    color: var(--ep-gold);
    flex-shrink: 0;
    margin-top: 0.15em;
}
.ep-pricing-highlight {
    background: var(--ep-cream);
    border-radius: var(--ep-border-radius);
    padding: var(--ep-space-sm) var(--ep-space-md);
    margin-top: var(--ep-space-md);
}
.ep-pricing-highlight p {
    margin: 0;
    font-size: var(--ep-text-sm);
    color: var(--ep-maroon);
}
/* --- Vision & Mission Cards --- */
.ep-vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ep-space-lg);
    margin-bottom: var(--ep-space-xl);
}
.ep-vm-card {
    padding: var(--ep-space-xl);
    border-radius: var(--ep-border-radius-lg);
    background: var(--ep-cream);
}
.ep-vm-vision {
    border-left: 4px solid var(--ep-gold);
}
.ep-vm-mission {
    border-left: 4px solid var(--ep-maroon);
}
.ep-vm-card h3 {
    font-size: var(--ep-text-xl);
    margin-bottom: var(--ep-space-sm);
}
.ep-vm-card p {
    font-size: var(--ep-text-lg);
    line-height: 1.7;
    margin-bottom: 0;
}
/* --- Compact Values --- */
.ep-values-compact {
    max-width: var(--ep-max-width-narrow);
    margin: 0 auto;
}
.ep-value-item {
    display: flex;
    gap: var(--ep-space-md);
    padding: var(--ep-space-md) 0;
    border-bottom: 1px solid var(--ep-border);
    align-items: flex-start;
}
.ep-value-item:last-child {
    border-bottom: none;
}
.ep-value-numeral {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-2xl);
    color: var(--ep-gold);
    min-width: 2.5rem;
    line-height: 1.3;
}
.ep-value-item h4 {
    font-size: var(--ep-text-base);
    font-family: var(--ep-font-body);
    font-weight: 600;
    margin-bottom: 0.25em;
}
.ep-value-item p {
    font-size: var(--ep-text-sm);
    margin-bottom: 0;
}
/* --- Proof Grid (Brand Promise Proof) --- */
.ep-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ep-space-lg);
}
.ep-proof-card {
    text-align: center;
    padding: var(--ep-space-lg);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--ep-border-radius-lg);
    background: rgba(255,255,255,0.05);
}
.ep-proof-card h3 {
    color: var(--ep-gold-light);
    font-size: var(--ep-text-xl);
    margin-bottom: var(--ep-space-sm);
}
.ep-proof-card p {
    font-size: var(--ep-text-sm);
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}
/* --- Setup Tip (hidden from visitors in updated template) --- */
.ep-setup-tip {
    background: var(--ep-cream);
    border: 1px dashed var(--ep-border);
    border-radius: var(--ep-border-radius-lg);
    padding: var(--ep-space-lg);
}
/* --- Form Groups --- */
.ep-form-group {
    margin-bottom: var(--ep-space-md);
}
/* ==========================================================================
   SINGLE-PAGE RESPONSIVE ADDITIONS
   ========================================================================== */
@media (max-width: 992px) {
    .ep-comparison-table,
    .ep-vision-mission,
    .ep-pricing-grid {
        grid-template-columns: 1fr;
    }
    .ep-comparison-us,
    .ep-comp-us {
        border-left: none;
        border-top: 3px solid var(--ep-gold);
    }
    .ep-quadrant {
        padding-left: 0;
    }
    .ep-quadrant-label-y {
        display: none;
    }
    .ep-stats-bar-inner {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Quadrant axis labels responsive */
    .ep-prog-quadrant-wrap {
        flex-direction: column;
    }
    .ep-prog-axis-y {
        flex-direction: row;
        writing-mode: horizontal-tb;
        padding: 0;
        min-width: auto;
    }
    .ep-prog-axis-y span {
        writing-mode: horizontal-tb;
        transform: none;
    }
}
@media (max-width: 768px) {
    .ep-approach-grid,
    .ep-proof-grid {
        grid-template-columns: 1fr;
    }
    .ep-dimensions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ep-quadrant-grid {
        grid-template-columns: 1fr;
    }
    .ep-stats-bar-inner {
        grid-template-columns: 1fr;
    }
    .ep-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: var(--ep-space-md);
    }
    .ep-stat-item:last-child {
        border-bottom: none;
    }
    /* Quadrant axis — hide Y-axis on small screens, simplify X */
    .ep-prog-axis-y {
        display: none;
    }
    .ep-prog-axis-x {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
}
@media (max-width: 544px) {
    .ep-dimensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ==========================================================================
   15. ANIMATION CONCEPTS
   ========================================================================== */
/* 1. STICKY STACKING LABELS */
.ep-sticky-label {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-bottom: 1px solid var(--ep-cream-dark, #EDE8D8);
    font-family: var(--ep-font-body, 'Inter', sans-serif);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ep-gold, #bc9c22);
}
/* Maroon sections need dark sticky labels */
.ep-section-maroon .ep-sticky-label {
    background: rgba(80,33,8,0.95);
    border-bottom-color: rgba(255,255,255,0.1);
    color: var(--ep-gold-light, #D4B84A);
}
.ep-section-cream .ep-sticky-label {
    background: rgba(247,243,232,0.95);
    border-bottom-color: var(--ep-cream-dark, #EDE8D8);
}
/* 2. FLOATING ICONS (C1) */
.ep-floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.ep-float-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(188,156,34,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ep-gold);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(80,33,8,0.04);
    animation: epFloatGentle 6s ease-in-out infinite;
    pointer-events: auto;
    opacity: 0.45;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}
.ep-float-icon:hover {
    opacity: 1;
    box-shadow: 0 8px 30px rgba(188,156,34,0.15);
    border-color: var(--ep-gold);
}
.ep-float-icon svg {
    width: 22px;
    height: 22px;
}
.ep-float-icon:nth-child(even) { animation-duration: 7s; }
.ep-float-icon:nth-child(3n) { animation-duration: 8s; }
@keyframes epFloatGentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(1deg); }
    66% { transform: translateY(6px) rotate(-1deg); }
}
/* 3. MOUSE-FOLLOW (C3) */
.ep-mouse-section {
    position: relative;
    overflow: hidden;
}
.ep-mouse-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.ep-mouse-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    transition: transform 0.15s ease-out;
}
.ep-mouse-dot:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--ep-gold);
    top: 20%;
    left: 20%;
}
.ep-mouse-dot:nth-child(2) {
    width: 300px;
    height: 300px;
    background: var(--ep-gold-light);
    bottom: 10%;
    right: 15%;
}
.ep-mouse-dot:nth-child(3) {
    width: 200px;
    height: 200px;
    background: #fff;
    top: 10%;
    right: 30%;
}
/* 4. MORPHING COUNTER (C7) */
.ep-morph-stat {
    text-align: center;
}
.ep-morph-number {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-3xl);
    color: var(--ep-gold-light);
    display: block;
    line-height: 1.1;
    margin-bottom: 0.25em;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-morph-stat.ep-visible .ep-morph-number {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.ep-morph-bar {
    width: 30px;
    height: 2px;
    background: var(--ep-gold);
    margin: 14px auto 0;
    transform: scaleX(0);
    transition: transform 0.8s ease 0.5s;
}
.ep-morph-stat.ep-visible .ep-morph-bar {
    transform: scaleX(1);
}
/* 5. TYPEWRITER (C8) */
.ep-typewriter-wrap .ep-type-line {
    display: inline;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.ep-typewriter-wrap .ep-type-line.ep-visible {
    opacity: 1;
}
.ep-type-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--ep-gold-light);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: epBlink 0.8s step-end infinite;
}
@keyframes epBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.ep-typewriter-wrap p.ep-lead {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 1.5s;
}
.ep-typewriter-wrap.ep-visible p.ep-lead {
    opacity: 1;
    transform: translateY(0);
}
/* 6. COMPARISON SLIDE-IN (C6) */
.ep-comp-side.ep-comp-them {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-comp-side.ep-comp-us {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.ep-comp-side.ep-visible {
    opacity: 1;
    transform: translateX(0);
}
.ep-comp-side ul li {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}
.ep-comp-side.ep-visible ul li { opacity: 1; transform: translateY(0); }
.ep-comp-side.ep-visible ul li:nth-child(1) { transition-delay: 0.3s; }
.ep-comp-side.ep-visible ul li:nth-child(2) { transition-delay: 0.4s; }
.ep-comp-side.ep-visible ul li:nth-child(3) { transition-delay: 0.5s; }
.ep-comp-side.ep-visible ul li:nth-child(4) { transition-delay: 0.6s; }
.ep-comp-side.ep-visible ul li:nth-child(5) { transition-delay: 0.7s; }
.ep-comp-side.ep-visible ul li:nth-child(6) { transition-delay: 0.8s; }
/* 7. CARD FLIP (C9) */
.ep-flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--ep-space-lg);
}
.ep-flip-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}
.ep-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.ep-flip-card:hover .ep-flip-card-inner,
.ep-flip-card.ep-flipped .ep-flip-card-inner {
    transform: rotateY(180deg);
}
.ep-flip-front, .ep-flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--ep-border-radius-lg);
    padding: var(--ep-space-lg) var(--ep-space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ep-flip-front {
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
    text-align: center;
}
.ep-flip-front .ep-flip-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--ep-cream);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ep-gold);
    transition: all 0.3s ease;
}
.ep-flip-card:hover .ep-flip-icon {
    background: var(--ep-gold);
    color: #fff;
}
.ep-flip-front h3 {
    font-size: var(--ep-text-xl);
    margin-bottom: var(--ep-space-xs);
}
.ep-flip-front p {
    font-size: var(--ep-text-sm);
    color: var(--ep-slate);
}
.ep-flip-back {
    background: var(--ep-maroon);
    transform: rotateY(180deg);
    text-align: center;
}
.ep-flip-back h3 {
    color: var(--ep-gold-light);
    font-size: 1.15rem;
    margin-bottom: var(--ep-space-sm);
}
.ep-flip-back p {
    color: rgba(255,255,255,0.8);
    font-size: var(--ep-text-sm);
    line-height: 1.7;
}
.ep-flip-stat {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-4xl);
    color: var(--ep-gold-light);
    margin-bottom: var(--ep-space-xs);
}
.ep-flip-hint {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: var(--ep-slate-light);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}
/* Hide hint on desktop hover-capable devices */
@media (hover: hover) {
    .ep-flip-hint { display: none; }
}
/* 8. STAGGER CARDS (C2) */
.ep-stagger-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-stagger-card.ep-visible {
    opacity: 1;
    transform: translateY(0);
}
.ep-stagger-card:hover {
    border-color: var(--ep-gold);
    box-shadow: 0 12px 40px rgba(80,33,8,0.06);
    transform: translateY(-4px);
}
/* 9. PROGRESSIVE QUADRANT (C10) */
.ep-prog-quadrant {
    max-width: 750px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    background: var(--ep-cream-dark);
    border-radius: 16px;
    overflow: hidden;
}
.ep-prog-cell {
    padding: var(--ep-space-lg) var(--ep-space-md);
    background: var(--ep-white);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: scale(0.9);
    position: relative;
}
.ep-prog-cell.ep-visible {
    opacity: 1;
    transform: scale(1);
}
.ep-prog-cell:hover {
    z-index: 3;
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(80,33,8,0.1);
}
.ep-prog-cell h4 { font-size: var(--ep-text-lg); margin-bottom: var(--ep-space-xs); }
.ep-prog-cell p { font-size: var(--ep-text-sm); line-height: 1.6; margin-bottom: 0; }
.ep-prog-score {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: var(--ep-space-sm);
}
.ep-prog-step {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--ep-font-body);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease 0.6s;
}
.ep-prog-cell.ep-visible .ep-prog-step {
    opacity: 1;
    transform: scale(1);
}
/* Grid order: Hard(top-left), Ideal(top-right), Risky(bottom-left), Strategic(bottom-right) */
.ep-prog-hard { background: #FFF8F8; order: 1; }
.ep-prog-hard .ep-prog-score { background: #FECACA; color: #991B1B; }
.ep-prog-hard .ep-prog-step { background: #FECACA; color: #991B1B; }
.ep-prog-ideal { background: #F2FDF6; order: 2; border: 2px solid var(--ep-gold); }
.ep-prog-ideal .ep-prog-score { background: #BBF7D0; color: #166534; }
.ep-prog-ideal .ep-prog-step { background: var(--ep-gold); color: #fff; }
.ep-prog-risky { background: #FFFAF5; order: 3; }
.ep-prog-risky .ep-prog-score { background: #FED7AA; color: #9A3412; }
.ep-prog-risky .ep-prog-step { background: #FED7AA; color: #9A3412; }
.ep-prog-strategic { background: #FFFCF0; order: 4; }
.ep-prog-strategic .ep-prog-score { background: #FDE68A; color: #92400E; }
.ep-prog-strategic .ep-prog-step { background: #FDE68A; color: #92400E; }
.ep-prog-ideal .ep-pulse-dot {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 10px;
    height: 10px;
    background: var(--ep-gold);
    border-radius: 50%;
}
.ep-prog-ideal .ep-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--ep-gold);
    border-radius: 50%;
    animation: epPulse 2s ease-in-out infinite;
}
@keyframes epPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(2); opacity: 0; }
}
/* 10. PRICING SLIDE-IN (C11) */
.ep-price-card {
    border: 1px solid var(--ep-border);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-price-card.ep-visible {
    opacity: 1;
    transform: translateX(0);
}
.ep-price-card:hover {
    border-color: var(--ep-gold);
    box-shadow: 0 16px 48px rgba(80,33,8,0.08);
    transform: translateY(-4px);
}
.ep-price-card-header {
    padding: 32px 24px 24px;
    text-align: center;
    background: var(--ep-cream);
    position: relative;
    overflow: hidden;
}
.ep-price-card-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: var(--ep-gold);
    opacity: 0.06;
    border-radius: 50%;
    transition: all 0.5s ease;
}
.ep-price-card:hover .ep-price-card-header::before {
    transform: scale(2);
    opacity: 0.1;
}
.ep-price-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ep-gold);
    margin-bottom: 8px;
}
.ep-price-amount {
    font-family: var(--ep-font-heading);
    font-size: var(--ep-text-4xl);
    color: var(--ep-maroon);
    line-height: 1;
}
.ep-price-term {
    font-size: var(--ep-text-sm);
    color: var(--ep-slate);
    margin-top: 4px;
}
.ep-price-card-body {
    padding: 24px;
    background: var(--ep-white);
}
.ep-price-card-body p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.ep-price-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--ep-slate);
}
.ep-price-feature svg {
    color: var(--ep-gold);
    flex-shrink: 0;
}
.ep-price-card-featured {
    border: 2px solid var(--ep-gold);
    position: relative;
}
.ep-price-card-featured .ep-price-card-header {
    background: linear-gradient(135deg, var(--ep-cream) 0%, #f0e8cc 100%);
}
.ep-price-ribbon {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--ep-gold);
    color: #fff;
    font-family: var(--ep-font-body);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 40px;
    transform: rotate(45deg);
    z-index: 2;
}
/* 11. SPLIT-SCREEN (C12) */
.ep-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--ep-max-width);
    margin: 0 auto var(--ep-space-xl);
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--ep-border);
    background: var(--ep-white);
}
.ep-split-text {
    padding: var(--ep-space-2xl) var(--ep-space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-split-text.from-left { transform: translateX(-40px); }
.ep-split-text.from-right { transform: translateX(40px); }
.ep-split-text.ep-visible { opacity: 1; transform: translateX(0); }
.ep-split-text h3 { font-size: var(--ep-text-2xl); margin-bottom: var(--ep-space-sm); }
.ep-split-text p { font-size: var(--ep-text-base); line-height: 1.8; }
.ep-split-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ep-space-xl);
    position: relative;
    overflow: hidden;
    min-height: 300px;
}
.ep-split-visual-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.8s ease 0.2s;
}
.ep-split-section.ep-visible .ep-split-visual-bg {
    opacity: 1;
    transform: scale(1);
}
.ep-icon-cluster {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}
.ep-cluster-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(188,156,34,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ep-gold);
    opacity: 0;
    transform: translateY(20px) rotate(-5deg);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-split-section.ep-visible .ep-cluster-icon { opacity: 1; transform: translateY(0) rotate(0); }
.ep-split-section.ep-visible .ep-cluster-icon:nth-child(1) { transition-delay: 0.3s; }
.ep-split-section.ep-visible .ep-cluster-icon:nth-child(2) { transition-delay: 0.4s; }
.ep-split-section.ep-visible .ep-cluster-icon:nth-child(3) { transition-delay: 0.5s; }
.ep-split-section.ep-visible .ep-cluster-icon:nth-child(4) { transition-delay: 0.6s; }
.ep-cluster-icon:hover {
    background: var(--ep-gold);
    color: #fff;
    transform: scale(1.08) rotate(0);
    border-color: transparent;
}
.ep-sv-maroon { background: var(--ep-maroon); }
.ep-sv-maroon .ep-split-visual-bg { background: radial-gradient(circle at 30% 50%, rgba(188,156,34,0.15) 0%, transparent 60%); }
.ep-sv-cream { background: var(--ep-cream); }
.ep-sv-cream .ep-split-visual-bg { background: radial-gradient(circle at 70% 50%, rgba(80,33,8,0.06) 0%, transparent 60%); }
.ep-sv-gold { background: linear-gradient(135deg, #f5ecd0, var(--ep-cream)); }
.ep-sv-gold .ep-split-visual-bg { background: radial-gradient(circle at 50% 50%, rgba(188,156,34,0.12) 0%, transparent 60%); }
.ep-feature-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.ep-split-section.ep-visible .ep-feature-icon-large {
    opacity: 1;
    transform: scale(1);
}
.ep-fi-maroon { background: rgba(255,255,255,0.1); color: var(--ep-gold-light); }
.ep-fi-cream { background: #fff; color: var(--ep-gold); box-shadow: 0 8px 30px rgba(80,33,8,0.06); }
.ep-fi-gold { background: var(--ep-gold); color: #fff; box-shadow: 0 8px 30px rgba(188,156,34,0.2); }
/* 12. SCROLL REVEAL GENERIC */
.ep-scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-scroll-reveal.ep-visible {
    opacity: 1;
    transform: translateY(0);
}
/* 13. PROOF CARD ANIMATION */
.ep-proof-card-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-proof-card-anim.ep-visible {
    opacity: 1;
    transform: translateY(0);
}
/* 14. RESPONSIVE for new animations */
@media (max-width: 992px) {
    .ep-flip-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .ep-split-section { grid-template-columns: 1fr; }
    .ep-prog-quadrant { grid-template-columns: 1fr; }
    .ep-prog-hard { order: 1; }
    .ep-prog-risky { order: 2; }
    .ep-prog-strategic { order: 3; }
    .ep-prog-ideal { order: 4; }
}
@media (max-width: 768px) {
    .ep-flip-card { height: 260px; }
    .ep-floating-icons { display: none; }
    .ep-split-block { grid-template-columns: 1fr; }
}
/* ==========================================================================
   16. TEMPLATE CLASS FIXES
   ========================================================================== */
/* --- Split-screen blocks (template uses ep-split-block, not ep-split-section) --- */
.ep-split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--ep-max-width);
    margin: 0 auto var(--ep-space-xl);
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--ep-border);
    background: var(--ep-white);
}
.ep-split-text-left,
.ep-split-text-right {
    padding: var(--ep-space-2xl) var(--ep-space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Override the base .ep-split-text opacity:0 animation —
       these variants render immediately since no JS adds .ep-visible */
    opacity: 1 !important;
    transform: none !important;
}
.ep-split-text-left h3,
.ep-split-text-right h3 {
    font-size: var(--ep-text-2xl);
    margin-bottom: var(--ep-space-sm);
}
.ep-split-text-left p,
.ep-split-text-right p {
    font-size: var(--ep-text-base);
    line-height: 1.8;
}
/* SVG icon sizing in split visuals */
.ep-split-icon {
    width: 80px;
    height: 80px;
    color: var(--ep-gold);
    opacity: 0.3;
}
/* Ensure split visual styling when inline background-color is used */
.ep-split-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ep-space-xl);
    min-height: 280px;
}
/* --- Flip card back content classes (template uses ep-flip-label/desc) --- */
.ep-flip-label {
    color: var(--ep-gold-light);
    font-size: 1.1rem;
    font-family: var(--ep-font-heading);
    margin-bottom: var(--ep-space-xs);
}
.ep-flip-desc {
    color: rgba(255,255,255,0.75);
    font-size: var(--ep-text-sm);
    line-height: 1.7;
}
/* Make sure flip card ep-cards grid works */
.ep-section-cream .ep-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--ep-space-lg);
}
/* Flip card inside ep-cards grid */
.ep-cards .ep-flip-card {
    perspective: 1000px;
    height: 320px;
    cursor: pointer;
}
.ep-cards .ep-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.ep-cards .ep-flip-card:hover .ep-flip-card-inner,
.ep-cards .ep-flip-card.ep-flipped .ep-flip-card-inner {
    transform: rotateY(180deg);
}
.ep-cards .ep-flip-front,
.ep-cards .ep-flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--ep-border-radius-lg);
    padding: var(--ep-space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.ep-cards .ep-flip-front {
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
}
.ep-cards .ep-flip-back {
    background: var(--ep-maroon);
    transform: rotateY(180deg);
}
/* Flip hint for mobile */
.ep-flip-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--ep-slate-light);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}
@media (hover: hover) {
    .ep-flip-hint { display: none; }
}
/* --- Quadrant badge/pulse (template uses ep-prog-badge/ep-prog-pulse) --- */
.ep-prog-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--ep-font-body);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease 0.6s;
}
.ep-prog-cell.ep-visible .ep-prog-badge {
    opacity: 1;
    transform: scale(1);
}
.ep-prog-hard .ep-prog-badge { background: #FECACA; color: #991B1B; }
.ep-prog-risky .ep-prog-badge { background: #FED7AA; color: #9A3412; }
.ep-prog-strategic .ep-prog-badge { background: #FDE68A; color: #92400E; }
.ep-prog-ideal .ep-prog-badge { background: var(--ep-gold); color: #fff; }
.ep-prog-pulse {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 10px;
    height: 10px;
    background: var(--ep-gold);
    border-radius: 50%;
}
.ep-prog-pulse::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--ep-gold);
    border-radius: 50%;
    animation: epPulse 2s ease-in-out infinite;
}
/* --- STICKY STACKING FIX — nuclear overflow reset for ALL ancestors --- */
.page-template-page-single-scroll .site-content,
.page-template-page-single-scroll .site-content *:not(.ep-split-block):not(.ep-hero):not(.ep-flip-card-inner):not(.ep-price-card):not(.ep-floating-icons) {
    overflow: visible !important;
}
/* Re-apply overflow:hidden only where specifically needed */
.page-template-page-single-scroll .ep-split-block,
.page-template-page-single-scroll .ep-floating-icons,
.page-template-page-single-scroll .ep-price-card,
.page-template-page-single-scroll .ep-hero {
    overflow: hidden !important;
}
/* Wrapper for editor content */
.ep-single-page-wrap {
    overflow: visible !important;
}
/* Sticky label styling — must be direct child of section for sticky to work */
.ep-sticky-label {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 12px 24px !important;
    border-bottom: 1px solid var(--ep-cream-dark) !important;
    font-family: var(--ep-font-body) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: var(--ep-gold) !important;
    text-align: left !important;
    /* Full-width positioning */
    width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    left: 50% !important;
    right: 50% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}
.ep-section-maroon .ep-sticky-label {
    background: rgba(80,33,8,0.95) !important;
    border-bottom-color: rgba(255,255,255,0.1) !important;
    color: var(--ep-gold-light) !important;
}
.ep-section-cream .ep-sticky-label {
    background: rgba(247,243,232,0.95) !important;
}
/* --- Mouse section needs relative positioning --- */
.ep-mouse-section {
    position: relative !important;
    overflow: hidden;
}
.ep-promise-section {
    position: relative;
    overflow: hidden;
}
.ep-promise-section .ep-mouse-section {
    position: absolute !important;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.ep-promise-section .ep-section-inner {
    position: relative;
    z-index: 1;
}
/* --- Proof section mouse follow fix --- */
.ep-section-maroon .ep-mouse-section {
    position: absolute !important;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.ep-section-maroon > .ep-section-inner {
    position: relative;
    z-index: 1;
}
/* Proof cards need visible styling on maroon bg */
.ep-proof-card-anim {
    text-align: center;
    padding: var(--ep-space-lg);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--ep-border-radius-lg);
    background: rgba(255,255,255,0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-proof-card-anim.ep-visible {
    opacity: 1;
    transform: translateY(0);
}
.ep-proof-card-anim h3 {
    color: var(--ep-gold-light);
}
.ep-proof-card-anim p {
    color: rgba(255,255,255,0.8);
}
/* --- Responsive for split blocks --- */
@media (max-width: 992px) {
    .ep-split-block {
        grid-template-columns: 1fr;
    }
    .ep-cards .ep-flip-card {
        height: 280px;
    }
}
@media (max-width: 768px) {
    .ep-cards .ep-flip-card {
        height: 260px;
    }
}
/* ==========================================================================
   17. ANIMATION SAFETY NET
   ==========================================================================
   Root cause: IntersectionObserver adds .ep-visible before the browser paints
   the initial opacity:0 state, creating CSS transitions that never resolve.
   The companion inline script (ep-animation-fix) finishes stuck transitions;
   these rules guarantee the correct end-state once transitions are cleared.
   ========================================================================== */
/* --- Elements that animate themselves (have .ep-visible directly) --- */
.ep-scroll-reveal.ep-visible,
.ep-stagger-card.ep-visible,
.ep-comp-side.ep-visible,
.ep-prog-cell.ep-visible,
.ep-price-card.ep-visible,
.ep-proof-card-anim.ep-visible,
.ep-split-text.ep-visible {
    opacity: 1 !important;
    transform: none !important;
}
/* --- Child elements that depend on a parent's .ep-visible --- */
.ep-morph-stat.ep-visible .ep-morph-number {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}
.ep-morph-stat.ep-visible .ep-morph-bar {
    transform: scaleX(1) !important;
}
.ep-typewriter-wrap.ep-visible .ep-type-line.ep-visible {
    opacity: 1 !important;
}
.ep-typewriter-wrap.ep-visible p.ep-lead {
    opacity: 1 !important;
    transform: none !important;
}
.ep-comp-side.ep-visible ul li {
    opacity: 1 !important;
    transform: none !important;
}
.ep-prog-cell.ep-visible .ep-prog-step,
.ep-prog-cell.ep-visible .ep-prog-badge {
    opacity: 1 !important;
    transform: scale(1) !important;
}
.ep-split-section.ep-visible .ep-split-visual-bg {
    opacity: 1 !important;
    transform: none !important;
}
.ep-split-section.ep-visible .ep-cluster-icon {
    opacity: 1 !important;
    transform: none !important;
}
.ep-split-section.ep-visible .ep-feature-icon-large {
    opacity: 1 !important;
    transform: none !important;
}
/* --- Pricing card slide-in: preserve translateX(0) not translateY from hover state --- */
.ep-price-card.ep-visible {
    transform: translateX(0) !important;
}
/* --- Contact section details --- */
.ep-contact-details {
    display: flex;
    gap: var(--ep-space-lg);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--ep-space-lg);
}
.ep-contact-item {
    text-align: center;
    min-width: 200px;
}
.ep-contact-item h4 {
    color: var(--ep-gold-light);
    font-size: var(--ep-text-base);
    margin-bottom: var(--ep-space-xs);
}
.ep-contact-item p,
.ep-contact-item a {
    color: rgba(255,255,255,0.8);
    font-size: var(--ep-text-sm);
}