/* Typography: SF Pro Display via local fonts */
@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/fonts/sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/fonts/sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/fonts/sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Official Color Palette */
    --deep-navy: #0F1E2E;   
    --warm-cream: #F2EBE1;  
    --stone-beige: #C9B8A4; 
    --soft-taupe: #8E867E;  
    --graphite: #282F36;    
}

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

body {
    background-color: var(--warm-cream); 
    background-image: radial-gradient(circle, rgba(15, 30, 46, 0.04) 1.5px, transparent 2px);
    background-size: 24px 24px;
    font-family: 'SF Pro Display', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--deep-navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3%;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: auto;
    width: 90px;
}

/* MAIN CONTENT - TWO BOXES */
.main-container {
    flex: 1;
    padding: 0 3%;
    display: grid;
    grid-template-columns: 4fr 5.5fr; /* Left box narrower, right box wider */
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

/* Reveal Animation - Slow Bottom to Top Reveal */
.reveal-up {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    opacity: 0;
    transform: translateY(30px);
    animation: bottomTopReveal 1.6s cubic-bezier(0.25, 1, 0.3, 1) forwards;
}
.delay-1 {
    animation-delay: 0.2s;
}

@keyframes bottomTopReveal {
    0% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        transform: translateY(0);
    }
}

.left-box {
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--stone-beige);
    min-height: 82vh; 
    position: relative;
}

.left-box img, .left-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.right-box {
    border-radius: 16px;
    background-color: var(--deep-navy);
    color: var(--warm-cream);
    padding: 3rem 4.5rem 4rem 4.5rem; /* Less top padding to remove top space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align to top instead of center */
    min-height: 82vh; 
}

.right-box h1 {
    font-size: clamp(3.2rem, 6.8vw, 6rem); /* Huge Awwwards style */
    font-weight: 500; 
    line-height: 0.96; /* Very tight line height */
    margin-bottom: 2rem;
    letter-spacing: -0.04em; /* Tight tracking */
}

.intro-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align at the bottom baseline for a clean look */
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.intro-text {
    font-size: 1.3rem; 
    line-height: 1.6;
    color: rgba(242, 235, 225, 0.9);
    margin: 0; /* Margin moved to .intro-row */
}

.neon-highlight {
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0;
    white-space: nowrap;
    color: #ffffff;
    animation: softPulse 3s ease-in-out infinite alternate;
}

@keyframes softPulse {
    0% {
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.4), 0 0 10px rgba(255, 255, 255, 0.2);
    }
    100% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.4);
    }
}

.newsletter-row {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-top: auto; /* Pushes the form row to the bottom */
}

.newsletter-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: rgba(242, 235, 225, 0.9);
}

.subscribe-form {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600; 
    margin-bottom: 1.5rem;
}

.input-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(242, 235, 225, 0.3);
    color: var(--warm-cream);
    font-family: inherit;
    font-size: 1.05rem;
    padding: 0 0 0.6rem 0;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-bottom: 1px solid var(--warm-cream);
}

/* NEW BUTTON ROW WITH ICONS */
.button-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

.inline-icons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.inline-icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--warm-cream); /* Clean, visible color next to the button */
    stroke-width: 2px;
}

/* Animate the middle starburst icon */
.inline-icon:nth-child(2) {
    animation: spinSlow 15s linear infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.submit-btn {
    flex: 1; /* Stretch to fill remaining space */
    background-color: var(--warm-cream);
    color: var(--deep-navy);
    border: none;
    border-radius: 30px;
    padding: 0.85rem;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.85;
}

/* FOOTER - Updated with partial separator and watermark */
.footer {
    position: relative;
    padding: 3rem 3% 0 3%; /* Removed bottom padding so watermark anchors */
    font-size: 0.85rem;
    line-height: 1.4;
    background-color: var(--warm-cream); /* Masks the dots while keeping the same color */
    color: var(--deep-navy); 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%; /* Gaps at ends */
    right: 15%;
    height: 1px;
    background-color: rgba(15, 30, 46, 0.15); /* Deep navy subtle line */
}

.footer-watermark {
    font-size: clamp(6rem, 16vw, 18rem);
    font-weight: 800;
    color: rgba(15, 30, 46, 0.04); /* Subtly adjusted opacity */
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.04em;
    text-align: center;
    margin-top: 4rem; /* Space below the columns */
    line-height: 0.8; /* Keep it hugged to the bottom */
}

.footer-content {
    position: relative;
    z-index: 1; /* Keeps content clickable above watermark */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    width: 100%;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col:last-child {
    text-align: right;
    align-items: flex-end;
}

.footer-col a {
    color: var(--deep-navy);
    text-decoration: underline; /* Added underline matching reference image */
    margin-bottom: 0.2rem;
    transition: opacity 0.3s;
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
}

@media (max-width: 1100px) {
    .right-box {
        padding: 3rem;
    }
    .right-box h1 {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .left-box {
        min-height: 400px;
    }
    .right-box {
        padding: 2.5rem;
        min-height: auto;
    }
    .right-box h1 {
        font-size: 2.8rem;
    }
    .intro-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    .newsletter-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-col:last-child {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .right-box {
        padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    }
    .right-box h1 {
        font-size: 2.4rem;
    }
    .intro-text {
        font-size: 1.1rem;
    }
    .neon-highlight {
        font-size: 1.2rem;
    }
    .button-row {
        flex-direction: column;
        align-items: stretch;
    }
    .inline-icons {
        justify-content: center;
        margin-bottom: 1rem;
    }
    .footer {
        padding: 2rem 3% 0 3%;
    }
    .footer-watermark {
        font-size: clamp(3.5rem, 15vw, 6rem);
        margin-top: 2rem;
    }
}

/* ALTERNATE DESIGN SPECIFICS */
body.alternate-layout {
    background-color: var(--warm-cream);
    /* Simulated 3D directional light/shadow cast */
    background-image: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 40%, rgba(15,30,46,0.03) 100%);
    color: var(--deep-navy);
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
    position: relative;
    font-family: 'SF Pro Display', 'Montserrat', sans-serif;
}

/* Sketches */
.sketch-bg {
    position: absolute;
    z-index: -1;
    mix-blend-mode: multiply;
    opacity: 0.05; /* Extremely subtle and aesthetic */
    pointer-events: none;
}
.sketch-bg img {
    width: 100%;
    height: auto;
    display: block;
}
.sketch-1 {
    width: 55vw; /* The square floorplan thingy */
    top: 50%;
    right: -10vw;
    transform: translateY(-50%);
}
.sketch-tree {
    width: 45vw; /* The tree */
    bottom: -15vh;
    left: -10vw;
}

/* Animated Hanging Lamp */
.sketch-lamp-drop {
    position: absolute;
    top: -10vh; /* Moved up to simulate ceiling pivot */
    left: 55vw; 
    width: 14vw; 
    height: 90vh;
    z-index: 100; 
    transform: translateY(-120%);
    animation: dropDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; /* Physical gravity drop */
    animation-delay: 0.1s;
    pointer-events: none; 
}

.sketch-lamp-swing {
    width: 100%;
    height: 100%;
    transform-origin: 50% 0%; 
    /* 
       Chain animations: 
       initialSwing takes exactly 4.8s (4 swings * 1.2s each). Base timing is linear so keyframes handle easing.
       continuousSwing takes exactly 1.2s per swing, starting precisely at 4.8s to continue the wave smoothly.
    */
    animation: 
        initialSwing 4.8s linear forwards,
        continuousSwing 1.2s ease-in-out 4.8s infinite alternate;
}

@keyframes dropDown {
    0% { transform: translateY(-120%); }
    60% { transform: translateY(1.5%); } 
    80% { transform: translateY(-0.5%); } 
    100% { transform: translateY(0); }
}

@keyframes initialSwing {
    0% { transform: rotate(30deg); animation-timing-function: ease-in-out; }
    25% { transform: rotate(-15deg); animation-timing-function: ease-in-out; }
    50% { transform: rotate(7deg); animation-timing-function: ease-in-out; }
    75% { transform: rotate(-3.5deg); animation-timing-function: ease-in-out; }
    100% { transform: rotate(2deg); } /* Settles seamlessly into the continuous loop */
}

@keyframes continuousSwing {
    0% { transform: rotate(2deg); }
    100% { transform: rotate(-2deg); }
}

.lamp-bulb {
    fill: transparent;
    animation: bulbTurnOn 0.1s forwards;
    animation-delay: 1.8s;
}

@keyframes bulbTurnOn {
    to {
        fill: #fff7d6;
        stroke: #fff7d6;
        filter: drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 20px #ffea8c);
    }
}

.lamp-beam {
    opacity: 0;
    animation: beamFlickerOn 0.6s forwards;
    animation-delay: 1.8s;
}

@keyframes beamFlickerOn {
    0% { opacity: 0; }
    10% { opacity: 0.8; }
    20% { opacity: 0; }
    30% { opacity: 0.6; }
    40% { opacity: 0.2; }
    100% { opacity: 1; }
}

.alt-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 3rem 4rem;
    box-sizing: border-box;
}

/* Header */
.alt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.alt-logo-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.alt-logo {
    height: 40px;
    width: auto;
}
.alt-copyright {
    opacity: 0.7;
    margin-top: 0.3rem;
}

.alt-socials {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}
.alt-socials a {
    color: var(--deep-navy);
    text-decoration: none;
    transition: opacity 0.3s;
}
.alt-socials a:hover {
    opacity: 0.6;
}
.alt-dash {
    margin: 0 0.5rem;
}

.mobile-only { display: none; }
.mobile-break { display: none; }

/* Main Typography */
.alt-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-top: -5vh; /* visually center against footer */
}

.alt-coming {
    font-family: 'Montserrat', 'SF Pro Display', sans-serif;
    font-size: clamp(3rem, 12vw, 12rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    margin: 0;
    
    /* Moving Neon Highlight Wave */
    background: linear-gradient(
        110deg,
        var(--deep-navy) 30%,
        rgba(255, 255, 255, 1) 50%,
        var(--deep-navy) 70%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Adds a static soft white aura that enhances the transparent text */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    
    animation: shineWave 4s linear infinite;
}

@keyframes shineWave {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; } /* Smooth pass from left to right (or right to left based on direction) */
}

/* Let's ensure it flows left to right */
@keyframes shineWave {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

.alt-line {
    width: 0;
    height: 2px;
    background-color: var(--deep-navy);
    margin-top: 1.5rem;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); /* Soft glow on the line */
    animation: drawLine 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.5s; /* Starts after page load */
}

@keyframes drawLine {
    to { width: 50%; } /* Extends to half the container width nicely */
}

/* Bottom */
.alt-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.alt-about {
    max-width: 450px;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}
.alt-label {
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.2rem;
    letter-spacing: 0.05em;
}
.alt-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

.alt-newsletter {
    width: 400px;
}
.alt-form {
    width: 100%;
}
.alt-input-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(15, 30, 46, 0.4);
    padding-bottom: 0.5rem;
}
.alt-input-wrapper label {
    font-size: 0.95rem;
    opacity: 0.8;
}
.alt-input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    flex: 1;
    margin: 0 1rem;
    color: var(--deep-navy);
    font-family: inherit;
    font-size: 1rem;
}
.alt-input-wrapper button {
    background: transparent;
    border: none;
    color: var(--deep-navy);
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}
.alt-input-wrapper button:hover {
    opacity: 0.6;
}

@media (max-width: 900px) {
    /* Hide desktop elements */
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    
    /* Hamburger Menu */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        cursor: pointer;
    }
    .hamburger span {
        display: block;
        width: 30px;
        height: 1px;
        background-color: var(--deep-navy);
    }
    
    /* Global Container */
    body.alternate-layout {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }
    .alt-container {
        padding: 1.5rem 1.5rem 4rem 1.5rem !important; /* Extra bottom padding for socials */
    }
    
    /* Typography Stacking */
    .alt-coming {
        font-size: clamp(4rem, 22vw, 8rem) !important;
        line-height: 0.85 !important; /* Stacked tight */
        text-align: center;
        margin: 0;
    }
    .mobile-break { display: block !important; }
    
    .alt-line {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    @keyframes drawLine {
        to { width: 65vw; } /* Matches reference line width perfectly */
    }
    
    .alt-main {
        flex: 0 0 auto;
        flex-direction: column;
        gap: 0;
        margin-top: 25vh; /* Pushes text DOWN so lamp has room */
        margin-bottom: 10vh; /* Space before ABOUT */
    }

    /* Sketches Resizing */
    .sketch-1 {
        width: 130vw !important;
        top: 0% !important;
        right: -30vw !important;
        opacity: 0.04 !important;
    }
    .sketch-tree {
        width: 100vw !important;
        bottom: auto !important;
        top: 45vh !important; /* Positions plant behind text/about section */
        left: -20vw !important;
        opacity: 0.05 !important;
    }

    /* Mobile Centered Lamp Drop */
    .sketch-lamp-drop {
        display: block !important;
        left: 50% !important;
        margin-left: -12.5vw !important; /* Centers 25vw width */
        width: 25vw !important;
        top: -10vh !important;
        height: 55vh !important; /* Shorter drop distance */
    }
    
    /* Form & Footer */
    .alt-bottom {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 3rem;
    }
    .alt-about {
        flex-direction: column;
        gap: 1rem;
    }
    .alt-newsletter {
        width: 100%;
    }
    .alt-input-wrapper {
        flex-direction: row; 
        align-items: center;
        border-bottom: 1px solid var(--deep-navy) !important;
        padding-bottom: 0.5rem;
    }
    .alt-input-wrapper input {
        margin: 0;
        padding: 0;
        min-width: 0; 
        border: none !important;
        flex: 1;
    }
    .alt-input-wrapper input::placeholder {
        color: var(--deep-navy);
        opacity: 0.7;
    }
    .alt-input-wrapper button {
        margin: 0 !important;
        width: auto !important;
        padding-right: 0.5rem;
    }

    /* Bottom Centered Socials */
    .mobile-socials.mobile-only {
        display: flex !important;
        justify-content: center;
        gap: 2rem;
        margin-top: 3rem;
        font-size: 0.8rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--deep-navy);
    }
    .mobile-socials a { text-decoration: none; color: inherit; font-weight: 600; }
    .mobile-socials .sep { opacity: 0.5; }
}


html { overflow-x: hidden; max-width: 100vw; }

