/* ================================================================
   BFSB — Mono design system
   Tokens, layout, components. Dark default; light via [data-theme=light].
   ================================================================ */

/* Self-hosting fonts is a follow-up; using Google Fonts for the POC. */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@400;500;600&family=Silkscreen:wght@400;700&display=swap');

/* ---------- Tokens ---------- */
:root {
    --bg:           #0B0B0E;
    --bg-elevated:  #15151A;
    --bg-overlay:   rgba(11, 11, 14, 0.85);
    --fg:           #F0F0EC;
    --fg-muted:     #8A8A8F;
    --rule:         #26262C;
    --accent:       #FF0050;
    --accent-dim:   rgba(255, 0, 80, 0.12);

    --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
    --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

    --max-width:    1180px;
    --gutter:       clamp(1.25rem, 4vw, 3.5rem);
    --section-y:    clamp(4rem, 10vw, 8rem);
}

:root[data-theme="light"] {
    --bg:           #F5F5F2;
    --bg-elevated:  #EBEBE6;
    --bg-overlay:   rgba(245, 245, 242, 0.85);
    --fg:           #0B0B0E;
    --fg-muted:     #6A6A70;
    --rule:         #D5D5D0;
    --accent:       #E60048;
    --accent-dim:   rgba(230, 0, 72, 0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Type scale ---------- */
.t-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-muted);
}
.t-h1 {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0;
}
.t-h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}
.t-h3 {
    font-family: var(--font-sans);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 0;
}
.t-body { font-family: var(--font-sans); font-size: 15px; line-height: 1.7; color: var(--fg-muted); margin: 0; }
.t-lead { font-family: var(--font-sans); font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.6; color: var(--fg); margin: 0; }
.t-meta { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }

/* Accent dot, used on h2/h3 endings to echo BFSB brand mark */
.dot { color: var(--accent); }

/* ---------- Layout ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; border-top: 1px solid var(--rule); }
.section:first-of-type { border-top: 0; }
.section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 768px) {
    .section-head { grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
}

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute; left: 0; top: -40px;
    padding: 0.5rem 1rem;
    background: var(--accent); color: #fff;
    z-index: 100;
}
.skip-link:focus { top: 0; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--bg-overlay);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--rule);
}
.site-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.site-logo {
    display: inline-flex; align-items: center; gap: 0.625rem;
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.site-logo-mark { width: 22px; height: 22px; }
.site-nav { display: none; }
@media (min-width: 768px) {
    .site-nav { display: flex; align-items: center; gap: 2rem; }
}
.site-nav a {
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--fg-muted);
    transition: color 120ms ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); }
.site-nav a[aria-current="page"]::before { content: "// "; color: var(--accent); }

.theme-toggle {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--rule);
    color: var(--fg-muted);
    transition: color 120ms ease, border-color 120ms ease;
}
.theme-toggle:hover { color: var(--fg); border-color: var(--fg-muted); }
.theme-toggle svg { width: 14px; height: 14px; }

/* Mobile menu toggle */
.menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
    color: var(--fg);
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* ---------- Buttons / links ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.625rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    letter-spacing: 0.05em; text-transform: uppercase;
    border: 1px solid var(--rule);
    color: var(--fg);
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-primary {
    background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn::after { content: "→"; transition: transform 120ms ease; }
.btn:hover::after { transform: translateX(2px); }

.arrow-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 120ms ease;
}
.arrow-link::after { content: "→"; }
.arrow-link:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-eyebrow { display: block; margin-bottom: 2rem; }
.hero-eyebrow::before { content: "// "; color: var(--accent); }
.hero-title { max-width: 18ch; margin-bottom: 1.5rem; }
.hero-sub { max-width: 56ch; margin-bottom: 2.5rem; color: var(--fg-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ASCII / pixel decoration block beside hero */
.hero-grid {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
    align-items: end;
}
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.4fr 1fr; }
}
.hero-deco {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 420px;
    width: 100%;
}
@media (min-width: 600px) {
    .hero-deco { grid-template-columns: repeat(3, 1fr); }
}

/* Brand tile — sits above the status badges on the About hero */
.brand-tile {
    grid-column: 1 / -1;
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--rule);
    background: #111;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.brand-tile:hover { border-color: var(--accent); }
.brand-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(1.05);
}
.brand-tile-tag {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg);
    background: color-mix(in srgb, #000 65%, transparent);
    padding: 0.3rem 0.55rem;
    border: 1px solid var(--rule);
    backdrop-filter: blur(4px);
}
.brand-tile-tag::before { content: "// "; color: var(--accent); }
.status-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    aspect-ratio: 1 / 1;
    padding: 0.75rem;
    border: 1px solid var(--rule);
    background: var(--bg-elevated);
    text-align: center;
    transition: border-color 0.2s ease;
}
.status-badge:hover { border-color: var(--accent); }
.status-badge-name {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
}
.status-badge-led {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent),
        0 0 8px color-mix(in srgb, var(--accent) 60%, transparent);
    animation: status-led-pulse 2.4s ease-in-out infinite;
}
.status-badge:nth-child(2) .status-badge-led { animation-delay: 0.3s; }
.status-badge:nth-child(3) .status-badge-led { animation-delay: 0.6s; }
.status-badge:nth-child(4) .status-badge-led { animation-delay: 0.9s; }
.status-badge:nth-child(5) .status-badge-led { animation-delay: 1.2s; }
.status-badge:nth-child(6) .status-badge-led { animation-delay: 1.5s; }
.status-badge-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--fg);
}
@keyframes status-led-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent),
            0 0 8px color-mix(in srgb, var(--accent) 60%, transparent);
    }
    50% {
        box-shadow:
            0 0 0 5px color-mix(in srgb, var(--accent) 10%, transparent),
            0 0 14px color-mix(in srgb, var(--accent) 80%, transparent);
    }
}

/* ---------- Stats strip ---------- */
.stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
    background: var(--bg);
    padding: 1.75rem 1.25rem;
}
.stat-num {
    font-family: var(--font-sans); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 500;
    letter-spacing: -0.02em; line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--fg-muted);
}

/* ---------- Section label ---------- */
.section-label {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent);
}

/* ---------- Services grid ---------- */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
.tile {
    background: var(--bg);
    padding: 2rem 1.75rem;
    display: flex; flex-direction: column;
    transition: background 120ms ease;
}
.tile:hover { background: var(--bg-elevated); }
.tile-num {
    font-family: var(--font-mono); font-size: 11px; color: var(--accent);
    margin-bottom: 1.5rem;
}
.tile-title { margin-bottom: 0.875rem; }
.tile-title .dot { margin-left: 2px; }
.tile-body { color: var(--fg-muted); margin-bottom: 1.75rem; flex: 1; }
.tile-link { margin-top: auto; }
.tile-tags {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin: -0.5rem 0 1.5rem;
}
.tile-tag {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--fg-muted);
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: var(--bg);
}
.tile:hover .tile-tag { border-color: color-mix(in srgb, var(--accent) 50%, var(--rule)); }

/* ---------- Solution card — richer tile with sub-grouped vendor lists ---------- */
.solution-grid {
    display: grid; grid-template-columns: 1fr; gap: 1px;
    background: var(--rule); border: 1px solid var(--rule);
}
@media (min-width: 768px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
.solution-card {
    background: var(--bg);
    padding: 2.25rem 1.75rem;
    display: flex; flex-direction: column;
    transition: background 120ms ease;
}
.solution-card:hover { background: var(--bg-elevated); }
.solution-card-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 1rem; margin-bottom: 1.5rem;
}
.solution-card-num {
    font-family: var(--font-mono); font-size: 11px; color: var(--accent);
}
.solution-card-title { margin-bottom: 0.75rem; }
.solution-card-title .dot { margin-left: 2px; }
.solution-card-body {
    color: var(--fg-muted);
    margin-bottom: 1.5rem;
}
.solution-groups {
    display: flex; flex-direction: column; gap: 1rem;
    margin-bottom: 1.5rem;
}
.solution-group {
    padding-top: 1rem;
    border-top: 1px dashed var(--rule);
}
.solution-group:first-child {
    padding-top: 0;
    border-top: none;
}
.solution-group-label {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg);
    margin-bottom: 0.6rem;
    display: block;
}
.solution-group-label::before { content: "// "; color: var(--accent); }
.solution-group-note {
    font-size: 0.85rem;
    color: var(--fg-muted);
    margin-bottom: 0.6rem;
}
.solution-card-link { margin-top: auto; }

/* ---------- Contact — info grid, form, map ---------- */
.contact-grid {
    display: grid; grid-template-columns: 1fr; gap: 1px;
    background: var(--rule); border: 1px solid var(--rule);
    margin-bottom: 4rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
    background: var(--bg);
    padding: 2rem 1.75rem;
    display: flex; flex-direction: column;
    gap: 0.75rem;
    transition: background 120ms ease;
    text-decoration: none;
    color: inherit;
}
a.contact-card:hover { background: var(--bg-elevated); }
.contact-card-label {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg-muted);
}
.contact-card-label::before { content: "// "; color: var(--accent); }
.contact-card-value {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--fg);
    line-height: 1.5;
    word-break: break-word;
}
.contact-card-note {
    color: var(--fg-muted); font-size: 0.9rem;
    margin-top: auto;
}
.contact-socials {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin-top: 0.25rem;
}
.contact-social {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--fg);
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--rule);
    text-decoration: none;
    background: var(--bg);
    transition: border-color 120ms ease, color 120ms ease;
}
.contact-social:hover { border-color: var(--accent); color: var(--accent); }

/* Form + map two-column row */
.contact-row {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 900px) {
    .contact-row { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}
.contact-form {
    border: 1px solid var(--rule);
    background: var(--bg-elevated);
    padding: 2rem 1.75rem;
    display: flex; flex-direction: column; gap: 1rem;
}
.contact-form-title {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 0.5rem;
}
.contact-form-title::before { content: "// "; color: var(--accent); }
.contact-form label {
    font-family: var(--font-mono); font-size: 0.75rem;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--fg-muted);
    display: block;
    margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--rule);
    padding: 0.75rem 0.875rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 120ms ease, background 120ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    background: var(--bg);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button[type="submit"] {
    margin-top: 0.5rem;
    align-self: flex-start;
}
.contact-form-errors {
    color: var(--accent);
    font-size: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-alert {
    border: 1px solid var(--rule);
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    background: var(--bg-elevated);
}
.contact-alert.is-success { border-color: var(--accent); }
.contact-alert.is-error   { border-color: var(--accent); color: var(--accent); }

.contact-map {
    border: 1px solid var(--rule);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-elevated);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Steps (numbered list) ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg); padding: 2rem 1.75rem; }
.step-num {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em;
    color: var(--fg-muted); margin-bottom: 1.5rem;
}
.step-num::before { content: "// "; color: var(--accent); }
.step-title { margin-bottom: 0.75rem; }
.step-body { color: var(--fg-muted); }

/* ---------- Why-choose statements ---------- */
.statements { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.statement { background: var(--bg); padding: 2rem 1.75rem; }
.statement-title { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 500; line-height: 1.4; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
.statement-title .accent { color: var(--accent); border-bottom: 1px dashed var(--accent); padding-bottom: 1px; }
.statement-body { color: var(--fg-muted); margin: 0; }

/* ---------- Team grid ---------- */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
    background: var(--bg);
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: background 160ms ease;
}
.team-card:hover { background: var(--bg-elevated); }
.team-card-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-elevated);
    border: 1px solid var(--rule);
}
.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter 240ms ease, transform 320ms ease;
}
.team-card:hover .team-card-photo img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.03);
}
.team-card-role {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fg-muted);
    letter-spacing: 0.02em;
}
.team-card-name {
    margin: 0.25rem 0 0;
    letter-spacing: -0.01em;
}

/* ---------- Portfolio list ---------- */
.work-list { border-top: 1px solid var(--rule); }
.work-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--rule);
    transition: padding 160ms ease, background 160ms ease;
}
.work-item:hover { padding-left: 1rem; padding-right: 1rem; background: var(--bg-elevated); }
.work-id { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.work-id::before { content: "// "; color: var(--accent); }
.work-body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.work-sector { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-muted); }
.work-title { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }
.work-arrow {
    font-family: var(--font-mono); font-size: 18px; color: var(--fg-muted);
    transition: color 120ms ease, transform 120ms ease;
}
.work-item:hover .work-arrow { color: var(--accent); transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 1.5rem 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: baseline;
    transition: color 120ms ease;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.faq-num::before { content: "// "; color: var(--accent); }
.faq-q {
    font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 500;
    letter-spacing: -0.01em; color: var(--fg);
}
.faq-toggle {
    font-family: var(--font-mono); font-size: 18px; color: var(--fg-muted);
    transition: transform 200ms ease, color 120ms ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); color: var(--accent); }
.faq-summary:hover .faq-toggle { color: var(--accent); }
.faq-body {
    padding: 0 0 1.75rem 0;
    color: var(--fg-muted);
    max-width: 70ch;
}
.faq-body ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.faq-body li { padding: 0.25rem 0; }

/* ---------- CTA strip ---------- */
.cta {
    border: 1px solid var(--rule);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px) { .cta { grid-template-columns: 1fr auto; align-items: center; } }
.cta-title { max-width: 24ch; margin: 0; }
.cta-title .accent { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--rule);
    padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}
.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer-col h4 {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--fg-muted);
    margin: 0 0 1rem;
}
.footer-col h4::before { content: "// "; color: var(--accent); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.625rem; }
.footer-col a { color: var(--fg); transition: color 120ms ease; }
.footer-col a:hover { color: var(--accent); }
.footer-tagline { color: var(--fg-muted); max-width: 36ch; margin: 0.75rem 0 1.5rem; font-family: var(--font-sans); }
.footer-meta {
    border-top: 1px solid var(--rule);
    padding-top: 1.5rem;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
    font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
}

/* ---------- Focus ring ---------- */
:where(a, button, summary, input, textarea, select):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ================================================================
   LED / pixel display typography
   ================================================================ */
.display-led {
    font-family: 'Silkscreen', var(--font-mono);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0;
}
.display-led .accent { color: var(--accent); }

/* ================================================================
   Triptych — three LED words bracketing a centered glyph.
   Echoes the "FIX. LEARN. PREVENT." layout from the reference.
   ================================================================ */
.triptych {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(3rem, 8vw, 5rem) 0;
    text-align: center;
}
.triptych-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}
.triptych-word {
    font-family: 'Silkscreen', var(--font-mono);
    font-size: clamp(2.25rem, 7vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--fg);
}
.triptych-word .dot { color: var(--accent); }
.triptych-glyph {
    width: clamp(96px, 14vw, 144px);
    height: clamp(96px, 14vw, 144px);
    display: grid; place-items: center;
    border: 1px solid var(--rule);
    background: var(--bg-elevated);
    color: var(--accent);
    position: relative;
}
.triptych-glyph::before,
.triptych-glyph::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 1px; height: clamp(2rem, 6vw, 3.5rem);
    background: var(--rule);
}
.triptych-glyph::before { top: calc(-1 * clamp(2rem, 6vw, 3.5rem)); }
.triptych-glyph::after { bottom: calc(-1 * clamp(2rem, 6vw, 3.5rem)); }
.triptych-glyph svg { width: 56%; height: 56%; shape-rendering: crispEdges; }
.triptych-tags {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.triptych-tag {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--fg-muted);
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: var(--bg);
}
.triptych-sub {
    font-family: var(--font-sans); font-size: 0.95rem;
    color: var(--fg-muted); max-width: 52ch; margin: 0 auto;
}

/* ================================================================
   Pixel icons — use inline SVG with shape-rendering: crispEdges.
   ================================================================ */
.pixel-icon {
    shape-rendering: crispEdges;
    color: var(--accent);
    fill: currentColor;
    flex-shrink: 0;
}
.pixel-icon-sm { width: 18px; height: 18px; }
.pixel-icon-md { width: 22px; height: 22px; }
.pixel-icon-lg { width: 28px; height: 28px; }

/* Stat icon row */
.stat-head {
    display: flex; align-items: center; gap: 0.625rem;
    margin-bottom: 0.875rem;
    color: var(--fg-muted);
}
.stat-head .pixel-icon { color: var(--fg-muted); }
.stat:hover .stat-head .pixel-icon { color: var(--accent); }

/* Tile icon — sits on top of "// 0X" label */
.tile-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
}
.tile-head .tile-num { margin: 0; }
.tile-head .pixel-icon { color: var(--fg-muted); }
.tile:hover .tile-head .pixel-icon { color: var(--accent); }

/* ================================================================
   Job openings — rows with chip-style meta and a highlight state.
   ================================================================ */
.job-list {
    border: 1px solid var(--rule);
    display: grid; gap: 1px;
    background: var(--rule);
}
.job-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 1.125rem 1.25rem;
    background: var(--bg);
    transition: background 140ms ease, color 140ms ease;
}
.job-row:hover { background: var(--bg-elevated); }
@media (min-width: 768px) {
    .job-row {
        grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) auto;
        padding: 1rem 1.25rem;
    }
}
.job-title {
    font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 500;
    letter-spacing: -0.005em; color: var(--fg);
    display: flex; align-items: center; gap: 0.625rem;
    min-width: 0;
}
.job-title::before {
    content: ""; width: 8px; height: 8px;
    background: var(--fg-muted);
    flex-shrink: 0;
}
.job-meta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--fg-muted);
}
.job-meta svg { width: 12px; height: 12px; opacity: 0.7; }
.job-cta {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--rule);
    color: var(--fg-muted);
    font-family: var(--font-mono); font-size: 13px; line-height: 1;
    transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
    justify-self: end;
}
.job-row:hover .job-cta { color: var(--fg); border-color: var(--fg); }

/* Featured / highlighted row — mirrors the orange DevOps row in the ref */
.job-row.is-featured {
    background: var(--accent);
    color: #fff;
}
.job-row.is-featured .job-title,
.job-row.is-featured .job-meta { color: #fff; }
.job-row.is-featured .job-title::before { background: #fff; }
.job-row.is-featured .job-cta {
    background: #0B0B0E; color: #fff; border-color: #0B0B0E;
}
.job-row.is-featured:hover { background: var(--accent); }

/* ================================================================
   Big LED brand mark — used in the footer above the grid.
   ================================================================ */
.brand-marquee {
    text-align: center;
    padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
    border-bottom: 1px solid var(--rule);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.brand-marquee-word {
    font-family: 'Silkscreen', var(--font-mono);
    font-weight: 400;
    font-size: clamp(3rem, 14vw, 9rem);
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--fg);
    margin: 0;
}
.brand-marquee-word .accent { color: var(--accent); }
.brand-marquee-sub {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--fg-muted);
    margin: 1rem 0 0;
}
