/* --- 1. CONFIGURATION & LOFI PALETTE --- */
:root {
    --bg-light: #FAF9F6;      /* Lofi Off-White */
    --left-pane-bg: #F0EAD6;  /* Soft Eggshell */
    --accent-peach: #FFDAB9;  /* Muted Peach */
    --accent-sage: #E7EBC5;   /* Soft Sage */
    --text-dark: #4A4A4A;     /* Soft Charcoal */
    --text-muted: #8E8E8E;    /* Dusty Gray */
    --white: #ffffff;
    --brown-lofi: #5D4037;    /* Coffee Brown for Titles */
}

/* --- 2. GLOBAL RESET & BASE STYLES --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle Paper Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- 3. MASTER TWO-PANE SPLIT LAYOUT --- */
.split-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* Fixed Left Pane Architecture */
.left-pane {
    width: 35%;
    background-color: var(--left-pane-bg);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
    border-right: 1px dashed rgba(93, 64, 55, 0.15);
}

.sticky-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    text-align: center;
}

/* Signature Brand Profile Picture Frame */
.image-frame {
    width: 190px;
    height: 190px;
    background: var(--white);
    padding: 10px;
    border-radius: 24px;
    box-shadow: 12px 12px 0px var(--accent-peach);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.intro-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--brown-lofi);
    margin-bottom: 12px;
    font-weight: 600;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-dark);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Scrollable Right Pane Architecture */
.right-pane {
    width: 65%;
    margin-left: 35%; /* Prevent overlapping the fixed left frame */
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
}

.scroll-content {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
}

/* --- 4. TOP NAVBAR --- */
.navbar {
    position: fixed;
    top: 25px;
    right: 40px;
    z-index: 100;
    pointer-events: none;
}

.logo-img {
    width: 45px;
    height: auto;
    opacity: 0.85;
}

/* --- 5. TYPOGRAPHY & STRUCTURAL CONTENT BLOCKS --- */
.section-block {
    margin-bottom: 70px;
    width: 100%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--brown-lofi);
    margin-bottom: 30px;
    position: relative;
    width: fit-content;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-peach);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-dark);
}

/* --- 6. INTERIOR NEWSPAPER SPLIT SYSTEM (PROJECTS) --- */
.projects-stack {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
}

/* Main Interior Layout Construction Split */
.floating-card.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 30px;
    align-items: center;
    background: var(--white);
    padding: 25px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.01);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.015);
    width: 100% !important; /* Forces total width utility for text balancing */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-card.editorial-grid.active {
    opacity: 1;
}

/* Matching Profile Frame Geometry */
.project-frame {
    width: 100%;
    height: 240px;
    background: var(--white);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 10px 10px 0px var(--accent-peach);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Interior Editorial Typography Elements */
.card-text-pane {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-text-pane h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Technical Badges Row Container */
.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.tech-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--brown-lofi);
    background: var(--bg-light);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px dashed rgba(93, 64, 55, 0.18);
}

/* Problem & Solution Paragraph Splits */
.editorial-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 6px 0 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 12px;
    width: 100%;
}

.editorial-body p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.editorial-body strong {
    color: var(--brown-lofi);
    font-weight: 600;
}

/* --- 7. CONTACT & CONNECT REGION --- */
.contact-info-grid {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.info-label { 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    font-weight: 700; \r\n    color: var(--text-muted); 
    letter-spacing: 1px;
}

.contact-link {
    text-decoration: none;
    color: var(--brown-lofi);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-peach);
    width: fit-content;
    transition: all 0.3s ease;
    padding-bottom: 2px;
    font-size: 0.9rem;
}

.contact-link:hover {
    color: var(--text-dark);
    border-bottom-color: var(--accent-sage);
}

/* --- 8. SYSTEM RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
    .floating-card.editorial-grid {
        grid-template-columns: 1fr; /* Drop newspaper column split inside card footprint */
        gap: 25px;
        padding: 24px;
    }
    .project-frame {
        max-width: 380px;
        height: 220px;
        margin: 0 auto; /* Keeps project visualizations centered on scaled views */
    }
}

@media (max-width: 850px) {
    .split-container {
        flex-direction: column;
    }
    .left-pane {
        position: relative;
        width: 100%;
        border-right: none;
        border-bottom: 1px dashed rgba(93, 64, 55, 0.15);
        padding: 50px 30px;
    }
    .right-pane {
        width: 100%;
        margin-left: 0;
        padding: 50px 25px;
    }
    .navbar {
        position: absolute;
        top: 20px;
        right: 20px;
    }
}/* --- 1. CONFIGURATION & LOFI PALETTE --- */
:root {
    --bg-light: #FAF9F6;      /* Lofi Off-White */
    --left-pane-bg: #F0EAD6;  /* Soft Eggshell */
    --accent-peach: #FFDAB9;  /* Muted Peach */
    --accent-sage: #E7EBC5;   /* Soft Sage */
    --text-dark: #4A4A4A;     /* Soft Charcoal */
    --text-muted: #8E8E8E;    /* Dusty Gray */
    --white: #ffffff;
    --brown-lofi: #5D4037;    /* Coffee Brown for Titles */
}

/* --- 2. GLOBAL RESET & BASE STYLES --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle Paper Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- 3. MASTER TWO-PANE SPLIT LAYOUT --- */
.split-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* Fixed Left Pane Architecture */
.left-pane {
    width: 35%;
    background-color: var(--left-pane-bg);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
    border-right: 1px dashed rgba(93, 64, 55, 0.15);
}

.sticky-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    text-align: center;
}

/* Signature Brand Profile Picture Frame */
.image-frame {
    width: 190px;
    height: 190px;
    background: var(--white);
    padding: 10px;
    border-radius: 24px;
    box-shadow: 12px 12px 0px var(--accent-peach);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.intro-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--brown-lofi);
    margin-bottom: 12px;
    font-weight: 600;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-dark);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Scrollable Right Pane Architecture */
.right-pane {
    width: 65%;
    margin-left: 35%; /* Prevent overlapping the fixed left frame */
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
}

.scroll-content {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
}

/* --- 4. TOP NAVBAR --- */
.navbar {
    position: fixed;
    top: 25px;
    right: 40px;
    z-index: 100;
    pointer-events: none;
}

.logo-img {
    width: 45px;
    height: auto;
    opacity: 0.85;
}

/* --- 5. TYPOGRAPHY & STRUCTURAL CONTENT BLOCKS --- */
.section-block {
    margin-bottom: 70px;
    width: 100%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--brown-lofi);
    margin-bottom: 30px;
    position: relative;
    width: fit-content;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-peach);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-dark);
}

/* --- 6. INTERIOR NEWSPAPER SPLIT SYSTEM (PROJECTS) --- */
.projects-stack {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
}

/* Main Interior Layout Construction Split */
.floating-card.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 30px;
    align-items: center;
    background: var(--white);
    padding: 25px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.01);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.015);
    width: 100% !important;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-card.editorial-grid.active {
    opacity: 1;
}

/* Matching Profile Frame Geometry */
.project-frame {
    width: 100%;
    height: 240px;
    background: var(--white);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 10px 10px 0px var(--accent-peach);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Interior Editorial Typography Elements */
.card-text-pane {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-text-pane h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Technical Badges Row Container */
.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.tech-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--brown-lofi);
    background: var(--bg-light);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px dashed rgba(93, 64, 55, 0.18);
}

/* Problem & Solution Paragraph Splits */
.editorial-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 6px 0 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 12px;
    width: 100%;
}

.editorial-body p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.editorial-body strong {
    color: var(--brown-lofi);
    font-weight: 600;
}

/* --- 7. CONTACT & CONNECT REGION --- */
.contact-info-grid {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.info-label { 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    font-weight: 700; 
    color: var(--text-muted); 
    letter-spacing: 1px;
}

.contact-link {
    text-decoration: none;
    color: var(--brown-lofi);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-peach);
    width: fit-content;
    transition: all 0.3s ease;
    padding-bottom: 2px;
    font-size: 0.9rem;
}

.contact-link:hover {
    color: var(--text-dark);
    border-bottom-color: var(--accent-sage);
}

/* --- 8. SYSTEM RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
    .floating-card.editorial-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 24px;
    }
    .project-frame {
        max-width: 380px;
        height: 220px;
        margin: 0 auto;
    }
}

@media (max-width: 850px) {
    .split-container {
        flex-direction: column;
    }
    .left-pane {
        position: relative;
        width: 100%;
        border-right: none;
        border-bottom: 1px dashed rgba(93, 64, 55, 0.15);
        padding: 50px 30px;
    }
    .right-pane {
        width: 100%;
        margin-left: 0;
        padding: 50px 25px;
    }
    .navbar {
        position: absolute;
        top: 20px;
        right: 20px;
    }
}
