:root {
    --bg-color: #080808;
    --text-color: #f4f4f5;
    --cursor-size: 10px;
    --accent: #FFCBA4; /* Peach accent */
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

/* Global Image Protection */
img, .scattered-svg svg {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Site Wrapper to prevent mobile layout blowouts */
.site-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    background-color: var(--text-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* HERO SECTION */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Removed overflow: hidden so wave can extend */
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-color) 70%);
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 30px 30px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    z-index: 0;
}

.scroll-arrow {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--accent);
    animation: bounce 2s infinite ease-in-out;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 15px); }
}

.floating-contact {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    padding: 12px 24px;
    border-radius: 50px;
    transition: transform 0.3s;
}
.floating-contact:hover {
    transform: scale(1.1);
}

.logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 100;
    color: #fff;
    text-decoration: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.3s, color 0.3s;
    mix-blend-mode: difference;
}
.logo:hover {
    transform: scale(1.05);
    color: var(--accent);
}

.hero-bg-text-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    white-space: nowrap;
    z-index: 1;
}

.hero-bg-text {
    font-family: 'Caveat', cursive;
    font-size: 35vw;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    font-weight: 700;
    will-change: transform;
    letter-spacing: -2px;
}

.hero-person-wrapper {
    position: relative;
    z-index: 2;
    height: 90vh;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.hero-person {
    position: absolute;
    bottom: 0;
    height: 90vh;
    object-fit: contain;
    filter: contrast(1.1);
    pointer-events: none;
    will-change: opacity;
}

.hero-person-2 {
    opacity: 0;
}

/* BELT SECTION (Thin Curves) */
.belt-section {
    position: relative;
    width: 100%;
    height: 150px; /* Reduced to tighten spacing */
    margin: 2vh 0; /* Reduced vertical margin */
    overflow: hidden;
}

.belt-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}



/* ABOUT SECTION */
.about-section {
    padding: 15vh 10vw;
    display: flex;
    justify-content: center;
}

.about-text {
    font-size: 4vw;
    line-height: 1.2;
    font-weight: 500;
    max-width: 1200px;
    color: rgba(255, 255, 255, 0.8);
}
.about-eyebrow {
    font-family: 'Syncopate', sans-serif;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 2vh;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.about-text div { overflow: hidden; } /* For SplitText */

/* EXPERIENCE - STACKED CARDS */
.experience-section {
    padding: 10vh 10vw;
    background: #111;
}

.experience-header h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 4rem;
    margin-bottom: 5vh;
}

.experience-tracklist {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    padding: 5vh 0 10vh 0;
    z-index: 2;
}

.track-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s ease;
}

.track-item:hover {
    background: rgba(255, 203, 164, 0.03); /* subtle peach hover */
}

.track-header {
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.track-year {
    font-family: 'Space Mono', monospace;
    color: var(--accent);
    width: 200px;
    flex-shrink: 0;
    opacity: 0.8;
}

.track-header h3 {
    font-size: 1.8rem;
    font-family: 'Syncopate', sans-serif;
    letter-spacing: -2px;
    word-spacing: 2.5em;
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 15px;
}

.track-header h3 span {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    letter-spacing: normal;
    word-spacing: normal;
}

.track-details {
    height: 0; /* GSAP will animate this */
    overflow: hidden;
}

.track-content {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    max-width: 80%;
    padding: 0 0 1.5rem 200px;
}

.track-skills {
    list-style: none;
    padding: 0 0 3rem 200px;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.track-skills li {
    background: rgba(255, 203, 164, 0.1);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Space Mono', monospace;
    border: 1px solid rgba(255, 203, 164, 0.2);
}

/* WINS SECTION */
.wins-section {
    padding: 10vh 10vw;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wins-header h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 4rem;
    margin-bottom: 5vh;
}

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

.win-item {
    display: flex;
    padding: 3vh 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: flex-start;
    transition: background 0.3s;
}
.win-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.win-year {
    width: 25%;
    font-family: 'Syncopate', sans-serif;
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding-top: 5px;
}

.win-details {
    width: 75%;
}

.win-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.win-details p {
    font-size: 1.1rem;
    color: #aaa;
    line-height: 1.5;
}

/* RESEARCH SHOWCASE - HORIZONTAL */
.research-section {
    overflow: hidden;
    margin-bottom: 15vh;
}
.research-pin-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10vw;
}
.research-header h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 4rem;
    margin-bottom: 5vh;
}
.horizontal-wrapper {
    display: flex;
    gap: 5vw;
    padding-right: 10vw;
    width: fit-content;
}
.research-card {
    width: 40vw;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--text-color);
}
.research-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
.research-card h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
}

/* FOOTER / SOCIALS */
footer {
    padding: 15vh 10vw;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.footer-container h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 3rem;
    margin-bottom: 5vh;
}
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.social-btn {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.social-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}


/* SVG DECORATORS */
.decorator {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

/* SCATTERED SMALL SVG DECORATORS */
.scattered-svg {
    position: absolute;
    pointer-events: none;
    z-index: 8;
    opacity: 0.85;
}

.pink-relic-svg, .cute-heart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.pink-relic-svg * {
    vector-effect: non-scaling-stroke;
    shape-rendering: crispEdges; 
}

.cute-heart-svg .heart, .cute-heart-svg .small {
    transform-box: fill-box;
    transform-origin: center;
}

/* Individual casual positions */
.hero-svg-1 {
    top: 15vh;
    left: 8vw;
    width: 25px;
    height: 25px;
}

.hero-svg-2 {
    top: 25vh;
    right: 12vw;
    width: 20px;
    height: 20px;
}

.about-svg-1 {
    top: 20px;
    right: 15vw;
    width: 22px;
    height: 22px;
}

.gallery-svg-1 {
    top: 30px;
    left: 6vw;
    width: 28px;
    height: 28px;
}

.research-svg-1 {
    top: 40px;
    right: 10vw;
    width: 25px;
    height: 25px;
}

.wins-svg-1 {
    top: 25px;
    left: 10vw;
    width: 22px;
    height: 22px;
}

.experience-svg-1 {
    top: 10vh;
    right: 15vw;
    width: 25px;
    height: 25px;
}

.experience-svg-2 {
    bottom: 20vh;
    left: 5vw;
    width: 30px;
    height: 30px;
}

/* PLAIN CONTACT INFO IN FOOTER */
.plain-contact-info {
    margin-bottom: 40px;
    font-family: 'Quicksand', sans-serif;
    color: rgba(255, 255, 255, 0.85);
}

.contact-email {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-email span {
    color: var(--accent);
    font-weight: 700;
}

.plain-handles {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    justify-content: center;
    font-size: 0.95rem;
}

.plain-handles strong {
    color: #fff;
}


/* GALLERY GRID (Responsive Masonry) */
.gallery-section {
    padding: 15vh 10vw;
    background: #000;
}
.gallery-header h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 4rem;
    margin-bottom: 10vh;
    text-align: center;
}
.gallery-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10vh 0 15vh 0;
}

.cute-art-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--accent);
    color: #080808;
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, background 0.3s;
    animation: float-btn 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.cute-art-btn:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 10px 25px rgba(255, 203, 164, 0.4);
    background: #fff;
}

.cute-art-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.cute-art-btn:hover .btn-icon {
    transform: translateX(5px) scale(1.1);
}

@keyframes float-btn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================================
   MOBILE RESPONSIVENESS OVERRIDES (< 768px)
   ========================================================= */
@media (max-width: 768px) {
    /* 1. Global Typography */
    .experience-header h2, 
    .research-header h2, 
    .gallery-header h2,
    .wins-header h2,
    .footer-container h2 {
        font-size: 1.8rem !important;
        margin-bottom: 3vh;
    }
    
    .about-text {
        font-size: 1.1rem !important; 
    }

    /* 2. Hero Section */
    .hero-svg-1 {
        top: 25%;
        right: 5%;
        width: 25px;
        height: 25px;
    }
    .hero-svg-2 {
        bottom: 15%;
        left: 5%;
        width: 20px;
        height: 20px;
    }
    .hero-bg-text {
        font-size: 15vw !important;
    }

    /* 3. Belts */
    .belt-section {
        height: 100px;
        margin: 1vh 0;
    }
    .belt-svg text {
        font-size: 1.2rem !important; 
    }

    /* 4. Experience Stacked Cards */
    .track-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 1.5rem 0;
    }
    .track-year {
        width: 100%;
        font-size: 0.8rem !important;
    }
    .track-header h3 {
        font-size: 1.1rem !important;
    }
    .track-content {
        padding-left: 0;
        max-width: 100%;
        font-size: 0.9rem !important;
    }
    .track-skills {
        padding-left: 0;
    }
    
    /* Scattered SVG Stickers Resize - Making them uniformly smaller */
    .scattered-svg {
        transform: scale(0.5) !important;
        transform-origin: center;
    }
    .wins-svg-1 { width: 14px !important; height: 14px !important; }
    .experience-svg-1 { width: 16px !important; height: 16px !important; }
    .experience-svg-2 { width: 18px !important; height: 18px !important; }

    /* 5. Research Horizontal Scroll */
    .research-card {
        min-width: 85vw; 
        height: 50vh;
        margin-right: 3vw;
    }
    .research-card h3 {
        font-size: 1.2rem !important;
    }
    
    /* 6. Contact & Logo Float */
    .floating-contact {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .logo {
        top: 15px;
        left: 15px;
        font-size: 16px;
    }
    
    /* 7. Footer */
    .footer-section {
        padding: 5vh 5vw;
    }
    .plain-handles {
        gap: 10px 15px;
    }
}

@media (max-width: 600px) {
    .cute-art-btn {
        font-size: 1rem;
        padding: 15px 30px;
    }
}
