/*
 * DanCary.com core-hub visual system
 * Opt-in scope: body.site-v2
 * Direction: living archive meets mission control
 */

body.site-v2 {
    --hub-ink: #070b12;
    --hub-ink-soft: #101722;
    --hub-paper: #f2eee5;
    --hub-paper-bright: #fffdf7;
    --hub-copy: #151b22;
    --hub-muted: #69717a;
    --hub-line: rgba(7, 11, 18, 0.16);
    --hub-signal: #ff7048;
    --hub-signal-dark: #be3d20;
    --hub-cyan: #58d9ec;
    --hub-blue: #367df6;
    --hub-acid: #c8f65a;
    --hub-gold: #ffc557;
    --hub-display: "Arial Narrow", "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
    --hub-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
    --hub-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    margin: 0;
    overflow-x: clip;
    background: var(--hub-ink);
    color: var(--hub-paper);
    font-family: var(--hub-body);
    font-size: clamp(1rem, 0.18vw + 0.96rem, 1.1rem);
    line-height: 1.6;
}

body.site-v2::before {
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000, transparent 62%);
}

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

.site-v2 img,
.site-v2 svg {
    max-width: 100%;
}

.site-v2 a:focus-visible,
.site-v2 button:focus-visible,
.site-v2 input:focus-visible {
    outline: 3px solid var(--hub-acid);
    outline-offset: 4px;
}

.site-v2 main[tabindex="-1"]:focus {
    outline: none;
}

.site-v2 .skip-link {
    border-color: var(--hub-acid);
    border-radius: 0;
    background: var(--hub-ink);
    color: var(--hub-paper-bright);
    font-family: var(--hub-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-v2 .skip-link:focus {
    color: var(--hub-paper-bright);
    outline-color: var(--hub-paper-bright);
}

.hub-frame,
.site-v2.projects-page .projects-shell,
.site-v2.projects-page .site-footer {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

.hub-header {
    position: absolute !important;
    inset: 0 0 auto;
    z-index: 80;
    padding: 24px 0 0 !important;
}

.site-v2 .site-nav.hub-nav {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(7, 11, 18, 0.72);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.08);
}

.site-v2 .site-nav.hub-nav a {
    border: 0;
    background: transparent;
    color: rgba(255, 253, 247, 0.76);
    box-shadow: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-v2 .site-nav.hub-nav a:hover,
.site-v2 .site-nav.hub-nav a:focus,
.site-v2 .site-nav.hub-nav a[aria-current="page"] {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.08);
    color: var(--hub-paper-bright);
    box-shadow: none;
    transform: none;
}

.site-v2 .site-nav.hub-nav .hub-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 2px 6px 2px 2px;
}

.hub-brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--hub-signal);
    color: var(--hub-ink);
    font-family: var(--hub-display);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hub-brand-name {
    color: var(--hub-paper-bright);
    font-family: var(--hub-display);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: none;
}

.hub-nav-links {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    min-width: 0;
}

.site-v2 .site-nav.hub-nav .hub-nav-links a {
    padding: 8px 12px;
    border-radius: 999px;
}

@supports ((-webkit-backdrop-filter: blur(18px)) or (backdrop-filter: blur(18px))) {
    .site-v2 .site-nav.hub-nav {
        -webkit-backdrop-filter: blur(22px) saturate(145%);
        backdrop-filter: blur(22px) saturate(145%);
    }

    .site-v2 .site-nav.hub-nav a {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

.signal-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--hub-cyan);
    font-family: var(--hub-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.signal-label--dark {
    color: var(--hub-signal-dark);
}

.signal-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hub-acid);
    box-shadow: 0 0 0 0 rgba(200, 246, 90, 0.5);
    animation: signal-pulse 2.4s ease-out infinite;
}

.hub-hero {
    position: relative;
    display: grid;
    min-height: max(760px, 100svh);
    align-items: center;
    overflow: hidden;
    padding: 128px 0 72px;
    background:
        radial-gradient(circle at 80% 20%, rgba(54, 125, 246, 0.26), transparent 27%),
        radial-gradient(circle at 70% 82%, rgba(255, 112, 72, 0.16), transparent 26%),
        linear-gradient(135deg, #070b12 0%, #0b121e 48%, #111a24 100%);
}

.hub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 49.94%, rgba(88, 217, 236, 0.1) 50%, transparent 50.06%),
        linear-gradient(180deg, transparent 49.94%, rgba(88, 217, 236, 0.07) 50%, transparent 50.06%);
    background-size: 96px 96px;
    mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}

.hub-hero::after {
    content: "";
    position: absolute;
    top: 18%;
    right: -10%;
    width: 48vw;
    aspect-ratio: 1;
    border: 1px solid rgba(88, 217, 236, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 8vw rgba(88, 217, 236, 0.018), 0 0 0 16vw rgba(88, 217, 236, 0.012);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    gap: clamp(30px, 5vw, 76px);
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 4;
    min-width: 0;
}

.home-page .hero-copy h1 {
    display: grid;
    margin: 0 0 32px;
    color: var(--hub-paper-bright);
    font-family: var(--hub-display);
    font-size: clamp(7rem, 12.5vw, 11rem);
    font-weight: 900;
    letter-spacing: -0.095em;
    line-height: 0.7;
    text-transform: uppercase;
}

.home-page .hero-copy h1 span:last-child {
    position: relative;
    z-index: 0;
    margin-left: clamp(18px, 4vw, 64px);
    color: var(--hub-signal);
    text-shadow: 0 0 60px rgba(255, 112, 72, 0.18);
}

.hero-statement {
    margin: 0 0 18px;
    color: rgba(255, 253, 247, 0.78);
    font-family: var(--hub-display);
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.hero-statement strong {
    color: var(--hub-paper-bright);
    font-weight: 800;
}

.hero-intro {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 253, 247, 0.62);
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hub-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    padding: 13px 18px;
    border: 1px solid transparent;
    color: inherit;
    font-family: var(--hub-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hub-button span {
    font-size: 1rem;
}

.hub-button:hover,
.hub-button:focus {
    color: inherit;
    transform: translateY(-2px);
}

.hub-button--signal {
    background: var(--hub-signal);
    color: var(--hub-ink);
    box-shadow: 0 14px 40px rgba(255, 112, 72, 0.18);
}

.hub-button--signal:hover,
.hub-button--signal:focus {
    background: #ff8a68;
    color: var(--hub-ink);
    box-shadow: 0 18px 46px rgba(255, 112, 72, 0.26);
}

.hub-button--ghost {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.035);
    color: var(--hub-paper-bright);
}

.hub-button--ghost:hover,
.hub-button--ghost:focus {
    border-color: rgba(88, 217, 236, 0.58);
    background: rgba(88, 217, 236, 0.08);
    color: var(--hub-paper-bright);
}

.hub-button--ink {
    background: var(--hub-ink);
    color: var(--hub-paper-bright);
}

.hub-button--ink:hover,
.hub-button--ink:focus {
    background: var(--hub-blue);
    color: #ffffff;
}

.hero-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 42px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-index div {
    min-width: 0;
    padding-right: 14px;
}

.hero-index div + div {
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-index dt,
.hero-index dd {
    margin: 0;
}

.hero-index dt {
    margin-bottom: 4px;
    color: rgba(88, 217, 236, 0.76);
    font-family: var(--hub-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-index dd {
    color: rgba(255, 253, 247, 0.72);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-stage {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    min-width: 0;
    height: clamp(500px, 48vw, 650px);
    transform: perspective(1400px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
    transform-style: preserve-3d;
    transition: transform 220ms ease-out;
}

.stage-coordinate {
    position: absolute;
    z-index: 8;
    color: rgba(255, 253, 247, 0.42);
    font-family: var(--hub-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stage-coordinate--top {
    top: 0;
    left: 9%;
}

.stage-coordinate--side {
    right: -20px;
    bottom: 24%;
    writing-mode: vertical-rl;
}

.stage-card {
    position: absolute;
    z-index: 3;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #131c28;
    color: var(--hub-paper-bright);
    text-decoration: none;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
    transition: border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease, transform 220ms ease;
}

.stage-card:hover,
.stage-card:focus {
    z-index: 9;
    border-color: rgba(200, 246, 90, 0.75);
    color: var(--hub-paper-bright);
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(200, 246, 90, 0.22);
    filter: saturate(1.12) contrast(1.04);
}

.stage-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.stage-card:hover img,
.stage-card:focus img {
    transform: scale(1.035);
}

.stage-card--aircraft {
    top: 7%;
    right: 2%;
    width: 82%;
    height: 61%;
    transform: translateZ(34px) rotate(1.5deg);
}

.stage-card--aircraft:hover,
.stage-card--aircraft:focus {
    transform: translateZ(60px) rotate(0deg) translateY(-4px);
}

.stage-card--aircraft img {
    object-position: center 44%;
    filter: grayscale(1) sepia(0.18) contrast(1.12) brightness(0.76);
}

.stage-card--aircraft:hover img,
.stage-card--aircraft:focus img {
    filter: grayscale(0.18) sepia(0.08) contrast(1.08) brightness(0.84);
}

.stage-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(7, 11, 18, 0.92));
}

.stage-card--thesis {
    bottom: 1%;
    left: 1%;
    z-index: 5;
    width: 45%;
    height: 40%;
    transform: translateZ(72px) rotate(-3deg);
}

.stage-card--thesis:hover,
.stage-card--thesis:focus {
    transform: translateZ(90px) rotate(-1deg) translateY(-4px);
}

.stage-card--thesis img {
    padding: 20px;
    object-fit: contain;
    background: #f3eee4;
}

.stage-card--tracks {
    right: 0;
    bottom: 7%;
    z-index: 4;
    width: 39%;
    height: 31%;
    transform: translateZ(48px) rotate(4deg);
}

.stage-card--tracks:hover,
.stage-card--tracks:focus {
    transform: translateZ(78px) rotate(1deg) translateY(-4px);
}

.stage-card--tracks img {
    padding: 10px;
    object-fit: contain;
    background: #0c1420;
}

.stage-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    background: linear-gradient(180deg, transparent, rgba(7, 11, 18, 0.92) 32%);
}

.stage-card--thesis .stage-caption,
.stage-card--tracks .stage-caption {
    background: linear-gradient(180deg, transparent, rgba(7, 11, 18, 0.94) 34%);
}

.stage-caption small {
    color: var(--hub-cyan);
    font-family: var(--hub-mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stage-caption strong {
    font-family: var(--hub-display);
    font-size: clamp(0.9rem, 1.35vw, 1.25rem);
    line-height: 1.1;
}

.stage-orbit {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(88, 217, 236, 0.26);
    border-radius: 50%;
    pointer-events: none;
}

.stage-orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hub-acid);
    box-shadow: 0 0 18px rgba(200, 246, 90, 0.7);
}

.stage-orbit--one {
    top: 1%;
    right: -9%;
    width: 78%;
    aspect-ratio: 1;
    animation: orbit-drift 22s linear infinite;
}

.stage-orbit--two {
    top: 17%;
    left: 5%;
    width: 56%;
    aspect-ratio: 1;
    border-style: dashed;
    animation: orbit-drift 18s linear infinite reverse;
}

.signal-marquee {
    position: relative;
    z-index: 5;
    overflow: hidden;
    border-block: 1px solid rgba(7, 11, 18, 0.3);
    background: var(--hub-signal);
    color: var(--hub-ink);
}

.signal-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 22px;
    padding: 14px 0;
    font-family: var(--hub-display);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: marquee-track 28s linear infinite;
}

.signal-marquee-track i {
    font-size: 0.55rem;
    font-style: normal;
}

.route-section {
    position: relative;
    z-index: 3;
    padding: clamp(88px, 10vw, 150px) 0;
    background:
        radial-gradient(circle at 90% 15%, rgba(54, 125, 246, 0.11), transparent 22%),
        linear-gradient(180deg, var(--hub-paper-bright), var(--hub-paper));
    color: var(--hub-copy);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.48fr);
    gap: 24px clamp(40px, 8vw, 120px);
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 82px);
}

.section-heading > * {
    min-width: 0;
}

.section-heading .signal-label {
    grid-column: 1 / -1;
    margin-bottom: -4px;
}

.section-heading h2 {
    margin: 0;
    border: 0;
    color: inherit;
    font-family: var(--hub-display);
    font-size: clamp(3.3rem, 7vw, 7.2rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.88;
    text-transform: uppercase;
}

.section-heading > p:last-child {
    max-width: 500px;
    margin: 0 0 8px;
    color: var(--hub-muted);
    font-size: clamp(1rem, 0.4vw + 0.92rem, 1.18rem);
}

.section-heading--inverse {
    color: var(--hub-paper-bright);
}

.section-heading--inverse > p:last-child {
    color: rgba(255, 253, 247, 0.62);
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.route-card {
    position: relative;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(7, 11, 18, 0.12);
    background: #ffffff;
    color: var(--hub-copy);
    text-decoration: none;
    box-shadow: none;
    isolation: isolate;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.route-card:hover,
.route-card:focus {
    border-color: rgba(7, 11, 18, 0.42);
    box-shadow: 0 24px 60px rgba(25, 32, 40, 0.14);
    transform: translateY(-5px);
}

.route-number {
    position: relative;
    z-index: 4;
    color: currentColor;
    font-family: var(--hub-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    opacity: 0.64;
    text-transform: uppercase;
}

.route-card-copy {
    position: relative;
    z-index: 4;
    display: grid;
    max-width: 510px;
    gap: 8px;
}

.route-card-copy small {
    font-family: var(--hub-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    opacity: 0.72;
    text-transform: uppercase;
}

.route-card-copy strong {
    font-family: var(--hub-display);
    font-size: clamp(1.8rem, 3.2vw, 3.3rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.route-card-copy > span {
    max-width: 460px;
    font-size: 0.92rem;
    line-height: 1.45;
    opacity: 0.74;
}

.route-arrow {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 6;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 1.05rem;
    opacity: 0.64;
    transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.route-card:hover .route-arrow,
.route-card:focus .route-arrow {
    background: var(--hub-paper-bright);
    color: var(--hub-ink);
    opacity: 1;
    transform: rotate(8deg);
}

.route-card--projects {
    grid-column: span 7;
    min-height: 440px;
    background:
        radial-gradient(circle at 76% 30%, rgba(88, 217, 236, 0.18), transparent 26%),
        linear-gradient(145deg, #09101a, #142133);
    color: var(--hub-paper-bright);
}

.route-card--projects .route-card-copy strong {
    font-size: clamp(3rem, 6vw, 6rem);
}

.route-radar {
    position: absolute;
    right: -8%;
    bottom: -32%;
    width: min(58%, 430px);
    aspect-ratio: 1;
    border: 1px solid rgba(88, 217, 236, 0.38);
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent 49.7%, rgba(88, 217, 236, 0.34) 50%, transparent 50.3%),
        linear-gradient(180deg, transparent 49.7%, rgba(88, 217, 236, 0.34) 50%, transparent 50.3%);
    box-shadow: 0 0 0 46px rgba(88, 217, 236, 0.025), 0 0 0 92px rgba(88, 217, 236, 0.018);
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.route-radar::after {
    content: "";
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(200, 246, 90, 0.32);
    border-radius: 50%;
}

.route-card--projects:hover .route-radar,
.route-card--projects:focus .route-radar {
    transform: rotate(18deg) scale(1.05);
}

.route-card--research {
    grid-column: span 5;
    min-height: 440px;
    justify-content: flex-end;
    background: #202936;
    color: var(--hub-paper-bright);
}

.research-portraits {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.research-portraits::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 11, 18, 0.05), rgba(7, 11, 18, 0.92) 76%);
}

.research-portraits img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08);
    transition: filter 300ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.research-portraits img:first-child {
    object-position: center 20%;
}

.research-portraits img:last-child {
    object-position: center 22%;
}

.route-card--research:hover .research-portraits img,
.route-card--research:focus .research-portraits img {
    filter: grayscale(0.18) contrast(1.02);
    transform: scale(1.025);
}

.route-card--thesis,
.route-card--resume,
.route-card--blog,
.route-card--tracks,
.route-card--seeber,
.route-card--search {
    grid-column: span 4;
}

.route-card--thesis {
    background: #ddd5c7;
}

.route-card--thesis > img {
    position: absolute;
    top: 34px;
    right: 24px;
    width: 34%;
    height: 64%;
    object-fit: contain;
    filter: drop-shadow(0 16px 18px rgba(7, 11, 18, 0.14));
    transform: rotate(4deg);
    transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.route-card--thesis .route-card-copy {
    max-width: 64%;
}

.route-card--thesis:hover > img,
.route-card--thesis:focus > img {
    transform: rotate(1deg) translateY(-5px);
}

.route-card--resume {
    background: var(--hub-signal);
    color: var(--hub-ink);
}

.route-card--resume::after {
    content: "CV";
    position: absolute;
    right: -14px;
    bottom: -50px;
    color: rgba(7, 11, 18, 0.08);
    font-family: var(--hub-display);
    font-size: 13rem;
    font-weight: 900;
    letter-spacing: -0.12em;
    line-height: 1;
}

.route-card--blog {
    background: var(--hub-blue);
    color: #ffffff;
}

.route-card--blog .route-card-copy strong {
    font-size: clamp(1.65rem, 2.3vw, 2.4rem);
}

.route-wave {
    position: absolute;
    right: -4%;
    bottom: 25%;
    width: 58%;
    height: 38px;
    opacity: 0.34;
    background: repeating-linear-gradient(90deg, transparent 0 5px, #ffffff 5px 7px);
    mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
    transform: skewY(-10deg);
}

.route-card--tracks {
    background: #0b1420;
    color: var(--hub-paper-bright);
}

.route-card--tracks > img {
    position: absolute;
    inset: 38px 20px 82px;
    width: calc(100% - 40px);
    height: calc(100% - 120px);
    object-fit: contain;
    opacity: 0.72;
    transition: opacity 220ms ease, transform 500ms ease;
}

.route-card--tracks:hover > img,
.route-card--tracks:focus > img {
    opacity: 1;
    transform: scale(1.025);
}

.route-card--tracks .route-card-copy,
.route-card--seeber .route-card-copy {
    padding: 12px;
    background: rgba(7, 11, 18, 0.76);
    color: var(--hub-paper-bright);
}

.route-card--seeber {
    background: #1e2921;
    color: var(--hub-paper-bright);
}

.route-card--seeber > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    filter: saturate(0.82) brightness(0.78);
    transition: filter 220ms ease, transform 600ms ease;
}

.route-card--seeber:hover > img,
.route-card--seeber:focus > img {
    filter: saturate(1) brightness(0.86);
    transform: scale(1.03);
}

.route-card--search {
    background: var(--hub-acid);
    color: var(--hub-ink);
}

.search-glyph {
    position: absolute;
    top: 54px;
    right: 56px;
    width: 108px;
    height: 108px;
    border: 12px solid var(--hub-ink);
    border-radius: 50%;
    opacity: 0.12;
    transition: opacity 220ms ease, transform 400ms ease;
}

.search-glyph::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -34px;
    width: 64px;
    height: 12px;
    border-radius: 999px;
    background: var(--hub-ink);
    transform: rotate(45deg);
    transform-origin: left center;
}

.route-card--search:hover .search-glyph,
.route-card--search:focus .search-glyph {
    opacity: 0.22;
    transform: translate(-5px, -5px) scale(1.04);
}

.research-section {
    position: relative;
    padding: clamp(90px, 11vw, 160px) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 30%, rgba(255, 112, 72, 0.12), transparent 25%),
        radial-gradient(circle at 90% 72%, rgba(54, 125, 246, 0.12), transparent 24%),
        var(--hub-ink);
}

.research-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.7px, transparent 0.7px);
    background-size: 16px 16px;
    opacity: 0.2;
}

.research-section .hub-frame {
    position: relative;
    z-index: 2;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.research-feature {
    position: relative;
    display: flex;
    min-height: clamp(540px, 64vw, 760px);
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--hub-paper-bright);
    text-decoration: none;
    isolation: isolate;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.research-feature:hover,
.research-feature:focus {
    border-color: rgba(200, 246, 90, 0.58);
    color: var(--hub-paper-bright);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    transform: translateY(-6px);
}

.research-feature img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.9) contrast(1.08);
    transition: filter 300ms ease, transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.research-feature--bob img {
    object-position: center 19%;
}

.research-feature--haynes img {
    object-position: center 20%;
}

.research-feature:hover img,
.research-feature:focus img {
    filter: grayscale(0.16) contrast(1.02);
    transform: scale(1.035);
}

.research-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, 0.03) 22%, rgba(7, 11, 18, 0.88) 79%, #070b12 100%),
        linear-gradient(90deg, rgba(7, 11, 18, 0.32), transparent 60%);
}

.research-status {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(7, 11, 18, 0.68);
    color: var(--hub-acid);
    font-family: var(--hub-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.research-feature-copy {
    display: grid;
    gap: 8px;
    max-width: 560px;
    padding: clamp(26px, 4vw, 48px);
}

.research-feature-copy small {
    color: var(--hub-cyan);
    font-family: var(--hub-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.research-feature-copy strong {
    font-family: var(--hub-display);
    font-size: clamp(2.4rem, 4.5vw, 5.1rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.9;
}

.research-feature-copy > span {
    max-width: 460px;
    color: rgba(255, 253, 247, 0.68);
    font-size: 0.95rem;
}

.research-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.research-feature:hover .research-arrow,
.research-feature:focus .research-arrow {
    background: var(--hub-acid);
    color: var(--hub-ink);
    transform: rotate(8deg);
}

.evidence-note {
    display: grid;
    grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    margin-top: 18px;
    padding: 22px 0;
    border-block: 1px solid rgba(255, 255, 255, 0.14);
}

.evidence-note-index {
    color: var(--hub-signal);
    font-family: var(--hub-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.evidence-note p {
    margin: 0;
    color: rgba(255, 253, 247, 0.62);
}

.evidence-note a {
    color: var(--hub-paper-bright);
    font-family: var(--hub-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration-color: var(--hub-cyan);
    text-underline-offset: 5px;
    text-transform: uppercase;
}

.dispatch-section {
    position: relative;
    padding: clamp(88px, 10vw, 150px) 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(54, 125, 246, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(54, 125, 246, 0.08) 1px, transparent 1px),
        #dfeaf2;
    background-size: 42px 42px;
    color: var(--hub-copy);
}

.dispatch-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.65fr);
    gap: clamp(42px, 9vw, 130px);
    align-items: center;
}

.dispatch-copy h2 {
    margin: 0 0 26px;
    border: 0;
    color: var(--hub-copy);
    font-family: var(--hub-display);
    font-size: clamp(3.2rem, 6.8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.88;
    text-transform: uppercase;
}

.dispatch-copy > p:not(.signal-label) {
    max-width: 680px;
    margin: 0 0 28px;
    color: #4e5964;
    font-size: clamp(1rem, 0.45vw + 0.92rem, 1.2rem);
}

.dispatch-visual {
    position: relative;
    display: block;
    min-height: 560px;
    overflow: hidden;
    border: 12px solid var(--hub-paper-bright);
    background: var(--hub-ink);
    color: var(--hub-paper-bright);
    box-shadow: 32px 32px 0 var(--hub-blue), 0 28px 70px rgba(31, 57, 78, 0.24);
    text-decoration: none;
    transform: rotate(2deg);
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.dispatch-visual:hover,
.dispatch-visual:focus {
    color: var(--hub-paper-bright);
    box-shadow: 22px 22px 0 var(--hub-signal), 0 36px 86px rgba(31, 57, 78, 0.3);
    transform: rotate(0deg) translateY(-5px);
}

.dispatch-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(1) contrast(1.08);
    transition: filter 300ms ease, transform 700ms ease;
}

.dispatch-visual:hover img,
.dispatch-visual:focus img {
    filter: grayscale(0.15);
    transform: scale(1.025);
}

.dispatch-visual > span {
    position: absolute;
    right: -8px;
    bottom: 12px;
    color: var(--hub-acid);
    font-family: var(--hub-display);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.78;
    text-shadow: 0 8px 36px rgba(7, 11, 18, 0.56);
}

.dispatch-visual > small {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 9px;
    background: var(--hub-ink);
    color: var(--hub-cyan);
    font-family: var(--hub-mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.closing-signal {
    position: relative;
    padding: clamp(84px, 10vw, 150px) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 110%, rgba(255, 112, 72, 0.28), transparent 34%),
        radial-gradient(circle at 86% -20%, rgba(88, 217, 236, 0.18), transparent 32%),
        var(--hub-ink);
}

.closing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
    gap: clamp(40px, 8vw, 120px);
    align-items: end;
}

.closing-layout h2 {
    margin: 0;
    border: 0;
    color: var(--hub-paper-bright);
    font-family: var(--hub-display);
    font-size: clamp(3.5rem, 8vw, 8.6rem);
    font-weight: 900;
    letter-spacing: -0.085em;
    line-height: 0.82;
    text-transform: uppercase;
}

.closing-actions {
    display: grid;
    justify-items: start;
    gap: 18px;
}

.closing-actions p {
    margin: 0;
    color: rgba(255, 253, 247, 0.62);
}

.closing-actions > a:not(.hub-button) {
    color: var(--hub-cyan);
    font-family: var(--hub-mono);
    font-size: 0.74rem;
    text-underline-offset: 5px;
}

.site-v2 .site-footer.hub-footer {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #04070c;
    box-shadow: none;
    color: rgba(255, 253, 247, 0.58);
}

.footer-layout {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) auto auto;
    gap: 24px 38px;
    align-items: center;
    padding-block: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-footer .hub-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.hub-footer p,
.hub-footer small {
    margin: 0;
    font-size: 0.76rem;
}

.hub-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hub-footer nav a {
    color: rgba(255, 253, 247, 0.72);
    font-family: var(--hub-mono);
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.hub-footer nav a:hover,
.hub-footer nav a:focus {
    color: var(--hub-acid);
}

/* Projects index: same visual language, existing semantic content. */
.site-v2.projects-page {
    background: var(--hub-ink);
    color: var(--hub-paper);
}

.site-v2.projects-page .projects-hero {
    position: relative;
    min-height: max(720px, 92svh);
    padding: 24px 0 78px !important;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 11, 18, 0.98) 0%, rgba(7, 11, 18, 0.94) 43%, rgba(7, 11, 18, 0.3) 72%, rgba(7, 11, 18, 0.12) 100%),
        linear-gradient(180deg, transparent 50%, rgba(7, 11, 18, 0.78)),
        url("/projects/bob-cary-research/assets/images/444th-bomb-squadron-b26-marauder.jpg") right center / 64% auto no-repeat;
    color: var(--hub-paper-bright);
}

.site-v2.projects-page .projects-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(88, 217, 236, 0.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(88, 217, 236, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, #000, transparent 70%);
    pointer-events: none;
}

.site-v2.projects-page .projects-hero .projects-shell {
    position: relative;
    z-index: 2;
}

.site-v2.projects-page .projects-hero .hub-nav {
    margin-bottom: clamp(82px, 12vh, 130px);
}

.site-v2.projects-page .projects-hero .hero-copy {
    max-width: 830px;
    padding: 0;
}

.site-v2.projects-page .projects-hero .eyebrow,
.site-v2.projects-page .research-copy .eyebrow,
.site-v2.projects-page .side-note .eyebrow {
    margin: 0 0 18px;
    color: var(--hub-cyan);
    font-family: var(--hub-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}

.site-v2.projects-page .projects-hero h1 {
    max-width: 760px;
    margin: 0 0 26px;
    color: var(--hub-paper-bright);
    font-family: var(--hub-display);
    font-size: clamp(4.6rem, 9vw, 9.4rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.82;
    text-transform: uppercase;
}

.site-v2.projects-page .hero-intro {
    max-width: 680px;
    color: rgba(255, 253, 247, 0.68);
    font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.3rem);
}

.site-v2.projects-page .hero-route {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 830px;
    margin: 34px 0 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.site-v2.projects-page .hero-route li {
    border: 0;
}

.site-v2.projects-page .hero-route a {
    display: grid;
    min-height: 148px;
    align-content: end;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(7, 11, 18, 0.62);
    color: var(--hub-paper-bright);
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-v2.projects-page .hero-route a:hover,
.site-v2.projects-page .hero-route a:focus {
    border-color: rgba(200, 246, 90, 0.64);
    background: rgba(16, 27, 41, 0.9);
    color: var(--hub-paper-bright);
    transform: translateY(-4px);
}

.site-v2.projects-page .hero-route .route-number {
    color: var(--hub-signal);
    opacity: 1;
}

.site-v2.projects-page .hero-route strong {
    color: var(--hub-paper-bright);
    font-family: var(--hub-display);
    font-size: 1.25rem;
}

.site-v2.projects-page .hero-route p {
    margin: 0;
    color: rgba(255, 253, 247, 0.58);
    font-size: 0.76rem;
    line-height: 1.35;
}

.site-v2.projects-page main.projects-shell {
    display: grid;
    gap: 22px;
    padding: 42px 0 82px;
}

.site-v2.projects-page .projects-section {
    margin: 0;
    padding: clamp(42px, 6vw, 76px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: var(--hub-paper);
    color: var(--hub-copy);
}

.site-v2.projects-page .section-lead {
    display: grid;
    grid-template-columns: minmax(220px, 0.54fr) minmax(0, 0.9fr);
    gap: clamp(28px, 6vw, 84px);
    align-items: end;
    margin-bottom: clamp(38px, 5vw, 66px);
}

.site-v2.projects-page .section-lead h2 {
    margin: 0;
    border: 0;
    color: var(--hub-copy);
    font-family: var(--hub-display);
    font-size: clamp(3rem, 5.8vw, 6.2rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.9;
    text-transform: uppercase;
}

.site-v2.projects-page .section-lead p {
    margin: 0;
    color: var(--hub-muted);
    font-size: 1rem;
}

.site-v2.projects-page .research-flow {
    display: grid;
    gap: 18px;
}

.site-v2.projects-page .research-row {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    min-height: 520px;
    overflow: hidden;
    border: 0;
    background: var(--hub-ink-soft);
    color: var(--hub-paper-bright);
    box-shadow: 0 24px 60px rgba(31, 37, 43, 0.18);
}

.site-v2.projects-page .research-row:nth-child(even) {
    background: #dfeaf2;
    color: var(--hub-copy);
}

.site-v2.projects-page .research-row:nth-child(even) img {
    order: 2;
}

.site-v2.projects-page .research-row > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    filter: grayscale(0.9) contrast(1.07);
    transition: filter 300ms ease, transform 700ms ease;
}

.site-v2.projects-page .research-row:hover > img {
    filter: grayscale(0.12);
    transform: scale(1.025);
}

.site-v2.projects-page .research-copy {
    display: grid;
    align-content: center;
    justify-items: start;
    padding: clamp(30px, 5vw, 70px);
}

.site-v2.projects-page .research-row:nth-child(even) .eyebrow {
    color: var(--hub-signal-dark);
}

.site-v2.projects-page .research-copy h3 {
    margin: 0 0 18px;
    color: inherit;
    font-family: var(--hub-display);
    font-size: clamp(2.6rem, 4.7vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.9;
}

.site-v2.projects-page .research-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 0 22px;
    color: inherit;
    opacity: 0.68;
}

.site-v2.projects-page .research-copy > .text-link {
    display: inline-flex;
    padding: 11px 14px;
    background: var(--hub-signal);
    color: var(--hub-ink);
    font-family: var(--hub-mono);
    font-size: 0.7rem;
    text-decoration: none;
    text-transform: uppercase;
}

.site-v2.projects-page .detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 20px;
}

.site-v2.projects-page .detail-links .text-link {
    color: inherit;
    font-size: 0.75rem;
    opacity: 0.72;
    text-underline-offset: 4px;
}

.site-v2.projects-page .lane-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border: 0;
}

.site-v2.projects-page .lane-row {
    position: relative;
    display: grid;
    min-height: 260px;
    align-content: end;
    gap: 8px;
    overflow: hidden;
    padding: 26px;
    border: 1px solid rgba(7, 11, 18, 0.12);
    background: #ffffff;
    color: var(--hub-copy);
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-v2.projects-page .lane-row:first-child {
    grid-column: 1 / -1;
    min-height: 360px;
    padding-right: 48%;
    background:
        linear-gradient(90deg, rgba(7, 11, 18, 0.98) 0 47%, rgba(7, 11, 18, 0.7) 64%, rgba(7, 11, 18, 0.08)),
        url("/projects/thesis/assets/images/thesis-scorecard-grid.svg") right center / 54% auto no-repeat,
        var(--hub-ink);
    color: var(--hub-paper-bright);
}

.site-v2.projects-page .lane-row:nth-child(2) {
    background: var(--hub-blue);
    color: #ffffff;
}

.site-v2.projects-page .lane-row:nth-child(3) {
    background: var(--hub-acid);
}

.site-v2.projects-page .lane-row:nth-child(4) {
    background: #d5dfd1;
}

.site-v2.projects-page .lane-row:nth-child(5) {
    background: var(--hub-signal);
}

.site-v2.projects-page .lane-row:hover,
.site-v2.projects-page .lane-row:focus {
    border-color: rgba(7, 11, 18, 0.44);
    box-shadow: 0 20px 48px rgba(35, 42, 49, 0.16);
    transform: translateY(-4px);
}

.site-v2.projects-page .lane-kicker {
    font-family: var(--hub-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    opacity: 0.68;
    text-transform: uppercase;
}

.site-v2.projects-page .lane-row strong {
    font-family: var(--hub-display);
    font-size: clamp(2rem, 3.3vw, 3.6rem);
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.site-v2.projects-page .lane-row p {
    max-width: 560px;
    margin: 0;
    opacity: 0.7;
}

.site-v2.projects-page .lane-row strong,
.site-v2.projects-page .lane-row p,
.site-v2.projects-page .update-link strong,
.site-v2.projects-page .update-link p {
    color: inherit;
}

.site-v2.projects-page .update-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: 0;
}

.site-v2.projects-page .update-link {
    display: grid;
    min-height: 280px;
    align-content: end;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(7, 11, 18, 0.14);
    background: #ffffff;
    color: var(--hub-copy);
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-v2.projects-page .update-link:hover,
.site-v2.projects-page .update-link:focus {
    border-color: var(--hub-ink);
    background: var(--hub-ink);
    color: var(--hub-paper-bright);
    transform: translateY(-4px);
}

.site-v2.projects-page .update-link time {
    color: var(--hub-signal-dark);
    font-family: var(--hub-mono);
    font-size: 0.66rem;
}

.site-v2.projects-page .update-link strong {
    font-family: var(--hub-display);
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
    letter-spacing: -0.04em;
    line-height: 1;
}

.site-v2.projects-page .update-link p {
    margin: 0;
    opacity: 0.66;
    font-size: 0.86rem;
}

.site-v2.projects-page .closing-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 48px;
    align-items: center;
    margin: 0;
    padding: clamp(42px, 6vw, 76px);
    background: var(--hub-ink-soft);
    color: var(--hub-paper-bright);
}

.site-v2.projects-page .closing-route h2 {
    margin: 0 0 16px;
    color: inherit;
    font-family: var(--hub-display);
    font-size: clamp(3rem, 5.5vw, 5.8rem);
    letter-spacing: -0.07em;
    line-height: 0.9;
}

.site-v2.projects-page .closing-route p {
    color: rgba(255, 253, 247, 0.62);
}

.site-v2.projects-page .closing-route .text-link {
    color: var(--hub-cyan);
}

.site-v2.projects-page .side-note {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.site-v2.projects-page > .site-footer {
    margin-bottom: 22px;
    padding: 22px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 253, 247, 0.58);
    font-family: var(--hub-mono);
    font-size: 0.7rem;
}

.site-v2.projects-page > .site-footer a {
    color: var(--hub-cyan);
}

.motion-ready .site-v2 [data-reveal] {
    opacity: 1;
    transform: none;
}

.motion-ready .site-v2 [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@keyframes signal-pulse {
    0% { box-shadow: 0 0 0 0 rgba(200, 246, 90, 0.52); }
    70% { box-shadow: 0 0 0 10px rgba(200, 246, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 246, 90, 0); }
}

@keyframes orbit-drift {
    to { transform: rotate(360deg); }
}

@keyframes marquee-track {
    to { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
    .hero-layout {
        grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
        gap: 24px;
    }

    .home-page .hero-copy h1 {
        font-size: clamp(6.4rem, 12vw, 8.8rem);
    }

    .route-card--thesis,
    .route-card--resume,
    .route-card--blog,
    .route-card--tracks,
    .route-card--seeber,
    .route-card--search {
        grid-column: span 6;
    }

    .route-card--blog,
    .route-card--search {
        grid-column: span 12;
    }

    .route-card--blog,
    .route-card--search {
        min-height: 260px;
    }

    .site-v2.projects-page .lane-list,
    .site-v2.projects-page .update-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-v2.projects-page .update-link:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .hub-frame,
    .site-v2.projects-page .projects-shell,
    .site-v2.projects-page .site-footer {
        width: min(100% - 32px, 1240px);
    }

    .hub-header {
        padding-top: 14px !important;
    }

    .site-v2 .site-nav.hub-nav {
        gap: 10px;
    }

    .hub-nav-links {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .hub-nav-links::-webkit-scrollbar {
        display: none;
    }

    .site-v2 .site-nav.hub-nav .hub-nav-links a {
        flex: 0 0 auto;
    }

    .hub-hero {
        min-height: auto;
        padding-top: 124px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 68px;
    }

    .home-page .hero-copy h1 {
        font-size: clamp(6.8rem, 20vw, 10rem);
    }

    .hero-stage {
        width: min(100%, 680px);
        height: 600px;
        margin-inline: auto;
    }

    .section-heading,
    .dispatch-layout,
    .closing-layout {
        grid-template-columns: 1fr;
    }

    .section-heading > p:last-child {
        max-width: 680px;
    }

    .route-card--projects,
    .route-card--research {
        grid-column: span 12;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .research-feature {
        min-height: 680px;
    }

    .evidence-note {
        grid-template-columns: 1fr;
    }

    .dispatch-visual {
        width: min(82%, 500px);
        justify-self: center;
    }

    .footer-layout {
        grid-template-columns: 1fr 1fr;
    }

    .site-v2.projects-page .projects-hero {
        background:
            linear-gradient(180deg, rgba(7, 11, 18, 0.93), rgba(7, 11, 18, 0.7) 58%, #070b12 100%),
            url("/projects/bob-cary-research/assets/images/444th-bomb-squadron-b26-marauder.jpg") center / cover no-repeat;
    }

    .site-v2.projects-page .section-lead,
    .site-v2.projects-page .closing-route {
        grid-template-columns: 1fr;
    }

    .site-v2.projects-page .research-row {
        grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    }
}

@media (max-width: 620px) {
    .hub-frame,
    .site-v2.projects-page .projects-shell,
    .site-v2.projects-page .site-footer {
        width: min(100% - 24px, 1240px);
    }

    .site-v2 .site-nav.hub-nav {
        grid-template-columns: 1fr;
        padding: 8px;
        border-radius: 16px;
    }

    .site-v2 .site-nav.hub-nav .hub-brand {
        justify-content: flex-start;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    .hub-nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 0;
        overflow-x: visible;
    }

    .site-v2 .site-nav.hub-nav .hub-nav-links a {
        min-height: 44px;
        padding: 10px 6px;
        font-size: 0.72rem;
        letter-spacing: 0.035em;
    }

    .hub-hero {
        padding-top: 154px;
        padding-bottom: 54px;
    }

    .home-page .hero-copy h1 {
        margin-bottom: 26px;
        font-size: clamp(5.4rem, 27vw, 7.4rem);
    }

    .home-page .hero-copy h1 span:last-child {
        margin-left: 12px;
    }

    .hero-actions {
        display: grid;
    }

    .hub-button {
        width: 100%;
    }

    .hero-index {
        grid-template-columns: 1fr;
    }

    .hero-index div {
        display: grid;
        grid-template-columns: 74px 1fr;
        gap: 10px;
        padding: 9px 0;
    }

    .hero-index div + div {
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .hero-index dt {
        margin: 0;
    }

    .hero-stage {
        height: 430px;
    }

    .stage-card--aircraft {
        top: 6%;
        width: 91%;
        height: 58%;
    }

    .stage-card--thesis {
        width: 50%;
        height: 41%;
    }

    .stage-card--tracks {
        width: 43%;
        height: 31%;
    }

    .stage-coordinate--side {
        display: none;
    }

    .stage-caption {
        padding: 22px 10px 10px;
    }

    .stage-caption small {
        display: none;
    }

    .signal-marquee-track {
        font-size: 0.72rem;
    }

    .route-section,
    .research-section,
    .dispatch-section,
    .closing-signal {
        padding-block: 78px;
    }

    .section-heading h2,
    .dispatch-copy h2,
    .closing-layout h2 {
        font-size: clamp(2.75rem, 12vw, 4.2rem);
    }

    .route-grid {
        grid-template-columns: 1fr;
    }

    .route-card,
    .route-card--projects,
    .route-card--research,
    .route-card--thesis,
    .route-card--resume,
    .route-card--blog,
    .route-card--tracks,
    .route-card--seeber,
    .route-card--search {
        grid-column: 1;
        min-height: 320px;
    }

    .route-card--projects,
    .route-card--research {
        min-height: 410px;
    }

    .route-card--thesis .route-card-copy {
        max-width: 68%;
    }

    .route-card-copy strong {
        font-size: clamp(1.8rem, 10vw, 3rem);
    }

    .research-feature {
        min-height: 590px;
    }

    .research-feature-copy {
        padding: 24px;
        padding-right: 68px;
    }

    .research-feature-copy strong {
        font-size: clamp(2.5rem, 13vw, 4.2rem);
    }

    .research-status {
        top: 12px;
        left: 12px;
    }

    .dispatch-visual {
        width: calc(100% - 20px);
        min-height: 500px;
        border-width: 8px;
        box-shadow: 18px 18px 0 var(--hub-blue), 0 24px 58px rgba(31, 57, 78, 0.24);
    }

    .dispatch-visual img {
        min-height: 500px;
    }

    .footer-layout {
        grid-template-columns: 1fr;
    }

    .site-v2.projects-page .projects-hero {
        min-height: auto;
        padding-top: 14px !important;
        padding-bottom: 58px !important;
    }

    .site-v2.projects-page .projects-hero .hub-nav {
        margin-bottom: 72px;
    }

    .site-v2.projects-page .projects-hero h1 {
        font-size: clamp(3.8rem, 19vw, 5.6rem);
    }

    .site-v2.projects-page .hero-route,
    .site-v2.projects-page .lane-list,
    .site-v2.projects-page .update-list {
        grid-template-columns: 1fr;
    }

    .site-v2.projects-page .hero-route a {
        min-height: auto;
    }

    .site-v2.projects-page .projects-section,
    .site-v2.projects-page .closing-route {
        min-width: 0;
        width: 100%;
        padding: 32px 22px;
    }

    .site-v2.projects-page .section-lead h2,
    .site-v2.projects-page .closing-route h2 {
        font-size: clamp(2.4rem, 10.5vw, 3.7rem);
    }

    .site-v2.projects-page main.projects-shell,
    .site-v2.projects-page .section-lead,
    .site-v2.projects-page .research-flow,
    .site-v2.projects-page .lane-list,
    .site-v2.projects-page .update-list,
    .site-v2.projects-page .closing-route {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-v2.projects-page .section-lead > *,
    .site-v2.projects-page .research-flow > *,
    .site-v2.projects-page .lane-list > *,
    .site-v2.projects-page .update-list > *,
    .site-v2.projects-page .closing-route > * {
        min-width: 0;
    }

    .site-v2.projects-page .research-row {
        grid-template-columns: 1fr;
    }

    .site-v2.projects-page .research-row > img {
        height: 390px;
    }

    .site-v2.projects-page .research-row:nth-child(even) img {
        order: 0;
    }

    .site-v2.projects-page .research-copy {
        padding: 28px 22px 34px;
    }

    .site-v2.projects-page .research-copy h3 {
        font-size: clamp(2.7rem, 14vw, 4.3rem);
    }

    .site-v2.projects-page .lane-row,
    .site-v2.projects-page .lane-row:first-child,
    .site-v2.projects-page .update-link,
    .site-v2.projects-page .update-link:first-child {
        grid-column: 1;
        min-height: 250px;
        padding: 22px;
    }

    .site-v2.projects-page .lane-row:first-child {
        padding-right: 22px;
        background:
            linear-gradient(180deg, rgba(7, 11, 18, 0.42), rgba(7, 11, 18, 0.96) 66%),
            url("/projects/thesis/assets/images/thesis-scorecard-grid.svg") center top / cover no-repeat,
            var(--hub-ink);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-v2 *,
    .site-v2 *::before,
    .site-v2 *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .motion-ready .site-v2 [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
    .site-v2 .site-nav.hub-nav,
    .site-v2.projects-page .hero-route a,
    .research-status {
        background: var(--hub-ink);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .route-card,
    .research-feature,
    .site-v2.projects-page .research-row,
    .site-v2.projects-page .lane-row,
    .site-v2.projects-page .update-link {
        border-width: 2px;
    }
}
