/* ==========================================================================
   Baygramm design system
   Shared header, footer and page components. Class names are unprefixed but
   chosen not to collide with Tailwind utilities used on older pages.
   ========================================================================== */

:root {
    /* Brand */
    --brand: #C6FF00;            /* logo lime — use on dark surfaces only */
    --brand-hover: #D4FF3D;
    --brand-ink: #3F6212;        /* lime family, readable on white (AA) */

    /* Neutrals */
    --ink-950: #070B14;
    --ink-900: #0B1220;
    --ink-800: #131C2E;
    --ink-700: #1E293B;
    --line-dark: rgba(255, 255, 255, 0.10);

    --text: #0F172A;
    --text-muted: #526075;
    --text-on-dark: #F8FAFC;
    --text-on-dark-muted: #A3AEC2;

    --surface: #FFFFFF;
    --surface-alt: #F5F7FA;
    --line: #E3E8EF;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.18);

    --container: 1200px;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
}

/* ---------- Base (pages that opt in with <body class="site">) ---------- */

body.site {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}
:where(.site) *, :where(.site) *::before, :where(.site) *::after { box-sizing: border-box; }
.site :where(img) { max-width: 100%; display: block; }
.site :where(a) { color: inherit; text-decoration: none; }
.site :where(h1, h2, h3, h4) {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}
.site :where(p) { margin: 0; }
.site :where(ul) { margin: 0; padding: 0; list-style: none; }

.site :focus-visible {
    outline: 2px solid var(--brand-ink);
    outline-offset: 3px;
    border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--brand); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 640px) { .container { padding: 0 16px; } }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
a.sr-only:focus {
    position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto;
    padding: 10px 16px; margin: 0; background: #fff; color: var(--ink-900); border-radius: 8px; font-weight: 600;
}

/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font: 600 15px/1.2 var(--font-sans);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
}
.button--primary { background: var(--brand); color: var(--ink-900); }
.button--primary:hover { background: var(--brand-hover); }
.button--dark { background: var(--ink-900); color: #fff; }
.button--dark:hover { background: var(--ink-700); }
.button--ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,.28); }
.button--ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.04); }
.button--outline { background: transparent; color: var(--text); border-color: var(--line); }
.button--outline:hover { border-color: var(--text); }
.button--sm { padding: 9px 16px; font-size: 14px; }
.button--lg { padding: 15px 26px; font-size: 16px; }

.text-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 15px; color: var(--text);
}
.text-link i { font-size: 12px; transition: transform .15s ease; }
.text-link:hover i { transform: translateX(3px); }

/* ---------- Utility bar ---------- */

.utility-bar {
    background: var(--ink-950);
    color: var(--text-on-dark-muted);
    font: 500 13px/1 var(--font-sans);
    border-bottom: 1px solid var(--line-dark);
}
.utility-bar .container {
    display: flex; justify-content: flex-end; align-items: center; gap: 24px; height: 38px;
}
.utility-bar a { color: var(--text-on-dark-muted); display: inline-flex; align-items: center; gap: 7px; transition: color .15s; }
.utility-bar a:hover { color: #fff; }
.utility-bar .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); display: inline-block; }
.utility-bar .utility-note { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 640px) {
    .utility-bar .utility-note, .utility-bar .utility-chat { display: none !important; }
    .utility-bar .container { justify-content: center; }
}

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 18, 32, 0.96);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--font-sans);
}
.site-header .container { display: flex; align-items: center; height: 72px; gap: 32px; }
.site-header .brand img { height: 34px; width: auto; display: block; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav > .nav-group { position: relative; }
.primary-nav .nav-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 12px; border-radius: 6px;
    color: #E2E8F0; font-size: 14.5px; font-weight: 500;
    transition: color .15s, background-color .15s;
}
.primary-nav .nav-trigger i { font-size: 10px; opacity: .6; }
.primary-nav .nav-trigger:hover,
.primary-nav .nav-group:focus-within .nav-trigger { color: #fff; background: rgba(255,255,255,.06); }
.site-header .header-cta { margin-left: 16px; }

.nav-panel {
    position: absolute; top: calc(100% + 8px); left: 50%;
    transform: translate(-50%, 6px);
    min-width: 260px;
    background: #fff; color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 24px 48px -16px rgba(2, 6, 23, 0.35);
    padding: 20px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-panel--wide { min-width: 640px; }
.nav-panel--md { min-width: 420px; }
.nav-panel-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.nav-panel h3 {
    font: 600 11.5px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-muted); margin: 0 0 10px;
}
.nav-panel h3 + ul + h3 { margin-top: 20px; }
.nav-panel li a {
    display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 6px;
    font-size: 14.5px; color: var(--text); transition: background-color .12s;
}
.nav-panel li a:hover { background: var(--surface-alt); }

.menu-toggle {
    display: none; margin-left: auto;
    background: transparent; border: 1px solid var(--line-dark); color: #fff;
    width: 42px; height: 42px; border-radius: 8px; cursor: pointer; font-size: 17px;
}
.mobile-nav { display: none; }

@media (max-width: 1080px) {
    .primary-nav, .site-header .header-cta { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-header .container { height: 64px; }
    .mobile-nav:not(.hidden) {
        display: block;
        border-top: 1px solid var(--line-dark);
        background: var(--ink-900);
        max-height: calc(100vh - 64px); overflow-y: auto;
    }
    .mobile-nav ul { padding: 8px 16px 20px; }
    .mobile-nav li a {
        display: block; padding: 13px 4px; color: #E2E8F0; font-size: 16px; font-weight: 500;
        border-bottom: 1px solid var(--line-dark);
    }
    .mobile-nav .button { margin-top: 16px; width: 100%; }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--ink-900); color: var(--text-on-dark); }
.section--tight { padding: 56px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 12.5px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
    color: var(--brand-ink); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--brand); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--text-muted); }
.section--dark .section-head p { color: var(--text-on-dark-muted); }
.section-head--split {
    max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.section-head--split > div { max-width: 680px; }
@media (max-width: 768px) { .section-head--split { flex-direction: column; align-items: flex-start; } }

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden;
    background: var(--ink-900); color: var(--text-on-dark);
    padding: 120px 0 0;
}
.hero video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(11,18,32,.97) 0%, rgba(11,18,32,.85) 45%, rgba(11,18,32,.55) 100%),
        linear-gradient(0deg, rgba(11,18,32,1) 0%, rgba(11,18,32,0) 30%);
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -0.03em; line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lede { margin-top: 24px; font-size: 19px; line-height: 1.6; color: #CBD5E1; max-width: 620px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
    margin-top: 96px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-dark);
}
.hero-facts > div { padding: 28px 24px 32px 0; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts dt { font: 600 22px/1.2 var(--font-display); color: #fff; letter-spacing: -0.01em; }
.hero-facts dd { margin: 6px 0 0; font-size: 14px; color: var(--text-on-dark-muted); }
@media (max-width: 860px) {
    .hero { padding-top: 80px; }
    .hero-facts { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
    .hero-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .hero-facts > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 480px) {
    .hero-actions .button { width: 100%; }
    .hero-facts > div, .hero-facts > div + div { padding: 20px 12px 22px 0; }
    .hero-facts > div:nth-child(even) { padding-left: 16px; }
    .hero-facts dt { font-size: 18px; }
}
@media (max-width: 340px) {
    .hero-facts { grid-template-columns: 1fr; }
    .hero-facts > div, .hero-facts > div + div { padding-left: 0; border-left: 0; padding-right: 0; }
    .hero-facts > div + div { border-top: 1px solid var(--line-dark); }
}

/* ---------- Logo strip ---------- */

.logo-strip { padding: 44px 0; border-bottom: 1px solid var(--line); }
.logo-strip p {
    text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 28px;
}
.logo-row {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 40px; align-items: center;
}
.logo-row img {
    height: var(--h, 36px); width: 100%; max-width: 180px; margin: 0 auto; object-fit: contain;
    filter: grayscale(1); opacity: .6; mix-blend-mode: multiply;
    transition: opacity .2s, filter .2s;
}
.logo-row img:hover { opacity: 1; filter: none; }
@media (max-width: 768px) { .logo-row { grid-template-columns: repeat(3, 1fr); } .logo-row img { height: calc(var(--h, 36px) * .85); } }
@media (max-width: 480px) { .logo-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid--4 { grid-template-columns: 1fr; } }

.card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
a.card:hover, .card--hover:hover { border-color: #C5CFDC; box-shadow: var(--shadow-md); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card > p { color: var(--text-muted); font-size: 15.5px; }
.card .text-link { margin-top: auto; padding-top: 24px; }

.icon-tile {
    width: 44px; height: 44px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink-900); color: var(--brand);
    font-size: 18px; margin-bottom: 24px;
}

.check-list { margin-top: 20px; display: grid; gap: 9px; }
.check-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.check-list li::before {
    content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%;
    background: #ECFCCB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233F6212' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Services list (numbered rows) */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
    display: grid; grid-template-columns: 64px 1.1fr 1.6fr 40px; gap: 32px; align-items: start;
    padding: 32px 0; border-bottom: 1px solid var(--line);
    transition: background-color .15s;
}
.service-row:hover { background: rgba(255,255,255,.6); }
.service-row .num { font: 500 14px/1.6 var(--font-sans); color: var(--text-muted); padding-top: 4px; }
.service-row h3 { font-size: 24px; }
.service-row h3 small {
    display: inline-block; margin-left: 10px; vertical-align: middle;
    font: 600 11px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 8px; border-radius: 999px; background: var(--ink-900); color: var(--brand);
}
.service-row p { color: var(--text-muted); }
.service-row .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-row .tags li {
    font-size: 13px; padding: 5px 10px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.service-row .arrow {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
    transition: background-color .15s, color .15s, border-color .15s;
}
.service-row:hover .arrow { background: var(--ink-900); color: var(--brand); border-color: var(--ink-900); }
@media (max-width: 860px) {
    .service-row { grid-template-columns: 1fr 40px; gap: 12px 16px; }
    .service-row .num { display: none; }
    .service-row > div:nth-of-type(2) { grid-column: 1 / -1; grid-row: 2; }
}

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.industry-grid a {
    background: var(--surface); padding: 28px 24px;
    display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px;
    transition: background-color .15s;
}
.industry-grid a i { width: 20px; text-align: center; color: var(--brand-ink); font-size: 17px; }
.industry-grid a span { margin-left: auto; color: var(--text-muted); font-size: 12px; opacity: 0; transition: opacity .15s; }
.industry-grid a:hover { background: var(--surface-alt); }
.industry-grid a:hover span { opacity: 1; }
@media (max-width: 860px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .industry-grid { grid-template-columns: 1fr; } }

/* Case study feature */
.feature-panel {
    display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden;
    border-radius: 20px; background: var(--ink-900); color: var(--text-on-dark);
}
.feature-panel .feature-copy { padding: 56px; }
.feature-panel h2 { font-size: clamp(28px, 3.2vw, 38px); }
.feature-panel .feature-copy > p { margin-top: 18px; color: var(--text-on-dark-muted); font-size: 17px; }
.feature-panel .check-list li { color: #E2E8F0; }
.feature-panel .check-list li::before { background-color: rgba(198,255,0,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23C6FF00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.feature-panel .button { margin-top: 32px; }
.feature-stat {
    position: relative; padding: 56px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(198,255,0,.16) 0%, rgba(198,255,0,0) 55%),
        var(--ink-800);
    border-left: 1px solid var(--line-dark);
}
.feature-stat .big { font: 600 clamp(88px, 11vw, 140px)/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--brand); }
.feature-stat .big-label { margin-top: 14px; font-size: 18px; color: #fff; font-weight: 500; }
.feature-stat .meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; gap: 32px; font-size: 14px; color: var(--text-on-dark-muted); }
.feature-stat .meta b { display: block; color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 2px; }
@media (max-width: 900px) {
    .feature-panel { grid-template-columns: 1fr; }
    .feature-panel .feature-copy, .feature-stat { padding: 36px 28px; }
    .feature-stat { border-left: 0; border-top: 1px solid var(--line-dark); }
}

.feature-links {
    display: flex; flex-direction: column; justify-content: center;
    padding: 40px 56px; border-left: 1px solid var(--line-dark);
    background: radial-gradient(120% 90% at 100% 0%, rgba(198,255,0,.10) 0%, rgba(198,255,0,0) 55%), var(--ink-800);
}
.feature-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 0; border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark-muted); font-size: 14.5px;
}
.feature-links a:last-child { border-bottom: 0; }
.feature-links a b { display: block; color: #fff; font: 600 19px/1.3 var(--font-display); margin-bottom: 3px; }
.feature-links a > i { font-size: 13px; color: var(--brand); transition: transform .15s; }
.feature-links a:hover > i { transform: translateX(4px); }
.feature-links a:hover b { color: var(--brand); }
@media (max-width: 900px) {
    .feature-links { padding: 12px 28px; border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* Process */
.process-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 2px solid var(--ink-900);
}
.process-grid li { padding: 28px 28px 8px 0; display: flex; flex-direction: column; }
.process-grid li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.process-grid .step { font: 600 13px/1 var(--font-sans); color: var(--brand-ink); letter-spacing: .06em; }
.process-grid h3 { margin-top: 18px; font-size: 22px; }
.process-grid p { margin-top: 10px; color: var(--text-muted); font-size: 15.5px; }
.process-grid small {
    margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 500; color: var(--text);
}
@media (max-width: 960px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
    .process-grid li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 560px) {
    .process-grid { grid-template-columns: 1fr; }
    .process-grid li, .process-grid li + li { padding-left: 0; border-left: 0; padding-right: 0; }
    .process-grid li + li { border-top: 1px solid var(--line); margin-top: 8px; }
}

/* Articles */
.article-card { padding: 0; overflow: hidden; }
.article-card .article-art {
    height: 168px; background: var(--ink-900); position: relative; overflow: hidden;
    display: flex; align-items: flex-end; padding: 20px 24px;
}
.article-card .article-art::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 28px 28px;
}
.article-card .article-art i {
    position: absolute; right: 24px; top: 22px; font-size: 54px; color: rgba(198,255,0,.85);
}
.article-card .article-art .tag {
    position: relative; font: 600 11.5px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-900); background: var(--brand); padding: 6px 9px; border-radius: 4px;
}
.article-card .article-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 19px; line-height: 1.3; }
.article-card .article-body > p { margin-top: 10px; color: var(--text-muted); font-size: 15px; }
.article-card .article-meta { margin-top: auto; padding-top: 20px; font-size: 13.5px; color: var(--text-muted); }

/* Testimonials */
.quote-card { background: var(--surface); }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.quote-card blockquote::before {
    content: "\201C"; display: block; font: 600 56px/0.6 Georgia, serif; color: var(--brand-ink); margin: 12px 0 18px;
}
.quote-card figcaption { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 14px; }
.quote-card .avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: var(--ink-900); color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px;
}
.quote-card .who b { display: block; font-size: 15px; }
.quote-card .who span { font-size: 14px; color: var(--text-muted); }

/* Capabilities */
.capability-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark);
}
.capability-grid > div {
    padding: 28px 24px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.capability-grid i { color: var(--brand); font-size: 20px; }
.capability-grid h3 { margin-top: 18px; font-size: 16.5px; color: #fff; }
.capability-grid p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text-on-dark-muted); }
@media (max-width: 1080px) { .capability-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .capability-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 56px; border-radius: 20px;
    background:
        radial-gradient(80% 140% at 100% 100%, rgba(198,255,0,.18) 0%, rgba(198,255,0,0) 60%),
        var(--ink-900);
    color: var(--text-on-dark);
}
.cta-band h2 { font-size: clamp(28px, 3.2vw, 38px); max-width: 620px; }
.cta-band p { margin-top: 12px; color: var(--text-on-dark-muted); font-size: 17px; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
@media (max-width: 860px) {
    .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--ink-950); color: var(--text-on-dark-muted);
    font-family: var(--font-sans); font-size: 15px; line-height: 1.6;
    padding: 80px 0 32px;
}
.site-footer a { color: var(--text-on-dark-muted); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { margin: 20px 0 0; max-width: 300px; }
.footer-brand .cage { margin-top: 14px; font-size: 13px; color: #7C879B; }
.site-footer h4 {
    margin: 0 0 18px; font: 600 12px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 12px; align-items: baseline; }
.footer-contact i { width: 14px; color: var(--brand); font-size: 13px; }
.footer-social { margin-top: 24px; display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-dark);
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.footer-social a:hover { border-color: rgba(255,255,255,.35); }
.footer-bottom {
    margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px;
}
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-contact-col { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
    .site *, .site-header *, .site-footer * { transition: none !important; animation: none !important; }
    .hero video { display: none; }
}
