/**
 * CPP Design System - Design Tokens, Accessibility Baseline, Component Styles
 *
 * All values sourced from 01-UI-SPEC.md and 01-RESEARCH.md.
 * Colors reference Kadence global palette via var(--global-paletteN) where possible.
 * Supplemental colors defined here for contexts where palette classes are unavailable.
 *
 * @package CPP_Kadence_Child
 */

/* ==========================================================================
   Global Font Override (takes priority over Kadence Customizer)
   ========================================================================== */

body, p, li, td, th, label, input, textarea, select, button {
    font-family: Verdana, system-ui, sans-serif !important;
    font-size: 18px;
    line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif !important;
}

/* ==========================================================================
   Custom Header: Nav Dropdown (WordPress/Studio)
   ========================================================================== */

.cpp-nav-dropdown {
    position: relative;
}
.cpp-nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
}
.cpp-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: -16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 10px 0;
    min-width: 280px;
    z-index: 1000;
}
.cpp-nav-dropdown:hover .cpp-nav-dropdown-menu {
    display: block;
}
.cpp-nav-dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #2d2d2d;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.15s ease;
}
.cpp-nav-dropdown-menu a:hover {
    background: #f8f4fc;
    color: #662d91;
}

/* Visually hidden but crawlable by search engines */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
    /* Supplemental colors (beyond Kadence's 9 palette slots) */
    --cpp-blue-decorative: #1c9ad6;
    --cpp-blue-text: #0f6d9c;
    --cpp-teal-decorative: #00b8a5;
    --cpp-teal-text: #007a6e;
    --cpp-seafoam: #c5e6e2;
    --cpp-cream-accent: #f1eee7;
    --cpp-gradient-hero: linear-gradient(135deg, #662d91, #1c9ad6);
    --cpp-section-tint: #ebe8f2;

    /* Spacing scale (8px base) — generous whitespace for premium feel */
    --cpp-space-xs: 0.5rem;
    --cpp-space-sm: 1rem;
    --cpp-space-md: 1.5rem;
    --cpp-space-lg: 2rem;
    --cpp-space-xl: 3rem;
    --cpp-space-2xl: 4rem;
    --cpp-space-3xl: 5rem;
    --cpp-space-section: clamp(80px, 10vw, 150px);

    /* Border radius scale — big radii for modern, approachable feel (ref: teamheller.com) */
    --cpp-radius-sm: 8px;
    --cpp-radius-md: 20px;
    --cpp-radius-lg: 40px;
    --cpp-radius-pill: 9999px;

    /* Shadows — colored accent offsets + subtle depth (ref: teamheller.com) */
    --cpp-shadow-card: 0 2px 8px rgba(0,0,0,0.06);
    --cpp-shadow-card-hover: 0 4px 20px rgba(0,0,0,0.10);
    --cpp-shadow-accent-purple: -12px 12px 0 0 rgba(102, 45, 145, 0.15);
    --cpp-shadow-accent-teal: -12px 12px 0 0 rgba(0, 184, 165, 0.20);
    --cpp-shadow-accent-blue: -12px 12px 0 0 rgba(28, 154, 214, 0.18);
    --cpp-shadow-transition: box-shadow 0.3s ease, transform 0.3s ease;

    /* Transitions */
    --cpp-transition-fast: 150ms ease-out;
    --cpp-transition-base: 300ms ease-out;

    /* Destructive */
    --cpp-error: #c53030;
}

/* ==========================================================================
   Accessibility Baseline
   ========================================================================== */

/* Reduced motion: disable animations and transitions */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators: visible, on-brand purple */
:focus-visible {
    outline: 3px solid var(--global-palette1);
    outline-offset: 2px;
}

/* Skip link styling (Kadence includes one, ensure it is visually distinct) */
.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    width: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    background: var(--global-palette1);
    color: #FFFFFF;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ==========================================================================
   Global Rounded Corners (D-06)
   ========================================================================== */

.kt-inside-inner-col,
.wp-block-kadence-infobox,
.wp-block-image img,
.wp-block-kadence-form .kb-form,
.wp-block-button .wp-block-button__link {
    border-radius: var(--cpp-radius-md);
}

/* ==========================================================================
   Card Styles (D-07)
   ========================================================================== */

.cpp-card {
    box-shadow: var(--cpp-shadow-card);
    transition: var(--cpp-shadow-transition);
    border-radius: var(--cpp-radius-lg);
    overflow: hidden;
}

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

/* Accent shadow variants — colored offset peek behind card */
.cpp-card.cpp-accent-purple {
    box-shadow: var(--cpp-shadow-card), var(--cpp-shadow-accent-purple);
}
.cpp-card.cpp-accent-purple:hover {
    box-shadow: var(--cpp-shadow-card-hover), -12px 12px 0 0 rgba(102, 45, 145, 0.25);
    transform: translateY(-4px);
}
.cpp-card.cpp-accent-teal {
    box-shadow: var(--cpp-shadow-card), var(--cpp-shadow-accent-teal);
}
.cpp-card.cpp-accent-teal:hover {
    box-shadow: var(--cpp-shadow-card-hover), -12px 12px 0 0 rgba(0, 184, 165, 0.30);
    transform: translateY(-4px);
}
.cpp-card.cpp-accent-blue {
    box-shadow: var(--cpp-shadow-card), var(--cpp-shadow-accent-blue);
}
.cpp-card.cpp-accent-blue:hover {
    box-shadow: var(--cpp-shadow-card-hover), -12px 12px 0 0 rgba(28, 154, 214, 0.28);
    transform: translateY(-4px);
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

/* Primary button: purple fill, white text, pill shape */
.wp-block-button.is-style-cpp-primary .wp-block-button__link {
    background: var(--global-palette1);
    color: #FFFFFF;
    border: none;
    border-radius: var(--cpp-radius-pill);
    padding: 0.875rem 2rem;
    font-family: Verdana, system-ui, sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wp-block-button.is-style-cpp-primary .wp-block-button__link:hover {
    background: #551f7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 45, 145, 0.3);
}

.wp-block-button.is-style-cpp-primary .wp-block-button__link:active {
    transform: translateY(0);
}

.wp-block-button.is-style-cpp-primary .wp-block-button__link:disabled,
.wp-block-button.is-style-cpp-primary .wp-block-button__link[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
}

/* Secondary button: teal outline, teal text, pill shape */
.wp-block-button.is-style-cpp-secondary .wp-block-button__link {
    background: transparent;
    color: var(--cpp-teal-text);
    border: 2px solid var(--cpp-teal-decorative);
    border-radius: var(--cpp-radius-pill);
    padding: 0.75rem 1.75rem;
    font-family: Verdana, system-ui, sans-serif;
    font-weight: 400;
    transition: all var(--cpp-transition-fast);
}

.wp-block-button.is-style-cpp-secondary .wp-block-button__link:hover {
    background: var(--cpp-teal-decorative);
    color: #FFFFFF;
}

.wp-block-button.is-style-cpp-secondary .wp-block-button__link:active {
    transform: scale(0.98);
}

.wp-block-button.is-style-cpp-secondary .wp-block-button__link:disabled,
.wp-block-button.is-style-cpp-secondary .wp-block-button__link[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
}

/* Ghost button: text-only, purple, no border */
.wp-block-button.is-style-cpp-ghost .wp-block-button__link {
    background: transparent;
    color: var(--global-palette1);
    border: none;
    border-radius: var(--cpp-radius-pill);
    padding: 0.75rem 1.75rem;
    font-family: Verdana, system-ui, sans-serif;
    font-weight: 400;
    transition: color var(--cpp-transition-fast);
}

.wp-block-button.is-style-cpp-ghost .wp-block-button__link:hover {
    text-decoration: underline;
    color: var(--cpp-blue-text);
}

.wp-block-button.is-style-cpp-ghost .wp-block-button__link:disabled,
.wp-block-button.is-style-cpp-ghost .wp-block-button__link[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   Typography Polish — editorial tightness on headings
   ========================================================================== */

h1, .entry-title {
    letter-spacing: -1.5px;
}
h2 {
    letter-spacing: -1px;
}
h3 {
    letter-spacing: -0.5px;
}

/* Section heading — centered with subtle rule underneath */
.cpp-section-heading {
    text-align: center;
    margin-bottom: var(--cpp-space-xl);
    position: relative;
    padding-bottom: var(--cpp-space-md);
}
.cpp-section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--cpp-teal-decorative);
    border-radius: var(--cpp-radius-pill);
}

/* ==========================================================================
   Navigation Link Styles
   ========================================================================== */

.header-navigation a {
    color: #2d2d2d;
    transition: color var(--cpp-transition-fast);
}

.header-navigation a:hover {
    color: var(--global-palette1);
}

.header-navigation .current-menu-item > a,
.header-navigation .current_page_item > a {
    color: var(--global-palette1);
    border-bottom: 2px solid var(--global-palette1);
    padding-bottom: 2px;
}

/* ==========================================================================
   Form Input Styles
   ========================================================================== */

.wp-block-kadence-form .kb-form input,
.wp-block-kadence-form .kb-form textarea,
.wp-block-kadence-form .kb-form select {
    border: 1px solid #999999;
    background: #FFFFFF;
    border-radius: var(--cpp-radius-md);
    padding: 0.75rem 1rem;
    min-height: 44px;
    transition: border-color var(--cpp-transition-fast);
}

.wp-block-kadence-form .kb-form input:hover,
.wp-block-kadence-form .kb-form textarea:hover,
.wp-block-kadence-form .kb-form select:hover {
    border-color: var(--global-palette1);
}

/* ==========================================================================
   CTA Gradient Background
   ========================================================================== */

.cpp-cta-gradient {
    background: linear-gradient(135deg, #662d91 0%, #1c9ad6 50%, #00b8a5 100%);
    background-size: 200% 200%;
    animation: cpp-gradient-drift 12s ease infinite;
}
.cpp-cta-gradient h2 {
    color: #ffffff;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}
.cpp-cta-gradient p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
}
.cpp-cta-gradient .wp-block-buttons {
    justify-content: center;
}
/* White button on gradient CTA */
.is-style-cpp-cta-white .wp-block-button__link {
    background-color: #ffffff !important;
    color: var(--global-palette1) !important;
    border: 2px solid #ffffff;
    border-radius: var(--cpp-radius-pill);
    padding: 14px 36px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.is-style-cpp-cta-white .wp-block-button__link:hover {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Caption utility: small text for meta, timestamps, attributions */
.cpp-caption {
    font-size: clamp(0.813rem, 0.75rem + 0.25vw, 0.875rem);
    line-height: 1.5;
    color: var(--global-palette5);
}

/* ==========================================================================
   Header: Sticky & Mobile Enhancements
   ========================================================================== */

/* Header: sticky border visibility */
.header-sticky-shrink .site-header-row-container {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Header: CTA button sizing in header context */
.header-button-wrap .wp-block-button__link {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Mobile: hamburger touch target */
.menu-toggle-open {
    min-width: 44px;
    min-height: 44px;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

/* Footer: column heading style */
.site-footer .footer-widget-area h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: var(--global-palette3);
    margin-bottom: var(--cpp-space-sm);
}

/* Footer: link styles */
.site-footer .footer-widget-area a {
    color: var(--global-palette4);
    text-decoration: none;
    transition: color var(--cpp-transition-fast);
}
.site-footer .footer-widget-area a:hover {
    color: var(--global-palette1);
}

/* Footer: tagline italic */
.footer-brand-tagline {
    font-style: italic;
    color: var(--global-palette4);
    margin-top: var(--cpp-space-sm);
}

/* Footer: bottom row separator */
.site-footer .footer-bottom-row {
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Footer: beehiiv newsletter embed */
.cpp-beehiiv-wrap {
    width: 100%;
    max-width: 400px;
}
.cpp-beehiiv-wrap iframe.beehiiv-embed {
    width: 100%;
    height: 340px;
    border: none;
    border-radius: var(--cpp-radius-md);
    background: transparent;
}

/* Footer: copyright text */
.footer-copyright {
    color: var(--global-palette5);
    font-size: clamp(0.813rem, 0.75rem + 0.25vw, 0.875rem);
}

/* Footer: responsive -- stack columns on mobile */
@media (max-width: 767px) {
    .site-footer .footer-widget-area {
        text-align: center;
        margin-bottom: var(--cpp-space-lg);
    }
}

/* ==========================================================================
   Phase 2: Hero — Full-width animated gradient with content overlay
   ========================================================================== */

.cpp-hero-section {
    position: relative;
    overflow: hidden;
    min-height: clamp(500px, 60vh, 700px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #662d91 0%, #1c9ad6 50%, #00b8a5 100%);
    background-size: 200% 200%;
    animation: cpp-gradient-drift 12s ease infinite;
}
@keyframes cpp-gradient-drift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.cpp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 740px;
    padding: 80px 32px;
}
.cpp-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: var(--cpp-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}
.cpp-hero-section h1 {
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 24px;
}
.cpp-hero-section .cpp-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.cpp-hero-section .wp-block-buttons {
    justify-content: center;
    gap: 12px;
}
@media (max-width: 600px) {
    .cpp-hero-section { min-height: clamp(400px, 50vh, 550px); }
    .cpp-hero-content { padding: 60px 20px; }
    .cpp-hero-section .wp-block-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .cpp-hero-section .wp-block-button { width: 100%; }
    .cpp-hero-section .wp-block-button__link { text-align: center; width: 100%; }
}

/* Hero button variants */
.is-style-cpp-hero-primary .wp-block-button__link {
    background-color: #FFFFFF !important;
    color: #662d91 !important;
    border: 2px solid #FFFFFF;
    border-radius: var(--cpp-radius-pill);
    padding: 16px 40px;
    font-weight: 600;
    font-size: 1rem;
    min-height: 48px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.is-style-cpp-hero-primary .wp-block-button__link:hover {
    background-color: rgba(255,255,255,0) !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.is-style-cpp-hero-primary .wp-block-button__link:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}
.is-style-cpp-hero-secondary .wp-block-button__link {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: var(--cpp-radius-pill);
    padding: 16px 40px;
    font-weight: 600;
    font-size: 1rem;
    min-height: 48px;
    transition: all 0.3s ease;
}
.is-style-cpp-hero-secondary .wp-block-button__link:hover {
    border-color: #FFFFFF;
    background-color: rgba(255,255,255,0.1) !important;
    transform: translateY(-2px);
}
.is-style-cpp-hero-secondary .wp-block-button__link:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}

/* Hero variant: image behind gradient */
.cpp-hero-section.cpp-hero-with-image {
    background-image: url('../images/hero-bg.jpg'), url('/assets/images/hero-bg.jpg');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #662d91;
}
.cpp-hero-section.cpp-hero-with-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102,45,145,0.85) 0%, rgba(28,154,214,0.80) 50%, rgba(0,184,165,0.75) 100%);
    background-size: 200% 200%;
    animation: cpp-gradient-drift 12s ease infinite;
    z-index: 1;
}

/* ==========================================================================
   Phase 2: Value Proposition Blurb — gradient text finish
   ========================================================================== */

.cpp-value-blurb {
    text-align: center;
    padding: 56px 32px 64px;
    background: linear-gradient(180deg, #ebe8f2 0%, #f8f9fb 100%);
}
.cpp-value-blurb-inner {
    max-width: 700px;
    margin: 0 auto;
}
.cpp-value-blurb p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
    line-height: 1.6;
    color: #1a1a2e;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
}
.cpp-gradient-text {
    background: linear-gradient(135deg, #662d91, #1c9ad6, #00b8a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ==========================================================================
   Phase 2: Metrics Bar — Gradient banner with animated counters
   ========================================================================== */

.cpp-metrics-bar {
    background: linear-gradient(135deg, #1c9ad6 0%, #662d91 100%);
    padding: 52px 0;
}
.cpp-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.cpp-metric-number {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.cpp-metric-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}
@media (max-width: 768px) {
    .cpp-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .cpp-metric-number { font-size: 2rem; }
}
@media (max-width: 480px) {
    .cpp-metrics-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Phase 2: Case Study Entry
   ========================================================================== */

.cpp-case-study-entry blockquote {
    border-left: 4px solid var(--global-palette1, #662d91);
    padding-left: var(--cpp-space-md);
    margin-top: var(--cpp-space-md);
    font-style: italic;
}

/* ==========================================================================
   Phase 2: Service Card Reveal (bottom overlay — zero layout shift)
   ========================================================================== */

.cpp-card-reveal {
    position: relative;
    overflow: hidden;
}
/* Reveal: gentle max-height expand on hover */
.cpp-card-reveal {
    position: relative;
}
.cpp-card-reveal .cpp-card-reveal-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.6s ease, max-height 0.7s ease-in-out;
}
.cpp-card-reveal:hover .cpp-card-reveal-content,
.cpp-card-reveal:focus-within .cpp-card-reveal-content {
    opacity: 1;
    max-height: 200px;
    transition: opacity 0.6s ease 0.1s, max-height 0.7s ease-in-out;
}
@media (max-width: 1024px) {
    .cpp-card-reveal .cpp-card-reveal-content {
        opacity: 1;
        max-height: none;
    }
}

/* ==========================================================================
   Phase 2: Service Cards — 2x2 grid with tinted backgrounds
   ========================================================================== */

.cpp-services-section {
    padding: var(--cpp-space-section) 0;
    background: #ffffff;
}
.cpp-services-section .cpp-section-heading h2 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.cpp-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}
/* Service card — V5: bold gradient, centered, big circle icon */
.cpp-service-card {
    border-radius: 28px !important;
    padding: 64px 48px !important;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    overflow: hidden;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    border: none;
    color: #ffffff;
    text-align: center;
}
.cpp-service-card.cpp-tint-blue {
    background: linear-gradient(160deg, #1c9ad6 0%, #0d7ab5 100%) !important;
    --_card-bg: #0d7ab5;
}
.cpp-service-card.cpp-tint-purple {
    background: linear-gradient(160deg, #662d91 0%, #4e1f70 100%) !important;
    --_card-bg: #4e1f70;
}
.cpp-service-card.cpp-tint-mixed {
    background: linear-gradient(160deg, #3a5fe5 0%, #662d91 100%) !important;
    --_card-bg: #662d91;
}
.cpp-service-card.cpp-tint-teal {
    background: linear-gradient(160deg, #00897a 0%, #006b5e 100%) !important;
    --_card-bg: #006b5e;
}
/* Subtle overlay for depth */
.cpp-service-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 50%;
    height: 180%;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}
/* Hover: gentle lift + colored glow (softened to prevent jumpiness) */
.cpp-service-card:hover {
    transform: translateY(-4px);
}
.cpp-service-card.cpp-tint-blue:hover {
    box-shadow: 0 16px 48px rgba(28, 154, 214, 0.3);
}
.cpp-service-card.cpp-tint-purple:hover {
    box-shadow: 0 16px 48px rgba(102, 45, 145, 0.3);
}
.cpp-service-card.cpp-tint-mixed:hover {
    box-shadow: 0 16px 48px rgba(58, 95, 229, 0.28);
}
.cpp-service-card.cpp-tint-teal:hover {
    box-shadow: 0 16px 48px rgba(0, 137, 122, 0.3);
}
/* Icon — big circle, centered */
.cpp-service-card .cpp-svc-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}
.cpp-service-card .cpp-svc-icon svg {
    width: 44px;
    height: 44px;
    stroke-width: 1.5;
}
/* Typography — large, centered */
.cpp-service-card h3 {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
    color: #ffffff;
}
.cpp-service-card p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
/* Reveal content inside service card */
.cpp-service-card .cpp-card-reveal-content {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 14px;
    margin-top: 8px;
}
.cpp-service-card .cpp-card-reveal-content p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 16px;
}
/* Card link — white arrow, pinned to bottom center */
.cpp-card-link {
    margin-top: auto;
    align-self: center;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    opacity: 0.8;
    transition: all 0.2s ease;
}
.cpp-card-link:hover { opacity: 1; }
.cpp-card-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
    stroke: #ffffff;
}
.cpp-service-card:hover .cpp-card-link svg {
    transform: translateX(5px);
}
@media (max-width: 768px) {
    .cpp-service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cpp-service-card { padding: 48px 32px !important; }
    .cpp-service-card h3 { font-size: 1.75rem; }
}

/* ==========================================================================
   Phase 2: Blog / Resources Teaser
   ========================================================================== */

.cpp-blog-section {
    padding: var(--cpp-space-section) 0;
    background: #f5f5f1;
    position: relative;
}
.cpp-blog-section .cpp-section-heading h2 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    color: #1a1a2e !important;
}
.cpp-blog-section .cpp-section-heading p {
    color: #64748b !important;
}
.cpp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}
.cpp-blog-card {
    display: flex;
    flex-direction: column;
}
.cpp-blog-card {
    background: #ffffff;
    border: none;
    border-radius: var(--cpp-radius-lg);
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cpp-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.cpp-blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.cpp-blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.25;
    transition: opacity 0.3s ease;
}
.cpp-blog-card:nth-child(1) .cpp-blog-card-image::after { background: linear-gradient(135deg, #662d91, #8e5cb5); }
.cpp-blog-card:nth-child(2) .cpp-blog-card-image::after { background: linear-gradient(135deg, #1c9ad6, #47b8e8); }
.cpp-blog-card:nth-child(3) .cpp-blog-card-image::after { background: linear-gradient(135deg, #00b8a5, #4dd4c4); }
.cpp-blog-card:hover .cpp-blog-card-image::after {
    opacity: 0.35;
}
.cpp-blog-card-image img,
.cpp-blog-card-image .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cpp-blog-card:hover .cpp-blog-card-image img,
.cpp-blog-card:hover .cpp-blog-card-image .img-placeholder {
    transform: scale(1.06);
}
.cpp-blog-card-body {
    padding: 32px 32px 36px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}
.cpp-blog-card-body {
    flex: 1;
}
.cpp-blog-card-body p {
    flex: 1;
}
.cpp-blog-read-more {
    margin-top: auto;
}
.cpp-blog-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: var(--cpp-radius-pill);
    margin-bottom: 16px;
}
.cpp-blog-tag-strategy { background: rgba(102,45,145,0.08); color: #662d91; }
.cpp-blog-tag-tech { background: rgba(28,154,214,0.08); color: #1c9ad6; }
.cpp-blog-tag-ai { background: rgba(0,184,165,0.08); color: #00897a; }
.cpp-blog-date {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 10px;
}
.cpp-blog-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
    line-height: 1.35;
}
.cpp-blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.cpp-blog-card:nth-child(1) h3 a:hover { color: #662d91; }
.cpp-blog-card:nth-child(2) h3 a:hover { color: #1c9ad6; }
.cpp-blog-card:nth-child(3) h3 a:hover { color: #00b8a5; }
.cpp-blog-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 20px;
}
/* Read more link per card */
.cpp-blog-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.cpp-blog-read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}
.cpp-blog-card:hover .cpp-blog-read-more svg {
    transform: translateX(4px);
}
.cpp-blog-card:nth-child(1) .cpp-blog-read-more { color: #662d91; }
.cpp-blog-card:nth-child(2) .cpp-blog-read-more { color: #1c9ad6; }
.cpp-blog-card:nth-child(3) .cpp-blog-read-more { color: #00b8a5; }
.cpp-blog-view-all {
    text-align: center;
    margin-top: 48px;
}
@media (max-width: 768px) {
    .cpp-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   Phase 2: Testimonials — Single featured quote, centered
   ========================================================================== */

/* ==========================================================================
   Phase 2: Testimonials — bold, matches the energy
   ========================================================================== */

.cpp-testimonials-section {
    padding: clamp(48px, 6vw, 80px) 0;
    background: #1a1a2e;
    position: relative;
    overflow: hidden;
}
/* Decorative gradient accent — top and bottom */
.cpp-testimonials-section::before,
.cpp-testimonials-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1c9ad6, #662d91, #00b8a5);
}
.cpp-testimonials-section::before { top: 0; }
.cpp-testimonials-section::after { bottom: 0; }
.cpp-testimonials-section .cpp-section-heading h2 {
    color: #ffffff;
}
.cpp-testimonials-section .cpp-section-heading::after {
    background: linear-gradient(90deg, #662d91, #1c9ad6, #00b8a5);
    width: 80px;
}
.cpp-testimonial-featured {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.cpp-testimonial-featured::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 8rem;
    color: #662d91;
    opacity: 0.3;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    pointer-events: none;
}
.cpp-testimonial-quote {
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    margin-bottom: 32px;
}
.cpp-testimonial-cite {
    display: inline-block;
    font-size: 0.85rem;
    font-style: normal;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    padding: 8px 20px;
    border-radius: var(--cpp-radius-pill);
}

/* Testimonial carousel — horizontal slide */
.cpp-testimonial-carousel {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.cpp-testimonial-track {
    position: relative;
    min-height: 240px;
    overflow: hidden;
}
.cpp-testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.cpp-testimonial-slide.cpp-testimonial-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.cpp-testimonial-slide.cpp-testimonial-exit {
    opacity: 0;
    transform: translateX(-60px);
}
/* Quotation mark — SVG icon */
.cpp-testimonial-quotemark {
    text-align: center;
    margin-bottom: 24px;
    pointer-events: none;
    user-select: none;
}
/* Left accent bar on each quote — rotating brand colors */
.cpp-testimonial-slide blockquote {
    border-left: 4px solid;
    padding-left: 24px;
    text-align: left;
}
.cpp-testimonial-slide:nth-child(1) blockquote { border-left-color: #662d91; }
.cpp-testimonial-slide:nth-child(2) blockquote { border-left-color: #1c9ad6; }
.cpp-testimonial-slide:nth-child(3) blockquote { border-left-color: #00b8a5; }
/* Navigation dots — gradient active state */
.cpp-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}
.cpp-dot-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.cpp-dot-btn:hover {
    background: rgba(255,255,255,0.45);
}
.cpp-dot-btn.cpp-dot-active {
    width: 36px;
    border-radius: 6px;
    background: linear-gradient(90deg, #662d91, #1c9ad6, #00b8a5);
}

/* FAQ section — polished card-style accordion */
.cpp-faq-section {
    background: #f8f9fb;
}
.kt-accordion-wrap .kt-accordion-pane {
    background: #ffffff;
    border-radius: var(--cpp-radius-md) !important;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.kt-accordion-wrap .kt-accordion-pane:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.kt-accordion-wrap .kt-blocks-accordion-header {
    border-radius: var(--cpp-radius-md) !important;
    transition: background 0.3s ease;
    padding: 20px 24px !important;
}
.kt-accordion-wrap .kt-blocks-accordion-title {
    font-size: 1.05rem !important;
}
.kt-accordion-wrap .kt-accordion-panel-inner {
    padding: 0 24px 20px !important;
}

/* Section background alternation */
.cpp-section-alt {
    background-color: var(--cpp-cream-accent);
}

/* ==========================================================================
   Platform Bar
   ========================================================================== */

.cpp-platform-bar {
    padding: 64px 0 24px;
    background: #f8f9fb;
    text-align: center;
    overflow: hidden;
}
.cpp-platform-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin: 0 0 32px;
}
/* Marquee scroll */
.cpp-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.cpp-marquee-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: cpp-marquee-scroll 30s linear infinite;
}
.cpp-marquee-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.cpp-marquee-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.cpp-marquee:hover .cpp-marquee-logo {
    opacity: 1;
}
@keyframes cpp-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 3)); }
}
/* Pause on hover for accessibility */
.cpp-marquee:hover .cpp-marquee-track {
    animation-play-state: paused;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cpp-marquee-track {
        animation: none;
        justify-content: center;
        flex-wrap: wrap;
    }
    .cpp-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}
.cpp-platform-note-wrap {
    background: #f8f9fb;
    text-align: center;
    padding: 12px 32px 40px;
}
.cpp-platform-note {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    margin: 0 auto;
    max-width: 600px;
}
@media (max-width: 640px) {
    .cpp-marquee-logo { height: 36px; }
    .cpp-marquee-track { gap: 32px; }
}

/* ==========================================================================
   Our Toolkit — platform rows and logo grid
   ========================================================================== */

/* Two-column row: logo + text */
.cpp-toolkit-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cpp-toolkit-row:last-child {
    border-bottom: none;
}
.cpp-toolkit-row-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 4px;
}
.cpp-toolkit-row h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.cpp-toolkit-row p {
    color: #4a5568;
    margin: 0;
    line-height: 1.7;
}

/* Logo grid for extension tools */
.cpp-toolkit-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}
.cpp-toolkit-logo-item {
    padding: 24px 16px;
    border-radius: var(--cpp-radius);
    transition: transform 0.3s ease;
}
.cpp-toolkit-logo-item:hover {
    transform: translateY(-3px);
}
.cpp-toolkit-logo-item img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
}
.cpp-toolkit-logo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 12px;
}
.cpp-toolkit-logo-item h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    color: #1a1a2e;
    margin: 0 0 6px;
}
.cpp-toolkit-logo-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cpp-toolkit-row {
        flex-direction: column;
        gap: 16px;
    }
    .cpp-toolkit-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ==========================================================================
   Phase 2: Service Card Icon Polish
   ========================================================================== */

.cpp-card-reveal .kt-svg-icon-list-single {
    width: 72px !important;
    height: 72px !important;
    border-radius: var(--cpp-radius-md) !important;
    margin-bottom: var(--cpp-space-sm);
}

/* ==========================================================================
   Phase 2: Team Card
   ========================================================================== */

.cpp-team-photo-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--cpp-radius-md) var(--cpp-radius-md) 0 0;
}
.cpp-team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cpp-team-photo-personal {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--cpp-transition-base);
}
.cpp-team-card:hover .cpp-team-photo-personal,
.cpp-team-card[aria-pressed="true"] .cpp-team-photo-personal {
    opacity: 1;
}
.cpp-team-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(102, 45, 145, 0.85);
    color: #FFFFFF;
    padding: var(--cpp-space-sm);
    border-radius: 0 0 var(--cpp-radius-md) var(--cpp-radius-md);
    opacity: 0;
    transition: opacity var(--cpp-transition-base);
    text-align: center;
    font-size: 14px;
}
.cpp-team-card:hover .cpp-team-caption-overlay,
.cpp-team-card[aria-pressed="true"] .cpp-team-caption-overlay {
    opacity: 1;
}
/* Team card placeholder image */
.cpp-team-placeholder {
    background-color: #c5e6e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: Georgia, serif;
}
/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

[data-animate] {
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="fade-in"] { transform: none; }
[data-animate="scale-up"] { transform: scale(0.97); }
[data-animate].is-visible {
    opacity: 1;
    transform: none;
}
/* Stagger delays handled by JS setTimeout for true sequential reveal */

@media (prefers-reduced-motion: reduce) {
    .cpp-team-photo-personal,
    .cpp-team-caption-overlay,
    .cpp-card-reveal .cpp-card-reveal-content {
        transition: none;
    }
    .cpp-hero-section {
        animation: none !important;
    }
    .cpp-card:hover,
    .is-style-cpp-hero-primary .wp-block-button__link:hover,
    .is-style-cpp-hero-secondary .wp-block-button__link:hover,
    .wp-block-button.is-style-cpp-primary .wp-block-button__link:hover {
        transform: none;
    }
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   Page Hero (services hub + sub-pages)
   ========================================================================== */

.cpp-page-hero {
    padding: clamp(80px, 12vw, 140px) 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Services hub hero — full gradient like homepage */
.cpp-page-hero-services {
    background: linear-gradient(135deg, #662d91 0%, #1c9ad6 50%, #00b8a5 100%);
    background-size: 200% 200%;
    animation: cpp-gradient-drift 12s ease-in-out infinite;
}

/* Contact page hero — merged with form, needs extra bottom padding */
.cpp-contact-hero {
    padding-bottom: clamp(60px, 8vw, 100px);
}
.cpp-contact-hero .cpp-inline-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.cpp-contact-hero .cpp-inline-form-wrapper > p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 32px;
}

/* Service sub-page heroes — animated teal-blue gradient (differentiates from homepage purple) */
.cpp-page-hero-service {
    color: #ffffff;
    background: linear-gradient(135deg, #00897a 0%, #1c9ad6 50%, #3a5fe5 100%);
    background-size: 200% 200%;
    animation: cpp-gradient-drift 12s ease-in-out infinite;
}

.cpp-page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.cpp-page-hero h1 {
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 20px;
}

.cpp-page-hero p {
    color: rgba(255,255,255,0.88);
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

.cpp-page-hero .cpp-hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 6px 20px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

@keyframes cpp-gradient-drift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ==========================================================================
   Content Sections (sub-pages)
   ========================================================================== */

.cpp-content-section {
    padding: clamp(32px, 4vw, 56px) 32px;
}
.cpp-content-section.cpp-section-tinted {
    background: #f8f9fb;
}
.cpp-content-narrow {
    max-width: 760px;
    margin: 0 auto;
}
.cpp-content-narrow h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #1a1a2e;
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    letter-spacing: -0.5px;
    margin: 0 0 20px;
}
.cpp-content-narrow p {
    color: #4a4a5a;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 16px;
}

/* Check list — branded checkmarks */
.cpp-check-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.cpp-check-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 14px;
    color: #4a4a5a;
    font-size: 1.05rem;
    line-height: 1.65;
}
.cpp-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #662d91, #1c9ad6);
    background-size: cover;
}
.cpp-check-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 9px;
    width: 12px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
}

/* FAQ — details/summary styling */
.cpp-faq-list details {
    background: #ffffff;
    border-radius: var(--cpp-radius-md);
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding: 0;
}
.cpp-faq-list details:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.cpp-faq-list details summary {
    padding: 20px 24px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a2e;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}
.cpp-faq-list details summary::-webkit-details-marker { display: none; }
.cpp-faq-list details summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #662d91;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}
.cpp-faq-list details[open] summary::after {
    content: '\2212';
    transform: rotate(180deg);
}
.cpp-faq-list details summary:hover {
    color: #662d91;
    background: none;
}
.cpp-faq-list details p {
    padding: 0 24px 20px;
    margin: 0;
    color: #4a4a5a;
    font-size: 1rem;
    line-height: 1.7;
}

/* FAQ on dark background */
.cpp-dark-section .cpp-faq-list details {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}
.cpp-dark-section .cpp-faq-list details:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.cpp-dark-section .cpp-faq-list details summary {
    color: #ffffff;
}
.cpp-dark-section .cpp-faq-list details summary::after {
    color: #00b8a5;
}
.cpp-dark-section .cpp-faq-list details summary:hover {
    color: #00b8a5;
}
.cpp-dark-section .cpp-faq-list details p {
    color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Service Page Featured Quote
   ========================================================================== */

.cpp-service-quote {
    padding: 64px 32px;
    background: #1a1a2e;
    position: relative;
}
.cpp-service-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00897a, #1c9ad6, #3a5fe5);
}
.cpp-service-quote-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.cpp-service-quote blockquote {
    border: none;
    padding: 0;
    margin: 0 0 24px;
    font-style: normal;
}
.cpp-service-quote blockquote p {
    color: rgba(255,255,255,0.92);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}
.cpp-service-quote blockquote p::before {
    content: '\201C';
    font-size: 3rem;
    line-height: 0;
    vertical-align: -0.6em;
    color: #00b8a5;
    font-family: Georgia, serif;
    margin-right: 4px;
}
.cpp-service-quote cite {
    display: block;
    font-style: normal;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
.cpp-service-quote cite strong {
    color: rgba(255,255,255,0.75);
    font-weight: 600;
}

/* ==========================================================================
   Inline Contact Form (bottom CTA)
   ========================================================================== */

.cpp-inline-form-section {
    background: #f8f9fb;
    padding: clamp(60px, 8vw, 100px) 32px;
}
.cpp-inline-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.cpp-inline-form-wrapper h2 {
    color: #1a1a2e;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}
.cpp-inline-form-wrapper > p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 32px;
}
.cpp-inline-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--cpp-radius-md);
    padding: 32px;
    text-align: left;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.cpp-inline-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.cpp-inline-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cpp-inline-form-field.cpp-field-full {
    grid-column: 1 / -1;
}
.cpp-inline-form label {
    color: #1a1a2e;
    font-size: 0.85rem;
    font-weight: 600;
}
.cpp-inline-form input,
.cpp-inline-form textarea {
    background: #f8f9fb;
    border: 1px solid #e2e8f0;
    border-radius: var(--cpp-radius-sm);
    padding: 12px 16px;
    color: #1a1a2e;
    font-family: Verdana, system-ui, sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease;
    min-height: 44px;
}
.cpp-inline-form input::placeholder,
.cpp-inline-form textarea::placeholder {
    color: #94a3b8;
}
.cpp-inline-form input:focus,
.cpp-inline-form textarea:focus {
    outline: none;
    border-color: #662d91;
    background: #ffffff;
}
.cpp-inline-form textarea {
    resize: vertical;
    min-height: 100px;
}
.cpp-inline-form-submit {
    margin-top: 20px;
    text-align: center;
}
.cpp-inline-form-submit button {
    background: #ffffff;
    color: #662d91;
    font-family: Verdana, system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 48px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px;
}
.cpp-inline-form-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .cpp-inline-form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Image Break (full-width photo divider between sections)
   ========================================================================== */

.cpp-image-break {
    height: clamp(200px, 30vw, 360px);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.cpp-image-break-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102,45,145,0.3), rgba(28,154,214,0.2));
}
@media (max-width: 768px) {
    .cpp-image-break {
        background-attachment: scroll; /* fixed bg breaks on mobile Safari */
        height: 200px;
    }
}

/* ==========================================================================
   Mid-Page CTA Band
   ========================================================================== */

.cpp-mid-cta {
    background: linear-gradient(135deg, #662d91 0%, #1c9ad6 50%, #00b8a5 100%);
    background-size: 200% 200%;
    animation: cpp-gradient-drift 12s ease-in-out infinite;
    padding: 48px 32px;
}
.cpp-mid-cta-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cpp-mid-cta-text h3 {
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}
.cpp-mid-cta-text p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .cpp-mid-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* White CTA button (used in heroes and mid-page CTA) */
.cpp-btn-white {
    display: inline-block;
    background: #ffffff;
    color: #662d91;
    font-family: Verdana, system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
}
.cpp-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: #662d91;
}

/* ==========================================================================
   Sticky Scroll CTA (appears after hero)
   ========================================================================== */

.cpp-sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.cpp-sticky-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cpp-sticky-cta a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #662d91;
    color: #ffffff;
    font-family: Verdana, system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px 24px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(102,45,145,0.4);
    transition: all 0.3s ease;
    min-height: 44px;
}
.cpp-sticky-cta a:hover {
    background: #551f7a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(102,45,145,0.5);
}

/* ==========================================================================
   Feature Split (sub-page two-column layout with accent block)
   ========================================================================== */

.cpp-feature-split {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    max-width: 960px;
    margin: 0 auto;
}
.cpp-feature-split-reverse {
    flex-direction: row-reverse;
}
.cpp-feature-accent {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--cpp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}
.cpp-feature-accent-blue { background: linear-gradient(135deg, #1c9ad6, #0d7ab5); }
.cpp-feature-accent-purple { background: linear-gradient(135deg, #662d91, #4e1f70); }
.cpp-feature-accent-teal { background: linear-gradient(135deg, #00897a, #006b5e); }
.cpp-feature-accent-mixed { background: linear-gradient(135deg, #3a5fe5, #662d91); }

.cpp-feature-number {
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.75rem;
    font-weight: 700;
    opacity: 0.9;
}
.cpp-feature-text {
    flex: 1;
    min-width: 0;
}
.cpp-feature-text h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #1a1a2e;
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    letter-spacing: -0.5px;
    margin: 0 0 20px;
}
.cpp-feature-text p {
    color: #4a4a5a;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 16px;
}

@media (max-width: 768px) {
    .cpp-feature-split,
    .cpp-feature-split-reverse {
        flex-direction: column;
        gap: 24px;
    }
    .cpp-feature-accent {
        width: 64px;
        height: 64px;
    }
    .cpp-feature-number { font-size: 1.4rem; }
}

/* ==========================================================================
   Dark Section ("Who It's For" on sub-pages)
   ========================================================================== */

.cpp-dark-section {
    background: #1a1a2e;
    padding: var(--cpp-space-section) 32px;
    position: relative;
}
.cpp-dark-section::before,
.cpp-dark-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #662d91, #1c9ad6, #00b8a5);
}
.cpp-dark-section::before { top: 0; }
.cpp-dark-section::after { bottom: 0; }

.cpp-dark-section h2 {
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    letter-spacing: -0.5px;
    margin: 0 0 16px;
}
.cpp-dark-intro {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Check list dark variant */
.cpp-check-list-dark li {
    color: rgba(255,255,255,0.85);
}
.cpp-check-list-dark li::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}
.cpp-check-list-dark li::after {
    border-color: #00b8a5;
}

/* ==========================================================================
   Case Study Card
   ========================================================================== */

.cpp-case-study-card {
    background: #ffffff;
    border-radius: var(--cpp-radius-md);
    overflow: hidden;
    box-shadow: var(--cpp-shadow-card);
}
.cpp-cs-header {
    padding: 40px 40px 0;
}
.cpp-cs-header h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #1a1a2e;
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
    letter-spacing: -0.5px;
    margin: 12px 0 0;
    line-height: 1.3;
}
/* ==========================================================================
   Industry Badge Grid
   ========================================================================== */

.cpp-industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.cpp-industry-badge {
    background: #ffffff;
    border-radius: var(--cpp-radius-md);
    padding: 28px 16px;
    text-align: center;
    box-shadow: var(--cpp-shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cpp-industry-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--cpp-shadow-card-hover);
}
.cpp-industry-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,137,122,0.08), rgba(28,154,214,0.08));
    border-radius: 50%;
    padding: 10px;
}
.cpp-industry-icon svg {
    width: 24px;
    height: 24px;
    stroke: #1c9ad6;
}
.cpp-industry-badge:hover .cpp-industry-icon svg {
    stroke: #662d91;
}
.cpp-industry-badge span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .cpp-industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .cpp-industry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cpp-industry-badge { padding: 20px 12px; }
}

/* ==========================================================================
   Case Study Archive Grid
   ========================================================================== */

.cpp-cs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.cpp-cs-grid-card {
    background: #ffffff;
    border-radius: var(--cpp-radius-md);
    overflow: hidden;
    box-shadow: var(--cpp-shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.cpp-cs-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cpp-shadow-card-hover);
}
.cpp-cs-grid-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1c9ad6, #662d91);
}
.cpp-cs-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cpp-cs-grid-card:hover .cpp-cs-grid-image img {
    transform: scale(1.05);
}
.cpp-cs-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.15));
    pointer-events: none;
}
.cpp-cs-grid-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}
.cpp-cs-grid-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cpp-cs-grid-body h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.25rem;
    line-height: 1.35;
    letter-spacing: -0.3px;
    margin: 10px 0 12px;
}
.cpp-cs-grid-body p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}
.cpp-cs-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #662d91;
    margin-top: auto;
}
.cpp-cs-read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}
.cpp-cs-grid-card:hover .cpp-cs-read-more svg {
    transform: translateX(4px);
}

/* Filter buttons */
.cpp-cs-filters {
    padding-bottom: 8px;
}
.cpp-filter-btn {
    display: inline-block;
    background: none;
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
    padding: 8px 20px;
    font-family: Verdana, system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 4px;
    min-height: 36px;
}
.cpp-filter-btn:hover {
    border-color: #662d91;
    color: #662d91;
}
.cpp-filter-btn.cpp-filter-active {
    background: #662d91;
    border-color: #662d91;
    color: #ffffff;
}

/* Grid hidden state for filtering */
.cpp-cs-grid-card.cpp-cs-hidden {
    display: none;
}

@media (max-width: 768px) {
    .cpp-cs-grid { grid-template-columns: 1fr; }
}

.cpp-cs-summary {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin: 12px 0 0;
}
.cpp-cs-sections {
    padding: 32px 40px;
}
.cpp-cs-block {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cpp-cs-block:last-child {
    border-bottom: none;
}
.cpp-cs-block h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #662d91;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}
.cpp-cs-block p {
    color: #4a4a5a;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

/* Case study metrics grid */
.cpp-cs-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 8px;
}
.cpp-cs-metric {
    text-align: center;
    padding: 20px 12px;
    background: #f8f9fb;
    border-radius: var(--cpp-radius-sm);
}
.cpp-cs-metric-value {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #662d91;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}
.cpp-cs-metric-label {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .cpp-cs-metrics { grid-template-columns: 1fr 1fr; }
    .cpp-cs-header, .cpp-cs-sections { padding-left: 24px; padding-right: 24px; }
}

/* Case study quote */
.cpp-cs-quote {
    background: #1a1a2e;
    padding: 32px 40px;
}
.cpp-cs-quote blockquote {
    border: none;
    padding: 0;
    margin: 0 0 12px;
}
.cpp-cs-quote blockquote p {
    color: rgba(255,255,255,0.9);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}
.cpp-cs-quote cite {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-style: normal;
}

/* ==========================================================================
   Contact Page Steps
   ========================================================================== */

.cpp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}
.cpp-step {
    text-align: center;
}
.cpp-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.cpp-step-number span {
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.25rem;
}
.cpp-step h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.1rem;
    margin: 0 0 10px;
}
.cpp-step p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 768px) {
    .cpp-steps-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   Legal Content (Privacy Policy)
   ========================================================================== */

.cpp-legal-content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.35rem;
    margin: 40px 0 16px;
    letter-spacing: -0.3px;
}
.cpp-legal-content h2:first-child {
    margin-top: 0;
}
.cpp-legal-content p {
    color: #4a4a5a;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 14px;
}
.cpp-legal-content a {
    color: #1c9ad6;
}
.cpp-legal-content a:hover {
    color: #662d91;
}

/* ==========================================================================
   Team Cards — Equal 3-column grid with hover photo swap
   ========================================================================== */

.cpp-team-grid-equal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.cpp-team-card-equal {
    background: #ffffff;
    border-radius: var(--cpp-radius-md);
    overflow: hidden;
    box-shadow: var(--cpp-shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
}
.cpp-team-card-equal:hover {
    transform: translateY(-4px);
    box-shadow: var(--cpp-shadow-card-hover);
}

/* Photo wrap — contains pro, personal, and caption overlay */
.cpp-team-card-equal .cpp-team-photo-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.cpp-team-card-equal .cpp-team-photo-pro,
.cpp-team-card-equal .cpp-team-photo-personal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cpp-team-card-equal .cpp-team-photo-personal {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.cpp-team-card-equal:hover .cpp-team-photo-personal {
    opacity: 1;
}

/* Caption overlay on hover */
.cpp-team-card-equal .cpp-team-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #ffffff;
    padding: 40px 16px 16px;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}
.cpp-team-card-equal:hover .cpp-team-caption-overlay {
    opacity: 1;
}

/* Card body — name only, no title */
.cpp-team-card-body {
    padding: 24px 20px 28px;
}
.cpp-team-card-body h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: -0.3px;
}

@media (max-width: 768px) {
    .cpp-team-grid-equal {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .cpp-team-grid-equal {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.cpp-footer {
    background: #1a1a2e;
    color: #ffffff;
    position: relative;
}

/* Gradient top bar */
.cpp-footer-gradient-bar {
    height: 4px;
    background: linear-gradient(90deg, #662d91, #1c9ad6, #00b8a5);
}

.cpp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 32px;
}

/* Logo + tagline column */
.cpp-footer-brand img {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}
.cpp-footer-brand p {
    font-style: italic;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    margin: 0;
}

/* Column headings */
.cpp-footer h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin: 0 0 20px;
    font-family: Verdana, system-ui, sans-serif;
}

/* Link lists */
.cpp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cpp-footer-links li {
    margin-bottom: 12px;
}
.cpp-footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.cpp-footer-links a:hover {
    color: #ffffff;
}

/* Bottom bar */
.cpp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
}
.cpp-footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}
.cpp-footer-bottom a {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    margin-left: 16px;
    transition: color 0.2s ease;
}
.cpp-footer-bottom a:hover {
    color: rgba(255,255,255,0.6);
}

/* Footer responsive */
@media (max-width: 768px) {
    .cpp-footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 24px 32px;
        text-align: center;
    }
    .cpp-footer-brand img {
        margin: 0 auto 16px;
    }
    .cpp-footer-bottom {
        padding: 20px 24px;
        text-align: center;
    }
    .cpp-footer-bottom a {
        display: block;
        margin: 8px 0 0;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .cpp-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   Phase 2: Cookie Consent Banner (Dormant)
   ========================================================================== */

.cpp-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--cpp-space-md) var(--cpp-space-lg);
    z-index: 1001;
    display: none; /* DORMANT: change to flex when analytics added */
    align-items: center;
    justify-content: space-between;
    max-height: 120px;
}
.cpp-cookie-banner.is-active {
    display: flex;
}
.cpp-cookie-banner p {
    margin: 0;
    font-size: 14px;
    color: #2d2d2d;
    flex: 1;
    padding-right: var(--cpp-space-md);
}
.cpp-cookie-banner a {
    color: var(--global-palette4, #1c9ad6);
    text-decoration: underline;
}
.cpp-cookie-actions {
    display: flex;
    gap: var(--cpp-space-sm);
    align-items: center;
    flex-shrink: 0;
}
.cpp-cookie-accept {
    background-color: var(--global-palette1, #662d91);
    color: #FFFFFF;
    border: none;
    border-radius: var(--cpp-radius-pill);
    padding: 8px 24px;
    font-size: 14px;
    cursor: pointer;
    min-height: 44px;
    transition: background-color var(--cpp-transition-base);
}
.cpp-cookie-accept:hover {
    background-color: #551f7a;
}
.cpp-cookie-accept:focus-visible {
    outline: 3px solid var(--global-palette1, #662d91);
    outline-offset: 2px;
}
.cpp-cookie-decline {
    background: none;
    border: none;
    color: var(--global-palette1, #662d91);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    min-height: 44px;
    transition: text-decoration var(--cpp-transition-base);
}
.cpp-cookie-decline:hover {
    text-decoration: underline;
}
.cpp-cookie-decline:focus-visible {
    outline: 3px solid var(--global-palette1, #662d91);
    outline-offset: 2px;
}
@media (max-width: 767px) {
    .cpp-cookie-banner {
        flex-direction: column;
        text-align: center;
        max-height: none;
        padding: var(--cpp-space-md);
    }
    .cpp-cookie-banner p {
        padding-right: 0;
        margin-bottom: var(--cpp-space-sm);
    }
    .cpp-cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Phase 2: FormAssembly Wrapper + Form Fallback
   ========================================================================== */

.cpp-formassembly-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--cpp-space-lg);
    background: #FFFFFF;
    border-radius: var(--cpp-radius-md);
}
.cpp-form-fallback {
    display: none;
    color: var(--global-palette3, #2d2d2d);
    font-style: italic;
    text-align: center;
    padding: var(--cpp-space-md);
}

/* ==========================================================================
   Case Study: Quick Facts Sidebar
   ========================================================================== */

.cpp-cs-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}
.cpp-cs-main {
    min-width: 0;
}
.cpp-cs-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}
.cpp-cs-quick-facts {
    background: #1a1a2e;
    color: #fff;
    border-radius: var(--cpp-radius-md);
    padding: 32px;
    box-shadow: var(--cpp-shadow-lg);
}
.cpp-cs-quick-facts h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cpp-cs-fact {
    margin-bottom: 20px;
}
.cpp-cs-fact:last-child {
    margin-bottom: 0;
}
.cpp-cs-fact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}
.cpp-cs-fact-value {
    display: block;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .cpp-cs-layout {
        grid-template-columns: 1fr;
    }
    .cpp-cs-sidebar {
        position: static;
        order: -1;
    }
    .cpp-cs-quick-facts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .cpp-cs-quick-facts h3 {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   Case Study: Pull Quote
   ========================================================================== */

.cpp-cs-pullquote {
    border-left: 4px solid #662d91;
    padding: 16px 0 16px 28px;
    margin: 20px 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
    font-style: italic;
    line-height: 1.6;
    color: #1a1a2e;
}

/* ==========================================================================
   Case Study: Result on Dark Background
   ========================================================================== */

.cpp-cs-result-dark {
    background: #1a1a2e;
    padding: clamp(48px, 6vw, 80px) 32px;
    position: relative;
}
.cpp-cs-result-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #662d91, #1c9ad6, #00b8a5);
}
.cpp-cs-result-dark .cpp-feature-text h2 {
    color: #ffffff;
}
.cpp-cs-result-dark .cpp-feature-text p {
    color: rgba(255,255,255,0.8);
}
.cpp-cs-result-dark .cpp-feature-accent-blue {
    background: rgba(28,154,214,0.2);
    border: 2px solid rgba(28,154,214,0.4);
}
