/* --- Custom Token Properties: The Standard Theme --- */
:root {
    /* Brand Colors extracted from guidelines */
    --color-standard-black: #181818;
    --color-champagne: #c1b286;
    --color-soft-stone: #f4f2ef;
    --color-white: #ffffff;
    --color-black-s-light: #222222; /* Tonal variance for background text S pattern */

    /* Typography extracted from guidelines */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing System (8px Grid based on constraints) */
    --spacing-1: 8px;
    --spacing-2: 16px;
    --spacing-3: 24px;
    --spacing-4: 32px;
    --spacing-5: 40px;
    --spacing-6: 48px;
    --spacing-8: 64px;
    --spacing-10: 80px;
    --spacing-12: 96px;
}

/* --- Base & Reset Elements --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-standard-black);
    color: var(--color-soft-stone);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

/* --- Themed Background Pattern --- */
/* Mimicking the black-on-black pattern seen in the business cards design */
.bg-pattern-s {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-family: var(--font-heading);
    font-size: 150vw;
    font-weight: 700;
    color: var(--color-black-s-light);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
    line-height: 0.8;
}

/* --- Navigation Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-3) var(--spacing-6);
    z-index: 100;
    background-color: var(--color-standard-black);
    opacity: 0;
    visibility: hidden;
}

.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-4);
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-champagne);
}

/* --- The Scroll Sequence Container (GSAP Hooks) --- */
.scroll-sequence {
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: var(--color-standard-black);
    overflow: hidden;
    /* Required to create a stable container for ScrollTrigger pinning */
}

.pin-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Component 1: Initial Logo */
.logo-container {
    position: absolute;
    z-index: 20;
    width: 180px; 
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
}

.hero-logo {
    width: 100%;
    height: auto;
}

/* Component 2: Main Rendering Container */
.rendering-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0; /* Fully transparent initially, timeline takes over */
    overflow: hidden;
}

/* Image acts as the background scale layer */
.building-render {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7); /* Starts heavily desaturated */
    transform: scale(1.1); /* Provide buffer room to subtly zoom out on scroll */
    will-change: filter, transform;
}

/* --- Contact Dropdown Modal --- */
.contact-dropdown {
    position: absolute;
    top: 100%; /* Just below the header bar */
    right: var(--spacing-6);
    background-color: var(--color-standard-black);
    padding: var(--spacing-4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 90;
    pointer-events: none;
    border: 1px solid var(--color-black-s-light);
}

.contact-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.business-card-img {
    max-width: 200px;
    height: auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(32px, 6vw, 100px);
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-align: center;
    width: 60vw;
    white-space: normal;
    opacity: 0;
    z-index: 20;
    text-shadow: 0 5px 30px rgba(0,0,0,0.6);
    pointer-events: none;
}

/* --- Responsive Formatting --- */
@media (max-width: 768px) {
    .coming-soon-text {
        font-size: 40px;
        white-space: normal;
    }
}
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-6);
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-2);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-champagne);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-champagne);
    border-radius: 2px;
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* --- Section Formatting --- */
.content-section {
    padding: var(--spacing-12) var(--spacing-6);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.text-content {
    max-width: 800px;
}

.text-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: var(--spacing-4);
}

.text-content h1 .highlight {
    color: var(--color-champagne);
}

.text-content h2 {
    font-size: 48px;
    margin-bottom: var(--spacing-3);
}

.text-content p {
    font-size: 20px;
    color: var(--color-soft-stone);
    font-weight: 300;
}

/* --- Responsive Formatting --- */
@media (max-width: 768px) {
    .nav-label {
        font-size: 16px;
    }
    .text-content h1 {
        font-size: 40px;
    }
    .text-content h2 {
        font-size: 32px;
    }
    .text-content p {
        font-size: 16px;
    }
}

/* --- Accessibility Respect: Reduce Motion Constraints --- */
@media (prefers-reduced-motion: reduce) {
    .wheel {
        animation: none;
    }
    .bg-pattern-s {
        /* Subtle non-intrusive on reduce */
        opacity: 0.1; 
    }
}
