﻿/* Community section custom background */
.community-section-bg {
    background: linear-gradient(120deg, #F6F8FC 0%, #E0E6EF 60%, #D1D8E0 100%);
}
body.dark-mode .community-section-bg {
    background: linear-gradient(120deg, #122e56 0%, #0B2254 100%);
}
/* Form field label dark blue */
.form-label-dark {
    color: var(--midnight);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contact-select option[disabled][selected] {
    color: #bfc7d1;
}
/* Card outline for contact form */
.contact-form-card {
    background: var(--card-bg, #fff);
    border: 1.5px solid var(--border-color, #e0e0e0);
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(11,34,84,0.04);
    padding: 2.5rem 2.5rem 2rem;
    margin-bottom: 2.5rem;
}
/* ===============================================================
   CASE STUDIES FILTERS (pills)
   =============================================================== */

/* --- CASE STUDIES FILTERS: Match team filter panel --- */
.cs-filter-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem 1.5rem;
    margin-bottom: 2.5rem;
}
.cs-filter-heading {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--current-text); opacity: 0.4;
    margin: 0 0 0.875rem;
}
.cs-filters { display: flex; flex-direction: column; gap: 0.75rem; }
.cs-filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cs-filter-pill {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem; border-radius: 100px;
    background: rgba(77,174,180,0.12); color: var(--teal);
    border: none; outline: none; cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.cs-filter-pill.active, .cs-filter-pill:focus {
    background: var(--teal); color: #fff;
}
body.dark-mode .cs-filter-pill {
    background: rgba(77,174,180,0.18); color: var(--teal-glow);
}
body.dark-mode .cs-filter-pill.active, body.dark-mode .cs-filter-pill:focus {
    background: var(--teal-glow); color: #fff;
}
/* --- LOGO VISIBILITY --- */
.client-logo-color { display: none !important; }
.client-logo-white { display: inline-block !important; filter: brightness(1) invert(0) opacity(1) !important; }

/* --- MINIMAL RESET ---
   Browser defaults removed here so brand tokens control all spacing.
   Tailwind Preflight does this on the brand-identity page; we replicate
   the essential subset for all site pages. */
*, *::before, *::after { box-sizing: border-box; }
body    { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p       { margin: 0; }
ul, ol  { margin: 0; padding: 0; list-style: none; }
a       { text-decoration: none; color: inherit; }
img     { display: block; max-width: 100%; }
button  { cursor: pointer; }

/* Universal container centering and width for all pages */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}
.home-hero-wide {
    max-width: 1440px;
}
/* =============================================================
   datalab Website — page & component styles.
   Design tokens and brand primitives live in brand/brand.css
   (the single source of truth). This file holds page-specific
   layout, sections, and components only.
   ============================================================= */

/* --- SITE-LEVEL ALIASES ---
   Resolve tokens used in article prose and other contexts
   that reference page-text names rather than brand-token names. */
:root {
    --page-text: var(--current-text);
    --page-text-muted: var(--muted-text);
}

/* --- SECTION SPACING ---
   Every content section uses .section-pad.
   Hero/feature sections with more visual weight use .section-pad-lg.
   clamp() gives fluid scaling: 4 rem on mobile → 6 rem on desktop. */
.section-pad {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-pad-lg {
    padding-top: clamp(5rem, 10vw, 8rem);
    padding-bottom: clamp(5rem, 10vw, 8rem);
}

/* --- SECTION SURFACE ALTERNATOR ---
   Alternating tinted background creates visual rhythm between sections
   without requiring explicit dividers. Pair with .section-pad. */
.section-alt {
    background-color: var(--bg-tint);
}
body.dark-mode .section-alt {
    background-color: rgba(255, 255, 255, 0.025);
}

/* --- HOME HERO LAYOUT ---
   Flex row on desktop: text content left, chat demo right.
   Stacks on tablets; chat demo hides on mobile. */
.home-hero-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 3rem;
    position: relative;
}
.hero-content {
    flex: 1 1 55%;
    min-width: 0;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.home-hero-chat-demo {
    flex-shrink: 0;
    align-self: flex-start;
    position: relative;
    z-index: 2;
    max-width: 420px;
    width: 100%;
    min-width: 300px;
}
@media (max-width: 1100px) {
    .home-hero-chat-demo { display: none; }
}

/* --- SECTION: DARK BACKGROUND --- */
.section-dark {
    background: linear-gradient(135deg, #18406C 0%, #265D84 100%);
    border-top: none;
    border-bottom: none;
}
.section-dark h2,
.section-dark p,
.section-dark .label-caps { color: rgba(255,255,255,0.9); }
.section-dark [style*="color:var(--page-text-muted)"],
.section-dark [style*="color: var(--page-text-muted)"] { color: rgba(255,255,255,0.55) !important; }
.section-dark .mission-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
.section-dark .mission-card .label-caps { color: var(--orange); }
.section-dark .glass-card {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
.section-dark .glass-card h3,
.section-dark .glass-card p { color: rgba(255,255,255,0.85); }

/* --- DIVIDER --- */
.divider { width: 100%; height: 1px; background: var(--border-color); }

/* --- GRID UTILITIES --- */
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px)  { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ===============================================================
   NAV — always dark (dark-surface)
   =============================================================== */
.site-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 34, 84, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--white);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { height: 26px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
@media (max-width: 899px) {
    .nav-links, .nav-cta, .nav-right { display: none; }
    .nav-toggle { display: flex; }
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-links li {
    display: flex;
    align-items: center;
}
.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}
.nav-links a:hover  { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav-links a.active { color: var(--teal-glow); background: rgba(106, 231, 223, 0.06); }

/* ---- Dropdown site-specific overrides (base styles in brand/brand.css) ---- */
.nav-group { position: relative; list-style: none; }

/* Site nav: right-align the dropdown panel (brand uses center-align) */
.nav-dropdown { right: 0; left: auto; transform: none; z-index: var(--z-modal); }

/* Active state: brand.css handles :hover only */
.nav-group-trigger.active { color: var(--teal-glow); background: rgba(106, 231, 223, 0.06); }
.nav-dropdown-item.active { color: var(--teal-glow); }

/* Industries dropdown — wider panel */
.nav-dropdown--ind { right: auto; left: 0; }
.nav-dropdown-panel--ind { min-width: 220px; }
.nav-dropdown-eyebrow {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--teal-glow);
    padding: 0.5rem 1rem 0.25rem;
    margin: 0;
}
.nav-ind-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.25rem;
    padding-top: 0.25rem;
}
.nav-ind-all { color: var(--teal-glow) !important; font-weight: 600; }
.nav-mobile-view-all { color: var(--teal-glow); font-weight: 600; }

/* Mobile resources group */
.mobile-resources-group > p.mobile-resources-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--teal-glow);
    padding: 0.75rem 1.5rem 0.25rem;
    margin: 0;
}
.mobile-resources-group ul { list-style: none; padding: 0; margin: 0; }
.nav-cta { margin-left: 1rem; }
.theme-toggle {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.9rem;
    transition: background 0.2s ease;
    color: var(--white);
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.15); }
/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}
.nav-mobile {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(7, 15, 32, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    z-index: 99;
    color: var(--white);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.nav-mobile a {
    display: block;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: 10px;
}
.nav-mobile a:hover { color: var(--teal-glow); background: rgba(255,255,255,0.05); }
.mobile-footer {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
@media (max-width: 899px) { .nav-toggle { display: flex; } }

/* ===============================================================
   HERO — always dark (dark-surface)
   =============================================================== */
.site-hero {
    position: relative;
    padding: 9rem 0 5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 44%, rgba(106,231,223,0.34), transparent 13%),
        radial-gradient(circle at 82% 62%, rgba(233,137,50,0.18), transparent 9%),
        linear-gradient(120deg, #070F20 0%, #0B2254 45%, #18406C 100%);
    color: var(--white);
}
.site-hero .container {
    text-align: left;
}
.site-hero .hero-title,
.site-hero .hero-sub,
.site-hero .hero-eyebrow,
.site-hero .hero-actions {
    max-width: 680px;
}
/* Inner page hero — always dark */
.page-hero {
    position: relative;
    padding: 10rem 0 5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 60% 50%, rgba(106,231,223,0.18), transparent 12%),
        linear-gradient(130deg, #070F20 0%, #0B2254 60%, #18406C 100%);
    color: var(--white);
}
.page-hero .hero-grid { opacity: 0.25; }
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(106,231,223,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106,231,223,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(60deg) translateY(-100px);
    opacity: 0.3;
    pointer-events: none;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(106,231,223,0.1);
    border: 1px solid rgba(106,231,223,0.2);
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--teal-glow);
}
.hero-title { margin-bottom: 1.5rem; color: var(--white); font-size: clamp(2.75rem, 5vw + 1rem, 5.5rem); }
/* Inner page heroes use a slightly tighter heading size than the home hero */
.page-hero .hero-title { font-size: clamp(2.5rem, 6vw, 5rem); }
.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    max-width: 42rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.sf-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #56CCF2;
    box-shadow: 0 0 8px rgba(86,204,242,0.6);
    flex-shrink: 0;
    display: inline-block;
}

/* ===============================================================
   SNOWFLAKE BADGE
   =============================================================== */
.snowflake-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem 0.5rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(41,182,246,0.15), rgba(106,231,223,0.08));
    border: 1px solid rgba(41,182,246,0.3);
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #56CCF2;
}

/* ===============================================================
   SECTION: STATS BAR — adaptive
   =============================================================== */
.stats-bar { display: grid; gap: 1.5rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) { .stats-bar { grid-template-columns: repeat(4,1fr); } }
.stat-item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 2.5rem 1rem; border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body:not(.dark-mode) .stat-item { box-shadow: 0 2px 12px rgba(11,34,84,0.07); }
.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
    font-size: clamp(2.5rem,5vw,4rem); letter-spacing: -0.04em; line-height: 1;
    background: linear-gradient(135deg, var(--teal-glow), var(--teal));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 0.5rem;
}
.stat-label {
    font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--current-text, #0B2254); opacity: 0.65;
}

/* ===============================================================
   SECTION: VALUE PROP / CAPABILITY CARDS — adaptive
   =============================================================== */
.capability-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.capability-card:hover {
    transform: translateY(-4px);
    border-color: rgba(77,174,180,0.4);
}
body:not(.dark-mode) .capability-card { box-shadow: 0 2px 12px rgba(11,34,84,0.07); }
body:not(.dark-mode) .capability-card:hover { box-shadow: 0 6px 24px rgba(11,34,84,0.10); }
/* Adaptive body text inside capability cards */
.capability-card p { color: var(--current-text); opacity: 0.6; font-size: 0.875rem; line-height: 1.7; }
body.light-mode .capability-card p { color: #0B2254; opacity: 0.75; }
body.dark-mode .capability-card p { opacity: 0.55; }
/* Pillar-style treatment when section is dark (matches brand pillar-card spec) */
.section-dark .capability-card {
    background: rgba(106, 231, 223, 0.08);
    border-color: rgba(106, 231, 223, 0.2);
    box-shadow: none;
}
.section-dark .capability-card:hover {
    background: rgba(106, 231, 223, 0.14);
    border-color: rgba(106, 231, 223, 0.45);
    box-shadow: 0 6px 24px rgba(106, 231, 223, 0.10);
}
.section-dark .capability-card p { color: rgba(255,255,255,0.7); opacity: 1; }

/* --- CHALLENGE CARDS (industry pages) --- */
.challenge-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}
.challenge-card__body {
    flex: 1;
    padding: 2rem;
}
.challenge-card__title {
    color: var(--midnight);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
body.dark-mode .challenge-card__title { color: var(--white); }
.challenge-card__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--current-text);
    opacity: 0.7;
    margin: 0;
}
.challenge-card__response {
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(106,231,223,0.18) 0%, rgba(77,174,180,0.10) 100%);
    border-top: 1px solid rgba(106,231,223,0.3);
}
.response-label {
    color: var(--teal);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
}
.response-text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--midnight);
    opacity: 1;
    margin: 0;
}
body.dark-mode .response-text { color: var(--white); }

/* ===============================================================
   SECTION: SERVICES — adaptive
   =============================================================== */
.service-card {
    padding: 2.5rem;
    border-radius: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(77,174,180,0.35);
}
body:not(.dark-mode) .service-card { box-shadow: 0 2px 12px rgba(11,34,84,0.07); }
body:not(.dark-mode) .service-card:hover { box-shadow: 0 8px 28px rgba(11,34,84,0.10); background: rgba(77,174,180,0.03); }
body.dark-mode .service-card:hover { background: rgba(106,231,223,0.05); }
.service-card h3 { font-size: 1.25rem; color: var(--current-text); }
.service-card p  { color: var(--current-text); opacity: 0.72; font-size: 0.9rem; line-height: 1.75; }
body.dark-mode .service-card p { opacity: 0.55; }
/* Pillar-style treatment when section is dark */
.section-dark .service-card {
    background: rgba(106, 231, 223, 0.08);
    border-color: rgba(106, 231, 223, 0.2);
    box-shadow: none;
}
.section-dark .service-card:hover {
    background: rgba(106, 231, 223, 0.14);
    border-color: rgba(106, 231, 223, 0.45);
    box-shadow: 0 6px 24px rgba(106, 231, 223, 0.10);
}
.section-dark .service-card h3 { color: var(--white); }
.section-dark .service-card p { color: rgba(255,255,255,0.65); opacity: 1; }

/* ===============================================================
   SECTION: PROCESS STEPS — adaptive
   =============================================================== */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    left: 1.375rem;
    top: 1rem; bottom: 1rem;
    width: 2px;
    background: linear-gradient(180deg, var(--teal-glow), var(--orange));
    opacity: 0.25;
}
@media (min-width: 768px) { .process-steps::before { left: 1.875rem; } }
.process-step {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}
.process-step:last-child { border-bottom: none; }
.step-number {
    width: 2.75rem; height: 2.75rem;
    border-radius: 50%;
    background: rgba(106,231,223,0.1);
    border: 1px solid rgba(106,231,223,0.3);
    color: var(--teal-glow);
    font-family: 'Inter', sans-serif;
    font-weight: 700; font-size: 0.8rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; position: relative; z-index: 1;
}
.step-body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--current-text); }
.step-body p  { color: var(--current-text); opacity: 0.70; font-size: 0.875rem; line-height: 1.7; }

/* ===============================================================
   SECTION: TECH PARTNERS — adaptive
   =============================================================== */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (min-width: 600px)  { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600; font-size: 0.85rem;
    color: var(--current-text);
    opacity: 0.8;
    transition: border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
.partner-logo {
    max-height: 72px;
    max-width: 80%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* --- PARTNER HOVER CARDS --- */
.partner-card {
    position: relative;
    border-radius: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: default;
    transition: border-color 0.25s, box-shadow 0.25s;
    min-height: 180px;
}
body:not(.dark-mode) .partner-card { box-shadow: 0 1px 8px rgba(11,34,84,0.06); }
.partner-card:hover { border-color: rgba(77,174,180,0.4); box-shadow: 0 4px 20px rgba(11,34,84,0.10); }

.partner-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding: 2rem 1.5rem 1.5rem;
    min-height: 180px;
    transition: opacity 0.25s, transform 0.25s;
}
.partner-card-logo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.partner-card-pills {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    margin: 0.5rem 0 0;
    padding: 0.4rem 0.5rem;
}
.partner-card:hover .partner-card-front {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

.partner-card-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #18406C, #0B2254);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
}
.partner-card:hover .partner-card-back {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.partner-card-category {
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--teal-glow); margin: 0;
}
.partner-card-desc {
    font-size: 0.75rem; line-height: 1.65; color: rgba(255,255,255,0.78);
    margin: 0; flex: 1;
}
.partner-card-link {
    font-size: 0.7rem; font-weight: 600; color: var(--teal-glow);
    text-decoration: none; margin-top: auto;
}
.partner-card-link:hover { color: #fff; }
.partner-name-text {
    font-family: 'Inter', sans-serif; font-weight: 600;
    font-size: 0.85rem; color: var(--current-text);
}
.partner-status-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.22rem 1.1rem;
    border-radius: 999px;
    background: rgba(77,174,180,0.18);
    color: #4DAEB4;
    border: 1.5px solid rgba(77,174,180,0.25);
    white-space: nowrap;
    margin: 0;
    box-shadow: 0 1px 4px rgba(11,34,84,0.08);
}
body.dark-mode .partner-status-badge {
    background: rgba(77,174,180,0.28);
    color: #6AE7DF;
    border-color: rgba(106,231,223,0.45);
}

.partner-reseller-indicator {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.22rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #F4A968 0%, #E98932 100%);
    border: 1.5px solid #E98932;
    color: #fff;
    white-space: nowrap;
    margin: 0;
    box-shadow: 0 2px 8px rgba(233,137,50,0.18);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
body.dark-mode .partner-reseller-indicator {
    background: linear-gradient(90deg, #E98932 0%, #F4A968 100%);
    color: #fff;
    border-color: #F4A968;
    box-shadow: 0 2px 8px rgba(233,137,50,0.28);
}
.partner-pill:hover { border-color: rgba(77,174,180,0.4); opacity: 1; color: var(--teal); }
body:not(.dark-mode) .partner-pill { box-shadow: 0 1px 8px rgba(11,34,84,0.06); }
.partner-pill.partner-featured {
    background: rgba(106,231,223,0.08);
    border-color: rgba(106,231,223,0.25);
    color: var(--teal-glow);
    font-weight: 700;
    opacity: 1;
}

/* ===============================================================
   NEWS CARDS
   =============================================================== */
.news-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

/* Base card — glass surface with teal hover */
.news-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.25s var(--ease-emphasis),
                box-shadow 0.25s var(--ease-emphasis),
                border-color 0.25s ease;
}
body:not(.dark-mode) .news-card { box-shadow: var(--shadow-md); }

/* Teal top-accent line — fades in on hover */
.news-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-glow), var(--teal), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}
.news-card:hover::before { opacity: 1; }
.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(106, 231, 223, 0.35);
    box-shadow: var(--shadow-glow);
}

/* Featured card — dark glass, full-width, always shows teal accent */
.news-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--midnight) 100%);
    border-color: rgba(106, 231, 223, 0.18);
    color: var(--white);
}
.news-card--featured::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--teal-glow) 0%, var(--teal) 30%, transparent 70%);
}
.news-card--featured:hover {
    border-color: rgba(106, 231, 223, 0.45);
    box-shadow: var(--shadow-glow);
}
@media (max-width: 639px) { .news-card--featured { flex-direction: column; } }

.news-card-thumb {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.91/1;
    width: 100%;
    min-width: 320px;
    max-width: 100%;
    height: auto;
    border-radius: 18px 18px 0 0;
    background: #f6f8fc;
}
 .news-card-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.91/1;
    object-fit: contain;
    background: #f6f8fc;
    border-radius: 18px 18px 0 0;
    display: block;
    transition: transform 0.4s var(--ease-emphasis);
}
}
.news-card:hover .news-card-thumb img { transform: scale(1.04); }
 .news-card--featured .news-card-thumb {
    width: 600px;
     aspect-ratio: 1.91/1;
     max-width: 100%;
    border-radius: 18px 0 0 0;
     background: transparent;
 }
 .news-card--featured .news-card-thumb img {
     width: 100%;
     height: 100%;
     aspect-ratio: 1.91/1;
     object-fit: cover;
     background: transparent;
    border-radius: 18px 0 0 0;
     display: block;
 }
@media (max-width: 639px) { .news-card--featured .news-card-thumb { width: 100%; } }
@media (max-width: 639px) { .news-card--featured .news-card-thumb img { width: 100%; height: 200px; } }

.news-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}
.news-card--featured .news-card-body { padding: 2.25rem; justify-content: center; }

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--current-text);
    margin: 0;
    line-height: 1.35;
}
.news-card--featured .news-card-title { font-size: 1.5rem; color: var(--white); }

.news-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--current-text);
    opacity: 0.65;
    margin: 0;
    flex: 1;
}
.news-card--featured .news-card-excerpt { color: rgba(255,255,255,0.75); opacity: 1; }

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--current-text);
    opacity: 0.45;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}
.news-card--featured .news-card-meta {
    border-top-color: rgba(106, 231, 223, 0.15);
    color: rgba(255,255,255,0.5);
    opacity: 1;
}
.news-card-cta { color: var(--teal-glow); font-weight: 600; opacity: 1; }

/* Force tags to read correctly on the dark featured card */
.news-card--featured .tag {
    background: rgba(106, 231, 223, 0.12);
    color: var(--teal-glow);
    border-color: rgba(106, 231, 223, 0.25);
}

/* ===============================================================
   ARTICLE PAGE
   =============================================================== */
.article-hero {
    background: var(--midnight);
    padding: 5rem 0 4rem;
    border-bottom: 1px solid rgba(106,231,223,0.12);
}
.article-hero .container { max-width: 860px; }
.article-hero-eyebrow {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.article-back {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    color: rgba(255,255,255,0.45); text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: color 0.2s;
}
.article-back:hover { color: var(--teal-glow); }
.article-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1; letter-spacing: -0.03em;
    color: #fff; margin-bottom: 1.25rem;
}
.article-hero-meta {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    font-size: 0.85rem; color: rgba(255,255,255,0.45);
}
.article-hero-meta span { display: flex; align-items: center; gap: 0.35rem; }

.article-featured-image {
    background: var(--midnight);
    padding-bottom: 0;
    line-height: 0;
}
.article-featured-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-top: 1px solid rgba(106, 231, 223, 0.1);
}

.article-body-wrap {
    padding: 4rem 0 5rem;
}
.article-body-wrap .container {
    max-width: 860px;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 860px) {
    .article-body-wrap .container { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Prose body */
.article-prose {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem; line-height: 1.8;
    color: var(--page-text);
}
.article-prose p { margin-bottom: 1.4rem; }
.article-prose p:last-child { margin-bottom: 0; }
.article-prose strong { font-weight: 700; color: var(--page-text); }
.article-prose em { font-style: italic; }
.article-prose h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em;
    color: var(--page-text); margin: 2.5rem 0 1rem; line-height: 1.2;
}
.article-prose h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; font-size: 1.15rem;
    color: var(--page-text); margin: 2rem 0 0.75rem;
}
.article-prose ul, .article-prose ol {
    margin: 0 0 1.4rem 1.5rem; padding: 0;
}
.article-prose li { margin-bottom: 0.5rem; }
.article-prose ul li { list-style: disc; }
.article-prose ol li { list-style: decimal; }
.article-prose a {
    color: var(--teal); text-decoration: underline;
    text-underline-offset: 3px;
}
.article-prose a:hover { color: var(--teal-glow); }
.article-prose blockquote {
    border-left: 3px solid var(--teal);
    margin: 2rem 0; padding: 1rem 1.5rem;
    background: rgba(77,174,180,0.06);
    border-radius: 0 8px 8px 0;
    font-style: italic; color: var(--page-text-muted);
}
.article-prose hr {
    border: none; border-top: 1px solid var(--border-color);
    margin: 2.5rem 0;
}
.article-hero-image {
    width: 100%;
    aspect-ratio: 1.91/1;
    border-radius: 18px;
    margin-bottom: 1.25rem;
    object-fit: contain;
    min-width: 320px;
    max-width: 800px;
    max-height: 340px;
    height: auto;
    display: block;
    background: #f6f8fc;
}

/* Sidebar */
.article-sidebar { position: sticky; top: 6rem; }
.article-sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px; padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.article-sidebar-label {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--teal);
    margin-bottom: 0.9rem; display: block;
}
.article-sidebar-links { list-style: none; padding: 0; margin: 0; }
.article-sidebar-links li { margin-bottom: 0.6rem; }
.article-sidebar-links a {
    font-size: 0.875rem; color: var(--page-text);
    text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
    opacity: 0.8; transition: color 0.2s, opacity 0.2s;
}
.article-sidebar-links a:hover { color: var(--teal); opacity: 1; }
.article-sidebar-links .ext-icon { opacity: 0.45; font-size: 0.75rem; }
.article-share-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; padding: 0.65rem 1rem;
    border-radius: 8px; border: 1px solid var(--border-color);
    background: transparent; color: var(--page-text);
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s;
    margin-bottom: 0.6rem;
}
.article-share-btn:hover { background: var(--teal); color: #0B2254; border-color: var(--teal); }
.article-share-btn.linkedin { background: #0077B5; color: #fff; border-color: #0077B5; }
.article-share-btn.linkedin:hover { background: #005e8e; border-color: #005e8e; }

/* ===============================================================
   CLIENT STORY CARDS
   =============================================================== */
.client-story-card {
    background: linear-gradient(135deg, #0b2254 0%, #18406C 100%);
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(11,34,84,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    padding-bottom: 0;
}
.client-story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(11,34,84,0.14);
}

/* Banner */
.cs-banner {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--deep-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 2.5rem; /* Increased space above logo */
}

/* cs-banner intentionally stays dark in all modes — logo filter handles contrast */
.cs-industry {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--orange);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1.5px solid var(--orange-soft);
    box-shadow: 0 1px 4px rgba(233,137,50,0.10);
    z-index: 2;
}
body.dark-mode .cs-industry {
    background: var(--orange-soft);
    color: #fff;
    border-color: var(--orange);
}
.cs-flag-pill {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(11,34,84,0.06);
    z-index: 2;
}
.cs-banner-logo {
    max-height: 56px;
    max-width: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.client-story-logo {
    max-height: 56px;
    max-width: 70%;
    object-fit: contain;
}
.cs-banner-name {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    opacity: 0.9;
}

/* Card body */
.cs-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cs-desc {
    color: var(--current-text);
    opacity: 0.72;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0 0 0.5rem 0;
    min-height: 8.5em; /* 5 lines x 1.7em */
    max-height: 8.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.cs-stack {
    min-height: 32px;
    max-height: 32px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem; /* increased space below logos */
}

.cs-footer {
    min-height: 20px;
    max-height: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}
.cs-footer {
    font-size: 0.775rem;
    color: var(--current-text);
    opacity: 0.4;
    font-family: 'Inter', sans-serif;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.cs-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--teal);
    text-decoration: none;
    opacity: 1;
    white-space: nowrap;
    transition: color 0.15s, opacity 0.15s;
}
.cs-resource-link:hover { color: var(--teal-glow); }

/* Pagination */
.cs-pagination-wrap { margin-top: 2rem; }
.cs-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.cs-page-btn {
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cs-page-btn:hover { border-color: var(--teal); color: var(--teal); }
.cs-page-btn.active { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* Stack logos */
.cs-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding-top: 0.75rem;
}

.cs-stack-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.15s;
    display: none;
}
/* Show color logo by default, hide white */
.cs-stack-logo-color { display: none !important; }
.cs-stack-logo-white { display: inline-block !important; filter: brightness(1) invert(0) opacity(1) !important; }
/* If fallback (no white logo), show in both modes */
.cs-stack-logo-fallback { display: inline-block !important; }
body.dark-mode .cs-stack-logo-fallback { display: inline-block !important; }
.cs-stack-logo:hover { opacity: 1; }
body.dark-mode .cs-stack-logo-color { display: none; }
body.dark-mode .cs-stack-logo-white { display: inline-block; opacity: 0.75; }
body.dark-mode .cs-stack-logo-white:hover { opacity: 1; }

/* ===============================================================
   CLIENT MARQUEE CAROUSEL
   =============================================================== */
.client-marquee-wrap {
    overflow: hidden;
    width: 100%;
    margin: 2.5rem 0 3.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.client-marquee {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marquee-scroll 48s linear infinite;
}
.client-marquee:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.client-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #18406C 0%, #0B2254 100%) !important;
    border: 1px solid rgba(106,231,223,0.15) !important;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 140px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.client-tile:hover { border-color: rgba(106,231,223,0.4); box-shadow: 0 4px 16px rgba(106,231,223,0.10); }
.client-logo { max-height: 32px; max-width: 120px; object-fit: contain; filter: brightness(0) invert(1) opacity(0.85); }
.client-tile .client-logo { filter: brightness(0) invert(1) opacity(0.85) !important; }
.client-tile .client-logo-color { display: none !important; }
.client-tile .client-logo-white { display: block !important; }
.client-name {
    font-family: 'Inter', sans-serif; font-weight: 600;
    font-size: 0.9rem; color: rgba(255,255,255,0.8); opacity: 1;
}

/* ===============================================================
   COMMUNITY SECTION
   =============================================================== */
.community-card {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(11,34,84,0.08);
}

/* Left brand column */
.community-card-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 220px;
    flex: 0 0 240px;
}
.community-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.community-sf-logo { height: 40px; width: auto; object-fit: contain; }
.community-group-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--current-text);
    margin: 0;
    line-height: 1.3;
}
.community-group-sub {
    font-size: 0.75rem;
    color: var(--current-text);
    opacity: 0.45;
    margin: 0;
}
.community-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }

/* Right content column */
.community-card-content { flex: 1; min-width: 280px; }

.community-video-featured {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    text-decoration: none;
    background: var(--midnight);
}
.community-video-featured img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.community-video-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.community-video-caption p { margin: 0; font-size: 0.875rem; font-weight: 600; }

.community-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.community-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.community-stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--teal);
}
.community-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--current-text);
    opacity: 0.5;
}

/* ===============================================================
   SECTION: CTA BANNER — always dark (dark-surface)
   =============================================================== */
.cta-banner {
    background: linear-gradient(135deg, #18406C, #0B2254);
    border: 1px solid rgba(106,231,223,0.15);
    border-radius: 32px;
    padding: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -60%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(106,231,223,0.12), transparent 70%);
    pointer-events: none;
}
.cta-banner .label-caps { margin-bottom: 1.5rem; }
.cta-banner h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,0.65); max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1rem; line-height: 1.75; }
.cta-banner .hero-actions { justify-content: center; }

/* ===============================================================
   SECTION: CONTACT FORM — adaptive
   =============================================================== */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form-field label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--current-text); opacity: 0.70;
}
.form-field input,
.form-field textarea,
.form-field select {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--current-text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem; font-weight: 300;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--current-text); opacity: 0.3; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--teal-glow);
    box-shadow: 0 0 0 3px rgba(106,231,223,0.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* ===============================================================
   FOOTER — always dark (dark-surface)
   =============================================================== */
.site-footer {
    background: linear-gradient(180deg, #070F20, #0B2254);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 5rem 0 2.5rem;
    color: var(--white);
}
.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 1rem; color: rgba(255,255,255,0.60); font-size: 0.875rem; line-height: 1.7; max-width: 22rem; }
.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700; font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.55); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.875rem; font-family: 'Inter', sans-serif; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-glow); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255,255,255,0.50);
    font-size: 0.75rem;
}
.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: rgba(106,231,223,0.15); color: var(--teal-glow); }
.footer-social .yt-social:hover { background: rgba(255,0,0,0.15) !important; color: #FF4444 !important; }

/* ===============================================================
   TEAM GRID — adaptive
   =============================================================== */
.team-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 480px)  { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .team-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1200px) { .team-grid { grid-template-columns: repeat(4,1fr); } }
.team-filter-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem 1.5rem;
    margin-bottom: 2.5rem;
}
.team-filter-heading {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--current-text); opacity: 0.4;
    margin: 0 0 0.875rem;
}
.team-filters { display: flex; flex-direction: column; gap: 0.75rem; }
.team-filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.team-no-results { text-align: center; color: var(--current-text); opacity: 0.5; padding: 3rem; font-size: 0.9rem; }
.team-pills { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0.25rem 0 0.5rem; }
.team-pill {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem; border-radius: 100px;
}
.team-pill--seniority { background: rgba(11,34,84,0.08); color: var(--midnight); }
body.dark-mode .team-pill--seniority { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
.team-pill--role { background: rgba(77,174,180,0.12); color: var(--teal); }
body.dark-mode .team-pill--role { background: rgba(77,174,180,0.18); color: var(--teal-glow); }

/* Snowflake designation pills */
.team-pills--designations { margin-top: 0.25rem; }
.team-pill--chapter-leader,
.team-pill--snow-squad,
.team-pill--sf-superhero {
    background: rgba(41,182,246,0.12);
    border: 1px solid rgba(41,182,246,0.3);
    color: #29B6F6;
}
body.dark-mode .team-pill--chapter-leader,
body.dark-mode .team-pill--snow-squad,
body.dark-mode .team-pill--sf-superhero {
    background: rgba(41,182,246,0.18);
    color: #5bcffa;
}
.team-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.75rem; }
.team-linkedin, .team-email {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.72rem; font-weight: 600; text-decoration: none;
    padding: 0.3rem 0.75rem; border-radius: 100px;
    border: 1px solid var(--border-color);
    color: var(--current-text); opacity: 0.7;
    transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}
.team-linkedin:hover { opacity: 1; border-color: #0A66C2; color: #0A66C2; }
.team-email:hover    { opacity: 1; border-color: var(--teal); color: var(--teal); }
.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px; padding: 2rem;
    display: flex; flex-direction: column; gap: 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(77,174,180,0.35); }
body:not(.dark-mode) .team-card { box-shadow: 0 2px 12px rgba(11,34,84,0.07); }
body:not(.dark-mode) .team-card:hover { box-shadow: 0 6px 24px rgba(11,34,84,0.10); }
.team-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
    font-size: 1.25rem; color: var(--white); flex-shrink: 0; overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar--midnight { background: linear-gradient(135deg,#0B2254,#18406C); }
.avatar--teal     { background: linear-gradient(135deg,#4DAEB4,#6AE7DF); color: var(--midnight); }
.avatar--orange   { background: linear-gradient(135deg,#E98932,#F7A844); }
.avatar--deep     { background: linear-gradient(135deg,#18406C,#265D84); }
.avatar--glow     { background: linear-gradient(135deg,#6AE7DF,#4DAEB4); color: var(--midnight); }
.avatar--signal   { background: linear-gradient(135deg,#E98932,#6AE7DF); }
.team-info { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.team-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; color: var(--current-text); letter-spacing: -0.02em; }
.team-role { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--teal-glow); }
.team-bio  { font-size: 0.82rem; font-weight: 300; color: var(--current-text); opacity: 0.72; line-height: 1.7; }

/* ===============================================================
   INDUSTRY CARDS — adaptive
   =============================================================== */
/* ===============================================================
   INDUSTRY CARDS — Horizon Aesthetic
   =============================================================== */
.horizon-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    cursor: default;
}
.horizon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 52px rgba(0,0,0,0.4);
}
.horizon-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transition: transform 0.7s ease;
}
.horizon-card:hover .horizon-card-bg { transform: scale(1.08); }
.horizon-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(11,34,84,0) 0%,
        rgba(11,34,84,0.72) 52%,
        rgba(11,34,84,0.97) 100%);
}
.horizon-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.horizon-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 1.55rem;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}
.horizon-card-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.65;
    margin: 0;
    font-weight: 300;
}
.horizon-solutions {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.horizon-solutions li {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.45;
}
.horizon-solutions li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--teal-glow);
}
.horizon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}
.horizon-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(106,231,223,0.18);
    color: var(--teal-glow);
    border: 1px solid rgba(106,231,223,0.3);
}

/* ===============================================================
   BLOG CARDS — adaptive
   =============================================================== */
.blog-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .blog-grid .blog-card--featured { grid-column: span 2; } }
.blog-card {
    display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--current-text);
    text-decoration: none; min-height: 200px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(77,174,180,0.35); }
body:not(.dark-mode) .blog-card { box-shadow: 0 2px 12px rgba(11,34,84,0.07); }
body:not(.dark-mode) .blog-card:hover { box-shadow: 0 6px 24px rgba(11,34,84,0.10); }
body.dark-mode .blog-card:hover { background: rgba(106,231,223,0.04); }
/* Featured card is always dark (like a .panel-dark) */
.blog-card--featured {
    background: linear-gradient(145deg,#18406C,#0B2254);
    border-color: rgba(106,231,223,0.18);
    color: var(--white);
    min-height: 280px;
}
.blog-card--featured:hover { border-color: rgba(106,231,223,0.4); box-shadow: 0 8px 32px rgba(11,34,84,0.25) !important; }
.blog-card-pub {
    font-family: 'Inter', sans-serif; font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em; color: var(--teal-glow);
}
.blog-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem;
    letter-spacing: -0.02em; line-height: 1.3; color: var(--current-text); flex: 1;
}
.blog-card--featured .blog-card-title { font-size: 1.25rem; color: var(--white); }
.blog-card-meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; color: var(--current-text); opacity: 0.45; margin-top: auto; }
.blog-card--featured .blog-card-meta { color: rgba(255,255,255,0.45); opacity: 1; }
.blog-card-readmore {
    font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em; color: var(--teal); transition: color 0.2s;
}
.blog-card:hover .blog-card-readmore { color: var(--teal-glow); }

/* ===============================================================
   YOUTUBE SECTION
   =============================================================== */
.yt-embed-wrapper {
    position: relative; width: 100%; border-radius: 20px;
    overflow: hidden; background: #000; aspect-ratio: 16/9;
    border: 1px solid var(--border-color);
}
.yt-embed-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.yt-video-thumb {
    position: relative; border-radius: 16px; overflow: hidden;
    background: linear-gradient(145deg,#18406C,#0B2254);
    aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1); text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.yt-video-thumb:hover { border-color: rgba(233,137,50,0.5); transform: translateY(-3px); }
.yt-play-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(233,137,50,0.92);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--white); position: relative; z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(233,137,50,0.4);
}
.yt-play-icon.small { width: 36px; height: 36px; font-size: 0.85rem; }
.yt-video-thumb:hover .yt-play-icon { background: var(--orange); transform: scale(1.1); }
.yt-channel-link {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: #FF0000; color: var(--white); padding: 0.7rem 1.5rem;
    border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 0.7rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.yt-channel-link:hover { background: #CC0000; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,0,0,0.35); }

/* ===============================================================
   UTILITY
   =============================================================== */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }
.gap-1  { gap: 0.5rem; }
.gap-2  { gap: 1rem; }
.gap-3  { gap: 1.5rem; }
.gap-4  { gap: 2rem; }
.gap-6  { gap: 3rem; }
.mt-2   { margin-top: 1rem; }
.mt-4   { margin-top: 2rem; }
.mb-2   { margin-bottom: 1rem; }
.mb-4   { margin-bottom: 2rem; }
.text-center   { text-align: center; }
.w-full        { width: 100%; }
.relative      { position: relative; }
.overflow-hidden { overflow: hidden; }
/* =============================================================
   BLOG PAGE
   ============================================================= */

.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-filter-btn {
    padding: 0.35rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--current-text);
    opacity: 0.75;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
}
.blog-filter-btn:hover { opacity:1; border-color:var(--teal); color:var(--teal); }
.blog-filter-btn.active { background:var(--teal); border-color:var(--teal); color:var(--white); opacity:1; }

.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-page-grid .blog-page-card--featured { grid-column: span 2; }

.blog-page-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body:not(.dark-mode) .blog-page-card { box-shadow: 0 2px 12px rgba(11,34,84,0.06); }
.blog-page-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,34,84,0.12); }
body.dark-mode .blog-page-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

.blog-page-card-thumb {
    width: 100%;
    aspect-ratio: 1.91/1;
    overflow: hidden;
    background: var(--border-color);
    border-radius: 18px 18px 0 0;
}
.blog-page-card-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.91/1;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 0 0;
}

.blog-page-card-body { display:flex; flex-direction:column; gap:0.6rem; padding:1.5rem; flex:1; }

.blog-page-tags { display:flex; flex-wrap:wrap; gap:0.4rem; }
.blog-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    background: rgba(0,200,190,0.12);
    color: var(--teal);
}

.blog-page-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--current-text);
    margin: 0;
}
.blog-page-card--featured .blog-page-card-title { font-size: 1.3rem; }

.blog-page-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--current-text);
    opacity: 0.65;
    margin: 0;
    flex: 1;
}

.blog-page-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--current-text);
    opacity: 0.5;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .blog-page-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-page-grid .blog-page-card--featured { grid-column: span 2; }
}
@media (max-width: 600px) {
    .blog-page-grid { grid-template-columns: 1fr; }
    .blog-page-grid .blog-page-card--featured { grid-column: span 1; }
}

/* =============================================
   HOME YOUTUBE — REAL THUMBNAIL LAYOUT
   ============================================= */
.yt-home-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
}
.yt-featured-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.yt-featured-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.yt-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--midnight);
}
.yt-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.yt-featured-card:hover .yt-thumb-wrap img { transform: scale(1.03); }
.yt-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.yt-featured-card:hover .yt-play-overlay,
.yt-strip-card:hover .yt-play-overlay { opacity: 1; }
.yt-play-btn {
    width: 56px;
    height: 56px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    padding-left: 4px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.yt-play-btn.small { width: 36px; height: 36px; font-size: 0.85rem; }
.yt-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: white;
}
.yt-card-caption p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0;
}
.yt-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--teal);
    color: white;
    border-radius: 4px;
    padding: 2px 7px;
    margin-bottom: 0.35rem;
}
/* Strip (right column) */
.yt-strip {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.yt-strip-card {
    display: flex;
    gap: 0.75rem;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.yt-strip-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.yt-strip-thumb {
    position: relative;
    width: 130px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--midnight);
}
.yt-strip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.yt-strip-card:hover .yt-strip-thumb img { transform: scale(1.05); }
.yt-strip-body {
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    justify-content: center;
}
.yt-strip-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--current-text);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Responsive */
@media (max-width: 900px) {
    .yt-home-layout { grid-template-columns: 1fr; }
    .yt-strip { flex-direction: row; flex-wrap: wrap; }
    .yt-strip-card { flex: 1 1 calc(50% - 0.5rem); }
}
@media (max-width: 600px) {
    .yt-strip-card { flex: 1 1 100%; }
    .yt-strip-thumb { width: 110px; }
}

/* =============================================
   VIDEOS PAGE — THUMBNAIL TREATMENT
   ============================================= */
.yt-thumb {
    position: relative;
}
.yt-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.yt-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    padding-left: 3px;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.blog-page-card:hover .yt-play-badge { opacity: 1; }
/* ===============================================================
   HOME PARTNERS — static, brand-led cards
   =============================================================== */
/* Updated for grayscale gradient in light mode */
.featured-partner-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    margin: 0 auto 3rem;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
    background: linear-gradient(135deg, #1a4070 0%, #0B2254 50%, #060e22 100%);
    border-radius: 16px;
    border: 1px solid rgba(77,174,180,0.18);
}
@media (min-width: 820px) {
    .featured-partner-card { grid-template-columns: 240px 1fr; gap: 3.5rem; }
}
/* Badge column — left */
.featured-partner-badge-col { display: flex; align-items: center; justify-content: center; }
.featured-partner-badge { width: 240px; height: 240px; object-fit: contain; flex-shrink: 0; }
/* Body column — right */
.featured-partner-body { display: flex; flex-direction: column; gap: 1.25rem; }
.featured-partner-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
/* .tag-ghost-teal moved to brand-identity.css (single source of truth) */
.featured-partner-logo { max-width: min(320px, 100%); max-height: 100px; object-fit: contain; object-position: left center; }
/* Dark-mode logo swap for partner grid cards */
.partner-logo-color { display: block; }
.partner-logo-white { display: none; }
.dark-mode .partner-logo-color { display: none; }
.dark-mode .partner-logo-white { display: block; }
.featured-partner-desc { color: var(--page-text-muted); line-height: 1.75; margin: 0; }
.featured-partner-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }
.ecosystem-label { color: var(--page-text-muted); margin-bottom: 1.5rem; text-align: center; }
.partner-card-heading { color: var(--current-text); margin: 0; }

@media (prefers-reduced-motion: reduce) {
    .client-marquee { animation: none; transform: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .partner-card, .partner-card-front, .partner-card-back, .client-story-card { transition: none; }
}

/* ===============================================================
   BRAND COMPONENT SYSTEM
   Generic component classes used by JSON-driven renderers in
   shared/brand-components.js. These intentionally inherit from the
   brand identity tokens defined in brand-identity.css.
   =============================================================== */
.dl-component-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--current-text);
}

.dl-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(77,174,180,0.10);
    border: 1px solid rgba(77,174,180,0.22);
    color: var(--teal);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

 .client-logo {
    max-height: 44px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

/* Stack logos: always use color, invert in dark mode */
.cs-stack-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.15s;
    display: inline-block;
}
.cs-stack-logo:hover { opacity: 1; }
body.dark-mode .cs-stack-logo { filter: brightness(0) invert(1); opacity: 0.55; }
body.dark-mode .cs-stack-logo:hover { opacity: 0.9; }

[data-component] [aria-live="polite"]:empty::before {
    content: "Loading...";
    display: block;
    padding: 1rem;
    color: var(--current-text);
    opacity: 0.55;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

/* ===============================================================
   HOME HERO — layout overrides and ambient glow
   =============================================================== */
.site-hero .hero-content {
    flex: 1 1 0%;
    min-width: 0;
}
.hero-ambient-glow {
    position: absolute;
    top: -120px;
    right: 0;
    width: 600px;
    height: 480px;
    z-index: 1;
    pointer-events: none;
}
.hero-ambient-glow-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 40%, rgba(106, 231, 223, 0.22), transparent 70%);
    filter: blur(0.5px);
}

/* ===============================================================
   HOME HERO CHAT DEMO — AI assistant mockup card
   Layout and sizing defined at top of file in HOME HERO LAYOUT block.
   =============================================================== */

.chat-demo {
    background: linear-gradient(135deg, var(--deep-blue) 80%, var(--midnight) 100%);
    border-radius: 18px;
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(106, 231, 223, 0.12);
    color: var(--white);
}

.chat-demo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}
.chat-live-dot {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1.91/1;
    background: #f6f8fc;
    border-radius: 18px;
    display: block;
    transition: transform 0.4s var(--ease-emphasis);
    font-size: 0.92rem;
    opacity: 0.7;
    font-weight: 500;
}
.chat-demo-badge {
    background: rgba(11, 34, 84, 0.6);
    color: var(--teal-glow);
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: auto;
}

.chat-messages { margin-bottom: 1.1rem; }
.chat-message {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    max-width: 90%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.chat-message--user {
    background: var(--midnight);
    border-radius: 12px 12px 12px 4px;
    font-size: 1rem;
}
.chat-message--ai {
    background: #17305A;
    border-radius: 12px 12px 4px 12px;
    margin-left: 2.5rem;
    max-width: 95%;
    font-size: 0.98rem;
}
.chat-name  { color: var(--teal-glow); font-weight: 600; }
.chat-text  { opacity: 0.7; }
.chat-text--ai { opacity: 0.9; }

.chat-chart {
    margin: 1.2rem 0 0.5rem;
    padding: 1.2rem 1rem 1rem;
    background: #12224A;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.chat-chart-title {
    font-size: 0.82rem;
    opacity: 0.7;
    margin-bottom: 0.7rem;
}
.chat-chart-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.chat-bar-row    { display: flex; align-items: center; gap: 0.7rem; }
.chat-bar-label  { width: 80px; opacity: 0.7; font-size: 0.85rem; }
.chat-bar-track  { flex: 1; height: 8px; background: #23345A; border-radius: 4px; overflow: hidden; }
.chat-bar-fill   { height: 100%; border-radius: 4px; }
.chat-bar-fill--teal   { background: var(--teal-glow); }
.chat-bar-fill--orange { background: var(--orange); }
.chat-bar-value          { width: 38px; text-align: right; font-size: 0.85rem; font-weight: 600; }
.chat-bar-value--teal    { color: var(--teal-glow); }
.chat-bar-value--orange  { color: var(--orange); }

.chat-actions { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.chat-action-btn {
    background: rgba(11, 34, 84, 0.6);
    color: var(--teal-glow);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.chat-action-btn--secondary { color: rgba(255, 255, 255, 0.7); }

/* ===============================================================
   INDUSTRY DETAIL PAGE  (generated by scripts/build-industries.js)
   =============================================================== */

/* Hero breadcrumb (inside dark page-hero) */
.ind-hero-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; margin-bottom: 1.5rem;
}
.ind-hero-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .15s; }
.ind-hero-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.ind-hero-breadcrumb span { color: rgba(255,255,255,0.85); }
.ind-hero-breadcrumb i { font-size: 11px; color: rgba(255,255,255,0.28); }

/* Hero breadcrumb (inside dark page-hero) */
.ind-hero-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; margin-bottom: 1.5rem;
}
.ind-hero-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .15s; }
.ind-hero-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.ind-hero-breadcrumb span { color: rgba(255,255,255,0.85); }
.ind-hero-breadcrumb i { font-size: 11px; color: rgba(255,255,255,0.28); }

/* Stats strip — first light section after dark hero */
.ind-stats-strip { padding-top: 2.5rem; margin-bottom: 2.5rem; }

/* Section helpers */
.ind-section { margin-bottom: 0; }
.ind-divider { border: none; border-top: 1px solid var(--border-color); margin: 40px 0; }

/* Typography */
.ind-section-label {
    display: block; font-size: 11px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 8px;
}
.ind-hero-eyebrow .ind-section-label { margin-bottom: 0; }
.ind-h1 { font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--midnight); margin-bottom: 16px; }
.ind-h2 { font-size: 22px; font-weight: 600; color: var(--midnight); margin-bottom: 18px; }
.ind-h2--tight { margin-bottom: 6px; }
.ind-intro { font-size: 15px; color: var(--muted-text); line-height: 1.7; max-width: 580px; }
.ind-intro--wide { max-width: 100%; margin-bottom: 22px; }
.ind-intro--bottom { margin-bottom: 18px; }

/* Hero eyebrow */
.ind-hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ind-icon-box {
    width: 38px; height: 38px;
    border-radius: var(--border-radius-md, 8px);
    background: rgba(77,174,180,0.08);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ind-icon-box i { font-size: 20px; color: var(--teal); }

/* CTA row buttons */
.ind-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; margin-bottom: 36px; }
.ind-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; padding: 11px 22px;
    border-radius: var(--border-radius-md, 8px);
    background: var(--midnight); color: #fff;
    transition: opacity .15s; text-decoration: none;
}
.ind-btn-primary:hover { opacity: .88; }
.ind-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; padding: 11px 22px;
    border-radius: var(--border-radius-md, 8px);
    border: 1px solid var(--border-strong); color: var(--midnight);
    background: var(--card-bg, #fff); transition: background .15s; text-decoration: none;
}
.ind-btn-ghost:hover { background: var(--bg-tint); }

/* Stat chips */
.ind-stats-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .ind-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.ind-stat-card {
    background: var(--card-bg, #fff); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 20px 24px;
}
body:not(.dark-mode) .ind-stat-card { box-shadow: 0 2px 12px rgba(11,34,84,0.07); }
.ind-stat-value { font-size: 26px; font-weight: 700; color: var(--current-text); margin-bottom: 4px; line-height: 1; }
.ind-stat-label  { font-size: 12px; color: var(--muted-text); }

/* Technology selector (partner logo buttons) */
.ind-tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 480px) { .ind-tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .ind-tech-grid { grid-template-columns: repeat(5, 1fr); } }
.ind-tech-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px;
    padding: 18px 12px; border: 1px solid var(--border-color);
    border-radius: 16px; background: var(--card-bg, #fff);
    cursor: pointer; text-align: center; transition: border-color .18s, background .18s;
    font-family: inherit; font-size: inherit;
}
.ind-tech-btn:hover { border-color: rgba(77,174,180,0.45); }
.ind-tech-btn.active { border-color: var(--teal); background: rgba(77,174,180,0.06); }
.ind-tech-btn.active .ind-tech-name { color: var(--teal); }
body:not(.dark-mode) .ind-tech-btn { box-shadow: 0 2px 8px rgba(11,34,84,0.06); }
body.dark-mode .ind-tech-btn.active { background: rgba(106,231,223,0.08); border-color: var(--teal-glow); }
body.dark-mode .ind-tech-btn.active .ind-tech-name { color: var(--teal-glow); }

/* Partner logo inside tech button */
.ind-tech-logo-wrap { height: 40px; display: flex; align-items: center; justify-content: center; width: 100%; }
.ind-tech-logo { max-height: 36px; max-width: 88%; object-fit: contain; display: block; }
body.dark-mode .ind-tech-logo { filter: brightness(0) invert(1); opacity: .82; }

/* Bug image in tech detail panel */
.ind-tech-bug-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ind-tech-bug-img { width: 48px; height: 48px; object-fit: contain; }
body.dark-mode .ind-tech-bug-img { filter: brightness(0) invert(1); opacity: .85; }

.ind-tech-name       { font-size: 12px; font-weight: 600; color: var(--current-text); line-height: 1.3; }
.ind-tech-type-label { font-size: 10px; color: var(--muted-text); }

/* Tech detail — capability-card injected by JS, this just clears the wrapper */
#ind-tech-detail { min-height: 0; }

/* Point rows inside tech detail panel */
.ind-point-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.ind-point-row:last-child { border-bottom: none; }
.ind-point-row > i { font-size: 17px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.ind-point-label  { font-size: 13px; font-weight: 600; color: var(--current-text); margin-bottom: 3px; }
.ind-point-detail { font-size: 12px; color: var(--muted-text); line-height: 1.65; }

/* Technology stack chips */
.ind-stack-chip {
    display: inline-block; font-size: 11px; font-weight: 500; padding: 3px 9px;
    border-radius: 6px; background: rgba(77,174,180,0.1); color: var(--teal);
    border: 1px solid rgba(77,174,180,0.2);
}
body.dark-mode .ind-stack-chip { background: rgba(106,231,223,0.1); color: var(--teal-glow); border-color: rgba(106,231,223,0.2); }

/* Learn-more link in tech detail */
.ind-learn-more {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600; color: var(--teal); text-decoration: none; white-space: nowrap;
}
.ind-learn-more:hover { text-decoration: underline; }
body.dark-mode .ind-learn-more { color: var(--teal-glow); }

/* Deliverables 2x2 full-width grid */
.ind-deliverables-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .ind-deliverables-grid { grid-template-columns: 1fr; } }

/* Client stories carousel */
.ind-carousel { overflow: hidden; }
.ind-carousel-track { display: flex; gap: 1.5rem; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); }
.ind-carousel-slide { flex: 0 0 auto; min-width: 0; }
.ind-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.ind-carousel-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border-color); background: var(--surface);
    color: var(--current-text); display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem; transition: border-color .2s, color .2s;
}
.ind-carousel-btn:hover { border-color: var(--teal-glow); color: var(--teal-glow); }
.ind-carousel-dots { display: flex; align-items: center; gap: .5rem; }
.ind-carousel-dot {
    width: 8px; height: 8px; border-radius: 4px; border: none;
    background: var(--border-color); cursor: pointer; padding: 0;
    transition: width .25s, background .25s;
}
.ind-carousel-dot.active { width: 24px; background: var(--teal-glow); }

/* Client card banner (always dark — partner/client logo on midnight gradient) */
.ind-cs-banner {
    position: relative; height: 160px;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--deep-blue) 100%);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    padding-top: 1.75rem;
}
.ind-cs-banner .cs-industry { top: .875rem; left: .875rem; }
.ind-cs-banner .cs-flag-pill { top: .875rem; right: .875rem; }
.ind-cs-banner-logo { max-height: 52px; max-width: 68%; object-fit: contain; }
.ind-cs-client-name { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.03em; opacity: .85; }

/* View-all link */
.ind-view-all {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500; color: var(--current-text);
    padding: 10px 20px; border: 1px solid var(--border-color);
    border-radius: 999px; background: var(--card-bg, #fff);
    transition: border-color .15s, color .15s; text-decoration: none;
}
.ind-view-all:hover { border-color: var(--teal); color: var(--teal); }
.chat-action-btn:hover { background: rgba(11, 34, 84, 0.9); }

/* --- HERO2: RIGHT COLUMN — partner badge + news card --- */
.site-hero {
  position: relative;
  overflow: visible;
}
.floating-partner-badge {
  position: absolute;
  top: 3.5rem;
  right: 4.5rem;
  height: 6.5rem;
  width: auto;
  z-index: 3;
  box-shadow: 0 6px 32px 0 rgba(11,34,84,0.32), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  background: none;
  border-radius: 50%;
}

/* Right-hand column: badge pinned top, news card pinned bottom */
.home-hero-news-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
    flex: 0 0 38%;
    max-width: 420px;
}

/* Badge centered, large — sits at the top of the column */
.hero-badge-area {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hero-partner-badge {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(11,34,84,0.30));
}

/* News card: image left fills full height, text right */
.hero-news-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 90px;
    max-height: 140px;
    border-radius: 16px;
    box-shadow: 0 4px 20px 0 rgba(11,34,84,0.12);
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(11,34,84,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hero-news-card:hover {
  box-shadow: 0 8px 32px 0 rgba(11,34,84,0.18);
  transform: translateY(-3px);
}

/* Square image column — fills full card height */
.hero-news-img {
    flex-shrink: 0;
    width: 260px;
    aspect-ratio: 1.91 / 1;
    overflow: hidden;
    background: #f8fafc;
    border-radius: 16px 0 0 16px;
    line-height: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.news-img-overlay img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}
.news-card-content-right {
    flex: 1;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: #fff;
    border-radius: 0 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
}
.news-overlay-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--midnight);
    line-height: 1.15;
}
.news-overlay-excerpt {
    font-size: 1rem;
    color: var(--midnight);
    opacity: 0.8;
    margin: 0 0 0.75rem 0;
}
.hero-news-img img {
    width: 100%;
    height: 100%;
    max-height: 140px;
    object-fit: cover;
    display: block;
}

/* Text content */
.hero-news-content {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
}
.news-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-glow);
  display: block;
}
.hero-news-content h3 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  color: var(--midnight);
  line-height: 1.25;
}
.hero-news-content p {
    font-size: 0.68rem;
  color: var(--midnight);
  opacity: 0.72;
  margin: 0;
  line-height: 1.4;
}
.news-link {
  color: var(--teal-glow);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.775rem;
  margin-top: 0.1rem;
}

/* Tablet: right column drops below left content, badge + card side by side */
@media (max-width: 900px) {
  .floating-partner-badge {
    right: 1.5rem;
    top: 2rem;
    height: 4.5rem;
  }
  .home-hero-flex {
    flex-direction: column;
  }
  .home-hero-news-col {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 2rem;
  }
  .hero-badge-area {
    flex-shrink: 0;
    align-items: center;
  }
  .hero-partner-badge {
    width: 160px;
    height: 160px;
  }
  .hero-news-card {
    flex: 1;
    max-width: 400px;
  }
}

/* Mobile: badge + card stack vertically */
@media (max-width: 600px) {
  .home-hero-news-col {
    flex-direction: column;
    gap: 1.25rem;
  }
  .hero-partner-badge {
    width: 130px;
    height: 130px;
  }
  .hero-news-card {
    max-width: 100%;
  }
}


/* ===============================================================
   SERVICES DETAIL PAGE  (generated by scripts/build-services.js)
   =============================================================== */

/* -- Layout -- */
.svc-page-wrapper { padding-top: 2.5rem; padding-bottom: 5rem; }
.svc-page { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* -- Breadcrumb -- */
.svc-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  padding: 20px 0 28px; border-bottom: 1px solid var(--border-color);
  margin-bottom: 36px; font-size: 13px;
}
.svc-breadcrumb a { color: var(--muted-text); text-decoration: none; transition: color .15s; }
.svc-breadcrumb a:hover { color: var(--midnight); }
.svc-breadcrumb .svc-current { color: var(--midnight); font-weight: 500; }
.svc-breadcrumb i { font-size: 12px; color: var(--grey-soft); }

/* -- Section helpers -- */
.svc-section { margin-bottom: 0; }
.svc-divider { border: none; border-top: 1px solid var(--border-color); margin: 40px 0; }

/* -- Typography -- */
.svc-label {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.svc-h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--midnight); margin-bottom: 16px; letter-spacing: -0.03em; }
.svc-h2 { font-size: clamp(1.375rem, 2vw + 0.5rem, 1.875rem); font-weight: 700; color: var(--midnight); margin-bottom: 8px; letter-spacing: -0.02em; }
.svc-intro { font-size: 15px; color: var(--muted-text); line-height: 1.7; max-width: 580px; }
.svc-intro--wide { max-width: 100%; }
.svc-intro--spaced { margin-bottom: 18px; }

/* -- Buttons -- */
.svc-btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; padding: 0.7rem 1.5rem;
  border-radius: 999px; background: var(--midnight); color: #fff;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em;
  transition: opacity .2s;
}
.svc-btn-dark:hover { opacity: .85; }
.svc-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; padding: 0.7rem 1.5rem;
  border-radius: 999px; border: 2px solid var(--teal-glow);
  color: var(--teal-glow); background: transparent;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em;
  transition: background .2s, color .2s;
}
.svc-btn-ghost:hover { background: var(--teal-glow); color: var(--midnight); }
.svc-btn-orange {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; padding: 0.75rem 1.75rem;
  border-radius: 999px; background: var(--orange); color: #fff;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em;
  transition: opacity .2s, transform .2s;
}
.svc-btn-orange:hover { opacity: .92; transform: translateY(-2px); }
.svc-btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; padding: 0.7rem 1.5rem;
  border-radius: 999px; border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8); text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.12em;
  transition: border-color .15s, color .15s;
}
.svc-btn-outline-white:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.svc-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; margin-bottom: 36px; }

/* -- Hero eyebrow -- */
.svc-hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.svc-icon-box {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(77,174,180,0.12); border: 1px solid rgba(77,174,180,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-icon-box i { font-size: 20px; color: var(--teal-glow); }

/* -- Operating model card -- */
.svc-model-card {
  background: var(--bg-tint); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 24px 28px;
}
.svc-model-card h3 { font-size: 16px; font-weight: 600; color: var(--midnight); margin-bottom: 8px; }
.svc-model-card p { font-size: 14px; color: var(--muted-text); line-height: 1.7; margin-bottom: 20px; }
.svc-model-loop { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.svc-model-node { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.svc-model-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(77,174,180,0.12); border: 2px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.svc-model-circle i { font-size: 19px; color: var(--teal); }
.svc-model-circle--faded { background: rgba(77,174,180,0.04); border-color: rgba(77,174,180,0.2); }
.svc-model-circle--faded i { color: rgba(29,158,117,.3); }
.svc-model-node-label { font-size: 12px; font-weight: 600; color: var(--midnight); }
.svc-model-node-label--faded { color: var(--muted-text); opacity: .45; }
.svc-model-arrow { color: var(--grey-soft); flex-shrink: 0; font-size: 18px; }

/* -- Operating model timeline -- */
.svc-om-track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.svc-om-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; }
.svc-om-circle { width: 80px; height: 80px; border-radius: 50%; border: 2px solid; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; flex-shrink: 0; }
.svc-om-circle i { font-size: 2rem; }
.svc-om-step__label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.75rem; }
.svc-om-step__desc { font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.6); margin: 0 0 1.25rem; flex: 1; }
.svc-om-step__feeds { font-size: 0.75rem; font-weight: 600; margin: auto 0 0; display: flex; align-items: center; gap: 5px; justify-content: center; opacity: 0.85; }
.svc-om-step__feeds i { font-size: 0.875rem; }
.svc-om-arrow-cell { display: flex; align-items: center; justify-content: center; padding: 0 0.75rem; color: rgba(255,255,255,0.25); font-size: 2rem; }


/* -- Tier badge -- */
.svc-tier-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--midnight); margin-bottom: 8px; }
.svc-tier-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tier-pill { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; background: var(--midnight); color: #fff; margin-bottom: 1rem; }

/* -- Strategy cards (Tier 1, 3-col) -- */
.svc-strategy-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
@media (min-width: 640px) { .svc-strategy-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-strategy-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s;
}
.svc-strategy-card:hover { border-color: var(--border-strong); }
.svc-strategy-card__icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.svc-strategy-card__icon i { font-size: 18px; }
.svc-strategy-card__title { font-size: 13px; font-weight: 600; color: var(--midnight); }
.svc-strategy-card__body { font-size: 12px; color: var(--muted-text); line-height: 1.65; flex: 1; }
.svc-strategy-card__link { font-size: 12px; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.svc-strategy-card__link:hover { text-decoration: underline; }

/* -- Dark quote panel -- */
.svc-quote-panel {
  background: var(--midnight); border-radius: 12px; padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-top: 24px;
}
.svc-quote-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 8px; }
.svc-quote-text { font-size: 15px; font-weight: 500; color: #fff; max-width: 440px; line-height: 1.55; }

/* -- AI typology explorer -- */
.svc-ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
@media (min-width: 640px) { .svc-ai-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-ai-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 10px; border: 1px solid var(--border-color);
  border-radius: 12px; background: var(--card-bg);
  cursor: pointer; text-align: center; font-family: inherit;
  transition: border-color .15s, background .15s;
}
.svc-ai-btn:hover { border-color: var(--border-strong); }
.svc-ai-btn.active { border-color: var(--teal); background: rgba(77,174,180,0.08); }
.svc-ai-btn.active .svc-ai-icon-box { background: var(--teal); }
.svc-ai-btn.active .svc-ai-icon-box i { color: #fff; }
.svc-ai-btn.active .svc-ai-name { color: var(--midnight); }
.svc-ai-icon-box {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-tint); display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.svc-ai-icon-box i { font-size: 18px; color: var(--muted-text); transition: color .15s; }
.svc-ai-name { font-size: 12px; font-weight: 600; color: var(--midnight); }
.svc-ai-sub { font-size: 11px; color: var(--muted-text); }

/* AI detail panel */
.svc-ai-detail { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: var(--card-bg); }
.svc-ai-detail__header { padding: 22px 22px 18px; border-bottom: 1px solid var(--border-color); }
.svc-ai-detail__icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc-ai-detail__icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-ai-detail__icon i { font-size: 22px; }
.svc-ai-detail__name { font-size: 16px; font-weight: 600; color: var(--midnight); }
.svc-ai-detail__sub { font-size: 12px; color: var(--muted-text); }
.svc-ai-detail__body { font-size: 13px; color: var(--muted-text); line-height: 1.7; }
.svc-ai-detail__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-ai-detail__grid { grid-template-columns: 1fr 1fr; } }
.svc-ai-detail__col { padding: 18px 22px; }
.svc-ai-detail__col + .svc-ai-detail__col { border-top: 1px solid var(--border-color); }
@media (min-width: 640px) { .svc-ai-detail__col + .svc-ai-detail__col { border-top: none; border-left: 1px solid var(--border-color); } }
.svc-ai-detail__col-label { font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.svc-readiness-label { font-size: 13px; font-weight: 600; color: var(--midnight); margin-bottom: 6px; }
.svc-readiness-bar { height: 4px; background: var(--bg-tint); border-radius: 2px; overflow: hidden; margin-bottom: 8px; border: 1px solid var(--border-color); }
.svc-readiness-fill { height: 100%; background: var(--teal); border-radius: 2px; }
.svc-readiness-desc { font-size: 12px; color: var(--muted-text); line-height: 1.6; }
.svc-examples { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.svc-examples li { font-size: 12px; color: var(--muted-text); line-height: 1.55; padding-left: 16px; position: relative; }
.svc-examples li::before { content: '\2192'; position: absolute; left: 0; color: var(--teal); }
.svc-ai-detail__footer {
  padding: 14px 22px; background: var(--bg-tint);
  border-top: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.svc-signal-text { font-size: 12px; font-style: italic; color: var(--muted-text); }
.svc-signal-link { font-size: 12px; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.svc-signal-link:hover { text-decoration: underline; }

/* -- Delivery cards (Tier 2, 2x2) -- */
.svc-delivery-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
@media (min-width: 640px) { .svc-delivery-grid { grid-template-columns: 1fr 1fr; } }
.svc-delivery-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px;
}
.svc-delivery-card__icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.svc-delivery-card__icon i { font-size: 18px; }
.svc-delivery-card__title { font-size: 13px; font-weight: 600; color: var(--midnight); }
.svc-delivery-card__body { font-size: 12px; color: var(--muted-text); line-height: 1.65; flex: 1; }
.svc-stack-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-stack-chip { display: inline-block; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 4px; background: rgba(77,174,180,0.08); color: var(--midnight); border: 1px solid rgba(77,174,180,0.2); }
.svc-delivery-card__link { font-size: 12px; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.svc-delivery-card__link:hover { text-decoration: underline; }
.svc-feedback-strip {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg-tint); border: 1px solid var(--border-color);
  border-radius: 8px; padding: 14px 16px; margin-top: 12px;
}
.svc-feedback-strip i { font-size: 16px; color: var(--muted-text); flex-shrink: 0; margin-top: 2px; }
.svc-feedback-strip p { font-size: 12px; font-style: italic; color: var(--muted-text); line-height: 1.65; margin: 0; }
.svc-feedback-strip--dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.svc-feedback-strip--dark i { color: var(--teal-glow); }
.svc-feedback-strip--dark p { color: rgba(255,255,255,0.65); }
.section-dark .svc-stack-chip { background: rgba(77,174,180,0.15); color: var(--teal-glow); border-color: rgba(77,174,180,0.3); }

/* -- Grow cards (Tier 3) -- */
.svc-grow-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
@media (min-width: 560px) { .svc-grow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .svc-grow-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-grow-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px;
}
.svc-grow-card__icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.svc-grow-card__icon i { font-size: 18px; }
.svc-grow-card__title { font-size: 13px; font-weight: 600; color: var(--midnight); }
.svc-grow-card__body { font-size: 12px; color: var(--muted-text); line-height: 1.65; }
.svc-grow-dark {
  background: var(--midnight); border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
@media (min-width: 860px) { .svc-grow-dark { grid-column: span 2; } }
.svc-grow-dark__icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.svc-grow-dark__icon i { font-size: 18px; color: #5CCBCA; }
.svc-grow-dark__title { font-size: 13px; font-weight: 600; color: #fff; }
.svc-grow-dark__body { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.65; }

/* -- Loop section -- */
.svc-loop-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
@media (min-width: 640px) { .svc-loop-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-loop-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: 0 12px 12px 0; padding: 18px 18px 18px 20px;
  border-left-width: 3px; border-left-style: solid;
  display: flex; flex-direction: column; gap: 10px;
}
.svc-loop-card__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.svc-loop-card__body { font-size: 12px; color: var(--muted-text); line-height: 1.65; flex: 1; }
.svc-loop-card__feeds { font-size: 11px; color: var(--muted-text); padding-top: 8px; border-top: 1px solid var(--border-color); }

/* -- Engagement model -- */
.svc-engage-btns { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 10px; }
@media (min-width: 640px) { .svc-engage-btns { grid-template-columns: repeat(3, 1fr); } }
.svc-engage-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1px solid var(--border-color);
  border-radius: 12px; background: var(--card-bg);
  cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--midnight); text-align: left; transition: border-color .15s, background .15s;
}
.svc-engage-btn:hover { border-color: var(--border-strong); }
.svc-engage-btn.active { border-color: var(--teal); background: rgba(77,174,180,0.08); }
.svc-engage-btn.active .svc-engage-btn__icon { background: var(--teal); }
.svc-engage-btn.active .svc-engage-btn__icon i { color: #fff; }
.svc-engage-btn__icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--bg-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .15s;
}
.svc-engage-btn__icon i { font-size: 17px; color: var(--muted-text); transition: color .15s; }
.svc-engage-detail { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: var(--card-bg); }
.svc-engage-detail__header { padding: 22px; border-bottom: 1px solid var(--border-color); }
.svc-engage-detail__icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc-engage-detail__icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-engage-detail__icon i { font-size: 22px; }
.svc-engage-detail__name { font-size: 16px; font-weight: 600; color: var(--midnight); }
.svc-engage-detail__tagline { font-size: 12px; color: var(--muted-text); }
.svc-engage-detail__body { font-size: 13px; color: var(--muted-text); line-height: 1.7; }
.svc-engage-detail__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-engage-detail__grid { grid-template-columns: 1fr 1fr; } }
.svc-engage-detail__col { padding: 18px 22px; }
.svc-engage-detail__col + .svc-engage-detail__col { border-top: 1px solid var(--border-color); }
@media (min-width: 640px) { .svc-engage-detail__col + .svc-engage-detail__col { border-top: none; border-left: 1px solid var(--border-color); } }
.svc-engage-detail__col-label { font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.svc-how-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border-color); }
.svc-how-row:last-child { border-bottom: none; }
.svc-how-row i { font-size: 16px; color: var(--teal); flex-shrink: 0; }
.svc-how-row span { font-size: 12px; color: var(--midnight); }
.svc-fit-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-fit-pill { display: inline-block; font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 99px; }
.svc-engage-detail__footer {
  padding: 14px 22px; background: var(--bg-tint);
  border-top: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.svc-starting { font-size: 12px; color: var(--muted-text); }
.svc-starting strong { color: var(--midnight); font-weight: 600; }
.svc-engage-link { font-size: 12px; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.svc-engage-link:hover { text-decoration: underline; }

/* -- Testimonial carousel -- */
.svc-carousel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.svc-carousel-header h2 { margin: 0; }
.svc-carousel-nav { display: flex; gap: 8px; }
.svc-carousel-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-color); background: var(--card-bg);
  color: var(--midnight); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; transition: border-color .15s, color .15s;
}
.svc-carousel-nav-btn:hover { border-color: var(--border-strong); }
.svc-carousel-nav-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.svc-carousel-wrap { overflow: hidden; }
.svc-carousel-track { display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.svc-testimonial-card {
  flex: 0 0 100%; min-width: 0; background: var(--card-bg);
  border: 1px solid var(--border-color); border-radius: 12px; padding: 22px;
}
.svc-testimonial-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.svc-testimonial-logo-box {
  width: 80px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden;
}
.svc-testimonial-logo-box img { max-height: 32px; max-width: 72px; object-fit: contain; }
.svc-industry-tag { display: inline-block; font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 99px; }
.svc-quote-icon { font-size: 30px; color: var(--teal); line-height: 1; margin-bottom: 10px; display: block; }
.svc-testimonial-quote { font-size: 14px; line-height: 1.75; color: var(--midnight); margin-bottom: 18px; }
.svc-testimonial-footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border-color); padding-top: 14px; }
.svc-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.svc-testimonial-name { font-size: 13px; font-weight: 600; color: var(--midnight); }
.svc-testimonial-title { font-size: 12px; color: var(--muted-text); }
.svc-linkedin-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: #0A66C2;
  padding: 5px 12px; border-radius: 99px;
  border: 1px solid rgba(10,102,194,.25); text-decoration: none; transition: background .15s;
}
.svc-linkedin-btn:hover { background: rgba(10,102,194,.08); }
.svc-carousel-pills { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.svc-carousel-pill { width: 8px; height: 8px; border-radius: 4px; border: none; background: var(--border-strong); cursor: pointer; padding: 0; transition: width .2s, background .2s; }
.svc-carousel-pill.active { width: 20px; background: var(--teal); }

/* -- CTA footer -- */
.svc-cta-footer {
  background: var(--midnight); border-radius: 16px; padding: 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.svc-cta-footer__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 10px; }
.svc-cta-footer__headline { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.svc-cta-footer__body { font-size: 13px; color: rgba(255,255,255,.58); max-width: 360px; line-height: 1.65; }
.svc-cta-footer__actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* -- Dark mode overrides -- */
body.dark-mode .svc-breadcrumb a { color: rgba(255,255,255,.45); }
body.dark-mode .svc-breadcrumb .svc-current { color: rgba(255,255,255,.85); }
body.dark-mode .svc-breadcrumb i { color: rgba(255,255,255,.2); }
body.dark-mode .svc-h1,
body.dark-mode .svc-h2 { color: var(--white); }
body.dark-mode .svc-intro { color: rgba(255,255,255,0.6); }
body.dark-mode .svc-tier-badge { color: rgba(255,255,255,.85); }
body.dark-mode .svc-model-card { background: rgba(255,255,255,.03); }
body.dark-mode .svc-model-card h3 { color: var(--white); }
body.dark-mode .svc-model-node-label { color: rgba(255,255,255,.85); }
body.dark-mode .svc-strategy-card,
body.dark-mode .svc-delivery-card,
body.dark-mode .svc-grow-card,
body.dark-mode .svc-loop-card { background: rgba(255,255,255,.03); }
body.dark-mode .svc-strategy-card__title,
body.dark-mode .svc-delivery-card__title,
body.dark-mode .svc-grow-card__title { color: var(--white); }
body.dark-mode .svc-ai-btn,
body.dark-mode .svc-engage-btn { background: rgba(255,255,255,.03); }
body.dark-mode .svc-ai-btn.active { background: rgba(77,174,180,0.12); border-color: var(--teal); }
body.dark-mode .svc-ai-btn.active .svc-ai-name { color: var(--teal-glow); }
body.dark-mode .svc-engage-btn.active { background: rgba(77,174,180,0.12); border-color: var(--teal); color: rgba(255,255,255,.85); }
body.dark-mode .svc-ai-detail,
body.dark-mode .svc-engage-detail,
body.dark-mode .svc-testimonial-card { background: rgba(255,255,255,.04); }
body.dark-mode .svc-ai-detail__name,
body.dark-mode .svc-engage-detail__name,
body.dark-mode .svc-readiness-label,
body.dark-mode .svc-how-row span { color: var(--white); }
body.dark-mode .svc-testimonial-quote,
body.dark-mode .svc-testimonial-name { color: var(--white); }
body.dark-mode .svc-starting strong { color: rgba(255,255,255,.85); }
body.dark-mode .svc-btn-ghost {
  background: rgba(255,255,255,.03); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2);
}
body.dark-mode .svc-btn-ghost:hover { background: rgba(255,255,255,.07); }
/* --- HOW WE APPROACH IT grid styles --- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 2rem;
}
.approach-item {
  background: rgba(255,255,255,0.03);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.approach-callout {
  background: linear-gradient(120deg, #00e6d8 0%, #007cf0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.approach-callout .callout-content {
  text-align: center;
}
.approach-callout .btn {
  margin-top: 1rem;
}

/* ===============================================================
   LEARNING PORTAL — hero stats + lab cards
   =============================================================== */

/* Hero stats row */
.learn-hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.learn-hero-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal-glow);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
}
.learn-hero-stat span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
    display: block;
}

/* ── LAB CARD ──────────────────────────────────────────────── */
.lab-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--duration-base) var(--ease-standard),
                transform var(--duration-base) var(--ease-standard);
}
.lab-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.lab-card.lab-card--coming-soon { opacity: 0.55; }

/* Header — dark gradient, taller to give the title room */
.lab-header {
    background: linear-gradient(150deg, #0B2254 0%, #18406C 55%, #265D84 100%);
    padding: 1.375rem 1.375rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 10rem;
}
.lab-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}
.lab-header-logo {
    height: 32px;
    width: auto;
    max-width: 44px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.9);
    flex-shrink: 0;
}
.lab-header-badges {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.lab-featured-pill {
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--gradient-signal);
    color: var(--midnight);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
}
.lab-coming-soon-pill {
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
}
.lab-duration-pill {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--teal-glow);
    background: rgba(106,231,223,0.1);
    border: 1px solid rgba(106,231,223,0.22);
    padding: 0.22rem 0.6rem;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}
/* Title lives in the header, white text, pushed to bottom */
.lab-header-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.38;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    margin-top: auto;
}

/* ── BODY ────────────────────────────────────────────────────── */
.lab-body {
    padding: 1.25rem 1.375rem 0.875rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* Author row */
.lab-author-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}
.lab-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(77,174,180,0.35);
    flex-shrink: 0;
}
.lab-author-by {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--current-text);
    flex: 1;
}
.lab-author-linkedin {
    color: var(--muted-text);
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity var(--duration-fast) var(--ease-standard),
                color var(--duration-fast) var(--ease-standard);
}
.lab-author-linkedin:hover { opacity: 1; color: #0a66c2; }

/* Difficulty blocks */
.lab-difficulty-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.lab-difficulty-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted-text);
    white-space: nowrap;
}
.lab-difficulty-blocks { display: flex; gap: 4px; }
.lab-diff-block {
    width: 20px;
    height: 10px;
    border-radius: 3px;
    background: var(--border-color);
}
body.dark-mode .lab-diff-block { background: rgba(255,255,255,0.1); }
.lab-diff-block--beginner    { background: var(--teal); }
.lab-diff-block--intermediate { background: var(--orange); }
.lab-diff-block--advanced    { background: #c94040; }
.lab-difficulty-text {
    font-size: 0.78rem;
    color: var(--muted-text);
}

/* Description */
.lab-desc {
    font-size: 0.845rem;
    color: var(--muted-text);
    line-height: 1.65;
}

/* Tags */
.lab-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: auto; }
.lab-tag {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted-text);
    background: var(--bg-tint);
    border: 1px solid var(--border-color);
    padding: 0.18rem 0.55rem;
    border-radius: var(--radius-pill);
}
body.dark-mode .lab-tag {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

/* ── FOOTER: full-width launch button ────────────────────────── */
.lab-footer { padding: 0 1.375rem 1.375rem; }
.lab-launch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--gradient-aurora);
    color: var(--midnight);
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-md);
    transition: opacity var(--duration-fast) var(--ease-standard),
                transform var(--duration-fast) var(--ease-standard);
    text-decoration: none;
    box-sizing: border-box;
}
.lab-launch-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.lab-launch-btn--disabled {
    background: var(--bg-tint);
    color: var(--muted-text);
    cursor: default;
    border: 1px solid var(--border-color);
}
body.dark-mode .lab-launch-btn--disabled {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}
.lab-launch-btn--disabled:hover { opacity: 1; transform: none; }

/* Empty state */
.lab-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted-text);
    padding: 3rem;
    font-size: 0.9rem;
}

/* Portal link below grid */
.learn-portal-link { text-align: center; margin-top: 3rem; }

/* ===============================================================
   LAB VIEWER — individual lab pages (dist/labs/[id]/index.html)
   =============================================================== */

/* ── Hero (uses site page-hero — compact override for lab pages) ── */
.page-hero--lab {
    padding: 7rem 0 3.5rem;
}
.page-hero--lab .hero-title {
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    margin-bottom: 1.25rem;
}

.lab-page-meta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.lab-category {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.15);
}
.lab-difficulty {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
}
.lab-difficulty--beginner    { background: rgba(77,174,180,0.18); color: var(--teal-glow); border-color: rgba(77,174,180,0.3); }
.lab-difficulty--intermediate { background: rgba(255,137,51,0.18); color: #ffa96a; border-color: rgba(255,137,51,0.3); }
.lab-difficulty--advanced    { background: rgba(201,64,64,0.18); color: #f08080; border-color: rgba(201,64,64,0.3); }

.lab-page-author-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.83rem;
    font-weight: 500;
}
.lab-page-author-row .lab-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(77,174,180,0.4);
    flex-shrink: 0;
}
.lab-page-step-count {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
}

/* ── Mobile stepper bar ─────────────────────────────────────── */
.lab-mobile-stepper {
    display: none;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 64px;
    z-index: 40;
}
.lab-mobile-step-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--current-text);
    cursor: pointer;
    text-align: left;
}
.lab-mobile-steps {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s var(--ease-standard);
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
}
.lab-mobile-steps.open { max-height: 70vh; overflow-y: auto; }
.lab-mobile-steps .lab-step-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.8rem;
    color: var(--current-text);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}
.lab-mobile-steps .lab-step-link:last-child { border-bottom: none; }

/* ── Two-column layout ───────────────────────────────────────── */
.lab-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    gap: 2.5rem;
    min-height: calc(100vh - 64px - 240px);
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.lab-sidebar {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding: 2rem 0;
}
.lab-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.lab-back-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--duration-fast) var(--ease-standard);
}
.lab-back-link:hover { color: var(--teal); }

.lab-progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
}
.lab-progress-fill {
    height: 100%;
    background: var(--gradient-aurora);
    border-radius: 100px;
    transition: width 0.3s var(--ease-standard);
}
.lab-progress-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted-text);
    letter-spacing: 0.04em;
    margin: 0;
}

.lab-steps-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lab-step-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted-text);
    text-decoration: none;
    line-height: 1.4;
    transition: background var(--duration-fast) var(--ease-standard),
                color var(--duration-fast) var(--ease-standard);
    cursor: pointer;
}
.lab-step-link:hover { background: var(--bg-tint); color: var(--current-text); }
.lab-step-link.active {
    background: rgba(77,174,180,0.12);
    color: var(--teal);
    font-weight: 700;
}
.lab-step-link.done { color: rgba(77,174,180,0.6); }
.lab-step-link.done .lab-step-badge { background: var(--teal); color: #fff; }

.lab-step-badge {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--muted-text);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast), color var(--duration-fast);
}
.lab-step-link.active .lab-step-badge {
    background: var(--teal);
    color: #fff;
}
body.dark-mode .lab-step-badge { background: rgba(255,255,255,0.1); }

.lab-feedback-link {
    font-size: 0.72rem;
    color: var(--muted-text);
    text-decoration: none;
    opacity: 0.6;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: block;
}
.lab-feedback-link:hover { opacity: 1; color: var(--teal); }

/* ── Content area ───────────────────────────────────────────── */
.lab-content {
    padding: 2rem 0;
    min-width: 0;
}

.lab-step { display: block; }

.lab-step-header {
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.lab-step-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.lab-step-number-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    background: rgba(77,174,180,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(77,174,180,0.2);
}
.lab-step-duration-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muted-text);
    background: var(--bg-tint);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
}
.lab-step-title {
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--current-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
    margin: 0;
}

/* ── Step content prose ─────────────────────────────────────── */
.lab-step-content {
    font-size: 0.925rem;
    line-height: 1.8;
    color: var(--current-text);
    max-width: 860px;
}
.lab-step-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--current-text);
    margin: 2.25rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}
.lab-step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--current-text);
    margin: 1.75rem 0 0.5rem;
}
.lab-step-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--current-text);
    margin: 1.5rem 0 0.4rem;
}
.lab-step-content p {
    margin: 0 0 1rem;
}
.lab-step-content ul,
.lab-step-content ol {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}
.lab-step-content li {
    margin-bottom: 0.45rem;
}
.lab-step-content a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lab-step-content a:hover { color: var(--teal-glow); }

/* Inline code */
.lab-step-content code:not(pre code) {
    font-size: 0.85em;
    background: var(--bg-tint);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.1em 0.38em;
    font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    color: var(--teal);
}
body.dark-mode .lab-step-content code:not(pre code) {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
}

/* Code blocks — Prism handles the colours; we handle the chrome */
.lab-step-content pre {
    border-radius: 12px;
    margin: 1.25rem 0;
    overflow-x: auto;
    font-size: 0.82rem;
    line-height: 1.65;
    position: relative;
    background: #1e1e2e !important;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 1.5rem;
}
.lab-step-content pre code {
    font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
}

/* Images */
.lab-step-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.25rem 0;
    border: 1px solid var(--border-color);
    display: block;
}

/* Tables */
.lab-step-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.88rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.lab-step-content th {
    background: var(--bg-tint);
    font-weight: 700;
    text-align: left;
    padding: 0.65rem 1rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--current-text);
}
.lab-step-content td {
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--current-text);
    vertical-align: top;
}
.lab-step-content tr:last-child td { border-bottom: none; }
body.dark-mode .lab-step-content th { background: rgba(255,255,255,0.05); }

/* Checklist (Google Codelab-style) */
.lab-step-content google-codelab-survey,
.lab-step-content paper-checkbox { display: none; }
.lab-step-content ul.checklist {
    list-style: none;
    margin-left: 0;
}
.lab-step-content ul.checklist li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Tip / note callout boxes */
.lab-step-content .lab-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: rgba(77,174,180,0.08);
    border: 1px solid rgba(77,174,180,0.22);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin: 1.25rem 0;
    font-size: 0.88rem;
    line-height: 1.6;
}
body.dark-mode .lab-step-content .lab-tip {
    background: rgba(77,174,180,0.05);
}
.lab-step-content .lab-tip-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.lab-step-content aside.special,
.lab-step-content aside.warning {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin: 1.25rem 0;
    font-size: 0.88rem;
    line-height: 1.6;
}
.lab-step-content aside.special {
    background: rgba(77,174,180,0.08);
    border: 1px solid rgba(77,174,180,0.22);
    border-left: 4px solid var(--teal);
}
.lab-step-content aside.warning {
    background: rgba(255,137,51,0.08);
    border: 1px solid rgba(255,137,51,0.22);
    border-left: 4px solid var(--orange);
}
body.dark-mode .lab-step-content aside.special { background: rgba(77,174,180,0.05); }
body.dark-mode .lab-step-content aside.warning { background: rgba(255,137,51,0.05); }

/* ── Navigation buttons ─────────────────────────────────────── */
.lab-nav-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.lab-nav-btn {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity var(--duration-fast) var(--ease-standard),
                transform var(--duration-fast) var(--ease-standard),
                background var(--duration-fast);
}
.lab-nav-btn:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); }
.lab-nav-btn:disabled { opacity: 0.3; cursor: default; }
.lab-nav-btn--prev {
    background: var(--bg-tint);
    color: var(--current-text);
    border: 1px solid var(--border-color);
}
.lab-nav-btn--next {
    background: var(--gradient-aurora);
    color: var(--midnight);
    margin-left: auto;
}
body.dark-mode .lab-nav-btn--prev {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .lab-sidebar { display: none; }
    .lab-mobile-stepper { display: block; }
    .lab-layout {
        grid-template-columns: 1fr;
        padding: 0 1rem 3rem;
        gap: 0;
    }
    .lab-content { padding: 1.5rem 0; }
    .lab-step-content pre { font-size: 0.78rem; padding: 1rem; }
}
@media (max-width: 600px) {
    .page-hero--lab { padding: 5rem 0 2.5rem; }
    .lab-nav-buttons { flex-direction: column; }
    .lab-nav-btn { width: 100%; text-align: center; margin-left: 0; }
}

/* ===============================================================
   SECTION INTRO — stacked eyebrow + heading + description block
   Replaces repeated inline margin styles across home-v2 sections.
   =============================================================== */
.section-intro { margin-bottom: 2.5rem; }
.section-intro .hero-eyebrow { margin-bottom: 1.5rem; }
.section-intro h2 { margin-bottom: 1.25rem; }
.section-desc {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 40rem;
    color: var(--current-text);
    opacity: 0.72;
}

/* ===============================================================
   FEATURED SERVICE CARD — AI Enablement highlight
   Always-dark aurora gradient card, brand-spec layout.
   =============================================================== */
.featured-service-card {
    background: var(--gradient-aurora);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.featured-service-card .icon-badge {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}
.featured-service-card .label-caps { color: rgba(255, 255, 255, 0.7); }
.featured-service-card h3 {
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--white);
    margin: 0;
}
.featured-service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
}
.featured-service-card .btn-primary { align-self: flex-start; }

/* ===============================================================
   CONTENT PROMO BAR — channel / subscribe strip
   Used in YouTube and similar content sections.
   =============================================================== */
.content-promo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}
.content-promo-bar-text p:first-child {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--current-text);
}
.content-promo-bar-text p:last-child {
    font-size: 0.85rem;
    color: var(--muted-text);
}
.content-promo-bar-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
