:root {
    --bg-wall: url('images/bg-cem015b.jpg');
    --text-dark: #222;
    --text-light: #f4f4f4;
    --shadow-heavy: 0 15px 30px rgba(0,0,0,0.6);
}

html, body {
    max-width: 100%;
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: #000;
}

/* --- HEADER OVERLAY --- */
#site-header {
    position: absolute; 
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    pointer-events: none;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%; 
    height: 100vh;
    background-image: url('images/stem-and-stone-hero-image.jpg');
    background-size: cover;
    background-position: bottom right; 
}

.hero-grid {
    display: grid;
    grid-template-columns: 45.5% 54.5%; 
    width: 100%;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-left-col {
    display: grid;
    grid-template-rows: 66% 25% 9%; 
    height: 100%;
    padding: 0 5%;
}

.hero-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-logo {
    width: 80%;
    max-width: 450px;
}

.hero-text-cell {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    height: 100%;
    padding: 0 5%;
    margin: 0; 
}

.welcome-row {
    text-align: left;
    margin-bottom: 0.8rem;
}

.welcome-img {
    max-width: 200px; 
    height: auto;
}

.text-row {
    margin-bottom: 0.8rem;
}

.launch-text {
    font-family: 'Georgia', serif; 
    font-size: 1.15rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}

.signature-row {
    text-align: right;
    margin-bottom: 20px; 
}

.signature-img {
    max-width: 150px; 
    height: auto;
}

/* Large Desktop Adjustments (+15px more added to 35px = 50px) */
@media (min-width: 1400px) {
    .signature-row {
        margin-bottom: 50px;
    }
}

/* --- THE WALL (MAIN CONTENT) --- */
.wall-section {
    position: relative;
    width: 100%; 
    min-height: 100vh;
    background-color: #e0e0e0; 
    overflow: hidden;
    border-top: 4px solid #1a1a1a; 
}

.wall-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: var(--bg-wall);
    background-repeat: repeat;
    opacity: 0.33; 
    z-index: 1;
    pointer-events: none;
    transform: translateZ(0); 
}

.wall-top-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 10;
    pointer-events: none;
    transform: translateZ(0); 
}

.wall-top-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    /* Footer dark grey (#1b1b1b = rgb(27,27,27)) with concentrated stops at top and fading out */
    background: linear-gradient(to bottom, rgba(27,27,27,1) 0%, rgba(27,27,27,0.85) 15%, rgba(27,27,27,0.3) 40%, rgba(27,27,27,0) 100%);
    z-index: 15;
    pointer-events: none;
}

.wall-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    position: relative;
    z-index: 20; 
}

/* --- PRODUCT GRIDS --- */
.product-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.span-2-rows {
    grid-row: span 2;
    height: 100%;
    object-fit: cover;
}

.wall-photo {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: var(--shadow-heavy);
    transition: transform 0.3s ease;
    will-change: transform; 
    backface-visibility: hidden;
}

.feature-shot {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.feature-photo {
    max-width: 800px;
    width: 80%; 
    will-change: transform;
    backface-visibility: hidden;
}

.rotate-left { transform: rotate(-1.5deg) translateZ(0); }
.rotate-right { transform: rotate(1.5deg) translateZ(0); }
.wall-photo:hover { transform: scale(1.02) rotate(0) translateZ(0); z-index: 5; }

.decorative-plants-strip {
    width: 100%;
    height: auto;
    display: block; 
    opacity: 1; 
    margin-top: 4rem;
    margin-bottom: -1px; 
    position: relative;
    z-index: 20;
}

/* --- FOOTER --- */
footer {
    background: #1b1b1b; 
    color: var(--text-light);
    text-align: center;
    padding: 4rem 2rem;
}

footer h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.form-success {
    color: #88cc88;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.form-error {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.hidden-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    z-index: -1 !important;
}

.mailing-list-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.mailing-list-form input[type="email"] {
    padding: 0.8rem;
    flex: 1;
    border: none;
    border-radius: 2px;
}

.mailing-list-form button {
    padding: 0.8rem 2rem;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

.social-links {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.ig-link {
    color: #555;
    pointer-events: none;
    margin-right: 0.5rem;
}

.coming-soon {
    color: #555;
}

.return-top-btn {
    display: inline-block;
    margin-top: 1.5rem;
    background: transparent;
    color: #777;
    border: 1px solid #444;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.return-top-btn:hover {
    color: var(--text-light);
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    margin-top: 3rem; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thank-you-image {
    max-width: 250px;
    height: auto;
    margin-bottom: 3rem; 
}

.copyright {
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- RESPONSIVE DESIGN (Laptop down to Mobile) --- */
@media (max-width: 1024px) {
    .hero-section {
        background-position: right -320px bottom 0; 
    }

    .hero-grid { grid-template-columns: 1fr; }
    
    .hero-left-col { 
        grid-template-rows: auto auto auto; 
        justify-content: flex-start; 
        padding-left: 0; 
    }
    
    .hero-logo-cell { 
        justify-content: center; 
        align-items: flex-start;
        padding-top: 80px; 
    }
    .hero-main-logo { width: 70%; margin: 0 auto; }
    
    .hero-text-cell { 
        align-items: center; 
        padding-bottom: 100px; 
        padding-top: 2rem; 
        background: rgba(255,255,255,0.7); 
        padding: 1.5rem; 
        border-radius: 4px; 
        margin: 2rem 5%;
    }
    
    .welcome-row, .text-row, .signature-row { text-align: center; }

    .mailing-list-form { flex-direction: column; }
}

/* Single column views (Tablet & Laptop viewports where screen width triggers stacking) */
@media (max-width: 1200px) {
    .grid-2-col { 
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        width: 100%;
    }

    .wall-photo, .feature-photo {
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto;
    }
}