:root {
    --ink: #0f172a;
    --ink-soft: #14233d;
    --surface: #f5f7fb;
    --surface-alt: #edf2f7;
    --panel: #ffffff;
    --line: #73a8c3;
    --line-strong: #2d4b63;
    --gold: #e2a648;
    --gold-deep: #c88a2a;
    --text: #17212d;
    --muted: #5d6f83;
    --white: #edf3fb;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--text);
    font-family: "IBM Plex Sans", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.04em;
}

p {
    margin: 0;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.mono {
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.08em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid rgba(115, 168, 195, 0.25);
    backdrop-filter: blur(14px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
    color: var(--white);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    margin-right: 18px;
}

.nav-menu a {
    color: rgba(237, 243, 251, 0.72);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--white);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--gold);
    color: var(--ink);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: #f3b760;
}

.button--secondary,
.button--ghost {
    border: 1px solid rgba(115, 168, 195, 0.5);
}

.button--secondary {
    background: transparent;
    color: var(--gold);
}

.button--secondary:hover,
.button--secondary:focus-visible {
    background: rgba(226, 166, 72, 0.08);
}

.button--ghost {
    background: transparent;
    color: var(--white);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    border-color: rgba(115, 168, 195, 0.9);
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(115, 168, 195, 0.6);
    background: transparent;
    color: var(--white);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    cursor: pointer;
}

.hero {
    background: linear-gradient(135deg, var(--ink) 0%, #12243d 100%);
    color: var(--white);
    padding: 80px 0 80px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.eyebrow,
.kicker,
.company-label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.73rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--line);
}

.hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 5vw, 5.2rem);
    color: var(--white);
}

.hero h1 span {
    color: var(--gold);
}

.lead {
    max-width: 620px;
    margin-top: 22px;
    color: rgba(237, 243, 251, 0.8);
    font-size: 1.12rem;
}

.lead--secondary {
    margin-top: 14px;
    color: rgba(237, 243, 251, 0.7);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 38px;
}

.hero__proof div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__proof strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    color: var(--gold);
}

.hero__proof span {
    color: rgba(237, 243, 251, 0.72);
    max-width: 16ch;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: min(100%, 520px);
    padding: 26px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(115, 168, 195, 0.3);
    border-radius: calc(var(--radius) + 8px);
    box-shadow: var(--shadow);
}

.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(237, 243, 251, 0.8);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.visual-header span:last-child {
    color: var(--gold);
}

.brain-diagram {
    position: relative;
    height: 320px;
    border-radius: 22px;
    border: 1px solid rgba(115, 168, 195, 0.35);
    background:
        linear-gradient(rgba(115, 168, 195, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(115, 168, 195, 0.08) 1px, transparent 1px),
        rgba(14, 27, 42, 0.72);
    background-size: 28px 28px, 28px 28px, auto;
    overflow: hidden;
}

.brain-diagram::before,
.brain-diagram::after {
    content: "";
    position: absolute;
    border: 1.5px solid rgba(115, 168, 195, 0.7);
    border-radius: 50% 50% 44% 56% / 53% 48% 52% 47%;
}

.brain-diagram::before {
    inset: 54px 76px 54px 76px;
    transform: rotate(-10deg);
}

.brain-diagram::after {
    inset: 72px 104px 72px 104px;
    border-style: dashed;
    opacity: 0.8;
}

.node {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(226, 166, 72, 0.12);
}

.node--one {
    top: 72px;
    left: 120px;
}

.node--two {
    top: 118px;
    left: 210px;
}

.node--three {
    top: 190px;
    left: 260px;
}

.node--four {
    top: 150px;
    left: 162px;
}

.node--five {
    top: 225px;
    left: 170px;
}

.node--six {
    top: 190px;
    left: 320px;
}

.visual-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.visual-meta div {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(115, 168, 195, 0.2);
    border-radius: 14px;
}

.visual-meta small {
    display: block;
    color: rgba(237, 243, 251, 0.6);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.63rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.visual-meta strong {
    display: block;
    margin-top: 8px;
    font-size: 1.1rem;
}

.stats {
    background: var(--ink-soft);
    border-top: 1px solid rgba(115, 168, 195, 0.2);
    border-bottom: 1px solid rgba(115, 168, 195, 0.2);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
    padding: 28px 24px;
    border-right: 1px solid rgba(115, 168, 195, 0.2);
}

.stat:last-child {
    border-right: none;
}

.stat__value {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    line-height: 1;
    color: var(--white);
}

.stat p {
    margin-top: 10px;
    font-family: "IBM Plex Mono", monospace;
    color: rgba(237, 243, 251, 0.7);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section {
    padding: 88px 0;
}

.section--muted {
    background: var(--surface-alt);
}

.section--dark {
    background: linear-gradient(180deg, var(--ink) 0%, #101d2f 100%);
    color: var(--white);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(140px, 190px) 1fr;
    align-items: start;
    gap: 36px;
    margin-bottom: 48px;
}

.section-heading--light h2,
.section-heading--light p,
.section-heading--light .kicker {
    color: var(--white);
}

.kicker {
    color: var(--gold-deep);
    margin-top: 8px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    max-width: 17ch;
}

.section-heading p:not(.kicker) {
    max-width: 590px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.02rem;
}

.section-heading--light p:not(.kicker) {
    color: rgba(237, 243, 251, 0.74);
}

.capability-banner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: center;
    margin: 28px 0 12px;
    background: linear-gradient(135deg, rgba(18, 39, 61, 0.96), rgba(40, 72, 96, 0.88));
    border: 1px solid rgba(115, 168, 195, 0.2);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.capability-banner__content {
    padding: 30px 28px;
    color: var(--white);
}

.capability-banner__content span {
    display: inline-block;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.66rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.capability-banner__content h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    max-width: 13ch;
}

.capability-banner img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.steps {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(23, 33, 45, 0.14);
}

.step {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 26px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(23, 33, 45, 0.14);
}

.step__number {
    font-family: "IBM Plex Mono", monospace;
    color: var(--gold-deep);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    padding-top: 7px;
}

.step h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 12px;
}

.step p {
    color: var(--muted);
    max-width: 720px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--panel);
    border: 1px solid rgba(23, 33, 45, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.04);
    padding: 26px 22px;
}

.product-card--soon {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--line-strong);
    font-weight: 600;
}

.product-list {
    margin: 18px 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
    line-height: 1.8;
}

.badge {
    display: inline-block;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(115, 168, 195, 0.12);
    border: 1px solid rgba(45, 75, 99, 0.18);
    color: var(--line-strong);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-card h3 {
    margin-top: 18px;
    font-size: 1.5rem;
}

.project-card p {
    margin-top: 12px;
    color: var(--muted);
}

.company-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.company-card {
    background: rgba(20, 35, 61, 0.9);
    border: 1px solid rgba(115, 168, 195, 0.22);
    border-radius: 24px;
    padding: 26px 22px;
    box-shadow: var(--shadow);
}

.company-card img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 18px;
}

.company-card h3 {
    margin-top: 14px;
    font-size: 1.55rem;
}

.company-card p {
    margin-top: 12px;
    color: rgba(237, 243, 251, 0.72);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    background: var(--panel);
    border: 1px solid rgba(23, 33, 45, 0.08);
    border-radius: var(--radius);
    padding: 26px 22px;
}

.contact-card a {
    display: inline-block;
    margin-top: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-card p {
    margin-top: 12px;
    color: var(--muted);
}

.contact-card address {
    margin-top: 10px;
    font-style: normal;
    color: var(--text);
    line-height: 1.8;
}

.small-print {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer {
    background: var(--ink);
    color: rgba(237, 243, 251, 0.74);
    border-top: 1px solid rgba(115, 168, 195, 0.2);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 72px;
    font-size: 0.84rem;
}

@media (max-width: 900px) {

    .hero__grid,
    .section-heading,
    .company-grid,
    .contact-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        gap: 40px;
    }

    .nav-menu {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 32px 22px;
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid rgba(115, 168, 195, 0.25);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .button--secondary {
        display: none;
    }
}

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

    .hero {
        padding-top: 52px;
    }

    .section {
        padding: 72px 0;
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(115, 168, 195, 0.2);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .brand span:last-child {
        display: none;
    }

    .footer__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 18px 0;
    }
}


/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

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

.contact-block {
    border: 1px solid var(--paper-dim);
    padding: 32px;
    border-radius: var(--radius);
}

.contact-block .tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--signal-dim);
}

.contact-block .value {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
}

.contact-block a.value {
    text-decoration: none;
    border-bottom: 1px solid var(--signal);
    padding-bottom: 2px;
}

.contact-block .addr {
    margin-top: 12px;
    font-size: 14.5px;
    color: var(--text-muted-on-paper);
    line-height: 1.6;
}

/* ---------- Footer ---------- */
footer {
    background: var(--ink);
    color: var(--text-muted-on-ink);
    padding: 36px 0;
    font-size: 12.5px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--line-dim);
    padding-top: 24px;
}

.footer-grid .mono {
    font-size: 11.5px;
}

/* reveal animation, respects reduced motion */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 2px;
}