/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #FFFFFF;
    --text: #222222;
    --text-light: rgba(34, 34, 34, 0.64);
    --accent: #FF5400;
    --accent-light: rgba(255, 84, 0, 0.64);
    --muted: #E1DEDB;
    --link: #0080FF;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-nav: 'DM Sans', 'Times New Roman', serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

em {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent);
}

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

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 84, 0, 0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}

body.cursor-hover .cursor {
    width: 16px;
    height: 16px;
    background: transparent;
    border: 2px solid var(--accent);
}

body.cursor-hover .cursor-follower {
    width: 50px;
    height: 50px;
    border-color: rgba(255, 84, 0, 0.5);
}

/* ============================================
   FIXED NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    transition: border-color 0.3s, padding 0.3s var(--ease-out);
}

.nav.scrolled {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    padding: 14px 40px;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-nav);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.64);
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width 0.4s var(--ease-out);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   FIXED COPYRIGHT
   ============================================ */
.fixed-copyright {
    position: fixed;
    bottom: 24px;
    left: 40px;
    font-family: var(--font-nav);
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    text-transform: uppercase;
}

/* ============================================
   PAGE INDICATOR (right side dots)
   ============================================ */
.page-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s, transform 0.3s var(--ease-out);
    cursor: pointer;
}

.indicator-dot.active {
    background: var(--accent);
    transform: scale(1.4);
}

.indicator-dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* ============================================
   SECTIONS — GENERAL
   ============================================ */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px;
}

/* Section Label */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.label-number {
    font-family: var(--font-nav);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 500;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.label-text {
    font-family: var(--font-nav);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECTION 1: HOME
   ============================================ */
.section-home {
    justify-content: center;
    padding: 0 60px;
    min-height: 100vh;
}

.home-content {
    max-width: 900px;
}

.home-greeting {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.greeting-line {
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.greeting-text {
    font-family: var(--font-nav);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 400;
}

.home-name {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 24px;
}

.name-line {
    display: block;
    font-size: clamp(64px, 10vw, 120px);
    color: var(--text);
    position: relative;
}

.home-tagline {
    margin-bottom: 20px;
}

.home-tagline p {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--accent);
    font-style: italic;
}

.home-subtitle {
    margin-bottom: 40px;
    max-width: 520px;
}

.home-subtitle p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

/* CTA Buttons */
.home-cta {
    display: flex;
    gap: 16px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-family: var(--font-nav);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--text);
    background: var(--text);
    color: var(--bg);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.4s var(--ease-out);
    z-index: 0;
}

.cta-btn:hover::before {
    left: 0;
}

.cta-btn:hover {
    border-color: var(--accent);
}

.cta-btn span,
.cta-btn {
    position: relative;
    z-index: 1;
}

.cta-outline {
    background: transparent;
    color: var(--text);
}

.cta-outline:hover {
    color: #fff;
}

/* Scroll Indicator */
.home-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

.home-scroll-indicator span {
    font-family: var(--font-nav);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    writing-mode: vertical-rl;
}

/* ============================================
   SECTION 2: ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.about-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 32px;
    color: var(--text);
}

.about-description {
    margin-bottom: 40px;
}

.about-description p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 300;
}

.about-skills {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-group {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.skill-group h4 {
    font-family: var(--font-nav);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 500;
}

.skill-group p {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 300;
}

/* About Image */
.about-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-nav);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.2);
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    border: 1px solid var(--accent);
    z-index: -1;
}

/* ============================================
   SECTION 3: STUDIO WORK
   ============================================ */
.section-work {
    background: var(--bg);
}

.work-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--text);
}

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

.project-card {
    position: relative;
}

.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 20px;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-nav);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-image-placeholder {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 84, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s;
}

.project-card:hover .project-overlay {
    background: rgba(255, 84, 0, 0.85);
}

.project-view {
    font-family: var(--font-nav);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.project-card:hover .project-view {
    opacity: 1;
    transform: translateY(0);
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
}

.project-category {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 2px;
}

.project-year {
    font-family: var(--font-nav);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
}

/* ============================================
   SECTION 4: PLAYGROUND
   ============================================ */
.section-playground {
    background: #FAFAFA;
}

.playground-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text);
}

.playground-subtitle {
    font-size: 15px;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 60px;
    font-weight: 300;
}

.playground-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.playground-item {
    cursor: pointer;
}

.playground-thumb {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 32px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    transition: transform 0.4s var(--ease-out);
    overflow: hidden;
}

.playground-item:hover .playground-thumb {
    transform: scale(0.96);
}

.playground-item h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.playground-item p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
}

/* ============================================
   SECTION 5: EXPERIENCE
   ============================================ */
.experience-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--text);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.08);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--bg);
    z-index: 1;
    transition: background 0.3s;
}

.timeline-item:hover .timeline-marker {
    background: var(--accent);
}

.timeline-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
}

.timeline-period {
    font-family: var(--font-nav);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 400;
}

.timeline-company {
    font-family: var(--font-nav);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 400;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 560px;
    font-weight: 300;
}

/* ============================================
   SECTION 6: CONTACT
   ============================================ */
.section-contact {
    min-height: 100vh;
}

.contact-content {
    max-width: 700px;
}

.contact-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 48px;
    font-weight: 300;
}

.contact-links {
    display: flex;
    flex-direction: column;
}

.contact-link-item {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transition: padding-left 0.4s var(--ease-out);
}

.contact-link-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-link-item:hover {
    padding-left: 12px;
}

.contact-link-label {
    font-family: var(--font-nav);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    width: 100px;
    flex-shrink: 0;
    font-weight: 500;
}

.contact-link-value {
    font-size: 15px;
    color: var(--text);
    flex: 1;
    font-weight: 400;
    transition: color 0.3s;
}

.contact-link-item:hover .contact-link-value {
    color: var(--accent);
}

.contact-arrow {
    font-size: 18px;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.contact-link-item:hover .contact-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 900px) {
    .nav {
        padding: 16px 24px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 10px;
    }

    .section-inner {
        padding: 100px 32px;
    }

    .section-home {
        padding: 0 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-right {
        order: -1;
    }

    .about-image-wrapper {
        max-width: 300px;
    }

    .projects-grid {
        gap: 28px;
    }

    .playground-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fixed-copyright {
        left: 24px;
    }

    .home-scroll-indicator {
        left: 32px;
    }

    .page-indicator {
        right: 16px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 600px) {
    .nav {
        padding: 12px 20px;
    }

    .nav-links {
        gap: 14px;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .section-inner {
        padding: 80px 20px;
    }

    .section-home {
        padding: 0 20px;
    }

    .name-line {
        font-size: 52px;
    }

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

    .playground-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .timeline {
        padding-left: 32px;
    }

    .timeline-header {
        flex-direction: column;
        gap: 4px;
    }

    .contact-link-item {
        flex-wrap: wrap;
        gap: 4px;
    }

    .contact-link-label {
        width: 100%;
    }

    .fixed-copyright {
        left: 20px;
        bottom: 16px;
    }

    .home-scroll-indicator {
        left: 20px;
    }

    .page-indicator {
        display: none;
    }

    .cursor, .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    .home-cta {
        flex-direction: column;
    }

    .cta-btn {
        text-align: center;
        justify-content: center;
    }
}
