*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --font-mono: 'Courier New', Courier, monospace;
    --font-sans: 'Arial', Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.015) 3px,
        rgba(255, 255, 255, 0.015) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* ─── SCROLLBAR ─────────────────────────────────────────────── */

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--white);
}

/* ─── SELECTION ─────────────────────────────────────────────── */

::selection {
    background: var(--white);
    color: var(--black);
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */

@keyframes glitch {
    0%   { clip-path: inset(0 0 95% 0); transform: translate(-3px, 0); }
    5%   { clip-path: inset(30% 0 50% 0); transform: translate(3px, 0); }
    10%  { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 0); }
    15%  { clip-path: inset(0 0 0 0); transform: translate(0, 0); }
    100% { clip-path: inset(0 0 0 0); transform: translate(0, 0); }
}

@keyframes glitch-2 {
    0%   { clip-path: inset(80% 0 5% 0); transform: translate(4px, 0); opacity: 0.8; }
    5%   { clip-path: inset(10% 0 70% 0); transform: translate(-4px, 0); opacity: 0.6; }
    10%  { clip-path: inset(50% 0 30% 0); transform: translate(2px, 0); }
    15%  { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 1; }
    100% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 1; }
}

@keyframes scan-h {
    0%   { top: -2%; }
    100% { top: 102%; }
}

@keyframes blink-cursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
    50%       { box-shadow: 0 0 0 2px rgba(255,255,255,0.5); }
}

@keyframes flicker {
    0%, 94%, 96%, 100% { opacity: 1; }
    95%                 { opacity: 0.3; }
}

@keyframes data-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes corner-glow {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

/* ─── HEADER ─────────────────────────────────────────────────── */

.site-header {
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 2.5rem 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--white);
    box-shadow: 0 0 14px rgba(255,255,255,0.7);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.unit-badge {
    width: 76px;
    height: 76px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    animation: flicker 9s infinite;
    box-shadow: 0 0 18px rgba(255,255,255,0.12), inset 0 0 18px rgba(255,255,255,0.04);
}

.unit-badge::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
}

.badge-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.header-sub {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.35em;
    opacity: 0.45;
}

.site-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255,255,255,0.12);
}

.site-title .dash {
    margin: 0 0.05em;
}

.header-tagline {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    min-height: 1.2em;
    opacity: 0.6;
}

/* ─── NAV ───────────────────────────────────────────────────── */

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    padding: 0.5rem 1rem;
    position: relative;
    opacity: 0.6;
    transition: opacity 0.15s, border-color 0.15s;
    border: 1px solid transparent;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 1px;
    background: var(--white);
    transition: left 0.2s, right 0.2s;
    box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

.main-nav a:hover {
    opacity: 1;
    border-color: rgba(255,255,255,0.3);
}

.main-nav a:hover::after {
    left: 0;
    right: 0;
}

/* ─── MAIN ───────────────────────────────────────────────────── */

.site-main {
    flex: 1;
}

/* ─── HERO ───────────────────────────────────────────────────── */

.hero {
    position: relative;
    padding: 6rem 1rem 5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    animation: scan-h 6s linear infinite;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 90% at 5% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 5% 50%, black 20%, transparent 100%);
}

.hero-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    animation: corner-glow 3.5s ease-in-out infinite;
}

.hero-corner.tl { top: 1.5rem; left: 1.5rem; border-top: 2px solid var(--white); border-left: 2px solid var(--white); }
.hero-corner.tr { top: 1.5rem; right: 1.5rem; border-top: 2px solid var(--white); border-right: 2px solid var(--white); animation-delay: 0.5s; }
.hero-corner.bl { bottom: 2.5rem; left: 1.5rem; border-bottom: 2px solid var(--white); border-left: 2px solid var(--white); animation-delay: 1s; }
.hero-corner.br { bottom: 2.5rem; right: 1.5rem; border-bottom: 2px solid var(--white); border-right: 2px solid var(--white); animation-delay: 1.5s; }

.stamp {
    display: inline-block;
    border: 2px solid var(--white);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: bold;
    letter-spacing: 0.35em;
    padding: 0.22rem 0.7rem;
    transform: rotate(-2deg);
    margin-bottom: 1.75rem;
    box-shadow: 0 0 12px rgba(255,255,255,0.2);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.hero-headline {
    font-family: var(--font-mono);
    font-size: clamp(0.65rem, 2.5vw, 0.9rem);
    letter-spacing: 0.45em;
    font-weight: normal;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.hero-codename {
    display: block;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 1.75rem;
    text-shadow: 0 0 40px rgba(255,255,255,0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-sub {
    max-width: 560px;
    font-size: 0.88rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    opacity: 0.65;
    font-family: var(--font-mono);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */

.btn-primary,
.btn-secondary {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    padding: 0.8rem 2rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.btn-primary:hover {
    background: var(--black);
    color: var(--white);
    outline: 1px solid var(--white);
    outline-offset: 3px;
    box-shadow: 0 0 20px rgba(255,255,255,0.25), inset 0 0 20px rgba(255,255,255,0.08);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    outline: 1px solid var(--white);
    outline-offset: 0;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* ─── DIVIDER BAND ───────────────────────────────────────────── */

.divider-band {
    height: 1px;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 8px rgba(255,255,255,0.08);
}

/* ─── CONTENT SECTIONS ───────────────────────────────────────── */

.content-section {
    padding: 5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: var(--black);
    position: relative;
}

.content-section.dark-section {
    background: var(--black);
}

.content-section.dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.4em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.5;
}

.section-label::before {
    content: '';
    display: block;
    width: 3px;
    height: 0.9em;
    background: var(--white);
    box-shadow: 0 0 6px rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.section-label::after {
    content: '';
    display: block;
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.4), transparent);
}

.section-title {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255,255,255,0.08);
}

/* ─── OVERVIEW TWO-COL ───────────────────────────────────────── */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.col p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.85;
    opacity: 0.75;
}

.col p:last-child {
    margin-bottom: 0;
}

.fact-list {
    list-style: none;
    border: 1px solid rgba(255,255,255,0.2);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    position: relative;
}

.fact-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    gap: 1rem;
}

.fact-list li:last-child {
    border-bottom: none;
}

.fact-label {
    letter-spacing: 0.15em;
    font-weight: bold;
    flex-shrink: 0;
    opacity: 0.55;
}

/* ─── OPERATIONS GRID ────────────────────────────────────────── */

.op-grid-scroll {
    overflow-x: auto;
}

.op-grid-scroll::-webkit-scrollbar {
    height: 4px;
}

.op-grid-scroll::-webkit-scrollbar-track {
    background: var(--black);
}

.op-grid-scroll::-webkit-scrollbar-thumb {
    background: var(--white);
}

.op-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    min-width: 100%;
    gap: 1px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}

.op-card {
    padding: 1.75rem;
    background: var(--black);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: background 0.2s;
    overflow: hidden;
    min-width: 0;
}

.op-card::before,
.op-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
    transition: opacity 0.2s;
    opacity: 0;
}

.op-card::before {
    top: 8px; left: 8px;
    border-top: 1px solid var(--white);
    border-left: 1px solid var(--white);
}

.op-card::after {
    bottom: 8px; right: 8px;
    border-bottom: 1px solid var(--white);
    border-right: 1px solid var(--white);
}

.op-card:hover {
    background: rgba(255,255,255,0.03);
}

.op-card:hover::before,
.op-card:hover::after {
    opacity: 1;
}

.op-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.25em;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--white);
    width: fit-content;
}

.op-status::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--white);
    flex-shrink: 0;
}

.op-status.active {
    background: var(--white);
    color: var(--black);
    animation: pulse-border 2.5s ease-in-out infinite;
}

.op-status.active::before {
    background: var(--black);
}

.op-status.pending {
    background: transparent;
    color: var(--white);
    opacity: 0.7;
}

.op-status.closed {
    background: transparent;
    color: var(--white);
    opacity: 0.3;
    border-style: dashed;
}

.op-name {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.op-card p {
    font-size: 0.82rem;
    line-height: 1.75;
    flex: 1;
    opacity: 0.65;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.op-clearance {
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.25em;
    opacity: 0.35;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 0.75rem;
}

/* ─── DIRECTIVES LIST ────────────────────────────────────────── */

.directives-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.18);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.directives-list li {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: flex-start;
    transition: background 0.2s;
}

.directives-list li:last-child {
    border-bottom: none;
}

.directives-list li:hover {
    background: rgba(255,255,255,0.025);
}

.directive-num {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: bold;
    color: rgba(255,255,255,0.18);
    flex-shrink: 0;
    line-height: 1;
    width: 2.5rem;
}

.directive-body strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.directive-body p {
    font-size: 0.88rem;
    line-height: 1.8;
    opacity: 0.68;
}

/* ─── CONTACT FORM ───────────────────────────────────────────── */

.contact-intro {
    max-width: 600px;
    font-size: 0.87rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    opacity: 0.6;
    font-family: var(--font-mono);
}

.contact-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.clearance-form {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    opacity: 0.55;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.03);
    color: var(--white);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    border-right: 1px solid rgba(255,255,255,0.35);
    padding: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    outline: none;
    width: 100%;
    resize: vertical;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s, background 0.15s;
}

.form-group select option {
    background: var(--black);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(255,255,255,0.05);
    border-bottom-color: var(--white);
    border-right-color: var(--white);
    box-shadow: 4px 4px 0 rgba(255,255,255,0.06);
}

.form-notice {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    min-height: 1.2em;
}

/* ─── REDACTED TEXT ──────────────────────────────────────────── */

.redact {
    display: inline-block;
    background: var(--white);
    color: var(--white);
    letter-spacing: 0.05em;
    user-select: none;
}

.redact-inline {
    display: inline;
    background: var(--white);
    color: var(--white);
    letter-spacing: 0.02em;
    user-select: none;
    font-family: var(--font-mono);
    overflow-wrap: break-word;
    word-break: break-all;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */

.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 1rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    box-shadow: 0 0 14px rgba(255,255,255,0.4);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-unit {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-shadow: 0 0 18px rgba(255,255,255,0.12);
}

.footer-division {
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.3em;
    opacity: 0.35;
}

.footer-links {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    padding: 0.35rem 0.8rem;
    opacity: 0.45;
    transition: opacity 0.15s, border-bottom-color 0.15s;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    opacity: 1;
    border-bottom-color: var(--white);
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.1em;
    max-width: 500px;
    opacity: 0.3;
}

.footer-copy {
    white-space: nowrap;
}

/* ─── PROJECTS GRID ──────────────────────────────────────────── */

.projects-grid-scroll {
    overflow-x: auto;
}

.projects-grid-scroll::-webkit-scrollbar {
    height: 4px;
}

.projects-grid-scroll::-webkit-scrollbar-track {
    background: var(--black);
}

.projects-grid-scroll::-webkit-scrollbar-thumb {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    min-width: 100%;
    gap: 1px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}

.project-card {
    background: var(--black);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: background 0.2s;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(to right, var(--white), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.project-card:hover {
    background: rgba(255,255,255,0.03);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.project-id {
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.3em;
    opacity: 0.4;
}

.project-status {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    font-weight: bold;
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--white);
}

.project-status.status-active {
    background: var(--white);
    color: var(--black);
    animation: pulse-border 2.5s ease-in-out infinite;
}

.project-status.status-pending {
    background: transparent;
    color: var(--white);
    opacity: 0.7;
}

.project-status.status-closed {
    background: transparent;
    color: var(--white);
    opacity: 0.3;
    border-style: dashed;
}

.project-name {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.project-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    opacity: 0.65;
    flex: 1;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    opacity: 0.55;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.75rem;
}

.meta-label {
    opacity: 0.5;
    margin-right: 0.4em;
}

.btn-project {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.3);
    transition: background 0.15s, border-color 0.15s;
    margin-top: auto;
}

.btn-project:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-arrow {
    transition: transform 0.15s;
}

.btn-project:hover .btn-arrow {
    transform: translateX(4px);
}

/* ─── PERSONNEL ─────────────────────────────────────────────── */

.personnel-scroll {
    overflow-x: auto;
}

.personnel-scroll::-webkit-scrollbar {
    height: 4px;
}

.personnel-scroll::-webkit-scrollbar-track {
    background: var(--black);
}

.personnel-scroll::-webkit-scrollbar-thumb {
    background: var(--white);
}

.personnel-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    min-width: 100%;
    gap: 1px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 2rem;
}

.personnel-card {
    background: var(--black);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: background 0.2s;
}

.personnel-card:hover {
    background: rgba(255,255,255,0.03);
}

.personnel-img-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255,255,255,0.35);
    flex-shrink: 0;
    overflow: hidden;
}

.personnel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.1);
}

.personnel-img-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.18) 2px,
        rgba(0,0,0,0.18) 4px
    );
    pointer-events: none;
}

.personnel-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.personnel-id {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    opacity: 0.4;
}

.personnel-callsign {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    margin: 0;
}

.personnel-role {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    opacity: 0.55;
    margin: 0;
}

.personnel-cta {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

/* ─── FADE IN ────────────────────────────────────────────────── */

.fade-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .directives-list li {
        gap: 1rem;
        padding: 1.25rem;
    }

    .directive-num {
        font-size: 1.25rem;
        width: 2rem;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: 3.5rem 1rem 3rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .hero-corner {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-nav a {
        font-size: 0.58rem;
        padding: 0.4rem 0.65rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
        width: 100%;
    }

    .op-grid {
        grid-auto-flow: row;
        grid-auto-columns: unset;
        grid-template-columns: 1fr;
    }

    .band-inner {
        font-size: 0.58rem;
        gap: 1.75rem;
    }
}
