﻿/* ==========================================================================
   Intellegen Design System & CSS Rules
   ========================================================================== */

/* 1. Theme Configuration & CSS Custom Properties */
:root {
    /* Fonts */
    --font-heading: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacings */
    --container-max-width: 1200px;
}

/* Dark Theme Variables (Default) */
[data-theme="dark"] {
    --color-bg: #070a13;
    --color-bg-alt: #0c1122;
    --color-bg-card: rgba(22, 30, 49, 0.6);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.18);
    
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    --color-primary: #10b981; /* Emerald/Teal representation of productivity */
    --color-primary-hover: #059669;
    --color-primary-glow: rgba(16, 185, 129, 0.15);
    
    --color-accent: #6366f1; /* Indigo for engineering and strategy */
    --color-accent-glow: rgba(99, 102, 241, 0.15);
    
    --color-glass-bg: rgba(7, 10, 19, 0.75);
    --color-glass-border: rgba(255, 255, 255, 0.05);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);

    --gradient-hero: linear-gradient(135deg, #10b981 0%, #6366f1 100%);
    --gradient-mesh: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
                     radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 45%);
}

/* Light Theme Variables */
[data-theme="light"] {
    --color-bg: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-bg-card: rgba(255, 255, 255, 0.85);
    --color-border: rgba(15, 23, 42, 0.08);
    --color-border-hover: rgba(15, 23, 42, 0.18);
    
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    
    --color-primary: #059669; /* Slightly darker emerald for readability */
    --color-primary-hover: #047857;
    --color-primary-glow: rgba(5, 150, 105, 0.08);
    
    --color-accent: #4f46e5;
    --color-accent-glow: rgba(79, 70, 229, 0.08);
    
    --color-glass-bg: rgba(248, 250, 252, 0.85);
    --color-glass-border: rgba(15, 23, 42, 0.06);
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);

    --gradient-hero: linear-gradient(135deg, #059669 0%, #4f46e5 100%);
    --gradient-mesh: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.05) 0%, transparent 45%),
                     radial-gradient(circle at 90% 80%, rgba(5, 150, 105, 0.04) 0%, transparent 50%);
}

/* 2. Global Reset & Base Elements */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

button, select, input, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* 3. Reusable Layout & Utilities */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

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

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 9999px;
    color: var(--color-primary);
    background-color: var(--color-primary-glow);
    border: 1px solid rgba(16, 185, 129, 0.15);
    margin-bottom: 1.5rem;
}

.gradient-text {
    color: var(--color-brand);
    -webkit-text-fill-color: currentColor;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.section-subhead {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}
.text-center .section-title {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.text-center .section-subhead {
    max-width: 720px;
    line-height: 1.55;
    text-wrap: pretty;
}

.body-text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.text-white {
    color: #ffffff !important;
}
.text-light {
    color: #cbd5e1 !important;
}

/* 4. Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff !important;
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 14px var(--color-primary-glow);
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: skewX(-20deg);
    animation: btnShine 4.5s infinite linear;
}
@keyframes btnShine {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-primary-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary) !important;
    border: 1px solid var(--color-border);
}
.btn-secondary:hover {
    background-color: var(--color-bg-alt);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* 5. Navigation Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-glass-border);
    transition: background-color var(--transition-normal), border-color var(--transition-normal), padding var(--transition-fast);
    padding: 1.25rem 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
}
.logo-accent {
    color: var(--color-primary);
}
.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}
[data-theme="dark"] .logo-img {
    /* If the logo colors are dark, we can apply a slight brightness boost to keep it vivid in dark mode */
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.15)) brightness(1.05);
}
[data-theme="light"] .logo-img {
    filter: contrast(1.1) brightness(0.95);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-fast);
}
.nav-link:hover {
    color: var(--color-text-primary);
}
.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Theme Switcher Button */
.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}
.theme-btn:hover {
    color: var(--color-text-primary);
    border-color: var(--color-border-hover);
    transform: scale(1.05);
}

/* Theme toggle visibility */
.sun-icon { display: none; width: 1.2rem; height: 1.2rem; }
.moon-icon { display: block; width: 1.2rem; height: 1.2rem; }

[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: var(--color-bg-alt);
    z-index: 999;
    padding: 6rem 2rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--color-border);
    transition: right var(--transition-normal);
}
.mobile-drawer.open {
    right: 0;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}
.mobile-nav-link:hover {
    color: var(--color-text-primary);
}
.mobile-cta {
    margin-top: 1rem;
}

/* 6. Hero Section */
.hero-section {
    padding: 10rem 0 6rem 0;
    background-image: var(--gradient-mesh);
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: 5%;
    left: 20%;
    width: 40%;
    height: 40%;
    background-color: var(--color-primary-glow);
    filter: blur(150px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 640px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.hero-subhead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.hero-proof-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.75rem;
    max-width: 680px;
}

.hero-proof-item {
    min-height: 92px;
    padding: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-sm);
}

.hero-proof-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    margin-bottom: 0.35rem;
}

.hero-proof-item span {
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--color-text-secondary);
}

/* Floating Visualizer Component */
.hero-visual {
    display: flex;
    justify-content: center;
}

.workflow-visualizer {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: floating 6s ease-in-out infinite;
}

.visualizer-header {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.visualizer-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
}
.visualizer-header .dot:nth-child(1) { background-color: #ef4444; }
.visualizer-header .dot:nth-child(2) { background-color: #eab308; }
.visualizer-header .dot:nth-child(3) { background-color: #22c55e; }

.visualizer-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-left: auto;
}

.visualizer-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}
.flow-step.active {
    background-color: var(--color-bg-alt);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-sm);
}

.flow-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}
.flow-step.active .flow-icon {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.flow-text {
    display: flex;
    flex-direction: column;
}
.flow-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}
.flow-desc {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-top: 0.15rem;
}

.flow-connector {
    width: 2px;
    height: 12px;
    background-color: var(--color-border);
    margin-left: 25px;
    transition: background-color var(--transition-fast);
}
.flow-connector.active {
    background-color: var(--color-primary);
}

/* 7. Proof Bar */
.proof-bar {
    padding: 2rem 0;
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    z-index: 10;
}

.proof-bar-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem 2rem;
}

.proof-text-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    background-color: var(--color-accent-glow);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    width: fit-content;
    justify-self: start;
}

.proof-bar-statement {
    grid-column: 1;
    max-width: 74rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.proof-logos-wrapper {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    min-width: max-content;
    flex-wrap: nowrap;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-card);
    border-radius: 999px;
    padding: 0.42rem 0.7rem;
    white-space: nowrap;
}


@media (max-width: 900px) {
    .proof-bar-container {
        grid-template-columns: 1fr;
    }

    .proof-logos-wrapper {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
        min-width: 0;
        flex-wrap: wrap;
    }
}
/* 8. Problem Section */
.problem-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: stretch;
}

.problem-left {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.section-highlight-text {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--color-primary);
    font-weight: 500;
    margin-top: 1rem;
}

.highlight-bridge {
    background-color: var(--color-bg-alt);
    border-left: 3px solid var(--color-accent);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
    font-size: 1.05rem;
}

/* Hype vs Practical Toggle Widget */
.hype-vs-practical-widget {
    margin-top: 2rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.25rem;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.toggle-buttons {
    display: flex;
    background-color: var(--color-bg);
    padding: 0.25rem;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}

.toggle-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.toggle-btn.active {
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .toggle-buttons {
    background-color: rgba(7, 10, 19, 0.72);
    border-color: rgba(166, 178, 196, 0.18);
}

[data-theme="dark"] .toggle-btn {
    color: #c8d2e2;
}

[data-theme="dark"] .toggle-btn.active {
    background-color: #2f5fb8;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(219, 234, 254, 0.18), 0 8px 18px rgba(47, 95, 184, 0.26);
}

[data-theme="dark"] .toggle-btn:not(.active):hover {
    color: #ffffff;
    background-color: rgba(166, 178, 196, 0.08);
}

.comparison-panel {
    display: none;
}
.comparison-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.comparison-list li {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}


.list-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    flex: 0 0 1.15rem;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 0.06rem;
}

.list-marker.negative {
    color: #fecaca;
    background-color: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.list-marker.positive {
    color: #bbf7d0;
    background-color: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.28);
}
/* 9. Services Section */
.services-section {
    background-color: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.merged-services-grid .service-card:nth-child(4) {
    grid-column: 1 / 2;
}

.merged-services-grid .service-card:nth-child(5) {
    grid-column: 2 / 3;
}


@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .merged-services-grid .service-card:nth-child(4),
    .merged-services-grid .service-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
.service-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.25rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-hero);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
}
.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: var(--color-accent-glow);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}
.service-card:hover .service-icon-wrapper {
    background-color: var(--color-primary-glow);
    color: var(--color-primary);
    transform: scale(1.05);
}

.service-icon {
    width: 24px;
    height: 24px;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 0;
}



.service-kicker {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.service-card-list {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 1.4rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--color-border);
    list-style: none;
    color: var(--color-text-secondary);
    font-size: 0.86rem;
    line-height: 1.45;
}

.service-card-list li {
    position: relative;
    padding-left: 1rem;
}

.service-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background-color: var(--color-primary);
}


.service-card-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
}

.service-card:hover .service-card-link {
    text-decoration: underline;
}

/* 10. Custom Workshops Section */
.workshop-section {
    background-color: var(--color-bg);
    overflow: hidden;
}

.workshop-glow-effect {
    position: absolute;
    bottom: -10%;
    right: 5%;
    width: 35%;
    height: 35%;
    background-color: var(--color-accent-glow);
    filter: blur(120px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.workshop-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.workshop-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-bullet {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-primary-glow);
    color: var(--color-primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: var(--color-text-primary);
}
.feature-text p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.workshop-outcome-box {
    background-color: var(--color-bg-alt);
    border-left: 3px solid var(--color-primary);
    padding: 1rem 1.25rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 2rem;
}
.outcome-statement {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.workshop-cta {
    margin-top: 1rem;
}

/* Service Details and Configurator Visibility */
.service-details-panel {
    display: none;
}
.service-details-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Service Deep-Dive Tabs Styling */
.deep-dive-tabs {
    display: inline-flex;
    justify-content: center;
    gap: 0.25rem;
    background-color: var(--color-bg-alt);
    padding: 0.35rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    margin: 2rem auto 4rem auto;
}

.dd-tab-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-text-secondary);
}

.dd-tab-btn:hover {
    color: var(--color-text-primary);
}

.dd-tab-btn.active {
    background-color: var(--color-bg-card);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.deep-dive-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.deep-dive-subtitle {
    font-size: 1.05rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Workshop Configurator Widget Styling */
.workshop-configurator {
    display: none;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.workshop-configurator.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.config-header {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.config-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}
.config-header p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.config-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.config-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.config-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.config-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.config-select-grid.select-three {
    grid-template-columns: repeat(3, 1fr);
}

.config-btn {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    color: var(--color-text-secondary);
}
.config-btn:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
}
.config-btn.active {
    background-color: var(--color-accent-glow);
    border-color: var(--color-accent);
    color: #ffffff;
}
[data-theme="light"] .config-btn.active {
    color: var(--color-accent);
    font-weight: 700;
}

/* Generated Agenda Output */
.agenda-output {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.agenda-output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.agenda-badge {
    background-color: var(--color-primary-glow);
    color: var(--color-primary);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
}

.agenda-scroll-area {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.agenda-step {
    display: flex;
    gap: 0.75rem;
    position: relative;
}
.agenda-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 1px;
    height: calc(100% - 12px);
    background-color: var(--color-border);
}

.agenda-time {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    height: fit-content;
    width: 44px;
    text-align: center;
    flex-shrink: 0;
    color: var(--color-text-secondary);
}

.agenda-step-content h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
}
.agenda-step-content p {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-top: 0.1rem;
    line-height: 1.4;
}

/* 11. Process Section */
.process-section {
    background-color: var(--color-bg-alt);
}
.section-header-compact {
    margin-bottom: 4rem;
}

.process-stepper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
    align-items: center;
}

.process-step-item:hover {
    border-color: var(--color-border-hover);
    transform: translateX(4px);
}

.process-step-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px var(--color-primary-glow);
    background-color: var(--color-bg);
}

.step-marker {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}
.process-step-item.active .step-marker {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-secondary);
    transition: color var(--transition-normal);
}
.process-step-item.active .step-num {
    color: #ffffff;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.step-description {
    grid-column: 2;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
}

/* Detail Side Panel */
.process-detail-panel {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeIn 0.4s ease;
}

.detail-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}
.detail-status {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}
.detail-header h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 0.25rem;
    color: var(--color-text-primary);
}

.detail-body {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.detail-deliverable {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 0.85rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--color-text-primary);
}
.detail-deliverable strong {
    color: var(--color-primary);
}

/* 12. Proof Section */
.proof-header {
    margin-bottom: 4rem;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 9999px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-text-secondary);
}
.filter-btn:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
}
.filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.proof-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}
.proof-card.hidden {
    display: none;
}
.proof-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.proof-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
}

.proof-category {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proof-metric {
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-primary-glow);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.proof-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    color: var(--color-text-primary);
}

.proof-card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}


.output-proof-card .proof-card-text {
    flex-grow: 0;
    margin-bottom: 1rem;
}

.proof-output-list {
    display: grid;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--color-border);
    list-style: none;
    color: var(--color-text-secondary);
    font-size: 0.87rem;
    line-height: 1.45;
}

.proof-output-list li {
    position: relative;
    padding-left: 1rem;
}

.proof-output-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background-color: var(--color-primary);
}

.proof-business-value {
    margin-top: auto;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(47, 95, 184, 0.16);
    border-radius: 8px;
    background-color: rgba(47, 95, 184, 0.06);
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    line-height: 1.45;
}

.proof-business-value strong {
    color: var(--color-primary);
}
.proof-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.proof-tags span {
    font-size: 0.75rem;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}


.workflow-examples {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-border);
}

.workflow-examples-header {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.workflow-examples-eyebrow,
.workflow-example-type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workflow-examples-header h3 {
    margin-top: 0.55rem;
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.2;
    color: var(--color-text-primary);
}

.workflow-examples-header p {
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

.workflow-example-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.workflow-example-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: linear-gradient(180deg, var(--color-bg-card), rgba(47, 95, 184, 0.045));
    box-shadow: var(--shadow-sm);
}

.workflow-example-card h4 {
    margin-top: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.35;
    color: var(--color-text-primary);
}

.workflow-example-card p {
    margin-top: 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}


.workflow-example-section {
    margin-top: 1rem;
}

.workflow-example-section h5 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workflow-example-section p {
    margin-top: 0.4rem;
}

.workflow-impact {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}
.workflow-example-card ul {
    display: grid;
    list-style: none;
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.45;
}

.workflow-example-card li {
    position: relative;
    list-style: none;
    padding-left: 1rem;
}

.workflow-example-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background-color: var(--color-primary);
}

@media (max-width: 1024px) {
    .workflow-examples-header,
    .workflow-example-grid {
        grid-template-columns: 1fr;
    }
}

.trust-bar-text {
    max-width: 86ch;
    margin: 3.5rem auto 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
}

.trust-bar-text strong {
    color: var(--color-text-primary);
}


.desktop-line-break {
    display: block;
}

@media (max-width: 768px) {
    .desktop-line-break {
        display: none;
    }
}
/* 13. About Section */
.about-section {
    background-color: var(--color-bg-alt);
}

.about-container {
    max-width: var(--container-max-width);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

/* Abstract avatar animation container */
.about-graphic {
    display: flex;
    justify-content: center;
}

.abstract-avatar-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-core {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    overflow: hidden;
}

.core-svg {
    width: 100%;
    height: 100%;
    animation: rotateSphere 20s linear infinite;
}

.avatar-ring {
    position: absolute;
    border: 1px dashed var(--color-text-muted);
    border-radius: 50%;
    opacity: 0.35;
    animation: rotateRing linear infinite;
}
.ring-1 {
    width: 180px;
    height: 180px;
    animation-duration: 15s;
}
.ring-2 {
    width: 220px;
    height: 220px;
    animation-duration: 25s;
    animation-direction: reverse;
}
.ring-3 {
    width: 260px;
    height: 260px;
    animation-duration: 35s;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.pillar strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 0.35rem;
}
.pillar p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}


.engagement-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
}

.engagement-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(15, 23, 42, 0.72);
    box-shadow: var(--shadow-md);
}

.engagement-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.engagement-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.engagement-card p,
.engagement-card li {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.5;
}

.engagement-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 1rem 0 1.25rem;
    padding-left: 1rem;
    flex-grow: 1;
}

.engagement-card .btn {
    align-self: flex-start;
}
/* 14. CTA & Booking Form Section */
.cta-section {
    background-color: #070a13; /* Always dark for maximum impact */
    color: #ffffff;
    overflow: hidden;
}
[data-theme="light"] .cta-section {
    background-color: #0d1223;
}

.cta-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background-color: rgba(99, 102, 241, 0.12);
    filter: blur(160px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bullet-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-bullet-item span {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* Booking Card & Form fields */
.booking-card {
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-title-area {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
}
.form-title-area h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}
.form-title-area p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    width: 100%;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
    background-color: rgba(0, 0, 0, 0.45);
}

.form-group select option {
    background-color: #0f172a;
    color: #ffffff;
}


.form-note {
    color: #94a3b8;
    font-size: 0.76rem;
    line-height: 1.45;
    text-align: center;
    margin-top: -0.35rem;
}
/* Success View Styling */
.booking-success-view {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.4s ease;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-primary-glow);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.success-icon {
    width: 32px;
    height: 32px;
}

.booking-success-view h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.booking-success-view p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.success-meta {
    font-size: 0.8rem !important;
    color: #94a3b8 !important;
    margin-bottom: 2rem !important;
}

/* 15. Footer Styling */
.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 0 0;
    transition: background-color var(--transition-normal);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--color-border);
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    max-width: 360px;
    line-height: 1.5;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.footer-column a {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}
.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding: 2rem 0;
    background-color: var(--color-bg-alt);
    transition: background-color var(--transition-normal);
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.footer-bottom-links a:hover {
    color: var(--color-text-primary);
}

/* 16. Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes rotateSphere {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll reveal initial states */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Simple fade animations for loading */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.fade-in.delay-1 { animation-delay: 0.15s; }
.fade-in.delay-2 { animation-delay: 0.3s; }
.fade-in.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 17. Responsive Media Queries */

@media (max-width: 1024px) {
    section {
        padding: 6rem 0;
    }
    
    .hero-container, 
    .problem-container, 
    .workshop-grid, 
    .about-grid, 
    .cta-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-ctas {
        justify-content: center;
    }
    
    .visualizer-body {
        max-width: 100%;
    }
    
    .process-stepper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-detail-panel {
        position: static;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 5.75rem 0 3rem;
    }

    .hero-container,
    .problem-container,
    .workshop-grid,
    .about-grid,
    .cta-container {
        gap: 2.25rem;
    }

    .hero-ctas {
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .proof-bar-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .about-content {
        order: 1;
    }

    .about-graphic {
        order: 2;
    }
    .about-pillars {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
    }
    
    .booking-card {
        padding: 1.75rem;
    }
    
    .config-select-grid {
        grid-template-columns: 1fr;
    }
    .config-select-grid.select-three {
        grid-template-columns: 1fr;
    }
}
/* Final mobile conversion overrides */
@media (max-width: 768px) {
    .hero-section {
        padding: 5.75rem 0 3rem;
    }

    .hero-proof-points {
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 1.25rem;
    }

    .hero-proof-item {
        min-height: auto;
        text-align: left;
    }

    .hero-visual {
        display: none;
    }

    .hero-ctas {
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .engagement-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .logo-img {
        max-width: 210px;
        height: auto;
        max-height: 30px;
    }
}
/* Final mobile hero compaction */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.12;
        margin-bottom: 1rem;
    }

    .hero-subhead {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-proof-item {
        padding: 0.7rem 0.8rem;
    }

    .hero-proof-item strong {
        font-size: 0.88rem;
        margin-bottom: 0.2rem;
    }

    .hero-proof-item span {
        font-size: 0.74rem;
    }
}
/* Artifact previews and guided process additions */
.artifact-section {
    background-color: var(--color-bg);
}

.artifact-header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.artifact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.85fr;
    gap: 1.25rem;
    align-items: stretch;
}

.artifact-panel {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: linear-gradient(180deg, var(--color-bg-card), rgba(12, 17, 34, 0.72));
    box-shadow: var(--shadow-md);
    padding: 1.35rem;
}

.artifact-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 12%, var(--color-primary-glow), transparent 34%), radial-gradient(circle at 88% 80%, var(--color-accent-glow), transparent 38%);
    opacity: 0.85;
    pointer-events: none;
}

.artifact-panel > * {
    position: relative;
    z-index: 1;
}

.artifact-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--color-border);
}

.artifact-panel-header span {
    color: var(--color-text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.artifact-panel-header strong {
    color: var(--color-primary);
    font-size: 0.82rem;
}

.opportunity-table {
    display: grid;
    gap: 0.45rem;
}

.opportunity-row {
    display: grid;
    grid-template-columns: minmax(140px, 1.6fr) 0.55fr 0.55fr 0.55fr 0.45fr;
    gap: 0.5rem;
    align-items: center;
    min-height: 42px;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background-color: rgba(7, 10, 19, 0.38);
    color: var(--color-text-secondary);
    font-size: 0.78rem;
}

.opportunity-head {
    min-height: auto;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
    background-color: transparent;
}

.score {
    width: fit-content;
    border-radius: 999px;
    padding: 0.18rem 0.45rem;
    font-weight: 800;
}

.score.high {
    color: #bbf7d0;
    background-color: rgba(16, 185, 129, 0.18);
}

.score.mid {
    color: #c7d2fe;
    background-color: rgba(99, 102, 241, 0.18);
}

.ready-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    display: inline-block;
}

.ready-high { background-color: var(--color-primary); }
.ready-mid { background-color: var(--color-accent); }

.blueprint-flow {
    display: grid;
    gap: 0.38rem;
    margin-top: 0.85rem;
}

.blueprint-step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0.58rem;
    align-items: center;
}

.blueprint-step-number {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background-color: rgba(47, 95, 184, 0.14);
    border: 1px solid rgba(47, 95, 184, 0.28);
    color: var(--color-brand);
    font-weight: 800;
    font-size: 0.82rem;
}

.blueprint-node {
    min-height: 56px;
    padding: 0.66rem 0.78rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: rgba(7, 10, 19, 0.42);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blueprint-node span,
.transform-label {
    color: var(--color-text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blueprint-node strong {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.blueprint-arrow {
    width: 2px;
    height: 11px;
    background-color: var(--color-border-hover);
    position: relative;
    margin-left: 14px;
}

.blueprint-arrow::after {
    content: '';
    position: absolute;
    left: -4px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--color-border-hover);
    border-bottom: 2px solid var(--color-border-hover);
    transform: rotate(45deg);
}

.opportunity-caption,
.blueprint-caption {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

.mini-agenda-intro {
    margin-top: 1rem;
    color: var(--color-text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

.mini-agenda {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.mini-agenda-row {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 24px;
    gap: 0.75rem;
    align-items: start;
    min-height: 58px;
    padding: 0.68rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: rgba(7, 10, 19, 0.42);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.mini-agenda-row:hover,
.mini-agenda-row:focus-visible {
    border-color: var(--color-brand);
    box-shadow: 0 10px 24px rgba(47, 95, 184, 0.12);
}

.mini-agenda-row time,
.agenda-phase {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.agenda-main {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    line-height: 1.35;
}

.agenda-info {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(47, 95, 184, 0.3);
    color: var(--color-brand);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.agenda-detail {
    position: absolute;
    left: 0.68rem;
    right: 0.68rem;
    top: calc(100% - 4px);
    z-index: 8;
    padding: 0.62rem 0.68rem;
    border: 1px solid var(--color-border-hover);
    border-radius: 8px;
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-lg);
    color: var(--color-text-muted);
    font-size: 0.72rem;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.mini-agenda-row:last-child .agenda-detail {
    top: auto;
    bottom: calc(100% - 4px);
    transform: translateY(4px);
}

.mini-agenda-row:hover,
.mini-agenda-row:focus-visible {
    z-index: 10;
}

.mini-agenda-row:hover .agenda-detail,
.mini-agenda-row:focus-visible .agenda-detail {
    opacity: 1;
    transform: translateY(0);
}

.mini-agenda-caption {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

.process-stepper {
    grid-template-columns: 56px minmax(0, 1.08fr) minmax(280px, 0.82fr);
}

.process-rail {
    position: sticky;
    top: 104px;
    display: grid;
    justify-items: center;
    gap: 1.65rem;
    padding-top: 0.35rem;
    min-height: 315px;
}

.process-rail-line {
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 2px;
    background-color: var(--color-border);
    overflow: hidden;
}

.process-rail-fill {
    display: block;
    width: 100%;
    height: 0%;
    background-color: var(--color-primary);
    transition: height var(--transition-normal);
}

.process-rail-dot {
    position: relative;
    z-index: 1;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    border: 2px solid var(--color-border-hover);
    background-color: var(--color-bg-alt);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.process-rail-dot.active {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    box-shadow: 0 0 0 6px var(--color-primary-glow);
}

.process-transform-demo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    max-width: var(--container-max-width);
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.transform-card {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.35rem;
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-sm);
    min-height: 190px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.8s ease, opacity 0.8s ease;
}

.transform-card h3 {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0.35rem 0 1rem;
}

.messy-stack,
.clean-pipeline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.messy-stack span,
.clean-pipeline span {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text-secondary);
    background-color: var(--color-bg-alt);
    padding: 0.45rem 0.55rem;
    font-size: 0.78rem;
}

.transform-before {
    transform: rotate(-1deg) translateY(8px);
}

.transform-after {
    opacity: 0.72;
    transform: translateY(16px);
}

.process-transform-demo.is-transformed .transform-before {
    opacity: 0.58;
    transform: scale(0.98) translateY(0);
}

.process-transform-demo.is-transformed .transform-after {
    opacity: 1;
    border-color: var(--color-primary);
    transform: translateY(0);
}

.transform-switch {
    height: 2px;
    background-color: var(--color-border-hover);
    position: relative;
}

.transform-switch span {
    position: absolute;
    left: 0;
    top: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    animation: pipelinePulse 2.8s ease-in-out infinite;
}

@keyframes pipelinePulse {
    0% { transform: translateX(0); opacity: 0.35; }
    50% { opacity: 1; }
    100% { transform: translateX(66px); opacity: 0.35; }
}

.proof-card {
    position: relative;
    overflow: hidden;
}

.proof-card-reveal {
    margin-top: 1rem;
    max-height: 0;
    opacity: 0;
    transform: translateY(8px);
    overflow: hidden;
    transition: max-height var(--transition-normal), opacity var(--transition-normal), transform var(--transition-normal);
}

.proof-card:hover .proof-card-reveal,
.proof-card:focus-within .proof-card-reveal {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
}

.proof-card-reveal dl {
    display: grid;
    gap: 0.65rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.proof-card-reveal div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 0.75rem;
}

.proof-card-reveal dt {
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.proof-card-reveal dd {
    color: var(--color-text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

.scroll-reveal.revealed .service-card,
.scroll-reveal.revealed .engagement-card,
.scroll-reveal.revealed .artifact-panel,
.scroll-reveal.revealed .process-step-item,
.scroll-reveal.revealed .proof-card {
    animation: staggerFade 0.72s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.scroll-reveal.revealed .service-card:nth-child(2),
.scroll-reveal.revealed .engagement-card:nth-child(2),
.scroll-reveal.revealed .artifact-panel:nth-child(2),
.scroll-reveal.revealed .process-step-item:nth-child(2),
.scroll-reveal.revealed .proof-card:nth-child(2) { animation-delay: 0.08s; }

.scroll-reveal.revealed .service-card:nth-child(3),
.scroll-reveal.revealed .engagement-card:nth-child(3),
.scroll-reveal.revealed .artifact-panel:nth-child(3),
.scroll-reveal.revealed .process-step-item:nth-child(3),
.scroll-reveal.revealed .proof-card:nth-child(3) { animation-delay: 0.16s; }

.scroll-reveal.revealed .service-card:nth-child(4),
.scroll-reveal.revealed .engagement-card:nth-child(4),
.scroll-reveal.revealed .process-step-item:nth-child(4) { animation-delay: 0.24s; }

@keyframes staggerFade {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .artifact-header,
    .artifact-grid,
    .process-transform-demo {
        grid-template-columns: 1fr;
    }

    .process-stepper {
        grid-template-columns: 40px 1fr;
    }

    .process-detail-panel {
        grid-column: 2;
    }

    .process-transform-demo {
        padding: 0 1.5rem;
    }

    .transform-switch {
        height: 48px;
        width: 2px;
        justify-self: center;
    }

    @keyframes pipelinePulse {
        0% { transform: translateY(0); opacity: 0.35; }
        50% { opacity: 1; }
        100% { transform: translateY(42px); opacity: 0.35; }
    }
}

@media (max-width: 768px) {
    .artifact-header {
        gap: 1rem;
    }

    .artifact-panel {
        min-height: auto;
    }

    .opportunity-row {
        grid-template-columns: 1.35fr 0.55fr 0.55fr 0.55fr 0.35fr;
        font-size: 0.7rem;
        padding: 0.5rem;
    }

    .blueprint-flow {
        min-height: auto;
    }

    .blueprint-arrow {
        width: 2px;
        height: 10px;
        justify-self: start;
        margin-left: 14px;
    }

    .blueprint-arrow::after {
        left: -4px;
        right: auto;
        top: auto;
        bottom: -1px;
        transform: rotate(45deg);
    }

    .process-stepper {
        grid-template-columns: 1fr;
    }

    .process-rail {
        display: none;
    }

    .process-detail-panel {
        grid-column: auto;
    }

    .process-transform-demo {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .proof-card-reveal div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .transform-switch span,
    .scroll-reveal.revealed .service-card,
    .scroll-reveal.revealed .engagement-card,
    .scroll-reveal.revealed .artifact-panel,
    .scroll-reveal.revealed .process-step-item,
    .scroll-reveal.revealed .proof-card {
        animation: none;
    }

    .process-transform-demo .transform-card,
    .proof-card-reveal {
        transition: none;
    }
}
.proof-card:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.proof-card:focus .proof-card-reveal {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
}
.proof-card.is-open .proof-card-reveal {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
}
/* Stable proof detail reveal override */
.proof-card-reveal {
    max-height: none;
    opacity: 1;
    transform: none;
    overflow: visible;
    margin-top: 1rem;
}

.proof-card .proof-card-reveal dl {
    opacity: 0.78;
    transition: opacity var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.proof-card:hover .proof-card-reveal dl,
.proof-card:focus .proof-card-reveal dl,
.proof-card.is-open .proof-card-reveal dl {
    opacity: 1;
    border-color: var(--color-border-hover);
}
/* Founder About Card */
.founder-card {
    width: min(100%, 340px);
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: linear-gradient(180deg, var(--color-bg-card), rgba(12, 17, 34, 0.72));
    box-shadow: var(--shadow-lg);
}

.founder-photo-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    border: 1px solid var(--color-border-hover);
    background-color: var(--color-bg-alt);
}

.founder-photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -72px 90px rgba(7, 10, 19, 0.38);
    pointer-events: none;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-card figcaption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0.25rem 0.2rem;
}

.founder-card figcaption strong {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    font-size: 1.05rem;
}

.founder-card figcaption span {
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.founder-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.founder-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .founder-card figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
}
.founder-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.25rem;
}

.founder-links .founder-link {
    margin-top: 0;
}
.inline-text-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.inline-text-link:hover {
    color: var(--color-primary-hover);
}
.founder-link-icon {
    align-items: center;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0.45rem 0.75rem 0.45rem 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background-color: var(--color-bg-card);
    color: var(--color-text-primary);
    text-decoration: none;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.founder-link-icon:hover {
    transform: translateY(-1px);
    border-color: var(--color-border-hover);
    background-color: var(--color-bg-alt);
    text-decoration: none;
}

.linkedin-mark,
.book-mark {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.linkedin-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-color: #0a66c2;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.book-mark {
    color: var(--color-primary);
}
/* Intellegen brand palette refinement */
[data-theme="dark"] {
    --color-text-secondary: #a6b2c4;
    --color-text-muted: #738197;
    --color-logo-gray: #9aa5b5;
    --color-logo-gray-soft: rgba(154, 165, 181, 0.13);
    --color-brand: #2f5fb8;
    --color-brand-hover: #4778d8;
    --color-brand-glow: rgba(47, 95, 184, 0.18);
    --color-accent: var(--color-brand);
    --color-accent-glow: var(--color-brand-glow);
    --gradient-hero: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-hover) 100%);
    --gradient-mesh: radial-gradient(circle at 10% 20%, rgba(47, 95, 184, 0.12) 0%, transparent 42%),
                     radial-gradient(circle at 90% 80%, rgba(154, 165, 181, 0.07) 0%, transparent 46%);
}

[data-theme="light"] {
    --color-text-secondary: #4f5d70;
    --color-text-muted: #738197;
    --color-logo-gray: #6f7c8e;
    --color-logo-gray-soft: rgba(111, 124, 142, 0.12);
    --color-brand: #2f5fb8;
    --color-brand-hover: #254f9d;
    --color-brand-glow: rgba(47, 95, 184, 0.1);
    --color-accent: var(--color-brand);
    --color-accent-glow: var(--color-brand-glow);
    --gradient-hero: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-hover) 100%);
    --gradient-mesh: radial-gradient(circle at 10% 20%, rgba(47, 95, 184, 0.06) 0%, transparent 46%),
                     radial-gradient(circle at 90% 80%, rgba(111, 124, 142, 0.05) 0%, transparent 50%);
}

.gradient-text {
    color: var(--color-brand);
    -webkit-text-fill-color: currentColor;
}

.badge,
.proof-text-badge,
.detail-status,
.proof-category,
.engagement-kicker,
.artifact-panel-header span,
.transform-label,
.blueprint-node span {
    color: var(--color-brand);
}

.logo-item,
.proof-tags span,
.opportunity-head,
.agenda-time,
.form-group label,
.success-meta {
    color: var(--color-logo-gray);
}

.logo-item,
.proof-tags span,
.opportunity-head,
.mini-agenda-row,
.opportunity-row,
.blueprint-node {
    border-color: var(--color-logo-gray-soft);
}
/* Light-mode contrast improvements for comparison widget */
[data-theme="light"] .hype-vs-practical-widget {
    background-color: #ffffff;
    border-color: rgba(47, 95, 184, 0.16);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .widget-header {
    border-bottom-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .widget-title {
    color: #53627a;
}

[data-theme="light"] .toggle-buttons {
    background-color: #f3f6fb;
    border-color: rgba(47, 95, 184, 0.14);
}

[data-theme="light"] .toggle-btn {
    color: #1f2a3a;
}

[data-theme="light"] .toggle-btn.active {
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .comparison-list li {
    color: #334155;
}

[data-theme="light"] .list-marker.negative {
    color: #991b1b;
    background-color: #fee2e2;
    border-color: #fca5a5;
}

[data-theme="light"] .list-marker.positive {
    color: #047857;
    background-color: #d1fae5;
    border-color: #6ee7b7;
}
[data-theme="light"] .hype-vs-practical-widget .toggle-btn.active {
    background-color: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
/* Light-mode artifact card contrast */
[data-theme="light"] .artifact-panel {
    background: #ffffff;
    border-color: rgba(47, 95, 184, 0.16);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .artifact-panel::before {
    background: radial-gradient(circle at 18% 12%, rgba(47, 95, 184, 0.06), transparent 34%),
                radial-gradient(circle at 88% 80%, rgba(111, 124, 142, 0.05), transparent 38%);
    opacity: 1;
}

[data-theme="light"] .artifact-panel-header {
    border-bottom-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .opportunity-row,
[data-theme="light"] .blueprint-node,
[data-theme="light"] .mini-agenda-row {
    background-color: #f8fafc;
    border-color: rgba(47, 95, 184, 0.12);
    color: #334155;
}

[data-theme="light"] .opportunity-row:not(.opportunity-head),
[data-theme="light"] .blueprint-node,
[data-theme="light"] .mini-agenda-row {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .opportunity-head {
    background-color: #eef3fa;
    color: #52627a;
}

[data-theme="light"] .opportunity-row span {
    color: #334155;
}

[data-theme="light"] .opportunity-head span,
[data-theme="light"] .blueprint-node span,
[data-theme="light"] .artifact-panel-header span {
    color: #2f5fb8;
}

[data-theme="light"] .blueprint-node strong {
    color: #0f172a;
}

[data-theme="light"] .agenda-phase {
    color: #047857;
}

[data-theme="light"] .agenda-main {
    color: #334155;
}

[data-theme="light"] .agenda-info {
    background-color: #eef3fa;
    border-color: rgba(47, 95, 184, 0.24);
    color: #2f5fb8;
}

[data-theme="light"] .agenda-detail {
    background-color: #ffffff;
    border-color: rgba(47, 95, 184, 0.18);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    color: #52627a;
}

[data-theme="light"] .mini-agenda-intro,
[data-theme="light"] .mini-agenda-caption {
    border-top-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

[data-theme="light"] .blueprint-arrow,
[data-theme="light"] .blueprint-arrow::after {
    border-color: rgba(47, 95, 184, 0.38);
}

[data-theme="light"] .blueprint-arrow {
    background-color: rgba(47, 95, 184, 0.42);
}

[data-theme="light"] .blueprint-step-number {
    background-color: #eef3fa;
    border-color: rgba(47, 95, 184, 0.24);
    color: #2f5fb8;
}

[data-theme="light"] .blueprint-arrow::after {
    border-right-color: rgba(47, 95, 184, 0.42);
    border-bottom-color: rgba(47, 95, 184, 0.42);
}

[data-theme="light"] .opportunity-caption,
[data-theme="light"] .blueprint-caption {
    border-top-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}











/* Light-mode contrast fixes for service deep dive */


[data-theme="light"] .engagement-card {
    background-color: #ffffff;
    border-color: rgba(47, 95, 184, 0.16);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .engagement-card h3 {
    color: #0f172a;
}

[data-theme="light"] .engagement-card p,
[data-theme="light"] .engagement-card li {
    color: #334155;
}

[data-theme="light"] .engagement-kicker {
    color: #2f5fb8;
}

/* Schedule page */
.schedule-page {
    min-height: 100vh;
    background-color: var(--color-bg);
}

.schedule-header {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.schedule-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 84px;
}

.schedule-main {
    padding: 4rem 0;
}

.schedule-container {
    display: grid;
    gap: 2rem;
}

.schedule-copy {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.schedule-frame-card {
    min-height: 720px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-lg);
}

.schedule-frame-card iframe {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .schedule-main {
        padding: 2.5rem 0;
    }

    .schedule-frame-card,
    .schedule-frame-card iframe {
        min-height: 760px;
    }
}


/* Intellegen Workflow Lens */
.workflow-lens-section {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, var(--color-bg), var(--color-bg-alt));
    border-bottom: 1px solid var(--color-border);
}

.workflow-lens-container {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 2rem;
    align-items: center;
}

.workflow-lens-copy {
    max-width: 430px;
}

.workflow-lens-eyebrow {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--color-brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workflow-lens-copy h2 {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.12;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.workflow-lens-copy p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.workflow-lens-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    list-style: none;
    counter-reset: none;
}

.workflow-lens-steps li {
    position: relative;
    min-height: 168px;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-sm);
}

.workflow-lens-steps li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.55rem;
    width: 0.55rem;
    height: 1px;
    background-color: var(--color-border-hover);
}

.workflow-lens-steps li:last-child::after {
    display: none;
}

.workflow-lens-steps span {
    display: block;
    color: var(--color-brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.workflow-lens-steps strong {
    display: block;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.workflow-lens-steps small {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

[data-theme="light"] .workflow-lens-section {
    background: linear-gradient(180deg, #ffffff, #f1f5f9);
}

[data-theme="light"] .workflow-lens-steps li {
    background-color: #ffffff;
    border-color: rgba(47, 95, 184, 0.14);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

@media (max-width: 1024px) {
    .workflow-lens-container {
        grid-template-columns: 1fr;
    }

    .workflow-lens-copy {
        max-width: 720px;
        text-align: center;
        margin: 0 auto;
    }

    .workflow-lens-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .workflow-lens-section {
        padding: 3.5rem 0;
    }

    .workflow-lens-steps {
        grid-template-columns: 1fr;
    }

    .workflow-lens-steps li {
        min-height: auto;
    }

    .workflow-lens-steps li::after {
        top: auto;
        right: auto;
        left: 1.25rem;
        bottom: -0.55rem;
        width: 1px;
        height: 0.55rem;
    }

    .workflow-lens-steps span {
        margin-bottom: 0.75rem;
    }
}
/* CRO guided offer path */
.offer-path-section {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.offer-path-header .section-subhead {
    margin-bottom: 2.25rem;
}

.offer-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.offer-path-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 188px;
    padding: 1.15rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg-card);
    color: var(--color-text-primary);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.offer-path-card:hover,
.offer-path-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--color-brand);
    box-shadow: var(--shadow-md);
    outline: none;
}

.offer-path-card span {
    color: var(--color-brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.offer-path-card strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.28;
}

.offer-path-card small {
    color: var(--color-text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

#offer-workshops,
#offer-assessment,
#offer-workflow,
#offer-systems,
#offer-advisory {
    scroll-margin-top: 110px;
}


@media (max-width: 1024px) {
    .offer-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .offer-path-grid {
        grid-template-columns: 1fr;
    }

    .offer-path-card {
        min-height: auto;
    }
}

.hero-ctas .btn-quiet {
    box-shadow: none;
    color: var(--color-brand) !important;
    border-color: transparent;
    background-color: transparent;
}

.hero-ctas .btn-quiet:hover,
.hero-ctas .btn-quiet:focus-visible {
    background-color: rgba(47, 95, 184, 0.08);
    border-color: rgba(47, 95, 184, 0.16);
}

/* Problem section toggle visual */
.problem-approach-visual {
    margin-top: auto;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-md);
}

.problem-visual-trigger {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.problem-visual-trigger:focus-visible {
    outline: 3px solid rgba(47, 95, 184, 0.35);
    outline-offset: 3px;
}

.problem-approach-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition: opacity 180ms ease;
}

.problem-approach-visual.is-switching img {
    opacity: 0.2;
}

[data-theme="light"] .problem-approach-visual {
    background-color: #ffffff;
    border-color: rgba(47, 95, 184, 0.16);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(7, 10, 19, 0.84);
    backdrop-filter: blur(10px);
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox img {
    display: block;
    width: auto;
    max-width: min(96vw, 1440px);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.image-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.image-lightbox-close:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .problem-approach-visual {
        margin-top: 2rem;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}





















/* Dark-mode contrast refinements */
[data-theme="dark"] .badge,
[data-theme="dark"] .proof-text-badge {
    color: #dbeafe;
    background-color: rgba(47, 95, 184, 0.26);
    border-color: rgba(143, 181, 255, 0.26);
}

[data-theme="dark"] .hero-section .badge,
[data-theme="dark"] .offer-path-section .badge,
[data-theme="dark"] .process-section .badge {
    color: #dbeafe;
    background-color: rgba(47, 95, 184, 0.36);
    border-color: rgba(143, 181, 255, 0.32);
}

[data-theme="dark"] .transform-card {
    background-color: rgba(22, 30, 49, 0.82);
    border-color: rgba(166, 178, 196, 0.16);
}

[data-theme="dark"] .process-transform-demo.is-transformed .transform-before {
    opacity: 0.76;
}

[data-theme="dark"] .transform-label,
[data-theme="dark"] .blueprint-node span {
    color: #7fa7f4;
}

[data-theme="dark"] .transform-before h3 {
    color: #d5dce8;
}

[data-theme="dark"] .messy-stack span,
[data-theme="dark"] .clean-pipeline span {
    color: #c8d2e2;
    background-color: rgba(7, 10, 19, 0.5);
    border-color: rgba(166, 178, 196, 0.18);
}

[data-theme="dark"] .process-transform-demo.is-transformed .transform-after {
    border-color: rgba(16, 185, 129, 0.78);
    background-color: rgba(22, 30, 49, 0.9);
}



/* Light-mode segmented control and founder card refinements */
[data-theme="light"] .hype-vs-practical-widget .toggle-buttons {
    background-color: #eef3f9;
    border-color: rgba(47, 95, 184, 0.2);
}

[data-theme="light"] .hype-vs-practical-widget .toggle-btn {
    color: #334155;
}

[data-theme="light"] .hype-vs-practical-widget .toggle-btn.active {
    background-color: #2f5fb8 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(47, 95, 184, 0.22), 0 8px 18px rgba(47, 95, 184, 0.18) !important;
}

[data-theme="light"] .hype-vs-practical-widget .toggle-btn:not(.active):hover {
    background-color: rgba(47, 95, 184, 0.08);
    color: #0f172a;
}

[data-theme="light"] .founder-card {
    background: #ffffff;
    border-color: rgba(47, 95, 184, 0.16);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
}

[data-theme="light"] .founder-photo-frame {
    border-color: rgba(15, 23, 42, 0.12);
    background-color: #f8fafc;
}

[data-theme="light"] .founder-photo-frame::after {
    display: none;
}

[data-theme="light"] .founder-card figcaption strong {
    color: #0f172a;
}

[data-theme="light"] .founder-card figcaption span {
    color: #047857;
}

/* Mobile visibility and light proof-section safeguards */
.scroll-reveal {
    opacity: 1;
    transform: none;
}

.reveal-enabled .scroll-reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(30px);
}

[data-theme="light"] .proof-section,
[data-theme="light"] .proof-section .proof-card,
[data-theme="light"] .proof-section .workflow-card {
    background-color: #ffffff;
}

[data-theme="light"] .proof-section .proof-card,
[data-theme="light"] .proof-section .workflow-card {
    border-color: rgba(47, 95, 184, 0.16);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 768px) {
    .reveal-enabled .scroll-reveal,
    .reveal-enabled .scroll-reveal:not(.revealed) {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Explicit light-mode proof/output card correction */
html[data-theme="light"] #proof,
html[data-theme="light"] #proof .proof-card,
html[data-theme="light"] #proof .workflow-example-card,
html[data-theme="light"] #proof .workflow-card {
    background-color: #ffffff !important;
}

html[data-theme="light"] #proof,
html[data-theme="light"] #proof .section-title,
html[data-theme="light"] #proof .proof-card-title,
html[data-theme="light"] #proof .workflow-card h4,
html[data-theme="light"] #proof .workflow-card h3 {
    color: #0f172a !important;
}

html[data-theme="light"] #proof .section-subhead,
html[data-theme="light"] #proof .proof-card-text,
html[data-theme="light"] #proof .proof-output-list,
html[data-theme="light"] #proof .proof-business-value,
html[data-theme="light"] #proof .workflow-card p,
html[data-theme="light"] #proof .workflow-card li,
html[data-theme="light"] #proof .trust-bar-text {
    color: #475569 !important;
}

html[data-theme="light"] #proof .proof-card,
html[data-theme="light"] #proof .workflow-example-card,
html[data-theme="light"] #proof .workflow-card {
    border-color: rgba(47, 95, 184, 0.16) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}
/* Final grid normalization for five-card sections */
.offer-path-grid,
.services-grid.merged-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.services-grid.merged-services-grid .service-card:nth-child(4) {
    grid-column: 1 / 2 !important;
}

.services-grid.merged-services-grid .service-card:nth-child(5) {
    grid-column: 2 / 3 !important;
}

@media (max-width: 1024px) {
    .offer-path-grid,
    .services-grid.merged-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .services-grid.merged-services-grid .service-card:nth-child(4),
    .services-grid.merged-services-grid .service-card:nth-child(5) {
        grid-column: auto !important;
    }
}

@media (max-width: 640px) {
    .offer-path-grid,
    .services-grid.merged-services-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Workflow Lens Diagnostic */
.workflow-diagnostic {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(240px, 0.74fr) minmax(0, 1.26fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(47, 95, 184, 0.08), transparent 36%),
        var(--color-bg-card);
    box-shadow: var(--shadow-sm);
}

.workflow-diagnostic-intro {
    padding: 0.25rem 0.5rem 0.25rem 0.25rem;
}

.workflow-diagnostic-kicker,
.diagnostic-result-topline {
    display: inline-flex;
    color: var(--color-brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workflow-diagnostic-intro h3 {
    margin: 0.85rem 0 0.75rem;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.18;
    text-wrap: balance;
}

.workflow-diagnostic-intro p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

.workflow-diagnostic-body {
    display: grid;
    grid-template-columns: minmax(210px, 0.86fr) minmax(0, 1.14fr);
    gap: 1rem;
}

.diagnostic-options {
    display: grid;
    gap: 0.55rem;
}

.diagnostic-option {
    display: grid;
    gap: 0.25rem;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--color-text-primary);
    text-align: left;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.diagnostic-option:hover,
.diagnostic-option:focus-visible {
    transform: translateY(-1px);
    border-color: var(--color-border-hover);
    outline: none;
}

.diagnostic-option.active {
    border-color: var(--color-brand);
    background-color: rgba(47, 95, 184, 0.12);
    box-shadow: 0 0 0 3px rgba(47, 95, 184, 0.08);
}

.diagnostic-option span {
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    line-height: 1.35;
}

.diagnostic-option strong {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.25;
}

.diagnostic-result {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.15rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg);
}

.diagnostic-result h4 {
    margin: 0.75rem 0 0.65rem;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    line-height: 1.15;
}

.diagnostic-result p {
    margin: 0 0 1rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.diagnostic-result ul {
    display: grid;
    gap: 0.45rem;
    margin: 0 0 1.2rem;
    padding-left: 1rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.45;
}

.diagnostic-result li::marker {
    color: var(--color-accent);
}

.diagnostic-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.diagnostic-result-actions .btn {
    min-height: 42px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

[data-theme="light"] .workflow-diagnostic {
    background:
        linear-gradient(135deg, rgba(47, 95, 184, 0.08), transparent 38%),
        #ffffff;
    border-color: rgba(47, 95, 184, 0.16);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .diagnostic-option {
    background-color: #f8fafc;
    border-color: #dbe4f0;
}

[data-theme="light"] .diagnostic-option.active {
    background-color: #eef5ff;
    border-color: var(--color-brand);
}

[data-theme="light"] .diagnostic-result {
    background-color: #f8fafc;
    border-color: #dbe4f0;
}

@media (max-width: 1024px) {
    .workflow-diagnostic,
    .workflow-diagnostic-body {
        grid-template-columns: 1fr;
    }

    .workflow-diagnostic-intro {
        max-width: 720px;
        padding-right: 0;
    }

    .diagnostic-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .workflow-diagnostic {
        padding: 1rem;
    }

    .diagnostic-options {
        grid-template-columns: 1fr;
    }

    .diagnostic-result-actions {
        flex-direction: column;
    }

    .diagnostic-result-actions .btn {
        width: 100%;
    }
}

/* Editorial serif palette refresh */
:root {
    --font-heading: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[data-theme="light"] {
    --color-bg: #f7f8fa;
    --color-bg-alt: #eef0f4;
    --color-bg-card: rgba(255, 255, 255, 0.88);
    --color-border: rgba(40, 56, 81, 0.12);
    --color-border-hover: rgba(66, 103, 175, 0.35);
    --color-text-primary: #28303a;
    --color-text-secondary: #515c6c;
    --color-text-muted: #828e9e;
    --color-primary: #4267af;
    --color-primary-hover: #38538c;
    --color-primary-glow: rgba(66, 103, 175, 0.12);
    --color-brand: #4267af;
    --color-brand-hover: #38538c;
    --color-brand-glow: rgba(66, 103, 175, 0.12);
    --color-accent: #4267af;
    --color-accent-glow: rgba(66, 103, 175, 0.12);
    --color-logo-gray: #515c6c;
    --color-logo-gray-soft: rgba(104, 116, 134, 0.16);
    --color-glass-bg: rgba(247, 248, 250, 0.88);
    --color-glass-border: rgba(40, 56, 81, 0.09);
    --shadow-sm: 0 2px 10px rgba(40, 56, 81, 0.05);
    --shadow-md: 0 12px 28px rgba(40, 56, 81, 0.08);
    --shadow-lg: 0 24px 60px rgba(40, 56, 81, 0.12);
    --gradient-hero: linear-gradient(135deg, #4267af 0%, #38538c 100%);
    --gradient-mesh: radial-gradient(circle at 12% 18%, rgba(66, 103, 175, 0.07) 0%, transparent 42%),
                     radial-gradient(circle at 88% 76%, rgba(104, 116, 134, 0.08) 0%, transparent 48%);
}

[data-theme="dark"] {
    --color-bg: #181d24;
    --color-bg-alt: #28303a;
    --color-bg-card: rgba(40, 48, 58, 0.78);
    --color-border: rgba(247, 248, 250, 0.12);
    --color-border-hover: rgba(106, 133, 202, 0.36);
    --color-text-primary: #f7f8fa;
    --color-text-secondary: #dde1e8;
    --color-text-muted: #a3adbc;
    --color-primary: #6a85ca;
    --color-primary-hover: #93a8dc;
    --color-primary-glow: rgba(106, 133, 202, 0.16);
    --color-brand: #6a85ca;
    --color-brand-hover: #93a8dc;
    --color-brand-glow: rgba(106, 133, 202, 0.16);
    --color-accent: #6a85ca;
    --color-accent-glow: rgba(106, 133, 202, 0.16);
    --color-logo-gray: #a3adbc;
    --color-logo-gray-soft: rgba(163, 173, 188, 0.15);
    --color-glass-bg: rgba(22, 20, 17, 0.84);
    --color-glass-border: rgba(247, 248, 250, 0.08);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.36);
    --gradient-hero: linear-gradient(135deg, #6a85ca 0%, #93a8dc 100%);
    --gradient-mesh: radial-gradient(circle at 12% 18%, rgba(106, 133, 202, 0.12) 0%, transparent 42%),
                     radial-gradient(circle at 88% 76%, rgba(247, 248, 250, 0.05) 0%, transparent 48%);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    text-rendering: optimizeLegibility;
}

.hero-title,
.section-title,
.workflow-lens-copy h2,
.workflow-diagnostic-intro h3,
.diagnostic-result h4,
.service-card-title,
.proof-card-title,
.workflow-card h3,
.workflow-card h4,
.about-section h2,
.about-section h3,
.cta-title,
.footer-column h4,
.flow-label,
.hero-proof-item strong,
.offer-path-card strong,
.founder-card figcaption strong {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.hero-title {
    font-weight: 700;
    line-height: 1.02;
    font-size: clamp(3.4rem, 6vw, 5.7rem);
}

.section-title {
    font-weight: 700;
    line-height: 1.05;
    font-size: clamp(2.6rem, 4.8vw, 4.4rem);
}

.workflow-lens-copy h2,
.workflow-diagnostic-intro h3,
.diagnostic-result h4 {
    font-weight: 700;
    line-height: 1.05;
}

.nav-link,
.btn,
.badge,
.proof-text-badge,
.workflow-lens-eyebrow,
.workflow-diagnostic-kicker,
.diagnostic-result-topline,
.service-kicker,
.offer-path-card span,
.form-group label,
.widget-title {
    font-family: var(--font-body);
    letter-spacing: 0.07em;
}

.badge,
.proof-text-badge {
    color: var(--color-brand);
    background-color: var(--color-primary-glow);
    border-color: rgba(66, 103, 175, 0.22);
}

.btn-primary,
[data-theme="light"] .hype-vs-practical-widget .toggle-btn.active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fffaf3 !important;
    box-shadow: 0 10px 22px rgba(66, 103, 175, 0.18) !important;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--color-primary-hover) !important;
    border-color: var(--color-primary-hover) !important;
}

.btn-secondary:hover,
.hero-ctas .btn-quiet:hover,
.hero-ctas .btn-quiet:focus-visible {
    background-color: rgba(66, 103, 175, 0.08);
    border-color: rgba(66, 103, 175, 0.22);
}

.navbar,
.mobile-drawer {
    background-color: var(--color-glass-bg);
    border-color: var(--color-glass-border);
}

.hero-section {
    background: var(--gradient-mesh), var(--color-bg);
}

.proof-bar,
.services-section,
.about-section,
.footer-bottom,
.workflow-lens-section,
.offer-path-section {
    background-color: var(--color-bg-alt);
}

.problem-section,
.process-section,
.proof-section,
.footer {
    background-color: var(--color-bg);
}

[data-theme="light"] .workflow-lens-section,
[data-theme="light"] .about-section {
    background: linear-gradient(180deg, #f7f8fa, #eef0f4);
}

[data-theme="light"] .hype-vs-practical-widget,
[data-theme="light"] .offer-path-card,
[data-theme="light"] .service-card,
[data-theme="light"] .proof-card,
[data-theme="light"] .workflow-card,
[data-theme="light"] .workflow-example-card,
[data-theme="light"] .workflow-lens-steps li,
[data-theme="light"] .workflow-diagnostic,
[data-theme="light"] .founder-card,
[data-theme="light"] .artifact-panel,
[data-theme="light"] .booking-card,
[data-theme="light"] .schedule-frame-card {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(40, 56, 81, 0.12) !important;
    box-shadow: 0 16px 38px rgba(40, 56, 81, 0.07) !important;
}

[data-theme="light"] .diagnostic-result,
[data-theme="light"] .diagnostic-option,
[data-theme="light"] .opportunity-row,
[data-theme="light"] .blueprint-node,
[data-theme="light"] .mini-agenda-row,
[data-theme="light"] .toggle-buttons,
[data-theme="light"] .opportunity-head {
    background-color: #eef0f4 !important;
    border-color: rgba(40, 56, 81, 0.1) !important;
}

[data-theme="light"] .diagnostic-option.active {
    background-color: rgba(66, 103, 175, 0.1) !important;
    border-color: var(--color-brand) !important;
    box-shadow: 0 0 0 3px rgba(66, 103, 175, 0.08) !important;
}

[data-theme="light"] .section-title,
[data-theme="light"] .hero-title,
[data-theme="light"] .service-card-title,
[data-theme="light"] .proof-card-title,
[data-theme="light"] .workflow-card h3,
[data-theme="light"] .workflow-card h4,
[data-theme="light"] .founder-card figcaption strong,
[data-theme="light"] .engagement-card h3,
[data-theme="light"] #proof,
[data-theme="light"] #proof .section-title,
[data-theme="light"] #proof .proof-card-title,
[data-theme="light"] #proof .workflow-card h3,
[data-theme="light"] #proof .workflow-card h4 {
    color: var(--color-text-primary) !important;
}

[data-theme="light"] .section-subhead,
[data-theme="light"] .body-text,
[data-theme="light"] .service-card-desc,
[data-theme="light"] .service-card-list,
[data-theme="light"] .proof-card-text,
[data-theme="light"] .proof-output-list,
[data-theme="light"] .workflow-card p,
[data-theme="light"] .workflow-card li,
[data-theme="light"] #proof .section-subhead,
[data-theme="light"] #proof .proof-card-text,
[data-theme="light"] #proof .proof-output-list,
[data-theme="light"] #proof .proof-business-value,
[data-theme="light"] #proof .workflow-card p,
[data-theme="light"] #proof .workflow-card li,
[data-theme="light"] #proof .trust-bar-text {
    color: var(--color-text-secondary) !important;
}

[data-theme="light"] .proof-category,
[data-theme="light"] .service-kicker,
[data-theme="light"] .workflow-lens-eyebrow,
[data-theme="light"] .workflow-diagnostic-kicker,
[data-theme="light"] .diagnostic-result-topline,
[data-theme="light"] .offer-path-card span,
[data-theme="light"] .artifact-panel-header span,
[data-theme="light"] .blueprint-node span,
[data-theme="light"] .opportunity-head span,
[data-theme="light"] .engagement-kicker,
[data-theme="light"] .agenda-info {
    color: var(--color-brand) !important;
}

[data-theme="light"] .founder-card figcaption span,
[data-theme="light"] .agenda-phase {
    color: var(--color-primary-hover) !important;
}

[data-theme="dark"] .badge,
[data-theme="dark"] .proof-text-badge,
[data-theme="dark"] .hero-section .badge,
[data-theme="dark"] .offer-path-section .badge,
[data-theme="dark"] .process-section .badge {
    color: #D7FFFA;
    background-color: rgba(106, 133, 202, 0.16);
    border-color: rgba(106, 133, 202, 0.28);
}

[data-theme="dark"] .toggle-btn.active {
    background-color: var(--color-primary) !important;
    color: #181d24 !important;
}

[data-theme="dark"] .process-transform-demo.is-transformed .transform-after {
    border-color: rgba(106, 133, 202, 0.78);
    background-color: rgba(40, 48, 58, 0.9);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(3rem, 16vw, 4.5rem);
    }

    .section-title {
        font-size: clamp(2.3rem, 12vw, 3.3rem);
    }
}

/* Editorial hero scale tuning */
.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2.85rem, 5vw, 4.65rem);
    line-height: 1.06;
    max-width: 720px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
        line-height: 1.08;
    }
}

/* Editorial readability tuning for cards and tool panels */
.flow-label {
    font-size: 1rem;
    line-height: 1.25;
}

.flow-desc {
    font-size: 0.88rem;
    line-height: 1.45;
}

.visualizer-title {
    font-size: 0.82rem;
}

.workflow-lens-steps li {
    padding: 1.15rem;
}

.workflow-lens-steps span {
    font-size: 0.82rem;
    margin-bottom: 1.8rem;
}

.workflow-lens-steps strong {
    font-size: 1.18rem;
    line-height: 1.2;
}

.workflow-lens-steps small {
    font-size: 0.94rem;
    line-height: 1.48;
}

.diagnostic-option {
    padding: 1rem 1.05rem;
}

.diagnostic-option span {
    font-size: 0.88rem;
    line-height: 1.45;
}

.diagnostic-option strong {
    font-size: 1.12rem;
    line-height: 1.25;
}

.offer-path-card small,
.service-card-desc,
.service-card-list,
.proof-card-text,
.proof-output-list,
.workflow-card p,
.workflow-card li,
.diagnostic-result p,
.diagnostic-result ul {
    font-size: 1rem;
    line-height: 1.55;
}

.offer-path-card strong,
.service-card-title,
.proof-card-title,
.workflow-card h3,
.workflow-card h4 {
    font-size: 1.28rem;
    line-height: 1.18;
}

.offer-path-card span,
.service-kicker,
.proof-category,
.workflow-diagnostic-kicker,
.diagnostic-result-topline {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .workflow-lens-steps strong,
    .diagnostic-option strong {
        font-size: 1.18rem;
    }

    .workflow-lens-steps small,
    .diagnostic-option span,
    .flow-desc {
        font-size: 0.95rem;
    }
}

/* Hero proof card readability tuning */
.hero-proof-item {
    padding: 1.15rem;
}

.hero-proof-item strong {
    font-size: 1.14rem;
    line-height: 1.22;
    margin-bottom: 0.55rem;
}

.hero-proof-item span {
    font-size: 0.96rem;
    line-height: 1.42;
}

@media (max-width: 768px) {
    .hero-proof-item strong {
        font-size: 1.18rem;
    }

    .hero-proof-item span {
        font-size: 1rem;
    }
}

/* Hero workflow visualizer text tuning */
.flow-step {
    gap: 1rem;
    padding: 1.05rem;
}

.flow-label {
    font-size: 1.08rem;
    line-height: 1.22;
}

.flow-desc {
    font-size: 0.98rem;
    line-height: 1.42;
}

@media (max-width: 768px) {
    .flow-label {
        font-size: 1.1rem;
    }

    .flow-desc {
        font-size: 1rem;
    }
}

/* Hero workflow visualizer title/description spacing */
.flow-text {
    gap: 0.32rem;
}

.flow-desc {
    margin-top: 0;
}

/* Workflow lens card hierarchy tuning */
.workflow-lens-steps strong {
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 0.65rem;
    overflow-wrap: normal;
    hyphens: manual;
}

/* Reflow the 5-up lens grid down to a single column on phones so the cards
   never get too narrow. Ordered smallest-last so each breakpoint wins. */
@media (max-width: 1024px) {
    .workflow-lens-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .workflow-lens-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .workflow-lens-steps {
        grid-template-columns: 1fr;
    }
}

.workflow-lens-steps small {
    font-size: 0.88rem;
    line-height: 1.42;
}

@media (max-width: 768px) {
    .workflow-lens-steps strong {
        font-size: 1.28rem;
    }

    .workflow-lens-steps small {
        font-size: 0.92rem;
    }
}

/* Diagnostic option title emphasis */
.diagnostic-option strong {
    font-size: 1.26rem;
    line-height: 1.18;
}

@media (max-width: 768px) {
    .diagnostic-option strong {
        font-size: 1.3rem;
    }
}

/* Reliable anchor target for diagnostic fit-check CTA */
#booking-form {
    scroll-margin-top: 120px;
}

/* Problem section editorial balance */
.problem-section .section-title {
    font-size: clamp(2.45rem, 4.1vw, 3.75rem);
    line-height: 1.08;
    max-width: 520px;
}

.problem-right {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.problem-right .hype-vs-practical-widget {
    margin-top: auto;
}

.problem-approach-visual {
    width: 100%;
}

@media (max-width: 1024px) {
    .problem-section .section-title {
        max-width: 760px;
    }

    .problem-right .hype-vs-practical-widget {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .problem-section .section-title {
        font-size: clamp(2.25rem, 11vw, 3.15rem);
    }
}

/* Operational card label readability */
.proof-category,
.proof-card-badge,
.workflow-card-eyebrow,
.workflow-card-label,
.workflow-card h4,
.engagement-kicker,
.artifact-panel-header span,
.opportunity-head span,
.blueprint-node span,
.agenda-phase {
    font-family: var(--font-body) !important;
    letter-spacing: 0.055em;
    font-weight: 800;
    text-transform: uppercase;
}

.proof-category,
.workflow-card-eyebrow,
.engagement-kicker {
    font-size: 0.86rem !important;
    line-height: 1.3;
}

.proof-card-badge {
    font-size: 0.82rem !important;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.proof-card-title,
.workflow-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.14;
}

.workflow-card h4,
.workflow-card-label {
    font-size: 0.88rem !important;
    line-height: 1.35;
}

.workflow-card p,
.workflow-card li,
.proof-card-text,
.proof-output-list,
.proof-business-value {
    font-size: 1.02rem;
    line-height: 1.55;
}

[data-theme="dark"] .proof-category,
[data-theme="dark"] .workflow-card-eyebrow,
[data-theme="dark"] .workflow-card h4,
[data-theme="dark"] .workflow-card-label,
[data-theme="dark"] .engagement-kicker {
    color: var(--color-primary-hover) !important;
}

[data-theme="light"] .proof-category,
[data-theme="light"] .workflow-card-eyebrow,
[data-theme="light"] .workflow-card h4,
[data-theme="light"] .workflow-card-label,
[data-theme="light"] .engagement-kicker {
    color: var(--color-primary) !important;
}

@media (max-width: 768px) {
    .proof-card-title,
    .workflow-card h3 {
        font-size: 1.42rem;
    }

    .proof-category,
    .workflow-card-eyebrow,
    .engagement-kicker {
        font-size: 0.84rem !important;
    }
}

/* Proof and representative workflow label consistency */
.proof-metric,
.workflow-examples-eyebrow,
.workflow-example-type,
.workflow-example-section h5 {
    font-family: var(--font-body) !important;
    font-size: 0.86rem !important;
    line-height: 1.3;
    letter-spacing: 0.055em;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-primary-hover) !important;
}

.proof-metric {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem !important;
    font-weight: 700;
}

.workflow-example-card h4 {
    font-family: var(--font-heading);
    font-size: 1.42rem;
    line-height: 1.16;
}

.workflow-examples-header h3 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.08;
}

.workflow-example-section p,
.workflow-example-section li {
    font-size: 1.02rem;
    line-height: 1.55;
}

[data-theme="light"] .proof-metric,
[data-theme="light"] .workflow-examples-eyebrow,
[data-theme="light"] .workflow-example-type,
[data-theme="light"] .workflow-example-section h5 {
    color: var(--color-primary) !important;
}

@media (max-width: 768px) {
    .workflow-example-card h4 {
        font-size: 1.34rem;
    }

    .proof-metric,
    .workflow-examples-eyebrow,
    .workflow-example-type,
    .workflow-example-section h5 {
        font-size: 0.84rem !important;
    }
}

/* Representative workflow subsection label scale */
.workflow-example-section h5 {
    font-size: 0.78rem !important;
    line-height: 1.25;
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .workflow-example-section h5 {
        font-size: 0.76rem !important;
    }
}

/* Light-mode contact contrast repair */
[data-theme="light"] .cta-section {
    background: linear-gradient(180deg, #eef0f4 0%, #f7f8fa 100%) !important;
    color: var(--color-text-primary) !important;
}

[data-theme="light"] .cta-bg-glow {
    background: rgba(66, 103, 175, 0.12);
    opacity: 0.55;
}

[data-theme="light"] .cta-section .section-title,
[data-theme="light"] .cta-section .text-white {
    color: var(--color-text-primary) !important;
}

[data-theme="light"] .cta-section .body-text,
[data-theme="light"] .cta-section .text-light,
[data-theme="light"] .contact-bullet-item span {
    color: var(--color-text-secondary) !important;
}

[data-theme="light"] .cta-section .badge {
    color: var(--color-primary) !important;
    background-color: rgba(66, 103, 175, 0.1) !important;
    border-color: rgba(66, 103, 175, 0.24) !important;
}

[data-theme="light"] .bullet-icon {
    color: var(--color-primary) !important;
}

[data-theme="light"] .booking-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(40, 56, 81, 0.14) !important;
    box-shadow: 0 22px 56px rgba(40, 56, 81, 0.12) !important;
}

[data-theme="light"] .form-title-area h3 {
    color: var(--color-text-primary) !important;
}

[data-theme="light"] .form-title-area p,
[data-theme="light"] .form-note {
    color: var(--color-text-secondary) !important;
}

[data-theme="light"] .form-group label {
    color: #5F574E !important;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(40, 56, 81, 0.2) !important;
    color: var(--color-text-primary) !important;
    box-shadow: inset 0 1px 0 rgba(40, 56, 81, 0.03);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #828e9e !important;
    opacity: 1;
}

[data-theme="light"] .form-group select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2328303a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
}

[data-theme="light"] .form-group select option {
    background-color: #FFFFFF !important;
    color: var(--color-text-primary) !important;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    background-color: #FFFFFF !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(66, 103, 175, 0.14) !important;
}

/* Footer label consistency */
.footer-column h4 {
    font-family: var(--font-body) !important;
    font-size: 0.8rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

.footer-column a {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    line-height: 1.45;
}

[data-theme="light"] .footer-column h4 {
    color: #3A352F !important;
}

[data-theme="light"] .footer-column a {
    color: #6A6259 !important;
}

[data-theme="light"] .footer-column a:hover {
    color: var(--color-primary) !important;
}

/* Proof bar chip readability */
.logo-item,
.proof-text-badge {
    font-family: var(--font-body) !important;
    letter-spacing: 0.06em;
    font-weight: 800;
    text-transform: uppercase;
}

.logo-item {
    color: var(--color-text-primary) !important;
    background-color: rgba(255, 255, 255, 0.78);
    border-color: rgba(40, 56, 81, 0.16) !important;
    font-size: 0.8rem;
    line-height: 1.15;
}

.proof-text-badge {
    font-size: 0.78rem;
    color: var(--color-primary) !important;
    background-color: rgba(66, 103, 175, 0.12) !important;
    border-color: rgba(66, 103, 175, 0.2) !important;
}

[data-theme="dark"] .logo-item {
    color: var(--color-text-primary) !important;
    background-color: rgba(247, 248, 250, 0.08);
    border-color: rgba(247, 248, 250, 0.14) !important;
}

[data-theme="dark"] .proof-text-badge {
    color: #D7FFFA !important;
    background-color: rgba(106, 133, 202, 0.16) !important;
    border-color: rgba(106, 133, 202, 0.28) !important;
}

/* Diagnostic intro title emphasis */
.workflow-diagnostic-intro h3 {
    font-size: clamp(1.65rem, 2.45vw, 2.2rem);
    line-height: 1.08;
}

@media (max-width: 768px) {
    .workflow-diagnostic-intro h3 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }
}

/* Start Here card label hierarchy tuning */
.offer-path-card span {
    font-size: 0.72rem;
    line-height: 1.25;
    letter-spacing: 0.07em;
    font-weight: 800;
}

@media (max-width: 768px) {
    .offer-path-card span {
        font-size: 0.72rem;
    }
}

/* Density pass: remove redundant process panel and shorten proof/workflow previews */
.process-stepper {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    max-width: 980px;
    margin-inline: auto;
}

.process-detail-panel {
    display: none !important;
}

.workflow-example-card-compact .workflow-example-section {
    margin-top: 1.05rem;
}

.workflow-example-card-compact .workflow-example-section + .workflow-example-section {
    padding-top: 0.85rem;
    border-top: 1px solid color-mix(in srgb, var(--color-line) 72%, transparent);
}

.workflow-example-card-compact .workflow-impact {
    margin-top: 1.05rem;
}

.founder-bio {
    max-width: 62ch;
}

.founder-credentials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 920px) {
    .process-stepper {
        grid-template-columns: 40px minmax(0, 1fr) !important;
    }

    .founder-credentials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .process-stepper {
        grid-template-columns: 1fr !important;
    }
}

/* Front-end craft pass: spacing and hierarchy polish */
.badge,
.proof-text-badge,
.workflow-lens-eyebrow,
.workflow-diagnostic-kicker,
.diagnostic-result-topline,
.service-kicker,
.offer-path-card span,
.form-group label,
.footer-column h4,
.workflow-examples-eyebrow,
.workflow-example-type,
.workflow-example-section h5,
.proof-category {
    letter-spacing: 0.045em !important;
}

.section-title + .section-subhead,
.proof-header .section-subhead,
.offer-path-header .section-subhead,
.services-header .section-subhead {
    margin-top: 1.15rem;
}

.section-subhead,
.proof-header .section-subhead {
    max-width: 720px;
    margin-inline: auto;
}

.hero-proof-points {
    gap: 1.25rem !important;
    margin-top: 2.1rem !important;
}

.hero-proof-item {
    padding: 1.25rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hero-proof-item strong {
    margin-bottom: 0 !important;
}

.workflow-diagnostic {
    gap: 1.75rem !important;
    padding: 1.5rem !important;
}

.workflow-diagnostic-body {
    gap: 1.35rem !important;
}

.diagnostic-options {
    gap: 0.85rem !important;
}

.diagnostic-option {
    padding: 1rem 1.05rem !important;
    min-height: 86px;
    border-radius: 8px;
}

.process-stepper {
    gap: 2rem !important;
}

.process-rail {
    gap: 2rem !important;
}

.process-steps {
    gap: 1rem !important;
}

.founder-links {
    gap: 1rem 1.6rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.35rem;
}

.founder-link {
    min-height: 44px;
    padding-inline: 1rem;
}

.about-section {
    padding-block: clamp(5.5rem, 8vw, 8rem) !important;
}

.about-grid {
    gap: clamp(3rem, 6vw, 5.5rem) !important;
    align-items: center;
}

.booking-form {
    gap: 1.05rem !important;
}

.booking-card {
    padding-top: clamp(2rem, 4vw, 2.75rem) !important;
}

.footer-container {
    grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr) !important;
    gap: clamp(3rem, 8vw, 7rem) !important;
}

.footer-links-group {
    gap: clamp(2.75rem, 6vw, 5.5rem) !important;
}

.footer-column {
    gap: 0.95rem !important;
}

.footer-column h4 {
    margin-bottom: 0.35rem !important;
}

.footer-bottom-container,
.footer-bottom-links {
    row-gap: 1rem;
}

@media (max-width: 920px) {
    .footer-container {
        grid-template-columns: 1fr !important;
    }

    .footer-links-group {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .hero-proof-points,
    .diagnostic-options,
    .footer-links-group {
        gap: 1rem !important;
    }

    .workflow-diagnostic {
        padding: 1.15rem !important;
    }
}

@media (max-width: 560px) {
    .footer-links-group {
        grid-template-columns: 1fr !important;
    }
}

/* Comparison widget full-render pass */
.hype-vs-practical-widget {
    padding: 1.4rem !important;
}

.hype-vs-practical-widget .widget-header {
    align-items: flex-start;
    gap: 1rem 1.25rem;
}

.hype-vs-practical-widget .toggle-buttons {
    gap: 0.35rem;
    padding: 0.25rem;
}

.hype-vs-practical-widget .toggle-btn {
    min-height: 38px;
    padding: 0.55rem 0.9rem !important;
}

.hype-vs-practical-widget .widget-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.1rem;
}

.hype-vs-practical-widget .comparison-panel {
    display: block !important;
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--color-bg-card) 82%, transparent);
    opacity: 0.84;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

.hype-vs-practical-widget .comparison-panel.is-focused {
    opacity: 1;
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--color-primary) 55%, var(--color-border));
    box-shadow: 0 12px 28px rgba(66, 103, 175, 0.1);
}

.comparison-panel-title {
    margin: 0 0 0.85rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

.comparison-panel-generic .comparison-panel-title {
    color: #9f3333;
}

.comparison-panel-practical .comparison-panel-title {
    color: var(--color-primary);
}

.hype-vs-practical-widget .comparison-list {
    gap: 0.8rem;
}

.hype-vs-practical-widget .comparison-list li {
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--color-text-primary);
}

[data-theme="dark"] .hype-vs-practical-widget .comparison-panel {
    background-color: rgba(247, 248, 250, 0.045);
    border-color: rgba(247, 248, 250, 0.12);
}

[data-theme="dark"] .hype-vs-practical-widget .comparison-panel.is-focused {
    border-color: rgba(106, 133, 202, 0.55);
    background-color: rgba(106, 133, 202, 0.06);
}

[data-theme="dark"] .comparison-panel-generic .comparison-panel-title {
    color: #f2a7a7;
}

[data-theme="dark"] .comparison-panel-practical .comparison-panel-title {
    color: #9be3dc;
}

@media (max-width: 760px) {
    .hype-vs-practical-widget .widget-header {
        flex-direction: column;
    }

    .hype-vs-practical-widget .toggle-buttons,
    .hype-vs-practical-widget .toggle-btn {
        width: 100%;
    }

    .hype-vs-practical-widget .widget-content {
        grid-template-columns: 1fr;
    }
}

/* Pre-publish micro-polish pass */
.nav-menu {
    gap: clamp(1.6rem, 2.4vw, 2.75rem) !important;
}

.nav-actions {
    gap: 1rem !important;
}

.hero-proof-points {
    gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.hero-proof-item {
    border-color: color-mix(in srgb, var(--color-primary) 24%, var(--color-border)) !important;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--color-bg-card) 94%, var(--color-primary) 6%), var(--color-bg-card));
    box-shadow: 0 14px 30px rgba(40, 56, 81, 0.08) !important;
}

.diagnostic-options {
    gap: 1rem !important;
}

.diagnostic-option {
    min-height: 96px !important;
    padding: 1.1rem 1.15rem !important;
    box-shadow: 0 10px 24px rgba(40, 56, 81, 0.045);
}

.diagnostic-option.active {
    box-shadow: 0 0 0 3px rgba(66, 103, 175, 0.1), 0 14px 30px rgba(66, 103, 175, 0.08) !important;
}

.process-steps {
    gap: 1.15rem !important;
}

.process-step-item {
    padding: 1.65rem !important;
}

.process-step-item.active {
    box-shadow: 0 0 0 3px rgba(66, 103, 175, 0.1), 0 16px 34px rgba(66, 103, 175, 0.1) !important;
}

.hype-vs-practical-widget .widget-content {
    align-items: stretch;
}

.hype-vs-practical-widget .comparison-panel {
    opacity: 0.95 !important;
    padding: 1.1rem !important;
}

.hype-vs-practical-widget .comparison-panel.is-focused {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: 0 10px 24px rgba(66, 103, 175, 0.08) !important;
}

.founder-links .founder-link-icon {
    min-height: 46px !important;
    padding: 0.55rem 1rem 0.55rem 0.65rem !important;
    border-color: color-mix(in srgb, var(--color-primary) 26%, var(--color-border)) !important;
    background-color: color-mix(in srgb, var(--color-bg-card) 90%, var(--color-primary) 10%) !important;
    box-shadow: 0 10px 22px rgba(40, 56, 81, 0.06);
}

.booking-form {
    gap: 1.2rem !important;
}

.form-group {
    gap: 0.55rem !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    min-height: 46px;
}

.form-note {
    margin-top: 0.15rem !important;
}

.footer-links-group {
    column-gap: clamp(3.5rem, 7vw, 6rem) !important;
    row-gap: 2rem !important;
}

.footer-column {
    gap: 1.05rem !important;
}

.footer-column a {
    width: fit-content;
    padding-block: 0.05rem;
}

.service-card-link {
    min-height: 34px;
    align-items: center;
}

@media (max-width: 980px) {
    .nav-menu {
        gap: 1.25rem !important;
    }

    .nav-link {
        font-size: 0.86rem;
    }
}

@media (max-width: 768px) {
    .mobile-nav-links {
        gap: 1.15rem !important;
    }

    .mobile-nav-link {
        padding-block: 0.7rem !important;
    }

    .hero-proof-points,
    .diagnostic-options,
    .process-steps,
    .footer-column {
        gap: 1.05rem !important;
    }

    .service-card-link {
        width: fit-content;
        max-width: 100%;
        line-height: 1.25;
    }
}

@media (max-width: 480px) {
    .hero-proof-item,
    .diagnostic-option,
    .process-step-item {
        padding: 1rem !important;
    }

    .footer-bottom-container,
    .footer-bottom-links {
        align-items: flex-start;
        justify-content: flex-start;
    }
}

/* Mobile problem-section interaction order */
@media (max-width: 1024px) {
    .problem-container {
        display: flex !important;
        flex-direction: column;
        gap: 1.5rem !important;
    }

    .problem-left,
    .problem-right {
        display: contents !important;
    }

    .problem-left .section-title {
        order: 1;
    }

    .problem-right .body-text {
        order: 2;
        margin-bottom: 0;
    }

    .problem-right .highlight-bridge {
        order: 3;
        margin-top: 0.25rem;
    }

    .problem-right .hype-vs-practical-widget {
        order: 4;
        margin-top: 0.75rem !important;
    }

    .problem-approach-visual {
        order: 5;
        margin-top: 0 !important;
        max-width: 720px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .problem-container {
        gap: 1.2rem !important;
    }

    .problem-right .hype-vs-practical-widget {
        margin-top: 0.5rem !important;
    }
}
