/* ==========================================================================
   HORIZON SPACES — LUXURY REAL ESTATE & ARCHITECTURE LANDING PAGE
   Design Aesthetics: Ultra minimal, Bold Luxury Scale, Dark Obsidian Teal & Gradient Logo.
   Colors: Deep Obsidian Teal (#011E26), Copper (#B97952 / #D69770), Warm Ivory (#F6ECE3)
   Constraint: Strictly 100vh Viewport, Zero Scroll, Large Prominent Scale & Wide Gaps.
   ========================================================================== */

:root {
    /* Color Palette */
    --color-bg-dark: #011E26;
    --color-bg-gradient: radial-gradient(circle at 50% 45%, #022B36 0%, #011C23 70%, #001318 100%);
    --color-warm-ivory: #F6ECE3;
    --color-deep-teal: #004F5D;
    --color-copper: #B97952;
    --color-copper-light: #CD8F75;
    --color-text-subtle: rgba(246, 236, 227, 0.78);
    --color-grid-line: rgba(185, 121, 82, 0.08);
    --color-tick-mark: rgba(214, 151, 112, 0.22);

    /* Typography — Single Unified Geometric Font (Matches Brand Logo) */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: var(--font-primary);
    --font-body: var(--font-primary);

    /* Layout Max Width */
    --hero-max-width: 980px;
}

/* ==========================================================================
   Base Styles & Reset (Strict 100vh No-Scroll)
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden !important;
    background-color: var(--color-bg-dark);
    background-image: var(--color-bg-gradient);
    color: var(--color-warm-ivory);
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Canvas & Background Texture */
#architectural-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.grid-texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
    background-image: radial-gradient(circle at 50% 40%, rgba(185, 121, 82, 0.14) 0%, rgba(1, 30, 38, 0) 75%);
    opacity: 0.85;
}

/* App Viewport Structure (Strict 100vh container with balanced padding) */
.app-viewport {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
    padding: clamp(2rem, 5vh, 4rem) 2.5rem clamp(1.5rem, 3.8vh, 3rem) 2.5rem;
}

/* ==========================================================================
   Hero Section & Content Layout
   ========================================================================== */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    max-height: 100%;
    text-align: center;
}

.hero-content {
    max-width: var(--hero-max-width);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo with Expansive Vertical Gap */
.logo-wrapper {
    margin-bottom: clamp(3.8rem, 9.2vh, 7.2rem);
    padding: 2rem 4rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.3));
}

.brand-logo {
    max-width: clamp(260px, 34vw, 420px);
    height: auto;
    display: block;
    object-fit: contain;
}

/* Small Uppercase Label — Expanded Gap */
.brand-label-wrapper {
    margin-bottom: clamp(2.2rem, 5.2vh, 4.2rem);
}

.brand-subheading {
    font-family: var(--font-primary);
    font-size: clamp(0.75rem, 1.1vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-copper-light);
    text-transform: uppercase;
    display: inline-block;
}

/* Main Heading — Sleek Refined Title */
.main-heading {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3.2vw, 3.2rem);
    font-weight: 300;
    letter-spacing: 0.16em;
    line-height: 1.15;
    color: var(--color-copper-light);
    text-transform: uppercase;
    margin-bottom: clamp(2.5rem, 5.5vh, 4.5rem);
    margin-left: 0.16em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .main-heading {
        font-size: clamp(1.15rem, 6.8vw, 1.75rem);
        letter-spacing: 0.12em;
        margin-left: 0.12em;
        margin-bottom: clamp(1.8rem, 4vh, 3rem);
    }
}

/* Description Text — Expansive Gap before Divider */
.description-text {
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(246, 236, 227, 0.85);
    max-width: 650px;
    margin-bottom: clamp(3.8rem, 8.8vh, 6.8rem);
    letter-spacing: 0.03em;
}

.desktop-br {
    display: inline;
}

@media (min-width: 640px) {
    .desktop-br {
        display: block;
    }
}

/* Hairline Divider & Generous Space */
.divider-wrapper {
    width: 100%;
    max-width: 380px;
    display: flex;
    justify-content: center;
}

.architectural-divider {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-copper-light), transparent);
    opacity: 0.85;
}

.divider-diamond {
    font-size: 0.55rem;
    color: var(--color-copper-light);
    opacity: 0.95;
}

/* ==========================================================================
   Bottom Footer
   ========================================================================== */
.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: var(--font-primary);
    font-size: clamp(0.72rem, 1vw, 0.82rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-copper-light);
    font-weight: 400;
}

/* ==========================================================================
   Smooth Fade-In Animations
   ========================================================================== */
.fade-in-element {
    opacity: 0;
    transform: translateY(14px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}