/* CSS Reset and Basic Setup */
:root {
    --primary-dark-blue: #0A2342;
    --primary-blue: #005A8C;
    --accent-teal: #04D9C4;
    --light-gray-bg: #f8fafc;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif; /* Using Inter as per general instructions, but your Webflow might use Afacad Flux */
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
}

/* Default container width for general layout (e.g., homepage hero, capabilities, featured work) */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation (Fully Responsive) --- */
.main-header {
    background-color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
}

/* Desktop Styles (applied first, for screens 769px and wider) */
@media (min-width: 769px) {
    .main-nav {
        display: block; /* Show navigation on desktop */
    }
    .main-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }
    .main-nav li {
        margin-left: 25px;
    }
    .main-nav a {
        text-decoration: none;
        color: var(--text-secondary);
        font-weight: 500;
        transition: color 0.3s ease;
    }
    .main-nav a:hover {
        color: var(--primary-blue);
    }
    .menu-toggle {
        display: none; /* Hide hamburger menu on desktop */
    }
}

/* Mobile Styles (applied on screens 768px and smaller) */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: row-reverse;
    }
    .menu-toggle {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1010;
        width: 40px;
        height: 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .hamburger-line {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-primary);
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    .hamburger-line:nth-child(2) {
        margin: 5px 0;
    }
    .menu-toggle.is-open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.is-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 15px var(--shadow-color);
        z-index: 1005;
        padding-bottom: 1rem;
    }
    .main-nav.is-open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 0 20px;
        list-style: none;
        margin: 0;
    }
    .main-nav li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }
    .main-nav a {
        display: block;
        padding: 12px 0;
        text-decoration: none;
        color: var(--text-secondary);
        font-weight: 500;
    }
    .external-link span {
        padding-right: 25px;
    }
    .external-link::after {
        right: 5px;
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%234a5568" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 0 0 1-2-2V8a2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');
    }
    .hero-headline, .page-headline {
        font-size: 2.25rem;
    }
    .hero-subheadline, .page-subheadline {
        font-size: 1.1rem;
    }
    /* Fixed the grid layouts to stack on mobile */
    .capabilities-grid, .work-grid, .playbook-stages, .reframe-split, .business-case-grid, .problem-solution-grid, .pilot-details-grid, .impact-grid, .interactive-timeline-container, .resource-plan-container {
        grid-template-columns: 1fr !important;
    }
    .outcome-metrics {
        grid-template-columns: 1fr !important;
    }
    .case-study:first-of-type .outcome-metrics, .case-study:last-of-type .outcome-metrics {
        grid-template-columns: 1fr !important;
    }
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    .content-section .container, .section .container {
        max-width: 100% !important;
        padding: 0 15px;
    }
    .table-container table {
        min-width: 100%;
    }
}

/* --- Hero Section (Homepage Specific) --- */
.hero {
    background-color: var(--light-gray-bg);
    padding: 6rem 0;
    text-align: center;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark-blue);
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 1.5rem auto 0;
}

/* --- Page Header Section (Sub-pages like Data & AI Strategy, Playbook) --- */
.page-header {
    background-color: var(--light-gray-bg);
    padding: 5rem 0;
}

.page-headline {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark-blue);
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.back-link {
    display: block;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* --- General Section Styling --- */
.capabilities, .featured-work, .content-section, .section {
    padding: 5rem 0;
}

.content-section .container, .section .container {
    max-width: 900px !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    text-align: center;
    margin-bottom: 3rem;
}

/* --- Capabilities Section (Homepage Specific) --- */
.capabilities {
    background-color: var(--white);
}

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

.capability-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.capability-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* --- Specific Styles for Data & AI Strategy Page (and Playbook page, as they share structure) --- */
.playbook-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.playbook-intro {
    text-align: center;
    max-width: 700px;
}

.playbook-intro p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.playbook-intro .citation {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.ai-playbook-graphic {
    width: 100%;
    max-width: 800px;
}

.playbook-stages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.stage-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-card .stage-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1;
}

.stage-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 0.75rem;
}

.stage-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Reframe Section --- */
.reframe-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.reframe-intro p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.reframe-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.reframe-split-card {
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.reframe-split-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
}

.reframe-split-card.problem {
    background-color: #ffebe6;
    border-color: #ff9980;
    color: #cc3300;
}

.reframe-split-card.problem h4 {
    color: #cc3300;
}

.reframe-split-card.pivot {
    background-color: #e6f7ff;
    border-color: #80cfff;
    color: var(--primary-dark-blue);
}

.reframe-split-card.pivot h4 {
    color: var(--primary-dark-blue);
}

.business-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.business-case-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.business-case-card svg {
    width: 40px;
    height: 40px;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.business-case-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 0.75rem;
}

.business-case-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Featured Work Section (Homepage Specific) --- */
.featured-work {
    background-color: var(--light-gray-bg);
}

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

.work-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.work-card-content {
    padding: 1.5rem;
}

.work-card-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 0.5rem;
}

.work-card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Case Study (reusable component for sub-pages) --- */
.case-study {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
}

.case-study:not(:last-child){
    margin-bottom: 4rem;
}

.story-image-container {
    position: relative;
    overflow: hidden;
}

.story-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease-in-out;
    display: block;
}

.case-study:hover .story-image-container img {
    transform: scale(1.05);
}

.headline-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.headline-overlay h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.story-content {
    padding: 2.5rem;
}

.story-section {
    margin-bottom: 2.5rem;
}
.story-section:last-child {
    margin-bottom: 0;
}

hr.section-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 2.5rem 0;
}

.story-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.label-challenge {
    background-color: var(--primary-dark-blue);
    color: var(--white);
}

.label-outcome {
    background-color: var(--accent-teal);
    color: var(--primary-dark-blue);
}

.label-impact {
    background-color: var(--primary-blue);
    color: var(--white);
}

.key-actions-container h4 {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}
.key-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.action-item {
    display: flex;
    align-items: center;
    background-color: var(--light-gray-bg);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}
.action-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.outcome-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem 1rem;
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: var(--light-gray-bg);
    border-radius: 8px;
    text-align: center;
}
.metric-value {
    grid-row: 1;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-teal);
    line-height: 1.1;
    align-self: end;
    text-shadow: 0 0 3px rgba(10, 35, 66, 0.2);
}
.metric-label {
    grid-row: 2;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    align-self: start;
    word-break: break-word;
}

/* Specific overrides for Data & AI Strategy outcome metrics */
.case-study:first-of-type .outcome-metrics {
    grid-template-columns: repeat(3, 1fr);
}
.case-study:last-of-type .outcome-metrics {
    grid-template-columns: repeat(2, 1fr);
}

/* --- Toolkit Section --- */
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.toolkit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
}
.toolkit-card .icon {
    height: 60px;
    width: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
}
.toolkit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 0.75rem;
}

.impact-section p {
    font-size: 0.95rem;
    font-style: italic;
}

/* --- Styles for CTA button and sections in embedded content --- */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #004a73;
    transform: translateY(-2px);
}

.problem-solution-grid, .pilot-details-grid, .impact-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.problem-solution-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.problem, .solution {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.problem h3, .solution h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
}

.problem ul, .solution ul {
    list-style: none;
    padding-left: 0;
}

.problem ul li::before {
    content: "â€¢ ";
    color: #cc3300;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.solution ul li::before {
    content: "â€¢ ";
    color: var(--primary-blue);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.pilot-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center;
}

.detail-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detail-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 0.75rem;
}

.detail-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.detail-card ul li::before {
    content: "âœ“ ";
    color: var(--accent-teal);
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
}

.impact-metric {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow-color);
}

.impact-metric h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.impact-metric p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Demo Wizard Styles --- */
.demo-wizard-container {
    background-color: var(--light-gray-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center;
    margin-bottom: 3rem;
}

.upload-area {
    padding: 3rem 1rem;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.scan-message {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 2rem;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.table-container th, .table-container td {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    text-align: left;
    white-space: nowrap;
}

.table-container th {
    background-color: var(--primary-dark-blue);
    color: var(--white);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-container tbody tr:nth-child(odd) {
    background-color: var(--light-gray-bg);
}

.table-container tbody tr:hover {
    background-color: #e0e7ef;
}

.error-cell {
    background-color: #ffebe6;
    border-color: #ff9980;
    color: #cc3300;
    font-weight: 500;
}

.focused-error {
    outline: 2px solid var(--accent-teal);
    box-shadow: 0 0 8px rgba(4, 217, 196, 0.5);
    background-color: #fff;
    color: var(--text-primary);
}

.success-flash {
    animation: flashGreen 1s forwards;
}

@keyframes flashGreen {
    0% { background-color: #d4edda; }
    100% { background-color: var(--white); }
}

.dimmed-row {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.dimmed-row.focused-error {
    opacity: 1;
}

.wizard-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.nav-button {
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.nav-button:hover:not(:disabled) {
    background-color: #004a73;
}

.nav-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.finish-btn {
    background-color: var(--accent-teal);
    color: var(--primary-dark-blue);
}

.finish-btn:hover:not(:disabled) {
    background-color: #03a89a;
}

.error-counter {
    font-weight: 600;
    color: var(--primary-dark-blue);
}

.validation-tooltip {
    position: absolute;
    background-color: var(--primary-dark-blue);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    text-align: left;
    max-width: 300px;
}

.validation-tooltip p {
    margin-bottom: 0.5rem;
}

.validation-tooltip .suggestion-btn {
    background-color: var(--accent-teal);
    color: var(--primary-dark-blue);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 5px;
    transition: background-color 0.3s ease;
}

.validation-tooltip .suggestion-btn:hover {
    background-color: #03a89a;
}

.success-notification {
    background-color: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* --- Interactive Timeline Styles (from script.js) --- */
.interactive-timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.week-column {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.week-column h3 {
    font-size: 1.3rem;
    color: var(--primary-dark-blue);
    margin-bottom: 0.75rem;
}

.week-column .goal {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.story {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.story:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1rem;
    padding: 0.5rem 0;
}

.story-header:hover {
    color: var(--accent-teal);
}

.story-header.active .toggle-icon {
    transform: rotate(45deg);
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.task-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0.5rem;
}

.task-item {
    background-color: var(--light-gray-bg);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.task-item p {
    margin-bottom: 0.25rem;
}

.task-item .resources {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Resource Plan Styles (from script.js) --- */
.resource-plan-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resource-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-blue);
}

.resource-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 0.5rem;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.resource-card .hours {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-teal);
    line-height: 1;
}

.resource-card .hours-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-dark-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    width: 100%;
}

/* --- Specific Styles for Resume Page Sections (to ensure consistent spacing with other sections) --- */
.hero {
    /* Existing styles for hero section */
    padding: 6rem 0; /* Adjusted to match common section padding */
}

.at-a-glance,
.experience,
.education { /* Apply consistent padding to these main sections */
    padding: 5rem 0; /* Aligned with .capabilities, .featured-work, .content-section, .section */
}

.at-a-glance h2,
.experience h2,
.education h2 { /* Apply consistent margin-bottom to these section titles */
    text-align: center;
    font-size: 2.5rem; /* Aligned with .section-title */
    margin-bottom: 3rem; /* Aligned with .section-title */
    font-weight: 700; /* Ensure consistency */
    color: var(--primary-dark-blue); /* Ensure consistency */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-headline {
        font-size: 2.75rem;
    }
    .capabilities-grid, .work-grid, .playbook-stages, .reframe-split, .business-case-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-headline {
        font-size: 2.5rem;
    }
    .container {
        max-width: 760px;
    }
    .content-section .container, .section .container {
        max-width: 760px !important;
    }
    /* Adjust section titles for smaller screens */
    .at-a-glance h2,
    .experience h2,
    .education h2 {
        font-size: 2rem; /* Adjust for tablet view */
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific navigation styles */
    .main-header .container {
        flex-direction: row-reverse;
    }
    .menu-toggle {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1010;
        width: 40px;
        height: 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .hamburger-line {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-primary);
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    .hamburger-line:nth-child(2) {
        margin: 5px 0;
    }
    .menu-toggle.is-open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.is-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 15px var(--shadow-color);
        z-index: 1005;
        padding-bottom: 1rem;
    }
    .main-nav.is-open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 0 20px;
        list-style: none;
        margin: 0;
    }
    .main-nav li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }
    .main-nav a {
        display: block;
        padding: 12px 0;
        text-decoration: none;
        color: var(--text-secondary);
        font-weight: 500;
    }
    .external-link span {
        padding-right: 25px;
    }
    .external-link::after {
        right: 5px;
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%234a5568" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 0 0 1-2-2V8a2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');
    }
    .hero-headline, .page-headline {
        font-size: 2.25rem;
    }
    .hero-subheadline, .page-subheadline {
        font-size: 1.1rem;
    }
    .capabilities-grid, .work-grid, .playbook-stages, .reframe-split, .business-case-grid, .problem-solution-grid, .pilot-details-grid, .impact-grid, .interactive-timeline-container, .resource-plan-container {
        grid-template-columns: 1fr !important;
    }
    .outcome-metrics {
        grid-template-columns: 1fr !important;
    }
    .case-study:first-of-type .outcome-metrics, .case-study:last-of-type .outcome-metrics {
        grid-template-columns: 1fr !important;
    }
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    .content-section .container, .section .container {
        max-width: 100% !important;
        padding: 0 15px;
    }
    .table-container table {
        min-width: 100%;
    }
    /* Adjust section titles for mobile screens */
    .at-a-glance h2,
    .experience h2,
    .education h2 {
        font-size: 2rem; /* Keep consistent with tablet view */
        margin-bottom: 2rem; /* Slightly less margin for mobile */
    }
/* Section wrapper: align spacing & background with the rest of the page */
.section.logos,
.section#logos {
  background: var(--light-gray-bg, #f7f8fa);
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

/* Match container rhythm */
.section.logos .container,
.section#logos .container {
  max-width: var(--container-max, 1100px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

/* Headings: match section-title style */
.section.logos .heading-h2 {
  font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 "Inter", system-ui, -apple-system, sans-serif;
  margin: 0 0 .5rem;
  letter-spacing: -0.01em;
}
.section.logos .label-heading,
.section.logos .paragraph-16.project-hero-section {
  color: var(--muted-fg, #667085);
  margin-bottom: 1.25rem;
}

/* Grid: align to your card grids */
.section .press-logos-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1rem);
}
@media (max-width: 991px) {
  .section .press-logos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .section .press-logos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Logo card: match your soft, elevated card style */
.press-logo-container {
  background: var(--card-bg, #fff);
  border: 1px solid var(--card-border, #eef0f3);
  border-radius: var(--radius-2xl, 16px);
  box-shadow: var(--card-shadow, 0 1px 2px rgba(16,24,40,.06));
  padding: clamp(.75rem, 2vw, 1rem);
  display: grid;
  place-items: center;
  min-height: 92px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

/* Logos: consistent fit + subdued by default */
.press-logo-image {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  filter: grayscale(100%) contrast(1.05) brightness(.9);
  opacity: .85;
  mix-blend-mode: multiply;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

/* Hover: same micro-interaction language as cards */
.press-logo-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16,24,40,.10);
  border-color: rgba(2, 6, 23, .06);
}
.press-logo-container:hover .press-logo-image {
  filter: grayscale(0%) contrast(1) brightness(1);
  opacity: 1;
  transform: scale(1.02);
}

}



/* ===============================
   Targeted Overrides (2025-08-11)
   - Clients/Logos uses existing neutral styles (no black/gold)
   - Testimonials: larger avatar + arrows centered; extra bottom space
   =============================== */

/* CLIENTS / LOGOS â€” use neutral styling already on site */
.section .press-logos-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1rem);
  align-items: center;
}
@media (max-width: 991px) { .section .press-logos-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .section .press-logos-grid { grid-template-columns: repeat(2, 1fr); } }

/* Logo containers: no special card chrome so they inherit page styling */
.press-logo-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: clamp(.5rem, 1.2vw, .75rem) !important;
  display: grid;
  place-items: center;
  min-height: auto;
  transition: transform .15s ease;
}
/* Logos themselves: show as-is; no grayscale/mix-blend */
.press-logo-image {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  transition: transform .15s ease;
}
.press-logo-container:hover .press-logo-image { transform: scale(1.02); }

/* Headings spacing in clients section should follow existing rhythm */
.section .heading-h2 { margin-bottom: .5rem; }
.section .paragraph-16.project-hero-section { margin-bottom: 1.25rem; color: var(--text-secondary); }


/* TESTIMONIALS (Webflow slider) â€” match card look, bigger avatar, arrows centered */
.section-7.quotes {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem); /* extra room so arrows/nav don't crowd footer */
  background: var(--white);
  border-top: 1px solid var(--border-color);
}
.section-7.quotes .w-container,
.section-7.quotes .container-4.narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

/* Larger avatar */
.quote-profile-image {
  width: 64px !important;
  height: 64px !important;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

/* Keep arrows centered vertically (not hugging the footer) */
.section-7.quotes .w-slider { position: relative; }
.section-7.quotes .w-slider-arrow-left,
.section-7.quotes .w-slider-arrow-right {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  z-index: 2;
}
/* Slider dots spacing */
.section-7.quotes .w-slider-nav { margin-top: 1rem; }
.section-7.quotes .w-slider-nav .w-slider-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #d1d5db;
  margin: 0 4px;
}
.section-7.quotes .w-slider-nav .w-active { background: var(--primary-blue); }

/* Card polish (uses existing neutrals) */
.quote-card,
.quote-card-2 {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: clamp(1rem, 2.5vw, 1.25rem);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.quote-card:hover,
.quote-card-2:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.07);
  border-color: rgba(2, 6, 23, .06);
}

/* Typographic consistency */
.quote-heading {
  margin: 0 0 .75rem 0;
  color: var(--text-primary);
  font: 600 1rem/1.6 "Inter", system-ui, -apple-system, sans-serif;
}
.label-5, .label-2 {
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 .25rem;
}
.quote { 
  display: grid; 
  grid-template-columns: 64px 1fr; 
  gap: .75rem; 
  align-items: center; 
}
.quote-name { font-weight: 700; color: var(--text-primary); }
.quote-title { color: var(--text-secondary); font-size: .9rem; }

/* ===== HOTFIX (2025-08-11) — visibility & layout ===== */

/* Clients / logos grid is being hidden by inline Webflow animation styles */
.press-logos-grid {
  opacity: 1 !important;
  transform: none !important;
  will-change: auto !important;
}

/* Make sure the grid actually lays out on all breakpoints */
.section .press-logos-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: clamp(.75rem, 2vw, 1rem);
}
@media (max-width: 991px) { .section .press-logos-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .section .press-logos-grid { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials slider sometimes collapses to zero height — force intrinsic height */
.section-7.quotes .w-slider {
  position: relative;
  height: auto !important;
  min-height: 1px; /* avoid collapse */
  padding-bottom: 2rem; /* space for dots */
}
/* Ensure mask doesn't clip content when height miscalc happens */
.section-7.quotes .w-slider-mask {
  overflow: visible !important;
}

/* Slides should be visible */
.section-7.quotes .w-slide {
  opacity: 1 !important;
  display: block !important;
}

/* Bump avatar size */
.quote-profile-image {
  width: 64px !important;
  height: 64px !important;
  border-radius: 999px;
  object-fit: cover;
}

/* Keep arrows centered vertically and away from footer */
.section-7.quotes .w-slider-arrow-left,
.section-7.quotes .w-slider-arrow-right {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
}

/* Extra breathing room below testimonials so arrows/dots don't collide with footer */
.section-7.quotes {
  padding-bottom: clamp(3.5rem, 6vw, 5rem) !important;
}

/* Defensive: make sure images don't collapse */
.quote-card img,
.quote-card-2 img,
.press-logo-image {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* =========================================================
   Clients + Testimonials Patch (append last) — 2025-08-11
   Purpose: neutralize black/gold, fix visibility/spacing
   ========================================================= */

/* ---------- CLIENTS / LOGOS ---------- */
/* Use the site's light background & spacing for the section that contains the logos grid */
section.section:has(.press-logos-grid) {
  background: var(--light-gray-bg) !important;
  padding: clamp(2.5rem, 4vw, 4rem) 0 !important;
}

/* Typography harmonized with your tokens */
section.section:has(.press-logos-grid) .label-heading {
  color: var(--text-secondary) !important;
}
section.section:has(.press-logos-grid) .heading-h2 {
  color: var(--primary-dark-blue) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  margin-bottom: .5rem;
}
section.section:has(.press-logos-grid) .paragraph-16.project-hero-section {
  color: var(--text-secondary) !important;
  margin-bottom: 1.25rem;
}

/* Grid layout — consistent across breakpoints */
.section .press-logos-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1rem);
  align-items: center;
}
@media (max-width: 991px) { .section .press-logos-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .section .press-logos-grid { grid-template-columns: repeat(2, 1fr); } }

/* Neutral logo presentation: no grayscale, no blend */
.press-logo-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: clamp(.5rem, 1.2vw, .75rem) !important;
  display: grid;
  place-items: center;
}
.press-logo-image {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  transition: transform .15s ease;
}
@media (max-width: 640px) { .press-logo-image { max-height: 44px; } }
.press-logo-container:hover .press-logo-image { transform: scale(1.02); }

/* Kill inline Webflow fade/translate on the grid if present */
.press-logos-grid {
  opacity: 1 !important;
  transform: none !important;
  will-change: auto !important;
}

/* ---------- TESTIMONIALS ---------- */
.section-7.quotes {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(4rem, 6vw, 6rem) !important; /* extra space so arrows/dots don't crowd the footer */
}

/* Larger avatars + aligned layout */
.section-7.quotes .quote-profile-image {
  width: 72px !important;
  height: 72px !important;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}
.section-7.quotes .quote {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .75rem;
  align-items: center;
}

/* Slider stability + arrow positioning */
.section-7.quotes .w-slider {
  position: relative;
  height: auto !important;
  min-height: 1px;  /* avoid collapse */
}
.section-7.quotes .w-slider-mask { overflow: visible !important; }
.section-7.quotes .w-slide { opacity: 1 !important; display: block !important; }

.section-7.quotes .w-slider-arrow-left,
.section-7.quotes .w-slider-arrow-right {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  z-index: 2;
}

/* Dots spacing & color */
.section-7.quotes .w-slider-nav { margin-top: 1rem; }
.section-7.quotes .w-slider-nav .w-slider-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #d1d5db;
  margin: 0 4px;
}
.section-7.quotes .w-slider-nav .w-active { background: var(--primary-blue); }
/* ===== Testimonials: fix Webflow slider layout ===== */
.section-7.quotes .quote-slider { overflow: hidden; }
.section-7.quotes .quote-slider .w-slider-mask {
  overflow: hidden !important;         /* back to Webflow default */
  white-space: nowrap;                  /* lay slides inline */
}
.section-7.quotes .quote-slider .w-slide {
  display: inline-block !important;     /* inline so they sit side-by-side */
  width: 100% !important;               /* full width per slide */
  vertical-align: top;
  white-space: normal;                  /* allow text to wrap inside */
}

/* Keep height natural and arrows centered */
.section-7.quotes .w-slider { height: auto !important; position: relative; }
.section-7.quotes .w-slider-arrow-left,
.section-7.quotes .w-slider-arrow-right {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 40px; height: 40px;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}

/* Arrow icon color (remove gold) */
.section-7.quotes .w-icon-slider-left,
.section-7.quotes .w-icon-slider-right {
  color: var(--primary-dark-blue) !important;
  filter: none !important;
}

/* If your template uses a custom arrow wrapper with gold, neutralize it */
.quote-arrow-2 {
  background: #fff !important;
  border: 1px solid var(--border-color) !important;
}
.quote-arrow-2 .w-icon-slider-left,
.quote-arrow-2 .w-icon-slider-right {
  color: var(--primary-dark-blue) !important;
}

/* Avatar size (keep as requested) */
.section-7.quotes .quote-profile-image {
  width: 72px !important;
  height: 72px !important;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}
.section-7.quotes .quote { grid-template-columns: 72px 1fr; }

/* Extra breathing room so arrows/dots don't crowd footer */
.section-7.quotes { padding-bottom: clamp(4rem, 6vw, 6rem) !important; }

/* ===== Clients: keep neutral look (no card chrome, no grayscale) ===== */
/* If you're removing the "Clients" label in HTML, this still keeps the section clean */
.section .press-logos-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1rem);
  align-items: center;
}
@media (max-width: 991px) { .section .press-logos-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .section .press-logos-grid { grid-template-columns: repeat(2, 1fr); } }

.press-logo-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: clamp(.5rem, 1.2vw, .75rem) !important;
  display: grid; place-items: center;
}
.press-logo-image {
  max-width: 100%;
  max-height: 52px;
  height: auto; width: auto;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  transition: transform .15s ease;
}
.press-logo-container:hover .press-logo-image { transform: scale(1.02); }

/* Kill leftover Webflow fade/translate so the grid shows */
.press-logos-grid { opacity: 1 !important; transform: none !important; }
/* Kill any decorative bar sitting on the Clients section */
section.section:has(.press-logos-grid) {
  background-color: var(--light-gray-bg) !important;
  position: relative; /* for pseudo-element overrides */
}

/* Nuke accidental pseudo dividers or borders */
section.section:has(.press-logos-grid)::before,
section.section:has(.press-logos-grid)::after {
  content: none !important;
  display: none !important;
}

/* If a child divider element is causing it, neutralize it */
section.section:has(.press-logos-grid) .divider,
section.section:has(.press-logos-grid) .section-divider,
section.section:has(.press-logos-grid) .w-embed:empty {
  background: transparent !important;
  border: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Ensure the Clients section uses the standard light background */
.section.logos {
  background: var(--light-gray-bg) !important;
  position: relative; /* for the rules below */
}

/* Nuke any top/bottom pseudo dividers that might be injected */
.section.logos::before,
.section.logos::after {
  content: none !important;
  display: none !important;
}

/* Common “bar” culprits inside Webflow sections */
.section.logos .divider,
.section.logos .section-divider,
.section.logos .w-embed:empty,
.section.logos .w-embed > .divider,
.section.logos .w-embed > .section-divider {
  background: transparent !important;
  border: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* If an absolutely-positioned bar is being used, neutralize it */
.section.logos > [style*="position:absolute"],
.section.logos [class*="divider"][style*="position:absolute"] {
  background: transparent !important;
  border: 0 !important;
}

/* Last-resort mask: covers any leftover bar up to 96px tall */
.section.logos ._kill-top-bar-mask { display:none; } /* opt-out hook */
.section.logos:not(:has(._kill-top-bar-mask))::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 96px;                      /* adjust if needed */
  background: var(--light-gray-bg);
  pointer-events: none;
  z-index: 1;
}
