/* =========================================================
   KIANA QUANTUM
========================================================= */

:root {
    --bg: #040a11;
    --bg-soft: #07111c;
    --text: #eef3f8;
    --muted: #9aa8b7;
    --blue: #a7d2f7;
    --line: rgba(255,255,255,.09);
    --line-light: rgba(255,255,255,.20);
    --max-width: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    width: min(calc(100% - 80px), var(--max-width));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: 64px;
    z-index: 1000;

    background: rgba(2,8,14,.62);
    border-bottom: 1px solid rgba(255,255,255,.09);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-mark {
    width: 31px;
    height: 31px;
    object-fit: contain;
}

.brand > span {
    color: #edf2f7;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
}

.brand strong {
    font-weight: 800;
}

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

.main-nav > a:not(.nav-button) {
    color: #c0cad5;
    font-size: 11px;
    transition: color .2s ease;
}

.main-nav > a:not(.nav-button):hover {
    color: #fff;
}

.nav-button {
    min-height: 37px;
    padding: 9px 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid var(--line-light);

    font-size: 11px;
    font-weight: 700;

    transition: .2s ease;
}

.nav-button:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-1px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    background: #030a11;
}


/*
   THE BACKGROUND IS AN IMAGE ELEMENT IN THE HTML.
   This is deliberate: it prevents a CSS background URL
   from failing silently.
*/

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center bottom;

    transform: scale(1.015);
}


/* darkens only where text needs it */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2,8,14,.76) 0%,
            rgba(2,8,14,.50) 25%,
            rgba(2,8,14,.14) 55%,
            rgba(2,8,14,.02) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2,8,14,.20) 0%,
            rgba(2,8,14,0) 42%,
            rgba(2,8,14,.02) 78%,
            rgba(4,10,17,.08) 100%
        );
}


/* very soft fade into the following section */

.hero-bottom-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 24%;

    z-index: 2;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(4,10,17,0) 0%,
            rgba(4,10,17,.015) 28%,
            rgba(4,10,17,.10) 52%,
            rgba(4,10,17,.34) 76%,
            #07111c 100%
        );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 10;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 64px;
    padding-bottom: 80px;
}

.hero-copy {
    position: relative;
    z-index: 20;
    width: 590px;
}

.eyebrow {
    margin-bottom: 25px;

    color: rgba(207,222,236,.80);

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.eyebrow span {
    margin: 0 7px;
    color: rgba(166,207,244,.75);
}

.hero h1 {
    color: #f3f6f9;

    font-size: clamp(65px, 7.2vw, 108px);
    font-weight: 800;

    line-height: .87;
    letter-spacing: -.068em;

    text-shadow: 0 4px 30px rgba(0,0,0,.22);
}

.hero h1 em {
    display: block;

    margin-top: 10px;

    color: var(--blue);

    font-family: Georgia, "Times New Roman", serif;
    font-size: .80em;
    font-weight: 400;
    font-style: italic;

    line-height: .92;
    letter-spacing: -.055em;
}

.hero-description {
    max-width: 510px;

    margin-top: 36px;

    color: rgba(226,234,242,.86);

    font-size: 14px;
    line-height: 1.78;

    text-shadow: 0 3px 18px rgba(0,0,0,.40);
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
    position: relative;
    z-index: 30;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 37px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 14px 19px;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;
    white-space: nowrap;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.button span {
    margin-left: 12px;
    font-size: 13px;
}

.button-primary,
.primary {
    background: #f3f6f9;
    color: #07101a;
    border: 1px solid #f3f6f9;
}

.button-primary:hover,
.primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.button-secondary,
.secondary {
    background: rgba(3,9,16,.32);
    color: #f0f4f8;
    border: 1px solid rgba(255,255,255,.28);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.button-secondary:hover,
.secondary:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.46);
    transform: translateY(-2px);
}


/* =========================================================
   SEPARATE K
========================================================= */

.hero-logo {
    position: absolute;
    z-index: 8;

    right: 3%;
    top: 50%;

    width: min(475px, 37vw);

    transform: translateY(-50%);

    pointer-events: none;

    filter:
        drop-shadow(
            0 22px 55px
            rgba(12,68,115,.25)
        );
}

.hero-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   SCROLL
========================================================= */

.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 25px;

    z-index: 30;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;

    color: rgba(220,231,240,.64);

    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: .20em;
}

.scroll-indicator i {
    width: 1px;
    height: 28px;
    background: rgba(220,231,240,.36);
    position: relative;
}

.scroll-indicator i::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: 5px;
    height: 5px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: #dce8f2;
}


/* =========================================================
   SECTIONS
========================================================= */

.statement,
.services,
.careers,
.approach,
.capabilities,
.contact {
    position: relative;
    padding: 140px 0;
}

.section-label {
    color: #71869a;

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: .20em;
    text-transform: uppercase;
}


/* =========================================================
   STATEMENT
========================================================= */

.statement {
    background:
        linear-gradient(
            180deg,
            #07111c,
            #07121d
        );

    border-top: 1px solid rgba(255,255,255,.05);
}

.two-column {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 80px;
}

.content {
    max-width: 820px;
}

.content h2 {
    margin-bottom: 42px;

    font-size: clamp(42px,5vw,72px);
    font-weight: 700;

    line-height: 1;
    letter-spacing: -.055em;
}

.content h2 span {
    color: var(--blue);

    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

.content p {
    max-width: 660px;
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.82;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    margin-bottom: 70px;
}

.section-heading h2 {
    margin-top: 22px;

    font-size: clamp(48px,6vw,84px);
    font-weight: 750;

    line-height: .95;
    letter-spacing: -.06em;
}

.section-heading h2 span {
    color: var(--blue);

    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: #050b12;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.card {
    min-height: 335px;

    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 28px;

    padding: 42px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.025),
            transparent 62%
        );

    transition: background .3s ease;
}

.card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(82,143,198,.08),
            transparent 65%
        );
}

.number {
    padding-top: 5px;

    color: #61768a;

    font-family: "DM Mono", monospace;
    font-size: 10px;
}

.card h3 {
    margin-bottom: 20px;

    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.card p {
    max-width: 450px;
    margin-bottom: 30px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.75;
}

.card a,
.large-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #dfe8f0;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.card a span,
.large-link span {
    font-size: 14px;
    transition: transform .2s ease;
}

.card a:hover span,
.large-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   CAREERS
========================================================= */

.careers {
    background:
        linear-gradient(
            180deg,
            #08131f,
            #07111b
        );

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.careers .content h2 {
    margin-bottom: 30px;
    font-size: clamp(46px,5.5vw,78px);
}

.careers .content h2 span {
    display: block;
}

.careers .content p {
    margin-bottom: 35px;
}


/* =========================================================
   APPROACH
========================================================= */

.approach {
    background: #050b12;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.approach-grid article {
    min-height: 310px;
    padding: 34px 28px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.approach-grid .number {
    margin-bottom: 70px;
}

.approach-grid h3 {
    margin-bottom: 17px;
    font-size: 21px;
}

.approach-grid p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   CAPABILITIES
========================================================= */

.capabilities {
    background: #07111c;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.capabilities-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

.capabilities-layout > div:first-child h2 {
    max-width: 520px;
    margin-top: 22px;

    font-size: clamp(48px,5vw,72px);
    line-height: .96;
    letter-spacing: -.06em;
}

.capabilities-layout > div:first-child h2 span {
    display: block;

    color: var(--blue);

    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

.capabilities-layout > div:first-child p {
    max-width: 500px;
    margin-top: 35px;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.capabilities-list {
    border-top: 1px solid var(--line);
}

.capabilities-list > div {
    min-height: 72px;

    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;

    border-bottom: 1px solid var(--line);
}

.capabilities-list span {
    color: #63788d;
    font-family: "DM Mono", monospace;
    font-size: 9px;
}

.capabilities-list strong {
    color: #dce5ed;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(47,106,160,.18),
            transparent 43%
        ),
        #050b12;
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-inner .section-label {
    margin-bottom: 25px;
}

.contact-inner h2 {
    margin-bottom: 32px;

    font-size: clamp(50px,6vw,88px);
    line-height: .95;
    letter-spacing: -.065em;
}

.contact-inner h2 span {
    display: block;

    color: var(--blue);

    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

.contact-inner p {
    max-width: 610px;
    margin: 0 auto 38px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

.contact-button {
    gap: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 70px 0 30px;

    background: #040910;

    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
}

.footer-brand p {
    margin-top: 18px;
    color: #657487;
    font-size: 11px;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.footer-links a {
    color: #8491a0;
    font-size: 10px;
    transition: color .2s ease;
}

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

.footer-bottom {
    grid-column: 1 / -1;

    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding-top: 25px;
    margin-top: 25px;

    border-top: 1px solid var(--line);

    color: #536171;

    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .container {
        width: min(calc(100% - 50px), var(--max-width));
    }

    .hero-copy {
        width: 58%;
    }

    .hero-logo {
        width: 40vw;
        right: -2%;
    }

    .hero h1 {
        font-size: clamp(58px,8vw,88px);
    }

    .two-column {
        grid-template-columns: 160px 1fr;
        gap: 50px;
    }

    .capabilities-layout {
        gap: 60px;
    }

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


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 36px);
    }

    .site-header,
    .nav {
        height: 60px;
    }

    .main-nav > a:not(.nav-button) {
        display: none;
    }

    .nav-button {
        min-height: 34px;
        padding: 8px 11px;
    }

    .brand-mark {
        width: 27px;
        height: 27px;
    }

    .brand > span {
        font-size: 9px;
    }


    /* HERO */

    .hero {
        min-height: 100svh;
        height: auto;
    }

    .hero-background {
        object-position: center bottom;
        transform: scale(1.03);
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(2,8,14,.87),
                rgba(2,8,14,.48)
            ),
            linear-gradient(
                180deg,
                rgba(2,8,14,.20),
                rgba(2,8,14,.15) 60%,
                rgba(4,10,17,.50) 100%
            );
    }

    .hero-bottom-fade {
        height: 24%;

        background:
            linear-gradient(
                180deg,
                transparent 0%,
                rgba(4,10,17,.06) 35%,
                rgba(4,10,17,.30) 70%,
                #07111c 100%
            );
    }

    .hero-content {
        min-height: 100svh;

        padding-top: 108px;
        padding-bottom: 125px;

        align-items: flex-start;
    }

    .hero-copy {
        width: 100%;
    }

    .eyebrow {
        font-size: 7px;
        letter-spacing: .16em;
        margin-bottom: 20px;
    }

    .eyebrow span {
        margin: 0 4px;
    }

    .hero h1 {
        font-size: clamp(53px,15vw,78px);
    }

    .hero-description {
        max-width: 440px;
        margin-top: 28px;
        font-size: 13px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 30px;
    }

    .hero-actions .button {
        min-width: 170px;
    }

    .hero-logo {
        width: 72vw;
        right: -21%;
        top: 59%;
        opacity: .30;
    }

    .scroll-indicator {
        bottom: 18px;
        font-size: 7px;
    }


    /* SECTIONS */

    .statement,
    .services,
    .careers,
    .approach,
    .capabilities,
    .contact {
        padding: 95px 0;
    }

    .two-column {
        display: block;
    }

    .content {
        margin-top: 40px;
    }

    .content h2 {
        font-size: 46px;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size: 52px;
    }

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

    .card {
        min-height: auto;
        padding: 30px 25px;
        grid-template-columns: 40px 1fr;
        gap: 18px;
    }

    .card h3 {
        font-size: 21px;
    }

    .careers .content h2 {
        font-size: 48px;
    }

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

    .approach-grid article {
        min-height: auto;
        padding: 30px 25px;
    }

    .approach-grid .number {
        margin-bottom: 45px;
    }

    .capabilities-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .capabilities-layout > div:first-child h2 {
        font-size: 52px;
    }

    .contact-inner h2 {
        font-size: 52px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-bottom {
        grid-column: auto;
        flex-direction: column;
        gap: 10px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 28px);
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 51px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-logo {
        width: 82vw;
        right: -30%;
        top: 58%;
        opacity: .25;
    }

    .content h2,
    .section-heading h2,
    .careers .content h2,
    .capabilities-layout > div:first-child h2,
    .contact-inner h2 {
        font-size: 44px;
    }

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

    .number {
        padding-top: 0;
    }
}
