
:root {
    --bg: #030916;
    --panel: #071426;
    --panel2: #0a1b31;
    --line: rgba(132, 190, 255, .13);
    --text: #edf7ff;
    --muted: #91a9c2;
    --cyan: #4bd7ff;
    --blue: #278cff;
    --glow: rgba(22, 137, 255, .24);
}

/* ==============================
   Global styles
============================== */

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(
            ellipse at 75% 4%,
            rgba(0, 105, 215, .15),
            transparent 36%
        ),
        radial-gradient(
            ellipse at 5% 55%,
            rgba(0, 190, 255, .07),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #030916,
            #040c1b 65%,
            #020712
        );
}

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

button {
    font: inherit;
}

.shell {
    width: min(1160px, calc(100% - 44px));
    margin: auto;
}

/* ==============================
   Splash screen
============================== */

.splash {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    background: #020817;
    cursor: pointer;
    transition: opacity .9s ease, visibility .9s ease;
}

.splash::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 25%,
        rgba(0, 0, 0, .24)
    );
    pointer-events: none;
}

.splash-logo {
    width: min(100vw, 1100px);
    height: min(66vh, 610px);
    border: 0;
    pointer-events: none;
}

.splash-hint {
    position: absolute;
    bottom: 8%;
    left: 0;
    right: 0;
    text-align: center;
    color: #8fb8d8;
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

.splash-hint span {
    display: inline-block;
    margin-left: 9px;
    color: var(--cyan);
    font-size: 16px;
    vertical-align: -1px;
}

.splash.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes pulse {
    50% {
        opacity: .45;
        transform: translateY(3px);
    }
}

/* ==============================
   Navigation
============================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(3, 9, 22, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

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

/* Brand / Logo */

.brand {
    width: 110px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand iframe {
    width: 230px;
    height: 174px;
    border: 0;
    flex-shrink: 0;
    pointer-events: none;

    /* Adjust logo positioning */
    transform: scale(.75) translate(0, -60px);
    transform-origin: center;
}

/* Navigation links */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #a8bdd2;
    font-size: 13px;
}

.nav-links a {
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

/* Navigation buttons */

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border: 1px solid rgba(75, 215, 255, .35);
    border-radius: 8px;
    background: linear-gradient(
        135deg,
        rgba(39, 140, 255, .2),
        rgba(75, 215, 255, .08)
    );
    color: #eafaff;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    box-shadow: 0 10px 35px var(--glow);
}

/* ==============================
   Hero section
============================== */

.hero {
    min-height: 650px;
    display: grid;
    align-items: center;
    position: relative;
    padding: 100px 0 110px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -80px;
    top: 50px;
    border-radius: 50%;
    border: 1px solid rgba(57, 169, 255, .1);
    box-shadow:
        0 0 0 45px rgba(57, 169, 255, .018),
        0 0 0 95px rgba(57, 169, 255, .014);
    pointer-events: none;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 25px;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

/* Headings */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
}

h1 {
    max-width: 760px;
    margin: 22px 0;
    font-size: clamp(48px, 8vw, 88px);
    line-height: .99;
    letter-spacing: -.065em;
    font-weight: 600;
}

h1 em {
    font-style: normal;
    color: var(--cyan);
    text-shadow: 0 0 35px rgba(33, 201, 255, .25);
}

/* Hero text */

.hero-copy {
    max-width: 550px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.button.secondary {
    background: transparent;
    border-color: var(--line);
    color: #b9cde0;
}

/* Hero statistics */

.hero-meta {
    display: flex;
    gap: 34px;
    margin-top: 68px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    max-width: 560px;
}

.meta strong {
    display: block;
    font: 600 23px "Space Grotesk";
    color: #eaf8ff;
}

.meta span {
    display: block;
    margin-top: 5px;
    color: #7892ac;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ==============================
   General sections
============================== */

section {
    padding: 105px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 38px;
}

.section-head h2 {
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -.05em;
    margin: 12px 0 0;
}

.section-head p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

/* ==============================
   Projects
============================== */

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.project {
    position: relative;
    min-height: 255px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(12, 34, 59, .86),
        rgba(5, 16, 31, .92)
    );
    overflow: hidden;
    transition: .3s;
}

.project:hover {
    transform: translateY(-5px);
    border-color: rgba(75, 215, 255, .4);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.project::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -60px;
    bottom: -100px;
    border-radius: 50%;
    background: var(--glow);
    filter: blur(35px);
    transition: .3s;
}

.project:hover::after {
    transform: scale(1.5);
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7897b5;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.project-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(42, 151, 255, .12);
    border: 1px solid rgba(75, 215, 255, .2);
    color: var(--cyan);
    font: 600 17px "Space Grotesk";
}

.project h3 {
    font-size: 30px;
    margin: 34px 0 8px;
    letter-spacing: -.04em;
}

.project p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    max-width: 370px;
}

/* Project status */

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 23px;
    color: #8edfff;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 9px var(--cyan);
}

/* ==============================
   Team
============================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.person {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(7, 20, 38, .72);
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1267a9, #0a2441);
    color: #d8f8ff;
    font: 600 17px "Space Grotesk";
    border: 1px solid rgba(75, 215, 255, .25);
}

.person h3 {
    font-size: 18px;
    margin: 20px 0 5px;
}

.person p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.person .role {
    color: var(--cyan);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ==============================
   Coming soon
============================== */

.coming {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 25px;
    padding: 38px;
    border: 1px solid rgba(75, 215, 255, .2);
    border-radius: 15px;
    background:
        radial-gradient(
            ellipse at 90% 50%,
            rgba(0, 125, 255, .15),
            transparent 40%
        ),
        linear-gradient(
            120deg,
            #08182b,
            #061020
        );
}

.coming h2 {
    font-size: clamp(27px, 4vw, 39px);
    margin: 12px 0;
}

.coming p {
    color: var(--muted);
    max-width: 590px;
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

.coming-mark {
    width: 95px;
    height: 95px;
    border: 1px solid rgba(75, 215, 255, .25);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--cyan);
    font: 400 36px "Space Grotesk";
    box-shadow:
        0 0 45px rgba(0, 125, 255, .13),
        inset 0 0 30px rgba(0, 125, 255, .08);
}

/* ==============================
   Footer
============================== */

footer {
    border-top: 1px solid var(--line);
    padding: 48px 0 30px;
    background: rgba(1, 6, 15, .55);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.footer-brand {
    font: 600 25px "Space Grotesk";
    letter-spacing: .16em;
}

.footer-brand span {
    color: var(--cyan);
}

.footer-copy {
    color: var(--muted);
    font-size: 12px;
    margin: 9px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #a9bfd4;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--cyan);
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    margin-top: 35px;
    padding-top: 20px;
    color: #607b96;
    font-size: 10px;
    letter-spacing: .08em;
}

/* ==============================
   Scroll reveal
============================== */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ==============================
   Tablet / Mobile
============================== */

@media (max-width: 760px) {

    .shell {
        width: min(100% - 32px, 1160px);
    }

    .nav-inner {
        height: 68px;
    }

    .brand {
        width: 130px;
    }

    .nav-links {
        gap: 14px;
        font-size: 11px;
    }

    .nav-links a:nth-child(3) {
        display: none;
    }

    .nav-cta {
        padding: 10px 12px;
        font-size: 11px;
    }

    .hero {
        min-height: 610px;
        padding: 80px 0;
    }

    .hero-meta {
        gap: 20px;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 15px;
    }

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

    .coming {
        padding: 27px;
    }

    .projects {
        gap: 12px;
    }

    .project {
        padding: 20px;
        min-height: 235px;
    }

    .project h3 {
        font-size: 25px;
    }

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

    .copyright {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==============================
   Small mobile screens
============================== */

@media (max-width: 480px) {

    .nav-links a:nth-child(2) {
        display: none;
    }

    .splash-logo {
        height: 48vh;
    }

    .splash-hint {
        font-size: 9px;
    }

    .hero-meta {
        gap: 15px;
    }

    .meta strong {
        font-size: 19px;
    }

    .meta span {
        font-size: 9px;
    }

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

    .project {
        min-height: 215px;
    }

    .coming-mark {
        width: 65px;
        height: 65px;
        font-size: 27px;
    }
}

/* ==============================
   Accessibility
============================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
