@font-face {
    font-family: 'Six Caps';
    src: url('../fonts/SixCaps-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Typography */
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;

    /* Theme Colors (Default: Dark) */
    --bg-color: #050505;
    --bg-inverted: #ffffff;
    --text-white: #ffffff;
    --text-gray: #888888;
    --text-dark: #333333;
    --point-red: #FF4800;
    --border-color: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --spacing-section: 100px;
    --spacing-item: 10px;

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Light Theme Override */
body.light-theme {
    --bg-color: #ffffff;
    --bg-inverted: #050505;
    --text-white: #111111;
    --text-gray: #666666;
    --text-dark: #eeeeee;
    --border-color: rgba(0, 0, 0, 0.1);
}

/* ==========================================
   2. Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--point-red);
    color: #fff;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-white);
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--text-white);
}

ul {
    list-style: none;
}

/* ==========================================
   3. Fixed UI Elements
   ========================================== */

/* Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Changed from 100vw to avoid scrollbar overflow */
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Language Toggle */
.lang-switch {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    mix-blend-mode: difference;
}

.globe-icon {
    width: 18px;
    height: 18px;
    fill: #fff;
    opacity: 0.8;
}

.lang-btn {
    background: none;
    border: none;
    color: #999;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-normal);
}

.lang-btn.active {
    color: #fff;
    font-weight: 700;
}

.divider {
    color: #333;
    font-size: 10px;
}

/* Social Links */
.social-links {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    mix-blend-mode: difference;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: #999;
    transition: all var(--transition-normal);
    display: block;
}

.social-icon:hover {
    fill: #fff;
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    background: none;
    border: 1px solid var(--text-gray);
    color: var(--text-gray);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition-normal);
    mix-blend-mode: difference;
}

.theme-toggle:hover {
    border-color: var(--text-white);
    color: var(--text-white);
}

/* ==========================================
   4. Language Visibility
   ========================================== */
[data-lang="ko"] .en,
[data-lang="ko"] .cn,
[data-lang="en"] .ko,
[data-lang="en"] .cn,
[data-lang="cn"] .ko,
[data-lang="cn"] .en {
    display: none !important;
}

/* ==========================================
   5. Layout
   ========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Main Content Wrapper (Slides over Hero) */
#main-content {
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
    transition: background-color var(--transition-slow);
}

/* ==========================================
   6. Components
   ========================================== */

/* Red Badge */
.red-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--point-red);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    padding: 2px 10px;
    height: 24px;
    vertical-align: middle;
    margin-left: 12px;
    margin-right: 20px;
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(255, 72, 0, 0.4);
}

.red-badge.large {
    height: 36px;
    border-radius: 18px;
    font-size: 20px;
    padding: 0 16px;
    margin-left: 20px;
    transform: translateY(-4px);
}

/* ==========================================
   7. Hero Section
   ========================================== */
.hero-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 5;
    will-change: transform, opacity;
    transform-origin: center center;
    /* Base style: Dark */
    background-color: #050505;
    color: #ffffff;
    transition: background-color var(--transition-fast);
}

/* Ensure Hero ignores Light Theme via specificity */
body.light-theme .hero-section {
    background-color: #050505;
    color: #ffffff;
}

body.light-theme .hero-section h1.main-title,
body.light-theme .hero-section .clock-number,
body.light-theme .hero-section .manifesto-text,
body.light-theme .hero-section .career-timer,
body.light-theme .hero-section .scroll-indicator {
    color: #ffffff;
}

body.light-theme .hero-section .scroll-arrow svg path {
    stroke: #ffffff;
}

body.light-theme .hero-section .clock-hand,
body.light-theme .hero-section .clock-center {
    background: #ffffff;
}

/* Hero Inverted State (Blink Effect) - Should work in both themes */
.hero-section.hero-inverted {
    background-color: #ffffff !important;
}

.hero-section.hero-inverted h1.main-title,
.hero-section.hero-inverted .clock-number,
.hero-section.hero-inverted .manifesto-text,
.hero-section.hero-inverted .career-timer,
.hero-section.hero-inverted .scroll-indicator {
    color: #050505 !important;
}

.hero-section.hero-inverted .clock-hand,
.hero-section.hero-inverted .clock-center {
    background: #050505 !important;
}

.hero-section.hero-inverted .scroll-arrow svg path {
    stroke: #050505 !important;
}

.hero-section.hero-inverted .clock-second {
    background: var(--point-red) !important;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1.main-title {
    font-size: 15vw;
    font-weight: 800;
    color: #ffffff;
    line-height: 0.75;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: center;
    opacity: 1;
    margin: 0;
    transition: color var(--transition-fast);
    will-change: transform, opacity;
}

/* Career Timer */
.career-timer {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: var(--font-main);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    transition: color var(--transition-fast);
    z-index: 20;
}

.relevance-message {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--point-red);
    min-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0.9;
    max-width: 80vw;
}

.timer-numbers {
    display: flex;
    gap: 0;
    font-size: 24px;
    font-family: 'Six Caps', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.career-timer span {
    opacity: 0.8;
}

.career-timer .timer-ms {
    margin-left: 0;
    opacity: 0.8;
}

/* Clock Face */
.hero-clockface {
    position: absolute;
    width: 100%;
    height: 100%;
}

.clockface-numbers {
    position: relative;
    width: 100%;
    height: 100%;
}

.clock-number {
    position: absolute;
    left: 50%;
    top: 50%;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

/* Clock Hands */
.clock-hands {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.clock-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    background: #ffffff;
    border-radius: 4px;
}

.clock-hour {
    width: 4px;
    height: 15vh;
    margin-left: -2px;
}

.clock-minute {
    width: 3px;
    height: 22vh;
    margin-left: -1.5px;
}

.clock-second {
    width: 2px;
    height: 24.3vh;
    margin-left: -1px;
    background: var(--point-red);
    transition: none;
}

.clock-second::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--point-red);
    border-radius: 50%;
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 2;
}

/* Manifesto */
.hero-manifesto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.manifesto-text {
    font-size: min(10vw, 220px);
    font-weight: 800;
    color: #ffffff;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: center;
    word-break: keep-all;
    transition: color var(--transition-fast);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    opacity: 0.6;
    transition: opacity var(--transition-normal);
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ==========================================
   8. Info Header
   ========================================== */
.info-header {
    padding-top: 80px;
    padding-bottom: 60px;
}

.role-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid #222;
    padding-top: 30px;
}

.role {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-white);
    line-height: 1.4;
}

.exp-years {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 16px;
    font-size: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px 60px;
    font-size: 14px;
    text-align: right;
}

.contact-label {
    display: block;
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

/* ==========================================
   9. Skill Section
   ========================================== */
.skill-section {
    padding: 60px 0;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    margin-bottom: 80px;
    display: block;
    position: relative;
    overflow: hidden;
}

.skill-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.02) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;
}

.display-text {
    font-size: 11vw;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    word-break: break-all;
    margin-bottom: 24px;
    will-change: transform;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    cursor: default;
}

.skill-text {
    font-size: 4vw;
    font-weight: 700;
    color: var(--text-white);
    text-transform: lowercase;
    letter-spacing: -0.05em;
    line-height: 1;
    font-family: var(--font-main);
    display: block;
    text-align: left;
}

/* ==========================================
   10. Timeline & Sections
   ========================================== */
section {
    margin-bottom: var(--spacing-section);
}

.section-header {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
}

h2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Full Width Title (Hybrid: Six Caps + Scale) */
.full-width-title {
    font-family: 'Six Caps', sans-serif;
    font-size: min(21.5vw, 280px);
    /* Limit max size to prevent overflow */
    font-weight: 400;
    line-height: 0.85;
    text-transform: uppercase;
    text-align: left;
    width: 100%;
    margin: 20vh 0;
    /* Increased margin to prevent overlap */
    padding: 20px 0;
    /* transform: scaleY(1); Removed: Controlled by JS on spans */
    transform-origin: center center;
    color: var(--text-white);
    display: block;
    white-space: nowrap;
    letter-spacing: normal;
    overflow: visible;
    will-change: transform;
    transition: color var(--transition-slow);
    /* Color transition for theme toggle */
    /* Performance optimization */
}

.timeline-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    margin-bottom: 16px;
    align-items: baseline;
    border-bottom: 1px solid #111;
    padding-bottom: 16px;
    transition: border-color var(--transition-normal);
}

.timeline-row:hover {
    border-color: #333;
}

.timeline-row:last-child {
    border-bottom: none;
}

.year-col {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

.content-col h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.content-col ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.content-col li {
    position: relative;
    color: #888;
    font-weight: 300;
    font-size: 15px;
    transition: all 0.2s;
    padding-left: 0;
}

.content-col li::before {
    content: "-";
    margin-right: 8px;
    color: #444;
}

.content-col li:hover {
    color: var(--text-white);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.sub-date {
    display: inline-block;
    width: 50px;
    font-variant-numeric: tabular-nums;
    color: #555;
    font-size: 0.9em;
    font-weight: 500;
}

/* ==========================================
   11. Film Strip
   ========================================== */
.lectures-film-strip {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 60px;
    margin-bottom: 80px;
    overflow: hidden;
    height: 45vh;
}

.film-strip-inner {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    will-change: transform;
    height: 100%;
    width: max-content;
    /* Ensure container expands for scrolling */
}

.film-strip-inner img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.7);
    transition: filter var(--transition-slow), opacity var(--transition-slow);
    flex-shrink: 0;
}

.film-strip-inner img:hover {
    filter: grayscale(0) opacity(1);
}

/* ==========================================
   12. Animations
   ========================================== */
.scramble-scroll {
    opacity: 0;
}

.scramble-scroll.scrambled-done {
    opacity: 1;
    transition: opacity var(--transition-normal);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(12px);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Scramble Helper */
.dud {
    color: #444;
    opacity: 0.7;
}

/* Global Transitions for Theme Change */
h1,
h2,
h3,
.role,
.skill-text,
.footer-logo,
.contact-value,
.content-col li,
.timeline-row,
.lang-btn,
.social-icon path {
    transition: color var(--transition-slow), border-color var(--transition-slow), fill var(--transition-slow);
}

/* ==========================================
   13. Footer
   ========================================== */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 60px;
    transition: border-color var(--transition-slow);
}

.footer-logo {
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.copyright {
    font-size: 12px;
    color: var(--text-gray);
}

/* ==========================================
   14. Responsive - Tablet (1024px)
   ========================================== */
@media (max-width: 1024px) {
    h1.main-title {
        font-size: 12vw;
    }

    .container {
        padding: 0 32px;
    }

    .timeline-row {
        grid-template-columns: 140px 1fr;
    }

    .contact-grid {
        gap: 16px 40px;
    }

    .skill-text {
        font-size: 5vw;
    }
}

/* ==========================================
   15. Responsive - Mobile (768px)
   ========================================== */
@media (max-width: 768px) {
    h1.main-title {
        font-size: 11vw;
        /* Reduced from 14vw */
        line-height: 0.9;
        word-break: break-word;
    }

    .role-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact-grid {
        text-align: left;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 30px;
    }

    .container {
        padding: 0 24px;
    }

    header {
        padding-top: 140px;
    }

    .lang-switch {
        top: 25px;
        left: 24px;
    }

    .career-timer {
        left: 0;
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
        padding: 0 10px;
        top: 65px;
        font-size: 12px;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .social-links {
        top: 25px;
        right: 24px;
    }

    .skill-section {
        padding: 40px 0;
    }

    .skill-text {
        font-size: 8vw;
    }

    .manifesto-text {
        font-size: 8vw;
        line-height: 0.9;
        padding: 0 10px;
    }
}

/* ==========================================
   16. Responsive - Small Mobile (480px)
   ========================================== */
@media (max-width: 480px) {
    h1.main-title {
        font-size: 14vw;
        margin-bottom: 40px;
    }

    .container {
        padding: 0 16px;
    }

    header {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .role {
        font-size: 18px;
    }

    .contact-label {
        font-size: 10px;
    }

    .contact-grid {
        gap: 16px;
    }

    .content-col h3 {
        font-size: 16px;
    }

    .content-col li {
        font-size: 13px;
    }

    .year-col {
        font-size: 14px;
    }

    .skill-text {
        font-size: 10vw;
    }

    .lang-switch {
        top: 16px;
        left: 16px;
        gap: 8px;
    }

    .career-timer {
        left: 50%;
        transform: translateX(-50%);
        top: 55px;
        font-size: 11px;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .social-links {
        top: 16px;
        right: 16px;
    }

    .theme-toggle {
        bottom: 20px;
        right: 20px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .red-badge {
        font-size: 11px;
        padding: 2px 8px;
        height: 20px;
    }

    .red-badge.large {
        font-size: 16px;
        height: 28px;
    }

    section {
        margin-bottom: 100px;
    }

    footer {
        flex-direction: column;
        gap: 16px;
        text-align: left;
        padding: 40px 16px;
    }

    .manifesto-text {
        font-size: 14vw;
        line-height: 0.9;
    }
}

/* ==========================================
   17. Responsive - Large Desktop (1920px+)
   ========================================== */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    h1.main-title {
        font-size: 8vw;
    }

    .role {
        font-size: 26px;
    }

    .skill-text {
        font-size: 3.5vw;
    }

    .content-col h3 {
        font-size: 20px;
    }

    .content-col li {
        font-size: 16px;
    }

    .timeline-row {
        grid-template-columns: 200px 1fr;
    }

    header {
        padding-top: 260px;
        padding-bottom: 120px;
    }
}

/* Floating Badge for Titles */
.floating-badge {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff4d00;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.3em 0.8em;
    border-radius: 999px;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Vibecoding Gallery - Interactive Grid */
.vibecoding-gallery {
    display: grid;
    /* Mobile: 2 columns */
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
    margin-top: 10vh;
    margin-bottom: 20vh;
    padding: 0 4vw;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .vibecoding-gallery {
        /* PC: 4 columns */
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5vw;
    }
}

/* Gallery Item Structure Update */
.gallery-item {
    display: block;
    position: relative;
    text-decoration: none;
    transform: translateY(var(--parallax-y, 0));
    will-change: transform;
    transition: transform 0.1s linear, filter 0.5s ease, opacity 0.5s ease;
}

/* Image Wrapper */
.thumb-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 8 / 11;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    margin-bottom: 15px;
    /* Spacing for text */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Meta Info (Below Image) */
.meta-info {
    text-align: left;
    padding: 0 4px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.meta-info h3 {
    font-family: 'Six Caps', sans-serif;
    font-size: 2.8rem;
    /* Large Title */
    font-weight: 400;
    margin: 0;
    line-height: 0.9;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.meta-info p {
    font-family: 'Helvetica', sans-serif;
    font-size: 0.85rem;
    color: #999;
    margin-top: 10px;
    line-height: 1.4;
    font-weight: 300;
    /* Limit lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover Interactions */
.vibecoding-gallery:hover .gallery-item {
    opacity: 0.4;
    filter: grayscale(100%);
    transform: scale(0.98) translateY(var(--parallax-y, 0));
}

.vibecoding-gallery .gallery-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.02) translateY(var(--parallax-y, 0));
    z-index: 10;
}

.gallery-item:hover .thumb-wrapper {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .meta-info {
    opacity: 1;
}

.gallery-item:hover .meta-info h3 {
    color: #ff4d00;
}

/* Career Monument (The Cinematic Wall) */
.career-monument.reveal-section {
    opacity: 0;
    transform: translateY(15vh);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s ease;
    will-change: transform, opacity;
}

.career-monument.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

.career-monument {
    position: relative;
    padding: 5vh 4vw;
    background-color: transparent;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.monument-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.monument-timer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.monument-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    mix-blend-mode: difference;
    margin-bottom: 0;
}

.monument-header .relevance-message {
    font-size: 11px;
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3em;
}

.career-monument .timer-row {
    color: #fff;
}

.timer-row {
    font-family: 'Six Caps', sans-serif;
    text-transform: uppercase;
    color: inherit;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 0;
    will-change: transform;
    line-height: 1;
    width: auto;
}

.timer-row .highlight {
    color: inherit;
}

.timer-row .timer-ms {
    font-size: 1em;
    opacity: 1;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .career-monument {
        padding: 15vh 4vw;
    }

    .monument-header .relevance-message {
        font-size: 9px;
        max-width: 90vw;
    }

    .career-monument .timer-row {
        font-size: 15vw;
        /* Reduced from 25vw to prevent explosion */
        flex-wrap: wrap;
        justify-content: center;
        gap: 1vw;
        line-height: 1.1;
    }
}

/* ==========================================
   16. Intro Loading Sequence
   ========================================== */




/* Light Theme overrides */
.light-theme .career-monument {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.light-theme .career-monument .timer-row {
    color: var(--text-white);
}

.light-theme .timer-row .highlight {
    color: #ff4d00;
}