/* brutalist.css */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Noto+Sans+SC:wght@400;500;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg-color: #F00000;
    --text-black: #000000;
    --text-white: #FFFFFF;
    --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-display: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    --font-mono: 'JetBrains Mono', 'Space Grotesk', monospace;
    --nav-height: 80px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-black);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.project-page {
    background-color: #ffffff;
    color: var(--text-black);
}

body.project-page .topbar {
    mix-blend-mode: normal;
    color: var(--text-black);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--text-black);
    backdrop-filter: blur(8px);
}

body.project-page .list-header {
    color: var(--text-black);
}

::selection {
    background: var(--text-black);
    color: var(--text-white);
}

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

/* --- NAVIGATION --- */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    z-index: 1000;
    mix-blend-mode: difference;
    color: #fff;
}

.topbar-left, .topbar-right {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.topbar-center {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.slash {
    opacity: 0.5;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 0 4vw;
}

/* --- WS LOGO FLASH EFFECT --- */
.hero-deco {
    position: fixed; /* Changed to fixed so it stays on screen when scrolled */
    top: 6vh;
    left: 4vw;
    right: auto;
    width: 36vw;
    height: 28vh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 4vw; /* Reduce gap to make it tighter */
    z-index: 1001; 
    pointer-events: none;
    transform-origin: top left;
    overflow: hidden; /* To contain the flash sweep */
    will-change: transform, top, left;
}

/* The flash element that sweeps across */
.hero-deco::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

.flash-active {
    animation: pulse-glow 0.45s ease-in-out;
}

.flash-active::after {
    animation: sweep 0.4s ease-out forwards;
}

.flash-active .w-shape,
.flash-active .s-shape {
    animation: micro-jitter-shape 0.45s steps(3, end);
}

@keyframes sweep {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

@keyframes pulse-glow {
    0% { filter: brightness(1) contrast(1); }
    45% { filter: brightness(1.24) contrast(1.12); }
    100% { filter: brightness(1) contrast(1); }
}

@keyframes micro-jitter-shape {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, 0); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0, 0); }
}

/* We will handle the shrinking purely with GSAP Scrub now, so remove the .is-shrunk class */

.hero-marquee-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.marquee-row {
    display: flex;
    white-space: nowrap;
    font-size: 12vw;
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-title-container {
    position: relative;
    z-index: 10;
    text-align: right;
    margin-top: auto;
    margin-bottom: 10vh;
}

.hero-proof {
    font-family: var(--font-mono);
    font-size: 1.8vw;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.85;
    margin-bottom: 2vh;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-title {
    font-size: 10vw;
    font-weight: 700;
    line-height: 0.85;
    color: var(--text-white);
    text-transform: uppercase;
    font-family: var(--font-display);
}

.hero-title span {
    display: block;
}

/* --- INTRO SECTION --- */
.section-intro {
    padding: 15vh 4vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 2px solid var(--text-black);
}

.intro-left {
    font-size: 4vw;
    font-weight: 700;
    width: 30%;
}

.intro-right {
    width: 60%;
    font-size: 2.5vw;
    font-weight: 500;
    line-height: 1.3;
}

.intro-right span.bold {
    font-weight: 700;
    font-size: 3vw;
}

/* --- MARQUEE SECTION --- */
.section-marquee {
    padding: 10vh 0;
    border-top: 2px solid var(--text-black);
    border-bottom: 2px solid var(--text-black);
    overflow: hidden;
    background: var(--text-black);
    color: var(--bg-color);
}

.whoami-stage-block {
    position: relative;
    background: var(--bg-color);
    color: var(--text-black);
    overflow: hidden;
    isolation: isolate;
    min-height: 108vh;
}

.marquee-text {
    font-size: 8vw;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
}

/* --- TEXT BLOCK SECTION --- */
.section-text-block {
    padding: 15vh 4vw;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--text-black);
}

.text-block-title {
    font-size: 6vw;
    font-weight: 700;
    line-height: 1;
    color: var(--text-white);
    width: 40%;
}

.text-block-content {
    width: 50%;
    font-size: 2vw;
    font-weight: 500;
    line-height: 1.4;
}

/* --- WORKS / LIST SECTION --- */
.section-list {
    padding: 15vh 4vw;
    border-bottom: 2px solid var(--text-black);
}

#work.section-list {
    padding-top: 6vh;
    padding-bottom: 12vh;
    border-bottom: 0;
}

.section-list.stage-white {
    background: #ffffff;
    color: var(--text-black);
    position: relative;
    z-index: 2;
}

.list-header {
    font-size: 6vw;
    font-weight: 700;
    margin-bottom: 5vh;
    color: var(--text-white);
    font-family: var(--font-display);
}

.works-link {
    font-size: 2vw;
}

.stage-white .list-header {
    color: var(--text-black);
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 2vw;
    padding: 4vh 0;
    border-top: 2px solid var(--text-black);
}

.item-meta {
    width: 20%;
    font-size: 1.5vw;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.item-content {
    width: 80%;
}

.item-title {
    font-size: 3vw;
    font-weight: 700;
    margin-bottom: 1vh;
    font-family: var(--font-display);
}

.item-desc {
    font-size: 1.5vw;
    font-weight: 500;
    line-height: 1.4;
}

/* --- PROJECT HOVER PANEL --- */
.project-card {
    position: relative;
    padding: 4vh 0;
    border-top: 2px solid var(--text-black);
    text-decoration: none;
    color: var(--text-black);
    display: flex;
    transition: background 0.3s;
}

/* Removed hover invert background as requested */
.project-card:hover {
    /* No background change */
}

.project-meta {
    width: 20%;
    font-size: 1.15vw;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-content {
    width: 80%;
    position: relative;
}

.project-title {
    font-size: clamp(30px, 2.8vw, 54px);
    font-weight: 700;
    margin-bottom: 2vh;
    font-family: var(--font-display);
}

.project-desc {
    font-size: 1.5vw;
    font-weight: 500;
    margin-bottom: 2vh;
}

.project-link {
    display: inline-block;
    font-size: clamp(18px, 1.6vw, 28px);
    font-family: var(--font-display);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    color: var(--text-black);
    padding: 0;
    font-weight: 700;
    margin-top: 1vh;
    transition: transform 0.3s ease, letter-spacing 0.3s ease;
}
.project-link:hover {
    transform: translateY(-2px);
    letter-spacing: 0.03em;
}

.project-doi {
    font-size: clamp(16px, 1.15vw, 22px);
    font-family: var(--font-mono);
    color: rgba(0, 0, 0, 0.78);
    margin-top: 1vh;
    letter-spacing: 0.01em;
}

/* Protocol System Panel - Now always visible */
.protocol-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vh 4vw;
    font-size: clamp(13px, 0.95vw, 18px);
    color: var(--text-black);
    padding: 2vh 2vw;
    border-left: 4px solid var(--text-black);
    margin-bottom: 3vh;
    background: rgba(0, 0, 0, 0.05); /* Very subtle background to group it */
}

.panel-field {
    display: flex;
    flex-direction: column;
}

.field-label {
    font-weight: 700;
    opacity: 0.6;
    margin-bottom: 0.5vh;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.field-value {
    font-weight: 500;
    font-family: var(--font-mono);
    line-height: 1.55;
}

.project-controls {
    padding: 0 4vw 4vh;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.project-filter-label {
    font-family: var(--font-display);
    font-size: clamp(14px, 1vw, 20px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    border: 2px solid var(--text-black);
    background: transparent;
    color: var(--text-black);
    padding: 8px 14px;
    font-family: var(--font-display);
    font-size: clamp(12px, 0.9vw, 16px);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover {
    transform: translateY(-1px);
}

.filter-chip.is-active {
    background: var(--text-black);
    color: var(--bg-color);
}

body.project-page .filter-chip {
    background: #f4f4f4;
    color: #161616;
    border-color: #5a5a5a;
}

body.project-page .filter-chip:hover {
    background: #e9e9e9;
}

body.project-page .filter-chip.is-active {
    background: #d6d6d6;
    color: #101010;
    border-color: #4a4a4a;
}

.project-card.is-hidden {
    display: none;
}

.whoami-section {
    position: relative;
    overflow: hidden;
}

.whoami-shell {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    gap: 2vw;
    align-items: start;
}

.whoami-merged {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.2vh;
    padding-top: 1vh;
    position: relative;
    z-index: 4;
}

.whoami-kicker {
    font-family: var(--font-display);
    font-size: clamp(46px, 6vw, 104px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 0.94;
    text-transform: uppercase;
    opacity: 1;
    margin-bottom: 0.25rem;
}

.whoami-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.4rem;
    margin-bottom: 0.35rem;
}

.whoami-proof span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text-black);
    padding: 0.5rem 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(16px, 1.2vw, 24px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-black);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.whoami-summary {
    font-size: clamp(25px, 2.05vw, 40px);
    line-height: 1.64;
    max-width: 95%;
}

.whoami-focus-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 2vh;
}

.whoami-focus-list p {
    border-top: 2px solid var(--text-black);
    padding-top: 0.9rem;
    background: transparent;
    font-size: clamp(18px, 1.26vw, 24px);
    line-height: 1.66;
}

.whoami-focus-list strong {
    font-family: var(--font-display);
    font-size: clamp(18px, 1.25vw, 24px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-right: 0.45rem;
}

.whoami-visual {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 440px;
}

.whoami-wordmark-stage {
    padding-top: 14vh;
}

.whoami-wordmark {
    font-family: var(--font-display);
    font-size: clamp(78px, 8.8vw, 186px);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    text-align: right;
    color: #ffffff;
    letter-spacing: -0.01em;
    transform-origin: right center;
    will-change: transform, opacity;
    filter: none;
    text-shadow: none;
    position: relative;
    z-index: 4;
    pointer-events: none;
    user-select: none;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.whoami-wordmark span {
    display: block;
}

.whoami-orb {
    position: relative;
    width: clamp(190px, 22vw, 320px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.whoami-orb-core {
    width: 34%;
    height: 34%;
    border-radius: 50%;
    background: var(--text-white);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.5), 0 0 35px rgba(255,255,255,0.85);
}

.whoami-orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.75);
}

.whoami-orb-ring.ring-a { animation: spin-ring 8s linear infinite; }
.whoami-orb-ring.ring-b { inset: 13%; animation: spin-ring-reverse 6.5s linear infinite; }
.whoami-orb-ring.ring-c { inset: 24%; animation: spin-ring 5.8s linear infinite; }

.whoami-visual-caption {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: clamp(13px, 1vw, 18px);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    opacity: 0.78;
}

.whoami-bloom {
    position: absolute;
    right: 3%;
    top: 58%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(50%, -50%) scale(0.08);
    transform-origin: center center;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    will-change: transform, opacity;
}

@keyframes spin-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-ring-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* --- FOOTER / CONTACT --- */
.footer {
    padding: 15vh 4vw 5vh 4vw;
    background: var(--text-white); /* Changed to white */
    color: var(--text-black); /* Changed to black */
    min-height: 100vh;
}

.footer-huge {
    font-size: 12vw;
    font-weight: 700;
    line-height: 0.8;
    margin-bottom: 10vh;
    color: var(--text-black); /* Changed to black */
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    font-size: 1.5vw;
    font-weight: 500;
    border-top: 1px solid var(--text-black); /* Changed to black */
    padding-top: 4vh;
    padding-bottom: 10vh; /* Add padding for bottom elements */
}

.footer-col strong {
    display: block;
    margin-bottom: 1vh;
    font-size: 1.2vw;
    opacity: 0.7;
}

.footer-signature-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* --- HOVER ANIMATIONS --- */
/* Scale and Color Shift */
.hover-scale {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.1);
    color: var(--text-black);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

/* For elements that are already black and should invert/scale */
.hover-scale-invert {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, background-color 0.3s ease;
}
.hover-scale-invert:hover {
    transform: scale(1.1) rotate(-2deg);
    color: var(--bg-color);
    background-color: var(--text-black);
    padding: 0 10px;
}

/* Subtle underline slide */
.hover-underline {
    position: relative;
    text-decoration: none !important;
}
.hover-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.hover-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Magnetic style text (heavy scale) */
.hover-magnetic {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.hover-magnetic:hover {
    transform: scale(1.15) translateY(-5px);
    letter-spacing: 0.05em;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* --- GSAP ANIMATION CLASSES --- */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
}

.project-mini-logo {
    position: relative;
    top: auto;
    left: auto;
    width: 56px;
    height: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 6px;
    z-index: 1;
    pointer-events: none;
    flex: 0 0 auto;
}

body.project-page .topbar-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.project-link-douyin {
    margin-left: 0.55rem;
}

.project-mini-logo .w-group {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-mini-logo .s-group {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-mini-logo .bar {
    background: var(--text-black);
}

.project-mini-logo .w-group .bar:nth-child(1),
.project-mini-logo .w-group .bar:nth-child(3) {
    width: 25%;
    height: 100%;
}

.project-mini-logo .w-group .bar:nth-child(2) {
    width: 25%;
    height: 60%;
}

.project-mini-logo .s-group .bar:nth-child(1),
.project-mini-logo .s-group .bar:nth-child(3) {
    width: 70%;
    height: 28%;
}

.project-mini-logo .s-group .bar:nth-child(1) {
    align-self: flex-end;
    border-radius: 0 10px 10px 0;
}

.project-mini-logo .s-group .bar:nth-child(2) {
    width: 100%;
    height: 28%;
}

.project-mini-logo .s-group .bar:nth-child(3) {
    align-self: flex-start;
    border-radius: 10px 0 0 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    :root { --nav-height: 58px; }

    html, body {
        overscroll-behavior-y: contain;
        touch-action: pan-y;
    }

    .topbar {
        height: var(--nav-height);
        padding: 0 10px;
        color: #ffffff;
        justify-content: flex-start;
        gap: 10px;
        overflow: hidden;
        touch-action: pan-y;
    }

    .topbar-left, .topbar-right {
        font-size: 0.66rem;
        letter-spacing: 0.01em;
    }

    .topbar-right { display: none; }

    .topbar-left {
        max-width: 38vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 0 0 auto;
    }

    .topbar-center {
        margin-left: auto;
        gap: 7px;
        font-size: 0.7rem;
        min-width: 0;
        white-space: nowrap;
        transform: translateX(-2px);
    }

    .topbar-center .slash { display: none; }
    .topbar-center .nav-link { letter-spacing: 0.01em; }

    .slash { opacity: 0.35; }

    .hero {
        min-height: auto;
        height: auto;
        justify-content: flex-start;
        padding: calc(var(--nav-height) + 10px) 12px 24px;
    }

    .hero-deco {
        top: calc(var(--nav-height) + 12px);
        left: 12px;
        width: clamp(84px, 28vw, 126px);
        height: clamp(50px, 10vh, 78px);
        gap: 8px;
        right: auto;
    }

    .hero-title-container {
        text-align: left;
        margin-top: clamp(94px, 17vh, 136px);
        margin-bottom: clamp(14px, 3vh, 26px);
    }

    .hero-proof {
        font-size: 11px;
        letter-spacing: 0.08em;
        margin-bottom: 14px;
        line-height: 1.4;
        max-width: 100%;
        white-space: normal;
    }

    .hero-title {
        font-size: clamp(52px, 14.5vw, 78px);
        line-height: 0.9;
    }

    .hero-marquee-container { opacity: 0.09; }

    .whoami-stage-block {
        min-height: auto;
    }

    .section-intro,
    .section-text-block {
        flex-direction: column;
        padding-left: 16px;
        padding-right: 16px;
    }

    .whoami-section {
        padding: 34px 16px 44px !important;
    }

    .intro-left, .intro-right, .text-block-title, .text-block-content {
        width: 100%;
        margin-bottom: 16px;
    }

    .intro-right {
        font-size: clamp(16px, 4.6vw, 21px);
        line-height: 1.55;
    }

    .intro-right span.bold {
        font-size: inherit;
    }

    .whoami-shell {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .whoami-merged {
        gap: 14px;
        padding-top: 0;
    }

    .whoami-kicker {
        font-size: clamp(32px, 10vw, 50px);
        letter-spacing: 0;
        line-height: 0.96;
    }

    .whoami-proof {
        gap: 0.45rem;
        margin-top: 0.15rem;
    }

    .whoami-proof span {
        padding: 0.34rem 0.52rem;
        border-width: 1px;
        font-size: 12px;
        letter-spacing: 0.07em;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.14);
    }

    .whoami-summary {
        max-width: 100%;
        font-size: clamp(20px, 6vw, 31px);
        line-height: 1.46;
    }

    .whoami-focus-list {
        margin-top: 4px;
        gap: 0.75rem;
    }

    .whoami-focus-list p {
        font-size: clamp(15px, 4.2vw, 20px);
        line-height: 1.55;
        padding-top: 0.72rem;
    }

    .whoami-focus-list strong {
        font-size: inherit;
        margin-right: 0.35rem;
    }

    .whoami-visual {
        min-height: 88px;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .whoami-wordmark-stage { padding-top: 2vh; }

    .whoami-wordmark {
        text-align: right;
        transform-origin: right center;
        font-size: clamp(52px, 16vw, 92px);
        line-height: 0.88;
    }

    .whoami-bloom {
        display: none;
    }

    #work.section-list {
        padding: 8vh 16px 10vh;
    }

    .list-header {
        font-size: 14vw;
        margin-bottom: 24px;
        line-height: 0.9;
    }

    .works-link {
        font-size: 15px !important;
    }

    .item-meta {
        width: 100%;
        margin-bottom: 6px;
        font-size: 12px;
        letter-spacing: 0.08em;
    }

    .list-item {
        flex-direction: column;
        gap: 8px;
        padding: 18px 0;
    }

    .item-content { width: 100%; }

    .item-title {
        font-size: clamp(26px, 8.5vw, 42px);
        margin-bottom: 8px;
        line-height: 1.04;
    }

    .item-desc {
        font-size: clamp(15px, 4.4vw, 20px);
        line-height: 1.5;
    }

    .footer {
        min-height: auto;
        padding: 12vh 16px 5vh;
    }

    .footer-huge {
        font-size: 21vw;
        margin-bottom: 6vh;
        line-height: 0.84;
    }

    .footer-grid {
        flex-direction: column;
        gap: 22px;
        font-size: 16px;
        padding-top: 18px;
        padding-bottom: 7vh;
    }

    .footer-col strong {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .footer-col a,
    .footer-col span {
        font-size: clamp(17px, 4.8vw, 22px) !important;
        line-height: 1.4;
        display: inline-block;
    }

    .footer-signature-row {
        justify-content: center;
        gap: 1rem;
        flex-direction: row;
    }

    .footer-signature-row > span,
    .footer-signature-row > a {
        font-size: 13px !important;
    }

    .project-mini-logo { display: none; }

    body.project-page .topbar {
        color: var(--text-black);
    }

    .project-page .section-intro {
        padding-top: calc(var(--nav-height) + 22px) !important;
        min-height: auto !important;
        gap: 16px;
    }

    .project-page .intro-left {
        width: 100%;
        font-size: clamp(34px, 12vw, 60px);
        line-height: 0.92;
    }

    .project-page .intro-right {
        width: 100%;
        font-size: clamp(16px, 4.5vw, 20px);
    }

    .project-controls {
        padding: 0 16px 18px;
        gap: 0.75rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .project-filter-label {
        font-size: 12px;
        letter-spacing: 0.08em;
    }

    .project-filters { gap: 8px; }

    .filter-chip {
        padding: 7px 11px;
        font-size: 12px;
        border-width: 1.5px;
    }

    .project-category.section-list {
        padding: 4vh 16px 8vh;
    }

    .project-category .list-header {
        font-size: clamp(28px, 12vw, 58px);
        margin-bottom: 2vh;
    }

    .project-meta {
        width: 100%;
        margin-bottom: 2px;
        font-size: 12px;
        letter-spacing: 0.07em;
    }

    .project-card {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .project-content { width: 100%; }

    .project-title {
        font-size: clamp(28px, 10vw, 44px);
        margin-bottom: 14px;
        line-height: 1.03;
    }

    .protocol-panel {
        grid-template-columns: 1fr;
        gap: 12px;
        font-size: clamp(13px, 3.8vw, 17px);
        padding: 12px 12px;
        border-left-width: 2px;
        margin-bottom: 16px;
    }

    .field-label {
        font-size: 11px;
        margin-bottom: 4px;
        letter-spacing: 0.08em;
    }

    .field-value {
        font-size: clamp(13px, 3.8vw, 17px);
        line-height: 1.5;
    }

    .project-link {
        font-size: clamp(15px, 4.4vw, 20px);
        margin-top: 6px;
    }

    .reveal-up {
        opacity: 1;
        transform: none;
    }
}
