/* Homepage layout and component styles. */

/* =========================================================
   DOCUMENT / CV BUTTONS
   ========================================================= */

.document-section {
    margin-top: 25px;
    width: 100%;
    max-width: 650px;
}

.document-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.document-group {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(5px);
}

.document-group h3 {
    margin: 0 0 14px 0;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #ffffff;
}

.document-group.japanese {
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}

.document-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.document-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: 100%;
    min-height: 42px;
    padding: 9px 14px;

    box-sizing: border-box;

    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.25);

    text-decoration: none;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);

    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.document-button:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.document-button i {
    font-size: 0.9rem;
}

.document-group.japanese .document-button {
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    font-size: 0.88rem;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .document-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .document-section {
        max-width: 100%;
    }
}

/* Navigation shared visually with Projects and Publications */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(8, 14, 25, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #203049;
}
.navbar .nav-btn {
    min-width: 0;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: #a8b7cd;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
}
.navbar .nav-btn:hover,
.navbar .nav-btn[aria-current='page'] {
    background: #15283a;
    border-color: #2c5865;
    color: #8debdc;
    transform: none;
}
.navbar .nav-btn:focus-visible {
    outline: 2px solid #80e7d5;
    outline-offset: 5px;
}
@media (max-width: 520px) {
    .navbar {
        gap: 3px;
        padding: 10px 6px;
    }
    .navbar .nav-btn {
        padding: 9px 10px;
        font-size: 11px;
    }
    .navbar .nav-btn i {
        margin-right: 4px;
    }
}

/* Prominent observatory invitation and scrolling timeline links. */
.launchpad .lp-three .lp-section-head {
    flex-wrap: wrap;
}
.launchpad .lp-three .lp-observatory-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid #82e8d4;
    border-radius: 9px;
    background: linear-gradient(120deg, #174b51, #233558);
    color: #dffff5;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    animation: observatory-invitation 2.8s ease-in-out infinite;
}
@keyframes observatory-invitation {
    0%,
    100% {
        opacity: 0.65;
        box-shadow: 0 0 4px #82e8d422;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 22px #82e8d455;
    }
}
.launchpad .lp-observatory-cta:hover,
.launchpad .lp-observatory-cta:focus-visible {
    animation: none;
    opacity: 1;
    background: #245f64;
}
.launchpad .ct-reel-card a.ct-scrolling-link {
    display: block;
    width: 180px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid #91e9e544;
    border-radius: 5px;
    padding: 6px 0;
    background: #071b2966;
    text-decoration: none;
}
.ct-link-track {
    display: flex;
    width: max-content;
    animation: timeline-link-scroll 8s linear infinite;
    animation-play-state: paused;
}
.ct-link-track > span {
    flex: none;
    padding: 0 22px;
}
.ct-reel-active .ct-link-track {
    animation-play-state: running;
}
.ct-scrolling-link:hover .ct-link-track,
.ct-scrolling-link:focus-visible .ct-link-track {
    animation-play-state: paused;
}
@keyframes timeline-link-scroll {
    to {
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .launchpad .lp-three .lp-observatory-cta,
    .ct-link-track {
        animation: none;
        opacity: 1;
    }
    .ct-link-track > span[aria-hidden] {
        display: none;
    }
    .launchpad .ct-reel-card a.ct-scrolling-link {
        width: auto;
        white-space: normal;
    }
}

/* Sculpted arcade cabinet: self-contained, no extra image assets. */
.hero-right .arcade-cabinet {
    width: 100%;
    max-width: 640px;
    margin: 18px auto 28px;
    box-sizing: border-box;
    padding: 12px 18px 0;
    border: 0;
    border-radius: 26px 26px 12px 12px;
    background: linear-gradient(
        90deg,
        #111320,
        #36374d 3%,
        #171827 5%,
        #141522 95%,
        #404156 97%,
        #10111c
    );
    box-shadow:
        0 24px 45px #0008,
        0 0 35px #a653e51a;
    overflow: visible;
}
.hero-right .arcade-cabinet::before,
.hero-right .arcade-cabinet::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 20px;
    bottom: 24px;
    width: 9px;
    border-radius: 6px;
    background: linear-gradient(#ff96dd, #e544bc 40%, #7541df 65%, #64e8ff);
    box-shadow: 0 0 10px #e544bc66;
    pointer-events: none;
}
.hero-right .arcade-cabinet::before {
    left: 5px;
}
.hero-right .arcade-cabinet::after {
    right: 5px;
}
.hero-right .arcade-marquee {
    margin: 0 -5px;
    padding: 19px 12px 16px;
    border: 4px solid #090b13;
    border-radius: 14px 14px 5px 5px;
    background:
        repeating-linear-gradient(135deg, transparent 0 18px, #ffffff06 19px 20px),
        radial-gradient(ellipse at center, #663b96, #211935 75%);
    box-shadow:
        inset 0 0 18px #e27aff45,
        0 3px 0 #505166;
}
.arcade-marquee .arcade-title {
    display: block;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(25px, 3.1vw, 43px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 5px;
    color: #fff1b9;
    text-shadow:
        2px 2px 0 #dd5499,
        0 0 15px #ffb56c88;
}
.arcade-marquee .arcade-subtitle {
    display: block;
    padding: 8px 0 0;
    font-size: 8px;
    letter-spacing: 2.5px;
    color: #c8bbdf;
}
.arcade-speakers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    height: 33px;
    padding: 0 14px;
}
.arcade-speakers i {
    width: 67px;
    height: 12px;
    border-radius: 9px;
    background: repeating-linear-gradient(90deg, #05060b 0 3px, #343544 3px 5px);
    box-shadow: 0 1px #565566;
}
.arcade-speakers span {
    font:
        8px 'DM Sans',
        sans-serif;
    letter-spacing: 2px;
    color: #8ce9e8;
}
.hero-right .arcade-screen-frame {
    position: relative;
    padding: 22px 22px 28px;
    border: 0;
    border-radius: 30px 30px 18px 18px;
    background: linear-gradient(145deg, #303345, #11131e 35%, #080a12 75%, #333449);
    box-shadow:
        inset 0 2px 3px #ffffff25,
        inset 0 -3px 6px #000,
        0 3px 0 #000;
}
.hero-right .arcade-cabinet #game {
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    min-height: 0;
    position: relative;
    border: 3px solid #05060c;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    background: #050811;
    box-shadow:
        0 0 0 2px #454653,
        0 0 19px #5aabd92a;
}
.arcade-screen-label {
    display: block;
    position: absolute;
    bottom: 7px;
    left: 0;
    right: 0;
    text-align: center;
    color: #7b8197;
    font:
        7px 'DM Sans',
        sans-serif;
    letter-spacing: 3px;
    pointer-events: none;
}
.arcade-deck {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 94px;
    margin: 8px -9px 0;
    padding: 0 30px;
    border: 2px solid #49455d;
    border-bottom: 8px solid #0a0b13;
    border-radius: 8px 8px 15px 15px;
    background: linear-gradient(170deg, #3c3256, #201e32 55%, #151725);
    box-shadow:
        0 8px 12px #0005,
        inset 0 2px #b596ca44;
}
.arcade-deck::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid #d37fb444;
    border-radius: 5px;
    pointer-events: none;
}
.arcade-stick {
    position: relative;
    width: 63px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(ellipse, #11111d 40%, #5a5069 44%, #10111c 65%);
    transform: rotate(-8deg);
}
.arcade-stick::before {
    content: '';
    position: absolute;
    left: 28px;
    bottom: 18px;
    width: 9px;
    height: 39px;
    background: linear-gradient(90deg, #5c6377, #e5e7ee, #55576c);
    border-radius: 5px;
}
.arcade-stick::after {
    content: '';
    position: absolute;
    left: 13px;
    bottom: 45px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #ffb4d6, #e83e87 42%, #780c48 85%);
    box-shadow: 3px 6px 9px #0008;
}
.arcade-deck-note {
    font:
        8px 'DM Sans',
        sans-serif;
    letter-spacing: 2px;
    color: #b9aecb;
    text-align: center;
    line-height: 1.8;
}
.arcade-buttons {
    display: grid;
    grid-template-columns: repeat(3, 22px);
    gap: 9px;
    transform: rotate(-12deg);
}
.arcade-buttons i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #b7ffff, #43c9da 55%, #247485);
    border: 3px solid #0d1220;
    box-shadow:
        0 4px 0 #080a12,
        0 5px 7px #0008;
}
.arcade-buttons i:nth-child(n + 4) {
    background: radial-gradient(circle at 35% 25%, #ffe5a9, #f4b34e 55%, #986021);
}
.hero-right .arcade-controls {
    padding: 18px 14px 15px;
    border: 0;
    background: linear-gradient(90deg, #121320, #222136 50%, #121320);
    text-align: center;
}
.arcade-controls .game-cartridge-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0 0 13px;
}
.arcade-controls .game-cartridge {
    width: clamp(55px, 6vw, 82px);
    height: auto;
    cursor: pointer;
    transition:
        transform 0.2s,
        filter 0.2s;
}
.arcade-controls .game-cartridge:hover,
.arcade-controls .game-cartridge:focus-visible {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 8px #6de3ef88);
    outline: 2px solid #7fe8eb;
    outline-offset: 4px;
}
.arcade-controls > span {
    font-size: 9px;
    letter-spacing: 2px;
    color: #b8b1cc;
}
.arcade-plinth {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 22px 19px;
    border-top: 1px solid #454052;
    background: linear-gradient(#151623, #0b0c14);
    border-radius: 0 0 10px 10px;
}
.arcade-coin {
    display: flex;
    align-items: center;
    gap: 10px;
    font:
        8px 'DM Sans',
        sans-serif;
    letter-spacing: 1.5px;
    color: #f3b4bb;
}
.arcade-coin::before {
    content: '';
    width: 20px;
    height: 31px;
    border: 3px solid #555462;
    border-radius: 4px;
    background: linear-gradient(90deg, #101018 35%, #ff7d8e 40% 55%, #101018 60%);
    box-shadow:
        inset 0 0 5px #000,
        0 0 7px #ff7d8e22;
}
.arcade-plinth small {
    font:
        7px 'DM Sans',
        sans-serif;
    letter-spacing: 2px;
    color: #8b849e;
}
@media (max-width: 600px) {
    .hero-right .arcade-cabinet {
        padding: 10px 13px 0;
    }
    .hero-right .arcade-screen-frame {
        padding: 15px 12px 25px;
    }
    .arcade-deck {
        padding: 0 18px;
    }
    .arcade-deck-note {
        font-size: 7px;
        letter-spacing: 1px;
    }
    .arcade-marquee .arcade-title {
        font-size: 25px;
    }
}

/* Neon lighting: slow breathing glow, with reduced-motion support. */
.hero-right .arcade-marquee {
    box-shadow:
        inset 0 0 24px #e27aff60,
        0 0 12px #e27aff55,
        0 0 30px #b35dce33,
        0 3px 0 #505166;
}
.arcade-marquee .arcade-title {
    text-shadow:
        2px 2px 0 #dd5499,
        0 0 5px #fff4cacc,
        0 0 13px #ffcd79aa,
        0 0 28px #ff8abd88,
        0 0 45px #e95cca55;
    animation: arcade-title-glow 3.8s ease-in-out infinite alternate;
}
.hero-right .arcade-cabinet::before,
.hero-right .arcade-cabinet::after {
    box-shadow:
        0 0 5px #ffc1efcc,
        0 0 13px #e544bcaa,
        0 0 27px #bc53e777,
        0 0 43px #64e8ff44;
    animation: arcade-side-glow 3.8s ease-in-out infinite alternate;
}
@keyframes arcade-title-glow {
    from {
        text-shadow:
            2px 2px 0 #dd5499,
            0 0 5px #fff4cacc,
            0 0 13px #ffcd79aa,
            0 0 28px #ff8abd88,
            0 0 45px #e95cca55;
    }
    to {
        text-shadow:
            2px 2px 0 #dd5499,
            0 0 7px #fff4caee,
            0 0 19px #ffcd79cc,
            0 0 38px #ff8abdaa,
            0 0 58px #e95cca77;
    }
}
@keyframes arcade-side-glow {
    from {
        box-shadow:
            0 0 5px #ffc1efcc,
            0 0 13px #e544bcaa,
            0 0 27px #bc53e777,
            0 0 43px #64e8ff44;
    }
    to {
        box-shadow:
            0 0 7px #ffc1efee,
            0 0 18px #e544bccc,
            0 0 36px #bc53e799,
            0 0 56px #64e8ff66;
    }
}
@media (prefers-reduced-motion: reduce) {
    .arcade-marquee .arcade-title,
    .hero-right .arcade-cabinet::before,
    .hero-right .arcade-cabinet::after {
        animation: none;
    }
}

/* Fantasy scrolling LEDs and saturated retro controls. */
.arcade-marquee .arcade-title {
    font-size: clamp(20px, 2.3vw, 31px);
    line-height: 1.25;
    letter-spacing: 3px;
}
.hero-right .arcade-cabinet::before,
.hero-right .arcade-cabinet::after {
    width: 9px;
    background: repeating-linear-gradient(
        0deg,
        #66ffff 0%,
        #00bfff 12%,
        #783cff 25%,
        #ff22c8 38%,
        #ff78e7 50%,
        #783cff 63%,
        #00bfff 76%,
        #66ffff 100%
    );
    background-size: 100% 220%;
    border: 1px solid #ffffff77;
    box-sizing: border-box;
    box-shadow:
        inset 0 0 3px #fff,
        0 0 6px #b2ffff,
        0 0 15px #00dfffaa,
        0 0 30px #ba35ff88;
    animation: arcade-led-scroll 4s linear infinite;
}
.hero-right .arcade-cabinet::after {
    animation-direction: reverse;
}
@keyframes arcade-led-scroll {
    from {
        background-position: 0 0;
        filter: hue-rotate(0deg);
    }
    to {
        background-position: 0 220%;
        filter: hue-rotate(360deg);
    }
}
.arcade-stick::after {
    background: radial-gradient(
        circle at 30% 24%,
        #727783 0%,
        #292d35 22%,
        #101218 50%,
        #020308 85%
    );
    box-shadow:
        inset -4px -5px 7px #000,
        inset 2px 2px 3px #ffffff22,
        3px 6px 9px #0009,
        0 0 9px #bd58ff33;
}
.arcade-buttons i {
    background: radial-gradient(circle at 34% 25%, #c6ffff, #00f4ff 40%, #0099bd 78%);
    border-color: #0c1020;
    box-shadow:
        0 4px 0 #030610,
        0 0 10px #00eaff88,
        inset 0 2px 2px #ffffff99;
}
.arcade-buttons i:nth-child(2),
.arcade-buttons i:nth-child(5) {
    background: radial-gradient(circle at 34% 25%, #ffb2f5, #ff10ae 40%, #a00070 78%);
    box-shadow:
        0 4px 0 #080310,
        0 0 10px #ff10ae88,
        inset 0 2px 2px #ffffff99;
}
.arcade-buttons i:nth-child(3),
.arcade-buttons i:nth-child(6) {
    background: radial-gradient(circle at 34% 25%, #f0ffc1, #acff00 40%, #4d9900 78%);
    box-shadow:
        0 4px 0 #030910,
        0 0 10px #acff0088,
        inset 0 2px 2px #ffffff99;
}
.arcade-buttons i:nth-child(4) {
    background: radial-gradient(circle at 34% 25%, #e5c3ff, #9438ff 40%, #4e00ac 78%);
    box-shadow:
        0 4px 0 #080310,
        0 0 10px #9438ffaa,
        inset 0 2px 2px #ffffff99;
}
@media (max-width: 600px) {
    .arcade-marquee .arcade-title {
        font-size: 20px;
        letter-spacing: 2px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-right .arcade-cabinet::before,
    .hero-right .arcade-cabinet::after {
        animation: none;
    }
}

/* Explorer Desk — styles confined to the lower home section. */
.launchpad {
    --lp-ink: #e7eff9;
    --lp-muted: #92a8c1;
    --lp-line: #2a3d54;
    max-width: 1180px;
    width: calc(100% - 48px);
    margin: 64px auto;
    color: var(--lp-ink);
}
.launchpad * {
    box-sizing: border-box;
}
.launchpad [hidden] {
    display: none !important;
}
.launchpad button {
    font-family: inherit;
    cursor: pointer;
}
.lp-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 25px;
}
.launchpad .lp-eyebrow {
    font-size: 9px;
    letter-spacing: 2.2px;
    color: #8ddccb;
    margin: 0 0 12px;
}
.launchpad h2,
.launchpad h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
}
.launchpad .lp-intro h2 {
    font-size: clamp(29px, 4vw, 43px);
    margin: 0;
}
.lp-intro > p {
    color: var(--lp-muted);
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}
.lp-journey {
    position: relative;
    padding: 28px;
    border: 1px solid #30465c;
    border-radius: 20px;
    background: radial-gradient(ellipse at 95% 10%, #244c552e, transparent 60%), #0e1b2b;
    overflow: hidden;
}
.lp-journey-header,
.lp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.launchpad .lp-journey h3 {
    font-size: 27px;
    margin: 0;
}
.lp-live {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #9bb2c9;
    font-size: 10px;
}
.lp-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8debdc;
    box-shadow: 0 0 12px #8debdc55;
}
.lp-journey-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: center;
    margin-top: 28px;
}
.lp-stops {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    padding: 15px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}
.lp-stops::before {
    content: '';
    position: absolute;
    top: 29px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, #8adbc7, #36556d);
}
.lp-stop {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 13px;
    align-items: center;
    flex: 1 0 64px;
    min-width: 0;
    padding: 0 3px;
    border: 0;
    background: transparent;
    color: #7d98b4;
    font-size: 10px;
}
.lp-stop i {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid #3f6174;
    border-radius: 50%;
    background: #102436;
    font-size: 8px;
    font-style: normal;
    transition:
        background 0.2s,
        box-shadow 0.2s;
}
.lp-stop[aria-pressed='true'] {
    color: #d2f7eb;
}
.lp-stop[aria-pressed='true'] i {
    background: #8debdc;
    color: #102b32;
    border-color: #8debdc;
    box-shadow: 0 0 0 5px #8debdc12;
}
.lp-milestone {
    min-width: 0;
    padding: 0 0 0 26px;
    border-left: 1px solid #30465c;
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lp-milestone small {
    font-size: 10px;
    color: #86cbbb;
    letter-spacing: 1px;
}
.launchpad .lp-milestone h4 {
    font-size: 21px;
    line-height: 1.35;
    font-weight: 500;
    margin: 8px 0;
}
.lp-milestone p {
    color: #9fb5cc;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}
.lp-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 20px;
    margin-top: 20px;
    align-items: stretch;
}
.lp-lab {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--lp-line);
    border-radius: 20px;
    background: #0c1727;
}
.launchpad .lp-section-head h3 {
    font-size: 26px;
    margin: 0;
}
.lp-section-link {
    color: #98dace;
    font-size: 10px;
    text-align: right;
}
.lp-lenses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0 16px;
}
.lp-lens {
    padding: 5px 9px;
    font-size: 10px;
    border: 1px solid #293f56;
    border-radius: 30px;
    color: #8fa9c3;
    background: #111f32;
}
.lp-lens[aria-pressed='true'] {
    border-color: #5f9d9b;
    color: #caf2e9;
    background: #193941;
}
.lp-project-feature {
    min-width: 0;
}
.lp-project-image {
    position: relative;
    height: 235px;
    overflow: hidden;
    border: 1px solid #31455e;
    border-radius: 12px;
    background: radial-gradient(ellipse at top left, #2c5964, #102137);
}
.lp-project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.lp-project-image:hover img {
    transform: scale(1.035);
}
.lp-project-image::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, #06111d99);
    pointer-events: none;
}
.lp-project-tag {
    position: absolute;
    left: 14px;
    bottom: 12px;
    color: #d2f6ee;
    border: 1px solid #72979966;
    background: #071a29d9;
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 9px;
    z-index: 1;
}
.lp-project-abstract {
    padding: 18px 0 8px;
}
.launchpad .lp-project-abstract h4 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 500;
}
.lp-project-abstract p {
    color: #9eb4cb;
    font-size: 12px;
    line-height: 1.8;
    margin: 0 0 12px;
}
.lp-project-open {
    font-size: 11px;
    color: #9adccf;
}
.lp-deck-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 13px;
    padding-top: 15px;
    border-top: 1px solid #263a51;
}
#projectPosition {
    font-size: 10px;
    color: #7f9ab6;
    letter-spacing: 1px;
}
.lp-next {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 0;
    background: transparent;
    padding: 5px 0;
    color: #c8e7e2;
    font-size: 11px;
}
.lp-next span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #3c5b6d;
    border-radius: 50%;
}
.lp-next:disabled {
    opacity: 0.4;
    cursor: default;
}
.lp-journal {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 20px;
    background: #e8e2d5;
    color: #273d43;
    border: 1px solid #f4ead7;
}
.launchpad .lp-journal .lp-eyebrow {
    color: #617976;
}
.lp-journal-mark {
    font-size: 42px;
    color: #607c6a;
    line-height: 1;
}
.lp-journal-intro {
    color: #657570;
    font-size: 12px;
    margin: 14px 0 8px;
}
.lp-stories {
    flex: 1;
}
.lp-story {
    display: block;
    position: relative;
    padding: 23px 24px 23px 0;
    border-bottom: 1px solid #a5aea150;
    color: #273d43;
}
.lp-story:last-child {
    border-bottom: 0;
}
.lp-story::after {
    content: '↗';
    position: absolute;
    right: 0;
    top: 50%;
    color: #6a8274;
}
.lp-story:hover h4 {
    color: #448273;
}
.lp-story time,
.lp-story small {
    display: inline;
    color: #718176;
    font-size: 9px;
    letter-spacing: 0.5px;
}
.launchpad .lp-story h4 {
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 400;
    margin: 9px 0;
    transition: color 0.2s;
}
.lp-story p {
    color: #63746d;
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}
.lp-journal-all {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #a5aea166;
    padding-top: 17px;
    margin-top: 18px;
    font-size: 11px;
    color: #365b50;
}
.lp-empty {
    font-size: 12px;
    color: #95a9bf;
    padding: 20px 0;
}
.lp-journal .lp-empty {
    color: #63746d;
}
.launchpad a:focus-visible,
.launchpad button:focus-visible {
    outline: 2px solid #6da99c;
    outline-offset: 4px;
}
@media (max-width: 850px) {
    .lp-journey-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .lp-milestone {
        border-left: 0;
        border-top: 1px solid #30465c;
        padding: 20px 0 0;
        min-height: 110px;
    }
    .lp-bottom {
        grid-template-columns: 1fr 1fr;
    }
    .lp-lab,
    .lp-journal {
        padding: 22px;
    }
    .lp-section-head {
        align-items: flex-start;
    }
    .lp-section-link {
        max-width: 100px;
        line-height: 1.6;
    }
}
@media (max-width: 650px) {
    .launchpad {
        width: calc(100% - 32px);
        margin: 38px auto;
    }
    .lp-intro {
        display: block;
    }
    .lp-intro > p {
        margin-top: 14px;
    }
    .lp-bottom {
        grid-template-columns: 1fr;
    }
    .lp-journey {
        padding: 22px;
    }
    .lp-live {
        display: none;
    }
    .lp-project-image {
        height: 220px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .launchpad * {
        transition: none !important;
    }
}

/* Expanded career archive */
.ct-tools {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin: 24px 0 10px;
}
.ct-tools label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    color: #92b6c8;
    letter-spacing: 0.5px;
}
.ct-tools select {
    min-width: 160px;
    max-width: 100%;
    padding: 9px 12px;
    border: 1px solid #34566b;
    border-radius: 8px;
    background: #102537;
    color: #d7edf6;
    font: inherit;
    font-size: 12px;
}
.ct-tools p {
    margin: 0 0 10px auto;
    font-size: 11px;
    color: #8da9be;
}
.ct-stops {
    justify-content: flex-start;
    padding: 12px 4px 18px;
    margin-bottom: 12px;
}
.ct-stops .lp-stop {
    flex: 0 0 75px;
}
.ct-stops .lp-stop:last-child {
    flex-basis: 115px;
}
.ct-stops::before {
    top: 26px;
    min-width: 100%;
}
.ct-events {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 440px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #456b7e #0e1b2b;
    padding-right: 12px;
}
.ct-entry {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid #294354;
}
.ct-entry:last-child {
    border-bottom: 0;
}
.ct-entry > div:first-child {
    color: #a9decf;
    font-size: 11px;
}
.ct-entry .ct-kind {
    display: block;
    margin-top: 7px;
    font-size: 9px;
    color: #7397ad;
    letter-spacing: 0.5px;
}
.ct-entry h4 {
    margin: 0 0 7px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}
.ct-entry p {
    margin: 0;
    color: #9fb6cb;
    font-size: 12px;
    line-height: 1.8;
}
.ct-entry a {
    display: inline-block;
    font-size: 11px;
    margin-top: 8px;
    color: #94daca;
}
@media (max-width: 500px) {
    .ct-entry {
        grid-template-columns: 65px minmax(0, 1fr);
        gap: 10px;
    }
    .ct-entry h4 {
        font-size: 15px;
    }
    .ct-tools label {
        flex: 1;
        min-width: 0;
    }
    .ct-tools select {
        min-width: 0;
        width: 100%;
    }
    .ct-tools p {
        flex-basis: 100%;
    }
}

/* Portfolio signal — animated real project and article highlights. */
.lp-motion-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}
.lp-transmission {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #87b9b2;
    font-size: 9px;
    letter-spacing: 2px;
}
.lp-transmission i {
    width: 5px;
    height: 5px;
    background: #8debdc;
    border-radius: 50%;
    box-shadow: 0 0 10px #8debdc55;
}
#deskMotion {
    padding: 7px 10px;
    border: 1px solid #36566b;
    border-radius: 7px;
    background: #122535;
    color: #b3d2d6;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}
.lp-ticker {
    overflow: hidden;
    border: 1px solid #2b4559;
    border-radius: 10px;
    background: linear-gradient(90deg, #12283a, #0b1826);
    margin: 0 0 20px;
}
.lp-ticker-track {
    display: flex;
    width: max-content;
    animation: lp-tape var(--ticker-duration, 75s) linear infinite;
}
.lp-ticker-group {
    display: flex;
    align-items: center;
    flex: none;
}
.lp-ticker-item {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: none;
    padding: 14px 22px;
    white-space: nowrap;
    font-size: 11px;
    color: #c0d8e5;
    border-right: 1px solid #284153;
}
.lp-ticker-item small {
    color: #7bbcac;
    font-size: 8px;
    letter-spacing: 1px;
}
.lp-ticker-item span {
    color: #e4c78b;
    font-size: 9px;
}
.lp-ticker-item:hover {
    background: #1a3544;
}
@keyframes lp-tape {
    to {
        transform: translateX(-50%);
    }
}
.launchpad.lp-animation-paused .lp-ticker-track {
    animation-play-state: paused;
}
.lp-ticker:focus-within .lp-ticker-track {
    animation-play-state: paused;
}
.lp-blog-spotlight {
    display: block;
    border-bottom: 1px solid #a5aea155;
    padding: 16px 0 20px;
}
.lp-blog-spotlight .lp-blog-photo {
    width: 100%;
    height: 145px;
    display: block;
    object-fit: cover;
    border-radius: 9px;
    margin-bottom: 14px;
    background: #c6d1c4;
}
.lp-blog-spotlight time {
    color: #718176;
    font-size: 10px;
}
.launchpad .lp-blog-spotlight h4 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
    margin: 8px 0;
}
.lp-blog-spotlight p {
    font-size: 12px;
    line-height: 1.7;
    color: #63746d;
    margin: 0;
}
.lp-blog-read {
    display: inline-block;
    color: #365b50;
    margin-top: 11px;
    font-size: 11px;
}
.lp-blog-queue {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 13px;
}
.lp-blog-pick {
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
    width: 100%;
    padding: 9px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #536b60;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}
.lp-blog-pick[aria-pressed='true'] {
    border-color: #b4c2af;
    background: #d9dfce;
    color: #244b3d;
}
.lp-blog-pick img {
    width: 30px;
    height: 30px;
    flex: none;
    object-fit: cover;
    border-radius: 5px;
}
.lp-blog-pick span {
    font-size: 9px;
    opacity: 0.65;
}
@media (prefers-reduced-motion: reduce) {
    .launchpad .lp-ticker-track {
        animation: none;
        transform: none;
    }
    .lp-ticker {
        overflow-x: auto;
    }
    .lp-ticker-group[aria-hidden='true'] {
        display: none;
    }
}

/* Pointer-driven journey and independent playback progress. */
.lp-playback {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 12px;
}
.ct-mouse-surface {
    margin-top: 24px;
    cursor: ew-resize;
    outline-offset: 6px;
}
.ct-mouse-hint {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #88a9bd;
    font-size: 10px;
    line-height: 1.7;
}
.ct-year-field {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin: 20px 0;
    padding: 0 0 18px;
    border-bottom: 1px solid #44687b;
}
.ct-year-field::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: clamp(0px, var(--year-position, 0%), calc(100% - 7px));
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a3edd7;
    box-shadow: 0 0 15px #8debdc66;
    transition: left 0.25s;
}
.ct-year-mark {
    font-size: 9px;
    color: #6b91aa;
}
.ct-year-mark.ct-current {
    color: #d8fff0;
}
.ct-mouse-surface .ct-events {
    max-height: none;
    min-height: 150px;
    overflow: visible;
}
.ct-mouse-surface .ct-entry {
    border: 0;
}
.lp-time-meter {
    height: 3px;
    width: 100%;
    overflow: hidden;
    background: #34506455;
    border-radius: 5px;
    margin-top: 14px;
}
.lp-time-meter i {
    display: block;
    width: var(--timer-progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, #4e9d9b, #adecd3);
    transition: width 0.1s linear;
}
.lp-time-caption {
    margin-top: 16px;
    color: #8aa9bf;
    font-size: 9px;
    letter-spacing: 0.5px;
}
.lp-journal .lp-time-caption {
    color: #60796b;
}
.lp-journal .lp-time-meter {
    background: #afc0aa88;
}
.lp-journal .lp-time-meter i {
    background: #628d74;
}
@media (max-width: 650px) {
    .ct-year-mark:nth-child(even):not(.ct-current) {
        visibility: hidden;
    }
    .ct-mouse-hint {
        flex-direction: column;
        gap: 3px;
    }
    .ct-year-mark {
        font-size: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ct-year-field::after,
    .lp-time-meter i {
        transition: none;
    }
}

/* Mouse exploration, without extra playback buttons or progress bars. */
.ct-mouse-surface {
    position: relative;
    border-radius: 12px;
    padding: 12px;
    margin-left: -12px;
    margin-right: -12px;
    background: radial-gradient(
        160px circle at var(--pointer-x, -300px) 50%,
        #8debdc09,
        transparent
    );
}
.lp-project-mouse-hint {
    margin: 14px 0 0;
    color: #88aabe;
    font-size: 10px;
    line-height: 1.6;
}
.lp-project-image {
    cursor: ew-resize;
}
.ct-year-field {
    gap: 2px;
}
.ct-year-mark {
    font-size: 8px;
}
.lp-project-image::before {
    content: '↔';
    position: absolute;
    right: 12px;
    top: 12px;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid #b4e4da66;
    border-radius: 50%;
    background: #0a1c2bbb;
    color: #d1fff1;
    z-index: 2;
    opacity: 0.8;
    pointer-events: none;
}
@media (max-width: 650px) {
    .ct-year-mark:nth-child(3n + 2):not(.ct-current) {
        visibility: hidden;
    }
}

/* Vertical arcade reel. */
.ct-mouse-surface {
    cursor: default;
    padding: 0;
    margin: 24px 0 0;
    background: none;
}
.ct-reel-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 16px 0 0;
    color: #6e9aab;
    font-size: 8px;
    letter-spacing: 1.7px;
}
.ct-reel-label strong {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 24px;
    color: #b8e7d8;
}
.ct-reel-label span:last-child {
    font-size: 8px;
}
.ct-mouse-surface .ct-events {
    position: relative;
    display: block;
    perspective: 1000px;
    height: 580px;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    touch-action: pan-x;
    cursor: grab;
    padding: 0;
    mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.ct-mouse-surface .ct-events:active {
    cursor: grabbing;
}
.ct-events::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2%;
    right: 2%;
    height: 244px;
    transform: translateY(-50%);
    border-top: 1px solid #8debdc22;
    border-bottom: 1px solid #8debdc22;
    background: linear-gradient(90deg, #8debdc03, #8debdc08, #8debdc03);
    pointer-events: none;
}
.ct-reel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(90%, 780px);
    margin: 0;
    padding: 18px 24px;
    text-align: left;
    border: 1px solid #2f4b60;
    border-radius: 14px;
    background: #122436;
    color: #b6cbdc;
    transform: translate(-50%, -50%) translateY(var(--reel-y)) rotateX(var(--reel-angle))
        scale(var(--reel-scale));
    backface-visibility: hidden;
}
.ct-reel-card.ct-reel-active {
    background: linear-gradient(135deg, #1b3a45, #102233);
    border-color: #719e9c;
    box-shadow:
        0 0 30px #8debdc0a,
        0 12px 35px #0003;
    max-height: 230px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.ct-reel-date {
    display: block;
    color: #87beaf;
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 9px;
}
.launchpad .ct-reel-title {
    display: block;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    margin: 0 0 9px;
}
.ct-reel-active .ct-reel-title {
    color: #e6fff5;
}
.ct-reel-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    color: #a7bdce;
}
.ct-reel-card a {
    display: inline-block;
    font-size: 11px;
    margin-top: 10px;
    color: #9cddcb;
}
#blogCountdown {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 1ch;
}
@media (max-width: 600px) {
    .ct-mouse-surface .ct-events {
        height: 550px;
    }
    .ct-reel-card {
        width: 96%;
        padding: 15px;
    }
    .launchpad .ct-reel-title {
        font-size: 16px;
    }
    .ct-reel-date {
        font-size: 9px;
    }
}

/* Square project photographs, restored year line and continuous reel motion. */
.launchpad .lp-project-image {
    width: min(100%, 360px);
    height: auto;
    aspect-ratio: 1/1;
    margin-inline: auto;
    cursor: auto;
}
.launchpad .lp-project-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.launchpad .lp-project-image::before {
    display: none;
}
.launchpad .ct-mouse-surface,
.launchpad .ct-mouse-surface .ct-events,
.launchpad .ct-mouse-surface .ct-events:active {
    cursor: auto;
}
.ct-year-field .ct-year-mark {
    flex: 1;
    min-width: 0;
    padding: 7px 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 9px;
    color: #749cb1;
    cursor: pointer;
}
.ct-year-field .ct-year-mark.ct-current {
    color: #c5f9e5;
}
.ct-year-field .ct-year-mark:hover {
    color: #fff;
}
.ct-mouse-surface .ct-events {
    perspective: 1100px;
}
.ct-events .ct-reel-card {
    height: 224px;
    max-height: 224px;
    padding: 18px 24px;
    transform-style: preserve-3d;
    overflow: hidden;
    transition:
        background 0.3s,
        border-color 0.3s;
}
.ct-events .ct-reel-card.ct-reel-active {
    overflow-y: auto;
}
.ct-reel-card:not(.ct-reel-active) {
    border-color: #294759;
    background: #102233;
}
.ct-reel-card:not(.ct-reel-active) p,
.ct-reel-card:not(.ct-reel-active) a {
    visibility: hidden;
}
.ct-reel-card p,
.ct-reel-card a {
    transition: opacity 0.25s;
}
@media (max-width: 650px) {
    .ct-year-field .ct-year-mark {
        font-size: 8px;
    }
    .ct-events .ct-reel-card {
        width: 96%;
        padding: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ct-reel-card {
        transition: none;
    }
}

/* Compact wheel: a slightly violet tone against the outer blue panel. */
.launchpad .ct-mouse-surface .ct-events {
    height: 450px;
    background: radial-gradient(ellipse at center, #262e4844, transparent 70%);
}
.ct-events::before {
    height: 196px;
    border-color: #a3a7d52b;
    background: linear-gradient(90deg, #726da503, #8e81bb0c, #726da503);
}
.ct-events .ct-reel-card {
    width: min(82%, 650px);
    height: 180px;
    max-height: 180px;
    padding: 16px 20px;
    border-color: #444564;
    background: #222b40;
}
.ct-events .ct-reel-card.ct-reel-active {
    background: linear-gradient(135deg, #323b55, #202a40);
    border-color: #9695bc;
    box-shadow:
        0 10px 30px #0003,
        0 0 25px #a7a0d10b;
}
.ct-events .ct-reel-card:not(.ct-reel-active) {
    background: #20293d;
    border-color: #3c425c;
}
.launchpad .ct-reel-title {
    font-size: 18px;
}
.ct-reel-card p {
    font-size: 11px;
    line-height: 1.7;
}
.ct-reel-date {
    color: #b0b6d7;
    font-size: 9px;
}
/* Project image on the left, text on the right. */
.launchpad .lp-project-feature {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}
.launchpad .lp-project-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 11px;
}
.launchpad .lp-project-abstract {
    min-width: 0;
    padding: 0;
}
.launchpad .lp-project-abstract h4 {
    font-size: 20px;
    margin-bottom: 8px;
}
.launchpad .lp-project-abstract p {
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.launchpad .lp-project-tag {
    left: 7px;
    right: 7px;
    bottom: 7px;
    font-size: 8px;
    padding: 4px 6px;
}
/* Retro-neon cabinet: violet housing, cyan edge lights, magenta marquee. */
.arcade-cabinet {
    position: relative;
    isolation: isolate;
    background: linear-gradient(145deg, #29143e, #111630 50%, #211035);
    border: 2px solid #5473a1;
    border-radius: 18px;
    box-shadow:
        0 0 0 4px #100b20,
        0 0 22px #3be9ff22,
        0 0 45px #ef4ccf19,
        0 20px 45px #0006;
}
.arcade-marquee {
    position: relative;
    padding: 18px 12px;
    color: #f6eeff;
    background:
        linear-gradient(0deg, #100c2088, #100c2088),
        repeating-linear-gradient(90deg, transparent 0 31px, #ab61de44 32px),
        linear-gradient(110deg, #452057, #142c56 55%, #482352);
    border-bottom: 2px solid #ea6ed5;
    box-shadow: inset 0 -1px #ffb0ed55;
    text-align: center;
    font-size: clamp(10px, 1.2vw, 14px);
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow:
        0 0 5px #fff5,
        0 0 14px #ed78db88;
}
.arcade-marquee span {
    display: inline-block;
    padding: 4px 10px;
}
.arcade-screen-frame {
    background: radial-gradient(ellipse at top, #193044, #100c20 75%);
    border-top: 1px solid #70eaff88;
    border-bottom: 1px solid #70eaff66;
    padding: 16px;
}
.arcade-screen-frame::after {
    display: none;
}
.arcade-cabinet #game {
    border: 3px solid #273e56;
    box-shadow:
        0 0 0 2px #0b1022,
        0 0 18px #4be7ff22;
    background: #050811;
}
.arcade-controls {
    background: linear-gradient(125deg, #241335, #131a32);
    border-top: 1px solid #bc61b555;
    color: #a5f4f2;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1px;
}
.arcade-controls .game-cartridge {
    filter: drop-shadow(0 4px 8px #0005);
}
.arcade-controls .selected-cartridge {
    outline: 1px solid #74e9f0;
    outline-offset: 3px;
    border-radius: 9px;
    filter: drop-shadow(0 0 9px #64e2eb66);
}
@media (min-width: 651px) and (max-width: 1000px) {
    .launchpad .lp-project-feature {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 13px;
    }
    .launchpad .lp-project-abstract h4 {
        font-size: 17px;
    }
}
@media (max-width: 650px) {
    .launchpad .ct-mouse-surface .ct-events {
        height: 430px;
    }
    .ct-events .ct-reel-card {
        width: 94%;
        padding: 14px;
    }
    .launchpad .ct-reel-title {
        font-size: 16px;
    }
    .launchpad .lp-project-feature {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 14px;
    }
    .launchpad .lp-project-abstract h4 {
        font-size: 17px;
    }
}
@media (max-width: 380px) {
    .launchpad .lp-project-feature {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 10px;
    }
    .launchpad .lp-project-abstract h4 {
        font-size: 15px;
    }
    .launchpad .lp-project-abstract p {
        font-size: 10px;
    }
}

/* Three compact peers on desktop. */
.launchpad {
    max-width: 1320px;
}
.lp-three {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 16px;
    align-items: stretch;
}
.lp-three > .lp-journey,
.lp-three > .lp-lab,
.lp-three > .lp-journal {
    min-width: 0;
    padding: 20px;
    margin: 0;
    border-radius: 17px;
}
.lp-three .lp-journey-header,
.lp-three .lp-section-head {
    align-items: flex-start;
    gap: 8px;
}
.launchpad .lp-three h3 {
    font-size: 22px;
}
.lp-three .lp-eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.lp-three .lp-live {
    display: none;
}
.lp-three .lp-section-link {
    max-width: 85px;
    font-size: 9px;
    line-height: 1.6;
}
.lp-three .lp-journal-mark {
    font-size: 29px;
}
.lp-three .ct-mouse-surface {
    margin-top: 15px;
}
.lp-three .ct-mouse-hint {
    display: block;
    font-size: 9px;
}
.lp-three #careerCount {
    display: block;
    margin-top: 4px;
}
.lp-three .ct-year-field {
    margin: 12px 0 4px;
    gap: 0;
}
.lp-three .ct-year-field .ct-year-mark {
    color: transparent;
    font-size: 8px;
    padding: 5px 0;
}
.lp-three .ct-year-field .ct-year-mark:nth-child(4n + 1),
.lp-three .ct-year-field .ct-year-mark:last-child,
.lp-three .ct-year-field .ct-year-mark.ct-current {
    color: #9ec7d5;
    visibility: visible;
}
.lp-three .ct-mouse-surface .ct-events {
    height: 370px;
}
.lp-three .ct-events::before {
    height: 178px;
}
.lp-three .ct-events .ct-reel-card {
    width: 94%;
    height: 166px;
    max-height: 166px;
    padding: 12px;
}
.launchpad .lp-three .ct-reel-title {
    font-size: 15px;
}
.lp-three .ct-reel-card p {
    font-size: 10px;
    line-height: 1.6;
}
.lp-three .ct-reel-date {
    font-size: 8px;
    letter-spacing: 0.4px;
}
.lp-three .lp-lenses {
    gap: 5px;
    margin: 14px 0;
}
.lp-three .lp-lens {
    font-size: 9px;
    padding: 4px 7px;
}
.launchpad .lp-three .lp-project-feature {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}
.lp-project-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 17px 0;
    border-bottom: 1px solid #294256;
    min-height: 155px;
}
.lp-project-row:last-child {
    border-bottom: 0;
}
.launchpad .lp-three .lp-project-image {
    width: 90px;
    height: 90px;
    margin: 0;
}
.launchpad .lp-three .lp-project-abstract h4 {
    font-size: 16px;
    line-height: 1.3;
}
.launchpad .lp-three .lp-project-abstract p {
    font-size: 10px;
    line-height: 1.65;
}
.lp-three .lp-project-open {
    font-size: 10px;
}
.lp-three .lp-project-tag {
    font-size: 7px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    padding: 3px;
}
.lp-three .lp-project-mouse-hint {
    font-size: 9px;
    margin-top: 10px;
}
.lp-three .lp-deck-footer {
    padding-top: 10px;
    margin-top: 10px;
}
.lp-three #projectPosition {
    font-size: 9px;
}
.lp-three .lp-next {
    font-size: 10px;
    gap: 7px;
}
.lp-three .lp-blog-spotlight .lp-blog-photo {
    height: 125px;
}
.launchpad .lp-three .lp-blog-spotlight h4 {
    font-size: 23px;
}
.lp-three .lp-blog-queue {
    gap: 1px;
    padding-top: 7px;
}
.lp-three .lp-blog-pick {
    padding: 6px;
    font-size: 10px;
}
.lp-three .lp-blog-pick img {
    width: 24px;
    height: 24px;
}
.lp-three .lp-journal-intro {
    font-size: 11px;
}
.lp-three .lp-journal-all {
    margin-top: 12px;
    padding-top: 12px;
}
@media (max-width: 1050px) and (min-width: 761px) {
    .lp-three {
        gap: 10px;
    }
    .lp-three > .lp-journey,
    .lp-three > .lp-lab,
    .lp-three > .lp-journal {
        padding: 14px;
    }
    .launchpad .lp-three h3 {
        font-size: 19px;
    }
    .lp-project-row {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 9px;
    }
    .launchpad .lp-three .lp-project-image {
        width: 66px;
        height: 66px;
    }
    .lp-three .lp-section-link {
        display: none;
    }
}
@media (max-width: 760px) {
    .lp-three {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .lp-three .ct-mouse-surface .ct-events {
        height: 370px;
    }
    .lp-project-row {
        grid-template-columns: 100px minmax(0, 1fr);
    }
    .launchpad .lp-three .lp-project-image {
        width: 100px;
        height: 100px;
    }
    .lp-three .lp-blog-spotlight .lp-blog-photo {
        height: 180px;
    }
}

/* Arcade career selector: quiet neon, no flashing. */
.lp-three > .lp-journey {
    border-color: #51416d;
    background:
        radial-gradient(ellipse at 50% 5%, #43235255, transparent 65%),
        linear-gradient(150deg, #171a32, #101827);
    box-shadow: inset 0 1px #b59aec13;
}
.lp-three .lp-journey .lp-eyebrow {
    color: #c398e0;
    font-family: ui-monospace, monospace;
}
.lp-three .lp-journey h3 {
    color: #eee1ff;
    text-shadow: 0 0 17px #ab6cdf25;
}
.lp-three .ct-mouse-hint {
    color: #a39abd;
}
.lp-three .ct-year-field {
    border-color: #61527c;
}
.lp-three .ct-year-field::after {
    background: #ed9cd9;
    box-shadow: 0 0 14px #f18ade66;
}
.lp-three .ct-year-field .ct-year-mark.ct-current {
    color: #f4b3e8;
    text-shadow: 0 0 9px #eb8edc55;
}
.lp-three .ct-mouse-surface .ct-events {
    background:
        repeating-linear-gradient(0deg, #b8a3eb03 0 1px, transparent 1px 5px),
        radial-gradient(ellipse at center, #30234c77, #11182a 80%);
    border-radius: 10px;
}
.lp-three .ct-events::before {
    border-top: 1px solid #d58bdb55;
    border-bottom: 1px solid #78dbe855;
    background: linear-gradient(90deg, #aa65db08, #70e2df09, #aa65db08);
    box-shadow: 0 0 20px #cb7ade0b;
}
.lp-three .ct-events .ct-reel-card {
    border-radius: 6px;
    border-color: #51456c;
    background: #201f38;
}
.lp-three .ct-events .ct-reel-card.ct-reel-active {
    background: linear-gradient(135deg, #332548, #1a283b);
    border-color: #ba8bd5;
    box-shadow:
        inset 3px 0 #dc91db,
        inset -2px 0 #7adbe3,
        0 0 22px #b773df18;
}
.lp-three .ct-reel-card:not(.ct-reel-active) {
    background: #1a1c33;
}
.lp-three .ct-reel-date {
    color: #d7a7df;
    font-family: ui-monospace, monospace;
}
.lp-three .ct-reel-active .ct-reel-title {
    color: #eef6ff;
}
.lp-three .ct-reel-card p {
    color: #b2b9d1;
}
.lp-three .ct-reel-card a {
    color: #91e9e5;
}
/* Blog becomes a compact story-select screen instead of a paper journal. */
.lp-three > .lp-journal {
    color: #e0edf9;
    border-color: #375775;
    background:
        radial-gradient(ellipse at 95% 0%, #153f5755, transparent 60%),
        linear-gradient(150deg, #142137, #10182b);
    box-shadow: inset 0 1px #87cdda14;
}
.launchpad .lp-three .lp-journal .lp-eyebrow {
    color: #85d8d6;
    font-family: ui-monospace, monospace;
}
.lp-three .lp-journal h3 {
    color: #e5f3ff;
}
.lp-three .lp-journal-mark {
    color: #88d7dc;
    font-size: 24px;
    text-shadow: 0 0 17px #7ce5ef33;
}
.lp-three .lp-journal-intro {
    color: #94adc5;
}
.lp-three .lp-blog-spotlight {
    border-color: #2c4560;
}
.lp-blog-screen {
    position: relative;
    overflow: hidden;
    border: 1px solid #447285;
    border-radius: 7px;
    margin-bottom: 14px;
    background: radial-gradient(ellipse at center, #30416c, #142339);
    min-height: 125px;
    box-shadow:
        0 0 0 3px #080f20,
        0 0 15px #63d9df12;
}
.lp-blog-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent 0 3px, #080e1c17 3px 4px),
        linear-gradient(transparent 50%, #07142666);
    pointer-events: none;
}
.lp-three .lp-blog-screen .lp-blog-photo {
    display: block;
    height: 125px;
    width: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}
.lp-story-chip {
    position: absolute;
    z-index: 1;
    left: 8px;
    bottom: 8px;
    padding: 4px 6px;
    border: 1px solid #75b3b577;
    border-radius: 3px;
    background: #081d2de0;
    color: #aaf4e5;
    font-family: ui-monospace, monospace;
    font-size: 8px;
    letter-spacing: 1px;
}
.lp-cover-fallback {
    display: grid;
    place-items: center;
    height: 125px;
    color: #a2c8e0;
    font-family: ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 3px;
}
.lp-three .lp-blog-spotlight time {
    color: #7fb4c5;
    font-family: ui-monospace, monospace;
}
.launchpad .lp-three .lp-blog-spotlight h4 {
    color: #e0f2ff;
    font-size: 22px;
}
.lp-three .lp-blog-spotlight p {
    color: #9fb6cd;
}
.lp-three .lp-blog-read {
    color: #91e9dc;
}
.lp-three .lp-blog-pick {
    color: #a7bfd2;
    background: #112137;
    border-color: transparent;
    border-radius: 5px;
}
.lp-three .lp-blog-pick[aria-pressed='true'] {
    color: #d9fcf1;
    background: #1b3746;
    border-color: #558e95;
    box-shadow: inset 2px 0 #89e4d5;
}
.lp-three .lp-blog-pick[aria-pressed='true']::before {
    content: '▸';
    color: #8ae9db;
}
.lp-three .lp-blog-pick span {
    color: #86b7c2;
}
.lp-three .lp-journal .lp-time-caption {
    color: #8fb2c7;
    font-family: ui-monospace, monospace;
}
.lp-three .lp-journal .lp-time-meter {
    background: #233e53;
}
.lp-three .lp-journal .lp-time-meter i {
    background: linear-gradient(90deg, #8ed4f0, #b6a0ef, #8ae5c5);
}
.lp-three .lp-journal-all {
    color: #91e0d5;
    border-color: #34506a;
}
.lp-three .lp-journal-all:hover {
    color: #fff;
}
@media (max-width: 760px) {
    .lp-three .lp-blog-screen .lp-blog-photo {
        height: 180px;
    }
}

/* Shared signature and digital identity across the portfolio. */
body .navbar[aria-label='Main navigation'] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 15px 28px;
}
.navbar .nav-signature {
    justify-self: start;
    min-width: 0;
    color: #e4f4ef;
    font-family: 'Allura', 'Brush Script MT', cursive;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 0 2px 12px #83dac91a;
}
.navbar .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}
.navbar .nav-digital-life {
    justify-self: end;
    font-family: 'Orbitron', monospace;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2.5px;
    white-space: nowrap;
    color: #8debdc;
    text-shadow: 0 0 16px #63d7df33;
}
.navbar .nav-digital-life::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    background: #8debdc;
    box-shadow: 0 0 9px #8debdc66;
}
@media (max-width: 1200px) {
    body .navbar[aria-label='Main navigation'] {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 18px;
        padding: 14px 20px;
    }
    .navbar .nav-signature {
        font-size: 29px;
    }
    .navbar .nav-menu {
        grid-row: 2;
        grid-column: 1/-1;
    }
    .navbar .nav-digital-life {
        grid-row: 1;
        grid-column: 2;
        font-size: 13px;
    }
}
@media (max-width: 540px) {
    body .navbar[aria-label='Main navigation'] {
        padding: 12px 10px;
        gap: 12px 8px;
    }
    .navbar .nav-signature {
        font-size: clamp(19px, 4.9vw, 26px);
        white-space: normal;
    }
    .navbar .nav-digital-life {
        font-size: 10px;
        letter-spacing: 1px;
    }
    .navbar .nav-digital-life::before {
        width: 4px;
        height: 4px;
        margin-right: 5px;
    }
    .navbar .nav-menu {
        gap: 2px;
    }
    body .navbar .nav-menu .nav-btn {
        padding: 9px 10px;
        font-size: 11px;
    }
}

.navbar .nav-digital-life {
    color: #8debdc;
    animation: digital-life-neon 7s ease-in-out infinite;
}
@keyframes digital-life-neon {
    0%,
    100% {
        color: #80fff0;
        text-shadow:
            0 0 8px #43e8cf88,
            0 0 22px #43e8cf44;
    }
    33% {
        color: #f6a4ff;
        text-shadow:
            0 0 8px #ed65ff88,
            0 0 22px #ed65ff44;
    }
    66% {
        color: #a6bcff;
        text-shadow:
            0 0 8px #708aff88,
            0 0 22px #708aff44;
    }
}
body footer .tesla-reflection {
    max-width: 740px;
    margin: 24px auto 0;
    padding: 20px 16px 0;
    border-top: 1px solid #7e9aac33;
    text-align: center;
}
body footer .tesla-reflection blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}
body footer .tesla-reflection blockquote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.8;
    color: #c6d9e5;
}
body footer .tesla-reflection figcaption {
    margin-top: 10px;
    font-size: 11px;
    color: #92aabd;
}
body footer .tesla-reflection a {
    color: #91dfd2;
    text-decoration: underline;
    text-underline-offset: 4px;
}
body footer .tesla-reflection .tesla-history {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
    .navbar .nav-digital-life {
        animation: none;
    }
}

/* Keep the existing footer centered; place the reflection in its own corner. */
body footer {
    position: relative;
    padding-bottom: 145px;
}
body footer .tesla-reflection {
    position: absolute;
    right: 22px;
    bottom: 14px;
    width: min(300px, calc(100% - 44px));
    max-width: 300px;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: right;
}
body footer .tesla-reflection blockquote p {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
    color: #91a6b8;
}
body footer .tesla-reflection figcaption {
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.5;
}
body footer .tesla-reflection .tesla-history {
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.5;
}
body footer .tesla-reflection a {
    color: #83b4b0;
    text-underline-offset: 2px;
}
@media (max-width: 540px) {
    body footer {
        padding-bottom: 150px;
    }
    body footer .tesla-reflection {
        right: 16px;
        width: min(280px, calc(100% - 32px));
    }
}

/* Home footer uses the same geometry as the inner pages. */
body footer {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 48px 0 0;
    padding: 30px 20px 145px;
    text-align: center;
    background: #0b1421;
    border-top: 1px solid #203049;
}
body footer > .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 0 12px;
}
body footer > .footer-links a {
    font-size: 20px;
}
body footer > p {
    display: block;
    width: auto;
    margin: 4px 0;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}
body footer .tesla-reflection {
    display: block;
    float: none;
    position: absolute;
    inset: auto 22px 14px auto;
    transform: none;
    box-sizing: border-box;
    width: min(300px, calc(100% - 44px));
    max-width: 300px;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: right;
}
body footer .tesla-reflection blockquote p {
    text-align: right;
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 540px) {
    body footer {
        padding-bottom: 150px;
    }
    body footer .tesla-reflection {
        right: 16px;
        width: min(280px, calc(100% - 32px));
    }
}

/* Align the quote with the social links without shifting their center. */
body footer {
    padding: 30px 20px;
    min-height: 155px;
}
body footer .tesla-reflection {
    top: 30px;
    bottom: auto;
    right: 22px;
    width: min(300px, calc((100% - 420px) / 2));
}
@media (max-width: 1000px) {
    body footer {
        padding-bottom: 145px;
    }
    body footer .tesla-reflection {
        top: auto;
        bottom: 14px;
        width: min(300px, calc(100% - 44px));
    }
}
@media (max-width: 540px) {
    body footer {
        padding-bottom: 150px;
    }
    body footer .tesla-reflection {
        right: 16px;
        width: min(280px, calc(100% - 32px));
    }
}

.lp-three .lp-next {
    color: #91e0d5;
}
.lp-three .lp-next:not(:disabled):hover,
.lp-three .lp-next:not(:disabled):focus-visible {
    color: #fff;
}

.mobile-experience {
    display: none;
}
.compact-home body {
    margin: 0;
    width: 100%;
    min-width: 0;
    overflow-x: clip;
    background: #080e19;
}
.compact-home
    body
    > *:not(.mobile-experience):not(.hero):not(.skill-carousel-section):not(script):not(style) {
    display: none !important;
}
.compact-home .mobile-experience {
    display: block;
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #36576b;
    border-radius: 14px;
    background: linear-gradient(135deg, #162d3d, #151b33);
    color: #d9eaf2;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}
.compact-home .mobile-experience p {
    margin: 0;
}
.compact-home .hero {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    margin: 20px auto;
    padding: 0 16px;
    min-height: 0;
    height: auto;
}
.compact-home .hero::before,
.compact-home .hero::after {
    display: none !important;
}
.compact-home .hero > *:not(.hero-left),
.compact-home .hero-left > *:not(.document-section) {
    display: none !important;
}
.compact-home .hero-left {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.compact-home .document-section {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
}
.compact-home .document-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
    width: 100%;
}
.compact-home .document-group {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 16px;
    margin: 0;
    border: 1px solid #30465b;
    border-radius: 12px;
    background: #101d2e;
}
.compact-home .document-group h3 {
    text-align: center;
    color: #d9eaf2;
}
.compact-home .document-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.compact-home .document-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 12px;
    white-space: normal;
}
.compact-home .skill-carousel-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    margin: 24px auto;
    padding: 0 16px;
}
.compact-home .skill-carousel-section .carousel-wrapper {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}
.compact-home .skill-carousel-section .carousel-btn {
    display: none !important;
}
.compact-home .skill-carousel-section .carousel-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
    gap: 12px;
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    perspective: none;
    transform: none;
}
.compact-home .skill-carousel-section .skill-slide {
    position: static !important;
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
}
.compact-home .skill-slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}
.lp-three .lp-project-open {
    color: #91e0d5;
}
.lp-three .lp-project-open:hover,
.lp-three .lp-project-open:focus-visible {
    color: #fff;
}

/* Decorative avatars stay behind the content and never intercept input. */
.lp-three > .lp-journey,
.lp-three > .lp-lab,
.lp-three > .lp-journal {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.lp-three > .lp-journey {
    --section-avatar: url('../../assets/images/avatar-career.png');
}
.lp-three > .lp-lab {
    --section-avatar: url('../../assets/images/avatar-projects.png');
}
.lp-three > .lp-journal {
    --section-avatar: url('../../assets/images/avatar-blogs.png');
}
.lp-three > .lp-journey::before,
.lp-three > .lp-lab::before,
.lp-three > .lp-journal::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--section-avatar);
    background-repeat: no-repeat;
    background-position: right -35px bottom -45px;
    background-size: auto 85%;
    opacity: 0.24;
    pointer-events: none;
}
/* Keep the career avatar in the right margin beside the timeline. */
.lp-three > .lp-journey::before {
    background-size: 105px auto;
    background-position: right 12px top 25px;
    opacity: 0.65;
}
/* Tuck the blog avatar further into the bottom-right corner. */
.lp-three > .lp-journal::before {
    background-position: right -90px bottom -100px;
}

/* Editorial identity and two seamless horizontal text ribbons. */
.hero-left {
    min-width: 0;
}
.hero-left .hero-person-name {
    margin: 20px 0 18px;
    line-height: 1.08;
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.035em;
}
.hero-person-name .name-given {
    display: block;
    font-size: clamp(43px, 4.6vw, 68px);
    color: #f4f0e9;
}
.hero-person-name .name-family {
    display: block;
    margin-top: 9px;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(17px, 1.8vw, 25px);
    font-weight: 500;
    letter-spacing: 0.045em;
    color: #c7d4e3;
    line-height: 1.4;
}
.hero-person-name .name-family > span {
    display: inline-block;
    font-weight: 300;
    color: #9bafc5;
}
.hero-left .hero-ticker {
    display: block;
    width: 100%;
    max-width: 600px;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    padding: 8px 0;
    font-family: 'DM Sans', sans-serif;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-left .hero-ticker-expertise {
    font-size: clamp(14px, 1.45vw, 18px);
    font-weight: 500;
    color: #91e4df;
    letter-spacing: 0.07em;
}
.hero-left .hero-ticker-roles {
    font-size: clamp(11px, 1.05vw, 13px);
    font-weight: 400;
    color: #a9b8cb;
    letter-spacing: 0.04em;
    padding-top: 5px;
}
.hero-ticker-track {
    display: flex;
    width: max-content;
    animation: hero-text-scroll 24s linear infinite;
}
.hero-ticker-roles .hero-ticker-track {
    animation-duration: 36s;
    animation-direction: reverse;
}
.hero-ticker-copy {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
}
.ticker-separator {
    color: #d895e6;
    font-size: 11px;
}
.hero-ticker:hover .hero-ticker-track,
.hero-ticker:focus .hero-ticker-track {
    animation-play-state: paused;
}
.hero-ticker:focus-visible {
    outline: 1px solid #91e4df;
    outline-offset: 3px;
    border-radius: 4px;
}
@keyframes hero-text-scroll {
    to {
        transform: translateX(-50%);
    }
}
.hero-left .contact-links {
    margin-top: 16px;
    margin-bottom: 8px;
}
.hero-left .document-section {
    margin-top: 6px;
}
.hero-left .document-columns {
    margin-top: 0;
    gap: 12px;
}
.hero-left .document-group {
    padding: 12px 14px 14px;
}
.hero-left .document-group h3 {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #b8ccdd;
}
@media (prefers-reduced-motion: reduce) {
    .hero-left .hero-ticker {
        white-space: normal;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .hero-ticker-track {
        display: block;
        width: auto;
        animation: none;
    }
    .hero-ticker-copy {
        display: block;
        white-space: normal;
        padding: 0;
        text-align: center;
    }
    .hero-ticker-copy + .hero-ticker-copy,
    .ticker-separator {
        display: none;
    }
}

/* Matching sans-serif name and collectible document panels. */
.hero-left .hero-person-name {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    letter-spacing: 0.015em;
}
.hero-person-name .name-given {
    font-family: inherit;
    font-weight: 500;
    font-size: clamp(39px, 4.1vw, 59px);
    letter-spacing: 0.015em;
}
.hero-left .document-section {
    max-width: 650px;
    margin: 12px auto 0;
    text-align: left;
}
.document-shelf-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 0 3px;
    color: #8396ad;
    font:
        9px 'DM Sans',
        sans-serif;
    letter-spacing: 2px;
}
.document-shelf-heading > span:last-child {
    color: #a5b9c9;
    white-space: nowrap;
    letter-spacing: 1px;
}
.document-shelf-heading i {
    font-style: normal;
    color: #91e4df;
    margin-left: 5px;
}
.hero-left .document-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 0;
    align-items: start;
}
.hero-left .document-group {
    --document-accent: #85e8df;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
    padding: 0 12px 12px;
    border: 1px solid #85e8df30;
    border-radius: 14px;
    background:
        radial-gradient(ellipse at 0 0, #85e8df0c, transparent 70%),
        linear-gradient(145deg, #152334e8, #0d1725ee);
    box-shadow: 0 8px 22px #0002;
    backdrop-filter: blur(8px);
}
.hero-left .document-group.japanese {
    --document-accent: #d1a5ef;
    border-color: #d1a5ef30;
    background:
        radial-gradient(ellipse at 0 0, #d1a5ef0c, transparent 70%),
        linear-gradient(145deg, #202237e8, #111827ee);
}
.document-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--document-accent), transparent);
    box-shadow: 0 0 10px var(--document-accent);
}
.document-panel-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 0 14px;
    border-bottom: 1px solid #a6bdd21a;
    margin-bottom: 6px;
}
.document-language-code {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 36px;
    border: 1px solid #a6bdd233;
    border-radius: 6px;
    color: var(--document-accent);
    background: #ffffff04;
    font:
        500 11px 'DM Sans',
        sans-serif;
    letter-spacing: 1px;
}
.hero-left .document-group .document-panel-heading h3 {
    margin: 0;
    color: #ecf1f8;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.document-panel-heading p {
    margin: 4px 0 0;
    font:
        9px 'DM Sans',
        'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo,
        sans-serif;
    letter-spacing: 0.02em;
    color: #92a3b8;
    line-height: 1.4;
}
.document-panel-index {
    margin-left: auto;
    align-self: flex-start;
    color: #718198;
    font:
        9px 'DM Sans',
        sans-serif;
    letter-spacing: 1px;
}
.hero-left .document-buttons {
    gap: 4px;
}
.hero-left .document-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 57px;
    box-sizing: border-box;
    padding: 9px 7px;
    border: 1px solid transparent;
    border-radius: 8px;
    text-align: left;
    background: transparent;
    color: #dce6f2;
    text-decoration: none;
    box-shadow: none;
    transform: none;
    transition:
        background 0.2s,
        border-color 0.2s;
}
.document-file-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 30px;
    border: 1px solid #a6bdd226;
    border-radius: 4px;
    background: #ffffff03;
    color: var(--document-accent);
}
.hero-left .document-file-icon i {
    font-size: 12px;
    margin: 0;
}
.document-file-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.document-file-copy strong {
    font:
        500 12px 'DM Sans',
        'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo,
        sans-serif;
    line-height: 1.4;
    color: inherit;
}
.document-file-copy small {
    font:
        9px 'DM Sans',
        'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo,
        sans-serif;
    line-height: 1.4;
    color: #90a4ba;
}
.document-file-arrow {
    margin-left: auto;
    color: var(--document-accent);
    font-size: 16px;
    transition: transform 0.2s;
}
.hero-left .document-button:hover,
.hero-left .document-button:focus-visible {
    background: #ffffff07;
    border-color: var(--document-accent);
    box-shadow: 0 0 14px #8ce7df0a;
    color: #fff;
    transform: none;
    outline: none;
}
.document-button:hover .document-file-arrow,
.document-button:focus-visible .document-file-arrow {
    transform: translate(2px, -2px);
}
.document-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (max-width: 420px) {
    .hero-left .document-columns {
        grid-template-columns: 1fr;
    }
    .document-panel-heading p {
        font-size: 10px;
    }
    .document-file-copy strong {
        font-size: 13px;
    }
    .document-file-copy small {
        font-size: 10px;
    }
}

.hero-left .hero-person-name {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(17px, 1.8vw, 25px);
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 1.4;
    color: #c7d4e3;
    text-align: center;
    margin: 20px 0 18px;
}

/* Cartridge shelf: horizontal scrolling by touch, keyboard or arrows. */
.arcade-controls .cartridge-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.arcade-controls .game-cartridge-selector {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex: 1 1 0;
    width: 0;
    max-width: none;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    scroll-padding-inline: 10px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0;
    padding: 12px 10px 14px;
    box-sizing: border-box;
}
.arcade-controls .game-cartridge-selector::-webkit-scrollbar {
    display: none;
}
.arcade-controls .game-cartridge {
    flex: 0 0 80px;
    width: 80px;
    max-width: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.arcade-controls .cartridge-scroll {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 38px;
    border: 1px solid #65dce566;
    border-radius: 9px;
    background: #101522;
    color: #9af5f4;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 10px #65dce51a;
}
.arcade-controls .cartridge-scroll:hover {
    background: #203449;
    box-shadow: 0 0 14px #65dce54d;
}
.arcade-controls .cartridge-scroll:focus-visible,
.arcade-controls .game-cartridge-selector:focus-visible {
    outline: 2px solid #9af5f4;
    outline-offset: 3px;
}
.arcade-controls .cartridge-scroll:disabled {
    opacity: 0.3;
    cursor: default;
    box-shadow: none;
}

/* A centered, continuous cartridge marquee. */
.arcade-controls .game-cartridge-selector {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    scroll-snap-type: none;
}
.arcade-controls .cartridge-belt {
    display: flex;
    width: max-content;
    animation: cartridge-marquee 22s linear infinite;
}
.arcade-controls .cartridge-group {
    display: flex;
    flex: none;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 14px 24px;
    box-sizing: border-box;
}
.arcade-controls .cartridge-group .game-cartridge {
    flex: 0 0 80px;
    width: 80px;
}
.arcade-controls .cartridge-carousel:hover .cartridge-belt,
.arcade-controls .cartridge-carousel:focus-within .cartridge-belt {
    animation-play-state: paused;
}
@keyframes cartridge-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .arcade-controls .cartridge-belt {
        animation: none;
        max-width: 100%;
    }
    .arcade-controls .cartridge-group {
        width: 100% !important;
        min-width: 0;
        gap: 16px;
        padding-inline: 8px;
    }
    .arcade-controls .cartridge-group[aria-hidden='true'] {
        display: none;
    }
    .arcade-controls .cartridge-group .game-cartridge {
        flex: 0 1 80px;
        min-width: 0;
    }
}

.arcade-key-guide {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 12px;
    padding: 10px 14px 14px;
    background: #121522;
    color: #bdc9db;
    font:
        10px/1.6 'DM Sans',
        sans-serif;
    text-align: center;
}
.arcade-key-guide span {
    white-space: nowrap;
}
.arcade-key-guide kbd {
    display: inline-block;
    padding: 1px 5px;
    border: 1px solid #466075;
    border-radius: 4px;
    background: #202b3a;
    color: #a5f4f2;
    font: inherit;
}
.arcade-key-guide small {
    flex-basis: 100%;
    font-size: 9px;
    color: #8f9db0;
}
.arcade-key-guide a {
    font-size: 9px;
    color: #9aebe1;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.arcade-playing .lp-ticker-track,
body.arcade-playing .cartridge-belt,
body.arcade-playing .arcade-title,
body.arcade-playing .lp-observatory-cta,
body.arcade-playing .ct-link-track,
body.arcade-playing .arcade-cabinet::before,
body.arcade-playing .arcade-cabinet::after {
    animation-play-state: paused !important;
}

.arcade-deck .arcade-instruction-display {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    max-width: 230px;
    margin: 0 16px;
    padding: 7px 0;
    border: 1px solid #62d6df44;
    border-radius: 5px;
    background: #080f19;
    box-shadow: inset 0 0 10px #0008;
    letter-spacing: 1px;
}
.arcade-instruction-window {
    overflow: hidden;
    width: 100%;
}
.arcade-instruction-tape {
    display: flex;
    width: max-content;
    animation: arcade-instructions-scroll 32s linear infinite;
}
.arcade-instruction-tape span {
    flex: none;
    white-space: nowrap;
    padding-right: 48px;
    color: #a5f4f2;
    font:
        8px/1.8 'DM Sans',
        sans-serif;
}
.arcade-instruction-display a {
    display: block;
    padding: 4px 5px 0;
    color: #edb9ff;
    font:
        8px/1.4 'DM Sans',
        sans-serif;
    letter-spacing: 0.2px;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.arcade-instruction-display:hover .arcade-instruction-tape,
.arcade-instruction-display:focus-within .arcade-instruction-tape {
    animation-play-state: paused;
}
.arcade-instruction-display a:focus-visible {
    outline: 2px solid #a5f4f2;
    outline-offset: 2px;
}
.arcade-deck .arcade-stick,
.arcade-deck .arcade-buttons {
    flex-shrink: 0;
}
@keyframes arcade-instructions-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 600px) {
    .arcade-deck .arcade-instruction-display {
        margin-inline: 9px;
    }
    .arcade-instruction-tape span {
        font-size: 7px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .arcade-instruction-tape {
        animation: none;
        width: 100%;
    }
    .arcade-instruction-tape span {
        white-space: normal;
        padding: 0 5px;
        font-size: 7px;
    }
    .arcade-instruction-tape span[aria-hidden='true'] {
        display: none;
    }
}

#game .unity-arcade-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #050811;
}

.arcade-speakers > i {
    flex-shrink: 0;
}
.arcade-game-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    max-width: 270px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.arcade-game-title-track {
    display: flex;
    width: max-content;
    animation: arcade-game-title-scroll 14s linear infinite;
}
.arcade-speakers .arcade-game-title-track span {
    flex: none;
    padding-right: 38px;
    white-space: nowrap;
    font:
        600 10px/1.8 'Orbitron',
        'DM Sans',
        sans-serif;
    letter-spacing: 2px;
    color: #a4ffff;
    text-shadow:
        0 0 4px #3cefff,
        0 0 10px #3cefff,
        0 0 18px #ad47ff;
}
@keyframes arcade-game-title-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .arcade-game-title-track {
        animation: none;
        width: 100%;
        justify-content: center;
    }
    .arcade-speakers .arcade-game-title-track span {
        white-space: normal;
        padding-right: 0;
        text-align: center;
        font-size: 8px;
    }
    .arcade-game-title-track span[aria-hidden='true'] {
        display: none;
    }
}

/* Preserve responsive proportions when intrinsic dimensions reserve image space. */
.skill-slide img { height: auto; }

/* Small inline Font Awesome SVGs replace the full icon font on the homepage. */
.inline-icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }
.arcade-play {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; width: 100%; height: 100%; min-height: 220px; border: 0;
    color: #e9ffe9; background: radial-gradient(ellipse at center, #173c30, #040b10 75%);
    font: inherit; cursor: pointer; text-align: center; padding: 24px;
}
.arcade-play > span { font-size: 42px; color: #8dffb1; }
.arcade-play strong { font-family: Orbitron, sans-serif; letter-spacing: .15em; }
.arcade-play small { color: #b7d1c4; }
.arcade-play:focus-visible { outline: 3px solid #8dffb1; outline-offset: -5px; }
.arcade-play:disabled { cursor: progress; }
@media (max-width: 900px), (prefers-reduced-transparency: reduce) {
    .navbar, .hero-left .document-group, .skill-card, .timeline-slide, .hologram-panel {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}



/* ---- Career panel: pixel-art scene that fills the space below the roulette ---- */
.lp-three > .lp-journey {
    display: flex;
    flex-direction: column;
}
.lp-sprite-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 150px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #51416d;
    border-radius: 12px;
    background: linear-gradient(180deg, #0c0f24 0%, #231a45 62%, #3a2559 100%);
    box-shadow:
        inset 0 0 0 3px #0a0c1c,
        inset 0 0 22px #b59aec1c;
}
.lp-sprite-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}
.lp-sprite-stage::after {
    /* faint CRT scanlines, matching the blog "story select" screen */
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0 3px, #080e1c1f 3px 4px);
    pointer-events: none;
}
.lp-sprite-caption {
    position: absolute;
    z-index: 1;
    left: 10px;
    bottom: 6px;
    color: #c398e0;
    font-family: ui-monospace, monospace;
    font-size: 8px;
    letter-spacing: 1.5px;
    opacity: 0.85;
}
.compact-home .lp-sprite-stage {
    display: none;
}

/* Launch badge: small, bottom-left of the home footer */
footer .launch-badge {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 14px;
}
footer .launch-badge img {
    display: block;
    width: 130px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}
footer .launch-badge a:hover img {
    opacity: 1;
}
