/* ==========================================================================
   GreySpire — site styles
   ========================================================================== */

:root {
    --bg: #0a0c11;
    --bg-2: #0f121a;
    --surface: #141824;
    --surface-2: #1a1f2e;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #eef1f6;
    --muted: #a3acbb;
    --faint: #6f7888;
    --brand: #0ea5e9;
    --brand-light: #38bdf8;
    --accent: #8b74d1;
    --accent-deep: #6e59a5;
    --success: #34d399;
    --danger: #f87171;
    --gradient: linear-gradient(120deg, #38bdf8 0%, #0ea5e9 40%, #8b74d1 100%);

    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --header-h: 72px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(72px, 10vw, 128px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

img {
    height: auto;
}

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

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

button {
    cursor: pointer;
    background: none;
    border: 0;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

::selection {
    background: rgba(14, 165, 233, 0.35);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--brand-light);
    outline-offset: 3px;
    border-radius: 6px;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    transform: translateY(-150%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    min-height: 48px;
    padding: 0.8em 1.4em;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.975rem;
    line-height: 1.2;
    white-space: nowrap;
    color: #fff;
    background: var(--btn-bg);
    border: 1px solid transparent;
    box-shadow: 0 8px 24px -8px rgba(14, 165, 233, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn .icon {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.25s var(--ease);
}

.btn:hover {
    background: #0b93d1;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -10px rgba(14, 165, 233, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn:active {
    transform: translateY(0);
}

.btn[disabled] {
    opacity: 0.65;
    cursor: progress;
    transform: none;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-strong);
    box-shadow: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.btn-sm {
    min-height: 40px;
    padding: 0.55em 1.1em;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled,
.nav-open .site-header {
    background: rgba(10, 12, 17, 0.78);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.logo-mark {
    width: 34px;
    height: 34px;
}

.logo-text span {
    color: var(--brand-light);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-list a {
    position: relative;
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-list a.is-active {
    color: #fff;
}

.nav-list a.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-light);
    transform: translateX(-50%);
}

.nav-cta {
    margin-left: 12px;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
}

.nav-toggle-bar {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle-bar:nth-child(1) { top: 15px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899.98px) {
    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px var(--gutter) 24px;
        background: rgba(10, 12, 17, 0.97);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-list a {
        padding: 12px 14px;
        border-radius: var(--radius-sm);
        font-size: 1.05rem;
    }

    .nav-list a.is-active {
        background: rgba(14, 165, 233, 0.1);
    }

    .nav-list a.is-active::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        width: 100%;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 48px) 0 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 50% at 78% 38%, rgba(14, 165, 233, 0.2), transparent 70%),
        radial-gradient(45% 45% at 12% 85%, rgba(110, 89, 165, 0.22), transparent 70%),
        radial-gradient(40% 30% at 50% 0%, rgba(56, 189, 248, 0.1), transparent 70%),
        var(--bg);
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(transparent, var(--bg));
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
}

.eyebrow-dot {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.18);
}

.eyebrow-dot::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--brand-light);
    box-shadow: 0 0 12px var(--brand-light);
}

.hero h1 {
    margin-top: 24px;
    font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.hero-lede {
    margin-top: 24px;
    max-width: 36rem;
    font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    list-style: none;
}

.hero-tags li {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-light);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    aspect-ratio: 1;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.28), transparent 70%);
    filter: blur(20px);
}

.hero-visual svg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hv-orbit {
    fill: none;
    stroke: rgba(255, 255, 255, 0.09);
    stroke-dasharray: 2 8;
}

.hv-orbit-spin {
    transform-origin: 240px 240px;
    animation: spin 60s linear infinite;
}

.hv-link {
    fill: none;
    stroke: rgba(56, 189, 248, 0.35);
    stroke-width: 1.5;
}

.hv-pulse {
    fill: none;
    stroke: url(#hv-grad);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 18 190;
    animation: flow 3.2s linear infinite;
}

.hv-pulse:nth-of-type(2) { animation-delay: -0.5s; }
.hv-pulse:nth-of-type(3) { animation-delay: -1.1s; }
.hv-pulse:nth-of-type(4) { animation-delay: -1.6s; }
.hv-pulse:nth-of-type(5) { animation-delay: -2.2s; }
.hv-pulse:nth-of-type(6) { animation-delay: -2.7s; }

.hv-node rect {
    fill: rgba(20, 24, 36, 0.92);
    stroke: rgba(255, 255, 255, 0.14);
}

.hv-node circle {
    fill: var(--brand-light);
}

.hv-node text {
    fill: var(--text);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
}

.hv-chip-body {
    fill: #121624;
    stroke: url(#hv-grad);
    stroke-width: 2;
}

.hv-chip-pins {
    stroke: rgba(56, 189, 248, 0.55);
    stroke-width: 2;
    stroke-linecap: round;
}

@keyframes flow {
    from { stroke-dashoffset: 208; }
    to { stroke-dashoffset: 0; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 899.98px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + 40px);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions,
    .hero-tags {
        justify-content: center;
    }

    .hero-visual {
        max-width: 420px;
    }
}

@media (max-width: 479.98px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ---------- Sections ---------- */
.section {
    position: relative;
    padding-block: var(--section-y);
}

.section-alt {
    background:
        radial-gradient(60% 60% at 100% 0%, rgba(110, 89, 165, 0.08), transparent 70%),
        var(--bg-2);
    border-block: 1px solid var(--border);
}

.section-head {
    max-width: 44rem;
    margin: 0 auto clamp(40px, 6vw, 64px);
    text-align: center;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-light);
}

.section-head h2,
.split-copy h2 {
    font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
}

.section-head p {
    margin-top: 16px;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    color: var(--muted);
}

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: clamp(16px, 2vw, 24px);
    list-style: none;
}

.card {
    position: relative;
    height: 100%;
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -24px rgba(14, 165, 233, 0.35);
}

.card:hover::before {
    opacity: 1;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: var(--brand-light);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(110, 89, 165, 0.18));
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.card-icon .icon {
    width: 26px;
    height: 26px;
}

.card-index {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--faint);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    font-size: 0.975rem;
}

/* Capability cards — horizontal layout */
.card-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.card-row .card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.card-row .card-icon .icon {
    width: 22px;
    height: 22px;
}

.card-row h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

/* ---------- About ---------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}

.split-copy h2 {
    margin-bottom: 20px;
}

.split-copy p {
    color: var(--muted);
    margin-bottom: 16px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 32px;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
}

.check-list .icon {
    width: 22px;
    height: 22px;
    padding: 4px;
    margin-top: 1px;
    border-radius: 50%;
    color: var(--brand-light);
    background: rgba(14, 165, 233, 0.14);
    stroke-width: 2.5;
}

/* ---------- Team ---------- */
.team-card {
    text-align: center;
}

.avatar {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.1), 0 16px 32px -12px rgba(14, 165, 233, 0.6);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-role {
    color: var(--brand-light) !important;
    font-weight: 500;
}

/* ---------- CTA band ---------- */
.cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: clamp(32px, 5vw, 56px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(56, 189, 248, 0.25);
    background:
        radial-gradient(80% 140% at 100% 0%, rgba(14, 165, 233, 0.3), transparent 60%),
        radial-gradient(60% 120% at 0% 100%, rgba(110, 89, 165, 0.35), transparent 60%),
        var(--surface);
}

.cta h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
    max-width: 30rem;
}

.cta p {
    margin-top: 10px;
    color: var(--muted);
    max-width: 34rem;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    list-style: none;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.contact-item .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.contact-item .card-icon .icon {
    width: 20px;
    height: 20px;
}

.contact-label {
    display: block;
    margin-bottom: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

.contact-item a,
.contact-item address {
    display: block;
    font-style: normal;
    color: var(--text);
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: var(--brand-light);
}

.form-card {
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.9);
}

.form-card h3 {
    font-size: 1.5rem;
}

.form-card > p {
    margin: 8px 0 28px;
    color: var(--muted);
}

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

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.field label {
    font-size: 0.9rem;
    font-weight: 500;
}

.field label .optional {
    color: var(--faint);
    font-weight: 400;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.03);
    font-size: 1rem; /* 16px prevents iOS zoom on focus */
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--faint);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: rgba(14, 165, 233, 0.05);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.field input:user-invalid,
.field textarea:user-invalid {
    border-color: var(--danger);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 1.5em;
    margin-top: 14px;
    font-size: 0.925rem;
    color: var(--muted);
}

.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }

.form-note {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--faint);
}

/* ---------- Highlights strip ---------- */
.highlights {
    position: relative;
    margin-top: -24px;
    padding-bottom: 8px;
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--border);
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: var(--surface);
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.4;
}

.highlight-list strong {
    display: block;
    color: var(--text);
    font-weight: 600;
}

.highlight-list .card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.highlight-list .card-icon .icon {
    width: 20px;
    height: 20px;
}

/* ---------- Shared bits ---------- */
.card-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.card-icon-lg {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.card-icon-lg .icon {
    width: 28px;
    height: 28px;
}

.check-list-sm {
    gap: 10px;
    margin: 22px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.check-list-sm li {
    font-size: 0.925rem;
    font-weight: 400;
    color: var(--text);
}

.check-list-sm .icon {
    width: 20px;
    height: 20px;
}

.tag-list,
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.tag-list {
    margin-top: 20px;
}

.tag-list li,
.chip-list li {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
}

.chip-list li {
    font-size: 0.875rem;
    padding: 6px 14px;
    color: var(--text);
}

.badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0a0c11;
    background: var(--gradient);
}

.link {
    color: var(--brand-light);
    text-decoration: underline;
    text-decoration-color: rgba(56, 189, 248, 0.4);
    text-underline-offset: 3px;
}

.link:hover {
    text-decoration-color: currentColor;
}

.section-tight {
    padding-block: clamp(48px, 7vw, 88px);
}

.subhead {
    margin: clamp(48px, 7vw, 72px) 0 24px;
    font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
    text-align: center;
}

/* ---------- Service pillars ---------- */
.pillar h3 {
    font-size: 1.4rem;
}

/* ---------- Industries ---------- */
.industry-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 132px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: var(--radius);
    color: var(--brand-light);
    background:
        radial-gradient(circle at 50% 120%, rgba(14, 165, 233, 0.35), transparent 60%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(110, 89, 165, 0.18));
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.industry-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
    mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}

.industry-art::after {
    content: "";
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px dashed rgba(56, 189, 248, 0.35);
    transition: transform 0.6s var(--ease);
}

.industry-art .icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.55));
    transition: transform 0.4s var(--ease);
}

.industry:hover .industry-art .icon {
    transform: scale(1.1);
}

.industry:hover .industry-art::after {
    transform: scale(1.25) rotate(45deg);
}

/* ---------- Illustrations ---------- */
.art {
    position: relative;
    isolation: isolate;
}

.art::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22), transparent 70%);
    filter: blur(30px);
    z-index: -1;
}

.art svg {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}

.cl-arc {
    animation: gauge 1.8s var(--ease) both;
}

@keyframes gauge {
    from { stroke-dasharray: 0 629; }
}

/* ---------- Featured product ---------- */
.feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    margin-bottom: clamp(40px, 6vw, 64px);
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background:
        radial-gradient(70% 90% at 0% 50%, rgba(14, 165, 233, 0.12), transparent 70%),
        var(--surface);
}

.feature-copy h3 {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
    margin-bottom: 14px;
}

.feature-copy > p {
    color: var(--muted);
}

.feature-copy .check-list {
    margin: 24px 0 28px;
}

/* ---------- Product slideshow ---------- */
.showcase {
    --interval: 5000ms;
    margin-bottom: clamp(8px, 2vw, 16px);
}

.showcase-viewport {
    border-radius: var(--radius-lg);
}

/* Without JS: a swipeable, snapping row */
.showcase-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.showcase-slide {
    flex: 0 0 100%;
    margin: 0;
    scroll-snap-align: start;
}

/* With JS: a sliding track that always moves right-to-left */
.js .showcase-viewport {
    overflow: hidden;
}

.js .showcase-track {
    gap: 0;
    overflow: visible;
    touch-action: pan-y;
    transition: transform 0.55s var(--ease);
    will-change: transform;
}

.showcase-controls {
    display: none;
}

.js .showcase-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 20px;
}

.showcase-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.showcase-dot {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 999px;
}

.showcase-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}

.showcase-dot:hover::before {
    background: rgba(255, 255, 255, 0.35);
}

.showcase-dot.is-active {
    width: 44px;
}

.showcase-dot.is-active::before {
    width: 36px;
    background: rgba(56, 189, 248, 0.3);
    overflow: hidden;
}

.showcase-dot::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 0;
    height: 10px;
    border-radius: 999px;
    background: var(--gradient);
    transform: translateY(-50%);
}

.showcase-dot.is-active::after {
    width: 36px;
}

.showcase.is-playing .showcase-dot.is-active::after {
    animation: dot-progress var(--interval) linear both;
}

@keyframes dot-progress {
    from { width: 10px; }
    to { width: 36px; }
}

.showcase-status {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-right: auto;
    color: var(--muted);
    font-size: 0.925rem;
}

.showcase-status [data-count] {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--brand-light);
    font-variant-numeric: tabular-nums;
}

.showcase-buttons {
    display: flex;
    gap: 8px;
}

.showcase-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.showcase-btn:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
}

.showcase-btn .icon {
    width: 20px;
    height: 20px;
}

.showcase-btn .icon-left { transform: rotate(90deg); }
.showcase-btn .icon-right { transform: rotate(-90deg); }
.showcase-btn .icon-play { fill: currentColor; stroke: none; }
.showcase-btn .icon-play,
.showcase.is-paused .showcase-btn .icon-pause { display: none; }
.showcase.is-paused .showcase-btn .icon-play { display: block; }

.showcase-slide .btn {
    white-space: normal;
}

/* Illustration details */
.art text {
    font-family: var(--font-sans);
}

.art .t-display {
    font-family: var(--font-display);
}

.art .flow {
    fill: none;
    stroke: rgba(56, 189, 248, 0.75);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 6 8;
    animation: flow-dash 1.1s linear infinite;
}

.art .node rect {
    fill: rgba(20, 24, 36, 0.95);
    stroke: rgba(255, 255, 255, 0.14);
}

.art .node text {
    fill: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.art .blink {
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes flow-dash {
    to { stroke-dashoffset: -28; }
}

@keyframes blink {
    50% { opacity: 0.25; }
}

@media (max-width: 599.98px) {
    .showcase-status {
        order: -1;
        width: 100%;
    }

    .showcase-dots {
        gap: 2px;
    }
}

/* ---------- Mission, vision & values ---------- */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(48px, 7vw, 80px);
}

.mv-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    list-style: none;
}

.value {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.value .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.value .card-icon .icon {
    width: 22px;
    height: 22px;
}

.value h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.value p {
    font-size: 0.925rem;
    color: var(--muted);
}

/* ---------- Process ---------- */
.process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
}

.process::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5) 10%, rgba(139, 116, 209, 0.5) 90%, transparent);
}

.step {
    position: relative;
    text-align: center;
}

.step-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 0 0 8px var(--bg), 0 16px 32px -10px rgba(14, 165, 233, 0.7);
}

.step-icon .icon {
    width: 26px;
    height: 26px;
}

.step-num {
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-light);
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.925rem;
    color: var(--muted);
}

/* ---------- Technologies ---------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.tech-group {
    padding: clamp(22px, 3vw, 30px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
}

.tech-group h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.tech-group h3 .icon {
    color: var(--brand-light);
}

/* ---------- FAQ ---------- */
.faq-wrap {
    max-width: calc(860px + var(--gutter) * 2);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color 0.25s var(--ease);
}

.faq[open] {
    border-color: rgba(56, 189, 248, 0.35);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.075rem;
    font-weight: 600;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .icon {
    color: var(--brand-light);
    transition: transform 0.3s var(--ease);
}

.faq[open] summary .icon {
    transform: rotate(180deg);
}

.faq p {
    padding: 0 24px 22px;
    color: var(--muted);
}

/* ---------- Contact extras ---------- */
.field select {
    width: 100%;
    min-height: 50px;
    padding: 12px 40px 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3acbb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.field select option {
    background: var(--surface);
    color: var(--text);
}

.contact-map {
    margin-top: 14px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    background: var(--surface);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(180deg);
}

.footer-contact {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.footer-contact .icon {
    width: 18px;
    height: 18px;
    color: var(--brand-light);
}

.footer-contact a:hover {
    color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
    padding-top: clamp(56px, 8vw, 88px);
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    margin-top: 16px;
    max-width: 22rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-col h2 {
    margin-bottom: 16px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.footer-links {
    display: grid;
    gap: 10px;
    list-style: none;
    font-size: 0.95rem;
}

.footer-links a {
    color: var(--muted);
    transition: color 0.2s var(--ease);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 56px;
    padding-block: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--faint);
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: rgba(20, 24, 36, 0.9);
    border: 1px solid var(--border-strong);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.2s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brand);
}

/* ---------- 404 ---------- */
.not-found {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
}

.not-found .code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 3rem + 12vw, 10rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
}

.not-found h1 {
    margin-top: 8px;
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}

.not-found p {
    margin: 12px auto 32px;
    max-width: 30rem;
    color: var(--muted);
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: calc(var(--d, 0) * 80ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023.98px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .highlight-list,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 40px;
    }

    .process::before {
        display: none;
    }
}

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

    .split-copy {
        order: -1;
    }

    .feature,
    .tech-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 599.98px) {
    .form-row,
    .highlight-list,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .highlights {
        margin-top: 0;
    }

    .process {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .step {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 18px;
        padding-bottom: 28px;
        text-align: left;
    }

    .step:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 56px;
        bottom: 0;
        left: 27px;
        width: 2px;
        background: linear-gradient(rgba(56, 189, 248, 0.5), rgba(139, 116, 209, 0.3));
    }

    .step-icon {
        grid-row: span 3;
        width: 56px;
        height: 56px;
        margin: 0;
    }

    .mv-card {
        flex-direction: column;
    }

    .faq summary {
        padding: 18px;
        font-size: 1rem;
    }

    .faq p {
        padding: 0 18px 18px;
    }

    .card-row {
        flex-direction: column;
    }

    .cta .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* ---------- Motion & print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hv-pulse {
        display: none;
    }
}

@media print {
    .site-header,
    .back-to-top,
    .hero-visual,
    .contact-map,
    .form-card {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
