        @font-face {
            font-family: 'VelaSans';
            src: url('../fonts/VelaSans-SemiBold.otf') format('opentype');
            font-weight: 600;
            font-style: normal;
            font-display: swap;
        }

        :root {
            /* One corner radius shared by photos and their caption frames.
               macOS window corners (~15pt at 2x) render at ~14px in a desktop slide;
               non-Mac screenshots are rounded to the same on-screen radius. */
            --pr: 14px;
        }

        html {
            margin: 0;
            padding: 0;
            background-color: #fff;
            overflow-x: hidden;
            overflow-y: auto;
            font-family: 'VelaSans', sans-serif;
        }
        body {
            margin: 0;
            padding: 0;
            background-color: #fff;
            color: #000;
            font-family: 'VelaSans', sans-serif;
            font-weight: 600;
            overflow: hidden;
            user-select: none; /* Prevent text selection */
            -webkit-user-select: none; /* Prevent text selection */
        }

        button, input, select, textarea, a {
            font-family: inherit;
            font-weight: inherit;
        }
        
        body.lock-scroll {
            overflow-y: hidden;
        }

        ::selection {
            background: #ffd433;
            color: black;
        }

        ::-moz-selection {
            background: #ffd433;
            color: black;
        }

        /*------TOP NAV------*/
        .top-nav{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px 60px 0px 60px;
            position: relative;
            z-index: 100;
            margin-bottom: 100px;
        }

        .nav-left{
            font-size: 16px;
            font-weight: 400;
            color: #272727;
        }

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

        .nav-cta{
            font-size: 16px;
            font-weight: 500;
            color: #272727;
            text-decoration: none;
            padding: 10px 0px;
            /* border: 1px solid #e0e0e0; */
            border-radius: 12px;
            transition: all .2s ease, transform .15s ease;
            display: flex;
            align-items: center;
            gap: 6px;
            transform: translateX(var(--parallax-x, 0px)) translateY(var(--parallax-y, 0px));
            will-change: transform;
        }

        .nav-cta-icon{
            width: 16px;
            height: 16px;
        }

        .nav-cta:hover{
            /* background-color: #eee;
            border-color: rgba(0,0,0,0.0); */
            scale: 1.1;
            opacity: 0.6;
        }

        .carousel-container {
            height: min(65vh, 614px);
            min-height: 500px;
            width: 100%;
            position: relative;
            /* overflow: hidden; */
            margin-bottom: 100px;
            margin-top: 100px;
            -webkit-tap-highlight-color: transparent;
        }
        .carousel-container:has(+ .site-footer) {
            margin-bottom: 100px;
        }

        .carousel {
            display: flex;
            align-items: center;
            height: 100%;
            position: absolute;
            left: 0;
            transform: translateX(0);
        }

        .carousel.animate {
            transition: transform 0.5s ease-in-out;
        }

        .carousel-item {
            flex: 0 0 auto;
            height: 100%;
            margin: 0 20px;
            opacity: 0.2;
            filter: blur(6px);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: visible; /* let shadows breathe; images carry their own rounded alpha */
            border-radius: 0;
            border: none;
            background: transparent;
            -webkit-transform: translateZ(0);
            will-change: opacity, filter, transform;
            transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        /* Opt-in border removal for specific items */
        .carousel-item.no-border { border: none; }

        /* Phone carousel: 3 devices visible, full opacity — no washed-out sides */
        .carousel-container.is-phones {
            height: min(72vh, 640px);
            min-height: 520px;
            overflow: hidden;
            touch-action: pan-y;
        }
        .carousel-container.is-phones .carousel-item {
            height: 100%;
            border-radius: 0;
            overflow: visible;
            background: transparent;
            opacity: 1;
            filter: none;
            margin: 0 12px;
            transform: scale(0.92);
        }
        .carousel-container.is-phones .carousel-item.is-near {
            opacity: 1;
            filter: none;
            transform: scale(0.96);
        }
        .carousel-container.is-phones .carousel-item.active {
            opacity: 1;
            filter: none;
            transform: scale(1);
        }
        .carousel-container.is-phones .carousel-item img {
            height: 100%;
            width: auto;
            max-height: 100%;
            object-fit: contain;
            border-radius: 0;
            filter: none;
            -webkit-user-drag: none;
        }
        
        .carousel-item.animate {
            transition: opacity 0.45s ease, filter 0.45s ease, margin 0.45s ease, transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .carousel-item.is-16-9 {
            height: min(max(45vh, 350px), 425px);
        }

        .carousel-item.active {
            opacity: 1;
            filter: blur(0px);
        }

        .carousel-item img {
            max-height: 100%;
            max-width: none;
            width: auto;
            height: 100%;
            object-fit: contain;
            user-select: none;
            pointer-events: none;
        }

        /* Ensure <picture> behaves like the previous <img> in carousel items */
        .carousel-item picture {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
        .carousel-item picture img {
            max-height: 100%;
            max-width: none;
            width: auto;
            height: 100%;
            object-fit: contain;
            user-select: none;
            pointer-events: none;
        }

        .click-zone {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 50%;
            z-index: 2;
        }
        .click-zone.left {
            left: 0;
            cursor: default;
        }
        .click-zone.right {
            right: 0;
            cursor: default;
        }

        /* Overlay text on top of each carousel */
        .carousel-overlay {
            position: absolute;
            left: 40px;            
            top: 50%;
            transform: translateX(var(--parallax-x, 0px)) translateY(calc(-50% + var(--parallax-y, 0px)));
            z-index: 3; /* Above click zones */
            color: #000;
            font-size: 16px;
            line-height: 20px;
            pointer-events: auto; /* needed for :hover */
            transition: transform 200ms ease, filter 200ms ease;
            /* background-color: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(8px); */
            padding: 10px 18px;
            border-radius: var(--pr);
            overflow: hidden; /* required for smooth height animation */
            box-sizing: border-box; /* ensure height includes padding to match scrollHeight */
            will-change: height, transform;
            contain: layout paint;
        }
        .carousel-overlay:hover {
            background-color: rgba(255, 255, 255, 0.75);
            cursor: pointer;
            transform: translateX(var(--parallax-x, 0px)) translateY(calc(-50% + var(--parallax-y, 0px))) scale(1.05);
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
            backdrop-filter: blur(8px);
        }
        .carousel-overlay .title {
            font-weight: 700;
            margin-bottom: 4px;
            opacity: 0.92;
            transform: translateY(2px);
        }
        .carousel-overlay .meta {
            display: flex;
            align-items: center;
            gap: 8px;
            opacity: 0.92;
            transform: translateY(2px);
        }
        .carousel-overlay .year {
            color: #9B9B9B; /*C7C7C7*/
            font-weight: 700;
            /* font-size: 14px; */
        }
        /* Expanded overlay inside each carousel */
        .carousel-overlay {
            transition: height 500ms cubic-bezier(.2,.6,.2,1), background-color 180ms ease, box-shadow 140ms ease, border-color 180ms ease, padding 180ms ease, transform 200ms ease, filter 200ms ease;
        }
        .carousel-overlay.is-open {
            background: #FFFFFF;
            padding: 22px 18px;
            border-radius: var(--pr);
            /* box-shadow: 0 12px 30px rgba(0,0,0,0.18); */
            width: 300px;
            /* border: 1px solid #E5E5E5; */
            transform: translateX(var(--parallax-x, 0px)) translateY(calc(-50% + var(--parallax-y, 0px))) scale(1.05);
            background-color: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(8px);
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
        }
        
        .carousel-overlay.is-open:hover { transform: translateX(var(--parallax-x, 0px)) translateY(calc(-50% + var(--parallax-y, 0px))) scale(1.05); }
        .carousel-overlay .title,
        .carousel-overlay .meta,
        .carousel-overlay .overlay-desc { transition: opacity 240ms ease, transform 240ms ease; }
        .carousel-overlay .overlay-desc {
            opacity: 0;
            transform: translateY(6px);
            overflow: hidden;
            margin-top: 0;
            /* Prevent long content from affecting closed overlay width */
            position: absolute;
            left: 0;
            top: 0;
            width: 0;
            height: 0;
            visibility: hidden;
            pointer-events: none;
            font-size: 14px;
            /* line-height: 22px; */
            will-change: opacity, transform;
        }
        .carousel-overlay.is-open .title,
        .carousel-overlay.is-open .meta { opacity: 1; transform: translateY(0); }
        .carousel-overlay.is-open .overlay-desc {
            opacity: 1;
            transform: translateY(0);
            margin-top: 40px;
            position: static;
            width: auto;
            height: auto;
            visibility: visible;
            pointer-events: auto;
            margin-bottom: 20px; /* ensure extra space below text so height matches visual intent */
            /* Slightly longer with a short delay for a smoother fade-in */
            transition: opacity 1000ms cubic-bezier(0.2, 0.8, 0.2, 1) 100ms, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 100ms;
        }

        .overlay-link {
            display: block;
            width: fit-content;
            margin-top: 12px;
            font-weight: 700;
            color: #000;
            text-decoration: none;
            transition: opacity .2s ease, transform .2s ease;
        }
        .overlay-link:hover { opacity: .55; transform: translateX(3px); }

        /* Footer */
        .site-footer {
            /* border-top: 1px solid #ededed; */
            padding: 22px 0px 26px;
            width: calc(100% - 90px);
            margin: 0px auto 0 auto;
            font-size: 11px;
        }
        .footer-inner {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            align-items: center;
            /* gap: 16px; */
        }
        .footer-left,
        .footer-right {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .footer-left { justify-self: start; grid-column: 1; }
        .footer-right { justify-self: end; grid-column: 3; }
        .footer-label,
        .footer-text,
        .footer-center { color: #C7C7C7; }
        .footer-label,
        .footer-text { font-weight: 700; }
        .footer-center { text-align: center; font-weight: 700; justify-self: center; }
        .footer-links { display: flex; align-items: center; color: #C7C7C7 }
        .footer-link { padding: 0px 5px 0px 5px; text-decoration: none; color: #9B9B9B; font-weight: 700; transition: color 140ms ease, transform .15s ease; transform: translateX(var(--parallax-x, 0px)) translateY(var(--parallax-y, 0px)); will-change: transform; }
        .footer-link:hover { color: #000; }
        /* Only show this inline email link on mobile layout */
        .footer-link.email-inline { display: none; }

        /* Custom circle cursor (desktop only) */
        .custom-cursor {
            position: fixed;
            pointer-events: none;
            z-index: 10001;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1.5px solid rgba(255, 255, 255, 1);
            /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(201, 200, 200, 0.45) 100%); */
            background: rgba(255, 255, 255, 0.7);
            box-shadow: 0 3px 6px 3px rgba(9, 9, 2, 0.1);
            transform: translate(-50%, -50%);
            transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
            display: none;
            will-change: left, top;
            filter: blur(0px);
            overflow: hidden;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }
        /* Pressing gradient overlay — always present, faded in on press */
        .custom-cursor::before {
            content: '';
            position: absolute;
            inset: 0;
            /* border-radius: 50%; */
            /* background: linear-gradient(135deg, rgba(245, 245, 245, 0.45) 0%, rgba(175, 175, 175, 0.55) 100%); */
            background: rgba(240, 240, 240, 0.2);
            opacity: 0;
            transition: opacity 0.15s ease;
        }
        .custom-cursor.pressing::before {
            opacity: 1;
        }
        .custom-cursor.hide-on-overlay {
            opacity: 0;
            filter: blur(6px);
            width: 1px;
            height: 1px;
            box-shadow: none;
            border: none;
        }
        .custom-cursor.pressing {
            box-shadow: 0 2px 6px 2px rgba(9, 9, 2, 0.1);
            /* background: rgba(245, 245, 245, 0.7); */
            width: 34px;
            height: 34px;
        }

        /* Hide system cursor on desktop (SPA — no page-transition flash) */
        @media (pointer: fine) {
            *, html { cursor: none !important; }
        }

        /* Prevent text selection during drag */
        body.is-dragging {
            user-select: none !important;
            -webkit-user-select: none !important;
        }

        /* Page load fade-in animation for main content */
        .main-content {
            opacity: 0;
            transition: opacity 0.6s ease-out;
        }
        .main-content.loaded {
            opacity: 1;
        }

        .carousel-container.is-phones .carousel-item { aspect-ratio: 1419 / 2796; }
        .carousel-container.is-hires { --pr: 7px; }

        /* ========== SCREENSHOT SHADOWS (browser windows / app shots — not iPhone frames) ========== */
        /* Layered, low-opacity shadow: tight contact shadow + soft ambient falloff.
           drop-shadow follows the image's rounded alpha, so it hugs the corners exactly. */
        .carousel-container:not(.is-phones) .carousel-item img {
            filter:
                drop-shadow(0 0 1px rgba(20, 20, 30, 0.22))
                drop-shadow(0 2px 4px rgba(20, 20, 30, 0.07))
                drop-shadow(0 10px 18px rgba(20, 20, 30, 0.09))
                drop-shadow(0 22px 36px rgba(20, 20, 30, 0.08));
        }
        /* Small / odd-ratio shots: show sharp at natural size instead of blowing them up */
        @media (min-width: 921px) {
            .carousel-container:not(.is-phones) .carousel-item:not(.is-16-9) img {
                height: auto;
                max-height: 100%;
            }
        }

        @media (max-width: 920px) {
            :root { --pr: 8px; }

            .top-nav { padding: 20px 20px 0; margin-bottom: 8px; }

            /* Each project = slider on top, caption card underneath (no overlap, no hover needed) */
            .carousel-container,
            .carousel-container.is-phones {
                --mh: min(62vh, 520px);          /* slider height, overridden per kind below */
                height: auto;
                min-height: 0;
                margin: 0 0 44px;
                padding-top: 24px;                /* room for the top of the shadow */
                overflow: hidden;
                touch-action: pan-y;
                -webkit-overflow-scrolling: touch;
            }
            .carousel-container.is-windows {
                --iw: min(86vw, 720px);            /* slide width — leaves a sliver of the next slide visible */
                --mh: calc(var(--iw) / 1.62);
            }
            .carousel-container.is-phones { --mh: min(66vh, 560px); }
            .carousel-container.is-hires { --pr: 6px; }

            .carousel,
            .carousel-container .carousel {
                position: relative;
                height: var(--mh);
                margin-bottom: 40px;               /* room for the bottom of the shadow */
            }

            .carousel-item,
            .carousel-container.is-phones .carousel-item {
                width: auto;
                height: auto;
                max-height: 100%;
                max-width: 90vw;
                margin: 0 8px;
                border: none;
                opacity: .45;
                filter: none;
                transform: scale(.94);
                transition: opacity .4s ease, transform .45s cubic-bezier(.25,.46,.45,.94);
            }
            .carousel-item.active,
            .carousel-container.is-phones .carousel-item.active { opacity: 1; transform: none; }
            .carousel-container.is-phones .carousel-item { opacity: 1; height: 100%; }
            .carousel-container.is-phones .carousel-item.is-near { opacity: 1; transform: scale(.96); }
            .carousel-container.is-phones .carousel-item:not(.active):not(.is-near) { transform: scale(.92); }
            .carousel-container.is-windows .carousel-item { width: var(--iw); max-width: none; }

            .carousel-item picture { display: flex; height: auto; width: 100%; justify-content: center; }
            .carousel-container.is-phones .carousel-item picture { height: 100%; width: auto; }
            .carousel-item picture img,
            .carousel-item img {
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: var(--mh);
                object-fit: contain;
            }
            .carousel-container.is-windows .carousel-item picture img { width: 100%; }
            .carousel-container.is-phones .carousel-item img,
            .carousel-container.is-phones .carousel-item picture img { height: 100%; width: auto; max-height: 100%; }

            /* Taps: only over the slider, never over the caption */
            .click-zone { top: 24px; bottom: auto; height: var(--mh); }

            /* Caption card — same radius as the photos */
            .carousel-overlay,
            .carousel-overlay.is-open {
                position: relative;
                left: auto; right: auto; top: auto; bottom: auto;
                transform: none;
                width: auto;
                height: auto !important;
                margin: 0 16px;
                padding: 16px 18px 18px;
                border-radius: var(--pr);
                background: #F5F5F5;
                backdrop-filter: none;
                filter: none;
                text-align: left;
                z-index: 5;
                overflow: visible;
                contain: none;
            }
            .carousel-overlay:hover { transform: none; filter: none; background: #F5F5F5; }
            .carousel-overlay .title { font-size: 17px; line-height: 22px; opacity: 1; transform: none; margin-bottom: 2px; }
            .carousel-overlay .meta { justify-content: flex-start; opacity: 1; transform: none; }
            .carousel-overlay .overlay-desc,
            .carousel-overlay.is-open .overlay-desc {
                position: static; width: auto; height: auto;
                visibility: visible; opacity: 1; transform: none; pointer-events: auto;
                margin: 10px 0 0;
                font-size: 15px; line-height: 22px; font-weight: 400; color: #555;
            }

            /* Footer (mobile) */
            .site-footer { padding: 15px 14px 15px; margin-top: 20px; }
            .footer-inner { display: flex; flex-direction: column; gap: 10px; }
            .footer-left { justify-content: center; }
            .footer-label { display: none; }
            .footer-right { display: none; }
            .footer-links { gap: 22px; }
            .footer-link{color: #c7c7c7;}
            .footer-center { margin-top: 2px; }
            .footer-link.email-inline { display: inline-block; }
        }

        /* ========== MORE INFO VIEW STYLES (scoped) ========== */
        .info-view {
            font-size: 26px;
            line-height: 35px;
            font-weight: 400;
            color: #272727;
            overflow: visible;
            font-family: 'VelaSans', sans-serif;
            font-weight: 600;
        }
        .info-view section {
            width: 80%;
            max-width: 1000px;
            margin: auto;
        }
        .info-view section img {
            width: 100%;
            display: block;
        }
        .info-view h1 {
            font-size: 80px;
            font-weight: 400;
            position: relative;
        }
        .info-view h2 {
            font-size: 32px;
            font-weight: 400;
            position: relative;
            margin-bottom: 16px;
            text-transform: none;
            color: #272727;
        }
        .info-view p {
            font-weight: 400;
            text-align: center;
        }
        .info-view .spacer30 {
            width: 100%;
            height: 30px;
            display: inline-block;
        }
        .info-view .spacer60 {
            width: 100%;
            height: 60px;
            display: inline-block;
        }

        /* More-info top nav */
        .info-view .top-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px 60px;
            position: relative;
            line-height: 38px;
            z-index: auto;
            margin-bottom: 0;
        }
        .info-view .nav-left a {
            font-size: 16px;
            font-weight: 400;
            color: #272727;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all .2s ease, transform .15s ease;
            transform: translateX(var(--parallax-x, 0px)) translateY(var(--parallax-y, 0px));
            will-change: transform;
        }
        .info-view .nav-left a:hover {
            opacity: 0.6;
            scale: 1.1;
        }
        .info-view .nav-left .back-arrow {
            width: 18px;
            height: 18px;
        }
        .info-view .nav-right {
            display: flex;
            align-items: center;
        }
        .info-view .nav-time {
            font-size: 16px;
            color: #ccc;
        }

        /* More-info profile header */
        .info-view .profile {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 48px;
        }
        .info-view .profile-photo {
            width: 88px;
            height: 88px;
            flex: 0 0 auto;
            border-radius: 24px;
            object-fit: cover;
            object-position: 50% 30%;
            background: #eee;
            box-shadow: 0 0 0 .5px rgba(20,20,30,.12), 0 2px 4px rgba(20,20,30,.06), 0 10px 20px rgba(20,20,30,.08);
            -webkit-user-drag: none;
        }
        .info-view .profile-name { font-size: 22px; line-height: 28px; font-weight: 600; color: #272727; }
        .info-view .profile-role { font-size: 15px; line-height: 21px; font-weight: 400; color: #9B9B9B; margin-top: 2px; }
        .info-view .profile-links { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
        .info-view .profile-links a {
            display: block;
            width: 20px;
            height: 20px;
            color: #B5B5B5;
            transition: color .2s ease, scale .2s ease, transform .15s ease;
            transform: translateX(var(--parallax-x, 0px)) translateY(var(--parallax-y, 0px));
            will-change: transform;
        }
        .info-view .profile-links a:hover { color: #272727; scale: 1.12; }
        .info-view .profile-links svg { display: block; width: 100%; height: 100%; fill: currentColor; }

        .info-view .single-column {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            display: block;
        }

        /* More-info about section */
        .info-view .about-intro {
            margin-bottom: 60px;
        }
        .info-view .about-intro h1 {
            font-size: 42px;
            font-weight: 400;
            margin: 0 0 24px 0;
            line-height: 1.1;
        }
        .info-view .about-intro-text {
            font-size: 18px;
            line-height: 30px;
            color: #272727;
            text-align: left;
            margin: 0;
        }
        .info-view .about-intro-hidden {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s linear;
        }
        .info-view .about-intro-hidden.expanded {
            opacity: 1;
            margin-top: 50px;
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.1s;
        }
        .info-view .about-intro-hidden p {
            text-align: left;
            margin-top: 16px;
        }
        .info-view .read-more-btn {
            font-size: 16px;
            color: #ccc;
            background: none;
            border: none;
            padding: 0;
            margin-top: 16px;
            cursor: pointer;
            transition: color .2s ease, transform .15s ease;
            display: inline-block;
            transform: translateX(var(--parallax-x, 0px)) translateY(var(--parallax-y, 0px));
            will-change: transform;
        }
        .info-view .read-more-btn:hover {
            color: #272727;
        }
        .info-view .about-section {
            display: flow-root;
            margin-bottom: 40px;
        }
        .info-view .about-list-items {
            display: block;
        }
        .info-view .about-list-items a {
            width: 100%;
            display: block;
            padding: 10px 0px;
            text-decoration: none;
            color: #666;
            font-size: 18px;
            line-height: 28px;
            font-weight: 400;
            transition: background-color .5s ease, scale .5s ease, color .5s ease, transform .15s ease;
            border-radius: 18px;
            background-color: rgba(238, 238, 238, 0);
            will-change: transform;
            transform: translateX(var(--parallax-x, 0px)) translateY(var(--parallax-y, 0px)) translateZ(0);
            backface-visibility: hidden;
        }
        .info-view .about-list-content {
            margin-left: 0px;
            margin-right: 0px;
            transition: .5s all ease;
        }
        .info-view .about-list-items a:hover .about-list-content {
            margin-left: 18px;
            margin-right: 18px;
            transition: .15s all ease;
        }
        .info-view .about-list-right {
            transition: .5s all ease;
            float: right;
            color: #ccc;
        }
        .info-view .about-list-title {
            display: inline-block;
            margin-top: -4px;
            color: #ccc;
            transition: .5s all ease;
        }
        .info-view .about-list-items a:hover {
            background-color: rgb(238, 238, 238, 1);
            color: black;
            transition: background-color .15s ease, scale .15s ease, color .15s ease;
            scale: 1.07;
        }
        .info-view .about-list-items a:hover .about-list-right,
        .info-view .about-list-items a:hover .about-list-title {
            color: #555;
            transition: .15s all ease;
        }

        /* More-info responsive (950px breakpoint) */
        @media (max-width: 950px) {
            .info-view section {
                width: auto;
                padding: 0 30px;
                max-width: none;
            }
            .info-view .single-column {
                width: 100%;
                max-width: none;
            }
            .info-view .top-nav {
                padding: 20px 20px;
            }
            .info-view .nav-left a {
                font-size: 18px;
            }
            .info-view .nav-time {
                font-size: 16px;
            }
            .info-view .profile { gap: 16px; margin-bottom: 40px; }
            .info-view .profile-photo { width: 76px; height: 76px; border-radius: 21px; }
            .info-view .profile-name { font-size: 20px; line-height: 26px; }
            .info-view .profile-role { font-size: 14px; line-height: 20px; }
            .info-view .about-intro h1 {
                font-size: 36px;
            }
            .info-view h2 {
                font-size: 28px;
            }
            .info-view .about-intro-text {
                font-size: 18px;
                line-height: 28px;
            }
            .info-view .about-list-items a {
                font-size: 18px;
                line-height: 26px;
            }
            .info-view .read-more-btn {
                font-size: 18px;
            }
            .info-view .spacer30 {
                height: 15px;
            }
            .info-view .spacer60 {
                height: 30px;
            }
            .info-view .about-list-items {
                width: 100%;
            }
        }
    


        /* ========== SHARED NAV: back link, section tabs, language switch ========== */
        #portfolio-view .nav-left a,
        .info-view .nav-left a { cursor: pointer; }
        #portfolio-view .nav-left a {
            font-size: 16px; font-weight: 400; color: #272727; text-decoration: none;
            display: flex; align-items: center; gap: 6px;
            transition: all .2s ease, transform .15s ease;
            transform: translateX(var(--parallax-x, 0px)) translateY(var(--parallax-y, 0px));
            will-change: transform;
        }
        #portfolio-view .nav-left a:hover { opacity: .6; scale: 1.1; }
        #portfolio-view .nav-left .back-arrow { width: 18px; height: 18px; }

        .tabs { display: flex; align-items: center; gap: 30px; }
        .tabs a {
            position: relative; padding: 10px 0; font-size: 16px; line-height: 20px; font-weight: 400;
            color: #B5B5B5; text-decoration: none; white-space: nowrap; transition: color .2s ease;
        }
        .tabs a:hover { color: #272727; }
        .tabs a.is-active { color: #272727; }
        .tabs a.is-active::after {
            content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: #272727; border-radius: 2px;
        }

        .lang-switch {
            border: 0; background: none; padding: 10px 0; margin-right: 28px; font-size: 16px; line-height: 20px;
            color: #CFCFCF; display: inline-flex; gap: 6px; align-items: center; transition: color .2s ease;
        }
        .lang-switch span { transition: color .2s ease; }
        .lang-switch .l-ru::after { content: ' /'; color: #CFCFCF; }
        .lang-switch[data-lang="ru"] .l-ru,
        .lang-switch[data-lang="en"] .l-en { color: #272727; }
        .lang-switch:hover span:not(.is-on) { color: #272727; }
        .top-nav .nav-right .lang-switch:last-child { margin-right: 0; }

        .top-nav .nav-left { flex: 1 1 0; }
        .top-nav .nav-right { flex: 1 1 0; justify-content: flex-end; }
        .top-nav .tabs { flex: 0 0 auto; }

        /* ========== HOME HUB + SECTION PAGES (Achievements, Press) ========== */
        .info-view .page-title { font-size: 42px; line-height: 46px; font-weight: 400; margin: 0 0 14px; color: #272727; }
        .info-view .page-sub { font-size: 18px; line-height: 28px; font-weight: 400; color: #9B9B9B; text-align: left; margin: 0 0 56px; }
        .info-view .hub { margin-bottom: 0; }
        .info-view .hub .about-list-items a { padding: 18px 0; font-size: 26px; line-height: 34px; color: #272727; }
        .info-view .hub .about-list-title { font-size: 18px; line-height: 26px; margin-top: 2px; }
        .info-view .hub .about-list-right { font-size: 18px; margin-top: 4px; }
        .info-view .group-label { margin-top: 48px; }
        .info-view .group-label:first-of-type { margin-top: 0; }
        .info-view a[data-gallery] { cursor: pointer; }

        /* Lab head */
        .section-head { padding: 0 60px; margin: 0; color: #272727; }
        .section-title { font-size: 42px; line-height: 46px; font-weight: 400; }
        .section-sub { margin-top: 8px; font-size: 16px; line-height: 24px; font-weight: 400; color: #9B9B9B; max-width: 560px; }
        .section-head + .carousel-container { margin-top: 40px; }

        /* ========== LIGHTBOX (certificates) ========== */
        .lightbox {
            position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; flex-direction: column;
            background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
            opacity: 0; transition: opacity .25s ease;
        }
        .lightbox.is-open { display: flex; }
        .lightbox.is-visible { opacity: 1; }
        .lb-stage { position: relative; width: 100%; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 70px 90px 10px; box-sizing: border-box; }
        .lb-stage img {
            max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; -webkit-user-drag: none; user-select: none;
            box-shadow: 0 0 1px rgba(20,20,30,.25), 0 6px 14px rgba(20,20,30,.08), 0 24px 48px rgba(20,20,30,.12);
        }
        .lb-caption { flex: 0 0 auto; padding: 14px 24px 28px; text-align: center; font-size: 15px; line-height: 21px; color: #272727; }
        .lb-caption small { display: block; color: #9B9B9B; font-size: 14px; margin-top: 2px; }
        .lb-btn {
            position: absolute; border: 0; background: none; color: #272727; font-size: 28px; line-height: 1; width: 48px; height: 48px;
            display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s ease, opacity .2s ease; z-index: 2;
        }
        .lb-btn:hover { background: #eee; }
        .lb-close { top: 18px; right: 24px; }
        .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
        .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
        .lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

        @media (max-width: 920px) {
            .top-nav { flex-wrap: wrap; }
            .top-nav .nav-left, .top-nav .nav-right { flex: 1 1 auto; }
            .top-nav .tabs { order: 3; flex: 1 0 100%; gap: 24px; margin-top: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
            .top-nav .tabs::-webkit-scrollbar { display: none; }
            .lang-switch { margin-right: 18px; }
            #portfolio-view .top-nav { margin-bottom: 20px; }
            .section-head { padding: 0 20px; }
            .section-title { font-size: 32px; line-height: 38px; }
            .section-sub { font-size: 15px; line-height: 22px; }
            .section-head + .carousel-container { margin-top: 28px; }
            .info-view .page-title { font-size: 34px; line-height: 40px; }
            .info-view .page-sub { font-size: 16px; line-height: 25px; margin-bottom: 40px; }
            .info-view .hub .about-list-items a { font-size: 22px; line-height: 30px; padding: 16px 0; }
            .info-view .hub .about-list-title { font-size: 16px; line-height: 23px; }
            .info-view .hub .about-list-right { font-size: 16px; margin-top: 3px; }
            .info-view .group-label { margin-top: 36px; }
            .lb-stage { padding: 64px 12px 6px; }
            .lb-prev { left: 4px; } .lb-next { right: 4px; } .lb-close { right: 10px; top: 10px; }
            .lb-btn { background: rgba(255,255,255,.8); }
        }

        /* Long captions on the Achievements / Press pages need a bit more contrast than the short More Info rows */
        #achievements-view .about-list-title,
        #press-view .about-list-title { color: #a3a3a3; }
        #achievements-view .about-list-right,
        #press-view .about-list-right { color: #b5b5b5; }
        #achievements-view .about-list-items a:hover .about-list-title,
        #press-view .about-list-items a:hover .about-list-title,
        #achievements-view .about-list-items a:hover .about-list-right,
        #press-view .about-list-items a:hover .about-list-right { color: #555; }

        /* ========== Arrow icon (rows that open something, external links) ========== */
        .info-view a[data-gallery] .about-list-right::after,
        #press-view .about-list-items a .about-list-right::after,
        .overlay-link::after {
            content: ''; display: inline-block; width: 11px; height: 11px; margin-left: 6px; vertical-align: -1px;
            background-color: currentColor;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l6-6M4 3h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l6-6M4 3h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
            transition: transform .2s ease;
        }
        .overlay-link:hover::after,
        .info-view a:hover .about-list-right::after { transform: translate(1px, -1px); }
        .lb-btn { border: 1px solid rgba(20,20,30,.08); background: rgba(255,255,255,.9); box-shadow: 0 2px 10px rgba(20,20,30,.08); }
        .lb-btn:hover { background: #fff; box-shadow: 0 4px 16px rgba(20,20,30,.14); }
        .lb-btn svg { display: block; }
