/* 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;
    flex-direction: column;
    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: 1rem;
    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;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    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;
    flex-direction: column;
    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: 1rem;
    }
    .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;
    }
}
