/* =========================================================
   ArcTec, LLC — Global Foundation
   Shared design tokens, reset, typography, and page layout
   ========================================================= */

:root {
    --color-background: #191b27;
    --color-surface: #202332;
    --color-surface-light: #262a3a;

    --color-primary: #2596be;
    --color-primary-bright: #37b7e5;

    --color-text: #f4f7f8;
    --color-text-muted: #9ba8b3;

    --color-border: rgba(55, 183, 229, 0.22);
    --color-grid: rgba(55, 183, 229, 0.055);

    --font-sans:
        Inter,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    --font-mono:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    --container-width: 1440px;

    --page-gutter: clamp(1.25rem, 4vw, 5rem);
    --section-space: clamp(4.5rem, 9vw, 9rem);

    --header-height: 6.5rem;

    --transition-fast: 160ms ease;
    --transition-standard: 260ms ease;
}


/* =========================================================
   Reset
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;

    background-color: var(--color-background);
    background-image:
        linear-gradient(
            var(--color-grid) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            var(--color-grid) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;

    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button {
    color: inherit;
}


/* =========================================================
   Typography
   ========================================================= */

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

h1,
h2,
h3,
h4 {
    line-height: 1.05;
}

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

::selection {
    background: var(--color-primary);
    color: var(--color-text);
}


/* =========================================================
   Shared Page Structure
   ========================================================= */

.site-shell {
    width: 100%;
    min-height: 100vh;
}

.container {
    width: min(
        calc(100% - (var(--page-gutter) * 2)),
        var(--container-width)
    );

    margin-inline: auto;
}

.page-main {
    width: 100%;
}

.page-section {
    padding-block: var(--section-space);
}


/* =========================================================
   Shared Technical Labels
   ========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;

    margin-bottom: 1.5rem;

    color: var(--color-primary-bright);

    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 2rem;
    height: 1px;

    background: currentColor;
}


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

:focus-visible {
    outline: 2px solid var(--color-primary-bright);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10000;

    padding: 0.75rem 1rem;

    background: var(--color-primary-bright);
    color: var(--color-background);

    font-family: var(--font-mono);
    font-weight: 700;

    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}


/* =========================================================
   Responsive Foundation
   ========================================================= */

@media (max-width: 900px) {
    :root {
        --header-height: 5.5rem;
        --section-space: clamp(4rem, 10vw, 6rem);
    }
}

@media (max-width: 600px) {
    :root {
        --page-gutter: 1.25rem;
        --section-space: 4rem;
    }

    body {
        background-size: 36px 36px;
    }
}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}