
@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}


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

:root {
    --bg: #0a0a0b;
    --bg-elevated: #0e0e10;
    --bg-card: #111113;
    --bg-card-hover: #161618;
    --text-primary: #f0ece5;
    --text-secondary: #b0a99e;
    --text-muted: #5c5650;
    --accent: #c9a87c;
    --accent-light: #dcc4a4;
    --accent-dim: rgba(201, 168, 124, 0.08);
    --accent-glow: rgba(201, 168, 124, 0.04);
    --border: rgba(240, 236, 229, 0.06);
    --border-hover: rgba(201, 168, 124, 0.3);
    --font-display: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0, 1);
    --nav-h: 76px;
}

html, body {
    scroll-behavior: smooth;
    overflow: hidden;
    height: 100%;
}

body.tab-scrollable {
    overflow: auto;
}

body.tab-scrollable .fullpage-wrapper {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-size: 15px;
}


/* ================================
   THREE.JS TERRAIN CANVAS
   ================================ */
#terrainCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, black 40%, transparent 100%);
}

@media (max-width: 768px) {
    #terrainCanvas {
        opacity: 0.5;
        -webkit-mask-image: radial-gradient(ellipse 100% 90% at 50% 50%, black 30%, transparent 100%);
        mask-image: radial-gradient(ellipse 100% 90% at 50% 50%, black 30%, transparent 100%);
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    #terrainCanvas {
        -webkit-mask-image: radial-gradient(ellipse 100% 85% at 50% 45%, black 25%, transparent 100%);
        mask-image: radial-gradient(ellipse 100% 85% at 50% 45%, black 25%, transparent 100%);
    }
}


::selection {
    background: rgba(201, 168, 124, 0.25);
    color: var(--text-primary);
}

/* ================================
   NAVIGATION
   ================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
}



.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

.nav-tabs {
    display: flex;
    gap: 2px;
    opacity: 0;
    animation: slideIn 1s var(--ease-out) 0.4s forwards;
}

.nav-tab {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.5s var(--ease-out);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.nav-tab::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 1px;
    background: var(--accent);
    transition: transform 0.5s var(--ease-out);
}

.nav-tab:hover { color: var(--text-secondary); }

.nav-tab.active {
    color: var(--accent-light);
    font-weight: 500;
}

.nav-tab.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Language switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    animation: slideIn 1s var(--ease-out) 0.4s forwards;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    letter-spacing: 0.5px;
    opacity: 0.6;
}

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

.lang-btn.active {
    color: var(--accent-light);
    opacity: 1;
    font-weight: 500;
}

/* ================================
   LAYOUT
   ================================ */
.container {
    position: relative;
    z-index: 1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ================================
   LEFT SIDE INDEX / NAVIGATION
   ================================ */
.project-index {
    position: fixed;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
}

.index-track {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.index-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    padding-left: 0;
}

.index-item {
    display: flex;
    align-items: center;
    gap: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px 10px 20px;
    border-radius: 2px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    text-align: left;
}

.index-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0;
    background: var(--accent);
    transition: height 0.5s var(--ease-out);
}

.index-marker {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.index-num {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    transition: all 0.5s var(--ease-out);
    letter-spacing: 0.5px;
}

.index-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all 0.5s var(--ease-out);
    opacity: 0.6;
    transform: translateX(0);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover state */
.index-item:hover {
    background: rgba(201, 168, 124, 0.03);
}

.index-item:hover .index-label {
    color: var(--text-secondary);
    opacity: 1;
}

.index-item:hover .index-num {
    color: var(--text-secondary);
}

/* Active state — enlarged & highlighted */
.index-item.active {
    background: rgba(201, 168, 124, 0.06);
    padding: 14px 20px 14px 24px;
    transform: scale(1.08);
    transform-origin: left center;
}

.index-item.active::before {
    height: 60%;
    box-shadow: 0 0 8px rgba(201, 168, 124, 0.3);
}

.index-item.active .index-num {
    color: var(--accent);
    font-weight: 500;
}

.index-item.active .index-label {
    color: var(--accent-light);
    opacity: 1;
    font-weight: 500;
}

/* ================================
   FULLPAGE SECTIONS
   ================================ */
.fullpage-wrapper {
    padding-top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.fullpage-section {
    height: calc(100vh - var(--nav-h));
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.project-section {
    align-items: stretch;
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    padding: 0 120px;
    align-items: flex-start;
}

.hero-section .section-inner {
    max-width: 760px;
    margin-right: auto;
    margin-left: 240px;
}

.hero-statement {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 2.0;
    margin-bottom: 24px;
    max-width: 560px;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.7s forwards;
}

.hero-statement-cn {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
    animation-delay: 0.9s;
}

.header-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeUp 0.9s var(--ease-out) 0.3s forwards;
}

.header-label::before {
    display: none;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 200;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 36px;
    color: var(--text-primary);
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.header-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.9;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================
   SCROLL HINT
   ================================ */
.scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: hintPulse 2.5s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.scroll-hint-text {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.scroll-hint-line {
    width: 1px;
    height: 48px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-hint-dot {
    position: absolute;
    top: -8px;
    left: -1px;
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDot 2s var(--ease-smooth) infinite;
}

@keyframes scrollDot {
    0% { top: -8px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

/* ================================
   PROJECT FULLPAGE CARD
   ================================ */
.project-full {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    padding: 0;
    transition: all 0.7s var(--ease-out);
    overflow: hidden;
}

.project-full::before {
    display: none;
}

.project-full:hover .project-num-large {
    color: var(--text-primary);
    opacity: 1;
}

.project-full:hover .cta-arrow {
    transform: translateX(8px);
}

.project-full:hover .project-cta {
    color: var(--text-primary);
}

/* Number — left side */
.project-num-large {
    font-family: var(--font-body);
    font-size: clamp(100px, 12vw, 160px);
    font-weight: 100;
    overflow: visible;
    color: var(--accent);
    line-height: 1;
    transition: all 0.8s var(--ease-out);
    position: absolute;
    left: calc(40% - 160px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Content area — right side */
.project-full-content {
    position: relative;
    z-index: 2;
    margin-left: auto;
    margin-right: 200px;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 740px;
    width: 60%;
}

.project-question {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.3px;
    margin-bottom: 28px;
    white-space: nowrap;
}

.project-name {
    font-size: 12px;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.project-solution {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 48px;
    max-width: 520px;
}

.project-cta {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.4s var(--ease-out);
    align-self: flex-start;
    padding: 14px 0;
}

.cta-arrow {
    display: inline-block;
    transition: transform 0.4s var(--ease-out);
}

/* Decorative line on left of content area */
.project-full-content::before {
    display: none;
}

/* Section in-view animation */
.project-section .project-full-content {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s var(--ease-out) 0.2s, transform 1s var(--ease-out) 0.2s;
}

.project-section .project-num-large {
    opacity: 0;
    transition: opacity 1.2s var(--ease-out), transform 0.8s var(--ease-out), color 0.8s var(--ease-out);
}

.project-section.in-view .project-full-content {
    opacity: 1;
    transform: translateX(0);
}

.project-section.in-view .project-num-large {
    opacity: 1;
}

.hero-section {
    opacity: 1;
}

/* ================================
   PAGE HEADER (for non-project tabs)
   ================================ */
.page-header {
    padding: calc(var(--nav-h) + 80px) 80px 80px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 60px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-header::after {
    display: none;
}

/* ================================
   TAB 2: EXPERIENCE
   ================================ */
.exp-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 80px 140px;
    max-width: 1200px;
    margin: 0 auto;
}

.exp-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.6s var(--ease-out);
    position: relative;
}


.exp-card:last-child {
    border-bottom: none;
}

.exp-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--accent);
    transition: height 0.5s var(--ease-out);
}

.exp-card:hover {
    padding-left: 24px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, transparent 60%);
}

.exp-card:hover::before {
    height: 100%;
}

.exp-card:hover .exp-card-role {
    color: #ffffff;
}

.exp-card:hover .project-arrow {
    opacity: 1;
    transform: translateX(0);
}

.exp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.exp-card-role {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.exp-card-company {
    font-size: 12px;
    color: var(--accent);
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.exp-card-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.exp-card-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.project-arrow {
    font-size: 18px;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.5s var(--ease-out);
}

.exp-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 12px;
    max-width: 560px;
}

.exp-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-card-tags span {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 7px 14px 7px 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.4s var(--ease-out);
}

.exp-card:hover .exp-card-tags span {
    color: var(--accent-light);
}

/* ================================
   TAB 3: ABOUT
   ================================ */
.about-header {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 60px;
    text-align: left;
}

.about-header::after {
    display: none;
}

.about-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 0 80px 140px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid .about-section:last-child {
    grid-column: 1 / -1;
}

.about-section {
    padding: 52px 56px 52px 0;
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.about-section-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-section-title::after {
    display: none;
}

.about-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-row {
    display: flex;
    align-items: baseline;
    gap: 0;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 400;
}

.contact-label {
    font-size: 11px;
    color: var(--text-secondary);
    width: 88px;
    flex-shrink: 0;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-row a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.contact-row a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

.contact-row a:hover {
    color: var(--accent-light);
}

.contact-row a:hover::after {
    width: 100%;
}

.edu-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edu-school {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.edu-degree {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 300;
}

.edu-detail {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 4px;
}

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

.skill-tag {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 8px 16px 8px 0;
    font-weight: 400;
    transition: all 0.4s var(--ease-out);
    letter-spacing: 0.5px;
    cursor: default;
}

.skill-tag:hover {
    color: var(--accent-light);
}

/* ================================
   ANIMATIONS
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



/* ================================
   SCROLLBAR
   ================================ */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 124, 0.15);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 124, 0.3);
}

/* ================================
   RESPONSIVE
   ================================ */

/* Large tablets & small laptops (1024-1100px, e.g. iPad landscape) */
@media (max-width: 1100px) {
    .project-index {
        display: none;
    }
    .project-full-content {
        margin-left: auto;
        margin-right: 48px;
        padding: 60px 0;
        max-width: 600px;
        width: 65%;
    }
    .project-full-content::before {
        display: none;
    }
    .project-num-large {
        left: 48px;
        font-size: 120px;
        opacity: 0.2;
    }
    .hero-section {
        padding: 0 60px;
    }
    .hero-section .section-inner {
        margin-left: 60px;
    }
    .nav-inner {
        padding: 0 40px;
    }
}

/* Tablets portrait & small screens (768-900px) */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-grid .about-section:last-child {
        grid-column: auto;
    }
    .project-full-content {
        margin-right: 32px;
        width: 70%;
        max-width: 500px;
    }
    .project-num-large {
        left: 32px;
        font-size: 100px;
        opacity: 0.18;
    }
    .exp-card-role {
        font-size: 22px;
    }
    .page-header {
        padding: calc(var(--nav-h) + 60px) 40px 60px;
    }
    .page-header::after {
        left: 40px;
    }
    .exp-list {
        padding: 0 40px 120px;
    }
    .about-grid {
        padding: 0 40px 120px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }

    .nav-inner { padding: 0 16px; height: 64px; }
    .nav-tabs { flex: 1; }
    .nav-tab { padding: 8px 14px; font-size: 10px; letter-spacing: 0.8px; }
    .lang-switch { flex-shrink: 0; }
    .lang-btn { padding: 5px 8px; font-size: 10px; }

    .fullpage-wrapper {
        padding-top: var(--nav-h);
        height: calc(100vh - var(--nav-h));
    }

    .fullpage-section {
        height: calc(100vh - var(--nav-h));
        min-height: calc(100vh - var(--nav-h));
    }

    .hero-section {
        padding: 0 24px;
    }

    .hero-section .section-inner {
        max-width: 100%;
        margin-left: 0;
    }

    .project-full {
        align-items: flex-end;
        padding-bottom: 80px;
    }

    .project-full-content {
        padding: 0 24px;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .project-full-content::before {
        display: none;
    }

    .project-num-large {
        left: 24px;
        top: 80px;
        bottom: auto;
        transform: none;
        font-size: 72px;
        opacity: 0.06 !important;
    }

    .project-question { font-size: 22px; line-height: 1.35; white-space: normal; }
    .project-solution { font-size: 14px; line-height: 1.9; margin-bottom: 32px; }
    .project-name { font-size: 9px; letter-spacing: 2px; }

    .hero-title { font-size: 44px; }
    .hero-statement { font-size: 14px; max-width: 100%; }
    .hero-statement-cn { font-size: 13px; }
    .header-label { font-size: 9px; letter-spacing: 2px; }
    .header-label::before { display: none; }

    .page-header { padding: calc(64px + 36px) 24px 36px; }
    .page-header::after { left: 24px; }
    .exp-list { padding: 0 24px 100px; }
    .exp-card { padding: 32px 0; }
    .exp-card:hover { padding-left: 0; }
    .exp-card::before { left: -12px; }
    .exp-card-header { flex-direction: column; gap: 8px; }
    .exp-card-right { order: -1; }
    .exp-card-role { font-size: 20px; }
    .about-grid { padding: 0 24px 100px; }
    .about-section { padding: 28px 24px; }
    .edu-school { font-size: 22px; }
    .cursor-glow { display: none; }
    .project-index { display: none; }
    .scroll-hint { bottom: 24px; }
    .contact-row { flex-direction: column; gap: 4px; }
    .contact-label { width: auto; }
}

/* Small mobile (< 390px, e.g. iPhone SE) */
@media (max-width: 390px) {
    .hero-title { font-size: 36px; }
    .project-question { font-size: 19px; }
    .project-num-large { font-size: 56px; }
    .nav-tab { padding: 8px 16px; font-size: 10px; }
    .about-section { padding: 24px 20px; }
    .skill-tag { padding: 9px 14px; font-size: 10px; }
}
