:root {
    --bg-primary: #EAE6DE; /* Warm Papyrus / Stone */
    --bg-secondary: #DCD8CF;
    --text-primary: #1C1B1A; /* Charcoal Black */
    --text-secondary: #5A5855;
    --accent: #1C1B1A; /* Using stark black for an editorial feel */
    --hover-bg: #1C1B1A;
    --hover-text: #EAE6DE;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.italic {
    font-style: italic;
    font-weight: 400;
}

/* Typography Base */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
}

/* Nav Bespoke */
.nav-bespoke {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: #FFF; /* Becomes black on light bg, white on dark bg */
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-btn {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Split Hero */
.hero-split {
    display: flex;
    position: relative;
    align-items: stretch;
}

/* Left side sticky text */
.hero-sticky-text {
    width: 46%;
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 7.5rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.hero-title {
    font-size: clamp(3.6rem, 6.2vw, 7.2rem);
    display: flex;
    flex-direction: column;
    line-height: 0.92;
    margin-bottom: 2rem;
    max-width: 7ch;
}

.hero-title .line {
    display: block;
}

.hero-desc {
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: static;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .line-down {
    width: 1px;
    height: 50px;
    background: var(--text-primary);
}

/* Right side scrolling images */
.hero-scroll-images {
    width: 54%;
    padding: 6rem 3rem 6rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-img-wrapper {
    width: 100%;
    height: 68vh;
    overflow: hidden;
    background: var(--bg-secondary);
}

.hero-img-wrapper.offset-right {
    width: 88%;
    height: 58vh;
    align-self: flex-end;
}

.hero-img-wrapper.large {
    height: 88vh;
}

.hero-img-wrapper img {
    width: 100%;
    height: 120%; /* Extra height for parallax */
    object-fit: cover;
    transform: translateY(-10%); /* Start position for parallax */
    transition: transform 0.1s linear; /* Smooth catchup */
}

/* Giant Marquee */
.giant-marquee {
    padding: 8rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: var(--bg-primary);
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-track h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-primary);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Interactive Services Accordion */
.services-interactive {
    position: relative;
    min-height: 100vh;
    background: var(--text-primary);
    color: var(--bg-primary);
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

/* Dark overlay to make text readable */
.services-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(28, 27, 26, 0.7);
}

.services-content {
    position: relative;
    z-index: 2;
    padding: 8rem 4rem;
}

.section-title {
    margin-bottom: 4rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 2rem;
}

.service-accordion {
    list-style: none;
}

.service-accordion li {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: padding 0.4s ease;
}

.service-accordion li:hover {
    padding-left: 2rem;
    padding-right: 2rem;
}

.service-num {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-right: 4rem;
    opacity: 0.5;
}

.service-name {
    font-size: clamp(3rem, 5vw, 5rem);
    flex-grow: 1;
    transition: transform 0.4s ease;
}

.service-accordion li:hover .service-name {
    transform: scale(1.05);
    transform-origin: left;
}

.service-detail {
    width: 300px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.service-accordion li:hover .service-detail {
    opacity: 1;
    transform: translateX(0);
}

/* Scattered Gallery */
.scattered-gallery {
    padding: 10rem 4rem;
    background: var(--bg-primary);
}

.gallery-header {
    margin-bottom: 8rem;
    text-align: center;
}

.gallery-header h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gallery-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.gallery-container {
    display: flex;
    justify-content: center;
    gap: 10vw;
}

.g-col {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.g-col-1 {
    margin-top: 10rem;
}

.g-col img {
    width: 100%;
    object-fit: cover;
}

.gallery-text-card {
    padding: 4rem;
    background: var(--bg-secondary);
    text-align: center;
}

.gallery-text-card h4 {
    font-size: 3rem;
}

/* Main content wrapper to push above sticky footer */
.main-content {
    background: var(--bg-primary);
    position: relative;
    z-index: 10;
    margin-bottom: 100vh; /* Expose footer underneath */
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Sticky Reveal Footer */
.footer-reveal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--text-primary);
    color: var(--bg-primary);
    z-index: 1;
    display: flex;
    align-items: center;
}

.footer-inner {
    width: 100%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10vh;
}

.footer-massive-text h2 {
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 0.9;
}

.footer-info {
    display: flex;
    gap: 4rem;
}

.f-block h4 {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: rgba(234, 230, 222, 0.5);
}

.f-block p, .f-block a {
    color: var(--bg-primary);
    text-decoration: none;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.btn-massive {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--bg-primary);
    text-decoration: none;
    border-bottom: 2px solid var(--bg-primary);
    padding-bottom: 10px;
    transition: opacity 0.3s ease;
}

.btn-massive:hover {
    opacity: 0.7;
}

.f-copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1280px) {
    .nav-bespoke { padding: 1.5rem 2.5rem; }
    .hero-sticky-text {
        width: 48%;
        padding: 7rem 2.5rem 3rem;
    }
    .hero-scroll-images {
        width: 52%;
        padding: 6rem 2.5rem 5rem 1rem;
    }
    .hero-title {
        font-size: clamp(3.2rem, 5.4vw, 6rem);
    }
    .hero-desc {
        max-width: 30rem;
    }
}

@media (max-width: 1024px) {
    .nav-bespoke { padding: 2rem 5%; }
    .nav-links { display: none; }
    
    .hero-split { flex-direction: column; }
    .hero-sticky-text {
        width: 100%;
        height: auto;
        min-height: 50vh;
        position: relative;
        padding: 8rem 5% 4rem;
    }
    .hero-scroll-images {
        width: 100%;
        padding: 0 5% 5rem;
        gap: 3rem;
    }
    .hero-img-wrapper, .hero-img-wrapper.offset-right, .hero-img-wrapper.large {
        width: 100%;
        height: 50vh;
    }
    .hero-title {
        max-width: none;
        margin-bottom: 2rem;
    }
    
    .giant-marquee { padding: 4rem 0; }
    
    .services-content { padding: 4rem 5%; }
    .service-accordion li {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 2rem 0;
    }
    .service-accordion li:hover { padding-left: 0; padding-right: 0; }
    .service-detail {
        opacity: 1;
        transform: none;
        width: 100%;
    }
    .service-name { font-size: 2.5rem; }
    .service-num { margin-right: 0; margin-bottom: 0.5rem; }

    .scattered-gallery { padding: 5rem 5%; }
    .gallery-header { margin-bottom: 4rem; }
    .gallery-container {
        flex-direction: column;
        gap: 2rem;
    }
    .g-col { width: 100%; gap: 2rem; }
    .g-col-1 { margin-top: 0; }
    .main-content { margin-bottom: 0; }
    .footer-reveal {
        position: relative;
        height: auto;
        min-height: 100vh;
    }
    .footer-inner { padding: 4rem 5%; }
    .footer-top {
        flex-direction: column;
        gap: 4rem;
        margin-top: 0;
    }
    .footer-info {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-top: 4rem;
    }
    .btn-massive { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 3.5rem; }
    .hero-img-wrapper, .hero-img-wrapper.offset-right, .hero-img-wrapper.large { height: 40vh; }
    .service-name { font-size: 2rem; }
    .footer-massive-text h2 { font-size: 3.5rem; }
}
