/* ── Ryan Fortin · 2026 · deep-space observatory editorial ───────────── */

:root {
    --sky: #060507;
    --ink: #0c0b10;
    --panel: rgba(255, 255, 255, 0.045);
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.20);
    --starlight: #f5f6fa;
    --dim: #a7a7b6;
    --faint: #6b6b7a;
    --signal: #34e0ff;
    --signal-soft: rgba(52, 224, 255, 0.15);
    --signal-glow: rgba(52, 224, 255, 0.38);
    --glass-border: rgba(255, 255, 255, 0.14);

    --display: "Space Grotesk", "Helvetica Neue", sans-serif;
    --sans: "Inter Tight", "Helvetica Neue", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--sky);
    color: var(--starlight);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
}

::selection { background: var(--signal); color: var(--sky); }

/* ── atmosphere ── */
#starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.grain {
    position: fixed;
    inset: -50%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain-shift 9s steps(6) infinite;
}

@keyframes grain-shift {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -3%); }
    60% { transform: translate(-2%, -2%); }
    80% { transform: translate(3%, 3%); }
}

nav, header, main, footer, .statline { position: relative; z-index: 2; }

/* ── nav ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
    background: linear-gradient(to bottom, rgba(6, 5, 7, 0.92), rgba(6, 5, 7, 0));
}

.nav-mark {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--starlight);
    text-decoration: none;
    letter-spacing: 0.06em;
}

.blink { color: var(--signal); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.nav-links {
    display: flex;
    gap: clamp(0.9rem, 2.5vw, 2rem);
    align-items: center;
}

.nav-links a {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--starlight);
    text-shadow: 0 1px 6px rgba(6, 5, 7, 0.6);
    text-decoration: none;
    transition: color 0.25s;
}

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

.nav-cta {
    border: 1px solid var(--line-strong);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.nav-cta:hover { border-color: var(--signal); }

/* ── nav dropdown ── */
.dropdown { position: relative; }

.dropdown-toggle::after {
    content: " ▾";
    color: var(--faint);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 230px;
    background: var(--panel);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
}

.dropdown-menu a:hover { background: var(--signal-soft); }

.dropdown-menu a.active { color: var(--signal); }

/* ── expertise subpages ── */
.page-hero {
    padding: 10rem clamp(1.25rem, 6vw, 6rem) 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.8rem, 7.5vw, 5.5rem);
    line-height: 1;
    margin: 1.25rem 0;
}

.page-hero h1 em { font-style: normal; color: var(--signal); }

.page-lede {
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.5;
    color: var(--dim);
    max-width: 44rem;
}

.page-section { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }

.prose { max-width: 46rem; color: var(--dim); }

.prose p { margin-bottom: 1.1rem; }

.prose strong { color: var(--starlight); font-weight: 600; }

.prose a { color: var(--signal); }

.cap-list { list-style: none; max-width: 46rem; }

.cap-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--dim);
}

.cap-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--signal);
    opacity: 0.7;
}

.cap-list strong { color: var(--starlight); font-weight: 600; }

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.chip {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--dim);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.page-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    padding-top: 2rem;
}

.page-next a {
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--signal);
    text-decoration: none;
}

.page-next a:hover { text-decoration: underline; }

.page-next .back { color: var(--dim); }

.prop-shot {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem clamp(1.25rem, 6vw, 6rem) 0;
    position: relative;
    z-index: 2;
}

.prop-shot img {
    display: block;
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.prop-shot figcaption {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-top: 0.7rem;
}

/* ── spline hero ── */
.spline-hero { display: none; }

.spline-active .spline-hero {
    display: block;
    position: relative;
    height: 100svh;
    z-index: 2;
}

.spline-hero spline-viewer,
.spline-hero .spline-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.spline-hero.loaded .spline-canvas { opacity: 1; }

.scroll-cue {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--starlight);
    text-shadow: 0 1px 6px rgba(6, 5, 7, 0.6);
    pointer-events: none;
    z-index: 3;
    animation: cue-bob 2.2s ease-in-out infinite;
}

@keyframes cue-bob { 50% { transform: translate(-50%, 7px); } }

/* when spline leads, the identity hero compacts into an intro section */
.spline-active .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 5rem;
}

/* ── hero ── */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem clamp(1.25rem, 6vw, 6rem) 4rem;
    max-width: 1200px;
}

.telemetry {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: var(--dim);
    margin-bottom: 1.5rem;
}

.tick { color: var(--signal); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

.hero-name {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(4rem, 13vw, 10.5rem);
    line-height: 0.92;
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
}

.hero-name em {
    font-style: normal;
    color: var(--signal);
}

.hero-role {
    font-family: var(--mono);
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--starlight);
    margin-bottom: 1.25rem;
}

.hero-sub {
    max-width: 38rem;
    color: var(--dim);
    margin-bottom: 2.5rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.btn {
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    transition: all 0.25s;
}

.btn-solid {
    background: var(--signal);
    color: #04141a;
    font-weight: 600;
}

.btn-solid:hover { box-shadow: 0 0 32px var(--signal-glow); transform: translateY(-1px); }

.btn-line {
    border: 1px solid var(--line-strong);
    color: var(--starlight);
}

.btn-line:hover { border-color: var(--signal); color: var(--signal); }

/* ── statline ── */
.statline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.stat {
    padding: 1.6rem clamp(1.25rem, 3vw, 2.5rem);
    border-right: 1px solid var(--line);
}

.stat:last-child { border-right: none; }

.stat-num {
    display: block;
    font-family: var(--display);
    font-size: 2.4rem;
    color: var(--signal);
    line-height: 1.1;
}

.stat-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
}

/* ── sections ── */
.section {
    padding: clamp(4.5rem, 10vw, 8rem) clamp(1.25rem, 6vw, 6rem);
    max-width: 1200px;
    margin: 0 auto;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.25rem;
}

.section-index {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--signal);
    letter-spacing: 0.1em;
}

.section-head h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1;
}

/* ── experience ── */
.job {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.job-meta {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--dim);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.job-dates { color: var(--signal); }

.job-body h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.job-title { color: var(--dim); font-weight: 400; }

.job-phase {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--signal);
    margin: 1.75rem 0 0.85rem;
}

.phase-dates { color: var(--faint); margin-left: 0.5rem; }

.job-body ul { list-style: none; }

.job-body li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.65rem;
    color: var(--dim);
}

.job-body li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--signal);
    opacity: 0.7;
}

/* ── projects ── */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project {
    background: var(--panel);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    border-color: rgba(52, 224, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(52, 224, 255, 0.16);
}

.project-kicker {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--signal);
}

.project h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.3;
}

.proj-alias { color: var(--dim); font-weight: 400; }

.project p { color: var(--dim); font-size: 0.97rem; }

.project strong { color: var(--starlight); font-weight: 600; }

.project-stack {
    font-family: var(--mono);
    font-size: 0.75rem !important;
    color: var(--faint) !important;
    letter-spacing: 0.04em;
}

.project-link {
    margin-top: auto;
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--signal);
    text-decoration: none;
}

.service-links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
}

.service-links .project-link { margin-top: 0; }

.project-link:hover { text-decoration: underline; }

/* ── galaxy ── */
.section-galaxy { max-width: 1200px; }

.galaxy-lede {
    font-family: var(--display);
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    line-height: 1.45;
    color: var(--dim);
    max-width: 46rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.galaxy-lede strong { color: var(--starlight); font-weight: 400; }

.orbit-index { border-top: 1px solid var(--line); }

.orbit {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s;
}

.orbit:hover { background: rgba(52, 224, 255, 0.05); }

.orbit-id {
    font-family: var(--mono);
    font-size: 0.95rem;
    color: var(--starlight);
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.orbit-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 10px rgba(52, 224, 255, 0.85);
    flex-shrink: 0;
    align-self: center;
}

.orbit-info h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.orbit-info p { color: var(--dim); font-size: 0.97rem; margin-bottom: 0.5rem; }

.orbit-info strong { color: var(--starlight); font-weight: 600; }

.orbit-info h3 a, .minor h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s;
}

.orbit-info h3 a:hover, .minor h4 a:hover { color: var(--signal); }

.orbit-info h3 a::after, .minor h4 a::after {
    content: " →";
    color: var(--faint);
    transition: color 0.25s;
}

.orbit-info h3 a:hover::after, .minor h4 a:hover::after { color: var(--signal); }

.orbit-info code {
    font-family: var(--mono);
    font-size: 0.85em;
    color: var(--signal);
    background: var(--signal-soft);
    padding: 0.1em 0.4em;
    border-radius: 6px;
}

.orbit-stack {
    font-family: var(--mono);
    font-size: 0.74rem !important;
    color: var(--faint) !important;
    letter-spacing: 0.04em;
    margin-bottom: 0 !important;
}

/* ── constellation (minor bodies) ── */
.constellation-head {
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--signal);
    margin: 3.5rem 0 1.5rem;
}

.minor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.minor {
    background: var(--panel);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.4rem;
    transition: border-color 0.3s, transform 0.3s;
}

.minor:hover {
    border-color: rgba(52, 224, 255, 0.42);
    transform: translateY(-2px);
}

.minor-name {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--signal);
    margin-bottom: 0.4rem;
}

.minor h4 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.minor p { color: var(--dim); font-size: 0.9rem; line-height: 1.55; }

.galaxy-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
}

.gnum {
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    color: var(--dim);
}

.gnum strong {
    color: var(--signal);
    font-weight: 500;
    font-size: 1.05rem;
    margin-right: 0.35rem;
}

/* ── skills ── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.skill-block {
    background: var(--panel);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.6rem;
}

.skill-block h3 {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 0.7rem;
}

.skill-block p { color: var(--dim); font-size: 0.92rem; line-height: 1.7; }

.skill-block p a {
    color: var(--starlight);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
    transition: color 0.25s, border-color 0.25s;
}

.skill-block p a:hover { color: var(--signal); border-color: var(--signal); }

.creds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
}

.cred h4 {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--starlight);
    margin-bottom: 0.5rem;
}

.cred p { color: var(--dim); font-size: 0.95rem; }

/* ── contact ── */
.section-contact {
    text-align: center;
    padding-top: clamp(6rem, 14vw, 10rem);
    padding-bottom: clamp(6rem, 14vw, 10rem);
}

.contact-big {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    line-height: 1;
    margin: 1rem 0 2.5rem;
}

.contact-big em { font-style: normal; color: var(--signal); }

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.contact-links a {
    font-family: var(--mono);
    font-size: 1rem;
    color: var(--dim);
    text-decoration: none;
    transition: color 0.25s;
}

.contact-links a:hover { color: var(--signal); }

/* ── footer ── */
.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem clamp(1.25rem, 6vw, 6rem);
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--faint);
}

.footer-sig { color: var(--signal); opacity: 0.7; }

/* ── reveal animation (only hides content when JS is running) ── */
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .grain { animation: none; }
    html { scroll-behavior: auto; }
}

/* ── mobile menu ── */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    cursor: pointer;
}
.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--starlight);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s;
}
.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 5.5rem clamp(1.5rem, 8vw, 3rem) 3rem;
    background: rgba(6, 5, 7, 0.9);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.mobile-menu > a {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.55rem;
    color: var(--starlight);
    text-decoration: none;
    padding: 0.35rem 0;
}
.mobile-menu > a:hover { color: var(--signal); }
.mobile-menu > a.nav-cta {
    border: none;
    padding: 0.35rem 0;
    font-size: 1.55rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--signal);
}

.mm-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-top: 0.9rem;
}
.mm-sub {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.9rem;
    padding-left: 0.9rem;
    border-left: 1px solid var(--line-strong);
}
.mm-sub a {
    font-family: var(--mono);
    font-size: 0.95rem;
    color: var(--dim);
    text-decoration: none;
    padding: 0.25rem 0;
}
.mm-sub a:hover, .mm-sub a.active { color: var(--signal); }

/* ── responsive ── */
@media (max-width: 760px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .mobile-menu { display: flex; }
    .job, .orbit { grid-template-columns: 1fr; gap: 0.75rem; }
    .job-meta { flex-direction: row; gap: 1rem; }
    .stat { border-right: none; border-bottom: 1px solid var(--line); }
    .stat:last-child { border-bottom: none; }
}
