:root {
    --ink-void: #081420;
    --ink-panel: #0F2138;
    --ink-panel-2: #132A47;
    --paper: #F4F6F1;
    --paper-2: #ECEFE6;
    --paper-line: #DCE1D6;
    --signal-teal: #1FA98D;
    --signal-teal-dim: #16806c;
    --signal-amber: #E8873A;
    --text-ink: #14202B;
    --text-muted: #57646C;
    --text-on-dark: #DCE6E9;
    --text-on-dark-muted: #ffffff;
    --status-complete: #3E7C59;
    --status-open: #B5631B;
    --status-closed: #B4483A;
    --radius: 2px;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text-ink);
    font-family: 'Poppins';
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    letter-spacing: -0.01em;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

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

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

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

::selection {
    background: var(--signal-teal);
    color: var(--ink-void);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--signal-teal);
    outline-offset: 3px;
}

/* ---------- eyebrow / labels ---------- */
.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--signal-teal-dim);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 16px;
    height: 1px;
    background: var(--signal-teal-dim);
    display: inline-block;
}

.eyebrow.on-dark {
    color: var(--signal-teal);
}

.eyebrow.on-dark::before {
    background: var(--signal-teal);
}

/* ---------- viewfinder corner brackets, the signature motif ---------- */
.viewport {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.viewport::before,
.viewport::after,
.viewport .vf-tl,
.viewport .vf-br {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid var(--signal-teal);
    pointer-events: none;
}

.viewport::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.viewport::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.coord-stamp {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-on-dark-muted);
}

/* ---------- top nav ---------- */
header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 20, 32, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-on-dark);
}

.brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--signal-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.brand-mark svg {
    width: 22px;
    height: 22px;
}

.brand-name {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.01em;
}

.brand-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

nav.links {
    display: flex;
    gap: 2px;
}

nav.links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-on-dark-muted);
    padding: 10px 16px;
    position: relative;
    transition: color .2s ease;
}

nav.links a:hover {
    color: var(--text-on-dark);
}

nav.links a.current {
    color: var(--signal-teal);
}

.nav-cta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-void);
    background: var(--signal-teal);
    padding: 9px 16px;
    border: 1px solid var(--signal-teal);
    white-space: nowrap;
}

.nav-toggle {
    display: none;
}