@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap");

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

:root {
    --bg: #050816;
    --bg-soft: #0b1027;
    --surface: rgba(10, 18, 42, 0.58);
    --surface-strong: rgba(17, 28, 61, 0.82);
    --surface-glass: rgba(255, 255, 255, 0.07);
    --text: #eef3ff;
    --muted: #95a0c2;
    --accent: #8ef5d0;
    --accent-2: #86b8ff;
    --accent-3: #ffd07b;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    --font-display: "Manrope", sans-serif;
    --font-body: "Manrope", sans-serif;
    --pad-x: clamp(20px, 4vw, 60px);
    --section-gap: clamp(72px, 10vw, 140px);
    --header-h: 74px;
    --scroll-depth: 0;
    --journey-glow: rgba(142, 245, 208, 0.08);
    --mouse-x: 0;
    --mouse-y: 0;
}

html.theme-light {
    --bg: #07101f;
    --bg-soft: #0f1830;
    --surface: rgba(10, 18, 42, 0.66);
    --surface-strong: rgba(15, 25, 52, 0.9);
    --surface-glass: rgba(255, 255, 255, 0.06);
    --text: #edf2ff;
    --muted: #97a6ca;
    --accent: #82ead0;
    --accent-2: #8db7ff;
    --accent-3: #f1c27c;
    --line: rgba(255, 255, 255, 0.11);
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

html.theme-light #star-canvas {
    filter: none;
    opacity: 0.78;
}

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

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

}

body {
    min-height: 100vh;
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 20% 15%, rgba(74, 95, 199, 0.22), transparent 28%),
        radial-gradient(circle at 78% 24%, rgba(67, 188, 160, 0.18), transparent 26%),
        radial-gradient(circle at 50% 70%, rgba(255, 168, 89, 0.09), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, #060913 36%, var(--bg-soft) 100%);
    color: var(--text);
    font-size: 14px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.theme-light body {
    background:
        radial-gradient(circle at 18% 14%, rgba(93, 124, 221, 0.18), transparent 28%),
        radial-gradient(circle at 80% 18%, rgba(90, 231, 202, 0.12), transparent 24%),
        radial-gradient(circle at 54% 70%, rgba(241, 194, 124, 0.08), transparent 22%),
        linear-gradient(180deg, #091122 0%, var(--bg) 34%, var(--bg-soft) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        conic-gradient(from calc(var(--scroll-depth) * 260deg) at 50% 42%, transparent, var(--journey-glow), transparent 24%),
        radial-gradient(circle at calc(18% + var(--scroll-depth) * 18%) 18%, rgba(134, 184, 255, 0.2), transparent 28%),
        radial-gradient(circle at calc(82% - var(--scroll-depth) * 16%) 74%, rgba(255, 208, 123, 0.11), transparent 24%);
    filter: blur(12px);
    transform: translate3d(0, calc(var(--scroll-depth) * -80px), 0);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% calc(18% + var(--scroll-depth) * 56%), rgba(255, 255, 255, 0.12), transparent 12%),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.025) 38%, transparent 100%);
    opacity: 0.7;
    transform: scaleY(calc(1 + var(--scroll-depth) * 0.08));
}

html.theme-light body::before {
    background:
        conic-gradient(from calc(var(--scroll-depth) * 220deg) at 50% 42%, transparent, rgba(130, 234, 208, 0.06), transparent 24%),
        radial-gradient(circle at calc(18% + var(--scroll-depth) * 18%) 18%, rgba(141, 183, 255, 0.14), transparent 28%),
        radial-gradient(circle at calc(82% - var(--scroll-depth) * 16%) 74%, rgba(241, 194, 124, 0.08), transparent 24%);
    filter: blur(13px);
}

html.theme-light body::after {
    background:
        radial-gradient(circle at 50% calc(18% + var(--scroll-depth) * 56%), rgba(255, 255, 255, 0.08), transparent 12%),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 38%, transparent 100%);
    opacity: 0.62;
}

html.theme-light .nebula {
    opacity: 0.34;
    mix-blend-mode: screen;
}

html.theme-light .grid-glow {
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

html.theme-light .depth-lanes {
    opacity: 0.26;
}

body[data-active-section="hero"] {
    --journey-glow: rgba(134, 184, 255, 0.12);
}

body[data-active-section="about"] {
    --journey-glow: rgba(142, 245, 208, 0.12);
}

body[data-active-section="work"] {
    --journey-glow: rgba(255, 208, 123, 0.1);
}

body[data-active-section="volunteering"] {
    --journey-glow: rgba(142, 245, 208, 0.11);
}

body[data-active-section="certifications"] {
    --journey-glow: rgba(134, 184, 255, 0.1);
}

body[data-active-section="contact"] {
    --journey-glow: rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3,
strong {
    font-family: var(--font-display);
    color: var(--text);
}


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

img {
    display: block;
}

ul {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.skip-link {
    position: absolute;
    top: -999px;
    left: 24px;
    z-index: 9999;
    padding: 12px 22px;
    border-radius: 8px;
    background: var(--accent);
    color: #06101a;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.skip-link:focus {
    top: 16px;
}

#star-canvas,
.nebula,
.grid-glow,
.depth-lanes {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

#star-canvas {
    z-index: 0;
}

.nebula {
    z-index: 0;
    mix-blend-mode: screen;
    opacity: 0.45;
}

.nebula-a {
    background: radial-gradient(circle at 20% 25%, rgba(86, 116, 255, 0.28), transparent 32%);
}

.nebula-b {
    background: radial-gradient(circle at 78% 68%, rgba(61, 255, 198, 0.14), transparent 28%);
}

.grid-glow {
    z-index: 0;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
    transform: translateY(calc(var(--scroll-depth) * -120px));
}

.depth-lanes {
    z-index: 0;
    overflow: hidden;
    opacity: 0.32;
    perspective: 900px;
}

.depth-lanes span {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 1px;
    height: 125vh;
    transform-origin: top center;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.22), transparent);
    filter: blur(0.4px);
}

.depth-lanes span:nth-child(1) {
    transform: translate3d(0, calc(var(--scroll-depth) * -32px), 0) rotate(72deg) scaleY(calc(1 + var(--scroll-depth) * 0.16));
}

.depth-lanes span:nth-child(2) {
    transform: translate3d(0, calc(var(--scroll-depth) * -46px), 0) rotate(86deg) scaleY(calc(1 + var(--scroll-depth) * 0.24));
    opacity: 0.65;
}

.depth-lanes span:nth-child(3) {
    transform: translate3d(0, calc(var(--scroll-depth) * -58px), 0) rotate(98deg) scaleY(calc(1 + var(--scroll-depth) * 0.22));
    opacity: 0.5;
}

.depth-lanes span:nth-child(4) {
    transform: translate3d(0, calc(var(--scroll-depth) * -44px), 0) rotate(112deg) scaleY(calc(1 + var(--scroll-depth) * 0.18));
    opacity: 0.38;
}

.depth-lanes span:nth-child(5) {
    transform: translate3d(0, calc(var(--scroll-depth) * -30px), 0) rotate(128deg) scaleY(calc(1 + var(--scroll-depth) * 0.14));
    opacity: 0.28;
}

.voyage-rail {
    position: fixed;
    top: 50%;
    left: clamp(2px, 0.8vw, 12px);
    z-index: 80;
    width: 24px;
    height: min(62vh, 520px);
    pointer-events: none;
    transform: translateY(-50%);
}

.voyage-line {
    position: absolute;
    top: 0;
    left: 10px;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(142, 245, 208, 0.08),
        rgba(142, 245, 208, 0.7) calc(var(--scroll-depth) * 100%),
        rgba(255, 255, 255, 0.08) calc(var(--scroll-depth) * 100%),
        rgba(255, 255, 255, 0.04)
    );
    box-shadow: 0 0 18px rgba(142, 245, 208, 0.18);
}

.voyage-dot {
    position: absolute;
    left: 6px;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(142, 245, 208, 0.72);
    background: #050816;
    box-shadow: 0 0 16px rgba(142, 245, 208, 0.28);
    transform: rotate(45deg);
}

.voyage-ship {
    position: absolute;
    left: 1px;
    top: calc(var(--scroll-depth) * (100% - 22px));
    width: 20px;
    height: 22px;
    clip-path: polygon(50% 0, 100% 82%, 50% 62%, 0 82%);
    background: linear-gradient(180deg, #ffffff, var(--accent));
    box-shadow:
        0 0 18px rgba(142, 245, 208, 0.55),
        0 14px 26px rgba(142, 245, 208, 0.18);
    transform: translateY(-4px);
}

.voyage-ship::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 18px;
    width: 4px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(142, 245, 208, 0.75), transparent);
    filter: blur(1px);
}

.voyage-dot-hero {
    top: 0;
}

.voyage-dot-profile {
    top: 24%;
}

.voyage-dot-work {
    top: 48%;
}

.voyage-dot-impact {
    top: 72%;
}

.voyage-dot-contact {
    bottom: 0;
}

.voyage-label {
    position: absolute;
    top: -30px;
    left: -20px;
    color: rgba(238, 243, 255, 0.42);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: none;
    white-space: nowrap;
}

.warp-corridor {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.38;
    transform: translate3d(calc(var(--mouse-x) * -16px), calc(var(--mouse-y) * -14px), 0);
}

.warp-corridor span {
    position: absolute;
    left: 50%;
    top: 12%;
    width: 1px;
    height: 120vh;
    transform-origin: top center;
    background: linear-gradient(to bottom, transparent, rgba(142, 245, 208, 0.22), transparent);
    filter: blur(0.2px);
}

.warp-corridor span:nth-child(1) {
    transform: rotate(58deg) translateY(calc(var(--scroll-depth) * -90px));
}

.warp-corridor span:nth-child(2) {
    transform: rotate(90deg) translateY(calc(var(--scroll-depth) * -130px));
    opacity: 0.7;
}

.warp-corridor span:nth-child(3) {
    transform: rotate(122deg) translateY(calc(var(--scroll-depth) * -70px));
    opacity: 0.55;
}

.site-header,
main,
.site-footer {
    position: relative;
}

.site-header {
    z-index: 200;
}

main,
.site-footer {
    z-index: 1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad-x);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: linear-gradient(90deg, rgba(5, 8, 22, 0.8), rgba(5, 8, 22, 0.42));
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

html.theme-light .site-header.is-scrolled {
    background: linear-gradient(90deg, rgba(7, 16, 31, 0.84), rgba(7, 16, 31, 0.48));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.site-logo,
.nav-list a,
.theme-toggle,
.nav-toggle,
.footer-copy,
.footer-note,
.eyebrow,
.section-index,
.panel-kicker,
.project-tags,
.project-number,
.signal-title,
.orbit-label,
.contact-link {
    font-family: var(--font-body);
}

.site-logo {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-name,
.section-heading h2,
.project-title,
.vol-role,
.contact-panel h2 {
    font-family: var(--font-display);
    font-weight: 650;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

.primary-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 8px;
    position: relative;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nav-list svg,
.hero-ctas svg,
.project-link svg {
    flex: 0 0 auto;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(151, 255, 244, 0.9), transparent);
    opacity: 0;
    transform: scaleX(0.5);
    transform-origin: center;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.nav-list a:hover,
.theme-toggle:hover,
.nav-toggle:hover {
    color: var(--text);
    background: var(--surface-glass);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
    opacity: 0.9;
    transform: scaleX(1);
}

.theme-toggle,
.nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.theme-toggle:hover,
.nav-toggle:hover {
    transform: translateY(-1px);
}

.theme-toggle .icon-moon,
.nav-toggle,
.nav-toggle .icon-close {
    display: none;
}

.theme-toggle .icon-sun,
html.theme-light .theme-toggle .icon-moon,
.nav-toggle .icon-open,
.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

html.theme-light .theme-toggle .icon-sun,
.nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.hero-sector {
    min-height: 100vh;
    padding: calc(var(--header-h) + 3vw) var(--pad-x) 8vw;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-sector::after {
    content: "";
    position: absolute;
    left: 12vw;
    right: 8vw;
    bottom: 4vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(142, 245, 208, 0.5), transparent);
    box-shadow: 0 0 30px rgba(142, 245, 208, 0.22);
}

.hero-stage,
.section-shell,
.site-footer {
    width: min(100%, 1600px);
    margin: 0 auto;
}

.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(36px, 6vw, 110px);
    align-items: center;
    position: relative;
    z-index: 1;
    perspective: 1200px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    transform: translate3d(0, calc(var(--scroll-depth) * -18px), 24px);
    transition: transform 0.32s ease-out;
}

.eyebrow,
.section-index,
.panel-kicker,
.signal-title,
.orbit-label,
.project-tags,
.project-number {
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.launch-gate {
    position: relative;
    margin-bottom: 26px;
    padding: 18px 20px 20px;
    border: 1px solid rgba(142, 245, 208, 0.16);
    background:
        linear-gradient(180deg, rgba(10, 18, 41, 0.86), rgba(8, 12, 28, 0.58)),
        radial-gradient(circle at top left, rgba(142, 245, 208, 0.08), transparent 30%);
    overflow: hidden;
}

.launch-gate::before,
.launch-gate::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.82), rgba(5, 10, 22, 0.38));
    transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.launch-gate::before {
    left: 0;
    border-right: 1px solid rgba(142, 245, 208, 0.08);
}

.launch-gate::after {
    right: 0;
    border-left: 1px solid rgba(142, 245, 208, 0.08);
}

body.is-loaded .launch-gate::before {
    transform: translateX(-101%);
}

body.is-loaded .launch-gate::after {
    transform: translateX(101%);
}

.launch-gate-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.launch-warning {
    position: relative;
    z-index: 1;
    max-width: 68ch;
    color: rgba(238, 243, 255, 0.82);
    font-size: 0.86rem;
    line-height: 1.72;
    text-wrap: pretty;
}

.launch-track {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.launch-track span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0.08);
    transform-origin: left center;
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

body.is-loaded .launch-track span {
    transform: scaleX(1);
}

.hero-name {
    display: block;
    font-size: clamp(1.5rem, 3.6vw, 2.6rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    white-space: nowrap;
    text-shadow: 0 0 28px rgba(142, 245, 208, 0.08);
    transition:
        text-shadow 0.32s ease,
        color 0.32s ease;
}

.hero-name .word {
    display: inline-flex;
    flex-wrap: nowrap;
}

.hero-name .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(16px);
    animation: charReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-lede {
    margin-top: 26px;
    max-width: 26ch;
    font-size: clamp(1rem, 1.5vw, 1.28rem);
    line-height: 1.28;
    color: var(--text);
}

.hero-manifesto {
    max-width: 58ch;
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-ctas a,
.project-link,
.contact-link {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.hero-ctas a:hover,
.project-link:hover,
.contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.24);
}

.hero-ctas a {
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05) 36%, rgba(10, 14, 28, 0.12)),
        linear-gradient(135deg, rgba(142, 245, 208, 0.14), rgba(124, 190, 255, 0.08) 55%, rgba(255, 255, 255, 0.04));
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -14px 24px rgba(4, 8, 20, 0.24),
        0 12px 30px rgba(0, 0, 0, 0.2),
        0 0 24px rgba(142, 245, 208, 0.07);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.34s ease,
        background 0.24s ease;
}

.hero-ctas a > * {
    position: relative;
    z-index: 2;
}

.hero-ctas a.primary {
    font-weight: 700;
}

.hero-ctas a.primary .cta-label {
    letter-spacing: 0.01em;
}

.hero-ctas a::before {
    content: "";
    position: absolute;
    inset: 1px;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06) 34%, transparent 58%),
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.22), transparent 34%);
    z-index: 1;
}

.hero-ctas a::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 30%, rgba(150, 255, 244, 1) 50%, rgba(255, 255, 255, 0.24) 66%, transparent 100%);
    background-size: 220% 100%;
    background-position: 180% 0;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderTravel 3.8s linear infinite;
    opacity: 0.96;
    z-index: 2;
}

.hero-ctas a:hover {
    border-color: rgba(150, 255, 244, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -14px 24px rgba(4, 8, 20, 0.22),
        0 14px 34px rgba(0, 0, 0, 0.22),
        0 0 28px rgba(150, 255, 244, 0.1);
}

.hero-stats {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats li,
.panel,
.project-card,
.vol-card,
.contact-panel,
.signal-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-stats li {
    position: relative;
    padding: 18px 20px 18px 0;
    border-radius: 0;
}

.hero-stats li + li {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.hero-stats span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-orbit {
    position: relative;
    min-height: min(70vw, 760px);
    display: grid;
    place-items: center;
    transform: translate3d(0, calc(var(--scroll-depth) * -22px), 0) scale(calc(1.01 - var(--scroll-depth) * 0.02));
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-orbit::before {
    width: min(62vw, 520px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(142, 245, 208, 0.44), transparent);
    transform: translateY(-48px);
    box-shadow: 0 0 26px rgba(142, 245, 208, 0.16);
    animation: scanLineDrift 7.2s ease-in-out infinite;
}

.hero-orbit::after {
    width: min(34vw, 320px);
    height: min(34vw, 320px);
    border: 1px solid rgba(142, 245, 208, 0.14);
    border-radius: 42% 58% 56% 44% / 36% 41% 59% 64%;
    transform: scale(calc(1.16 + var(--scroll-depth) * 0.03));
    filter: blur(0.2px);
    opacity: 0.42;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow:
        inset 0 0 30px rgba(142, 245, 208, 0.05),
        0 0 55px rgba(134, 184, 255, 0.07);
}

.orbit-ring-a {
    width: min(74vw, 560px);
    height: min(74vw, 560px);
    transform: scale(calc(1 + var(--scroll-depth) * 0.04));
}

.orbit-ring-b {
    width: min(48vw, 380px);
    height: min(48vw, 380px);
    transform: rotate(calc(16deg + var(--scroll-depth) * 10deg)) scale(calc(1 + var(--scroll-depth) * 0.02));
    border-style: dashed;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease,
        opacity 0.28s ease;
}

.hero-photo-core {
    --photo-tilt-x: 0deg;
    --photo-tilt-y: 0deg;
    --photo-glow-x: 50%;
    --photo-glow-y: 34%;
    --photo-hover-offset: 0px;
    --photo-scale: 1;
    width: min(31vw, 322px);
    aspect-ratio: 0.82;
    border-radius: 42% 58% 56% 44% / 36% 41% 59% 64%;
    overflow: visible;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 0 0 18px rgba(255, 255, 255, 0.03),
        0 32px 90px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(142, 245, 208, 0.12);
    transform:
        perspective(1200px)
        translate3d(0, calc(var(--scroll-depth) * -10px + var(--photo-hover-offset)), 0)
        rotateX(var(--photo-tilt-x))
        rotateY(var(--photo-tilt-y))
        scale(var(--photo-scale));
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.42s ease;
    animation: portraitGlow 7.8s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.hero-photo-core::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--photo-glow-x) var(--photo-glow-y), rgba(255, 255, 255, 0.24), transparent 24%),
        radial-gradient(circle at calc(var(--photo-glow-x) - 10%) calc(var(--photo-glow-y) - 8%), rgba(142, 245, 208, 0.16), transparent 28%);
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity 0.24s ease;
}

.hero-photo-core::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 20%, rgba(5, 8, 22, 0.32) 100%);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    filter: saturate(0.9) contrast(1.05) brightness(0.94);
    transition: filter 0.28s ease, transform 0.28s ease;
}

html.theme-light .hero-photo {
    filter: saturate(0.92) contrast(1.04) brightness(0.98);
}

html.theme-light .orbit-node {
    color: rgba(237, 242, 255, 0.6);
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.24);
}

html.theme-light .orbit-line {
    background: linear-gradient(90deg, rgba(130, 234, 208, 0.46), rgba(130, 234, 208, 0));
    opacity: 0.64;
}

html.theme-light .orbit-dot {
    background: rgba(130, 234, 208, 0.92);
    box-shadow: 0 0 12px rgba(130, 234, 208, 0.34);
}

.orbit-node {
    position: absolute;
}

.orbit-node {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(238, 243, 255, 0.62);
    font-size: 0.54rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.28);
    transform: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-orbit.photo-active::before {
    animation-duration: 4.8s;
    box-shadow: 0 0 34px rgba(142, 245, 208, 0.24);
}

.hero-orbit.photo-active .orbit-ring-b {
    transform: rotate(calc(22deg + var(--scroll-depth) * 12deg)) scale(calc(1.03 + var(--scroll-depth) * 0.02));
    border-color: rgba(142, 245, 208, 0.26);
    opacity: 0.9;
}

.hero-orbit.photo-active .hero-photo-core::before {
    opacity: 1;
}

.hero-orbit.photo-active .hero-photo {
    filter: saturate(0.96) contrast(1.08) brightness(0.98);
    transform: scale(1.02);
}

.hero-orbit.photo-active .orbit-node {
    color: rgba(238, 243, 255, 0.78);
}

.hero-orbit.photo-active .orbit-dot {
    box-shadow: 0 0 16px rgba(142, 245, 208, 0.56);
}

.orbit-node-left {
    justify-content: flex-end;
}

.orbit-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(142, 245, 208, 0.88);
    box-shadow: 0 0 10px rgba(142, 245, 208, 0.45);
    flex: 0 0 auto;
}

.orbit-line {
    width: 30px;
    height: 1px;
    background: linear-gradient(to right, rgba(142, 245, 208, 0.55), rgba(255, 255, 255, 0.1));
    flex: 0 0 auto;
}

.orbit-node-left .orbit-line {
    background: linear-gradient(to left, rgba(142, 245, 208, 0.55), rgba(255, 255, 255, 0.1));
}

.orbit-text {
    white-space: nowrap;
}

.orbit-node-stack {
    align-items: flex-start;
}

.orbit-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.orbit-meta {
    color: rgba(149, 160, 194, 0.68);
    font-size: 0.46rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.orbit-node-a {
    top: 14%;
    right: 11%;
}

.orbit-node-b {
    top: 28%;
    left: -2%;
}

.orbit-node-c {
    top: 59%;
    right: 6%;
}

.orbit-node-d {
    left: -4%;
    top: 52%;
}

.orbit-node-e {
    right: 11%;
    bottom: 15%;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.hero-scroll span {
    font-family: var(--font-display);
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2.1s ease-in-out infinite;
}

.space-section {
    position: relative;
    padding: clamp(48px, 7vw, 100px) var(--pad-x) var(--section-gap);
    isolation: isolate;
    perspective: 1400px;
}

.space-section::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(var(--pad-x) + clamp(42px, 7vw, 96px));
    width: 10px;
    height: 10px;
    border: 1px solid rgba(142, 245, 208, 0.7);
    background: rgba(5, 8, 22, 0.8);
    transform: rotate(45deg);
    box-shadow: 0 0 24px rgba(142, 245, 208, 0.24);
}

.space-section::after {
    content: "";
    position: absolute;
    top: 33px;
    left: calc(var(--pad-x) + clamp(42px, 7vw, 96px));
    right: var(--pad-x);
    height: 1px;
    background: linear-gradient(90deg, rgba(142, 245, 208, 0.32), rgba(255, 255, 255, 0.05), transparent);
    z-index: -1;
}

.space-section .section-shell::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 5%;
    width: min(40vw, 520px);
    height: 120px;
    z-index: -1;
    opacity: 0.26;
    background:
        linear-gradient(120deg, transparent 0 28%, rgba(142, 245, 208, 0.14) 29%, transparent 30% 100%),
        linear-gradient(90deg, transparent, rgba(134, 184, 255, 0.1), transparent);
    clip-path: polygon(0 48%, 100% 0, 84% 100%, 0 56%);
    transform: translateY(calc(var(--scroll-depth) * -24px));
}

.section-shell {
    position: relative;
    padding-top: clamp(32px, 5vw, 70px);
    transform-style: preserve-3d;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    transform:
        perspective(1600px)
        translate3d(0, calc((0.5 - var(--section-progress, 0.5)) * 22px), 0)
        rotateX(calc((0.5 - var(--section-progress, 0.5)) * 4deg));
}

.space-section:nth-of-type(even) .section-shell {
    transform:
        perspective(1600px)
        translate3d(0, calc((0.5 - var(--section-progress, 0.5)) * 22px), 0)
        rotateX(calc((0.5 - var(--section-progress, 0.5)) * 4deg));
}

.space-section:nth-of-type(odd) .section-shell {
    transform:
        perspective(1600px)
        translate3d(0, calc((0.5 - var(--section-progress, 0.5)) * 22px), 0)
        rotateX(calc((0.5 - var(--section-progress, 0.5)) * 4deg));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(28px, 4vw, 58px);
}

.section-heading h2 {
    font-size: clamp(1.35rem, 2.4vw, 2.35rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.section-index {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 22px);
    align-items: start;
}

.panel,
.project-card,
.vol-card,
.contact-panel {
    position: relative;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --glow-x: 50%;
    --glow-y: 50%;
    border-radius: 0;
    padding: clamp(22px, 3vw, 34px);
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(142, 245, 208, 0.14), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(9, 17, 40, 0.42), rgba(5, 8, 22, 0.08));
    border-left: 1px solid rgba(142, 245, 208, 0.34);
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
    transform-style: preserve-3d;
    transition:
        transform 0.18s ease,
        border-color 0.24s ease,
        background 0.24s ease;
}

.panel:hover,
.project-card:hover,
.vol-card:hover,
.contact-panel:hover {
    border-left-color: rgba(142, 245, 208, 0.72);
    border-top-color: rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(28px);
}

.panel::after,
.project-card::after,
.vol-card::after,
.contact-panel::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 14px;
    width: 44px;
    height: 1px;
    background: rgba(142, 245, 208, 0.36);
    transform: translateZ(18px);
}

.panel::before,
.project-card::before,
.contact-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.07) 48%, transparent 58% 100%);
    transform: translateX(-120%);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel:hover::before,
.project-card:hover::before,
.contact-panel:hover::before {
    transform: translateX(120%);
}

.panel > *,
.project-card > *,
.vol-card > *,
.contact-panel > * {
    position: relative;
    transform: translateZ(34px);
}

.project-desc,
.vol-desc,
.panel-copy,
.contact-intro {
    transform: translateZ(22px);
}

.panel-wide {
    grid-column: 1 / span 7;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.panel-tall {
    grid-column: 8 / span 5;
    min-height: 230px;
}

.panel-note {
    grid-column: 1 / span 5;
    align-self: end;
    transform: none;
}

.panel-skills {
    grid-column: 6 / span 7;
    transform: translateY(-18px);
    max-width: none;
}

.panel-interests {
    grid-column: 3 / span 7;
    max-width: none;
    margin-left: 0;
    transform: translateY(-10px);
}

.panel-kicker {
    color: var(--accent-3);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.panel-copy {
    color: var(--muted);
    max-width: 52ch;
}

.panel-copy-large {
    font-size: clamp(0.92rem, 1.1vw, 1.08rem);
    line-height: 1.55;
    color: var(--text);
}

.trait-list {
    display: grid;
    gap: 16px;
}

.trait-list li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    color: var(--text);
}

.trait-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.mini-cloud {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 10px;
}

.mini-cloud li {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(90deg, rgba(142, 245, 208, 0.08), rgba(255, 255, 255, 0.02));
    color: var(--muted);
    font-size: 0.78rem;
}

.project-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 34px);
    max-width: 1240px;
    perspective: 1400px;
}

.project-grid::before {
    content: "";
    position: absolute;
    inset: 8% 7% 9% 5%;
    pointer-events: none;
    background:
        linear-gradient(118deg, transparent 0 8%, rgba(142, 245, 208, 0.36) 8.2% 8.6%, transparent 8.8% 45%, rgba(142, 245, 208, 0.22) 45.2% 45.6%, transparent 45.8% 100%),
        radial-gradient(circle at 8% 8%, rgba(142, 245, 208, 0.34) 0 3px, transparent 4px),
        radial-gradient(circle at 52% 48%, rgba(255, 183, 77, 0.3) 0 3px, transparent 4px),
        radial-gradient(circle at 82% 82%, rgba(142, 245, 208, 0.28) 0 3px, transparent 4px);
    filter: drop-shadow(0 0 18px rgba(142, 245, 208, 0.16));
    opacity: 0.75;
    transform: translateZ(-80px) skewY(-4deg);
}

.project-grid::after {
    content: "PROJECT FLIGHT LOG";
    position: absolute;
    right: 0;
    top: -34px;
    color: rgba(142, 245, 208, 0.46);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.34em;
    transform: translateY(calc(var(--scroll-depth) * -26px));
}

.project-card {
    position: relative;
    min-height: 220px;
    display: grid;
    grid-template-columns: minmax(78px, 0.28fr) 1fr;
    grid-template-areas:
        "meta title"
        "meta desc"
        "meta highlight"
        "meta link";
    gap: 12px clamp(18px, 3vw, 38px);
    align-items: start;
    backdrop-filter: blur(22px);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.project-card-feature {
    min-height: 270px;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(142, 245, 208, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(142, 245, 208, 0.13), transparent 30%),
        linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.03));
}

.project-card:nth-child(1) {
    grid-column: 1 / span 8;
    --float-rot: -0.4deg;
}

.project-card:nth-child(2) {
    grid-column: 6 / span 7;
    margin-top: -18px;
    --float-rot: 0.6deg;
}

.project-card:nth-child(3) {
    grid-column: 2 / span 9;
    margin-top: -10px;
    --float-rot: -0.25deg;
}

.project-card:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--float-y, 0)) translateZ(28px) rotateZ(0deg);
}

.project-topline {
    grid-area: meta;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 0;
}

.project-number {
    color: var(--accent);
    font-size: clamp(1.8rem, 4vw, 4.4rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 0.9;
    opacity: 0.5;
}

.project-tags {
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 600;
    text-align: left;
}

.project-title {
    grid-area: title;
    font-size: clamp(1.18rem, 1.8vw, 1.9rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    max-width: 30ch;
}

.project-desc,
.vol-desc,
.contact-intro {
    margin-top: 0;
    color: var(--muted);
    max-width: 56ch;
}

.project-desc {
    grid-area: desc;
}

.project-highlight {
    grid-area: highlight;
    margin-top: 0;
    padding-top: 0;
    font-size: 0.9rem;
    color: var(--text);
    max-width: 34ch;
}

.project-link {
    grid-area: link;
    margin-top: 0;
    width: fit-content;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    min-width: 148px;
}

.vol-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 30px);
    max-width: 1220px;
    margin-left: 0;
    perspective: 1400px;
}

.vol-grid::before {
    content: "";
    position: absolute;
    left: 9%;
    right: 7%;
    top: 50%;
    height: 1px;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(142, 245, 208, 0.42), rgba(255, 183, 77, 0.24), rgba(142, 245, 208, 0.18), transparent);
    box-shadow: 0 0 26px rgba(142, 245, 208, 0.2);
    transform: translateY(-50%) rotate(-2.5deg);
}

.vol-card {
    min-height: 230px;
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) 1fr;
    gap: clamp(18px, 3vw, 42px);
    align-items: start;
    margin-left: 0;
    overflow: visible;
}

.vol-card:nth-child(1) {
    grid-column: 1 / span 7;
}

.vol-card:nth-child(2) {
    grid-column: 6 / span 7;
    margin-top: 76px;
}

.vol-card:nth-child(3) {
    grid-column: 3 / span 8;
    margin-top: -22px;
}

.vol-card::before {
    content: "";
    position: absolute;
    inset: auto;
    left: 26px;
    top: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--accent) 0 28%, rgba(142, 245, 208, 0.08) 31% 100%);
    border: 1px solid rgba(142, 245, 208, 0.62);
    box-shadow:
        0 0 0 8px rgba(142, 245, 208, 0.06),
        0 0 28px rgba(142, 245, 208, 0.28);
    pointer-events: none;
    transform: translateZ(46px);
}

.vol-role {
    font-size: clamp(1.02rem, 1.2vw, 1.2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.vol-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.vol-date {
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    width: fit-content;
    padding: 8px 10px;
    border: 1px solid rgba(142, 245, 208, 0.2);
    background: rgba(142, 245, 208, 0.06);
}

.vol-desc {
    align-self: center;
    max-width: 66ch;
}

.cert-cloud {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 14px;
    max-width: 1180px;
}

.cert-cloud li {
    padding: 0;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, rgba(134, 184, 255, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: none;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.88rem;
}

.cert-cloud a {
    min-height: 138px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.cert-cloud a::after {
    content: "";
    position: absolute;
    inset: auto 18px 14px auto;
    width: 34px;
    height: 1px;
    background: var(--accent);
    opacity: 0.55;
    transition:
        width 0.2s ease,
        opacity 0.2s ease;
}

.cert-cloud a:hover::after {
    width: 58px;
    opacity: 1;
}

.cert-name {
    color: var(--text);
    line-height: 1.25;
    min-height: 0;
    white-space: nowrap;
}

.cert-issuer {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cert-action {
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-top: auto;
    text-transform: uppercase;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    background:
        radial-gradient(circle at 80% 10%, rgba(134, 184, 255, 0.16), transparent 28%),
        linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.03));
    min-height: 300px;
}

.contact-panel h2 {
    font-size: clamp(1.35rem, 2.4vw, 2.2rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    max-width: none;
    white-space: nowrap;
    margin-top: 14px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.contact-link {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 0;
    background: transparent;
    border: none;
    color: rgba(238, 243, 255, 0.88);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.contact-link svg {
    width: 18px;
    height: 18px;
}

.contact-link:hover {
    color: var(--accent);
    filter: drop-shadow(0 0 12px rgba(142, 245, 208, 0.34));
}

.site-footer {
    padding: 22px var(--pad-x) 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    position: relative;
    overflow: visible;
    isolation: isolate;
    background: transparent;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: var(--pad-x);
    right: var(--pad-x);
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(142, 245, 208, 0.22), rgba(255, 255, 255, 0.04));
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-meta {
    display: grid;
    gap: 8px;
    align-content: end;
    transform: translateY(-14px);
}

.footer-copy,
.footer-note {
    color: var(--muted);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-location-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
    min-width: 0;
}

.footer-location-badge {
    position: relative;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: visible;
}

.footer-location-badge::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(142, 245, 208, 0.14) 42%, transparent 72%);
    filter: blur(14px);
    opacity: 0.9;
}

.footer-location-canvas {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    display: block;
    filter:
        drop-shadow(0 16px 26px rgba(0, 0, 0, 0.18))
        drop-shadow(0 0 18px rgba(142, 245, 208, 0.12));
}

html.theme-light .site-footer {
    background: transparent;
}

.footer-location-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.footer-location-kicker {
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-location-copy strong {
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.35;
    max-width: 24ch;
}

.reveal-item {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-card.reveal-item,
.vol-card.reveal-item {
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(34px) translateZ(0) rotateZ(var(--float-rot, 0deg)) scale(0.985);
}

.project-card.reveal-item.is-visible,
.vol-card.reveal-item.is-visible {
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--float-y, 0)) translateZ(0) rotateZ(var(--float-rot, 0deg)) scale(1);
}

.project-card.reveal-item.is-visible:hover,
.vol-card.reveal-item.is-visible:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--float-y, 0)) translateZ(28px) rotateZ(0deg) scale(1);
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes profileSequenceBorder {
    0% {
        opacity: 0;
        background-position: 180% 0;
    }
    8% {
        opacity: 1;
    }
    100% {
        opacity: 0.95;
        background-position: -40% 0;
    }
}

@keyframes launchShine {
    0%,
    48% {
        transform: translateX(0) skewX(-18deg);
    }
    72%,
    100% {
        transform: translateX(420%) skewX(-18deg);
    }
}

@keyframes scanLineDrift {
    0%,
    100% {
        opacity: 0.25;
        transform: translateY(-70px) scaleX(0.72);
    }
    50% {
        opacity: 0.62;
        transform: translateY(92px) scaleX(1);
    }
}

@keyframes portraitGlow {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.16),
            0 0 0 18px rgba(255, 255, 255, 0.03),
            0 32px 90px rgba(0, 0, 0, 0.35),
            0 0 80px rgba(142, 245, 208, 0.12);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.2),
            0 0 0 18px rgba(255, 255, 255, 0.04),
            0 34px 96px rgba(0, 0, 0, 0.38),
            0 0 96px rgba(142, 245, 208, 0.18);
    }
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleY(1.18);
    }
}

@media (max-width: 1100px) {
    .hero-stage,
    .about-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .project-grid::before,
    .project-grid::after {
        display: none;
    }

    .hero-orbit {
        order: -1;
        min-height: 520px;
    }

    .panel-tall {
        grid-row: auto;
    }

    .panel-skills,
    .panel-interests {
        grid-column: auto;
        max-width: 100%;
        margin-left: 0;
        transform: none;
    }

    .panel-wide,
    .panel-tall,
    .panel-note {
        grid-column: auto;
    }

    .project-card,
    .project-card-feature,
    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:not(.project-card-feature):nth-child(2),
    .project-card:not(.project-card-feature):nth-child(3) {
        grid-template-columns: 1fr;
        grid-template-areas:
            "meta"
            "title"
            "desc"
            "highlight"
            "link";
        grid-column: auto;
        margin-left: 0;
        margin-top: 0;
        --float-rot: 0deg;
    }

    .contact-links {
        justify-content: flex-start;
    }

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

    .vol-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .vol-grid::before {
        display: none;
    }

    .vol-card {
        grid-template-columns: 1fr;
        grid-column: auto;
        margin-top: 0;
    }

    .vol-card:nth-child(1),
    .vol-card:nth-child(2),
    .vol-card:nth-child(3) {
        grid-column: auto;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    :root {
        --header-h: 68px;
        --section-gap: 88px;
    }

    .voyage-rail,
    .warp-corridor {
        display: none;
    }

    .space-section .section-shell::before,
    .hero-orbit::before,
    .hero-orbit::after {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: var(--pad-x);
        right: var(--pad-x);
        padding: 12px;
        border-radius: 24px;
        border: 1px solid var(--line);
        background: rgba(5, 8, 22, 0.9);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    html.theme-light .primary-nav {
        background: rgba(7, 16, 31, 0.94);
    }

    .primary-nav.is-open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-list a {
        width: 100%;
        justify-content: flex-start;
        padding: 0 16px;
    }

    .hero-sector {
        min-height: auto;
        padding-bottom: 100px;
    }

    .hero-sector .hero-video-shell {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero-stage::before {
        display: none;
    }

    .hero-stats {
        border: 0;
        gap: 12px;
    }

    .hero-stats li {
        padding: 14px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stats li + li {
        padding-left: 0;
        border-left: 0;
    }

    .hero-name {
        font-size: clamp(1.35rem, 6vw, 1.9rem);
        white-space: normal;
    }

    .hero-lede {
        max-width: 100%;
    }

    .hero-photo-core {
        width: min(72vw, 320px);
    }

    .orbit-node-c,
    .orbit-node-e {
        right: 0;
    }

    .orbit-node-d {
        left: 0;
        top: 8%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-panel h2 {
        max-width: 100%;
        white-space: normal;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .space-section::before,
    .space-section::after {
        display: none;
    }
}

@media (max-width: 520px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .orbit-node {
        position: static;
    }

    .hero-orbit {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: auto;
    }

    .orbit-ring {
        display: none;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas a,
    .project-link {
        width: 100%;
    }

    .contact-link {
        width: 42px;
        min-width: 42px;
    }
}

/* ===== Refined Portfolio System ===== */

.voyage-rail,
.warp-corridor {
    display: none;
}

.depth-lanes {
    opacity: 0.14;
}

.grid-glow {
    opacity: 0.12;
}

.space-section::before,
.space-section::after,
.space-section .section-shell::before {
    display: none;
}

.space-section {
    padding-top: clamp(72px, 8vw, 110px);
}

.section-shell {
    width: min(100%, 1260px);
}

.hero-stage {
    width: min(100%, 1380px);
    grid-template-columns: minmax(620px, 1.3fr) minmax(360px, 0.7fr);
    gap: clamp(44px, 7vw, 96px);
}

.hero-copy {
    max-width: 840px;
}

.hero-name {
    font-size: clamp(1.9rem, 3.9vw, 3.35rem);
    text-wrap: balance;
}

.hero-lede {
    max-width: 34ch;
    font-size: clamp(1.22rem, 1.9vw, 1.7rem);
    line-height: 1.3;
    text-wrap: pretty;
}

.hero-manifesto {
    max-width: 58ch;
    font-size: 1rem;
    line-height: 1.72;
    color: color-mix(in srgb, var(--muted) 88%, white 12%);
    text-wrap: pretty;
}

.hero-stats {
    margin-top: 38px;
    gap: 18px;
    border: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
}

.hero-stats li {
    padding: 18px 18px 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats li + li {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-scroll {
    opacity: 0.7;
}

.refined-section .section-heading {
    align-items: start;
    justify-content: flex-start;
    gap: 22px;
    margin-bottom: clamp(28px, 4vw, 42px);
}

.refined-heading > div {
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.section-summary {
    color: var(--muted);
    max-width: 62ch;
    font-size: 0.98rem;
}

.story-grid,
.impact-grid,
.credential-grid,
.work-case-grid,
.contact-actions {
    display: grid;
    gap: 18px;
}

.story-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.story-card,
.work-feature,
.work-case,
.impact-entry,
.credential-group,
.contact-panel-refined {
    position: relative;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --glow-x: 50%;
    --glow-y: 50%;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(142, 245, 208, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(15, 22, 48, 0.72), rgba(7, 10, 24, 0.46)),
        radial-gradient(circle at top right, rgba(142, 245, 208, 0.08), transparent 36%);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

html.theme-light .story-card,
html.theme-light .work-feature,
html.theme-light .work-case,
html.theme-light .impact-entry,
html.theme-light .credential-group,
html.theme-light .contact-panel-refined {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 235, 0.84)),
        radial-gradient(circle at top right, rgba(0, 127, 115, 0.08), transparent 36%);
}

.story-card:hover,
.work-feature:hover,
.work-case:hover,
.impact-entry:hover,
.credential-group:hover,
.contact-panel-refined:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
    border-color: rgba(142, 245, 208, 0.22);
}

.story-card h3,
.work-feature h3,
.work-case h3,
.impact-entry h3 {
    font-size: clamp(1.08rem, 1.5vw, 1.58rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.story-card p,
.work-feature p,
.work-case p,
.impact-entry p,
.credential-group p {
    color: var(--muted);
}

.story-kicker,
.feature-label,
.impact-date,
.work-case-index,
.capability-title {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
    font-weight: 700;
}

.story-kicker {
    color: var(--accent-3);
    margin-bottom: 16px;
}

.story-card-lead {
    grid-column: 1 / span 7;
}

.story-card-lead p:last-child {
    margin-top: 16px;
    max-width: 58ch;
}

.story-card-principles {
    grid-column: 8 / span 5;
}

.story-card-capabilities {
    grid-column: 1 / span 8;
}

.story-card-interests {
    grid-column: 9 / span 4;
}

.principle-list {
    display: grid;
    gap: 14px;
}

.principle-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text);
}

.principle-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(142, 245, 208, 0.3);
}

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

.capability-columns > div {
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.capability-title {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--text);
}

.story-note {
    color: var(--text);
}

.work-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(24px, 4vw, 46px);
    margin-bottom: 20px;
}

.feature-lede {
    margin-bottom: 16px;
    color: var(--text) !important;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.55;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.feature-tags span {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 0.76rem;
}

.work-feature-meta {
    display: grid;
    gap: 14px;
    align-content: start;
}

.feature-metric {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
}

.feature-metric strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
}

.feature-links {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.feature-links a,
.work-case a {
    width: fit-content;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-links a:hover,
.work-case a:hover {
    transform: translateY(-2px);
    border-color: rgba(142, 245, 208, 0.38);
    background: rgba(255, 255, 255, 0.04);
}

.work-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-case {
    display: grid;
    gap: 16px;
}

.work-case-head {
    display: flex;
    align-items: start;
    gap: 18px;
}

.work-case-index {
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1;
}

.work-proof {
    color: var(--text) !important;
    font-size: 0.9rem;
}

.impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-entry {
    display: grid;
    gap: 18px;
}

.impact-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.impact-date {
    color: var(--accent);
    white-space: nowrap;
}

.credential-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-list {
    display: grid;
    gap: 12px;
}

.credential-list a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.credential-list a span:first-child {
    color: var(--text);
}

.credential-list a span:last-child {
    color: var(--muted);
    font-size: 0.74rem;
    white-space: nowrap;
}

.credential-list a:hover {
    transform: translateY(-2px);
    border-color: rgba(142, 245, 208, 0.32);
    background: rgba(255, 255, 255, 0.04);
}

.contact-panel-refined {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: clamp(22px, 4vw, 40px);
    align-items: end;
}

.contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-link-wide {
    width: 100%;
    justify-content: flex-start;
    border-radius: 18px;
    min-height: 58px;
    padding: 0 18px;
}

.contact-link-wide span {
    font-size: 0.9rem;
    font-weight: 600;
}

.site-footer {
    width: min(100%, 1260px);
    margin-top: 0;
    padding: 0 var(--pad-x) 36px;
}

@media (max-width: 1100px) {
    .hero-stage,
    .work-feature,
    .impact-grid,
    .credential-grid,
    .work-case-grid,
    .capability-columns,
    .story-grid,
    .contact-panel-refined {
        grid-template-columns: 1fr;
    }

    .story-card-lead,
    .story-card-principles,
    .story-card-capabilities,
    .story-card-interests {
        grid-column: auto;
    }

    .contact-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .hero-orbit {
        order: 1;
        min-height: 360px;
        margin-top: 28px;
    }

    .hero-photo-core {
        width: min(58vw, 280px);
    }

    .hero-stats,
    .contact-actions {
        grid-template-columns: 1fr;
    }

    .hero-stats li,
    .hero-stats li + li {
        padding-left: 0;
        border-left: 0;
    }

    .impact-head {
        flex-direction: column;
        align-items: start;
    }

    .credential-list a {
        align-items: start;
        flex-direction: column;
    }
}

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

.refined-section,
.story-grid,
.work-feature,
.work-case-grid,
.impact-grid,
.credential-grid,
.contact-actions,
.story-card,
.work-feature,
.work-case,
.impact-entry,
.credential-group,
.contact-panel-refined {
    all: unset;
}

.editorial-section {
    padding-top: clamp(72px, 8vw, 112px);
}

.editorial-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 820px);
    gap: 18px;
    align-items: start;
    margin-bottom: 30px;
}

.editorial-card {
    position: relative;
    display: block;
    padding: clamp(22px, 3vw, 30px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    background:
        linear-gradient(180deg, rgba(11, 17, 36, 0.72), rgba(8, 11, 24, 0.32)),
        radial-gradient(circle at top right, rgba(142, 245, 208, 0.05), transparent 34%);
    clip-path: none;
    transform: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.editorial-card:hover {
    border-top-color: rgba(142, 245, 208, 0.28);
}

.editorial-kicker {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

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

.profile-statement {
    grid-column: 1 / span 7;
}

.profile-objective {
    grid-column: 8 / span 5;
}

.profile-skills {
    grid-column: 1 / span 8;
}

.profile-interests {
    grid-column: 9 / span 4;
}

.profile-paragraph {
    max-width: 62ch;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
    text-wrap: pretty;
}

.interest-intro {
    max-width: none;
    margin-bottom: 18px;
    color: color-mix(in srgb, var(--text) 88%, var(--muted) 12%);
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.interest-grid span {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 0.84rem;
    overflow: hidden;
}

.interest-grid span::before {
    display: none;
}

.plain-list-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.plain-list-grid span {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 0.84rem;
}

.anchor-project {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 34px;
    margin-bottom: 20px;
}

.anchor-project h3,
.project-note h3,
.impact-row h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    text-wrap: balance;
}

.anchor-side {
    display: grid;
    align-content: start;
    gap: 18px;
}

.anchor-copy > .profile-paragraph {
    font-size: 0.92rem;
    line-height: 1.68;
}

.anchor-label {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.anchor-side a,
.project-note a,
.contact-sheet-links a {
    position: relative;
    width: fit-content;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.anchor-side a:hover,
.project-note a:hover,
.contact-sheet-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(142, 245, 208, 0.3);
    background: transparent;
}

.evidence-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.evidence-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}

.evidence-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.76em;
    width: 6px;
    height: 6px;
    background: var(--accent);
}

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

.project-note {
    display: grid;
    gap: 14px;
}

.impact-stack,
.cert-rows {
    display: grid;
    gap: 18px;
}

.impact-row {
    display: grid;
    gap: 14px;
}

.impact-row-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.impact-date {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.simple-link-list {
    display: grid;
    gap: 10px;
}

.simple-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--text);
}

.simple-link-list a:hover {
    color: var(--accent);
}

.contact-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: end;
}

.contact-sheet > div:first-child {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 10px;
    align-items: start;
}

.contact-sheet > div:first-child .section-index {
    grid-row: 1 / span 2;
    margin-top: 2px;
}

.contact-sheet > div:first-child h2,
.contact-sheet > div:first-child .section-summary {
    grid-column: 2;
}

.contact-sheet-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 12px;
}

@media (max-width: 1100px) {
    .profile-layout,
    .project-columns,
    .anchor-project,
    .contact-sheet {
        grid-template-columns: 1fr;
    }

    .profile-statement,
    .profile-objective,
    .profile-skills,
    .profile-interests {
        grid-column: auto;
    }

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

    .hero-copy,
    .hero-stats {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .editorial-head,
    .impact-row-head,
    .contact-sheet-links {
        grid-template-columns: 1fr;
    }

    .editorial-head {
        gap: 10px;
    }

    .impact-row-head {
        display: grid;
    }

    .hero-name {
        font-size: clamp(1.6rem, 8vw, 2.3rem);
    }

    .launch-gate {
        padding: 14px 16px 16px;
    }

    .launch-gate-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .launch-warning {
        font-size: 0.8rem;
    }

    .hero-lede {
        max-width: 15ch;
        font-size: clamp(1.02rem, 7.2vw, 1.38rem);
    }

    .hero-manifesto {
        font-size: 0.94rem;
    }

    .contact-sheet-links a {
        width: 100%;
    }

    .contact-sheet > div:first-child {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .contact-sheet > div:first-child .section-index,
    .contact-sheet > div:first-child h2,
    .contact-sheet > div:first-child .section-summary {
        grid-column: auto;
        grid-row: auto;
    }
}

/* ===== Mission Deck Refresh ===== */

.voyage-label {
    display: none;
}

.voyage-rail {
    left: clamp(18px, 1.6vw, 26px);
    width: 28px;
    opacity: 0.88;
}

.voyage-line {
    left: 13px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05),
        rgba(142, 245, 208, 0.9) calc(var(--scroll-depth) * 100%),
        rgba(255, 255, 255, 0.08) calc(var(--scroll-depth) * 100%),
        rgba(255, 255, 255, 0.03)
    );
    box-shadow: 0 0 22px rgba(142, 245, 208, 0.22);
}

.voyage-dot {
    left: 9px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    transform: none;
}

.voyage-ship {
    left: 3px;
    width: 22px;
    height: 22px;
    clip-path: polygon(50% 0, 100% 65%, 74% 62%, 50% 100%, 26% 62%, 0 65%);
    background: linear-gradient(180deg, #ffffff 0%, var(--accent) 70%, rgba(142, 245, 208, 0.68) 100%);
}

.voyage-ship::after {
    left: 9px;
    top: 18px;
    width: 4px;
    height: 36px;
}

.warp-corridor {
    opacity: calc(0.18 + var(--scroll-depth) * 0.24);
}

.warp-corridor span {
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.22), transparent);
    filter: blur(0.6px);
}

.hero-stage {
    width: min(100%, 1720px);
    grid-template-columns: minmax(720px, 1.22fr) minmax(360px, 0.78fr);
    gap: clamp(48px, 6vw, 118px);
}

.hero-copy {
    max-width: 940px;
}

.launch-gate {
    display: none;
}

.launch-gate-bar {
    align-items: center;
}

.launch-gate-bar span:first-child::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(142, 245, 208, 0.96);
    box-shadow: 0 0 14px rgba(142, 245, 208, 0.55);
}

.launch-warning {
    max-width: 78ch;
    font-size: 0.9rem;
    line-height: 1.75;
}

.hero-name {
    font-size: clamp(1.95rem, 3.2vw, 3.25rem);
    white-space: nowrap;
}

.hero-lede {
    max-width: 52ch;
    font-size: clamp(1.02rem, 1.2vw, 1.32rem);
    line-height: 1.24;
    text-wrap: balance;
}

.hero-lede .keep-together {
    white-space: nowrap;
}

.hero-manifesto {
    max-width: 68ch;
    font-size: 0.98rem;
    line-height: 1.78;
    color: color-mix(in srgb, var(--muted) 86%, white 14%);
    text-wrap: pretty;
}

.hero-stats {
    max-width: 900px;
}

.hero-orbit {
    min-height: min(64vw, 700px);
    overflow: visible;
    padding: 28px;
}

.photo-beacon {
    display: none;
}

.photo-beacon-a {
    top: -2%;
    right: 18%;
}

.photo-beacon-c {
    right: 10%;
    bottom: 14%;
}

.photo-beacon-d {
    left: 14%;
    bottom: 6%;
}

.orbit-node {
    gap: 8px;
    color: rgba(238, 243, 255, 0.58);
    font-size: 0.44rem;
    letter-spacing: 0.2em;
}

.orbit-text {
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.orbit-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(142, 245, 208, 0.92);
    box-shadow: 0 0 10px rgba(142, 245, 208, 0.42);
}

.orbit-line {
    width: 34px;
    opacity: 0.65;
}

.orbit-node-a {
    top: 20%;
    right: 14%;
}

.orbit-node-b {
    top: 27%;
    left: 7%;
}

.orbit-node-c {
    top: 68%;
    right: 12%;
}

.orbit-node-d {
    left: 12%;
    top: 59%;
}

.orbit-node-e {
    right: 14%;
    bottom: 16%;
}

.mission-section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(22px, 3vw, 34px);
    align-items: start;
}

.mission-head {
    position: relative;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 0;
    align-items: start;
}

.mission-head .section-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    min-height: 40px;
    border: 0;
    background: transparent;
}

.mission-head h2 {
    color: var(--text);
    font-size: clamp(1.45rem, 2vw, 2.25rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.mission-head .section-summary {
    max-width: 72ch;
    color: color-mix(in srgb, var(--muted) 80%, white 20%);
    line-height: 1.7;
    text-wrap: pretty;
}

.mission-head .contact-summary {
    max-width: none;
    text-wrap: unset;
}

.mission-head h2,
.contact-sheet h2,
.anchor-project h3,
.project-note h3,
.impact-row h3 {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.mission-body {
    position: relative;
    display: grid;
    gap: 20px;
    padding-top: 26px;
    transform-style: preserve-3d;
}

.mission-body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(142, 245, 208, 0.3), rgba(255, 255, 255, 0.03));
}

.mission-body::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    top: -26px;
    height: 82px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), rgba(142, 245, 208, 0.22) 20%, transparent 66%);
    box-shadow: none;
    filter: blur(18px);
    opacity: calc(0.18 + var(--section-progress, 0.5) * 0.3);
    transform:
        translateY(calc((0.5 - var(--section-progress, 0.5)) * 16px))
        scaleX(calc(0.88 + var(--section-progress, 0.5) * 0.18));
    transform-origin: center top;
}

.mission-card {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 1px solid rgba(142, 245, 208, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    background:
        linear-gradient(180deg, rgba(11, 17, 36, 0.84), rgba(6, 10, 24, 0.52)),
        radial-gradient(circle at top right, rgba(142, 245, 208, 0.08), transparent 34%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        0 16px 44px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.22s ease,
        box-shadow 0.22s ease;
    transform:
        perspective(1400px)
        translate3d(
            0,
            calc((0.5 - var(--section-progress, 0.5)) * 18px),
            calc((var(--section-progress, 0.5) - 0.5) * 48px)
        )
        rotateX(calc((0.5 - var(--section-progress, 0.5)) * 4deg));
}

.mission-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.07) 48%, transparent 58% 100%);
    transform: translateX(-130%);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.mission-card::after,
.impact-date::before,
.mission-proofline span::before,
.launch-metrics span::before,
.plain-list-grid span::before,
.anchor-side a::before,
.project-note a::before,
.simple-link-list a::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 35%, rgba(142, 245, 208, 0.95) 50%, rgba(255, 255, 255, 0.15) 65%, transparent 100%);
    background-size: 220% 100%;
    background-position: 180% 0;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderTravel 4.6s linear infinite;
    opacity: 0.9;
}

.mission-card:hover {
    transform:
        perspective(1400px)
        translate3d(
            0,
            calc((0.5 - var(--section-progress, 0.5)) * 18px - 4px),
            calc((var(--section-progress, 0.5) - 0.5) * 48px + 18px)
        )
        rotateX(calc((0.5 - var(--section-progress, 0.5)) * 4deg - 0.8deg));
    border-top-color: rgba(142, 245, 208, 0.34);
    border-left-color: rgba(142, 245, 208, 0.28);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 28px 60px rgba(0, 0, 0, 0.22);
}

.mission-card:hover::before {
    transform: translateX(130%);
}

html.theme-light .editorial-kicker,
html.theme-light .mission-head .section-summary,
html.theme-light .hero-manifesto,
html.theme-light .evidence-list li,
html.theme-light .footer-copy,
html.theme-light .footer-note {
    color: var(--muted);
}

html.theme-light .mission-body::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(130, 234, 208, 0.24), rgba(255, 255, 255, 0.03));
}

html.theme-light .mission-body::after {
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), rgba(130, 234, 208, 0.18) 20%, transparent 66%);
    opacity: calc(0.16 + var(--section-progress, 0.5) * 0.22);
}

html.theme-light .editorial-card,
html.theme-light .mission-card {
    border-top-color: rgba(255, 255, 255, 0.15);
    border-left-color: rgba(130, 234, 208, 0.11);
    border-right-color: rgba(255, 255, 255, 0.05);
    background:
        linear-gradient(180deg, rgba(13, 22, 44, 0.86), rgba(8, 14, 30, 0.56)),
        radial-gradient(circle at top right, rgba(130, 234, 208, 0.08), transparent 34%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 14px 36px rgba(0, 0, 0, 0.2);
}

html.theme-light .mission-card::before {
    background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.07) 48%, transparent 58% 100%);
}

html.theme-light .interest-grid span,
html.theme-light .plain-list-grid span,
html.theme-light .mission-proofline span,
html.theme-light .launch-metrics span,
html.theme-light .anchor-side a,
html.theme-light .project-note a,
html.theme-light .simple-link-list a,
html.theme-light .glass-contact {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
}

html.theme-light .glass-copy span,
html.theme-light .hero-scroll span,
html.theme-light .nav-list a,
html.theme-light .interest-intro {
    color: var(--muted);
}

.mission-profile-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.mission-profile-grid .profile-statement {
    grid-column: 1 / span 7;
    min-height: 260px;
}

.mission-card-sequenced::after,
.mission-card-sequenced .sequence-group > span::before,
.mission-card-sequenced .sequence-group > a::before,
.mission-card-sequenced .sequence-group > li > a::before,
.mission-card-sequenced .sequence-group.interest-grid > span::after {
    animation: none;
    opacity: 0;
}

.mission-card-sequenced.reveal-item.is-visible::after {
    animation: profileSequenceBorder 12.4s linear infinite;
    opacity: 1;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span::after {
    animation: profileSequenceBorder 12.4s linear infinite;
    opacity: 1;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(1)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(1)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(1) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(1)::after {
    animation-delay: 1.55s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(2)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(2)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(2) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(2)::after {
    animation-delay: 2.2s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(3)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(3)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(3) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(3)::after {
    animation-delay: 2.85s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(4)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(4)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(4) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(4)::after {
    animation-delay: 3.5s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(5)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(5)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(5) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(5)::after {
    animation-delay: 4.15s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(6)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(6)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(6) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(6)::after {
    animation-delay: 4.8s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(7)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(7)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(7) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(7)::after {
    animation-delay: 5.45s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(8)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(8)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(8) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(8)::after {
    animation-delay: 6.1s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(9)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(9)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(9) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(9)::after {
    animation-delay: 6.75s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(10)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(10)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(10) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(10)::after {
    animation-delay: 7.4s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(11)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(11)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(11) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(11)::after {
    animation-delay: 8.05s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(12)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(12)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(12) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(12)::after {
    animation-delay: 8.7s;
}

.mission-card-sequenced.reveal-item.is-visible .sequence-group > span:nth-child(13)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > a:nth-child(13)::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group > li:nth-child(13) > a::before,
.mission-card-sequenced.reveal-item.is-visible .sequence-group.interest-grid > span:nth-child(13)::after {
    animation-delay: 9.35s;
}

.mission-profile-grid .profile-objective {
    grid-column: 8 / span 5;
}

.mission-profile-grid .mission-card-signal {
    grid-column: 1 / span 4;
}

.mission-profile-grid .mission-card-wide {
    grid-column: 5 / span 8;
}

.mission-profile-grid .profile-interests {
    grid-column: 1 / span 12;
}

.mission-proofline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.mission-proofline span,
.launch-metrics span,
.plain-list-grid span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
}

.interest-grid span {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    overflow: hidden;
}

.interest-grid span::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 35%, rgba(142, 245, 208, 0.95) 50%, rgba(255, 255, 255, 0.15) 65%, transparent 100%);
    background-size: 220% 100%;
    background-position: 180% 0;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderTravel 4.6s linear infinite;
    opacity: 0.9;
}

@media (min-width: 900px) {
    .interest-intro {
        white-space: nowrap;
    }

    .mission-head .contact-summary {
        font-size: 0.93rem;
        white-space: nowrap;
    }
}

.plain-list-grid {
    gap: 12px;
}

.plain-list-grid span {
    min-height: 42px;
    font-size: 0.82rem;
}

.signal-list {
    display: grid;
    gap: 14px;
    color: var(--text);
}

.signal-list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.75;
}

.signal-list li::before,
.evidence-list li::before {
    top: 0.72em;
    border-radius: 50%;
}

.anchor-project-premium {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    gap: clamp(28px, 4vw, 48px);
    margin-bottom: 10px;
}

.anchor-project-premium,
.mission-project-columns,
.mission-impact-stack,
.mission-cert-rows,
.contact-sheet {
    transform: translate3d(0, calc((0.5 - var(--section-progress, 0.5)) * 14px), 0);
}

.anchor-side-premium {
    position: relative;
    gap: 22px;
    padding-bottom: 22px;
}

.anchor-side-premium::after {
    content: "";
    position: absolute;
    left: 0;
    right: 12%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(142, 245, 208, 0.48), transparent);
    box-shadow: 0 0 22px rgba(142, 245, 208, 0.18);
    pointer-events: none;
}

.launch-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.launch-metrics span {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.anchor-proof {
    color: var(--accent);
    font-size: 0.84rem;
    line-height: 1.6;
}

.mission-project-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.project-note-wide {
    grid-column: 1 / -1;
}

.project-note,
.impact-row,
.cert-row {
    min-height: 100%;
}

.project-note p,
.impact-row p,
.cert-row p,
.simple-link-list a,
.section-summary,
.profile-paragraph {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    text-wrap: pretty;
}

.impact-row {
    gap: 18px;
}

.impact-row-head {
    align-items: center;
}

.impact-date {
    position: relative;
    align-self: start;
    padding: 8px 12px;
    border: 1px solid rgba(142, 245, 208, 0.14);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.mission-cert-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cert-row {
    padding: 18px 18px 16px;
}

.simple-link-list {
    gap: 8px;
}

.simple-link-list li {
    display: block;
}

.simple-link-list a {
    position: relative;
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.84rem;
    overflow: hidden;
}

.contact-sheet {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

.contact-sheet .contact-sheet-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
}

.contact-sheet .contact-sheet-links a {
    max-width: none;
    width: 100%;
    min-height: 86px;
}

.contact-sheet-links a.glass-contact {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    align-items: center;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    overflow: hidden;
}

.contact-sheet-links a.glass-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 35%, rgba(142, 245, 208, 0.98) 50%, rgba(255, 255, 255, 0.18) 65%, transparent 100%);
    background-size: 220% 100%;
    background-position: 180% 0;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderTravel 3.8s linear infinite;
}

.contact-sheet-links a.glass-contact:hover {
    transform: translateY(-2px);
    border-color: rgba(142, 245, 208, 0.3);
    background: transparent;
}

.glass-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0.98;
}

.glass-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.07) 42%, rgba(142, 245, 208, 0.07) 68%, transparent 82%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(155%);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 0 18px rgba(142, 245, 208, 0.14),
        0 0 34px rgba(134, 184, 255, 0.08);
}

.glass-icon svg {
    position: relative;
    z-index: 1;
    width: 21px;
    height: 21px;
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.12))
        drop-shadow(0 0 10px rgba(142, 245, 208, 0.1));
}

.glass-copy {
    display: grid;
    gap: 3px;
}

.glass-copy strong {
    font-size: 0.98rem;
    font-weight: 650;
}

.glass-copy span {
    color: var(--muted);
    font-size: 0.78rem;
}

@keyframes borderTravel {
    0% {
        background-position: 180% 0;
    }
    100% {
        background-position: -40% 0;
    }
}


@media (max-width: 1200px) {
    .hero-stage {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    }

    .mission-section-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 1100px) {
    .mission-profile-grid,
    .mission-project-columns,
    .anchor-project-premium,
    .mission-cert-rows {
        grid-template-columns: 1fr;
    }

    .mission-profile-grid .profile-statement,
    .mission-profile-grid .profile-objective,
    .mission-profile-grid .mission-card-signal,
    .mission-profile-grid .mission-card-wide,
    .mission-profile-grid .profile-interests,
    .project-note-wide {
        grid-column: auto;
    }

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

    .hero-copy,
    .hero-stats {
        max-width: 100%;
    }

    .mission-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

@media (max-width: 767px) {
    .hero-sector .hero-video-shell {
        display: none;
    }

    .hero-name {
        font-size: clamp(1.6rem, 8vw, 2.3rem);
        white-space: normal;
    }

    .hero-lede {
        max-width: 20ch;
        font-size: clamp(1.04rem, 7vw, 1.36rem);
    }

    .hero-manifesto {
        font-size: 0.95rem;
        line-height: 1.72;
    }

    .orbit-node {
        font-size: 0.34rem;
    }

    .orbit-line {
        width: 28px;
    }

    .contact-sheet-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .simple-link-list a {
        align-items: center;
        font-size: 0.92rem;
    }

    .mission-body::after {
        width: 14px;
    }

    .contact-sheet-links a.glass-contact {
        grid-template-columns: 40px 1fr;
        padding: 14px;
    }

    .glass-icon {
        width: 40px;
        height: 40px;
    }

    .glass-icon svg {
        width: 19px;
        height: 19px;
    }

    .site-footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-location-mark {
        margin-left: 0;
    }

    .footer-location-badge,
    .footer-location-canvas {
        width: 92px;
        height: 92px;
    }

    .footer-location-copy strong {
        font-size: 0.72rem;
        white-space: normal;
    }
}

@media (max-width: 900px) {
    :root {
        --pad-x: clamp(18px, 4vw, 30px);
    }

    .hero-sector {
        padding: calc(var(--header-h) + 28px) var(--pad-x) 88px;
    }

    .hero-stage {
        gap: clamp(26px, 5vw, 42px);
    }

    .hero-orbit {
        min-height: clamp(360px, 55vw, 470px);
        padding: 18px 12px 6px;
    }

    .hero-photo-core {
        width: min(44vw, 300px);
    }

    .hero-copy,
    .hero-manifesto,
    .mission-head .section-summary,
    .profile-paragraph,
    .anchor-side p,
    .project-note p,
    .impact-row p {
        max-width: none;
    }

    .mission-body {
        gap: 18px;
        padding-top: 20px;
    }

    .editorial-card {
        padding: clamp(18px, 3vw, 24px);
    }

    .mission-head .section-index {
        width: auto;
        min-height: auto;
        justify-content: flex-start;
    }

    .site-footer {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 18px 22px;
    }

    .footer-meta,
    .footer-location-copy {
        transform: none;
    }

    .footer-meta {
        gap: 6px;
    }

    .footer-location-mark {
        gap: 10px;
    }

    .footer-location-badge,
    .footer-location-canvas {
        width: 82px;
        height: 82px;
    }

    .footer-location-copy strong {
        max-width: 22ch;
        font-size: 0.74rem;
    }
}

@media (max-width: 767px) {
    :root {
        --pad-x: clamp(16px, 4.5vw, 22px);
        --section-gap: 80px;
    }

    .hero-sector {
        padding: calc(var(--header-h) + 18px) var(--pad-x) 72px;
    }

    .hero-stage {
        gap: 24px;
    }

    .hero-orbit {
        order: -1;
        min-height: 300px;
        margin-top: 0;
        padding: 10px 0 0;
    }

    .hero-photo-core {
        width: min(62vw, 240px);
    }

    .hero-copy {
        max-width: none;
    }

    .hero-name {
        font-size: clamp(1.8rem, 10vw, 2.4rem);
        line-height: 1.02;
    }

    .hero-lede {
        max-width: none;
        font-size: clamp(1rem, 7vw, 1.28rem);
        line-height: 1.16;
    }

    .hero-lede .keep-together {
        white-space: normal;
    }

    .hero-manifesto {
        max-width: none;
        font-size: 0.94rem;
        line-height: 1.66;
    }

    .hero-ctas {
        margin-top: 22px;
        gap: 12px;
    }

    .hero-ctas a {
        width: 100%;
    }

    .hero-stats {
        margin-top: 24px;
    }

    .hero-stats li {
        padding: 12px 0;
    }

    .hero-stats strong {
        font-size: 0.86rem;
    }

    .hero-stats span {
        font-size: 0.79rem;
    }

    .orbit-node {
        font-size: 0.35rem;
        letter-spacing: 0.16em;
    }

    .orbit-line {
        width: 26px;
    }

    .orbit-node-a {
        top: 18%;
        right: 8%;
    }

    .orbit-node-b {
        top: 26%;
        left: 2%;
    }

    .orbit-node-c {
        top: 70%;
        right: 4%;
    }

    .orbit-node-d {
        top: 60%;
        left: 4%;
    }

    .orbit-node-e {
        right: 8%;
        bottom: 10%;
    }

    .mission-head {
        gap: 10px;
    }

    .mission-head h2 {
        font-size: clamp(1.38rem, 7vw, 1.8rem);
    }

    .mission-head .section-summary {
        max-width: none;
        line-height: 1.55;
    }

    .mission-body {
        gap: 16px;
        padding-top: 18px;
    }

    .editorial-card,
    .mission-card,
    .cert-row {
        padding: 17px 15px;
    }

    .impact-row-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .impact-date {
        white-space: normal;
    }

    .site-footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        padding-top: 18px;
        padding-bottom: 28px;
        gap: 12px 14px;
    }

    .site-footer::before {
        left: var(--pad-x);
        right: var(--pad-x);
    }

    .footer-meta {
        gap: 6px;
        max-width: 42vw;
    }

    .footer-copy,
    .footer-note {
        font-size: 0.56rem;
        letter-spacing: 0.09em;
    }

    .footer-note {
        text-align: left;
    }

    .footer-location-mark {
        justify-self: end;
        gap: 8px;
        align-items: center;
    }

    .footer-location-badge,
    .footer-location-canvas {
        width: 64px;
        height: 64px;
    }

    .footer-location-copy {
        gap: 3px;
    }

    .footer-location-kicker {
        font-size: 0.58rem;
    }

    .footer-location-copy strong {
        max-width: 15ch;
        font-size: 0.64rem;
    }
}

@media (max-width: 480px) {
    .contact-sheet .contact-sheet-links {
        grid-template-columns: 1fr !important;
    }

    .contact-sheet .contact-sheet-links a {
        min-height: 78px;
    }

    .launch-metrics {
        grid-template-columns: 1fr;
    }

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

    .simple-link-list a {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    .profile-skills .plain-list-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 58px;
        gap: 10px;
    }

    .profile-skills .plain-list-grid span {
        width: 100%;
        min-height: 0;
        height: 100%;
        padding: 0 10px;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }
}

@media (max-width: 340px) {
    .site-footer {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
    }

    .footer-meta {
        max-width: none;
    }

    .footer-location-mark {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .hero-orbit {
        display: grid;
        place-items: center;
        gap: 0;
        min-height: 340px;
        overflow: visible;
    }

    .hero-photo-core {
        width: min(62vw, 228px);
    }

    .orbit-ring {
        display: block;
    }

    .orbit-ring-a {
        width: min(86vw, 332px);
        height: min(86vw, 332px);
    }

    .orbit-ring-b {
        width: min(62vw, 240px);
        height: min(62vw, 240px);
    }

    .orbit-node {
        position: absolute;
        font-size: 0.31rem;
        letter-spacing: 0.14em;
    }

    .orbit-line {
        width: 18px;
    }

    .orbit-node-a {
        top: 17%;
        right: 7%;
    }

    .orbit-node-b {
        top: 28%;
        left: 3%;
    }

    .orbit-node-c {
        top: 69%;
        right: 5%;
    }

    .orbit-node-d {
        top: 59%;
        left: 5%;
    }

    .orbit-node-e {
        right: 8%;
        bottom: 11%;
    }
}

@media (max-width: 900px) and (min-width: 680px) and (hover: hover) and (pointer: fine) {
    .hero-sector {
        padding: calc(var(--header-h) + 20px) var(--pad-x) 64px;
    }

    .hero-stage {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
        gap: clamp(24px, 4vw, 40px);
        align-items: start;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-orbit {
        order: 0;
        width: min(100%, 360px);
        min-height: 360px;
        align-self: start;
        justify-self: center;
        margin-top: clamp(56px, 9vw, 92px);
        padding: 0;
    }

    .hero-orbit::before {
        width: 250px;
        transform: translateY(-34px);
    }

    .hero-orbit::after {
        width: 190px;
        height: 190px;
    }

    .orbit-ring-a {
        width: 340px;
        height: 340px;
    }

    .orbit-ring-b {
        width: 232px;
        height: 232px;
    }

    .hero-photo-core {
        width: min(100%, 230px);
    }

    .orbit-node {
        font-size: 0.34rem;
        letter-spacing: 0.15em;
    }

    .orbit-line {
        width: 22px;
    }

    .orbit-node-a {
        top: 18%;
        right: 6%;
    }

    .orbit-node-b {
        top: 28%;
        left: 2%;
    }

    .orbit-node-c {
        top: 69%;
        right: 4%;
    }

    .orbit-node-d {
        left: 4%;
        top: 59%;
    }

    .orbit-node-e {
        right: 6%;
        bottom: 11%;
    }

    .hero-name {
        font-size: clamp(1.8rem, 4.4vw, 2.55rem);
        line-height: 1.02;
    }

    .hero-lede {
        max-width: 20ch;
        font-size: clamp(1rem, 1.6vw, 1.16rem);
        line-height: 1.14;
    }

    .hero-lede .keep-together {
        white-space: normal;
    }

    .hero-manifesto {
        max-width: none;
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .hero-ctas {
        margin-top: 20px;
        gap: 12px;
    }

    .hero-ctas a {
        width: auto;
        min-width: 164px;
    }

    .hero-stats {
        margin-top: 22px;
        grid-template-columns: 1fr;
    }

    .hero-stats li {
        padding: 12px 0;
    }
}
