/* -------------------------------------------------------------
   CORE DESIGN SYSTEM & RESET
------------------------------------------------------------- */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #8a8a93;
    --accent-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: 20px;
    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Syne', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

html, body {
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* -------------------------------------------------------------
   WEBGL CANVAS CONTAINER & CURSOR
------------------------------------------------------------- */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

#custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--text-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* -------------------------------------------------------------
   NAVIGATION HEADER
------------------------------------------------------------- */
.luxury-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(5,5,5,0.8) 0%, rgba(5,5,5,0) 100%);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.4s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

.btn-inquire {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.btn-inquire:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
}

/* -------------------------------------------------------------
   MAIN CONTENT & LAYOUT SECTIONS
------------------------------------------------------------- */
main {
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px 50px;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 10%;
}

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

.subtitle-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #ff3b30;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff3b30;
}

.subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 7.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.title-line.outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 60px;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 20px;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
}

.scroll-line-wrap {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    animation: scroll-line-anim 2s infinite cubic-bezier(0.85, 0, 0.15, 1);
}

@keyframes scroll-line-anim {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* General Layout Structure */
.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-2col {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 80px;
}

.sticky-left {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.section-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Philosophy Section Content */
.content-right {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.philosophical-point {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.point-num {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 15px;
}

.point-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.point-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
}

/* Portfolio Section */
.work-section {
    display: block;
    padding-top: 150px;
}

.section-title-center {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 0.05em;
}

.project-showcase {
    display: flex;
    flex-direction: column;
}

.project-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: padding 0.4s ease;
}

.project-card:first-child {
    border-top: 1px solid var(--border-color);
}

.project-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 8px;
    transition: transform 0.4s ease, color 0.4s ease;
}

.project-name {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.4s ease;
}

.project-year {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

.project-card:hover {
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--glass-bg);
}

.project-card:hover .project-name {
    transform: translateX(10px);
}

.project-card:hover .project-category {
    transform: translateX(10px);
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    justify-content: center;
}

.contact-box {
    text-align: center;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 80px 40px;
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.contact-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 300;
}

.btn-contact {
    display: inline-block;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    transition: all 0.4s ease;
}

.btn-contact:hover {
    color: var(--text-muted);
    border-color: var(--text-color);
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.luxury-footer {
    padding: 50px;
    border-top: 1px solid var(--border-color);
    background-color: #020202;
    position: relative;
    z-index: 1;
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.footer-right {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* -------------------------------------------------------------
   RESPONSIVENESS
------------------------------------------------------------- */
@media (max-width: 992px) {
    .grid-2col {
        grid-template-cols: 1fr;
        gap: 60px;
    }
    
    .sticky-left {
        position: relative;
        top: 0;
    }
    
    .hero-section {
        padding-left: 50px;
    }
    
    .luxury-header {
        padding: 20px 30px;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-action {
        display: none;
    }
    
    section {
        padding: 80px 30px;
    }
    
    .hero-section {
        padding-left: 30px;
    }
}
