:root {
    --primary-color: #6B3A2A;
    --primary-light: #8B5A3C;
    --primary-dark: #4A2518;
    --accent-gold: #C9A87C;
    --text-dark: #2C1810;
    --text-light: rgba(44, 24, 16, 0.7);
    --text-muted: rgba(44, 24, 16, 0.55);
    --bg-light: #FAF5EF;
    --bg-white: #FFFFFF;
    --bg-cream: #F0E6D6;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --shadow-sm: 0 2px 10px rgba(44,24,16,0.06);
    --shadow-md: 0 10px 30px rgba(44,24,16,0.1);
    --shadow-lg: 0 20px 50px rgba(44,24,16,0.15);
    --shadow-xl: 0 30px 60px rgba(44,24,16,0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

/* Ultra-thin luxury scrollbar */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(107, 58, 42, 0.2);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 58, 42, 0.5);
}

::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

@supports not selector(::-webkit-scrollbar) {
    html {
        scrollbar-width: thin;
        scrollbar-color: rgba(107, 58, 42, 0.2) transparent;
    }
}

/* Global right-edge scroll progress hairline */
.scroll-progress-track {
    position: fixed;
    right: 0;
    top: 80px;
    bottom: 0;
    width: 2px;
    background: rgba(44, 24, 16, 0.06);
    z-index: 105;
    pointer-events: none;
}

.scroll-progress-fill {
    width: 100%;
    height: 100%;
    background: #8B5A3C;
    transform-origin: top;
    transform: scaleY(0);
}

@media (max-width: 768px) {
    .scroll-progress-track {
        display: none;
    }
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

/* ====== PRELOADER ====== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FAF5EF;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    box-shadow: 15px 0 35px rgba(44, 24, 16, 0.15);
    transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.85s;
    will-change: transform;
}

.preloader.hidden {
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    max-width: 90vw;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease;
}

.preloader.hidden .preloader-content {
    transform: translateX(-30%);
    opacity: 0;
}

.preloader-logo {
    width: 160px;
    max-width: 70vw;
    height: auto;
    animation: preloaderPulse 2s infinite ease-in-out;
    margin-bottom: 20px;
}

.preloader-subtext {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: #6B3A2A;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
}

.preloader-bar-container {
    width: 220px;
    max-width: 80vw;
    height: 4px;
    background: rgba(107, 58, 42, 0.12);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #6B3A2A 0%, #C9A87C 50%, #6B3A2A 100%);
    border-radius: 4px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(201, 168, 124, 0.5);
}

.preloader-percent {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(44, 24, 16, 0.6);
    margin-top: 10px;
    letter-spacing: 1px;
}

@keyframes preloaderPulse {
    0% { transform: scale(0.96); opacity: 0.85; }
    50% { transform: scale(1.04); opacity: 1; filter: drop-shadow(0 4px 12px rgba(107, 58, 42, 0.15)); }
    100% { transform: scale(0.96); opacity: 0.85; }
}

@media (max-width: 768px) {
    .preloader-logo {
        width: 130px;
    }
    .preloader-subtext {
        font-size: 0.75rem;
        letter-spacing: 3px;
        margin-bottom: 18px;
    }
    .preloader-bar-container {
        width: 180px;
        height: 3.5px;
    }
}

/* ====== HEADER / NAVBAR ====== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15vw;
    align-items: center;
    padding: 5px 50px;
    background: rgba(250, 245, 239, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(44, 24, 16, 0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 2px 50px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    text-align: center;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.logo-text span {
    font-size: 0.6rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 20px;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: calc(100% - 40px);
    height: 1px;
    background-color: transparent;
    transition: background-color 0.3s ease, height 0.3s ease;
}

.nav a:hover, .nav a.active {
    color: var(--primary-color);
}

.nav a.active::before, .nav a:hover::before {
    height: 2px;
    background-color: var(--primary-color);
}

/* Nav CTA Button */
.nav ul {
    align-items: center;
}

.nav a.nav-cta {
    background: var(--primary-color);
    color: #FFFFFF !important;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 12px;
    position: relative;
    top: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(107, 58, 42, 0.15);
}

.nav a.nav-cta::before {
    display: none;
}

.nav a.nav-cta:hover {
    background: var(--primary-dark);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 58, 42, 0.25);
}

.nav a.nav-cta.active {
    background: var(--primary-dark);
}

/* ====== HERO SECTION ====== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 10s ease-out;
}

.hero:hover .hero-bg {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.24), rgba(0,0,0,0.48));
}

.hero-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    mix-blend-mode: normal;
}

.hero-title-small {
    font-family: var(--font-heading);
    font-size: 3.5vw;
    font-weight: 800;
    line-height: 1;
    margin-bottom: -1vw;
    letter-spacing: -2px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
    opacity: 0;
    animation: premiumSlideRight 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero-title-large {
    font-family: var(--font-heading);
    font-size: 10vw;
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -3px;
    text-shadow: 2px 2px 30px rgba(0,0,0,0.3);
    opacity: 0;
    animation: premiumSlideRight 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 30px;
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 15px rgba(0,0,0,0.6);
    opacity: 0;
    animation: premiumFadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    animation: premiumFadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.1s;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: #fff;
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@keyframes premiumFadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes premiumSlideRight {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ====== CONTENT SECTIONS ====== */
.content-section {
    padding: 40px 24px;
    width: 100%;
}

.container {
    max-width: 1100px; /* Reduced from 1400px for a more compact, premium layout */
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px; /* Reduced from 50px */
}

.content-section .container {
    max-width: 1180px;
    background-color: #EFECE6;
    border-radius: 20px;
    padding: 50px;
}

.content-section.right-image .container {
    justify-content: flex-end;
}

.content-section.left-image .container {
    justify-content: flex-start;
}

.image-wrapper {
    flex: 0 0 70%;
    height: 55vh; /* Reduced from 70vh */
    min-height: 400px;
    max-height: 550px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-radius: 4px; /* Slight rounding for a premium edge */
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.card {
    width: 45%; /* Slightly wider relative to the narrower container */
    max-width: 440px; /* Capped size */
    background: var(--bg-white);
    padding: 40px 40px; /* Tighter internal spacing */
    position: absolute;
    z-index: 10;
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 4px;
}

.content-section.right-image .card {
    left: 50px; /* Flush with container padding */
}

.content-section.left-image .card {
    right: 50px; /* Flush with container padding */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(44,24,16,0.12);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.divider {
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 20px;
}

.card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.arrow-link {
    display: inline-block;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    overflow: hidden;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.arrow-link:hover .arrow {
    transform: translateX(10px);
    color: var(--primary-color);
}

/* ====== BLUEPRINT 2D-TO-3D SHOWCASE (HOME PAGE) ====== */
.blueprint-showcase {
    background: var(--bg-light, #FAF5EF);
    border-top: 1px solid rgba(44, 24, 16, 0.08);
    padding: 96px 0;
}

.blueprint-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.blueprint-kicker {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8B5A3C;
    margin-bottom: 14px;
}

.blueprint-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    font-weight: 400;
    line-height: 1.18;
    color: #2C1810;
    margin-bottom: 16px;
}

.blueprint-lead {
    font-size: 0.96rem;
    line-height: 1.75;
    color: rgba(44, 24, 16, 0.68);
    max-width: 50ch;
    margin-bottom: 32px;
}

.blueprint-tabs {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(44, 24, 16, 0.09);
    margin-bottom: 32px;
}

.blueprint-tab {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(44, 24, 16, 0.09);
    border-left: 2px solid transparent;
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}

.blueprint-tab:hover {
    background: rgba(139, 90, 60, 0.04);
}

.blueprint-tab.active {
    border-left-color: #8B5A3C;
    background: rgba(139, 90, 60, 0.06);
}

.bp-tab-num {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #8B5A3C;
    padding-top: 3px;
}

.bp-tab-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bp-tab-text strong {
    font-size: 0.96rem;
    font-weight: 500;
    color: #2C1810;
}

.bp-tab-text small {
    font-size: 0.8rem;
    color: rgba(44, 24, 16, 0.56);
}

.blueprint-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.bp-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #8B5A3C;
    color: #FAF5EF;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 0.25s ease;
}

.bp-primary-btn:hover {
    background: #6B3A2A;
}

.bp-secondary-link {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8B5A3C;
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 90, 60, 0.35);
    padding-bottom: 3px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.bp-secondary-link:hover {
    color: #2C1810;
    border-color: #2C1810;
}

.blueprint-stage {
    background: #FFFFFF;
    border: 1px solid rgba(44, 24, 16, 0.1);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 20px 50px rgba(44, 24, 16, 0.06);
}

.blueprint-stage-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(44, 24, 16, 0.08);
}

.bp-stage-spec {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(44, 24, 16, 0.56);
}

.bp-mode-toggle {
    display: inline-flex;
    background: #F4EFE8;
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.bp-mode-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(44, 24, 16, 0.6);
    cursor: pointer;
    transition: all 0.25s ease;
}

.bp-mode-btn.active {
    background: #8B5A3C;
    color: #FAF5EF;
}

.blueprint-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #FAF8F5;
    border-radius: 10px;
    overflow: hidden;
}

.blueprint-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease;
}

.blueprint-frame.is-render img {
    object-fit: cover;
}

.view-all-link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.view-all-link a.view-all-secondary {
    background: transparent;
    color: #8B5A3C;
    border-color: rgba(139, 90, 60, 0.4);
}

.view-all-link a.view-all-secondary:hover {
    background: #8B5A3C;
    color: #FAF5EF;
    border-color: #8B5A3C;
}

@media (max-width: 1024px) {
    .blueprint-inner {
        grid-template-columns: 1fr;
        padding: 0 32px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .blueprint-showcase { padding: 64px 0; }
    .blueprint-inner { padding: 0 20px; }
}

/* ====== PROJECTS GRID (Landing Page - Compact) ====== */
.projects-preview {
    padding: 80px 0 60px;
    background: var(--bg-white);
}

.projects-preview .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-preview .section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.projects-preview .section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.projects-grid.compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Editorial 2-Column Featured Projects on Landing Page */
.projects-preview .projects-grid.compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 52px 42px;
    max-width: 1380px;
    padding: 48px 60px 20px;
    border-top: 1px solid rgba(44, 24, 16, 0.08);
}

.projects-preview .projects-grid.compact .project-card:not(.ls-project-card) {
    aspect-ratio: auto;
    height: auto;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.projects-preview .project-card:hover {
    transform: none;
    box-shadow: none;
}

.projects-preview .project-card-overlay {
    display: none;
}

.editorial-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #EFECE6;
}

.editorial-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-preview .project-card:hover .editorial-card-media img {
    transform: scale(1.04);
}

.projects-preview .project-photo-count {
    top: auto;
    bottom: 12px;
    right: 12px;
    border-radius: 6px;
    background: rgba(20, 14, 10, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projects-preview .project-card:hover .project-photo-count {
    opacity: 1;
    background: rgba(20, 14, 10, 0.78);
}

.editorial-card-body {
    padding: 18px 2px 0;
    display: flex;
    flex-direction: column;
}

.editorial-card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.editorial-card-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8B5A3C;
}

.editorial-card-type {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(44, 24, 16, 0.52);
}

.editorial-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 400;
    color: #2C1810;
    line-height: 1.3;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.projects-preview .project-card:hover .editorial-card-title {
    color: #6B3A2A;
}

.editorial-card-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(44, 24, 16, 0.65);
    max-width: 46ch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .projects-preview .projects-grid.compact {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 32px 20px 10px;
    }
    .editorial-card-desc {
        max-width: 100%;
    }
}

.project-card:not(.ls-project-card) {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.projects-grid.compact .project-card {
    aspect-ratio: 4 / 3;
}

.project-photo-count {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(28, 16, 12, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    transition: background 0.3s ease;
}

.project-card:hover .project-photo-count {
    background: rgba(107, 58, 42, 0.9);
}

.project-card-pill {
    display: inline-block;
    background: rgba(107, 58, 42, 0.9);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.project-card-meta {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 18px 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card-overlay {
    transform: translateY(0);
}

.project-card-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.project-card-overlay span {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.view-all-link {
    text-align: center;
    margin-top: 56px;
}

.view-all-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 36px;
    border: 1.5px solid var(--primary-color);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.view-all-link a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 154, 107, 0.3);
}

/* ====== PROJECTS PAGE (Full Grid) ====== */
.projects-page {
    padding-top: 0;
    padding-bottom: 80px;
    min-height: 80vh;
}

.page-header-banner {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 50px;
}

.banner-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
}

.page-header-banner .section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 70px 20px 0;
}

.page-header-banner .section-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.page-header-banner .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ====== SHARED EDITORIAL STICKY BANNER & OVERLAP SHEET ====== */
.editorial-sticky-banner {
    position: sticky;
    top: 0;
    z-index: 1;
    justify-content: flex-start;
    height: 64vh;
    min-height: 440px;
    margin-bottom: 0;
}

.editorial-sticky-banner .banner-overlay {
    background: linear-gradient(95deg, rgba(16, 10, 6, 0.82) 0%, rgba(16, 10, 6, 0.52) 55%, rgba(16, 10, 6, 0.28) 100%);
}

.editorial-sticky-banner .section-header {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 75px 60px 0;
    text-align: left;
    position: relative;
    z-index: 2;
    color: #fff;
}

.editorial-sticky-banner .section-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 6.5vw, 5.2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 18px;
}

.editorial-sticky-banner .section-header .divider {
    width: 56px;
    height: 2px;
    background-color: #C9A87C;
    margin: 0 0 18px 0;
}

.editorial-sticky-banner .section-header p {
    margin: 0;
    max-width: 540px;
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 300;
}

.editorial-overlap-sheet {
    position: relative;
    z-index: 2;
    background-color: var(--bg-light, #FAF5EF);
    border-radius: 28px 28px 0 0;
    margin-top: -28px;
    overflow: hidden;
    box-shadow: 0 -24px 60px rgba(20, 12, 8, 0.22);
}

@media (max-width: 768px) {
    .editorial-sticky-banner {
        height: 52vh;
        min-height: 360px;
    }
    .editorial-sticky-banner .section-header {
        padding: 60px 20px 0;
    }
    .editorial-sticky-banner .section-header h1,
    .editorial-sticky-banner .section-header p {
        padding: 0;
    }
    .editorial-overlap-sheet {
        border-radius: 22px 22px 0 0;
        margin-top: -22px;
    }
}

.projects-page .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
}

.projects-page .project-card:not(.ls-project-card) {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
}

/* ====== PREMIUM PROJECT MODAL ====== */
.project-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 8, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    padding: 24px;
}

.project-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.project-modal {
    position: relative;
    background: #FAF5EF;
    border: 1px solid rgba(201, 168, 124, 0.3);
    border-radius: 24px;
    max-width: 1050px;
    width: 95vw;
    max-height: 88vh;
    overflow: hidden;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(201, 168, 124, 0.15);
    transform: scale(0.92) translateY(24px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.project-modal-backdrop.active .project-modal {
    transform: scale(1) translateY(0);
}

.project-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(107, 58, 42, 0.2);
    background: rgba(250, 245, 239, 0.9);
    backdrop-filter: blur(8px);
    color: #6B3A2A;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.project-modal-close:hover {
    background: #6B3A2A;
    color: #FFFFFF;
    border-color: #6B3A2A;
    transform: rotate(90deg) scale(1.05);
}

.project-modal-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    height: 100%;
    max-height: 88vh;
    overflow: hidden;
}

.project-modal-image-col {
    position: relative;
    background: #140E0A;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 400px;
}

.modal-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.project-modal:hover .modal-image-wrapper img {
    transform: scale(1.02);
}

.modal-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(20, 14, 10, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 168, 124, 0.35);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FAF5EF;
    font-size: 0.78rem;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.modal-image-badge .badge-dot {
    width: 7px;
    height: 7px;
    background: #C9A87C;
    border-radius: 50%;
    box-shadow: 0 0 8px #C9A87C;
}

.project-modal-info-col {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    background: #FAF5EF;
}

.modal-header-meta .modal-category-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #C9A87C;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.modal-header-meta h3 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 600;
    color: #2C1810;
    line-height: 1.25;
    margin-bottom: 14px;
}

.modal-gold-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6B3A2A, #C9A87C);
    border-radius: 3px;
    margin-bottom: 20px;
}

.modal-description-wrapper p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(44, 24, 16, 0.8);
    margin-bottom: 24px;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    background: rgba(107, 58, 42, 0.04);
    border: 1px solid rgba(107, 58, 42, 0.08);
    border-radius: 14px;
    margin-bottom: 28px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(44, 24, 16, 0.5);
    font-weight: 600;
    margin-bottom: 4px;
}

.spec-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6B3A2A;
}

.modal-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #6B3A2A 0%, #4A2518 100%);
    color: #FAF5EF;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(107, 58, 42, 0.25);
    transition: all 0.3s ease;
}

.modal-cta-btn:hover {
    background: linear-gradient(135deg, #8B5A3C 0%, #6B3A2A 100%);
    box-shadow: 0 15px 35px rgba(107, 58, 42, 0.35);
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* ====== MODAL IMAGE CAROUSEL ====== */
.modal-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.modal-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.modal-carousel-track.is-dragging {
    transition: none;
}

.modal-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.modal-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 168, 124, 0.4);
    background: rgba(20, 14, 10, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FAF5EF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    padding: 0;
}

.modal-carousel:hover .modal-carousel-arrow,
.modal-carousel-arrow:focus {
    opacity: 1;
}

.modal-carousel-arrow:hover {
    background: rgba(107, 58, 42, 0.9);
    border-color: #C9A87C;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 25px rgba(107, 58, 42, 0.45);
}

.modal-carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-carousel-arrow--prev {
    left: 16px;
}

.modal-carousel-arrow--next {
    right: 16px;
}

.modal-carousel-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modal-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
    background: rgba(20, 14, 10, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 124, 0.2);
}

.modal-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(250, 245, 239, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-carousel-dot.active {
    background: #C9A87C;
    box-shadow: 0 0 8px rgba(201, 168, 124, 0.6);
    transform: scale(1.25);
}

.modal-carousel-dot:hover:not(.active) {
    background: rgba(250, 245, 239, 0.6);
}

.modal-carousel-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(20, 14, 10, 0.7);
    backdrop-filter: blur(8px);
    color: #FAF5EF;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 124, 0.25);
    z-index: 15;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .modal-carousel-arrow {
        width: 36px;
        height: 36px;
        opacity: 0.85;
    }
    .modal-carousel-arrow--prev {
        left: 8px;
    }
    .modal-carousel-arrow--next {
        right: 8px;
    }
    .modal-carousel-arrow svg {
        width: 16px;
        height: 16px;
    }
    .modal-carousel-dots {
        padding: 5px 10px;
        gap: 6px;
        bottom: 12px;
    }
    .modal-carousel-dot {
        width: 6px;
        height: 6px;
    }
    .modal-carousel-counter {
        top: 10px;
        left: 10px;
        right: auto;
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    .modal-image-badge {
        display: none;
    }
}


.quote-section {
    background: var(--bg-white);
}

/* ====== ANIMATIONS ====== */
.reveal {
    opacity: 0;
    clip-path: inset(10% 0 0 0);
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                clip-path 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}

.reveal img {
    transform: scale(1.08);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active img {
    transform: scale(1);
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Approach Cards Fan-Out Deck */
.content-section .image-wrapper.reveal {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-section .card {
    transition: box-shadow 0.35s ease;
    will-change: transform;
}

.approach-grid {
    position: relative;
}

.approach-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid rgba(44, 24, 16, 0.06);
    box-shadow: 0 12px 35px rgba(44, 24, 16, 0.05);
    will-change: transform, opacity;
}

@media (min-width: 769px) {
    .approach-grid .approach-card.fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ====== STICKY VIDEO SCROLL INTERLUDE (HOME PAGE) ====== */
.world-interlude {
    position: relative;
    height: 360vh;
    z-index: 1;
    background: #181613;
}

.world-interlude-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #181613;
}

.world-interlude::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 20vh;
    background: linear-gradient(to bottom, var(--bg-cream, #F0E6D6) 0%, #181613 100%);
    z-index: 4;
    pointer-events: none;
}

.world-interlude::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 22vh;
    background: linear-gradient(to bottom, #181613 0%, var(--bg-white, #FFFFFF) 100%);
    z-index: 4;
    pointer-events: none;
}

.world-interlude-video,
.world-interlude-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.world-interlude-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 22, 19, 0.42);
    pointer-events: none;
}

.world-interlude-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    opacity: 0;
    will-change: transform, opacity;
}

.world-interlude-kicker {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.6rem, 3.6vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.15;
    color: #FAF5EF;
    margin-bottom: 6px;
}

.world-interlude-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.9rem, 4.4vw, 3.85rem);
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.15;
    color: #D9B283;
}

.header.interlude-hidden {
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
}

@media (max-width: 768px) {
    .world-interlude {
        height: 260vh;
    }
}

/* Staggered grid animation */
.project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ====== FOOTER ====== */
.site-footer {
    background: #F4EFE8;
    border-top: 1px solid rgba(44, 24, 16, 0.08);
    margin-top: 0;
    padding-top: 72px;
    padding-bottom: 28px;
    position: relative;
    z-index: 2;
    color: #2C1810;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 60px 56px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 54px;
    width: auto;
    margin-bottom: 24px;
    align-self: flex-start;
}

.footer-logo p {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 400;
    color: rgba(44, 24, 16, 0.56);
    margin-bottom: 28px;
    line-height: 1.85;
    letter-spacing: 0.14em;
    max-width: 34ch;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(44, 24, 16, 0.16);
    color: rgba(44, 24, 16, 0.78);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #8B5A3C;
    border-color: #8B5A3C;
    color: #FAF5EF;
}

.footer-socials svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(44, 24, 16, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 22px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    text-decoration: none;
    color: rgba(44, 24, 16, 0.78);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.25s ease;
}

.footer-col ul li a:hover {
    color: #8B5A3C;
}

.footer-col p {
    color: rgba(44, 24, 16, 0.78);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 14px;
    font-weight: 400;
}

.footer-col a.footer-link {
    display: block;
    color: #8B5A3C;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 12px;
    transition: color 0.25s ease;
}

.footer-col a.footer-link:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    background: transparent;
    color: rgba(44, 24, 16, 0.48);
    border-top: 1px solid rgba(44, 24, 16, 0.08);
    padding: 24px 60px 0;
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #6D4C41;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* ====== ABOUT PAGE ====== */
.about-container {
    display: flex;
    height: 100vh;
    padding-top: 70px;
    background-color: var(--bg-light);
}

.about-image {
    flex: 1;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background-color: var(--bg-cream);
}

.about-page .about-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 72px 60px 80px;
    height: auto;
    gap: 64px;
    align-items: center;
}

.about-page .about-image {
    flex: 0 0 46%;
    height: 540px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-page .about-image img {
    object-position: center 20%;
}

.about-page .about-content {
    background-color: transparent;
    padding: 0 16px;
}

@media (max-width: 768px) {
    .about-page .about-container {
        padding: 36px 20px 56px;
        gap: 32px;
    }
    .about-page .about-image {
        flex: none;
        width: 100%;
        height: 360px;
        border-radius: 12px;
    }
    .about-page .about-content {
        padding: 0;
    }
}

.quote-mark {
    font-size: 6rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 300;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.about-author {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
}

/* ====== CONTACT PAGE ====== */
.contact-page {
    padding-top: 130px;
    padding-bottom: 80px;
    min-height: calc(100vh - 120px);
}

.contact-page .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-page .section-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-page .section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.2rem;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .content-section {
        padding: 36px 16px;
    }

    .container {
        flex-direction: column !important;
        padding: 0 20px;
    }

    .content-section .container {
        padding: 24px 20px 32px;
        border-radius: 16px;
    }
    
    .image-wrapper {
        order: 1;
        flex: none;
        width: 100%;
        height: 300px;
        min-height: 0;
        max-height: none;
    }

    .image-wrapper img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .card {
        order: 2;
        position: relative;
        flex: none;
        width: 90%;
        left: 0 !important;
        right: 0 !important;
        margin: -60px auto 0 !important;
        z-index: 10;
        box-shadow: 0 20px 50px rgba(44,24,16,0.15);
    }
    
    .hero-text-container {
        width: 90%;
        padding: 0 10px;
        top: 55%; /* Slight push down to balance height */
    }
    
    .hero-title-small { 
        font-size: 2.2rem; 
        margin-bottom: -5px; 
    }
    
    .hero-title-large { 
        font-size: 5rem; 
        letter-spacing: -1px; 
    }
    
    .hero-subtitle { 
        font-size: 1rem; 
        margin-top: 20px; 
        margin-bottom: 35px; 
    }
    
    .hero-buttons { 
        flex-direction: column; 
        gap: 16px; 
    }
    
    .btn-primary, .btn-secondary { 
        width: 100%; 
        padding: 16px 20px; 
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .site-footer {
        padding-top: 52px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 36px;
        padding: 0 24px 40px;
    }
    .footer-logo img {
        align-self: flex-start;
    }
    .footer-logo p {
        margin: 0 0 24px;
    }
    .footer-socials {
        justify-content: flex-start;
    }
    .footer-col {
        text-align: left;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: left;
        padding: 20px 24px 0;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .header {
        justify-content: space-between;
        gap: 0;
        padding: 10px 20px;
    }
    .hamburger {
        display: flex;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }
    .nav.active {
        right: 0;
    }
    .nav ul {
        flex-direction: column;
        gap: 0;
    }
    .nav a {
        padding: 18px 0;
        font-size: 1rem;
        border-bottom: 1px solid #eee;
    }
    .nav a::before {
        display: none;
    }
    .nav a.nav-cta {
        background: var(--primary-color);
        color: #fff !important;
        padding: 16px 32px;
        border-radius: 50px;
        text-align: center;
        margin-top: 20px;
        top: 0;
        margin-left: 0;
        border-bottom: none;
        font-size: 0.85rem;
        letter-spacing: 2.5px;
        box-shadow: 0 4px 15px rgba(107, 58, 42, 0.2);
    }
    .card {
        padding: 40px 30px;
    }
    .projects-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
    }
    .about-container {
        flex-direction: column;
        height: auto;
    }
    .about-image {
        height: 50vh;
    }
    .about-content {
        padding: 60px 8%;
    }
    .about-quote {
        font-size: 1.6rem;
    }
    .project-modal {
        max-height: 85vh;
        width: 92vw;
        border-radius: 20px;
    }
    .project-modal-container {
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        height: auto;
        max-height: 85vh;
    }
    .project-modal-image-col {
        min-height: 300px;
        height: 35vh;
        flex-shrink: 0;
    }
    .project-modal-info-col {
        padding: 30px 24px;
        height: auto;
        overflow-y: visible;
    }
    .modal-header-meta h3 {
        font-size: 1.7rem;
    }
    .modal-specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
        margin-bottom: 24px;
    }
    .project-modal-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.9);
        color: #2C1810;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        border: none;
    }
    .page-header-banner {
        height: 35vh;
        min-height: 240px;
        margin-bottom: 30px;
    }
    .page-header-banner .section-header h1 {
        font-size: clamp(1.5rem, 7.5vw, 2.2rem);
        line-height: 1.2;
        padding: 0 10px;
    }
    .page-header-banner .section-header p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 15px;
    }
}
/* ====== NEW SECTIONS (INFO, TESTIMONIALS, INSTAGRAM, FAQ) ====== */
.section { padding: 80px 0; position: relative; }
.section-dark { background-color: var(--bg-cream); color: var(--text-dark); }
.section-surface { background-color: var(--bg-white); color: var(--text-dark); }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-header-center { text-align: center; margin-bottom: 50px; display: flex; flex-direction: column; align-items: center; }
.section-label { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary-color); margin-bottom: 10px; display: block; }
.section-title { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 600; color: var(--text-dark); }

/* Info Strip */
.info-strip { background: var(--text-dark); color: #fff; padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.info-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.info-strip-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.info-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; transition: color 0.3s ease; }
a.info-item:hover { color: var(--primary-color); }
.info-icon { color: var(--primary-color); display: flex; align-items: center; }
.info-icon svg { width: 18px; height: 18px; }
.info-text { font-size: 0.9rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; font-family: var(--font-heading); }

/* Testimonials */
.testimonials-swiper { padding-bottom: 60px !important; }
.testimonial-card { background: var(--bg-white); padding: 50px 40px; border-radius: var(--radius-md); position: relative; box-shadow: var(--shadow-md); height: 100%; color: var(--text-dark); border: 1px solid rgba(0,0,0,0.03); }
.testimonial-quote-mark { position: absolute; top: 20px; right: 30px; font-size: 5rem; font-family: serif; color: var(--primary-light); opacity: 0.2; line-height: 1; pointer-events: none; }
.testimonial-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.testimonial-avatar { width: 55px; height: 55px; background: var(--primary-color); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; }
.testimonial-author { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--text-dark); }
.testimonial-stars { color: var(--accent-gold); font-size: 1.1rem; margin-top: 4px; letter-spacing: 2px; }
.testimonial-text { font-size: 1.05rem; line-height: 1.7; color: var(--text-light); }
.swiper-pagination-bullet { background: var(--text-muted) !important; opacity: 0.5 !important; }
.swiper-pagination-bullet-active { background: var(--primary-color) !important; opacity: 1 !important; transform: scale(1.2); }
.rating-badges { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.rating-badge { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; font-family: var(--font-heading); box-shadow: var(--shadow-sm); }
.rating-badge-dark { background: var(--text-dark); color: #fff; }
.rating-badge-gold { background: var(--primary-color); color: #fff; }
.badge-star { color: var(--accent-gold); }
.badge-sep { opacity: 0.5; }

/* Instagram Feed - Editorial Studio Showcase */
#instagram.section-surface {
    background: var(--bg-light, #FAF5EF);
    border-top: 1px solid rgba(44, 24, 16, 0.08);
    padding: 96px 0;
}
#instagram .section-inner {
    max-width: 1380px;
    padding: 0 60px;
}
#instagram .section-title {
    font-weight: 400;
    font-size: 2.4rem;
    letter-spacing: -0.01em;
}
#instagram .btn-gold {
    background: transparent !important;
    color: #8B5A3C !important;
    border: 1px solid #8B5A3C !important;
    font-size: 0.74rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    padding: 14px 32px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}
#instagram .btn-gold:hover {
    background: #8B5A3C !important;
    color: #FAF5EF !important;
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
    margin-bottom: 52px;
}
.instagram-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: none;
}
.instagram-card:hover {
    transform: none;
    box-shadow: none;
}
.ig-card-header,
.ig-actions,
.ig-likes,
.ig-audio-badge {
    display: none;
}
.ig-card-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #1a1512;
}
.ig-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.instagram-card:hover .ig-card-image video {
    transform: scale(1.04);
}
.ig-reel-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(20, 14, 10, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.instagram-card:hover .ig-reel-badge {
    opacity: 1;
}
.ig-card-footer {
    padding: 14px 2px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.ig-caption {
    font-size: 0.84rem;
    color: rgba(44, 24, 16, 0.68);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ig-caption strong {
    font-weight: 500;
    color: #8B5A3C;
}

@media (max-width: 1024px) {
    .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
    #instagram .section-inner { padding: 0 32px; }
}

@media (max-width: 768px) {
    .info-strip-grid { flex-direction: column; text-align: center; gap: 15px; }
    #instagram.section-surface { padding: 64px 0; }
    #instagram .section-inner { padding: 0 20px; }
    .instagram-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-title { font-size: 2.2rem; }
    .section-inner { padding: 0 20px; }
    .testimonial-card { padding: 30px 25px; }
    .testimonial-quote-mark { font-size: 4rem; top: 15px; right: 20px; }
    .project-card:not(.ls-project-card) .project-card-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(28, 16, 12, 0.9) 0%, rgba(28, 16, 12, 0.4) 65%, transparent 100%);
    }
}
