/*
DATUMGEOSPACE
GLOBAL STYLESHEET
Nationwide Drone Mapping
Reality Capture
Geospatial Documentation
*/

:root {
    --bg: #0b1217;
    --dark: #070c10;
    --panel: #121b21;
    --text: #f5f3ee;
    --muted: rgba(245, 243, 238, .72);
    --green: #5e7d6a;
    --blue: #5f8fa8;
    --border: rgba(255, 255, 255, .09);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
.logo {
    font-family: "Manrope", sans-serif;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    max-width: 900px;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.35rem;
}

p {
    color: var(--muted);
}

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

.container {
    width: min(1200px, 90%);
    margin: auto;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.dark-section {
    background: #10181d;
}


/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: .3s;
}

.header.scrolled {
    background: rgba(11, 18, 23, .94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.logo span {
    color: var(--green);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-size: .8rem;
    letter-spacing: .12em;
    color: rgba(245, 243, 238, .75);
}

.nav a:hover,
.nav a.active {
    color: var(--green);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
    margin: 6px;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.topographic-grid {
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(95, 143, 168, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 143, 168, .35) 1px, transparent 1px);
    background-size: 70px 70px;
}

/* FIELD HUD */

.coordinates {
    position: absolute;
    top: 150px;
    left: 70%;
}

.coordinates p {
    color: var(--blue);
    font-size: .7rem;
    letter-spacing: .25em;
    margin-bottom: .4rem;
    font-family: "Inter", sans-serif;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--green);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-text {
    max-width: 650px;
    margin: 1.5rem 0;
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    transition: .3s;
}

.btn.primary {
    background: var(--green);
    border: 1px solid var(--green);
}

.btn.primary:hover {
    transform: translateY(-3px);
}

.btn.secondary {
    border: 1px solid rgba(255, 255, 255, .3);
}

.btn.secondary:hover {
    border-color: var(--green);
    color: var(--green);
}

/* STATUS PANEL */

.system-panel {
    background: rgba(18, 27, 33, .9);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.panel-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: .75rem;
    letter-spacing: .2em;
}

.status-light {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    margin-left: 10px;
}

.panel-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    font-size: .8rem;
}

.panel-row strong {
    color: var(--green);
}

.panel-footer {
    padding: 1rem;
    font-size: .7rem;
    letter-spacing: .15em;
    color: var(--blue);
}

/* BACKGROUND TITLES */

.ghost-title {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(5rem, 14vw, 13rem);
    letter-spacing: .15em;
    color: rgba(245, 243, 238, .05);
    white-space: nowrap;
}

/* SERVICES */

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.capability-card {
    min-height: 330px;
    padding: 2rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: .3s;
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: var(--green);
}

.number {
    font-size: 3rem;
    line-height: 1;
    color: rgba(94, 125, 106, .45);
    margin-bottom: 1rem;
}

.capability-card footer,
.pipeline-step footer {
    margin-top: auto;
    color: var(--green);
    font-size: .7rem;
    letter-spacing: .18em;
}

/* DATA PIPELINE */

.pipeline {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.pipeline-step {
    flex: 1;
    min-height: 320px;
    padding: 2rem;
    background: var(--panel);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.pipeline-step span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
}

.pipeline-step h3 {
    margin: 1rem 0;
}

.pipeline-line {
    width: 35px;
    height: 1px;
    background: var(--green);
    align-self: center;
}

/* DOCUMENTATION */

.documentation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.documentation-card {
    padding: 2rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
}

.documentation-card h3 {
    margin-bottom: 1rem;
}

.documentation-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.documentation-card li {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: .75rem;
}

.documentation-card li:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--green);
    margin-right: .75rem;
}

/* FIELD SYSTEMS */

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.equipment-card {
    min-height: 420px;
    padding: 2rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    transition: .3s;
}

.equipment-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
}

.tag {
    font-size: .7rem;
    letter-spacing: .2em;
    color: var(--green);
    margin-bottom: 1.5rem;
}

.equipment-card h3 {
    margin-bottom: 1rem;
}

.equipment-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.equipment-card li {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: .75rem;
}

.equipment-card li:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--green);
    margin-right: .75rem;
}

/* FIELD OPERATIONS */

.map-section {
    min-height: 900px;
}

.operations-map {
    min-height: 900px;
    background: #080d11;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.map-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(95, 143, 168, .3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 143, 168, .3) 1px, transparent 1px);
    background-size: 80px 80px;
}

.map-title {
    position: absolute;
    top: 12%;
    left: 7%;
    max-width: 560px;
    z-index: 5;
}

.map-title h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.deployment-frame {
    position: absolute;
    width: 65%;
    height: 55%;
    left: 18%;
    top: 28%;
    border: 1px solid rgba(95, 143, 168, .25);
    background: radial-gradient(circle, rgba(95, 143, 168, .08), transparent 65%);
}

.deployment-node {
    position: absolute;
    z-index: 5;
}

/* SUMMERVILLE */

.southeast {
    right: 12%;
    top: 22%;
}

/* SANDPOINT */

.northwest {
    left: 12%;
    bottom: 20%;
}

.node-dot {
    width: 16px;
    height: 16px;
    background: var(--green);
    border-radius: 50%;
    box-shadow:
        0 0 0 8px rgba(94, 125, 106, .15),
        0 0 30px rgba(94, 125, 106, .8);
}

.deployment-card {
    margin-top: 1rem;
    width: 280px;
    padding: 1.5rem;
    background: rgba(18, 27, 33, .95);
    border: 1px solid var(--border);
}

.deployment-card span {
    display: block;
    font-size: .7rem;
    letter-spacing: .2em;
    color: var(--green);
}

.deployment-card strong {
    display: block;
    font-size: 1.25rem;
    margin: .5rem 0;
}

.deployment-card p {
    font-size: .85rem;
}

.deployment-connection {
    position: absolute;
    left: 22%;
    top: 55%;
    width: 55%;
    height: 1px;
    background: var(--green);
}

/* NATIONWIDE BOX */

.nationwide-status {
    position: absolute;
    right: 7%;
    top: 18%;
    width: 360px;
    padding: 2rem;
    background: rgba(11, 18, 23, .96);
    border-left: 3px solid var(--green);
    z-index: 5;
}

.nationwide-status span {
    display: block;
    font-size: .7rem;
    letter-spacing: .2em;
    color: var(--green);
}

.nationwide-status strong {
    display: block;
    margin: 1rem 0;
    font-size: .95rem;
    letter-spacing: .12em;
    color: var(--blue);
}

.nationwide-status p {
    font-size: .9rem;
}

/* INDUSTRIES */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industry-card {
    padding: 2rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    transition: .3s;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
}

.industry-card h3 {
    margin-bottom: 1rem;
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.credential-panel,
.contact-area {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    padding: 2rem;
}

.credential-panel h3,
.contact-area h3 {
    margin-bottom: 2rem;
}

.credential-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, .03);
    border-left: 2px solid var(--green);
}

.credential-row span {
    color: var(--blue);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.credential-row strong {
    font-size: .85rem;
    letter-spacing: .1em;
}

.credential-row p {
    font-size: .8rem;
    margin-top: .35rem;
}

.government-status {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.government-status span {
    display: block;
    font-size: .7rem;
    letter-spacing: .2em;
    color: var(--green);
}

.government-status strong {
    display: block;
    margin-top: .5rem;
    color: var(--blue);
    font-size: .8rem;
    letter-spacing: .15em;
}

/* FORM */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: #080d11;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .85rem;
    color: var(--muted);
}

.checkbox input {
    width: auto;
}

.hidden {
    display: none;
}

/* FOOTER */

.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    font-size: 1.3rem;
    color: var(--muted);
}

.social-links a:hover {
    color: var(--green);
}

/* ANIMATION STATES */

.capability-card,
.pipeline-step,
.documentation-card,
.equipment-card,
.industry-card,
.credential-panel,
.contact-area {
    opacity: 0;
    transform: translateY(25px);
}

/* MOBILE */

@media(max-width:900px) {

    .nav {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 75px);
        background: #0b1217;
        padding: 3rem;
        flex-direction: column;
        transition: .3s;
        border-left: 1px solid var(--border);
    }

    .nav.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .capability-grid,
    .documentation-grid,
    .equipment-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .pipeline {
        flex-direction: column;
    }

    .pipeline-line {
        width: 1px;
        height: 40px;
    }

    .map-section,
    .operations-map {
        min-height: 1150px;
    }

    .map-title {
        position: relative;
        top: auto;
        left: auto;
        width: 90%;
        margin: 4rem auto;
    }

    .deployment-frame {
        position: relative;
        width: 90%;
        height: 520px;
        left: auto;
        top: auto;
        margin: auto;
    }

    .deployment-connection {
        display: none;
    }

    .southeast,
    .northwest {
        left: 10%;
        right: auto;
    }

    .southeast {
        top: 100px;
    }

    .northwest {
        top: 330px;
    }

    .nationwide-status {
        position: relative;
        right: auto;
        top: auto;
        width: 90%;
        margin: 3rem auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}

@media(max-width:600px) {

    h1 {
        font-size: 3rem;
    }

    .section {
        padding: 5rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .ghost-title {
        font-size: 4rem;
    }

    .coordinates {
        top: 110px;
        left: 5%;
        opacity: .28;
        transform: scale(.85);
        transform-origin: left top;
    }

    .coordinates p {
        font-size: .6rem;
        letter-spacing: .18em;
    }

}