:root {
    --font-sans: "Geist Sans", system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    --bg-color: #FFFFFF;
    --primary-text-color: #111111;
    --secondary-text-color: #666666;
    --border-color: #EAEAEA;
    --light-gray-fill: #F5F5F5;
}

/* 1. Base & Typography */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    background: var(--bg-color);
    font-family: var(--font-sans);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--primary-text-color);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Re-enable text selection for content areas */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Screen Reader Only Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.seo-home-h1 {
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* 2. Header & Navigation */
header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    position: relative;
}

.logo {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 11;
}

nav ul {
    display: flex;
    list-style: none;
    gap: .5px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    padding: 12px 20px;
    display: block;
    cursor: pointer;
    user-select: none;
    color: var(--primary-text-color);
    transition: color 0.4s ease-out, transform 0.2s ease;
}

ul li a::before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-weight: 700;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(90deg, #111, #999, #111);
    background-size: 200% auto;
    background-position: 200% center;
    opacity: 0;
    transition: background-position 0.4s ease-out, opacity 0.4s ease-out;
}

ul li a:hover {
    color: transparent;
    /* Hide original text by making it transparent */
}

ul li a:hover::before {
    opacity: 1;
    background-position: 0% center;
}

ul li a:active {
    transform: scale(0.98);
    color: transparent;
}

ul li a:active::before {
    opacity: 1;
    background-position: 0% center;
    /* Keep gradient on click */
}

.menu-toggle {
    display: none;
    /* Hidden by default */
    width: 25px;
    height: 20px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 12;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* 3. Main Content & Sections */
main>section {
    padding: 10rem 0;
}

.subtitle {
    max-width: 70ch;
    margin: 0 auto 3rem auto;
    text-align: left;
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    /* Full bleed */
}

.hero-video {
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

/* Optimize video for mobile performance */
@media (max-width: 768px) {
    .hero-video video {
        -webkit-transform: translateZ(0) scale(1);
        transform: translateZ(0) scale(1);
    }
}

#hero+.container.reveal {
    padding-top: 2rem;
}

/* About Us Section */
#about {
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-intro {
    max-width: 70ch;
    margin: 0 auto;
    text-align: left;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    max-width: 70ch;
    margin: 0 auto;
}

/* Our Expertise Section */
#expertise {
    text-align: center;
}

#expertise h2 {
    margin-bottom: 1.5rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}



.expertise-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.expertise-item p {
    max-width: 50ch;
    /* Limit line length for readability */
}

.expertise-item .btn {
    margin-top: 1rem;
}

/* Our Products Section */
#products {
    text-align: center;
}

/* Advisory Section */
#advisory {
    text-align: center;
}

/* Product Grid — mobile-first: 1 column */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
}

/* Product Card — horizontal layout */
.product-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-color);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.15s ease;
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    border-color: #d1d5da;
}

.product-card:active {
    transform: scale(0.99);
}

/* Stagger animation support */
.js-enabled .product-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.2s ease, border-color 0.15s ease;
}

.js-enabled .product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Card Icon — constrained, never oversized */
.product-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--light-gray-fill);
}

.product-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.product-card:hover .product-card-icon img {
    filter: grayscale(0%);
}

/* Product Card Details */
.product-card-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-card-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--primary-text-color);
}

.product-card-details p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--secondary-text-color);
    margin: 0;
}

/* Product Tags — inline wrapping pills */
.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.product-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--secondary-text-color);
    background-color: var(--light-gray-fill);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.product-status {
    color: var(--secondary-text-color);
    font-size: 0.85em;
    font-weight: 500;
    white-space: nowrap;
}

/* Badge — generic pill (used in blueprint card etc.) */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--secondary-text-color);
    background-color: var(--light-gray-fill);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    white-space: nowrap;
}

/* Desktop 2-column layout */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-card-icon {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .product-card-details h3 {
        font-size: 1.2rem;
    }
}

/* Tablet container adjustment */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-video {
        max-width: 400px;
        height: 400px;
    }
}

/* Mobile nav + hero overrides */
@media (max-width: 768px) {
    .hero-video {
        max-width: 300px;
        height: 300px;
    }

    .logo {
        font-size: 0.8rem;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 10;
        padding-top: 60px;
    }

    nav.nav-active ul {
        opacity: 1;
        visibility: visible;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-active .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-active .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Contact Section */
#contact {
    text-align: center;
}

#contact p {
    margin-bottom: 0.5rem;
}

.email {
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--primary-text-color);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 6rem 0;
    background: var(--bg-color);
    /* Use pure white to match body */
    color: #444;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-center {
    flex: 1;
    text-align: left;
}

.footer-resources-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-text-color);
    margin-bottom: 0.75rem;
}

.footer-resources-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-resources-list li a {
    font-size: 0.85rem;
    color: var(--secondary-text-color);
    transition: color 0.15s ease;
}

.footer-resources-list li a:hover {
    color: var(--primary-text-color);
}

.footer-left p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    font-size: 0.9rem;
    margin: 0;
}

.footer-right a {
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: var(--primary-text-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

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

    .footer-resources-list {
        align-items: center;
    }

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

/* 4. Components */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--primary-text-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background-color: var(--light-gray-fill);
    border-color: var(--light-gray-fill);
}

.btn:active {
    background-image: linear-gradient(to bottom, #EAEAEA, #DDDDDD);
    border-color: #DDDDDD;
    transform: translateY(1px);
}

/* 5. Article pages & SEO/GEO */
.article-container {
    padding-top: 140px;
    padding-bottom: 80px;
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.breadcrumbs a {
    color: var(--primary-text-color);
    font-weight: 500;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.seo-page-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--primary-text-color);
    text-align: left;
}

.seo-summary {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.article-content section {
    margin-bottom: 3.5rem;
    padding: 0;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--primary-text-color);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-text-color);
}

.article-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.article-card h2 {
    margin-top: 0;
}

.seo-inline-link {
    color: var(--primary-text-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.seo-inline-link:hover {
    border-color: var(--primary-text-color);
    color: #000;
}

.citation-list {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.citation-list h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.citation-list ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.citation-list li {
    font-size: 0.95rem;
    color: var(--secondary-text-color);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.citation-list a {
    color: var(--secondary-text-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.citation-list a:hover {
    color: var(--primary-text-color);
}

/* 6. Animations & Responsiveness */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .expertise-details {
        text-align: left;
    }

    .expertise-item {
        text-align: left;
    }

    .expertise-item p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 20px;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    main>section {
        padding: 6rem 0;
    }

    .about-intro {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .product-card-details h3 {
        font-size: 1rem;
    }

    .product-card-details p {
        font-size: 0.9rem;
    }

    .product-tag {
        font-size: 0.68rem;
    }

    .email {
        font-size: 1.1rem;
        word-break: break-all;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Mobile Adjustments for Articles */
@media (max-width: 768px) {
    .article-container {
        padding-top: 6rem;
    }

    .article-content h1 {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }
}

/* Founder Resources Bar */
#launch-pages.founder-resources-bar {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
}

.founder-resources-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.founder-resources-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-text-color);
    flex-shrink: 0;
}

.founder-resources-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.founder-link {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--secondary-text-color);
    background: var(--light-gray-fill);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.founder-link:hover {
    color: var(--primary-text-color);
    border-color: #bbb;
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .founder-resources-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Fix Article Lists explicitly */
.article-content ul,
.article-content ol {
    display: block;
    /* Reset from potential global flex issues */
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #333;
    padding-left: 0.5rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h2 {
        font-size: 1.75rem;
    }

    main>section {
        padding: 4rem 0;
    }

    .hero-video {
        max-width: 280px;
        height: 280px;
    }

    .about-intro {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .product-card-details h3 {
        font-size: 0.95rem;
    }
}

.blueprint-card {
    margin-top: 4rem;
    background-color: #fafbfc;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', 'Source Code Pro', monospace;
    background-image: linear-gradient(#f1f1f1 1px, transparent 1px),
        linear-gradient(90deg, #f1f1f1 1px, transparent 1px);
    background-size: 20px 20px;
    text-align: left;
    /* Enforce left alignment */
}

.blueprint-card::before {
    content: 'TECHNICAL SPECIFICATION // CASE STUDY';
    position: absolute;
    top: -12px;
    left: 20px;
    background: #fff;
    padding: 0 10px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--secondary-text-color);
    font-weight: 600;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
}

.blueprint-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-text-color);
    padding-bottom: 1rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.blueprint-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-family: var(--font-sans);
    /* Keep header sans-serif for impact */
    text-align: left;
}

.blueprint-badges {
    display: flex;
    gap: 0.5rem;
}

.blueprint-badges .badge {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #cbd2d9;
}

.blueprint-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    font-style: italic;
    margin-top: 0.5rem;
    text-align: left;
}

.blueprint-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 80ch;
    text-align: left;
}

.blueprint-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Enforce 2 columns */
    gap: 2rem;
    margin-bottom: 2rem;
}

.spec-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--primary-text-color);
    display: flex;
    align-items: center;
    text-align: left;
}

.spec-item h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary-text-color);
    margin-right: 8px;
    border-radius: 50%;
}

.spec-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
}

.blueprint-footer {
    border-top: 2px solid #e1e4e8;
    /* Thicker border */
    padding-top: 1.5rem;
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
}

.impact-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    background-color: var(--primary-text-color);
    padding: 4px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.blueprint-footer p {
    font-size: 0.95rem;
    color: var(--primary-text-color);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .blueprint-card {
        padding: 1.5rem;
        margin-top: 3rem;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .blueprint-specs {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 1.5rem;
    }

    .blueprint-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    text-align: left;
}

.strategy-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-text-color);
    text-align: left;
}

.strategy-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--secondary-text-color);
}

.engagement-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--primary-text-color);
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 0.5rem;
}

.engagement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.engagement-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text-color);
}

.engagement-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--secondary-text-color);
}

.engagement-item strong {
    color: var(--primary-text-color);
    font-weight: 600;
}

.deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.deliverables-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
    position: relative;
    padding-left: 1.5rem;
}

.deliverables-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-text-color);
    font-weight: bold;
}

.deliverables-list strong {
    color: var(--primary-text-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .strategy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Our Stack Section */
#stack h3 {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--secondary-text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stack-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.stack-intro p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--primary-text-color);
}

/* Logo Grid Styles */
/* Logo Grid Styles */
.stack-capabilities-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 4rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stack-category {
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 3rem;
    row-gap: 0.5rem;
    align-items: start;
}

.category-label {
    grid-column: 1;
    grid-row: 1;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-text-color);
    text-align: right;
    line-height: 1.2;
}

.category-justification {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.85rem;
    color: var(--secondary-text-color);
    text-align: right;
    line-height: 1.5;
    margin: 0;
}

.logo-cloud {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 2rem;
    align-items: center;
    padding-top: 0.25rem;
    /* Optical alignment with label */
}

.logo-cloud img {
    max-height: 40px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: multiply;
    /* Ensures white backgrounds on JPGs/PNGs blend in */
    transform-origin: center;
}

/* Hover effects */
.logo-cloud img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15);
    cursor: help;
    z-index: 10;
}

@media (max-width: 768px) {
    .stack-capabilities-grid {
        gap: 3rem;
    }

    .stack-category {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }

    .category-label {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
        font-size: 1.1rem;
    }

    .category-justification {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
        margin-bottom: 0.5rem;
        max-width: 90%;
    }

    .logo-cloud {
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 1.5rem;
        padding-top: 0;
    }

    .logo-cloud img {
        max-height: 35px;
    }
}

.offers-intro {
    margin-top: 5rem;
}

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

.offer-card {
    background-color: #fafbfc;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    border-color: #d1d5da;
}

.offer-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-text-color);
    font-weight: 600;
}

.offer-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
    flex-grow: 1;
}

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

    .tech-stack-table th,
    .tech-stack-table td {
        padding: 1rem 0.5rem;
    }

    .stack-intro p {
        font-size: 1rem;
    }
}