/* reasoner.studio - Luxury Creative Studio */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Bodoni Moda (headings), Inter (body) */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #f5f0e8;
    background-color: #1a1a2e;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   CURSOR FOLLOW BOTANICAL ELEMENTS
   ============================================ */

#cursor-follow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-leaf {
    position: absolute;
    pointer-events: none;
    transition: none;
    will-change: transform;
}

.cursor-leaf-1 {
    transform: translate(-50%, -50%) rotate(0deg);
}

.cursor-leaf-2 {
    transform: translate(-50%, -50%) rotate(30deg);
}

.cursor-leaf-3 {
    transform: translate(-50%, -50%) rotate(-20deg);
}

/* ============================================
   NAVIGATION
   ============================================ */

#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 48px;
    z-index: 1000;
    transition: background-color 0.6s ease, padding 0.4s ease;
}

#main-nav.scrolled {
    background-color: rgba(26, 26, 46, 0.95);
    padding: 18px 48px;
    backdrop-filter: blur(12px);
}

.nav-logo {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f5f0e8;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-logo-accent {
    color: #e8b84b;
}

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

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #6c757d;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #e8b84b;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #f5f0e8;
}

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

/* ============================================
   PARALLAX SECTIONS
   ============================================ */

.parallax-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    z-index: 0;
}

.parallax-botanical {
    z-index: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

#hero {
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, rgba(26, 26, 46, 0.95) 60%, rgba(26, 26, 46, 0.85) 100%);
}

.city-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.city-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.botanical-hero {
    position: absolute;
}

.botanical-left {
    left: 0;
    top: 10%;
}

.botanical-right {
    right: 0;
    top: 5%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
    position: relative;
    z-index: 5;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #e8b84b;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    color: #f5f0e8;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease forwards 0.5s;
}

.hero-title-italic {
    font-style: italic;
    color: #e8b84b;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e8b84b, transparent);
    margin: 0 auto 28px auto;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.9s;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: #6c757d;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 40px auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 1.1s;
}

.hero-cta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #e8b84b;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    padding: 14px 36px;
    border: 1px solid rgba(232, 184, 75, 0.4);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 1.3s;
}

.hero-cta:hover {
    background-color: rgba(232, 184, 75, 0.1);
    border-color: #e8b84b;
    color: #f5f0e8;
}

/* ============================================
   WORK SECTION
   ============================================ */

.section-work {
    background-color: #1a1a2e;
    min-height: 100vh;
    padding: 120px 0 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #e8b84b;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    color: #f5f0e8;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.work-card {
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.work-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-card-inner {
    position: relative;
    overflow: hidden;
    background: rgba(74, 144, 217, 0.03);
    border: 1px solid rgba(108, 117, 125, 0.15);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.work-card:hover .work-card-inner {
    border-color: rgba(232, 184, 75, 0.4);
    transform: translateY(-4px);
}

.work-card-visual {
    position: relative;
    overflow: hidden;
}

.work-card-svg {
    width: 100%;
    height: auto;
    display: block;
}

.work-card-info {
    padding: 28px;
}

.work-card-number {
    font-family: 'Bodoni Moda', serif;
    font-size: 0.9rem;
    color: #e8b84b;
    opacity: 0.6;
    display: block;
    margin-bottom: 8px;
}

.work-card-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f5f0e8;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.work-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: #6c757d;
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.section-about {
    background: linear-gradient(180deg, #1a1a2e 0%, rgba(26, 26, 46, 0.98) 50%, #1a1a2e 100%);
    min-height: 100vh;
    padding: 120px 0;
}

.botanical-about {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    align-items: start;
}

.about-left {
    position: sticky;
    top: 40%;
}

.about-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-text:first-of-type {
    color: #f5f0e8;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(108, 117, 125, 0.2);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #e8b84b;
    line-height: 1;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */

.section-philosophy {
    background-color: #1a1a2e;
    min-height: 100vh;
    padding: 120px 0;
    border-top: 1px solid rgba(108, 117, 125, 0.1);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 48px;
    text-align: center;
}

.philosophy-quote {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: #f5f0e8;
    line-height: 1.5;
    margin: 48px 0 80px 0;
    position: relative;
    border: none;
    padding: 0 20px;
}

.quote-mark {
    font-size: 3em;
    color: #e8b84b;
    opacity: 0.4;
    line-height: 0;
    vertical-align: -0.3em;
}

.quote-mark-end {
    vertical-align: -0.5em;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.philosophy-pillar {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid rgba(108, 117, 125, 0.1);
    transition: border-color 0.4s ease;
}

.philosophy-pillar:hover {
    border-color: rgba(232, 184, 75, 0.3);
}

.pillar-icon {
    margin-bottom: 24px;
}

.pillar-icon svg {
    display: inline-block;
}

.pillar-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #f5f0e8;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.pillar-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: #6c757d;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.section-contact {
    background: linear-gradient(180deg, #1a1a2e 0%, rgba(20, 20, 38, 1) 100%);
    min-height: 80vh;
    padding: 120px 0;
}

.city-silhouette-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.city-svg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
}

.contact-divider {
    width: 40px;
    height: 1px;
    background: #e8b84b;
    margin: 40px auto;
    opacity: 0.5;
}

.contact-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-email {
    display: inline-block;
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: #e8b84b;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    margin-bottom: 48px;
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(232, 184, 75, 0.3);
    transition: background-color 0.3s ease;
}

.contact-email:hover {
    color: #f5f0e8;
}

.contact-email:hover::after {
    background-color: #f5f0e8;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 16px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: #e8b84b;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.contact-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #6c757d;
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
    background-color: rgba(20, 20, 38, 1);
    padding: 36px 48px;
    border-top: 1px solid rgba(108, 117, 125, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.1rem;
    color: #f5f0e8;
    opacity: 0.6;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #6c757d;
    letter-spacing: 0.05em;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-left {
        position: static;
    }

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

@media (max-width: 768px) {
    #main-nav {
        padding: 20px 24px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.7rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

    .about-content {
        padding: 0 24px;
    }

    .about-stats {
        gap: 28px;
    }

    .philosophy-content {
        padding: 0 24px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-details {
        flex-direction: column;
        gap: 24px;
    }

    .botanical-left,
    .botanical-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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