/* Lifted from the live site's about pages; scoped to .apex-story by tools/scope_css.py. */
/* Prevent horizontal scrolling */html, body.apex-story {
            overflow-x: hidden;
            max-width: 100%;
            position: relative;
        }
.apex-story * {
            box-sizing: border-box;
        }
/* Scroll Progress Indicator */.apex-story .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: rgb(from var(--wp--preset--color--white) r g b / 0.1);
            z-index: 9999;
            backdrop-filter: blur(10px);
        }
.apex-story .scroll-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--brand-primary) 0%, var(--accent-primary) 50%, var(--accent-primary) 100%);
            width: 0%;
            transition: width 0.1s ease;
            box-shadow: 0 0 10px rgba(0, 113, 188, 0.5);
        }
/* Clean, Professional Styles */.apex-story .hero {
            padding: 10rem 0 4rem 0;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background: var(--gradient-overlay-strong);
            min-height: 50vh;
        }
.apex-story .hero-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            align-items: center;
        }
.apex-story .hero-content {
            color: var(--wp--preset--color--white);
            text-align: left;
        }
.apex-story .hero-image-section {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 2rem;
        }
.apex-story .hero-image-container {
            position: relative;
            width: 100%;
            max-height: 400px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgb(from var(--wp--preset--color--brand-700) r g b / 0.3);
            transition: transform 0.3s ease;
        }
.apex-story .hero-image-container:hover {
            transform: scale(1.02);
        }
.apex-story .hero-image {
            width: 100%;
            height: 100%;
            max-height: 400px;
            object-fit: cover;
            object-position: center;
            filter: brightness(1.1) contrast(1.1);
        }
.apex-story .hero-image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(45, 45, 43, 0.9));
            padding: 2rem;
            color: var(--wp--preset--color--white);
            text-align: center;
        }
/* Tablet breakpoint (769px - 1024px) */@media (max-width: 1024px) and (min-width: 769px) {/* Fix all 2-column grids to stack on tablet */.apex-story .section-container > div[style*="grid-template-columns: 1fr 1fr"] {
                grid-template-columns: 1fr !important;
                gap: 2rem !important;
            }
.apex-story div[style*="grid-template-columns: 1fr 1fr"] {
                grid-template-columns: 1fr !important;
            }
/* Tablet image sizing - 80% width */.apex-story .section-container img {
                width: 80% !important;
                height: auto !important;
                max-width: 600px !important;
                margin: 0 auto !important;
                display: block !important;
            }
/* Team grid - show only 3 images on tablets */.apex-story .team-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 1rem !important;
            }
/* Hide team cards 4-6 on tablets (show only first 3) */.apex-story .team-card:nth-child(n+4) {
                display: none !important;
            }
/* Our Story image - smaller on tablets */.apex-story .our-story-image {
                width: 50% !important;
                max-width: 400px !important;
            }

        }
/* Mobile and Tablet breakpoint */@media (max-width: 1100px) {.apex-story .hero-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 1rem;
            }
.apex-story .hero-content {
                padding: 1.5rem 1rem;
                text-align: center;
            }
.apex-story .hero-image-container {
                height: 350px;
                max-height: 350px;
            }

        }
@media (max-width: 768px) {.apex-story .hero {
                padding: 9rem 0 3rem 0;
                min-height: auto;
            }
.apex-story .hero-content {
                padding: 1rem;
            }
.apex-story .hero-image-container {
                height: 300px;
                max-height: 300px;
            }
/* Fix all 2-column grids to stack on mobile */.apex-story .section-container > div[style*="grid-template-columns: 1fr 1fr"] {
                grid-template-columns: 1fr !important;
                gap: 2rem !important;
            }
/* Fix nested grids */.apex-story div[style*="grid-template-columns: 1fr 1fr"] {
                grid-template-columns: 1fr !important;
            }
/* Mobile image sizing - 70% width */.apex-story .section-container img {
                width: 70% !important;
                height: auto !important;
                max-width: 450px !important;
                margin: 0 auto !important;
                display: block !important;
            }
/* Team grid - show only 2 images on mobile */.apex-story .team-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 1rem !important;
            }
/* Hide team cards 3-6 on mobile (show only first 2) */.apex-story .team-card:nth-child(n+3) {
                display: none !important;
            }
/* Our Story image - smaller on mobile */.apex-story .our-story-image {
                width: 50% !important;
                max-width: 300px !important;
            }

        }
/* Small mobile breakpoint (320px - 480px) */@media (max-width: 480px) {/* Small mobile image sizing - 85% width for better visibility */.apex-story .section-container img {
                width: 85% !important;
                height: auto !important;
                max-width: 350px !important;
                margin: 0 auto !important;
                display: block !important;
            }
/* Reduce padding on small screens */.apex-story .section-container {
                padding: 0 1rem !important;
            }
/* Tighter spacing */.apex-story .section-container > div[style*="grid-template-columns"] {
                gap: 1.5rem !important;
            }

        }
/* Consistent section image sizing with responsive breakpoints */.apex-story .section-image {
            width: 100% !important;
            max-width: 450px !important;
            max-height: 500px !important;
            height: auto !important;
            object-fit: cover !important;
            border-radius: 20px !important;
            box-shadow: 0 20px 60px rgb(from var(--wp--preset--color--brand-700) r g b / 0.15);
            margin: 0 auto !important;
            display: block !important;
        }
/* The class sits on the image block's <figure> (the live site had it on the <img>): crop the image to it */
.apex-story .section-image {
            overflow: hidden;
        }
.apex-story .wp-block-image.section-image img {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            max-height: inherit;
            object-fit: cover;
            border-radius: inherit;
            display: block;
        }
/* Desktop - larger screens */@media (min-width: 1025px) {.apex-story .section-image {
                max-width: 450px !important;
                max-height: 500px !important;
            }

        }
/* Tablet breakpoint */@media (max-width: 1024px) and (min-width: 769px) {.apex-story .section-image {
                max-width: 400px !important;
                max-height: 450px !important;
                width: 85% !important;
            }

        }
/* Mobile breakpoint */@media (max-width: 768px) {.apex-story .section-image {
                max-width: 350px !important;
                max-height: 400px !important;
                width: 80% !important;
            }

        }
/* Small mobile breakpoint */@media (max-width: 480px) {.apex-story .section-image {
                max-width: 300px !important;
                max-height: 350px !important;
                width: 85% !important;
            }

        }
.apex-story .hero-title {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.3;
            color: var(--wp--preset--color--white);
        }
.apex-story .hero-subtitle {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            margin-bottom: 1rem;
            line-height: 1.6;
            max-width: 100%;
            color: var(--wp--preset--color--white);
        }
/* The title's <br> stays on phones: hiding it glued the two lines together ("Practice:Honest") */@media (max-width: 768px) {.apex-story .hero-title {
                font-size: clamp(1.4rem, 5vw, 1.8rem);
            }
.apex-story .hero-subtitle {
                font-size: clamp(0.875rem, 3vw, 1rem);
            }

        }
.apex-story .section-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }
.apex-story .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--text-primary);
            text-align: center;
            margin-bottom: 1rem;
        }
.apex-story .section-subtitle {
            font-size: 1.2rem;
            color: var(--text-tertiary);
            text-align: center;
            margin-bottom: 3rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
.apex-story .team-section {
            padding: 4rem 0;
            background: var(--wp--preset--color--white);
        }
.apex-story .team-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 1rem;
            margin-bottom: 3rem;
            width: 100%;
        }
.apex-story .team-card {
            text-align: center;
            transition: all 0.3s ease;
            background: transparent;
            border-radius: 0 !important;
            overflow: visible !important;
            box-shadow: none;
            padding: 0 !important;
        }
.apex-story .team-card:hover {
            transform: translateY(-8px);
            box-shadow: none;
        }
.apex-story .team-image-container {
            position: relative;
            width: 240px;
            height: 240px;
            border-radius: 12px;
            overflow: hidden;
            margin: 0 auto 1rem;
            box-shadow: 0 8px 25px rgb(from var(--wp--preset--color--brand-700) r g b / 0.15);
            cursor: pointer;
        }
.apex-story .team-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.5s ease, filter 0.3s ease;
            filter: brightness(1.05) contrast(1.1) saturate(1.1);
        }
.apex-story .team-image-container:hover .team-image {
            transform: scale(1.08);
            filter: brightness(1.15) contrast(1.15) saturate(1.2);
        }
.apex-story .team-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-overlay-strong);
            opacity: 0;
            transition: opacity 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--wp--preset--color--white);
            text-align: center;
            padding: 1.5rem;
        }
.apex-story .team-image-container:hover .team-overlay {
            opacity: 1;
        }
.apex-story .team-overlay-content h4 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
            color: var(--wp--preset--color--white);
            text-shadow: 0 2px 4px rgb(from var(--wp--preset--color--brand-700) r g b / 0.3);
        }
.apex-story .team-overlay-content p {
            font-size: 0.95rem;
            line-height: 1.4;
            color: var(--wp--preset--color--white);
            text-shadow: 0 1px 2px rgb(from var(--wp--preset--color--brand-700) r g b / 0.2);
        }
.apex-story .values-section {
            padding: 4rem 0;
            background: linear-gradient(135deg, #0b0c0e 0%, var(--text-secondary) 100%);
            color: var(--wp--preset--color--white);
        }
.apex-story .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
.apex-story .value-card {
            background: rgb(from var(--wp--preset--color--white) r g b / 0.05);
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            border: 1px solid rgb(from var(--wp--preset--color--white) r g b / 0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
.apex-story .value-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(48, 156, 107, 0.1));
            transition: left 0.5s ease;
            z-index: 0;
        }
.apex-story .value-card:hover::before {
            left: 0;
        }
.apex-story .value-card:hover {
            background: rgb(from var(--wp--preset--color--white) r g b / 0.1);
            transform: translateY(-8px) scale(1.02);
            border-color: var(--accent-primary);
            box-shadow: 0 20px 40px rgba(230, 126, 34, 0.2);
        }
.apex-story .value-card > * {
            position: relative;
            z-index: 1;
        }
.apex-story .value-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
.apex-story .value-title {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--wp--preset--color--white);
            font-weight: 600;
        }
.apex-story .value-description {
            color: var(--wp--preset--color--gray-300);
            line-height: 1.6;
        }
.apex-story .reviews-section {
            padding: 4rem 0;
            background: linear-gradient(135deg, var(--brand-primary) 0%, var(--text-secondary) 100%);
            color: var(--wp--preset--color--white);
        }
.apex-story .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
.apex-story .review-card {
            background: rgb(from var(--wp--preset--color--white) r g b / 0.98);
            color: var(--text-primary);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgb(from var(--wp--preset--color--brand-700) r g b / 0.1);
            transition: all 0.3s ease;
        }
.apex-story .review-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgb(from var(--wp--preset--color--brand-700) r g b / 0.2);
        }
.apex-story .reviewer-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
.apex-story .reviewer-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }
.apex-story .stars {
            color: var(--accent-primary);
            margin-left: auto;
        }
.apex-story .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }
.apex-story .btn-primary {
            background: var(--accent-primary);
            color: var(--wp--preset--color--white);
        }
.apex-story .btn-primary:hover {
            background: var(--accent-primary);
            transform: translateY(-2px);
        }
.apex-story .btn-secondary {
            background: transparent;
            color: var(--wp--preset--color--white);
            border: 2px solid var(--wp--preset--color--white);
        }
.apex-story .btn-secondary:hover {
            background: var(--wp--preset--color--white);
            color: var(--text-primary);
        }
.apex-story .cta-section {
            text-align: center;
            margin-top: 3rem;
            padding: 3rem;
            background: rgb(from var(--wp--preset--color--white) r g b / 0.1);
            border-radius: 16px;
            backdrop-filter: blur(10px);
        }
.apex-story .footer {
            background: #0b0c0e;
            color: var(--wp--preset--color--white);
            padding: 3rem 2rem 1rem;
        }
.apex-story .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto 2rem;
        }
.apex-story .footer-section h4 {
            color: var(--text-primary);
            margin-bottom: 1rem;
        }
.apex-story .footer-links {
            list-style: none;
            padding: 0;
        }
.apex-story .footer-links a {
            color: var(--wp--preset--color--gray-300);
            text-decoration: none;
            transition: color 0.3s ease;
        }
.apex-story .footer-links a:hover {
            color: var(--wp--preset--color--white);
        }
.apex-story .footer-bottom {
            border-top: 1px solid var(--text-secondary);
            padding-top: 1rem;
            text-align: center;
            color: var(--wp--preset--color--gray-400);
        }
/* Navigation Styles */.apex-story .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgb(from var(--wp--preset--color--white) r g b / 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            box-shadow: 0 2px 20px rgb(from var(--wp--preset--color--brand-700) r g b / 0.1);
        }
.apex-story .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }
.apex-story .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }
.apex-story .nav-link:hover, .apex-story .nav-link.active {
            color: var(--text-primary);
        }
.apex-story .nav-cta {
            background: var(--accent-primary);
            color: var(--wp--preset--color--white);
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
.apex-story .nav-cta:hover {
            background: var(--accent-primary);
            transform: translateY(-2px);
        }
.apex-story .nav-toggle {
            display: none;
            flex-direction: column;
            background: none;
            border: none;
            cursor: pointer;
        }
.apex-story .nav-toggle span {
            width: 25px;
            height: 3px;
            background: var(--text-secondary);
            margin: 3px 0;
            transition: 0.3s;
        }
@media (max-width: 1100px) {.apex-story .nav-links {
                position: fixed;
                top: 80px;
                left: 0;
                right: 0;
                background: var(--wp--preset--color--white);
                flex-direction: column;
                padding: 2rem;
                box-shadow: 0 10px 20px rgb(from var(--wp--preset--color--brand-700) r g b / 0.1);
                transform: translateY(-100%);
                opacity: 0;
                transition: all 0.3s ease;
            }
.apex-story .nav-links.active {
                transform: translateY(0);
                opacity: 1;
            }
.apex-story .nav-toggle {
                display: flex;
            }


        }
/* Add margin to body for fixed nav */body.apex-story {
            margin-top: 0;
        }
.apex-story .progress-disclosure {
            margin-top: 2rem;
            background: rgb(from var(--wp--preset--color--white) r g b / 0.05);
            border-radius: 12px;
            overflow: hidden;
        }
.apex-story .disclosure-trigger {
            width: 100%;
            padding: 1.5rem;
            background: none;
            border: none;
            color: var(--wp--preset--color--white);
            font-size: 1.1rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }
.apex-story .disclosure-trigger:hover {
            background: rgb(from var(--wp--preset--color--white) r g b / 0.1);
        }
.apex-story .disclosure-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 1.5rem;
        }
.apex-story .disclosure-content.open {
            max-height: 500px;
            padding: 1.5rem;
        }
.apex-story .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }
.apex-story .benefit-item {
            padding: 1rem;
            background: rgb(from var(--wp--preset--color--white) r g b / 0.05);
            border-radius: 8px;
        }
.apex-story .benefit-item h5 {
            color: var(--accent-primary);
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
.apex-story .benefit-item p {
            color: var(--wp--preset--color--gray-300);
            font-size: 0.9rem;
            line-height: 1.5;
        }

    