* {
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
}


*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: white;
    overflow-x: hidden;
}

body::-webkit-scrollbar, 
html::-webkit-scrollbar {
    display: none;
}

body, a, button, input, textarea, .portfolio-btn {
    cursor: none !important;
}

::selection {
    background-color: #ffffff;
    color: #000000;
    text-shadow: none;
}

::-moz-selection {
    background-color: #ffffff;
    color: #000000;
    text-shadow: none;
}

body.light-mode-active ::selection {
    background-color: #000000;
    color: #ffffff;
}

body.light-mode-active ::-moz-selection {
    background-color: #000000;
    color: #ffffff;
}

#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0; 
    visibility: hidden; 
    z-index: 100000; 
    pointer-events: none;
}

.word-wrapper {
    display: inline-block;
    white-space: nowrap;
}

.lens-flare {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transform-origin: center center;
    will-change: transform, opacity;
    z-index: 100;
}

#flare-1 {
    width: 600px;
    height: 600px;
    margin-left: -325px;
    margin-top: -300px;
    mix-blend-mode: screen;
}

#flare-2 {
    width: 300px;
    height: 300px;
    margin-left: 20px;
    margin-top: 0px;
    mix-blend-mode: screen;
}

.char-reveal {
    display: inline-block;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: opacity, transform;
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;

}

.cursor-hidden {
    opacity: 0 !important;
}

#custom-cursor.click-active,
#custom-cursor.hover-active {
    transform: translate(-50%, -50%) scale(3.5);
    background-color: white;
}

.full-width-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@media (hover: none) and (pointer: coarse) {
    #custom-cursor {
        display: none;
    }
    body {
        cursor: auto;
    }
}

#sky-section.bordered-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 1;
    transition: background-color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

#sky-section.light-mode {
    background-color: #fcfcfc !important;
}

.sky-container {
    position: relative;
    width: calc(100% - 40px);
    height: 100%;
    padding-top: 15px;
    margin: 0 auto;
    border: 10px solid #000;
    border-bottom: none;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

#sky-section.light-mode .sky-container {
    border-color: #fcfcfc !important;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
}

.portfolio-title {
    position: absolute;
    top: 30px;
    left: 30px;
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 200;
    color: rgb(255, 255, 255);
    letter-spacing: 2px;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

.portfolio-subtitle {
    position: absolute;
    top: 85px;
    left: 32px;
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: clamp(0.5em, 0.8vw, 1rem);
    font-weight: 200;
    color: rgb(255, 255, 255);
    letter-spacing: 1px;
    z-index: 10;
    pointer-events: none;
    line-height: 1.3;
    white-space: nowrap;
}

.portfolio-buttons {
    position: absolute;
    top: 35px;
    right: 30px;
    display: flex;
    gap: 30px;
    z-index: 10;
    pointer-events: all;
}

.portfolio-btn {
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    padding: 12px 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 2px;
}

.portfolio-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.burned-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 5rem);
    font-weight: 500;
    color: rgb(255, 255, 255);
    letter-spacing: 2px;
    pointer-events: none;
    z-index: 6;
    filter: url(#burn-effect);
    mix-blend-mode: soft-light;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.2), 0 0 45px rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    padding: 0 20px;
}

#cursor {
    animation: blink 1s infinite;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.webgl-notice {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: 10px;
    color: rgb(255, 255, 255);
    text-align: right;
    max-width: 300px;
    z-index: 20;
    pointer-events: none;
    transition: filter 1.4s ease, opacity 1.2s ease, transform 0.8s ease;
    filter: blur(0px);
    opacity: 1;
    transform: translateY(0);
    mix-blend-mode: soft-light;
}

.webgl-notice.blur-out {
    filter: blur(6px);
    opacity: 0;
    transform: translateY(8px);
}

.lang-link {
    position: absolute;
    bottom: 110px; 
    left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
    text-decoration: none;
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lang-icon {
    width: 20px; 
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lang-text {
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.lang-link:hover { transform: translateY(-2px); }
.lang-link:hover .lang-icon { opacity: 1; }
.lang-link:hover .lang-text {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.insta-link {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
    text-decoration: none;
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.insta-link img {
    width: 18px;
    height: auto;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.insta-link span {
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.insta-link:hover { transform: translateY(-2px); }
.insta-link:hover span { color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
.insta-link:hover img { opacity: 1; }

.theme-switch-icons {
    position: absolute;
    bottom: 20px;
    right: 30px; 
    z-index: 50;
    display: flex;
    gap: 10px;
    pointer-events: all;
}

.mode-icon {
    width: 25px; 
    height: 25px;
    cursor: none;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.mode-icon.active-mode-icon { display: block; }
.mode-icon:hover { opacity: 1; transform: scale(1.25) rotate(45deg); }

.time-widget {
    position: absolute;
    top: 50%; 
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 50; 
    pointer-events: auto; 
}

.current-date {
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.5px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    user-select: none;
    margin-bottom: 10px;
}

.dial-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reset-icon {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: none;
}

.reset-icon img { width: 100%; height: 100%; display: block; }
.reset-icon:hover { opacity: 1; transform: rotate(30deg) scale(1.1); }

.digital-clock {
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    user-select: none;
}

.dial-container {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: none;
}

.dial-ring {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.dial-knob {
    position: absolute;
    top: 50%; left: 50%;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.how-wrapper {
    position: absolute;
    bottom: 60px; 
    left: 15px;
    z-index: 25;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.how-icon {
    width: 20px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.how-wrapper:hover .how-icon { opacity: 1; transform: scale(1.1); }

.how-box {
    position: absolute;
    left: 35px;
    bottom: -10px;
    width: 420px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.how-wrapper:hover .how-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.how-box::before {
    content: '';
    position: absolute;
    left: -6px;
    bottom: 15px;
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.how-title {
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 4px;
    display: inline-block;
}

.how-text {
    font-family: 'HK Grotesk', sans-serif;
    font-size: 11px;
    line-height: 1.6;
    color: #d1d1d1;
    text-align: justify;
    font-weight: 300;
}

.light-mode .how-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.light-mode .how-box::before {
    background: rgba(255, 255, 255, 0.9);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.light-mode .how-title { color: #000; }
.light-mode .how-text { color: #444; }


#star-labels-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; overflow: hidden; z-index: 5; 
}
.star-label {
    position: absolute; display: flex; align-items: center;
    opacity: 0; transition: opacity 0.3s ease; transform: translate(10px, -50%); 
}
.star-label.visible { opacity: 1; }
.star-line {
    width: 60px; height: 1px; background-color: rgba(255, 255, 255, 0.6);
    margin-right: 20px; transform-origin: left center; transform: rotate(-20deg);
}
.star-text {
    font-family: 'Cascadia Code', monospace; font-size: 12px; color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(2px); margin-bottom: 40px;
}

.about-section {
    width: 100%;
    background: #000;
    position: relative;
    padding-bottom: 50px;
    transition: background-color 1.5s cubic-bezier(0.65, 0, 0.35, 1); 
}

.about-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 95%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 20px;
}

.about-header {
    width: 60%;
    padding-right: 40px;
}

.hk-title {
    font-family: 'HK Grotesk', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.2vw, 3.5rem);
    line-height: 1.2;
    word-spacing: 10px;
    color: white;
    margin: 0 0 16px 10px;
    text-align: justify; 
    letter-spacing: 0px;
    transition: color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.hk-subtitle {
    font-family: 'HK Grotesk', sans-serif;
    font-weight: 100;
    font-size: clamp(0.75rem, 0.3vw, 0.95rem);
    line-height: 1.8;
    color: #b0b0b0;
    word-spacing: 10px;
    margin: 0 0 16px 10px;
    max-width: 60%;
    transition: color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.about-image-container {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: row; 
    align-items: flex-end; 
    transition-delay: 0.2s;
}

.about-image {
    width: 300px;
    height: 300px;
    max-width: 300px;
    background-image: url('img/use_/me.jpg');
    background-size: cover;
    background-position: center;
}

.about-content {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.about-text-wrapper {
    width: 95%;
    max-width: 95%;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    margin: auto auto 0;
    display: grid;
    grid-template-columns: 0.5fr 0.7fr 0.6fr;
    column-gap: 30px;
    padding-top: 20px;
    transition: border-color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.about-text-wrapper .about-column:nth-child(2) {
    margin-left: 60px;
}

.about-label {
    font-family: 'HK Grotesk', sans-serif; 
    font-size: 13px;
    color: #ccccccbd;
    margin-bottom: 18px;
    font-weight: 300;
    margin-top: 0;       
    line-height: 1.6;
    transition: color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.hk-text-body {
    font-family: 'HK Grotesk', sans-serif;
    font-weight: 100;
    font-size: 13px;
    line-height: 1.6;
    color: #d1d1d1;
    margin-left: 10px;
    text-align: justify;
    transition: color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.about-section.light-mode { background: #fcfcfc; }
.about-section.light-mode .hk-title { color: #111; }
.about-section.light-mode .hk-subtitle { color: #555; }
.about-section.light-mode .about-text-wrapper { border-top: 1px solid rgba(0, 0, 0, 0.2); }
.about-section.light-mode .about-label { color: #333; }
.about-section.light-mode .hk-text-body { color: #444; }
.about-section.light-mode .about-image { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
body.light-mode-active { background-color: #fcfcfc !important; }

.full-width-image-container {
    width: 100%;
    overflow: hidden;
    line-height: 0; 
    background-color: #000;
}

.full-width-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.self-theme-section {
    width: 100%;
    min-height: 40vh; 
    background-color: #000;
    padding-bottom: 80px;
    padding-top: 60px;
    transition: background-color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.theme-content-wrapper {
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.theme-left {
    width: 45%;
    padding-right: 20px;
}

.theme-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 12px; 
    padding-top: 15px; 
}

.theme-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px; 
    margin-bottom: 5px;  
    transition: border-color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.theme-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.theme-subject {
    font-family: 'HK Grotesk', sans-serif;
    font-weight: 500; 
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5); 
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.theme-answer {
    font-family: 'HK Grotesk', sans-serif;
    font-weight: 300; 
    font-size: 14.5px;
    margin-left: 100px;
    line-height: 1.6;
    color: #ffffff;
    transition: color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.self-theme-section.light-mode,
body.light-mode-active .self-theme-section {
    background-color: #fcfcfc;
}

body.light-mode-active .theme-row,
.self-theme-section.light-mode .theme-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.light-mode-active .theme-subject,
.self-theme-section.light-mode .theme-subject {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode-active .theme-answer,
.self-theme-section.light-mode .theme-answer {
    color: #111111;
}

body.light-mode-active .self-theme-section .hk-title,
.self-theme-section.light-mode .hk-title {
    color: #111111;
}

@media (max-width: 1279px) {
    .cards-wrapper {
        display:block;
    }
    .portfolio-buttons { top: 25px; right: 20px; gap: 20px; }
    .portfolio-btn { font-size: clamp(0.7rem, 1vw, 0.9rem); padding: 18px 12px; }
}

@media (max-width: 1024px) {

    .cards-wrapper {
        display:none;
    }
    .about-top-row {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    
    .about-header {
        width: 100%;
        padding-right: 0;
        margin-top: 30px;
    }

    .about-image-container {
        width: 100%;
        margin-bottom: 20px;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .hk-title { width: 95%; text-align: left; }
    .hk-subtitle { max-width: 95%; width: 95%; text-align: justify; word-spacing: 6px; } 
    
    .about-text-wrapper {
        display: flex;
        flex-direction: column;
        width: 95%; 
        gap: 20px;
    }
    .about-text-wrapper .about-column:nth-child(2) { margin-left: 0; }
    .hk-text-body { width: 95%; text-align: justify; }
    .about-label { margin-bottom: 5px; }
    .about-image { display: none; }

    .how-wrapper { display: none; }
    .lang-link { left: 10px; bottom: 45px; }
    .check-album-btn { display: none; }

    .theme-content-wrapper { flex-direction: column; }
    .theme-left { width: 100%; margin-bottom: 30px; }
    .theme-right { width: 100%; padding-top: 0; }
    .theme-row { grid-template-columns: 120px 1fr; }
}

@media (max-width: 768px) {

    .mode-icon {
    width: 15px; 
    height: 15px;
}
    .portfolio-buttons { top: 20px; right: 15px; gap: 15px; }
    .portfolio-btn { font-size: clamp(0.6rem, 0.9vw, 0.8rem); padding: 18px 10px; }
    .portfolio-title { padding-top: 15px; top: 15px; left: 15px; font-size: clamp(1rem, 4vw, 1.5rem); }
    .portfolio-subtitle { top: 65px; left: 15px; font-size: clamp(0.5rem, 1vw, 0.8rem); }
    
    .burned-text {
        top: 45%;
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        white-space: normal; padding: 0 10px; width: 90%;
    }
    .webgl-notice { display: none; }
    
    .time-widget { top: auto; bottom: 60px; right: 20px; transform: none; }
    .theme-switch-icons { bottom: 10px; right: 10px;}
    .insta-link { left: 10px; bottom: 15px; }
    .insta-link span { font-size: 9px; }

    .about-section {
        padding-bottom: 30px; 
    }
    
    .self-theme-section {
        padding-top: 30px;
        padding-bottom: 40px; 
        min-height: auto;
    }
    
    .theme-left {
        margin-bottom: 15px; 
    }
    
    .theme-right {
        gap: 10px;
    }
    
    .theme-row {
        margin-bottom: 0;
        padding-bottom: 10px;
    }
}

@media (max-width: 630px) {
    .portfolio-buttons { 
        top: 15px; 
        right: 10px; 
        gap: 10px; 
    }
    .portfolio-btn { 
        display: none; 
    }

    .portfolio-btn.works-link {
        display: inline-block;
        font-size: 7px;
    }

    .theme-row {
        grid-template-columns: 1fr; 
        gap: 5px;
    }
    .theme-subject { font-size: 13px; margin-bottom: 2px; }
    .theme-answer { font-size: 15px; }
}

@media (max-width: 480px) {
    .portfolio-title { top: 10px; left: 10px; font-size: clamp(0.9rem, 3.5vw, 1.3rem); }
    .portfolio-subtitle {
        top: 55px; left: 10px; font-size: clamp(0.4rem, 0.9vw, 0.7rem);
        white-space: normal; max-width: 150px;
    }
    .portfolio-subtitle br { display: block; }
    .about-image-container { gap: 10px; }
}

@media (max-width: 360px) {
    .portfolio-buttons { display: none; }
}

@media (min-width: 2500px) {
    .portfolio-title { font-size: 3.5rem; top: 40px; left: 40px; }
    .portfolio-subtitle { font-size: 1.2rem; top: 115px; left: 42px; }
    .portfolio-buttons { top: 50px; right: 40px; }
    .portfolio-btn { font-size: 1.2rem; }
    .burned-text { font-size: 6rem; }
}

.contact-section {
    width: 100%;
    background-color: #000;
    padding-top: 60px;
    padding-bottom: 80px;
    transition: background-color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.contact-content-wrapper {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-left {
    width: 45%;
    padding-right: 20px;
}

.contact-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    padding-top: 15px;
}

.minimal-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    position: relative;
    width: 100%;
}

.minimal-form input,
.minimal-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    font-family: 'Cascadia Code', monospace;
    font-size: 14px;
    color: #fff;
    transition: border-color 0.3s ease, color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    border-radius: 0;
}

.works-cta-container {
    position: absolute;
    top: 80%; 
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 7;
    pointer-events: all;
    opacity: 0; 
    will-change: opacity, transform;
}

.works-cta-btn {
    font-family: 'Cascadia Mono ExtraLight', monospace;
    font-size: clamp(0.5rem, 0.8vw, 0.8rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.works-cta-btn:hover {
    color: #000;
    background-color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}


#sky-section.light-mode .works-cta-btn {
    color: #000;
    border-color: rgba(0, 0, 0, 0.4);
}

#sky-section.light-mode .works-cta-btn:hover {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

@media (max-width: 768px) {
    .works-cta-container {
        top: 65%; 
    }
    .works-cta-btn {
        font-size: clamp(0.6rem, 0.8vw, 0.8rem);
        padding: 10px 20px;
    }
}

.minimal-form input:focus,
.minimal-form textarea:focus {
    outline: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.minimal-form input::placeholder,
.minimal-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'HK Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.submit-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 15px 40px;
    font-family: 'Cascadia Code', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 10px;
    width: fit-content;
}

.submit-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

body.light-mode-active .contact-section .hk-title,
.contact-section.light-mode .hk-title {
    color: #111111;
}

body.light-mode-active .minimal-form input,
body.light-mode-active .minimal-form textarea {
    color: #111 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

body.light-mode-active .minimal-form input::placeholder, 
body.light-mode-active .minimal-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.contact-section.light-mode,
body.light-mode-active .contact-section {
    background-color: #fcfcfc;
}

body.light-mode-active .minimal-form input,
body.light-mode-active .minimal-form textarea {
    color: #111;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.light-mode-active .minimal-form input:focus,
body.light-mode-active .minimal-form textarea:focus {
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}

body.light-mode-active .minimal-form input::placeholder,
body.light-mode-active .minimal-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode-active .submit-btn {
    color: #111;
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode-active .submit-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

@media (max-width: 1024px) {
    .contact-content-wrapper { flex-direction: column; }
    .contact-left { width: 100%; margin-bottom: 30px; }
    .contact-right { width: 100%; padding-top: 0; }
}

@media (max-width: 768px) {
    .contact-section { padding-top: 30px; padding-bottom: 40px; }
    .contact-left { margin-bottom: 15px; }
    .submit-btn { width: 100%; text-align: center; }
}

.site-footer {
            background-color: #000;
            color: #fff;
            font-family: 'HK Grotesk', sans-serif;
            padding: 0 2vw 4rem 2vw;
            position: relative;
            z-index: 10;
        }

        .footer-divider {
            width: 100%;
            height: 1px;
            background-color: rgba(255, 255, 255, 0.2);
            margin-bottom: 3rem;
        }

        .footer-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
            gap: 3rem;
        }

        .footer-left {
            flex: 0 1 350px;
            max-width: 350px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .footer-cta {
            font-size: 0.95rem;
            line-height: 1.6;
            text-align: justify;
            margin-bottom: 2rem;
            opacity: 0.9;
            color: #d1d1d1;
        }

        .copyright {
            font-size: 0.7rem;
            opacity: 0.5;
            margin-top: auto;
            font-family: 'HK Grotesk', sans-serif;
        }

        .footer-right {
            flex: 0 1 auto; 
            display: grid;
            grid-template-columns: repeat(3, 250px); 
            gap: 4rem;
            
            text-align: left;
        }

        .footer-col {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .footer-subject {
            font-family: 'HK Grotesk', sans-serif;
            font-weight: 500;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 0.5rem;
        }

        .footer-col a, .footer-col span {
            color: #fff;
            text-decoration: none;
            font-size: 0.95rem;
            transition: opacity 0.3s ease;
            line-height: 1.5;
            white-space: nowrap;
        }

        .footer-col a:hover {
            opacity: 0.6;
        }

        body.light-mode-active .site-footer {
            background-color: #fcfcfc;
            color: #111;
        }
        body.light-mode-active .footer-divider {
            background-color: rgba(0, 0, 0, 0.15);
        }
        body.light-mode-active .footer-cta {
            color: #444;
        }
        body.light-mode-active .footer-subject {
            color: rgba(0, 0, 0, 0.5);
        }
        body.light-mode-active .footer-col a, 
        body.light-mode-active .footer-col span {
            color: #111;
        }
        body.light-mode-active .copyright {
            color: #666;
        }

        @media (max-width: 1024px) {
            .footer-right {
                gap: 2rem;
            }
        }

        @media (max-width: 768px) {
            .footer-container {
                flex-direction: column;
                gap: 3rem;
            }
            
            .footer-left {
                max-width: 100%;
                flex: 1 1 auto;
            }

            .footer-right {
                width: 100%;
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .footer-col a, .footer-col span {
                white-space: normal;
            }
        }

.iframe-showcase-section {
    width: 100%;
    background-color: #000;
    padding: 0 0 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.iframe-container {
    width: 95%;
    height: 70vh;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    transition: border-color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.iframe-caption {
    margin-top: 15px;
    font-family: 'Cascadia Code', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.caption-icon {
    font-size: 12px;
    animation: blink 2s infinite;
}

.iframe-showcase-section.light-mode,
body.light-mode-active .iframe-showcase-section {
    background-color: #fcfcfc;
}

body.light-mode-active .iframe-container {
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-mode-active .iframe-caption {
    color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .iframe-showcase-section {
        display: none !important;
    }
}

.desktop-only-desc {
    margin-top: 30px;
    max-width: 90%;
    display: block;
}

@media (max-width: 1024px) {
    .desktop-only-desc {
        display: none !important;
    }
}

.cards-wrapper {
    position: relative;
    width: 100%;
    max-width: 856px;
    aspect-ratio: 856 / 388; 
    margin-top: 70px;
    margin-left: 40px;
    perspective: 1500px;
    z-index: 10;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    
    backface-visibility: hidden; 
    -webkit-font-smoothing: antialiased;
}

.card-front {
    z-index: 2;
    pointer-events: auto;
    transform-origin: center center;
    cursor: none;
}

.card-front:hover {
    filter: brightness(1.15);
    transform: scale(1.03) translateY(-15px) rotate(-3deg) rotateX(-8deg); 
}

.card-back {
    z-index: 1;
}

.card-front {
    z-index: 2;
    pointer-events: auto;
    transform-origin: center center;
    cursor: none;
}

.card-front:hover {
    filter: brightness(1.15); 
    
    transform: 
        scale(1.03) 
        translateY(-15px) 
        rotate(-3deg) 
        rotateX(-8deg); 
}

@media (max-width: 768px) {
    .cards-wrapper {
        display:none;
    }
}