.hidden {
            display: none;
        }

                

        
        .password-input-wrapper {
            position: relative;
            width: 100%;
        }

        #portfolio-contact-form textarea[readonly] {
            /* --- NEW: Centering Properties --- */
            display: grid;
            place-items: center;
            text-align: center;

            /* --- Styling Properties (updated) --- */
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1); /* NOTE: Removed the specific left-border */
            color: var(--text-muted, #cccccc);
            font-style: italic;
            cursor: default;
            resize: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            outline: none;
            padding: 10px; /* Adjusted padding for centering */
        }

        /* Ensure no focus effects apply that suggest it's editable */
        #portfolio-contact-form textarea[readonly]:focus {
            outline: none;
            box-shadow: none;
            border-color: rgba(255, 255, 255, 0.1);
        }



        
        #password-input {
            padding-right: 50px; 
        }

        
        #toggle-password-visibility {
            position: absolute;
            top: 60%;
            right: 15px;
            transform: translateY(-50%);
            cursor: pointer;
        }

        #toggle-password-visibility:hover svg {
            stroke: var(--text-light);
        }
        
        #toggle-password-visibility svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-muted);
            transition: stroke 0.3s ease;
        }

        #caps-lock-indicator {
            position: absolute;
            top: 50%;
            right: 50px; 
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            gap: 8px; 
            color: var(--text-muted); 
            z-index: 2;
            pointer-events: none; 
        }
        #caps-lock-indicator.visible {
            color: var(--accent-glow); 
        }
        #caps-lock-indicator svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-muted);
        }
        #caps-lock-indicator p {
            font-size: 0.8rem;
            font-weight: 500;
            margin: 0;
        }

        
        #protected-content.locked {
            display: none;
        }

        .contact-highlight {
            background: linear-gradient(180deg, #ffffff 50%, #d8d8e8 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow:
                0 0 12px rgba(192, 132, 252, 0.6),
                0 0 30px rgba(192, 132, 252, 0.3);
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
        }

        /* --- STYLES FOR THE NEW SUCCESS CARD --- */

        /* Apply the same base style as the contact form box */


                /* --- Styling for the Form Success Message --- */
        .contact-success-content {
            text-align: center;
        }

        .success-icon {
            width: 40px; 
            height: 40px;
            stroke: var(--accent-glow); 
            stroke-width: 1.2;
            margin-bottom: 15px;
            margin-top: 20px;
        }

        .contact-success-content h2 {
            font-family: 'Gyahegi', sans-serif;
            font-size: 1.8rem;
            color: var(--text-light);
            margin: 0 0 10px 0;
        }

        .contact-success-content p {
            color: var(--text-muted);
            margin-bottom: 25px;
        }

        .contact-success-content .success-divider {
            border: none;
            height: 1px;
            background-color: var(--border-color);
            margin: 30px auto;
            width: 80%;
        }

        .contact-success-content .success-footer p {
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        .contact-success-content .contact-links {
            justify-content: center; /* Ensures links are centered */
            gap: 15px;
        }
        /* Style the divider */
        .success-divider {
            border: none;
            height: 1px;
            background-color: var(--border-color);
            margin: 30px auto;
            width: 80%;
        }

        /* Style the footer section of the success card */
        .success-footer p {
            font-size: 0.95rem;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        
        #password-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(13, 12, 29, 0.7); 
            backdrop-filter: blur(10px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease;
        }

        
        #password-box {
            background: var(--bg-glass);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 40px;
            width: 90%;
            max-width: 450px;
            text-align: center;
            box-shadow: 0 0 30px -5px rgba(0, 0, 0, 0.5);
            transform: scale(1);
            transition: transform 0.3s ease;
        }

        
        #password-box.shake {
            animation: shake 0.5s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
            20%, 40%, 60%, 80% { transform: translateX(8px); }
        }

        #password-box h2 {
            font-family: 'Gyahegi', sans-serif;
            font-size: 1.8rem;
            margin: 0 0 15px 0;
            color: var(--text-light);
            text-shadow: 0 0 12px var(--accent-glow);
        }

        #contact-modal-box h2,
        .contact-success-content h2 {
            text-shadow: 0 0 12px var(--accent-glow);
        }


        #password-box p {
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 30px;
        }

        
        #password-input {
            width: 100%;
            padding: 15px;
            background-color: rgba(13, 12, 29, 0.5);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-light);
            font-family: var(--font-main);
            font-size: 1rem;
            text-align: center;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        #password-input:focus {
            outline: none;
            border-color: var(--border-hover);
            box-shadow: 0 0 15px -2px var(--accent-glow);
        }

        
        #password-form button {
            width: 100%;
            padding: 15px;
            margin-top: 20px;
            background: var(--accent-gradient);
            border: none;
            border-radius: 8px;
            color: var(--text-light);
            font-family: var(--font-main);
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        #password-form button:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 20px -5px var(--accent-glow);
        }

        
        #password-error {
            display: none; 
            color: #ff8a8a; 
            margin-top: 15px;
            font-weight: 500;
        }

        

        
        .password-request-link {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-top: -15px; 
            margin-bottom: 30px;
        }

        
        .password-request-link a {
            color: var(--accent-glow);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 1px dotted rgba(192, 132, 252, 0.5);
            transition: border-color 0.3s ease;
        }

        .password-request-link a:hover {
            border-bottom-color: var(--accent-glow);
        }

        
        #contact-modal-overlay,
        #contact-success-overlay { /* <-- Add this line */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(13, 12, 29, 0.7);
            backdrop-filter: blur(10px);
            z-index: 10000; 
            display: none; /* This will be overridden by JS */
            align-items: center;
            justify-content: center;
        }

        #contact-modal-box {
            background: var(--bg-glass);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 30px 40px;
            width: 90%;
            max-width: 500px;
            text-align: center;
            position: relative;
        }

        #contact-modal-box h2 {
            font-family: 'Gyahegi', sans-serif;
            font-size: 1.8rem;
            margin: 0 0 10px 0;
            color: var(--text-light);
        }

        #contact-modal-box p {
            color: var(--text-muted);
            margin-bottom: 25px;
        }

        
        #portfolio-contact-form input,
        #portfolio-contact-form textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            background-color: rgba(13, 12, 29, 0.5);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-light);
            font-family: var(--font-main);
            font-size: 1rem;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        #portfolio-contact-form textarea {
            resize: vertical; 
            background-color: rgba(13, 12, 29, 0.8); 
        }

        #portfolio-contact-form input:focus,
        #portfolio-contact-form textarea:focus {
            outline: none;
            border-color: var(--border-hover);
            box-shadow: 0 0 15px -2px var(--accent-glow);
        }

        #portfolio-contact-form button {
            width: 100%;
            padding: 15px;
            background: var(--accent-gradient);
            border: none;
            border-radius: 8px;
            color: var(--text-light);
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #portfolio-contact-form button:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 20px -5px var(--accent-glow);
        }

        
        #portfolio-contact-form input[type="email"] {
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        
        #portfolio-contact-form input[type="email"]:not(:placeholder-shown):invalid {
            border-color: #e53e3e; 
            box-shadow: 0 0 0 1px #e53e3e;
        }

        
        #portfolio-contact-form input[type="email"]:not(:placeholder-shown):valid {
            border-color: #38a169; 
            box-shadow: 0 0 0 1px #38a169;
        }

        .error-text {
            color: #e53e3e; 
            font-size: 0.875rem;
            height: 1.25rem; 
            display: block;
            margin-top: 5px;
            text-align: left;
        }

        
        #caps-lock-indicator.hidden {
            display: none;
        }

        
        .other-contact-options {
            margin-top: 30px;
            border-top: 1px solid var(--border-color);
            padding-top: 25px;
        }
        .other-contact-options p {
            margin-bottom: 15px;
            font-size: 1rem;
        }
        .other-contact-options .contact-links {
            justify-content: center;
            gap: 15px;
        }
   
        .cv-title-container {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
                position: sticky;
                top: 120px;
            }

        
        #print-cv-button {
            
            margin-left: auto;
            margin-right: 20px;

            
            padding: 15px 30px; 
            font-size: 1.1rem;  
            border-radius: 16px;
        }

        
        #print-cv-button svg {
            width: 24px;   
            height: 24px;  
        }

        .contact-cta-box {
            
            background: var(--bg-glass);
            border: 1px solid var(--border-color);
            backdrop-filter: blur(16px);
            border-radius: 12px;
            padding: 20px; 
            margin: 0 auto 40px auto; 
            max-width: 600px; 
            text-align: center;
            
            
            transition: all 0.3s ease;
            box-shadow: 0 0 15px -5px rgba(192, 132, 252, 0.4);
        }
        .contact-cta-box:hover {
            box-shadow: 0 0 25px -5px var(--accent-glow);
            border-color: var(--border-hover);
            transform: translateY(-3px);
        }
        .contact-cta-box p {
            margin: 0; 
            color: var(--text-light); 
            font-size: 1.1rem;
            font-weight: 500;
        }

        .nav-links a,
        .work-item,
        .contact-link,
        .marquee-content span,
        .modal-close-button,
        #toggle-password-visibility {
        -webkit-user-select: none; 
        -ms-user-select: none;     
        user-select: none;         
        }

        
        .modal-close-button,
        #toggle-password-visibility {
            background: none;
            border: none;
            padding: 0;
            font: inherit;
            color: inherit;
            cursor: pointer;
            }

        

        
        #work-after-snowfall .work-item-image img:nth-child(1) {
            top: 5%;
            left: 10%;
            transform: rotate(-8deg);
            z-index: 1;
        }
        #work-after-snowfall .work-item-image img:nth-child(2) {
            top: 10%;
            right: 5%;
            transform: rotate(12deg);
            z-index: 3;
        }
        #work-after-snowfall .work-item-image img:nth-child(3) {
            bottom: 5%;
            left: 20%;
            transform: rotate(5deg);
            z-index: 2;
        }
        #work-after-snowfall .work-item-image img:nth-child(4) {
            bottom: 15%;
            right: 15%;
            transform: rotate(-3deg);
            z-index: 4; 
        }

        
        #work-perpetual-records .work-item-image img:nth-child(1) {
            top: 12%;
            left: 8%;
            transform: rotate(-15deg);
            z-index: 1;
        }
        #work-perpepetual-records .work-item-image img:nth-child(2) {
            top: 8%;
            right: 10%;
            transform: rotate(12deg);
            z-index: 3;
        }
        #work-perpetual-records .work-item-image img:nth-child(3) {
            bottom: 15%;
            left: 18%;
            transform: rotate(8deg);
            z-index: 2;
        }
        #work-perpetual-records .work-item-image img:nth-child(4) {
            bottom: 8%;
            right: 15%;
            transform: rotate(-6deg);
            z-index: 4; 
        }

        
        #work-perpetual-records:hover .work-item-image img {
            transform: scale(1.05) rotate(0deg);
            border-color: var(--border-hover);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px -5px var(--accent-glow);
        }

        
        #work-after-snowfall:hover .work-item-image img,
        #work-perpetual-records:hover .work-item-image img {
            transform: scale(1.05) rotate(0deg);
            border-color: var(--border-hover);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px -5px var(--accent-glow);
        }

        
        .cv-section-title {
            font-family: 'Gyahegi', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: 1px;
            line-height: 2; 
            margin: 0 0 10px 0; 
            
            
            padding-left: 20px;
            text-align: center;

            
            background: linear-gradient(180deg, #ffffff 50%, #d8d8e8 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow:
                0 0 12px rgba(192, 132, 252, 0.6),
                0 0 30px rgba(192, 132, 252, 0.3);
        }

        
        .key-info-list {
            display: grid;
            grid-template-columns: 100px 1fr; 
            gap: 8px 15px;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .key-info-list dt { 
            font-weight: 600;
            color: var(--text-light);
            opacity: 0.9;
            text-align: left;
        }

        .key-info-list dd { 
            margin: 0;
            color: var(--text-muted);
        }

        
        @media print {
            
            body {
                cursor: auto;
            }

            
            body > *, .section {
                display: none;
            }

            
            body > #cv, #cv.section {
                display: block !important;
            }

            
            #cv {
                padding: 0 !important;
                border: none !important;
            }

            

            
            :root {
                --text-light: #000000;
                --text-muted: #333333;
                --accent-glow: #000000;
            }
            .cv-summary {
                border-left-color: #000000;
            }
        }

        @font-face {
            font-family: 'Gyahegi'; 
            src: url('fonts/Gyahegi.otf') format('opentype');
        }

        @font-face {
            font-family: 'LoSumires-2X8l'; 
            src: url('fonts/LoSumires-2X8l.ttf') format('truetype'); 
        }

        @font-face {
            font-family: 'Excelorate'; 
            src: url('fonts/Excelorate-Font.otf') format('truetype'); 
            
            
            }

        :root {
            --bg-dark: #0D0C1D; 
            --bg-glass: rgba(28, 27, 46, 0.65); 
            --text-light: #F0F0F8;
            --text-muted: #B0B0C0;
            --accent-glow: #c084fc; 
            --accent-gradient: linear-gradient(90deg,rgb(255, 113, 255),rgb(183, 106, 255),rgb(137, 110, 255),rgb(175, 185, 255));
            --border-color: rgba(192, 132, 252, 0.2);
            --border-hover: rgba(192, 132, 252, 0.7);
            --header-height: 70px;
            --section-padding: 100px;
            --font-main: 'Inter', sans-serif;
        }

        *, *::before, *::after {
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
            scroll-padding-top: var(--header-height);
        }

        body {

            font-family: var(--font-main);
            margin: 0;
            padding: 0;
            background-color: transparent;
            color: var(--text-light);
            line-height: 1.7;
        }
        body.modal-open {
            overflow: hidden; 
        }

        
        #work-personal-projects .work-item-image img.square-preview {
            aspect-ratio: 1 / 1; 
            width: 50%;          
        }

        .media-container {
            position: relative; 
            display: block;
        }

        .hero-headline {
            font-family: 'Gyahegi', sans-serif;
            font-size: 3.5rem;
            font-weight: 600;
            margin: 0 0 20px 0;
            line-height: 1.4; 

            
            padding-bottom: 35px;

            text-align: right;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        

        .work-item-tag {
            
            font-size: 0.8rem; 
            font-weight: 500;
            padding: 4px 8px; 
            border-radius: 50px;
            border: 1px solid transparent;
            backdrop-filter: blur(4px);

            
            color: var(--text-light); 
            transform: translateY(-3px) scale(1.03); 

            
            
        }

        

        
        #modal-subtitle .work-item-tags {
            justify-content: flex-start; 
            margin-top: 30px;            
        }

        
        #modal-subtitle .work-item-tag {
            font-size: 0.9rem;      
            padding: 5px 20px;      
            transform: none;        
        }

        

        
        .work-item-tag:nth-child(1) {
            border-color: rgba(192, 132, 252, 1); 
            background: rgba(192, 132, 252, 0.15); 
            box-shadow: 0 0 15px -2px rgba(192, 132, 252, 0.7); 
        }

        
        .work-item-tag:nth-child(2) {
            border-color: rgba(255, 113, 255, 1); 
            background: rgba(255, 113, 255, 0.15); 
            box-shadow: 0 0 15px -2px rgba(255, 113, 255, 0.7); 
        }

        
        .work-item-tag:nth-child(3) {
            border-color: rgba(175, 185, 255, 1); 
            background: rgba(175, 185, 255, 0.15); 
            box-shadow: 0 0 15px -2px rgba(175, 185, 255, 0.7); 
        }

        
        .work-item-tag:hover {
            color: var(--text-light);
            transform: translateY(-3px) scale(1.03); 
        }

        
        .work-item-tag:nth-child(1):hover {
            border-color: rgba(192, 132, 252, 1);
            background: rgba(192, 132, 252, 0.15);
        }

        .work-item-tag:nth-child(2):hover {
            border-color: rgba(255, 113, 255, 1);
            background: rgba(255, 113, 255, 0.15);
        }

        .work-item-tag:nth-child(3):hover {
            border-color: rgba(175, 185, 255, 1);
            background: rgba(175, 185, 255, 0.15);
        }

        
        .enlarge-icon {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 5;
            width: 36px;
            height: 36px;
            background-color: rgba(13, 12, 29, 0.7); 
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%; 
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            transform: scale(0.9);
            opacity: 0; 
        }

        
        .media-container:hover .enlarge-icon {
            opacity: 1;
            transform: scale(1);
        }

        .enlarge-icon:hover {
            background-color: rgba(192, 132, 252, 0.5); 
            border-color: rgba(192, 132, 252, 0.8);
        }

        
        .enlarge-icon svg {
            width: 20px;
            height: 20px;
            stroke: #F0F0F8; 
            stroke-width: 2px;
        }

        #cv.section {
            background-color: rgba(13, 12, 29, 0.32); 
            backdrop-filter: blur(8px); 
        }

        
        .video-background {
            position: fixed;
            top: 50%; left: 50%;
            width: 100vw; height: 100vh;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: -2;
        }
        
        
        .secondary-video {
            width: 100%;
            height: auto;
            border-radius: 8px;
            margin-top: 30px; 
        }
        .video-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-color: rgba(13, 12, 29, 0.7);
            backdrop-filter: blur(2px);
            z-index: -1;
        }

        
        .full-width-image {
            width: 100%;
            height: auto;
            border-radius: 8px;
            margin-top: 10px;      
            margin-bottom: 20px;   
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }
    

        
        .main-header {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: var(--header-height);
            background: var(--bg-glass);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-color);
            z-index: 1000;
        }

        .main-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
        }

        .nav-logo a {
            font-weight: 600;
            color: var(--text-light);
            text-decoration: none;
            font-size: 1.1rem;
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 30px;
            margin: 0; padding: 0;
        }

        .nav-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease, text-shadow 0.3s ease;
        }

        .nav-links a:hover { color: var(--text-light); }
        .nav-links a.active {
            color: var(--accent-glow);
            text-shadow: 0 0 10px var(--accent-glow);
        }
        
        
        #statement {
            padding-top: calc(var(--section-padding) + var(--header-height));
        }

        
        .additional-media-grid .media-container.square-video-container {
            position: relative;
            padding-top: 100%; 
            overflow: hidden;
        }

        
        .additional-media-grid .media-container.square-video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;      
            object-fit: cover;
            display: block;
        }

    
        .intro-section {
            display: grid;
            grid-template-columns: 1fr;
            align-items: center;
            gap: 40px;
        }

        .intro-text h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin: 0 0 20px 0;
            line-height: 1.2;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-section {
            height: 100vh;
            display: flex; 
            align-items: flex-end; 
            justify-content: space-between; 
            padding: 0 20px 120px 20px; 
            border-top: none;
            position: relative;
            isolation: isolate;
        }

        .hero-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://res.cloudinary.com/duou997o3/image/upload/v1753563340/FLORA-Data-Form_Avatar-649346f8_ofs2aw.png');
            background-size: cover;
            background-position: 50% 50%;
            background-repeat: no-repeat;
            opacity: 0.8;
            z-index: -1;
        }

        .hero-content {
            max-width: 800px;
        }

        .marquee-section {
            
            position: absolute;
            bottom: 0;
            left: 0;
            
            
            width: 100%;
            z-index: 100; 
            display: flex;
            align-items: center; 
            overflow: hidden;
            padding: 25px 0;
            background: var(--bg-glass);
            border-top: 1px solid var(--border-color);
            border-bottom: none; 
        }

        .marquee-content {
            flex-shrink: 0;
            display: flex;
            justify-content: space-around;
            min-width: 100%;
            animation: scroll 60s linear infinite;
        }

        .marquee-content span {
            font-size: 1rem;
            font-weight: 500;
            color: var(--text-muted);
            padding: 10px 30px;
            white-space: nowrap;
            border: 1px solid var(--border-color);
            border-radius: 20px;
            margin: 0 15px;
            background: rgba(28, 27, 46, 0.5); 
            transition: all 0.3s ease;
        }

        .marquee-content span:hover {
            color: var(--text-light);
            border-color: var(--border-hover);
            background: rgba(192, 132, 252, 0.3);
            transform: translateY(-3px);
            box-shadow: 0 0 15px -5px var(--accent-glow);
        }

        @keyframes scroll {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-100%);
            }
        }

        .hero-name {
            font-family: 'Gyahegi', sans-serif;
            font-size: 2rem !important;
            font-weight: 100;
            margin: 0; 
            line-height: 2.1;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            
            position: absolute;
            bottom: 120px; 
            left: 20px; 
            z-index: 1; 
        }

        @media (max-width: 900px) {
            .hero-name {
                position: static; 
                text-align: center; 
                margin: 0 auto 20px auto; 
                font-size: 7rem; 
            }
        }

        @media (max-width: 600px) {
            .hero-name {
                font-size: 5rem; 
            }
        }

        
        .section {
            padding: var(--section-padding) 0;
            border-top: 1px solid var(--border-color);
        }
        #statement.section { border-top: none; }
      
        .section-title {
            font-family: 'Gyahegi', sans-serif; 
            font-size: 2.5rem;
            font-weight: normal; 
            margin-bottom: 60px;
            text-align: center;
            text-transform: uppercase; 
            letter-spacing: 1.5px;
            color: #f0f0f8; 

            
            background: linear-gradient(180deg, #ffffff 50%, #d8d8e8 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;

            
            text-shadow: 
                0 0 12px rgba(192, 132, 252, 0.6),  
                0 0 30px rgba(192, 132, 252, 0.3);  
        }

        
        
        .works-grid {
            display: grid;
            grid-template-columns: 1fr 1fr; 
            gap: 40px;
        }

        .work-item {
            position: relative;
            background: transparent;
            
            border: 1px solid var(--border-color); 
            border-radius: 16px;
            height: 400px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
            overflow: hidden; 
        }

        
        .work-item-image {
            position: relative; 
            height: 300px;
            overflow: hidden;
            
        }

        .work-item-image img {
            position: absolute;
            width: 65%;
            
            aspect-ratio: 16 / 9; 
            object-fit: cover;    
            border-radius: 8px;
            border: 2px solid var(--border-color);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
            transition: all 0.35s ease-in-out;
        }

        
        .work-item-image img:nth-child(1) {
            top: 8%;
            left: 5%;
            transform: rotate(-10deg);
            z-index: 1;
        }

        .work-item-image img:nth-child(2) {
            top: 15%;
            right: 5%;
            transform: rotate(8deg);
            z-index: 2;
        }

        .work-item-image img:nth-child(3) {
            bottom: 8%;
            left: 15%;
            transform: rotate(6deg);
            z-index: 3;
        }

        .work-item-image img:nth-child(4) {
            bottom: 12%;
            right: 12%;
            transform: rotate(-5deg);
            z-index: 4;
        }

        .work-item:hover .work-item-image img {
            transform: scale(1.05) rotate(0deg);

            
            border-color: var(--border-hover);
            
            
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px -5px var(--accent-glow);
        }

        .work-item-content {
            
            
            flex-grow: 1; 
            display: flex;
            flex-direction: column;
            justify-content: center;

            
            background: var(--bg-glass);
            backdrop-filter: blur(10px);
            border-radius: 0; 
            padding: 20px 25px;
            text-align: center;
            z-index: 5; 
            
            
            border-top: 1px solid var(--border-color);
            transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        }

        
        .work-item:hover {
            border-color: var(--border-hover);
            box-shadow: 0 0 25px -5px var(--accent-glow);
        }

        
        .work-item:hover .work-item-content {
            
            
            border-top-color: var(--border-hover);
        }

        .work-item-tags {
            display: flex;         
            flex-wrap: wrap;       
            justify-content: center; 
            gap: 8px;              
            margin-top: 10px;
        }

        .work-item h3 { 
            font-size: 1.5rem; 
            font-weight: 600; 
            margin: 0 0 8px 0; 
            color: var(--text-light); 
        }

        .work-item-hover-popup {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            
            
            display: flex;
            align-items: center;
            justify-content: center;
            
            opacity: 0; 
            pointer-events: none;
            transform: scale(0.95);
            transition: opacity 0.35s ease, transform 0.35s ease;
        }
        .work-item:hover .work-item-hover-popup {
            opacity: 1; 
            transform: scale(1);
        }
        .work-item-hover-popup span {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-light);
            text-shadow: 0 0 8px var(--accent-glow);
        }

        
        .modal {
            position: fixed;
            z-index: 2000;
            left: 0; top: 0;
            width: 100%; height: 100%;
            background-color: rgba(13, 12, 29, 0.9);
            display: none; 
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .modal.show {
            display: flex;
            opacity: 1;
        }
        .modal-content {
            
            background: var(--bg-dark);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 40px;
            width: 95%;
            max-width: 1400px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.95);
            transition: transform 0.3s ease;
            display: grid;
            grid-template-columns: .7fr 1fr;
            grid-template-areas:
                "left right"
                "bottom bottom";
            gap: 30px 40px;
        }

        
        .modal-left { grid-area: left; }
        .modal-right { grid-area: right; }
        .modal-bottom { grid-area: bottom; }

        
        .additional-media-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); 
            gap: 20px; 
            align-items: start;
        }
         
        .additional-media-grid .media-container {
            position: relative; 
            display: block;
            width: 100%; 
            
            
        }

         
        
        .additional-media-grid .media-container img,
        .additional-media-grid .media-container video {
            width: 100%;
            height: auto; 
            border-radius: 8px;
            display: block;
        }

        .modal.show .modal-content {
            transform: scale(1);
        }
        .modal-close-button {
            position: absolute;
            top: 20px; right: 25px;
            color: var(--text-muted);
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease, transform 0.3s ease;
            z-index: 10;
        }
        .modal-close-button:hover {
            color: var(--text-light);
            transform: scale(1.1);
        }

        .modal-left,
        .modal-right {
            position: relative;
            overflow-y: auto; 
            scrollbar-width: thin;
            scrollbar-color: var(--accent-glow) var(--bg-dark);
        }

        
        .modal-left::-webkit-scrollbar,
        .modal-right::-webkit-scrollbar {
        width: 8px;
        }

        .modal-left::-webkit-scrollbar-track,
        .modal-right::-webkit-scrollbar-track {
        background: rgba(13, 12, 29, 0.5); 
        }

        .modal-left::-webkit-scrollbar-thumb,
        .modal-right::-webkit-scrollbar-thumb {
        background-color: var(--accent-glow);
        border-radius: 10px;
        border: 2px solid var(--bg-dark);
        }

        .modal-stacked-media {
            display: flex;
            flex-direction: column;
            gap: 20px; 
        }

        .modal-right {
            display: flex;
            flex-direction: column;
            overflow-y: auto; 
            scrollbar-width: thin;
            scrollbar-color: var(--accent-glow) var(--bg-dark);
        }
        #modal-media { 
            height: 100%;
            display: flex;
            align-items: center;
        }
        #modal-media img, #modal-media video { 
            width: 100%; 
            height: auto; 
            border-radius: 8px; 
            object-fit: cover;
        }
        #modal-title {
            font-family: 'Gyahegi', sans-serif; 
            font-size: 1.7rem; 
            font-weight: normal; 
            line-height: 1.8;
            margin: 0px 0 10px 0; 
            padding-top: 10px;
            transform: translateY(5px);
            
            
            background: linear-gradient(180deg, #ffffff 50%, #d8d8e8 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow:
                0 0 12px rgba(192, 132, 252, 0.6),
                0 0 30px rgba(192, 132, 252, 0.3);
        }
        #modal-subtitle {
            font-family: 'Inter', sans-serif; 
            font-size: 1.1rem; 
            font-weight: 500; 
            margin: 0 0 40px 0; 
            color: var(--text-muted); 
            line-height: 1.6;
            font-style: italic; 
        }
        .modal-section {
            margin-bottom: 25px;
        }
        .modal-section:last-child {
            margin-bottom: 0;
        }
        .modal-section-title {
            font-family: 'LoSumires-2X8l', sans-serif; 
            font-size: 1.5rem; 
            font-weight: 300;
            margin: 30px 0 10px 0; 
            color: var(--accent-glow); 
            text-transform: uppercase;
            letter-spacing: 0.8px; 
            border-bottom: 1px solid rgba(192, 132, 252, 0.3); 
            padding-bottom: 8px;
        }

        .modal-section-title:first-of-type {
            margin-top: 0; 
        }

        .modal-section-content {
            font-family: 'Inter', sans-serif; 
            font-size: 1rem;
            line-height: 1.7;
            color: var(--text-muted); 
        }

        
        .modal-section-content p {
            margin-bottom: 1em; 
            color: var(--text-muted); 
        }

        .modal-section-content ul {
            list-style: none; 
            padding-left: 0; 
            margin-top: 15px; 
        }

        .modal-section-content li {
            position: relative;
            padding-left: 20px; 
            margin-bottom: 8px; 
            color: var(--text-muted); 
            font-size: 0.98rem; 
        }

        .modal-section-content li::before {
            content: '•'; 
            position: absolute;
            left: 0;
            color: var(--accent-glow); 
            font-size: 1.2rem;
            line-height: 1; 
            top: 0; 
        }

        .modal-section-content li strong {
            font-weight: 600; 
            color: var(--text-muted); 
        }

        .modal-section-content strong {
            font-weight: 600;
            color: var(--text-light); 
            opacity: 0.9;
        }

        
        .personal-project-showcase h4 {
            font-family: 'Inter', sans-serif; 
            font-size: 1rem; 
            color: var(--text-light);
            margin-top: 40px;
            margin-bottom: 15px;
            border-bottom: 1px solid rgba(192, 132, 252, 0.3); 
            padding-bottom: 10px;
            letter-spacing: 0.5px;
        }
        .personal-project-showcase h4:first-child {
            margin-top: 0; 
        }
        .personal-project-showcase p {
            font-size: 0.98rem; 
            color: var(--text-muted);
            margin-bottom: 25px;
            line-height: 1.7;
        }

        .personal-project-showcase img {
             margin-bottom: 15px;
        }

        
        .media-scroll-container {
            display: flex;
            flex-direction: column; 
            gap: 20px; 
        }

        .media-scroll-container img,
        .media-scroll-container video {
            width: 100%; 
            height: auto;
            border-radius: 8px;
            display: block; 
        }

        
        

        .cv-grid {
            display: grid;
            grid-template-columns: 1fr 3fr;
            gap: 60px;
            align-items: start;
        }

        
        .cv-summary {
            font-size: 1.1rem;
            font-style: italic;
            color: var(--text-light);
            opacity: 0.8; 
            border-left: none;
            padding-left: 0;
            margin-bottom: 60px;
        }

        
        .cv-entry h4 {
            font-family: 'Inter', sans-serif; 
            font-size: 1.5rem;
            font-weight: 600;
            margin: 0 0 25px 0;
            color: var(--accent-glow);
            text-transform: none;
            letter-spacing: 1px;
            border-bottom: 1px solid rgba(192, 132, 252, 0.4);
            padding-bottom: 10px;
        }

        
        .cv-project-link {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s ease, border-color 0.3s ease;
            border-bottom: 1px dotted var(--border-color);
        }
        .cv-project-link:hover {
            color: var(--accent-glow);
            border-bottom-color: var(--accent-glow);
        }
        .cv-entry h4 a.cv-project-link,
        .cv-entry li strong a.cv-project-link {
            border-bottom: none;
        }

        
        .cv-entry h5 {
            font-size: 1.15rem;
            font-weight: 700; 
            margin-bottom: 5px;
            color: var(--text-light);
        }

        
        .cv-subheading {
            margin-bottom: 20px;
            font-size: 0.95rem;
            color: var(--text-light);
            opacity: 1;
        }
        .cv-subheading .meta {
            font-style: normal;
        }

        
        .cv-entry ul {
            padding-left: 5px;
            margin-top: 15px;
            list-style: none;
        }
        .cv-entry li {
            margin-bottom: 10px;
            padding-left: 22px;
            position: relative;
            line-height: 1.6;
            color: var(--text-light);
            opacity: 1; 
        }
        
        .cv-entry li strong {
            font-weight: 600; 
            color: var(--text-light);
            opacity: 1; 
        }

        
        .cv-entry li::before {
            content: '•';
            position: absolute;
            left: 0;
            top: -2px;
            font-size: 1.5rem;
            color: var(--accent-glow);
            width: auto;
            height: auto;
            background: none;
        }

        
        .cv-project-item {
            margin-bottom: 25px;
        }

        
        .cv-entry p {
            color: var(--text-light);
            opacity: 0.9; 
        }

        
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }
        .skills-container h5 {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 1.2rem; 
            color: var(--text-light); 
            border-bottom: 1px solid rgba(192, 132, 252, 0.4);
            padding-bottom: 8px;
            margin: 0 0 15px 0;
        }

        .skills-container ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .skills-container li {
            padding-left: 0;
            margin-bottom: 5px;
            font-size: 0.95rem;
            color: var(--text-light);
            opacity: 0.8;
        }
        
        .skills-container li::before {
            content: '';
        }
        
        
        .contact-content { text-align: center; }
        .contact-content .section-title { margin-bottom: 20px; }
        .contact-content p { color: var(--text-muted); margin-bottom: 40px; }
        .contact-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
        .contact-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--bg-glass); border: 1px solid var(--border-color); backdrop-filter: blur(16px); border-radius: 12px; color: var(--text-light); text-decoration: none; font-weight: 500; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
        .contact-link:hover { transform: translateY(-5px); border-color: var(--border-hover); box-shadow: 0 0 25px -5px var(--accent-glow); }
        .contact-link svg { width: 20px; height: 20px; stroke: var(--accent-glow); }

        
        .site-footer { padding: 40px 20px; border-top: 1px solid var(--border-color); text-align: center; color: var(--text-muted); font-size: 0.9rem; position: relative; z-index: 1; }

        
        @media (max-width: 900px) {
            .intro-section, .cv-grid { grid-template-columns: 1fr; text-align: left; }
            .intro-text h1 { font-size: 2.8rem; text-align: center; }
            .intro-text p { margin: 0 auto; text-align: center; }
            .intro-visual-container { margin-top: 40px; }
            .cv-section-title { margin-bottom: 30px; }
            .cv-summary { margin-left: 0; }
            .works-grid { grid-template-columns: 1fr; }
            .modal-content { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
            #modal-media { margin-bottom: 0; }
            #modal-title { font-size: 2rem; }
        }
        @media (max-width: 600px) {
            :root { --section-padding: 60px; }
            .intro-text h1 { font-size: 2.2rem; }
            .section-title { font-size: 2rem; }
            .main-nav { flex-direction: column; height: auto; padding: 10px 0; }
            .nav-logo { margin-bottom: 10px; }
            .nav-links { gap: 15px; }
            html { scroll-padding-top: 100px; }
            .modal-content { padding: 25px; }
            .modal-close-button { top: 10px; right: 15px; }
            #modal-title { font-size: 1.8rem; }
        }

        
        .slideshow-container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide {
            display: none;
            width: 100%;
            height: 100%;
        }

        .slide.active {
            display: block;
        }

        .slide img, .slide video {
            width: 100%;
            height: 100%;
            object-fit: contain; 
            border-radius: 8px;
        }

        
        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -22px;
            color: white;
            font-weight: bold;
            font-size: 20px;
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
            background-color: rgba(0,0,0,0.3);
        }

        .next {
            right: 0;
            border-radius: 3px 0 0 3px;
        }
        .prev {
            left: 0;
        }

        .prev:hover, .next:hover {
            background-color: rgba(0,0,0,0.8);
        }

        
        .phase-slideshow {
            position: relative;
            width: 100%;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 20px;
            aspect-ratio: 16 / 9; 
        }

        .phase-slideshow .phase-slide {
            position: absolute; 
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0; 
            transition: opacity 1.5s ease-in-out; 
        }

        .phase-slideshow .phase-slide.active {
            opacity: 1; 
            z-index: 2; 
        }

        .phase-slideshow img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover; 
        }

        .phase-overlay {
            position: absolute;
            bottom: 15px;
            left: 15px;
            z-index: 3; 
            background-color: rgba(13, 12, 29, 0.7);
            backdrop-filter: blur(5px);
            color: var(--text-light);
            padding: 5px 12px;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 500;
            border: 1px solid var(--border-color);
        }
        

        
        .intro-grid-container {
            
            position: absolute; 
            top: 0; 
            right: 20px; 
            padding-top: calc(var(--header-height) + 40px); 
            width: auto;
            max-width: 580px; 
            display: flex;
            flex-direction: column; 
            align-items: flex-end; 
            text-align: right; 
            margin-left: auto; 
            z-index: 1; 
        }
        
        .expertise-stat-item:hover {
            transform: translateX(10px); 
            border-color: var(--border-hover);
            box-shadow: 0 0 25px -5px var(--accent-glow);
        }

        .expertise-stat-item h3 {
            font-size: 1.1rem;
            color: var(--text-light);
            margin: 0 0 12px 0;
        }

        .expertise-stat-item .expertise-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .expertise-stat-item .expertise-tags span {
            font-size: 0.85rem;
            color: var(--text-muted);
            background: rgba(192, 132, 252, 0.1);
            padding: 4px 10px;
            border-radius: 12px;
        }

        
        @media (max-width: 900px) {
            .intro-grid-container {
                grid-template-columns: 1fr; 
                padding-top: 40px; 
            }
        }

        
        #statement {
            padding-top: 0;
        }

        

        
        .hero-tagline::after {
            content: '|';
            animation: blink 1s infinite;
            font-weight: 200; 
            color: var(--text-muted);
            margin-left: 5px; 
        }

        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes pulseGlow {
            0%, 100% {
                text-shadow: 0 0 5px rgba(224, 224, 240, 0.7), 0 0 10px rgba(192, 132, 252, 0.4);
            }
            50% {
                text-shadow: 0 0 10px rgba(224, 224, 240, 1), 0 0 20px rgba(192, 132, 252, 0.7);
            }
        }

       
        .hero-tagline {
            font-family: 'LoSumires-2X8l', sans-serif;
            font-size: 2.2rem;
            color: var(--text-muted);
            max-width: 1000px;
            margin: 0;
            text-align: right;

            
            animation: pulseGlow 4s ease-in-out infinite;
        }

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

        
        .hero-tagline.typing-done::after {
            display: none;
        }

        .intro-text .contact-link {
            margin-left: auto; 
            margin-bottom: 0; 
        }

        
        .intro-expertise-list {
            padding-top: 20px;
        }

        .image-container {
            width: 100%; 
            height: 420px; 
            overflow: hidden; 
            }

            .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover; 
            object-position: center; 
            }

        .intro-expertise-list ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 15px; 
        }

        .intro-expertise-list li {
            padding: 25px 20px;
            border: 1px solid var(--border-color);
            background: var(--bg-glass);
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .specific-cropped-image {
            
            
            aspect-ratio: 1080 / 1350; 
            width: 100%; 
            overflow: hidden; 
            position: relative; 
        }

        .specific-cropped-image img {
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            object-position: center; 
            display: block; 
        }

        .intro-expertise-list li:hover {
            transform: translateX(10px); 
            border-color: var(--border-hover);
            box-shadow: 0 0 25px -5px var(--accent-glow);
        }

        .intro-expertise-list h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-light);
            margin: 0;
            text-align: center; 
        }

    
        @media (max-width: 900px) {
            .intro-grid-container {
                position: static; 
                bottom: auto;
                left: auto;
                padding-top: 40px; 
            }
            .hero-tagline, .intro-text { 
                text-align: center; 
                margin-left: auto; 
                margin-right: auto; 
            }
            .intro-text .contact-link {
                margin-left: auto; 
                margin-right: auto; 
            }
            .intro-expertise-list {
                margin-top: 40px;
            }
        }

        
        #bottom-right-contact {
            
            
            
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 30px; 
            
            
            background: var(--accent-gradient);
            border: 1px solid transparent;
            backdrop-filter: none;
            padding: 12px 24px;
            border-radius: 50px;
            color: var(--text-light);
            font-family: var(--font-main);
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        
        #bottom-right-contact svg {
            width: 20px;
            height: 20px;
            stroke: #FFFFFF;
        }

        
        #bottom-right-contact:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 25px -5px var(--accent-glow);
        }

        #bottom-right-contact span {
            font-size: 1.25rem; 
        }

        
        @media (max-width: 900px) {
            #bottom-right-contact {
                
                position: relative; 
                display: block;
                text-align: center;
                padding: 20px 0; 
                bottom: auto;
                right: auto;
            }
        }