/* ============================================================
   HazNetix™ — Merged Stylesheet
   Best of Claude (visual identity, DM Mono, matrix weight)
   + Best of Codex (structure, clamp(), ambient body, a11y)
   ============================================================ */

:root {
    --dark:         #0a0f14;
    --panel:        #101820;
    --panel-soft:   rgba(16, 24, 32, 0.78);
    --orange:       #ff6b35;
    --orange-soft:  rgba(255, 107, 53, 0.14);
    --orange-glow:  rgba(255, 107, 53, 0.35);
    --green:        #1a4d2e;
    --green-bright: #2f8a57;
    --green-soft:   rgba(26, 77, 46, 0.22);
    --midnight:     #0f1c2e;
    --text:         #f5f7f4;
    --muted:        #b5c0b8;
    --faint:        #718074;
    --line:         rgba(255, 255, 255, 0.1);
    --line-green:   rgba(47, 138, 87, 0.38);
    --line-orange:  rgba(255, 107, 53, 0.45);
    --shadow:       0 24px 70px rgba(0, 0, 0, 0.36);
    --mono:         'DM Mono', 'Fira Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 107, 53, 0.14), transparent 30rem),
        radial-gradient(circle at 88% 16%, rgba(26, 77, 46, 0.3), transparent 34rem),
        linear-gradient(180deg, #0a0f14 0%, #0b1217 50%, #0a0f14 100%);
    color: var(--text);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

/* ============================================================ NAV */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 20, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.nav {
    max-width: 1240px;
    height: 76px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a, .footer-links a {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 180ms ease;
}
.nav-links a:hover, .footer-links a:hover { color: var(--orange); }
.nav-cta {
    color: #111 !important;
    background: var(--orange) !important;
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 700 !important;
    transition: background 180ms ease, transform 180ms ease !important;
}
.nav-cta:hover { background: #e85d2a !important; transform: translateY(-1px); }
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
}

/* ============================================================ SHELL & SECTIONS */
.section-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}
section { padding: 104px 0; }
.section-heading { max-width: 830px; margin-bottom: 48px; }
.section-heading p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.03rem;
    margin-top: 18px;
    line-height: 1.7;
}
.eyebrow {
    color: var(--orange);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ============================================================ TYPOGRAPHY */
h1, h2, h3 { font-family: 'Syne', sans-serif; line-height: 1.06; }
h1 {
    font-size: clamp(3.2rem, 7.5vw, 7rem);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
h2 {
    font-size: clamp(2rem, 4.5vw, 4rem);
    letter-spacing: -0.02em;
}
h3 { font-size: 1.15rem; }
.accent {
    background: linear-gradient(130deg, var(--orange), #e8a000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================ REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 520ms ease, transform 520ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================ HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 0 96px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-visual {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    pointer-events: none;
}
.orbit {
    position: absolute;
    border: 1px solid rgba(47, 138, 87, 0.16);
    border-radius: 50%;
    transform: rotate(-18deg);
}
.orbit-one  { width: 680px;  height: 280px; right: 5%;   top: 23%; }
.orbit-two  { width: 900px;  height: 410px; right: -8%;  top: 18%; }
.orbit-three{ width: 1020px; height: 520px; right: -16%; top: 12%; border-color: rgba(255, 107, 53, 0.12); }
.shield-mark {
    position: absolute;
    width: 280px; height: 320px;
    right: 16%; top: 31%;
    opacity: 0.16;
    background: linear-gradient(180deg, var(--green-bright), transparent);
    clip-path: polygon(50% 0, 86% 16%, 82% 66%, 50% 100%, 18% 66%, 14% 16%);
}
.signal {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.1);
}
.signal-one   { right: 28%; top: 26%; }
.signal-two   { right: 13%; top: 48%; background: var(--green-bright); box-shadow: 0 0 0 8px rgba(47, 138, 87, 0.14); }
.signal-three { right: 39%; top: 69%; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 2;
}
.hero-subtitle {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    margin-bottom: 32px;
    line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary  { color: #111; background: var(--orange); box-shadow: 0 4px 20px var(--orange-soft); }
.button-primary:hover { background: #e85d2a; box-shadow: 0 8px 28px var(--orange-glow); }
.button-secondary{ color: var(--text); border: 1px solid var(--line-orange); background: rgba(255, 107, 53, 0.06); }
.button-secondary:hover { border-color: var(--orange); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill-row span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid var(--line-green);
    border-radius: 999px;
    padding: 7px 16px;
    background: rgba(26, 77, 46, 0.16);
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}
.pill-row span:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -14px;
    color: var(--orange);
    font-family: inherit;
}
.pill-accent { color: var(--orange) !important; border-color: var(--line-orange) !important; background: rgba(255, 107, 53, 0.08) !important; }

/* Hero right panel */
.hero-panel,
.matrix-card,
.progress-card,
.milestone-callout,
.stat-card,
.capability-card,
.team-card,
.contact-card,
.update-item,
.belief {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel-soft);
    box-shadow: var(--shadow);
}
.hero-panel {
    padding: 28px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(145deg, rgba(255, 107, 53, 0.14), transparent 42%),
        linear-gradient(315deg, rgba(26, 77, 46, 0.28), transparent 44%),
        rgba(16, 24, 32, 0.82);
}
.panel-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.panel-topline span {
    border: 1px solid var(--line-orange);
    border-radius: 999px;
    color: var(--orange);
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
}
.status-stack { display: grid; gap: 12px; }
.status-stack div {
    border-left: 3px solid var(--orange);
    background: rgba(10, 15, 20, 0.55);
    padding: 14px 16px;
    border-radius: 0 6px 6px 0;
}
.status-stack strong { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 4px; }
.status-stack span   { color: var(--muted); font-size: 0.83rem; line-height: 1.5; }

.scroll-indicator {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    animation: bounce 2.5s infinite;
    opacity: 0.55;
}
@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================================ PROBLEM */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { padding: 28px 24px; }
.stat-card strong {
    display: block;
    color: var(--orange);
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.stat-card span { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.comparison-table { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: rgba(16, 24, 32, 0.72); }
.table-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.table-row:first-child { border-top: 0; }
.table-row > div { padding: 16px 20px; font-size: 0.9rem; line-height: 1.6; }
.table-row > div:first-child { border-right: 1px solid rgba(255, 255, 255, 0.07); color: var(--muted); }
.table-row > div:last-child { color: var(--text); }
.table-row > div:last-child::before { content: '→ '; color: var(--green-bright); font-weight: 700; }
.table-head {
    background: rgba(26, 77, 46, 0.22);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.table-head > div { color: var(--text) !important; }
.table-head > div::before { display: none; }

/* ============================================================ PLATFORM */
.belief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; }
.belief { padding: 28px; }
.belief span {
    display: block;
    color: var(--orange);
    font-family: var(--mono);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.6;
}
.belief h3 { margin-bottom: 10px; }
.belief p  { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}
.capability-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--green-bright));
}
.capability-card h3 { margin-bottom: 10px; }
.capability-card p  { color: var(--muted); font-size: 0.875rem; line-height: 1.7; flex: 1; }
.capability-icon {
    font-size: 2rem;
    margin-bottom: 18px;
    display: inline-flex;
    width: 48px; height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-green);
    border-radius: 50%;
}
.planned {
    background: linear-gradient(160deg, rgba(255, 107, 53, 0.1), rgba(16, 24, 32, 0.78));
    border-color: rgba(255, 107, 53, 0.2);
}
.card-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
}

/* ============================================================ MATRIX */
.matrix-section, .roadmap-section, .updates-section {
    width: 100%;
    background: rgba(16, 24, 32, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.matrix-section { padding: 104px 0; }
.matrix-card {
    padding: 32px;
    background:
        linear-gradient(90deg, rgba(255, 107, 53, 0.07), transparent 36%),
        linear-gradient(270deg, rgba(26, 77, 46, 0.18), transparent 36%),
        rgba(10, 15, 20, 0.75);
}

/* Flow nodes — LARGE and readable */
.flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.flow::before {
    content: '';
    position: absolute;
    left: 9%;
    right: 9%;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--green-bright), var(--orange));
    opacity: 0.3;
    pointer-events: none;
}
.flow-node {
    position: relative;
    min-height: 210px;
    border: 1px solid var(--line-green);
    border-radius: 12px;
    background: rgba(16, 24, 32, 0.95);
    color: var(--text);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 22px 20px;
    text-align: left;
    font-family: inherit;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
    /* Reset button styles */
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
.flow-node:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.flow-node:hover { transform: translateY(-4px); border-color: var(--orange); background: rgba(255, 107, 53, 0.08); }
.flow-node.active {
    transform: translateY(-6px);
    border-color: var(--orange);
    background: rgba(255, 107, 53, 0.1);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.18);
}
.flow-node strong {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    line-height: 1.15;
    margin-bottom: 8px;
    display: block;
}
.flow-node small {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}
.node-mark {
    position: absolute;
    top: 20px; left: 20px;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 77, 46, 0.25);
    border: 1px solid var(--line-green);
    font-size: 1.6rem;
}
.hil-node { border-color: rgba(255, 107, 53, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.12); }
.hil-badge {
    position: absolute;
    top: 14px; right: 14px;
    border-radius: 999px;
    background: var(--orange);
    color: #111;
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 500;
    padding: 4px 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Feedback loop */
.learning-loop {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin: 4px 0 28px;
}
.learning-loop span { height: 1px; background: linear-gradient(90deg, transparent, var(--orange)); opacity: 0.4; }
.learning-loop span:last-child { background: linear-gradient(90deg, var(--orange), transparent); }
.learning-loop p {
    font-family: var(--mono);
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
    letter-spacing: 0.03em;
    line-height: 1.5;
}

/* Detail panels */
.matrix-panels { min-height: 300px; margin-bottom: 28px; }
.matrix-panel {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(10, 15, 20, 0.68);
    padding: 28px;
    animation: panel-in 0.28s ease;
}
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.matrix-panel h3 { color: var(--orange); font-size: 1.3rem; margin-bottom: 10px; }
.matrix-panel > p { max-width: 800px; color: var(--muted); margin-bottom: 24px; font-size: 0.9rem; line-height: 1.75; }
.matrix-panel dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.matrix-panel dl div {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
}
.matrix-panel dt {
    font-family: var(--mono);
    color: var(--orange);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.matrix-panel dd { color: var(--text); font-size: 0.875rem; line-height: 1.55; }

/* Output chips */
.output-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.monitor  { color: #aeb8c2; }
.verify   { color: #67b7ff; }
.review   { color: #f1b84b; }
.dispatch { color: #57d892; }
.payload  { color: var(--orange); }
.notify   { color: #c6a7ff; }
.resolve  { color: #d4d4d4; }

/* ============================================================ PROGRESS */
.progress-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.progress-card { padding: 28px; }
.progress-card h3 { margin-bottom: 18px; }
.next-heading { margin-top: 28px !important; margin-bottom: 18px !important; color: var(--orange); }
.status-list { list-style: none; display: grid; gap: 11px; }
.status-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.status-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 11px; height: 11px;
    border-radius: 50%;
}
.green-list  li { color: var(--text); }
.green-list  li::before { background: var(--green-bright); box-shadow: 0 0 8px rgba(47, 138, 87, 0.5); }
.orange-list li { color: rgba(255, 107, 53, 0.9); }
.orange-list li::before { background: var(--orange); box-shadow: 0 0 8px var(--orange-glow); }
.outline-list li::before { border: 2px solid rgba(255, 255, 255, 0.2); }

.milestone-callout {
    margin-top: 20px;
    padding: 28px;
    border-left: 3px solid var(--orange);
}
.milestone-callout span {
    display: block;
    font-family: var(--mono);
    color: var(--orange);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.milestone-callout p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* ============================================================ ROADMAP */
.roadmap-section { padding: 104px 0; }
.timeline { position: relative; display: grid; gap: 18px; max-width: 900px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 10px; top: 10px; bottom: 10px;
    width: 2px;
    background: linear-gradient(var(--orange), var(--green-bright));
    opacity: 0.4;
}
.timeline-item {
    position: relative;
    margin-left: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(10, 15, 20, 0.65);
    padding: 24px;
    transition: border-color 200ms ease;
}
.timeline-item:hover { border-color: var(--line-orange); }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px; top: 26px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--orange);
    border: 2px solid var(--dark);
}
.timeline-meta {
    font-family: var(--mono);
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.now-badge {
    display: inline-block;
    margin-right: 8px;
    background: var(--orange);
    color: #111;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 9px;
}
.timeline-item h3 { margin-bottom: 8px; }
.timeline-item p  { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* ============================================================ TEAM */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(300px, 1fr)); gap: 24px; max-width: 900px; }
.team-card { padding: 32px 28px; text-align: center; }
.headshot {
    width: 260px;
    height: 260px;
    margin: 0 auto 24px;
    border: 2px solid var(--line-orange);
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
    box-shadow:
        0 0 0 10px rgba(255, 107, 53, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.5);
}
.headshot-onesimo {
    background-size: 165%;
    background-position: center 50%;
}

.headshot-dan {
    background-size: 205%;
    background-position: center 55%;
}
.team-card h3 { margin-bottom: 6px; }
.team-role {
    color: var(--orange);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.team-bio { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }

/* ============================================================ UPDATES */
.updates-section { padding: 104px 0; }
.updates-list { display: grid; gap: 14px; max-width: 900px; }
.update-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 24px;
    padding: 24px;
    transition: border-color 200ms ease;
}
.update-item:hover { border-color: var(--line-orange); }
.update-item time {
    font-family: var(--mono);
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 4px;
}
.update-item h3 { font-size: 1rem; margin-bottom: 6px; }
.update-item p  { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* ============================================================ CONTACT */
.contact-section { text-align: center; }
.contact-section .section-heading { margin-left: auto; margin-right: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 18px; max-width: 720px; margin: 0 auto; }
.contact-card {
    text-decoration: none;
    padding: 28px;
    transition: transform 180ms ease, border-color 180ms ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--line-orange); }
.contact-card span { display: block; font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.contact-card p    { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px; }
.contact-card strong { color: var(--orange); font-size: 0.9rem; }

/* ============================================================ FOOTER */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 36px 0; background: #080d11; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 18px 32px; align-items: center; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.footer-inner p { grid-column: 1 / -1; color: var(--faint); font-size: 0.8rem; }

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

/* ============================================================ RESPONSIVE */
@media (max-width: 1050px) {
    .capability-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-node { min-height: 190px; padding: 18px 16px; }
    .node-mark { width: 44px; height: 44px; font-size: 1.4rem; }
    .flow-node strong { font-size: 0.95rem; }
    .matrix-panel dl { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero-grid, .stat-grid, .belief-grid, .progress-grid { grid-template-columns: 1fr; }
    .hero-panel { min-height: 280px; }
    .flow { grid-template-columns: 1fr; }
    .flow::before { left: 31px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
    .flow-node { min-height: 110px; padding: 16px 16px 16px 88px; flex-direction: row; align-items: center; gap: 0; }
    .node-mark { top: 50%; left: 22px; transform: translateY(-50%); }
    .flow-node strong { font-size: 1rem; }
    .matrix-panel dl { grid-template-columns: 1fr; }
    .team-grid { max-width: 440px; grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 76px; left: 16px; right: 16px;
        display: grid; gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: rgba(10, 15, 20, 0.98);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }
    .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .nav-links a { padding: 13px 12px; }
    .nav-cta { text-align: center; margin-top: 6px; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .table-row, .contact-grid, .footer-inner, .update-item { grid-template-columns: 1fr; }
    .table-row > div:first-child { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
    .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .section-shell { width: min(100% - 28px, 1180px); }
    section { padding: 76px 0; }
    .hero { padding-top: 120px; }
    .hero-actions, .hero-actions .button { width: 100%; }
    .pill-row span { width: calc(50% - 5px); justify-content: center; }
    .pill-row span:not(:last-child)::after { display: none; }
    .capability-grid { grid-template-columns: 1fr; }
    .learning-loop span { display: none; }
    .headshot { width: 220px; height: 220px; }
}
