:root {
    --brand-sky: #0ea5e9;
    --brand-sky-soft: #7dd3fc;
    --brand-sky-faint: rgba(14,165,233,.08);
    --bg: #020617;
    --panel: rgba(15,23,42,.75);
    --panel-soft: rgba(15,23,42,.5);
    --line: rgba(255,255,255,.08);
    --muted: #64748b;
    --muted-bright: #94a3b8;
    --text: #f8fafc;
}

* { box-sizing: border-box; }

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    background-image: radial-gradient(circle at 50% -20%, #1e293b 0%, #020617 80%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .025;
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,.18) 0,
        rgba(255,255,255,.18) 1px,
        transparent 1px,
        transparent 4px
    );
    mix-blend-mode: soft-light;
}

h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; }
a { color: inherit; }

#starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .55;
}

.glass {
    background: var(--panel);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--line);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}

.home-shell {
    position: relative;
    z-index: 10;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 44px;
}

.site-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 52px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 48px;
    filter: drop-shadow(0 0 18px rgba(14,165,233,.14));
    transition: transform .4s cubic-bezier(.16,1,.3,1), filter .4s ease;
}

.brand-lockup:hover .brand-logo {
    transform: translateY(-2px) scale(1.025);
    filter: drop-shadow(0 0 28px rgba(14,165,233,.3));
}

.brand-copy h1 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.03em;
}

.brand-copy p {
    margin: 6px 0 0;
    color: var(--brand-sky);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .11em;
}

.site-state {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.site-state-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-sky);
    box-shadow: 0 0 12px rgba(14,165,233,.8);
    animation: pulse 2s infinite;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: clamp(30px, 5vw, 60px);
    isolation: isolate;
}

.hero-panel::before,
.about-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(14,165,233,.06) 35%,
        rgba(255,255,255,.04) 50%,
        transparent 70%
    );
    transform: translateX(-115%);
    transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}

.hero-panel:hover::before,
.about-panel:hover::before {
    transform: translateX(115%);
}

.hero-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.hero-glow-one {
    top: -200px;
    right: -150px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(14,165,233,.16) 0%, rgba(14,165,233,0) 70%);
    animation: driftGlow 9s ease-in-out infinite alternate;
}

.hero-glow-two {
    bottom: -250px;
    left: -170px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,189,248,.07) 0%, rgba(14,165,233,0) 70%);
    animation: driftGlowTwo 12s ease-in-out infinite alternate;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.hero-copy { max-width: 780px; }

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--brand-sky);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-sky));
}

.hero-copy h2 {
    margin: 16px 0 0;
    max-width: 820px;
    color: #fff;
    font-size: clamp(42px, 7vw, 78px);
    line-height: .98;
    font-weight: 700;
    letter-spacing: -.057em;
}

.hero-copy h2 span {
    color: transparent;
    background: linear-gradient(135deg, #f8fafc 0%, #7dd3fc 55%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-description {
    max-width: 670px;
    margin: 22px 0 0;
    color: var(--muted-bright);
    font-size: 15px;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 28px;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 13px;
    padding: 0 18px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.primary-action {
    gap: 10px;
    background: var(--brand-sky);
    color: #020617;
    box-shadow: 0 16px 34px rgba(14,165,233,.16);
}

.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 40px rgba(14,165,233,.24);
}

.secondary-action {
    border: 1px solid rgba(148,163,184,.14);
    background: rgba(2,6,23,.35);
    color: #cbd5e1;
}

.secondary-action:hover {
    transform: translateY(-2px);
    border-color: rgba(14,165,233,.42);
    background: rgba(14,165,233,.05);
}

.mission-preview {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(14,165,233,.15);
    border-radius: 20px;
    background: rgba(2,6,23,.38);
}

.mission-preview::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,.13), transparent 70%);
}

.mission-label {
    margin: 0;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.mission-year {
    margin: 7px 0 0;
    color: var(--brand-sky-soft);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.04em;
}

.mission-preview-copy {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.section-block {
    padding: 74px 0 0;
    scroll-margin-top: 24px;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: end;
    margin-bottom: 25px;
}

.section-heading h2,
.about-heading h2 {
    margin: 10px 0 0;
    color: #fff;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.045em;
}

.section-copy {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.service-card {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0,1fr) auto;
    align-items: center;
    gap: 15px;
    min-height: 116px;
    padding: 18px;
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    transition:
        transform .4s cubic-bezier(.4,0,.2,1),
        border-color .4s ease,
        background .4s ease,
        box-shadow .4s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.045) 50%, transparent 75%);
    transform: translateX(-130%);
    transition: transform .75s ease;
}

.service-card:hover {
    border-color: var(--brand-sky);
    background: rgba(14,165,233,.05);
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(0,0,0,.25), 0 0 30px rgba(14,165,233,.06);
}

.service-card:hover::after { transform: translateX(130%); }

.service-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(14,165,233,.18);
    border-radius: 15px;
    background: rgba(14,165,233,.055);
    color: var(--brand-sky-soft);
    transition: transform .35s cubic-bezier(.16,1,.3,1), background .35s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.06) rotate(-2deg);
    background: rgba(14,165,233,.1);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-content { min-width: 0; }

.service-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--brand-sky);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.service-content strong {
    display: block;
    color: #e2e8f0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.service-content small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.48;
}

.service-arrow {
    color: #475569;
    font-size: 20px;
    line-height: 1;
    transition: color .3s ease, transform .3s ease;
}

.service-card:hover .service-arrow {
    color: var(--brand-sky-soft);
    transform: translate(2px,-2px);
}

.about-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 74px;
    padding: clamp(28px, 5vw, 50px);
    overflow: hidden;
    border-radius: 28px;
    scroll-margin-top: 24px;
    isolation: isolate;
}

.about-heading p:last-child {
    margin: 16px 0 0;
    color: var(--muted-bright);
    font-size: 13px;
    line-height: 1.75;
}

.founder-quote {
    position: relative;
    margin: 0;
    padding: 26px;
    border: 1px solid rgba(148,163,184,.11);
    border-radius: 20px;
    background: rgba(2,6,23,.4);
}

.quote-mark {
    position: absolute;
    top: 4px;
    right: 18px;
    color: rgba(14,165,233,.14);
    font-family: Georgia, serif;
    font-size: 88px;
    line-height: 1;
    pointer-events: none;
}

.founder-quote > p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.8;
}

.founder-quote footer {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid rgba(148,163,184,.09);
}

.founder-quote footer strong {
    color: #e2e8f0;
    font-size: 12px;
}

.founder-quote footer span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 30px;
    padding: 24px 4px 0;
    border-top: 1px solid rgba(148,163,184,.06);
    color: #334155;
}

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

.site-footer strong {
    color: #475569;
    font-size: 11px;
}

.site-footer span,
.site-footer p {
    margin: 0;
    font-size: 10px;
}

.analytics-noscript {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

a:focus-visible {
    outline: 2px solid var(--brand-sky-soft);
    outline-offset: 4px;
}

@keyframes pulse {
    0% { transform: scale(.9); opacity: .6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(.9); opacity: .6; }
}

@keyframes driftGlow {
    from { transform: translate3d(-10px,-8px,0) scale(.96); opacity: .75; }
    to { transform: translate3d(22px,18px,0) scale(1.06); opacity: 1; }
}

@keyframes driftGlowTwo {
    from { transform: translate3d(12px,8px,0) scale(1.02); opacity: .45; }
    to { transform: translate3d(-18px,-14px,0) scale(.94); opacity: .8; }
}

@media (min-width: 720px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .section-heading {
        grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
    }

    .site-footer {
        flex-direction: row;
        align-items: flex-end;
    }
}

@media (min-width: 768px) {
    .site-header {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 920px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    }

    .about-panel {
        grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
        align-items: start;
    }
}

@media (max-width: 560px) {
    .home-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 24px;
    }

    .site-header { margin-bottom: 30px; }
    .brand-logo { height: 42px; }
    .brand-copy h1 { font-size: 21px; }

    .hero-panel,
    .about-panel {
        border-radius: 22px;
    }

    .hero-copy h2 {
        font-size: clamp(41px, 13vw, 58px);
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-template-columns: 46px minmax(0,1fr) auto;
        min-height: 104px;
        padding: 15px;
    }

    .service-icon {
        width: 46px;
        height: 46px;
    }
}

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