/* ============================================
   CSS Variables
   ============================================ */

:root {
    --font: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
    --bg: #0a0a0a;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.45);
    --text-light: rgba(255, 255, 255, 0.25);
    --border: rgba(255, 255, 255, 0.1);
    --header-height: 64px;
}

/* ============================================
   Language Toggle via CSS
   ============================================ */

[data-lang="cn"] .lang-en { display: none !important; }
[data-lang="en"] .lang-cn { display: none !important; }

/* ============================================
   Canvas Background
   ============================================ */

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

::selection {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

/* ============================================
   Header / Navigation
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    height: var(--header-height);
    background: var(--bg);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text);
    opacity: 1;
}

.nav-link.active {
    color: var(--text);
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.active {
    color: var(--text);
}

.lang-divider {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    color: var(--text-light);
    user-select: none;
}

.brand-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
}

.brand-name:hover {
    opacity: 0.6;
}

/* ============================================
   Tab Panels
   ============================================ */

.tab-panel {
    display: none;
    padding-top: var(--header-height);
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 1;
}

.tab-panel.active {
    display: block;
    opacity: 1;
}

/* ============================================
   Display Name (shared hero element)
   ============================================ */

.display-name {
    font-size: clamp(56px, 10vw, 140px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--text);
    font-style: normal;
}

/* ============================================
   Work Tab — Hero
   ============================================ */

.work-hero {
    padding: 40px 60px 48px;
}

.hero-bio {
    font-size: 24px;
    line-height: 1.75;
    color: var(--text);
    max-width: 860px;
    font-weight: 400;
    margin-top: 48px;
    font-style: normal;
}

/* ============================================
   Work Tab — Project List (image 2 style)
   ============================================ */

.work-list {
    padding: 0 60px 120px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.work-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 28px 0;
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.3s ease;
}

.work-item:hover {
    opacity: 0.6;
}

/* Visual Coding — 字符级扰动与自愈 */
.work-item--vc {
    overflow: visible;
}

.work-item--vc:hover {
    opacity: 1;
}

.work-item--vc .work-type {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.char-unit {
    display: inline-block;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.35s ease,
                opacity 0.35s ease;
    will-change: transform;
}

.work-name {
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.work-item--coming-soon .work-name {
    font-size: 14px;
}

.work-item--coming-soon {
    position: relative;
    overflow: visible;
    opacity: 1;
}

.work-item--coming-soon::before {
    display: none;
}

.work-item--coming-soon::after {
    content: '02';
    position: absolute;
    right: 0;
    top: 18px;
    font-family: 'Share Tech Mono', 'Courier New', Courier, monospace;
    font-size: 11px;
    letter-spacing: 0.28em;
    color: rgba(255, 171, 112, 0.42);
}

.work-item--coming-soon .work-name {
    display: inline-block;
    margin-top: 0;
    padding: 0;
    font-family: 'Inter', 'Arial Narrow', 'Helvetica Neue Condensed', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: rgba(142, 44, 44, 0.92);
    line-height: 1;
}

.work-item--coming-soon .work-type {
    font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', 'Noto Serif JP', serif;
    font-style: normal;
    font-size: clamp(18px, 2.05vw, 32px);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.08em;
    line-height: 0.96;
    color: #f2c94c;
    text-shadow: 0 0 14px rgba(242, 201, 76, 0.06);
    font-feature-settings: "palt" 1;
}

.work-item--coming-soon .work-name.lang-cn {
    font-family: 'Inter', 'Arial Narrow', 'Helvetica Neue Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.work-item--coming-soon .work-type.lang-cn {
    font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', 'Noto Serif JP', serif;
    text-transform: none;
    letter-spacing: 0.08em;
}

.work-item--coming-soon .eva-char {
    display: inline-block;
    color: inherit;
    transition: color 0.22s ease, text-shadow 0.22s ease, transform 0.22s ease;
}

.work-item--coming-soon .eva-char--space {
    width: 0.38em;
}

.work-item--coming-soon:hover .eva-char,
.work-item--coming-soon:focus-visible .eva-char {
    transform: translateY(-0.01em);
}

.work-item--coming-soon:hover .eva-char--purple,
.work-item--coming-soon:focus-visible .eva-char--purple {
    color: #8d69dd;
    text-shadow: 0 0 10px rgba(141, 105, 221, 0.18);
}

.work-item--coming-soon:hover .eva-char--green,
.work-item--coming-soon:focus-visible .eva-char--green {
    color: #43db72;
    text-shadow: 0 0 10px rgba(67, 219, 114, 0.16);
}

.work-item--coming-soon:hover .eva-char--yellow,
.work-item--coming-soon:focus-visible .eva-char--yellow {
    color: #f0cf5b;
    text-shadow: 0 0 10px rgba(240, 207, 91, 0.14);
}

.work-type {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.work-meta {
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.work-item--sci {
    position: relative;
}

.work-item--sci::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 168, 111, 0.55) 0%, rgba(201, 168, 111, 0.08) 100%);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-item--sci:hover {
    opacity: 1;
}

.work-item--sci:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.work-item--sci .work-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 22.4px;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--text);
}

.work-item--sci .work-type {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #d6b57a;
}

.work-item--sci {
    overflow: visible;
}

.sci-ghost-line {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    position: relative;
    transform-origin: left center;
    will-change: transform, filter;
}

.work-item--sci:hover .sci-ghost-line,
.work-item--sci.is-ghosting .sci-ghost-line {
    animation: sci-camera-shake 280ms steps(2, end) infinite;
    filter: saturate(1.18) brightness(1.05) contrast(1.04);
}

.sci-char {
    position: relative;
    display: inline-block;
    min-width: 0.28em;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.18s ease, filter 0.18s ease;
    will-change: transform, filter, opacity;
}


.sci-char-core {
    position: relative;
    z-index: 2;
}

.sci-frag-layer {
    position: absolute;
    inset: -0.14em -0.08em -0.12em -0.08em;
    pointer-events: none;
    z-index: 1;
}

.sci-frag {
    position: absolute;
    left: var(--fx);
    top: var(--fy);
    width: var(--fs);
    height: var(--fs);
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.98) 0%, rgba(85, 146, 255, 0.92) 28%, rgba(255, 58, 76, 0.78) 58%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.72);
    filter: blur(0.16px);
}

.sci-char::before,
.sci-char::after {
    content: attr(data-char);
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
}

.sci-char::before {
    color: rgba(58, 132, 255, 0.96);
}

.sci-char::after {
    color: rgba(255, 54, 72, 0.94);
}

.work-item--sci:hover .sci-char,
.work-item--sci.is-ghosting .sci-char {
    animation: sci-char-flicker 240ms steps(2, end) infinite;
    animation-delay: calc(var(--char-index, 0) * 18ms);
}

.work-item--sci:hover .sci-char::before,
.work-item--sci.is-ghosting .sci-char::before {
    opacity: 0.95;
    animation: sci-ghost-left 190ms steps(2, end) infinite;
    animation-delay: calc(var(--char-index, 0) * 14ms);
}

.work-item--sci:hover .sci-char::after,
.work-item--sci.is-ghosting .sci-char::after {
    opacity: 0.88;
    animation: sci-ghost-right 160ms steps(2, end) infinite;
    animation-delay: calc(var(--char-index, 0) * 11ms);
}


.work-item--sci:hover .sci-frag,
.work-item--sci.is-ghosting .sci-frag {
    animation: sci-frag-drift 620ms ease-in-out infinite;
    animation-delay: var(--fd);
}

@keyframes sci-camera-shake {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    12% { transform: translate3d(-2.2px, 1px, 0) scale(1.004); }
    24% { transform: translate3d(2.8px, -1.2px, 0) scale(0.998); }
    36% { transform: translate3d(-3.4px, 1.4px, 0) scale(1.006); }
    48% { transform: translate3d(3.1px, -1.6px, 0) scale(0.997); }
    60% { transform: translate3d(-2.5px, -0.8px, 0) scale(1.003); }
    72% { transform: translate3d(2px, 1.1px, 0) scale(0.999); }
    84% { transform: translate3d(-1.4px, -0.6px, 0) scale(1.002); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes sci-char-flicker {
    0% { transform: translate3d(0, 0, 0); filter: blur(0); opacity: 1; }
    25% { transform: translate3d(-0.6px, 0.2px, 0); filter: blur(0.08px); opacity: 0.92; }
    50% { transform: translate3d(0.8px, -0.24px, 0); filter: blur(0); opacity: 1; }
    75% { transform: translate3d(-0.4px, 0.18px, 0); filter: blur(0.12px); opacity: 0.9; }
    100% { transform: translate3d(0, 0, 0); filter: blur(0); opacity: 1; }
}

@keyframes sci-ghost-left {
    0% { transform: translate3d(-1.4px, 0.2px, 0); }
    35% { transform: translate3d(-4.8px, 0.8px, 0); }
    65% { transform: translate3d(-2.6px, -0.4px, 0); }
    100% { transform: translate3d(-1.6px, 0.2px, 0); }
}

@keyframes sci-ghost-right {
    0% { transform: translate3d(1.2px, -0.2px, 0); }
    35% { transform: translate3d(4.4px, -0.9px, 0); }
    65% { transform: translate3d(2.1px, 0.36px, 0); }
    100% { transform: translate3d(1.4px, -0.2px, 0); }
}

@keyframes sci-frag-drift {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.68);
    }
    18% {
        opacity: 0.78;
        transform: translate3d(calc(var(--tx) * 0.22), calc(var(--ty) * 0.22), 0) scale(0.96);
    }
    56% {
        opacity: 0.34;
        transform: translate3d(calc(var(--tx) * 0.65), calc(var(--ty) * 0.65), 0) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate3d(calc(var(--tx) * 0.88), calc(var(--ty) * 0.88), 0) scale(0.58);
    }
}

/* ============================================
   Info Tab — Hero
   ============================================ */

.info-hero {
    padding: 40px 60px 0;
}

/* ============================================
   Info Tab — Bio + Contact
   ============================================ */

.info-top {
    display: flex;
    gap: 80px;
    padding: 48px 60px 60px;
}

.info-bio {
    flex: 1;
}

.info-bio p {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 400;
    color: var(--text);
}

.info-contact {
    flex-shrink: 0;
    width: 280px;
    padding-top: 4px;
}

.contact-cta {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 24px;
    color: var(--text);
}

.contact-link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: block;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 300;
}

.contact-link:hover {
    opacity: 0.6;
}

/* ============================================
   Info Tab — Sections
   ============================================ */

.info-section {
    padding: 48px 60px;
    border-top: 1px solid var(--border);
}

.section-label {
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 28px;
    color: var(--text);
}

/* ============================================
   Info Tab — Experiences
   ============================================ */

.exp-list {
    display: flex;
    flex-direction: column;
}

/* 与 info-top 一致：左栏 + 80px 间距 + 280px 右栏，年份列左缘与「联系我」左缘对齐 */
.exp-item {
    display: grid;
    grid-template-columns: 1fr 80px 280px;
    align-items: baseline;
    padding: 14px 0;
    gap: 0;
}

.exp-title-row {
    grid-column: 1;
    display: flex;
    align-items: baseline;
    gap: 24px;
}

.exp-item .exp-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.exp-item .exp-name:hover {
    opacity: 0.6;
}

.exp-item .exp-role {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    text-align: left;
    flex-shrink: 0;
}

.exp-date {
    grid-column: 3;
    align-self: center;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    text-align: left;
}

/* ============================================
   Info Tab — Selected Projects
   ============================================ */

.projects-group {
    margin-bottom: 32px;
}

.projects-group:last-child {
    margin-bottom: 0;
}

.projects-group-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
}

.projects-group-date {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 14px;
    margin-left: auto;
    width: 280px;
    flex-shrink: 0;
}

.projects-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 0;
}

.projects-list li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
    font-weight: 400;
}

.projects-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

/* ============================================
   Info Tab — Education
   ============================================ */

.edu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 与工作经历一致：1fr 80px 280px，年份与「联系我」左缘对齐 */
.edu-item {
    display: grid;
    grid-template-columns: 1fr 80px 280px;
    align-items: baseline;
    padding: 14px 0;
    gap: 0;
}

.edu-title-row {
    grid-column: 1;
    display: flex;
    align-items: baseline;
    gap: 24px;
}

.edu-school {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}

.edu-degree {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    text-align: left;
    flex-shrink: 0;
}

.edu-date {
    grid-column: 3;
    align-self: center;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    text-align: left;
}

/* ============================================
   Things Tab
   ============================================ */

.things-section {
    padding: 40px 60px 60px;
}

.things-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 40px);
    align-items: stretch;
    max-width: 1480px;
}

.things-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 24px;
}

.things-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.things-entry-block {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 720px;
    padding: 24px 0 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.things-entry-grid .things-entry-block {
    width: 100%;
    max-width: none;
    min-height: clamp(230px, 22vw, 320px);
}

.things-entry-block:hover {
    opacity: 1;
}

.things-entry-block + .things-entry-block {
    margin-top: 28px;
}

.things-entry-grid .things-entry-block + .things-entry-block {
    margin-top: 0;
}

.things-entry-block::before,
.things-entry-block::after {
    content: '';
    position: absolute;
    left: 0;
    width: clamp(84px, 30%, 220px);
    height: 1px;
    background: var(--text);
    transform: scaleX(0.18);
    transform-origin: left center;
    opacity: 0.48;
    pointer-events: none;
}

.things-entry-block::before {
    top: -1px;
}

.things-entry-block::after {
    bottom: -1px;
}

.things-entry-block:hover::before,
.things-entry-block:hover::after {
    animation: things-entry-progress 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes things-entry-progress {
    0% {
        transform: scaleX(0.18);
        opacity: 0.48;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.things-entry-topline,
.things-entry-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.things-entry-index,
.things-entry-label,
.things-entry-prompt,
.things-entry-arrow,
.things-entry-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.things-entry-index,
.things-entry-label,
.things-entry-prompt {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.things-entry-label--meta {
    letter-spacing: 0.02em;
    text-transform: none;
}

.things-entry-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 560px;
}

.things-entry-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(26.6px, 3.99vw, 45.6px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 100;
    color: var(--text);
}

.things-entry-grid .things-entry-name {
    font-size: clamp(24px, 2.7vw, 39px);
}

.things-entry-name-en {
    display: inline-block;
    font-size: 0.95em;
    letter-spacing: -0.0315em;
}

.things-entry-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    transition: color 0.28s ease;
}

.things-entry-desc--en {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.things-entry-block:hover .things-entry-desc {
    color: rgba(255, 255, 255, 0.68);
}

.things-entry-arrow {
    font-size: 18px;
    color: var(--text);
    transition: transform 0.28s ease;
}

.things-entry-block:hover .things-entry-arrow {
    transform: translateX(8px);
}

.things-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.3s ease;
}

.things-link:first-child {
    border-top: 1px solid var(--border);
}

.things-link:hover {
    opacity: 0.6;
}

.things-link--entry {
    font-weight: 500;
}

.things-link-name {
    font-size: 16px;
    font-weight: 400;
}

.things-link-arrow {
    font-size: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.things-entry-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Permit Modal
   ============================================ */

.permit-modal-open {
    overflow: hidden;
}

.permit-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.permit-modal-dialog {
    position: relative;
    width: min(100%, 520px);
    padding: 28px 28px 24px;
    border: 1px solid var(--border);
    background: rgba(10, 10, 10, 0.96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.permit-modal-dialog::after {
    content: '';
    position: absolute;
    left: 28px;
    bottom: 24px;
    width: 84px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.permit-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.permit-modal-close:hover {
    color: var(--text);
    opacity: 1;
}

.permit-modal-meta,
.permit-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.permit-modal-meta {
    padding-right: 52px;
}

.permit-modal-index,
.permit-modal-label,
.permit-modal-field-label,
.permit-modal-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.permit-modal-index,
.permit-modal-label,
.permit-modal-field-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.permit-modal-label {
    text-align: right;
}

.permit-modal-title {
    margin-top: 26px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.permit-modal-desc {
    margin-top: 12px;
    max-width: 360px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.permit-modal-form {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.permit-modal-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.permit-modal-input {
    width: 100%;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.06em;
    outline: none;
    transition: border-color 0.2s ease;
}

.permit-modal-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 0;
}

.permit-modal-input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.72);
}

.permit-modal-error {
    min-height: 20px;
    margin-top: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #d86b6b;
}

.permit-modal-actions {
    margin-top: 18px;
    justify-content: flex-end;
}

.permit-modal-btn {
    min-width: 96px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-size: 13px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.permit-modal-btn:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.34);
}

.permit-modal-btn--primary {
    background: rgba(255, 255, 255, 0.06);
}

.permit-modal-dialog.is-error .permit-modal-input {
    border-bottom-color: rgba(216, 107, 107, 0.9);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    position: relative;
    z-index: 1;
    padding: 40px 60px;
    text-align: left;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.visitor-count {
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   Responsive — Tablet
   ============================================ */

@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
        height: 56px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }

    .nav-brand {
        gap: 16px;
    }

    .brand-name {
        font-size: 13px;
    }

    .tab-panel {
        padding-top: 56px;
    }

    .display-name {
        font-size: clamp(40px, 12vw, 80px);
    }

    .work-hero {
        padding: 32px 20px 32px;
    }

    .hero-bio {
        font-size: 17px;
        margin-top: 32px;
    }

    .work-list {
        padding: 0 20px 80px;
    }

    .things-section {
        padding: 32px 20px 48px;
    }

    .things-entry-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .things-entry-block {
        gap: 24px;
        padding: 20px 0 22px;
    }

    .things-entry-grid .things-entry-block {
        min-height: auto;
    }

    .things-entry-block + .things-entry-block {
        margin-top: 22px;
    }

    .things-entry-grid .things-entry-block + .things-entry-block {
        margin-top: 22px;
    }

    .things-entry-topline,
    .things-entry-footer {
        gap: 12px;
    }

    .things-entry-label {
        display: none;
    }

    .things-entry-label--meta {
        display: inline;
    }

    .things-entry-name {
        font-size: 28.5px;
    }

    .things-entry-desc {
        font-size: 13px;
        line-height: 1.65;
    }

    .things-entry-desc--en {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .permit-modal-overlay {
        padding: 18px;
    }

    .permit-modal-dialog {
        padding: 24px 20px 20px;
    }

    .permit-modal-dialog::after {
        left: 20px;
        bottom: 20px;
        width: 64px;
    }

    .permit-modal-title {
        margin-top: 22px;
        font-size: 30px;
    }

    .permit-modal-desc {
        font-size: 13px;
        line-height: 1.65;
    }

    .permit-modal-form {
        margin-top: 24px;
        padding-top: 18px;
    }

    .permit-modal-input {
        padding: 12px 0;
        font-size: 18px;
    }

    .permit-modal-actions {
        gap: 10px;
    }

    .permit-modal-btn {
        min-width: 84px;
        padding: 10px 14px;
    }

    .work-name {
        font-size: 22px;
    }

    .work-type {
        font-size: 17px;
    }

    .work-item {
        padding: 20px 0;
    }

    .info-hero {
        padding: 48px 20px 0;
    }

    .info-top {
        flex-direction: column;
        gap: 40px;
        padding: 32px 20px 48px;
    }

    .info-bio p {
        font-size: 17px;
    }

    .info-contact {
        width: 100%;
    }

    .info-section {
        padding: 36px 20px;
    }

    .exp-item {
        grid-template-columns: 1fr;
        gap: 4px 8px;
    }

    .exp-title-row {
        grid-column: 1;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .exp-item .exp-date {
        grid-column: 1;
        text-align: left;
    }

    .edu-item {
        grid-template-columns: 1fr;
        gap: 4px 8px;
    }

    .edu-title-row {
        grid-column: 1;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .edu-date {
        grid-column: 1;
    }

    .projects-group-date {
        margin-left: 16px;
        width: auto;
    }

    .construction-page {
        padding: 40px 20px;
    }

    .site-footer {
        padding: 32px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ============================================
   Responsive — Small Mobile
   ============================================ */

@media (max-width: 480px) {
    .nav-links {
        gap: 16px;
    }

    .nav-link {
        font-size: 12px;
    }

    .brand-name {
        font-size: 12px;
    }

    .display-name {
        font-size: clamp(36px, 14vw, 64px);
    }

    .work-name {
        font-size: 20px;
    }

    .work-type {
        font-size: 15px;
    }

    .section-label {
        font-size: 16px;
    }
}

/* ============================================
   Visual Coding Sub-page
   ============================================ */

.vc-page {
    padding-top: var(--header-height);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.vc-hero {
    padding: 48px 60px 40px;
}

.vc-back {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 24px;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.vc-back:hover {
    color: var(--text);
    opacity: 1;
}

.vc-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
    line-height: 1;
}

/* Research — terminal type hover */
.work-item--research {
    overflow: visible;
    font-size: 1.2em;
}

.work-item--research:hover {
    opacity: 1;
}

.research-flow {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 1.4em;
    padding: 0.08em 0;
    overflow: visible;
    font-family: 'Share Tech Mono', 'Courier New', Courier, monospace;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.research-flow__base,
.research-flow__overlay {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.15;
}

.research-flow__base {
    transition: opacity 0.22s ease;
}

.research-flow__overlay {
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    overflow: hidden;
    transform: translateY(-50%);
    font-family: 'Share Tech Mono', 'Courier New', Courier, monospace;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #78ff71;
    background: linear-gradient(180deg, rgba(18, 24, 19, 0.96), rgba(10, 14, 11, 0.96));
    border: 1px solid rgba(120, 255, 113, 0.18);
    border-right: 0.14em solid #78ff71;
    border-radius: 4px;
    padding: 0.08em 0.1em 0.08em 0.22em;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 10px 24px rgba(0, 0, 0, 0.24), 0 0 16px rgba(80, 255, 132, 0.12);
    opacity: 0;
    pointer-events: none;
    will-change: width, opacity;
}

.research-flow--en .research-flow__overlay {
    letter-spacing: 0.07em;
}

.research-flow--cn {
    font-family: 'Courier New', 'Noto Sans SC', monospace;
    letter-spacing: 0.12em;
}

.research-flow--cn .research-flow__overlay {
    font-family: 'Courier New', 'Noto Sans SC', monospace;
    letter-spacing: 0.12em;
}

.work-item--research:hover .research-flow__base,
.work-item--research:focus-visible .research-flow__base {
    opacity: 0.14;
}

.work-item--research:hover .research-flow__overlay,
.work-item--research:focus-visible .research-flow__overlay {
    opacity: 1;
    animation: research-cursor-blink 0.58s step-end infinite;
}

.work-item--research:hover .research-flow--en .research-flow__overlay,
.work-item--research:focus-visible .research-flow--en .research-flow__overlay {
    animation:
        research-type-and-delete-en 3.8s steps(11, end) infinite,
        research-cursor-blink 0.58s step-end infinite;
}

.work-item--research:hover .research-flow--cn .research-flow__overlay,
.work-item--research:focus-visible .research-flow--cn .research-flow__overlay {
    animation:
        research-type-and-delete-cn 3.2s steps(7, end) infinite,
        research-cursor-blink 0.58s step-end infinite;
}

@keyframes research-cursor-blink {
    50% {
        border-right-color: transparent;
    }
}

@keyframes research-type-and-delete-en {
    0%,
    10% {
        width: 0;
    }
    45%,
    55% {
        width: 12.6ch;
    }
    90%,
    100% {
        width: 0;
    }
}

@keyframes research-type-and-delete-cn {
    0%,
    10% {
        width: 0;
    }
    45%,
    55% {
        width: 7.9em;
    }
    90%,
    100% {
        width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .research-flow__base,
    .research-flow__overlay {
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }

    .work-item--research:hover .research-flow__base,
    .work-item--research:focus-visible .research-flow__base {
        opacity: 1;
    }

    .work-item--research:hover .research-flow__overlay,
    .work-item--research:focus-visible .research-flow__overlay {
        opacity: 0;
        width: 0;
        border-right-color: transparent;
    }
}

/* Grid section — hidden when empty */
.vc-grid-section {
    padding: 0 60px 120px;
}

.vc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 8px;
    row-gap: 22px;
}

.vc-grid:empty {
    display: none;
}

.vc-page--experimental .hero-bio {
    max-width: 46ch;
    font-size: 18px;
    line-height: 1.72;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
}

.vc-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.vc-card:hover {
    opacity: 0.75;
}

.vc-card-media {
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
}

.vc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.vc-card:hover .vc-card-media img {
    transform: scale(1.04);
}

/* Live iframe preview thumbnail */
.vc-card-media--live {
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.vc-card-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    display: block;
}

.vc-card:hover .vc-card-media--live {
    opacity: 0.85;
}

/* overlay 防止 iframe 拦截点击 */
.vc-card-media--live::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}

.vc-card-info {
    padding: 14px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vc-card-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}

.vc-card-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.exp-card {
    cursor: default;
}

.exp-card:hover {
    opacity: 1;
}

.exp-card .vc-card-media {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.08), transparent 24%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.exp-card .vc-card-title {
    white-space: nowrap;
}

.exp-card-index {
    font-family: 'Share Tech Mono', 'Courier New', Courier, monospace;
    font-size: 14px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.28);
}

.exp-card-state {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
}

.exp-card-note {
    display: block;
    max-width: 18ch;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 22px;
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.92);
}

.exp-card[href]:hover .exp-card-note,
.exp-card[href]:focus-visible .exp-card-note {
    transform: translateY(-1px);
    transition: transform 0.25s ease;
}

.exp-detail-page {
    --exp-detail-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', 'Times New Roman', serif;
    padding-top: var(--header-height);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.exp-detail-hero {
    padding: 48px 60px 28px;
}

.exp-detail-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.exp-detail-back {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.005em;
    color: rgba(255, 255, 255, 0.58);
}

.exp-detail-back:hover,
.exp-detail-back:focus-visible {
    color: rgba(255, 255, 255, 0.9);
}

.exp-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-family: 'Share Tech Mono', 'Courier New', Courier, monospace;
    font-size: 11px;
    letter-spacing: 0.11em;
    color: rgba(255, 255, 255, 0.36);
    text-transform: uppercase;
}

.exp-detail-kicker::before {
    content: '';
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.exp-detail-title {
    max-width: 100%;
    white-space: nowrap;
    font-family: var(--exp-detail-serif);
    font-size: clamp(34px, 5.2vw, 72px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 0.98;
    color: var(--text);
    margin-bottom: 18px;
}

.exp-detail-subtitle {
    width: min(1016px, 100%);
    max-width: 100%;
    margin-left: 0;
    font-family: var(--exp-detail-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.76);
}

.exp-detail-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    margin-left: 256px;
    flex-wrap: wrap;
}

.exp-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
        rgba(10, 10, 10, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 30px rgba(0, 0, 0, 0.22);
    font-family: 'Share Tech Mono', 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.96);
    transition: color 0.24s ease, transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.exp-detail-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 62%, transparent 100%);
    transform: translateX(-140%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: -1;
}

.exp-detail-link::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 11px;
    bottom: 11px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
    opacity: 0.7;
    transition: opacity 0.24s ease, background 0.24s ease;
}

.exp-detail-link:hover,
.exp-detail-link:focus-visible {
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
        rgba(12, 12, 12, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.34);
    transform: translateY(-2px);
}

.exp-detail-link:hover::before,
.exp-detail-link:focus-visible::before {
    transform: translateX(140%);
}

.exp-detail-link:hover::after,
.exp-detail-link:focus-visible::after {
    opacity: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06));
}

.exp-detail-link--demo {
    border-color: rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.036)),
        rgba(14, 14, 14, 0.9);
}

.exp-detail-link--demo::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05));
}

.exp-detail-link__arrow {
    font-size: 15px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.24s ease;
}

.exp-detail-link:hover .exp-detail-link__arrow,
.exp-detail-link:focus-visible .exp-detail-link__arrow {
    transform: translate(4px, -2px);
}

.exp-detail-body {
    padding: 12px 60px 120px;
}

.exp-detail-grid {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 760px);
    gap: 28px 36px;
}

.exp-detail-label {
    padding-top: 6px;
    font-family: var(--exp-detail-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.exp-detail-content p {
    margin: 0 0 22px;
    font-family: var(--exp-detail-serif);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.94;
    color: rgba(255, 255, 255, 0.84);
}

.exp-detail-content p:last-child {
    margin-bottom: 0;
}

.exp-detail-figure {
    margin: 56px 0 0;
    margin-left: 256px;
    max-width: 760px;
}

.exp-detail-figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

@media (max-width: 900px) {
    .exp-detail-hero {
        padding: 40px 20px 24px;
    }

    .exp-detail-meta {
        gap: 12px;
        margin-bottom: 22px;
    }

    .exp-detail-back {
        font-size: 11px;
    }

    .exp-detail-kicker {
        font-size: 10px;
        letter-spacing: 0.09em;
    }

    .exp-detail-body {
        padding: 0 20px 96px;
    }

    .exp-detail-subtitle {
        width: auto;
        max-width: 100%;
        margin-left: 0;
    }

    .exp-detail-actions {
        margin-left: 0;
        gap: 12px;
    }

    .exp-detail-link {
        width: auto;
    }

    .exp-detail-grid {
        grid-template-columns: 1fr;
        gap: 10px 0;
    }

    .exp-detail-label {
        padding-top: 0;
    }

    .exp-detail-figure {
        margin-top: 40px;
        padding-left: 0;
    }
}

/* ==================== RESEARCH LIST ==================== */
.research-list {
    padding: 0 60px 120px;
}

.research-item {
    display: block;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.research-item:hover {
    opacity: 0.7;
}

.research-item--static {
    cursor: default;
}

.research-item--static:hover {
    opacity: 1;
}

.research-item:first-child {
    padding-top: 0;
}

.research-item:last-child {
    border-bottom: none;
}

.research-item-header {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.research-item-year {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.research-item-venue {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.01em;
}

.research-item-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 12px;
}

.research-item-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 720px;
}

/* Responsive */
@media (max-width: 768px) {
    .vc-hero {
        padding: 32px 20px 28px;
    }

    .vc-grid-section {
        padding: 0 20px 80px;
    }

    .vc-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 8px;
        row-gap: 18px;
    }

    .vc-page--experimental .hero-bio {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.76;
        font-weight: 300;
    }

    .research-list {
        padding: 0 20px 80px;
    }

    .research-item-title {
        font-size: 18px;
    }

    .research-item-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .vc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }
}
