/* =====================================================
   Brownstone Consulting — Institutional Enterprise UI
   Exact Specs: Header (80px, #FFFFFF, Hairline #E2E8F0)
   Hero (1050px max-width, left aligned, 56px headline)
   3-Column Editorial Grid (48px gap, #E2E8F0 hairline divider)
   ===================================================== */

/* ── Reset & Foundation ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --white: #FFFFFF;
    --navy: #0F172A;
    --slate: #475569;
    --blue: #1E40AF;
    --blue-hover: #1d4ed8;
    --border: #E2E8F0;
    --bg-subtle: #F8FAFC;
    
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Space Mono', monospace;
}

.font-brand {
    font-family: 'Cinzel', 'Times New Roman', Georgia, serif !important;
    letter-spacing: 0.18em !important;
    font-weight: 700 !important;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: var(--white);
    color: var(--navy);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* ── 1. Header Navigation Bar (Fixed Top) ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.header-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left Brand Text */
.brand-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brand-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.24em;
    color: #070F1E;
    text-transform: uppercase;
    line-height: 1;
}

/* Center Navigation Links */
.center-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-item {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.25s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Dropdown Container */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-chevron {
    transition: transform 0.25s ease, color 0.25s ease;
    color: var(--slate);
}

.nav-dropdown-wrapper:hover .dropdown-chevron,
.nav-dropdown-wrapper.active .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--blue);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -12px;
    width: 380px;
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 8px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 12px 8px 12px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 6px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 12px;
}

.dropdown-item:hover {
    background-color: #EFF6FF;
    transform: translateX(2px);
}

.item-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-title {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.2s ease;
}

.dropdown-item:hover .item-title {
    color: var(--blue);
}

.item-desc {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    color: #64748B;
    line-height: 1.35;
}

.item-arrow {
    font-size: 12px;
    color: #94A3B8;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.dropdown-item:hover .item-arrow {
    color: var(--blue);
    transform: translateX(3px);
}

/* Mobile Nav Groups */
.mobile-nav-group {
    padding: 12px 0 8px 0;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
    margin: 8px 0;
}

.mobile-group-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.mobile-nav-subitem {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 8px 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.subitem-title {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.subitem-desc {
    font-family: var(--font-sans);
    font-size: 11px;
    color: #64748B;
    line-height: 1.3;
}

.mobile-nav-subitem:hover .subitem-title {
    color: var(--blue);
}

/* Right Action Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-pill-blue {
    background-color: var(--blue);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 6px;
    border: 1.5px solid var(--blue);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.btn-pill-blue:hover {
    background-color: var(--blue-hover);
    border-color: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.2);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--navy);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    border-left: 1px solid var(--border);
    z-index: 1005;
    padding: 32px 32px 40px;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.mobile-nav-item {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-item:hover {
    color: var(--blue);
}

/* ── 2. Main Executive Hero Section ── */
.main-wrapper {
    padding-top: 80px;
    background-color: var(--white);
}

.hero-section {
    padding: 80px 48px 40px 48px;
}

.hero-container {
    max-width: 860px;
    margin: 0 auto 0 0; /* Focused left-aligned container */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 860px;
}

/* Eyebrow Label */
.eyebrow-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue);
    letter-spacing: 0.22em;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.star-icon {
    font-size: 12px;
}

/* Main Headline */
.main-headline {
    font-family: var(--font-sans);
    font-size: clamp(3.2rem, 5.5vw, 4.75rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--navy);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

/* Sub-headline Copy */
.sub-headline {
    font-family: var(--font-sans);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--slate);
    max-width: 760px;
    margin-bottom: 44px;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 0;
}

.btn-solid-blue {
    background-color: var(--blue);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 6px;
    border: 1.5px solid var(--blue);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.btn-solid-blue:hover {
    background-color: var(--blue-hover);
    border-color: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 6px;
    border: 1.5px solid var(--navy);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-outline-dark:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.arrow-down {
    transition: transform 0.25s ease;
}

.btn-outline-dark:hover .arrow-down {
    transform: translateY(2px);
}

/* ── 3. Institutional 3-Column Editorial Grid ── */
.editorial-section {
    padding: 0 48px 80px 48px;
    background-color: var(--white);
}

.editorial-container {
    max-width: 1050px;
    margin: 0 auto 0 0; /* Left aligned container matching hero */
}

/* Top Hairline Divider Line */
.hairline-divider {
    height: 1px;
    background-color: var(--border);
    width: 100%;
    margin-bottom: 48px;
}

/* 3 Equal Horizontal Columns with 48px gap */
.grid-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.editorial-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background-color: #F8FAFD;
    border: 1px solid #E2E8F0;
    border-left: 4px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.editorial-col:hover {
    transform: translateY(-3px);
    background-color: #FFFFFF;
    border-color: #CBD5E1;
    border-left-color: #1E40AF;
    box-shadow: 0 10px 28px rgba(30, 64, 175, 0.08);
}

/* Column Eyebrow */
.col-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue);
    letter-spacing: 0.15em;
    margin-bottom: 14px;
}

/* Column Title */
.col-title {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

/* Column Body */
.col-body {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Text Link */
.col-link {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.arrow-right {
    transition: transform 0.25s ease;
}

.col-link:hover {
    color: var(--blue-hover);
}

.col-link:hover .arrow-right {
    transform: translateX(4px);
}

/* ── Modals & Overlays ── */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    max-width: 580px;
    width: 100%;
    padding: 40px;
    position: relative;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-backdrop.active .modal-window {
    transform: translateY(0) scale(1);
}

.modal-window-wide {
    max-width: 720px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--slate);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: var(--navy);
}

.modal-header {
    margin-bottom: 28px;
}

.modal-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.5;
}

/* Form Styles */
.audit-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full-width {
    grid-column: span 2;
}

.form-field label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-sans);
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--bg-subtle);
    color: var(--navy);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background-color: var(--white);
}

.btn-full {
    width: 100%;
    margin-top: 6px;
}

.form-security-note {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    text-align: center;
    margin-top: 4px;
}

/* Modal Content & Stats */
.paper-lead {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 24px;
}

.paper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.paper-stat-box {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    font-family: var(--font-sans);
}

.stat-lbl {
    font-size: 12px;
    color: var(--slate);
    margin-top: 4px;
    line-height: 1.3;
}

.methodology-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.timeline-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 4px;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: var(--slate);
}

.case-study-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.case-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
}

.case-industry {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 6px;
}

.case-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.case-card p {
    font-size: 13px;
    color: var(--slate);
    margin-bottom: 12px;
}

.case-metric {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
}

.modal-actions-bar {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.modal-thankyou {
    text-align: center;
    padding: 20px 0;
}

.thankyou-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--blue);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.modal-thankyou h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.modal-thankyou p {
    font-size: 14px;
    color: var(--slate);
    margin-bottom: 24px;
}

/* ── 3.5 How Brownstone Works & AI Diagnostic Audit Section ── */
.how-it-works-section, #methodology {
    padding: 96px 48px;
    background-color: #F4F7FB;
    border-top: 1px solid #BFDBFE;
    border-bottom: 1px solid #BFDBFE;
    scroll-margin-top: 100px;
}

.how-it-works-container {
    max-width: 1140px;
    margin: 0 auto;
}

.methodology-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue);
    letter-spacing: 0.18em;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.methodology-main-title {
    font-family: var(--font-sans);
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.methodology-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.6;
}

/* Layer 1: Audit Hero Dual-Layer Glass Card */
.audit-hero-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F6F9FD 50%, #EDF4FC 100%);
    border: 1px solid #BFDBFE;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.06);
    margin-bottom: 56px;
    transition: all 0.3s ease;
}

.audit-hero-card:hover {
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.1);
    border-color: #93C5FD;
}

.audit-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(191, 219, 254, 0.6);
}

.audit-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.audit-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--blue);
    box-shadow: 0 0 10px rgba(30, 64, 175, 0.8);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(30, 64, 175, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
    }
}

.recommended-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    background-color: rgba(30, 64, 175, 0.08);
    color: var(--blue);
    border: 1px solid rgba(30, 64, 175, 0.25);
    padding: 6px 14px;
    border-radius: 6px;
    letter-spacing: 0.08em;
}

.audit-pitch-title {
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.audit-pitch-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 32px;
}

.audit-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.audit-step-box {
    background-color: #FFFFFF;
    border: 1px solid rgba(191, 219, 254, 0.8);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.audit-step-box:hover {
    border-color: #60A5FA;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
    transform: translateY(-2px);
}

.step-num-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.step-desc {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--slate);
    line-height: 1.5;
}

.audit-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(191, 219, 254, 0.6);
}

.trust-guarantee {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 8px;
}

.audit-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Layer 2: 3 Delivery Pillars */
.pillars-wrapper {
    margin-bottom: 56px;
}

.pillars-header {
    text-align: center;
    margin-bottom: 32px;
}

.pillars-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.pillars-title {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 6px;
}

.pillars-3grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    border-color: #93C5FD;
    background-color: #F8FAFD;
}

/* Card 01 Highlight Feature Card */
.pillar-card-highlight {
    background: linear-gradient(135deg, #0F2856 0%, #163674 50%, #1E40AF 100%);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #FFFFFF;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.pillar-card-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(30, 64, 175, 0.32);
    border-color: #60A5FA;
    background: linear-gradient(135deg, #0A1C3E 0%, #122C60 50%, #1D4ED8 100%);
}

.pillar-card-highlight .pillar-number {
    color: #FFFFFF;
}

.pillar-card-highlight .pillar-card-title {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
}

.pillar-card-highlight .pillar-card-body {
    color: rgba(219, 234, 254, 0.9);
    font-size: 14px;
    line-height: 1.6;
}

.pillar-card-highlight .pillar-tag {
    color: #BFDBFE;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.pillar-card-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 600;
    color: #BFDBFE;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pillar-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pillar-number {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
}

.pillar-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--blue);
    background-color: rgba(30, 64, 175, 0.06);
    border: 1px solid rgba(30, 64, 175, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.08em;
}

.pillar-card-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.pillar-card-body {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--slate);
    line-height: 1.6;
}

/* Layer 3: Interactive Workflow Deep Navy Glass Stage */
.workflow-engine-card {
    background-color: #0A1628;
    border: 1px solid rgba(30, 64, 175, 0.4);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 16px 40px rgba(10, 22, 40, 0.4);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.workflow-engine-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(30, 64, 175, 0.3);
}

.workflow-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #60A5FA;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.workflow-title {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
}

.workflow-tab-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #060D19;
    border: 1px solid rgba(30, 64, 175, 0.35);
    padding: 4px;
    border-radius: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: transparent;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background-color: var(--blue);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.4);
}

.tab-btn:hover:not(.active) {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.08);
}

.workflow-desc-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background-color: #0F1F38;
    border: 1px solid rgba(30, 64, 175, 0.35);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 28px;
}

.workflow-desc-text {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #DBEAFE;
}

.workflow-badge-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #93C5FD;
    background-color: rgba(30, 64, 175, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.flowchart-engine {
    position: relative;
    margin-bottom: 0;
}

.flowchart-nodes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    position: relative;
}

.flow-node {
    background-color: #132238;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 10px;
    padding: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.flow-node:hover {
    border-color: #60A5FA;
    background-color: #182C48;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.node-step-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #60A5FA;
    margin-bottom: 6px;
}

.node-title {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    margin-bottom: 4px;
}

.node-sub {
    font-family: var(--font-sans);
    font-size: 11px;
    color: #94A3B8;
}

.node-arrow {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #0A1628;
    border: 1px solid rgba(96, 165, 250, 0.4);
    font-size: 11px;
    color: #60A5FA;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
    0% {
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(96, 165, 250, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    }
}

.workflow-telemetry-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(30, 64, 175, 0.3);
}

.telemetry-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0F1F38;
    border: 1px solid rgba(30, 64, 175, 0.35);
    padding: 14px;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #93C5FD;
}

.telemetry-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #34D399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
}

/* ── Section 04: Connected to Your Stack (Infinite Moving Marquee - Light Theme) ── */
.stack-marquee-section {
    background-color: #FAFAFC;
    color: #0F172A;
    padding: 80px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.stack-container {
    max-width: 1140px;
    margin: 0 auto 40px auto;
    padding: 0 48px;
}

.stack-main-title {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
}

.text-blue-highlight {
    color: #1E40AF;
    font-weight: 700;
}

.stack-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    color: #475569;
    max-width: 680px;
    line-height: 1.6;
}

.marquee-stack-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.marquee-track-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    shrink: 0;
    gap: 12px;
    padding: 6px 0;
    width: max-content;
}

.marquee-normal {
    animation: marquee-scroll 32s linear infinite;
}

.marquee-reverse {
    animation: marquee-reverse-scroll 32s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-reverse-scroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

.stack-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 9999px;
    background-color: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: default;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stack-pill:hover {
    border-color: #3B82F6;
    background-color: #FFFFFF;
    color: #0F172A;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.12);
    transform: translateY(-1px);
}

.tool-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.bg-amber {
    background-color: #F59E0B;
}

.bg-blue {
    background-color: #2563EB;
}

.bg-emerald {
    background-color: #10B981;
}

.bg-slate {
    background-color: #94A3B8;
}

/* ── Section 05: The Process (Editorial Delivery Lifecycle Ledger - Light Theme) ── */
.process-ledger-section {
    background-color: #FFFFFF;
    color: #0F172A;
    padding: 80px 48px;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.process-container {
    max-width: 1140px;
    margin: 0 auto;
}

.process-header-block {
    max-width: 760px;
    margin-bottom: 56px;
}

.process-main-title {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.process-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}

.ledger-rows-wrapper {
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.ledger-row-item {
    display: grid;
    grid-template-columns: 100px 320px 1fr;
    gap: 24px;
    padding: 36px 20px;
    border-bottom: 1px solid #E2E8F0;
    transition: background-color 0.3s ease;
    border-radius: 12px;
}

.ledger-row-item:last-child {
    border-bottom: none;
}

.ledger-row-item:hover {
    background-color: #FAFAFC;
}

.ledger-num-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ledger-num {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: #1E40AF;
    transition: color 0.25s ease;
}

.ledger-row-item:hover .ledger-num {
    color: #1D4ED8;
}

.ledger-slash {
    font-family: var(--font-mono);
    font-size: 20px;
    color: #CBD5E1;
}

.ledger-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #1E40AF;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ledger-title {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    transition: color 0.25s ease;
}

.ledger-row-item:hover .ledger-title {
    color: #1E40AF;
}

.ledger-desc-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.ledger-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    color: #475569;
    line-height: 1.65;
}

.ledger-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #1E40AF;
    background-color: #EFF6FF;
    border: 1px solid rgba(191, 219, 254, 0.8);
    padding: 5px 14px;
    border-radius: 6px;
    width: fit-content;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .ledger-row-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 28px 16px;
    }
}

/* Responsive adjustments for Section 3.5 */
@media (max-width: 1024px) {
    .audit-process-grid,
    .pillars-3grid {
        grid-template-columns: 1fr;
    }

    .flowchart-nodes {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .node-arrow {
        right: 50%;
        top: auto;
        bottom: -16px;
        transform: translateX(50%) rotate(90deg);
    }

    .workflow-telemetry-row {
        grid-template-columns: 1fr;
    }
}

/* ── 4. Client-to-Consultant Diagnostic Conversation ── */
.diagnostic-section {
    padding: 96px 48px;
    background-color: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.diagnostic-container {
    max-width: 1140px;
    margin: 0 auto;
}

.section-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px auto;
}

.diagnostic-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue);
    letter-spacing: 0.18em;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.diamond-icon {
    font-size: 10px;
}

.diagnostic-title {
    font-family: var(--font-sans);
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.diagnostic-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.6;
}

/* 16:9 Executive Video Walkthrough Player */
.video-walkthrough-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.video-frame,
.video-frame-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.12);
    transition: box-shadow 0.3s ease;
}

.video-frame:hover,
.video-frame-container:hover {
    box-shadow: 0 20px 44px -10px rgba(15, 23, 42, 0.16);
}

.executive-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    outline: none;
}

.video-overlay-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    pointer-events: none;
    z-index: 2;
}

.video-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #059669;
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    animation: pulse-emerald 2s infinite;
}

/* ── Responsive Adaptations ── */
@media (max-width: 1024px) {
    .header-container,
    .hero-section,
    .editorial-section,
    .diagnostic-section {
        padding-left: 32px;
        padding-right: 32px;
    }
    
    .grid-columns {
        gap: 32px;
    }
}

@media (max-width: 840px) {
    .center-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .main-headline {
        font-size: 44px;
    }
    
    .grid-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .image-frame {
        height: 300px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-field.full-width {
        grid-column: span 1;
    }
}

/* ── Sales & Operations (S&OP) Focus Area Page Styles ── */
.sop-hero-section {
    padding: 80px 48px 60px 48px;
    background-color: var(--white);
}

.sop-container {
    max-width: 1040px;
    margin: 0 auto;
}

.breadcrumb-trail {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--slate);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-trail a {
    color: var(--slate);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
    color: var(--blue);
}

.specialization-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background-color: #EFF6FF;
    border: 1px solid rgba(191, 219, 254, 0.9);
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sop-main-title {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.sop-lead-paragraph {
    font-family: var(--font-sans);
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.sop-sub-lead {
    font-family: var(--font-sans);
    font-size: 19px;
    color: #0F172A;
    line-height: 1.65;
    margin-bottom: 36px;
}

.sop-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sop-section {
    padding: 80px 48px;
    border-top: 1px solid #E2E8F0;
}

.bg-light-surface {
    background-color: #FAFAFC;
}

.bg-white {
    background-color: #FFFFFF;
}

.section-header-left {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* Friction Cards Grid */
.friction-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.friction-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.friction-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.08);
    transform: translateY(-2px);
}

.friction-num {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #FEF2F2;
    color: #DC2626;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.friction-card h3 {
    font-family: var(--font-sans);
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.friction-card p {
    font-family: var(--font-sans);
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* Execution Pillars */
.execution-pillars-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.execution-pillar-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    border-radius: 12px;
    background-color: #FAFAFC;
    border: 1px solid #E2E8F0;
    transition: all 0.25s ease;
}

.execution-pillar-row:hover {
    border-color: #93C5FD;
    background-color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.06);
}

.pillar-num {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: var(--blue);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-content h3 {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.pillar-content p {
    font-family: var(--font-sans);
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* Impact Outcomes Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.impact-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.impact-card h3 {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.impact-card p {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 20px;
}

.impact-metric {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
}

/* CTA Banner Box */
.cta-banner-box {
    background: linear-gradient(135deg, #0F2856 0%, #163674 50%, #1E40AF 100%);
    border-radius: 16px;
    padding: 48px;
    color: #FFFFFF;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.banner-tag {
    font-size: 11px;
    font-weight: 700;
    color: #BFDBFE;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.cta-banner-box h2 {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 14px;
}

.cta-banner-box p {
    font-family: var(--font-sans);
    font-size: 16px;
    color: #DBEAFE;
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 28px;
}

@media (max-width: 900px) {
    .friction-grid,
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .friction-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .execution-pillar-row {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .header-container,
    .hero-section,
    .editorial-section {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .main-headline {
        font-size: 36px;
    }
    
    .sub-headline {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-solid-blue,
    .btn-outline-dark {
        width: 100%;
    }
    
    .paper-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Comprehensive Mobile & Multi-Device Responsiveness
   Pixel-perfect support for 320px, 375px, 425px, 640px, 768px, 1024px
   ===================================================== */

@media (max-width: 1024px) {
    .flowchart-nodes {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .node-arrow {
        display: none !important;
    }
    .pillars-3grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px !important;
        height: 72px !important;
    }

    .main-headline {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }

    .sub-headline {
        font-size: 15px !important;
    }

    .stack-main-title,
    .methodology-main-title,
    .process-main-title,
    .sop-title {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .stack-container,
    .process-container,
    .how-it-works-container,
    .sop-container {
        padding: 0 20px !important;
    }

    .how-it-works-section,
    .editorial-section,
    .stack-marquee-section,
    .process-ledger-section,
    .sop-hero-section,
    .sop-section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .audit-hero-card {
        padding: 24px 20px !important;
    }

    .audit-footer-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        text-align: center !important;
    }

    .audit-cta-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .workflow-engine-card {
        padding: 24px 16px !important;
    }

    .tab-nav-bar {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 10px !important;
        gap: 8px !important;
        scrollbar-width: none !important;
    }

    .tab-nav-bar::-webkit-scrollbar {
        display: none !important;
    }

    .tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 11px !important;
        padding: 8px 12px !important;
    }

    .flowchart-nodes {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .node-arrow {
        display: none !important;
    }

    .workflow-telemetry-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .ledger-row-item {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 24px 20px !important;
    }

    .modal-card {
        padding: 24px 18px !important;
        max-width: 95vw !important;
        width: 100% !important;
        margin: 12px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }

    .cta-banner-box {
        padding: 32px 20px !important;
        border-radius: 12px !important;
    }

    .cta-banner-box h2 {
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .main-headline {
        font-size: 28px !important;
    }

    .btn-solid-blue,
    .btn-outline-dark,
    .audit-cta-btn {
        font-size: 13px !important;
        padding: 12px 18px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .hero-badges {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .badge-pill {
        font-size: 10px !important;
        padding: 4px 10px !important;
    }

    .mobile-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

/* AI Diagnostic Audit Card - 2-Column Hero Split & 3D Isometric Architecture Graphic */
.audit-top-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(191, 219, 254, 0.6);
}

@media (min-width: 992px) {
    .audit-top-split {
        grid-template-columns: 7fr 5fr;
    }
}

.audit-right-graphic {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.audit-right-graphic img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
}

.audit-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #DBEAFE;
    border-radius: 12px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    margin-top: 16px;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.04);
}

.audit-3d-card-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    border: 1px solid #DBEAFE;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.06);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 20px;
    transition: all 0.4s ease;
}

.audit-3d-card-wrapper:hover {
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.12);
    border-color: #BFDBFE;
}

.audit-3d-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(30, 64, 175, 0.06) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(30, 64, 175, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.audit-3d-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12) 0%, transparent 75%);
    pointer-events: none;
}

.audit-3d-spec-sheet {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.1);
    transform: rotate(-1deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.audit-3d-card-wrapper:hover .audit-3d-spec-sheet {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.15);
}

.audit-spec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.audit-spec-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.audit-spec-tags {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-slate {
    background: #3B2F2F;
    color: #FFFFFF;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tag-navy {
    background: #1E40AF;
    color: #FFFFFF;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.audit-node-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.audit-node-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 12px;
}

.audit-node-item.node-dark {
    background: #3B2F2F;
    border-color: #3B2F2F;
    color: #FFFFFF;
}

.audit-node-item.node-blue {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.node-title-sub {
    display: flex;
    flex-direction: column;
}

.node-main-text {
    font-weight: 700;
    font-size: 12px;
}

.node-sub-text {
    font-size: 10px;
    color: #64748B;
}

.node-dark .node-sub-text {
    color: #CBD5E1;
}

.node-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.node-badge-active {
    color: #059669;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
}

.node-badge-verified {
    color: #BFDBFE;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.node-badge-deployed {
    color: #1E40AF;
    background: #FFFFFF;
    border: 1px solid #BFDBFE;
}

.audit-spec-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: justify-between;
    font-family: var(--font-mono);
    font-size: 9px;
    color: #64748B;
}

/* S&OP Page Responsive Grid Overrides */
@media (min-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1.2fr 0.8fr !important;
    }
}

@media (max-width: 991px) {
    .hero-split-grid,
    .framework-card-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .friction-grid-2x2 {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   Universal Responsive Layout & Viewport Optimization
   ===================================================== */

/* 1. Global Box Reset & Overflow Containment */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* 2. Responsive Image & Video Containers */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* 3. Table Horizontal Scroll Wrapper */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin: 24px 0;
    -webkit-overflow-scrolling: touch;
}

/* 4. Responsive Grid & Flex Rules */
@media (max-width: 1023px) {
    .site-header .center-nav,
    .site-header .nav-links {
        display: none !important;
    }
    
    .mobile-menu-btn,
    #mobile-toggle,
    #mobileMenuBtn {
        display: flex !important;
    }

    .hero-split-grid,
    .framework-card-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 639px) {
    .beliefs-grid,
    .sop-grid-3,
    .focus-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .badge-group,
    .job-badge-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .job-cta-btn,
    .modal-submit-btn {
        width: 100% !important;
    }

    .philosophy-visual-container {
        width: 100% !important;
        max-width: 480px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        aspect-ratio: 4 / 3 !important;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .beliefs-grid,
    .careers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (min-width: 1024px) {
    .beliefs-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 32px !important;
    }
    
    .careers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

/* 5. FAQ Accordion Responsiveness */
.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 16px;
}

.faq-trigger-icon {
    flex-shrink: 0;
}

/* 6. Modal Responsiveness */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.modal-window {
    width: 100%;
    max-width: 540px;
    max-height: 92vh;
    margin: auto;
    overflow-y: auto;
    border-radius: 20px;
    background: #FFFFFF;
}

/* 7. Large Desktop, 4K & Smart TV Layout Container Constraints */
@media (min-width: 1441px) {
    .site-header-container,
    .sop-container,
    .max-w-7xl,
    .max-w-4xl {
        max-width: 1600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}




