﻿:root {
    --sky: #D7DFEE;
    --panel: rgba(244,247,253,.80);
    --ink: #0B1230;
    --ink-2: #47527A;
    --line: rgba(11,18,48,.18);
    --line-strong: rgba(11,18,48,.38);
    --cool: #B35A00;
    --warm: #A85F00;
    --on-cool: #FFFFFF;
    --hover: rgba(11,18,48,.06);
    --g-sky: #D7DFEE;
    --g-ground: #9DBFC3;
    --g-base: #2E3756;
    --g-metal: #8B97B6;
    --g-top: #B35A00;
    --g-warm: #B5701A;
    --g-grid: #B35A00;
    --g-silk: #F4F7FB;
    --g-desk: #B9C2D8;
    --g-wall: #E3E8F2;
    --g-light: 1;
    --display: 'Tektur','Exo 2','Segoe UI',system-ui,sans-serif;
    --body: 'IBM Plex Sans','Segoe UI',system-ui,-apple-system,sans-serif;
    --mono: 'JetBrains Mono',ui-monospace,'SFMono-Regular',Consolas,monospace;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --sky: #05070F;
        --panel: rgba(9,13,32,.72);
        --ink: #E8ECFF;
        --ink-2: #9AA5D1;
        --line: rgba(245,124,0,.22);
        --line-strong: rgba(245,124,0,.5);
        --cool: #F57C00;
        --warm: #FFB547;
        --on-cool: #04121A;
        --hover: rgba(245,124,0,.08);
        --g-sky: #05070F;
        --g-ground: #0B1C2C;
        --g-base: #141B33;
        --g-metal: #3E4A6E;
        --g-top: #F57C00;
        --g-warm: #E8A33D;
        --g-grid: #F57C00;
        --g-silk: #A9B8DE;
        --g-desk: #161C33;
        --g-wall: #090D1A;
        --g-light: 0;
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --sky: #05070F;
    --panel: rgba(9,13,32,.72);
    --ink: #E8ECFF;
    --ink-2: #9AA5D1;
    --line: rgba(245,124,0,.22);
    --line-strong: rgba(245,124,0,.5);
    --cool: #F57C00;
    --warm: #FFB547;
    --on-cool: #04121A;
    --hover: rgba(245,124,0,.08);
    --g-sky: #05070F;
    --g-ground: #0B1C2C;
    --g-base: #141B33;
    --g-metal: #3E4A6E;
    --g-top: #F57C00;
    --g-warm: #E8A33D;
    --g-grid: #F57C00;
    --g-silk: #A9B8DE;
    --g-desk: #161C33;
    --g-wall: #090D1A;
    --g-light: 0;
    color-scheme: dark;
}

:root {
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top,0px);
    padding-bottom: env(safe-area-inset-bottom,0px)
}

*, *::before, *::after {
    box-sizing: inherit
}

html {
    scroll-padding-top: env(safe-area-inset-top,0px)
}

body {
    margin: 0;
    background: var(--sky);
    color: var(--ink);
    font: 400 1.0625rem/1.6 var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

    body::before {
        content: "";
        position: fixed;
        inset: 0 0 auto;
        height: env(safe-area-inset-top,0px);
        z-index: 40;
        background: var(--sky)
    }

a {
    color: inherit
}

:focus-visible {
    outline: 2px solid var(--cool);
    outline-offset: 3px
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

h1, h2, h3 {
    font-family: var(--display);
    margin: 0;
    letter-spacing: -.01em
}

p {
    margin: 0 0 14px
}

#gl {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0
}

.no-gl #gl {
    display: none
}

main, footer {
    position: relative;
    z-index: 2
}

/* HUD chrome */
.hud {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    font: 500 .74rem/1.3 var(--mono);
    color: var(--ink-2)
}

.corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border-color: var(--line-strong);
    border-style: solid;
    border-width: 0
}

.c-tl {
    top: 92px;
    left: 18px;
    border-top-width: 1.5px;
    border-left-width: 1.5px
}

.c-tr {
    top: 92px;
    right: 18px;
    border-top-width: 1.5px;
    border-right-width: 1.5px
}

.c-bl {
    bottom: calc(18px + env(safe-area-inset-bottom,0px));
    left: 18px;
    border-bottom-width: 1.5px;
    border-left-width: 1.5px
}

.c-br {
    bottom: calc(18px + env(safe-area-inset-bottom,0px));
    right: 18px;
    border-bottom-width: 1.5px;
    border-right-width: 1.5px
}

.telemetry {
    position: absolute;
    left: 30px;
    bottom: calc(32px + env(safe-area-inset-bottom,0px));
    display: grid;
    grid-template-columns: auto auto;
    gap: 4px 14px
}

    .telemetry b {
        color: var(--ink);
        font-weight: 500;
        font-variant-numeric: tabular-nums
    }

.station {
    position: absolute;
    right: 30px;
    bottom: calc(32px + env(safe-area-inset-bottom,0px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right
}

    .station b {
        color: var(--ink);
        font-weight: 500
    }

.prog {
    width: 180px;
    height: 2px;
    background: var(--line)
}

    .prog i {
        display: block;
        height: 100%;
        width: 0;
        background: var(--cool)
    }

.reticle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    opacity: .5
}

@media (max-width:900px) {
    .telemetry, .reticle, .corner {
        display: none
    }

    .station {
        right: 16px;
        bottom: calc(14px + env(safe-area-inset-bottom,0px))
    }

    .prog {
        width: 110px
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding-top: env(safe-area-inset-top,0px);
    border-bottom: 1px solid transparent;
    transition: background-color .3s,border-color .3s
}

    .site-header.scrolled, .site-header.open {
        background: var(--panel);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border-bottom-color: var(--line)
    }

.bar {
    width: min(1360px,100% - 40px);
    margin-inline: auto;
    height: 76px;
    display: flex;
    align-items: center;
    gap: 20px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font: 700 1.25rem/1 var(--display);
    letter-spacing: .01em;
    min-height: 44px
}

    .brand img {
        width: 36px;
        height: 36px;
        flex: none;
        object-fit: contain
    }

.primary {
    display: flex;
    gap: 2px;
    margin-left: auto
}

    .primary a {
        padding: 12px 14px;
        text-decoration: none;
        color: var(--ink-2);
        font-weight: 500
    }

        .primary a:hover {
            color: var(--ink);
            background: var(--hover)
        }

.actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.langs[hidden] {
    display: none !important
}

.langs {
    display: flex;
    align-items: center;
    margin-right: 4px
}

    .langs a {
        min-width: 40px;
        height: 44px;
        display: grid;
        place-items: center;
        text-decoration: none;
        color: var(--ink-2);
        font: 500 .82rem/1 var(--mono)
    }

        .langs a:hover, .langs a[aria-current="true"] {
            color: var(--ink)
        }

        .langs a[aria-current="true"] {
            color: var(--cool)
        }

.cut {
    --c: 10px;
    clip-path: polygon(var(--c) 0,100% 0,100% calc(100% - var(--c)),calc(100% - var(--c)) 100%,0 100%,0 var(--c))
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    text-decoration: none;
    font: 700 .86rem/1 var(--display);
    letter-spacing: .08em;
    white-space: nowrap;
    transition: background-color .2s,color .2s
}

.pill-line {
    background: var(--line-strong);
    color: var(--ink);
    position: relative
}

    .pill-line::before {
        content: "";
        position: absolute;
        inset: 1.5px;
        background: var(--sky);
        clip-path: inherit;
        z-index: -1
    }

.pill-line {
    isolation: isolate
}

    .pill-line:hover::before {
        background: var(--hover)
    }

.pill-solid {
    background: var(--cool);
    color: var(--on-cool)
}

    .pill-solid:hover {
        background: var(--warm);
        color: #1A0E00
    }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    place-items: center
}

    .menu-toggle svg {
        width: 20px;
        height: 20px
    }

.mobile-menu {
    width: min(1360px,100% - 40px);
    margin: 0 auto;
    padding: 8px 0 20px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line)
}

    .mobile-menu[hidden] {
        display: none
    }

    .mobile-menu a {
        padding: 14px 4px;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.05rem
    }

    .mobile-menu .langs {
        margin-top: 8px
    }

@media (max-width:1100px) {
    .primary, .bar > .actions > .langs {
        display: none
    }

    .actions {
        margin-left: auto
    }

    .menu-toggle {
        display: grid
    }
}

@media (max-width:420px) {
    .bar {
        gap: 8px;
        width: calc(100% - 28px)
    }

    .pill {
        padding: 0 12px
    }

    .actions {
        gap: 6px
    }
}

@media (max-width:360px) {
    .brand span {
        display: none
    }
}

/* Stages */
.stage {
    position: relative;
    height: 200vh
}

    .stage.hero {
        height: 175vh
    }

.stick {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center
}

.wrap {
    width: min(1360px,100% - 40px);
    margin-inline: auto
}

.side {
    display: flex
}

    .side.right {
        justify-content: flex-end
    }

.frame {
    --c: 20px;
    background: var(--line-strong);
    padding: 1px;
    width: min(560px,100%);
    clip-path: polygon(var(--c) 0,100% 0,100% calc(100% - var(--c)),calc(100% - var(--c)) 100%,0 100%,0 var(--c));
    will-change: opacity,transform
}

    .frame > .in {
        background: var(--panel);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        padding: 30px 34px 32px;
        clip-path: inherit
    }

.tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 500 .78rem/1 var(--mono);
    color: var(--cool);
    margin-bottom: 18px
}

    .tag::before {
        content: "";
        width: 7px;
        height: 7px;
        background: var(--cool);
        box-shadow: 0 0 12px var(--cool)
    }

.brand-mark {
    display: block;
    width: 240px;
    height: 64px;
    object-fit: cover;
    background: #fff;
    margin-bottom: 16px
}

.frame h2 {
    font-weight: 700;
    font-size: clamp(2rem,3.2vw,3.1rem);
    line-height: 1.02;
    margin-bottom: 18px;
    font-stretch: 90%
}

.frame p {
    color: var(--ink-2)
}

    .frame p.lead {
        color: var(--ink);
        font-size: 1.1rem
    }

/* Hero */
.hero .stick {
    align-items: flex-end;
    padding-bottom: 15vh
}

.hero-copy {
    max-width: 56rem;
    will-change: opacity,transform
}

.hero h1 {
    font-family: 'Montserrat',var(--display);
    font-weight: 800;
    font-size: clamp(2.9rem,7.4vw,7.6rem);
    line-height: .92;
    letter-spacing: -.025em
}

    .hero h1 .ln {
        display: block
    }

        .hero h1 .ln:nth-child(2) {
            color: var(--cool);
            padding-left: .6em
        }

.hero-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px 40px;
    margin-top: 30px
}

    .hero-sub p {
        max-width: 30rem;
        margin: 0;
        color: var(--ink);
        font-size: 1.08rem;
        text-shadow: 0 1px 18px var(--sky)
    }

.ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    text-decoration: none;
    font: 700 .95rem/1 var(--display);
    letter-spacing: .05em;
    cursor: pointer;
    border: 0;
    transition: background-color .2s,color .2s
}

.btn-solid {
    background: var(--cool);
    color: var(--on-cool)
}

    .btn-solid:hover {
        background: var(--warm);
        color: #1A0E00
    }

.btn-line {
    background: var(--line-strong);
    color: var(--ink);
    position: relative;
    isolation: isolate
}

    .btn-line::before {
        content: "";
        position: absolute;
        inset: 1.5px;
        background: var(--sky);
        clip-path: inherit;
        z-index: -1;
        opacity: .92
    }

    .btn-line:hover::before {
        background: var(--hover)
    }

/* Services list */
.svc {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 0
}

    .svc li {
        display: grid;
        grid-template-columns: 22px 1fr;
        gap: 4px 14px;
        padding: 16px 0;
        border-top: 1px solid var(--line)
    }

        .svc li::before {
            content: "";
            width: 10px;
            height: 10px;
            margin-top: 8px;
            border: 1.5px solid var(--cool);
            transform: rotate(45deg)
        }

    .svc h3 {
        font-size: 1.15rem;
        font-weight: 600;
        line-height: 1.3
    }

    .svc p {
        grid-column: 2;
        margin: 0;
        font-size: .98rem
    }

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    margin: 10px 0 0
}

    .stats div {
        display: flex;
        flex-direction: column-reverse;
        gap: 6px;
        border-left: 1.5px solid var(--cool);
        padding-left: 14px
    }

    .stats dd {
        margin: 0;
        font: 700 clamp(2.4rem,4.4vw,3.8rem)/1 var(--display);
        font-variant-numeric: tabular-nums
    }

        .stats dd .plus {
            color: var(--cool)
        }

    .stats dt {
        font: 500 .8rem/1.2 var(--mono);
        color: var(--ink-2)
    }

/* Logos */
.logo-label {
    font: 500 .78rem/1 var(--mono);
    color: var(--ink-2);
    margin: 22px 0 10px
}

.logos {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px
}

.logo {
    margin: 0;
    height: 58px;
    background: #FFFFFF;
    display: grid;
    place-items: center;
    padding: 10px;
    --c: 8px;
    clip-path: polygon(var(--c) 0,100% 0,100% calc(100% - var(--c)),calc(100% - var(--c)) 100%,0 100%,0 var(--c))
}

    .logo img {
        max-height: 36px;
        max-width: 100%;
        object-fit: contain
    }

    .logo.missing img {
        display: none
    }

    .logo.missing::after {
        content: attr(data-name);
        color: #47527A;
        font: 500 .72rem/1 var(--mono)
    }

/* Contact */
.stage.final {
    height: auto;
    min-height: 100vh;
    padding: 32vh 0 14vh
}

.final .frame {
    width: min(860px,100%)
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    gap: 34px
}

.info {
    display: grid;
    gap: 14px;
    margin: 18px 0 0;
    padding: 0
}

    .info dt {
        font: 500 .76rem/1 var(--mono);
        color: var(--ink-2);
        margin-bottom: 4px
    }

    .info dd {
        margin: 0;
        font-weight: 500
    }

    .info a {
        text-decoration: none;
        border-bottom: 1.5px solid var(--cool)
    }

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

    .field.full {
        grid-column: 1 / -1
    }

    .field label {
        font-size: .88rem;
        font-weight: 500
    }

        .field label span {
            color: var(--ink-2);
            font-weight: 400
        }

    .field input, .field textarea {
        font: inherit;
        font-size: 1rem;
        color: var(--ink);
        background: transparent;
        border: 1px solid var(--line-strong);
        border-radius: 0;
        padding: 12px 14px;
        min-height: 48px;
        width: 100%
    }

        .field input:focus-visible, .field textarea:focus-visible {
            outline: 2px solid var(--cool);
            outline-offset: 0;
            border-color: transparent
        }

    .field textarea {
        min-height: 120px;
        resize: vertical
    }

.form .btn {
    grid-column: 1 / -1;
    justify-self: start
}

.hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.success h3 {
    font-size: 1.5rem;
    margin-bottom: 10px
}

footer {
    border-top: 1px solid var(--line);
    background: var(--sky)
}

.foot {
    width: min(1360px,100% - 40px);
    margin-inline: auto;
    padding: 26px 0 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-2);
    font: 500 .8rem/1.4 var(--mono)
}

    .foot a {
        text-decoration: none;
        min-height: 44px;
        display: inline-flex;
        align-items: center
    }

        .foot a:hover {
            color: var(--ink)
        }

@media (max-height:780px) and (min-width:901px) {
    .frame > .in {
        padding: 22px 28px 24px
    }

    .logo {
        height: 48px
    }

    .logo-label {
        margin: 14px 0 8px
    }

    .frame h2 {
        margin-bottom: 12px
    }

    .tag {
        margin-bottom: 10px
    }

    .brand-mark {
        width: 135px;
        height: 36px;
        margin-bottom: 8px
    }
}

@media (max-width:900px) {
    .stage {
        height: auto;
        min-height: 160vh;
        display: flex;
        align-items: center;
        padding: 40vh 0
    }

        .stage.hero {
            min-height: 100vh;
            padding: 0;
            align-items: flex-end
        }

    .stick {
        position: static;
        height: auto;
        width: 100%
    }

    .hero .stick {
        padding-bottom: 12vh
    }

    .frame {
        width: 100%
    }

        .frame > .in {
            padding: 24px 22px
        }

    .contact-grid, .form {
        grid-template-columns: 1fr
    }

    .stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px
    }

    .logos {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .stage.final {
        padding: 40vh 0 10vh
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important
    }
}

/* The 3D render is a night scene in both themes: text drawn straight onto it keeps light colours */
body {
    background: #05070B
}

.site-header {
    background: var(--panel);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line)
}

.hud {
    color: #A3AED6
}

    .hud b {
        color: #EEF2FF
    }

.corner {
    border-color: rgba(245,124,0,.5)
}

.prog {
    background: rgba(245,124,0,.22)
}

    .prog i {
        background: #F57C00
    }

.hero h1 {
    color: #EEF2FF;
    text-shadow: 0 2px 30px rgba(0,0,0,.6)
}

    .hero h1 .ln:nth-child(2) {
        color: #F57C00
    }

.hero-sub p {
    color: #E8ECFF;
    text-shadow: 0 1px 18px #000
}

.hero .btn-solid {
    background: #F57C00;
    color: #04121A
}

    .hero .btn-solid:hover {
        background: #FFB547;
        color: #1A0E00
    }

.hero .btn-line {
    background: rgba(245,124,0,.55);
    color: #EEF2FF
}

    .hero .btn-line::before {
        background: rgba(5,7,11,.72)
    }

    .hero .btn-line:hover::before {
        background: rgba(5,7,11,.5)
    }
