/* --- CORE DESIGN SYSTEM VARIABLES --- */
:root {
    --primary-green: #7ADAA5;
    --soft-bg: #FFF5F2;
    --white: #FFFFFF;
    --black: #111111;
    --font-family: 'Merriweather Sans', sans-serif;
    --transition-magazine: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* --- STRUCTURAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.7;
}

/* --- TYPOGRAPHY ARSENAL --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-transform: uppercase;
}

p {
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--black);
}

.editorial-spacing {
    padding: 120px 8%;
    position: relative;
}

/* --- IMAGERY WORKHORSE --- */
.magazine-photo {
    position: relative;
    overflow: hidden;
    background-color: #EFEBE9;
}

.magazine-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-magazine);
}

.magazine-photo:hover img {
    transform: scale(1.04);
}

.scrim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.65) 100%);
    z-index: 1;
}

/* --- INTERACTIVE ACTION BUTTON --- */
.editorial-action-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background-color: var(--black);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.editorial-action-btn:hover {
    background-color: var(--primary-green);
    color: var(--black);
}

/* --- ABSOLUTE HEADER ARCHITECTURE --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    z-index: 1010;
}

.brand-logo img {
    height: 240px;
            margin-top: 5rem;

    width: auto;
    display: block;
}

.brand-logo:hover {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

/* Dark background variant (for pages with white background) */
header.scrolled .brand-logo img {
    filter: brightness(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-logo img {
        margin-top: 5rem;
        height: 232px;
    }
}
/* Thin horizontal white navigation card */
.nav-capsule-card {
    background-color: var(--white);
    padding: 8px 12px;
    display: flex;
    gap: 4px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

.nav-capsule-card a {
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 10px 24px;
    border-radius: 40px;
    transition: var(--transition-fast);
}

.nav-capsule-card a:hover,
.nav-capsule-card a.active-node {
    background-color: var(--primary-green);
    color: var(--black);
}

/* --- RESPONSIBLE HAMBURGER CONTROLLER --- */
.hamburger-trigger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-fast);
}

.hamburger-trigger.open .bar-1 {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--black);
}

.hamburger-trigger.open .bar-2 {
    opacity: 0;
}

.hamburger-trigger.open .bar-3 {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--black);
}

.mobile-editorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--soft-bg);
    z-index: 1005;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12%;
    transform: translateY(-100%);
    transition: var(--transition-magazine);
}

.mobile-editorial-overlay.active {
    transform: translateY(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu-links a {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.04em;
}

.mobile-menu-links a:hover {
    color: var(--primary-green);
}

/* --- MULTI-PAGE CONTROLLER LAYERS --- */
.magazine-page-layer {
    display: none;
}

.magazine-page-layer.active-layer {
    display: block;
    animation: journalReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes journalReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== HOME PAGE ARCHITECTURE ==================== */

/* SECTION 01: HERO SECTION */
.hero-magazine-wrapper {
    height: 70vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.hero-heading-center {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

/* Overlapping Split Card: 50% Hero / 50% Section 02 */
.overlapping-split-chassis {
    position: absolute;
    bottom: -280px;
    left: 8%;
    right: 8%;
    height: 440px;
    background-color: var(--white);
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    box-shadow: 0 30px 60px rgba(17,17,17,0.1);
}

.overlapping-split-chassis .magazine-photo {
    height: 100%;
}

.split-card-text-panel {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
}

.split-card-text-panel blockquote {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* SECTION 02: GREEN ASYMMETRIC STACK */
.section-green-stack {
    background-color: var(--primary-green);
    color: var(--black);
    padding-top: 300px;
    /* Space for structural overlap */
}

.editorial-split-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: top;
}

.editorial-split-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
}

.editorial-split-header p {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--black);
}

.asymmetric-magazine-composition {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-end;
}

.asymmetric-magazine-composition .large-square-card {
    height: 550px;
    grid-column: 2;
}

.asymmetric-magazine-composition .small-square-card {
    height: 350px;
    width: 100%;
    grid-column: 1;
    grid-row: 1;
}

/* SECTION 03: FIXED IMAGE STORY WALL */
.parallax-story-wall {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 120px 8%;
}

.parallax-heading-left {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.parallax-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.scrolling-editorial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.scrolling-editorial-card .magazine-photo {
    height: 260px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.scrolling-editorial-card p {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* SECTION 04: OVERLAPPING MECHANISM GRID */
.section-four-chassis {
    background-color: var(--soft-bg);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-four-chassis .left-side-container {
    position: relative;
}

.section-four-chassis h2.left-main-head {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
}

.section-four-chassis .base-large-photo {
    width: 100%;
    height: 500px;
}

.section-four-chassis .overlapping-center-photo {
    width: 50%;
    height: 280px;
    position: absolute;
    bottom: -50px;
    right: -30px;
    border: 15px solid var(--soft-bg);
    z-index: 5;
}

.section-four-chassis .right-side-panel h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.section-four-chassis .right-side-panel p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* SECTION 05: SPLIT EDITORIAL MINDSET */
.section-five-chassis {
    background-color: var(--soft-bg);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    padding-top: 100px;
}

.section-five-chassis h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.section-five-chassis h3.subtitle-head {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-five-chassis p {
    font-size: 1.15rem;
    font-weight: 300;
}

/* SECTION 06: COMMUNITY UTILITY BLOCK */
.section-six-chassis {
    background-color: var(--primary-green);
    overflow: hidden;
    position: relative;
}

.decorative-png-layer {
    position: absolute;
    right: -5%;
    bottom: -15%;
    font-size: 24rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    text-transform: uppercase;
}

.section-six-chassis h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.section-six-chassis p.small-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 60px;
    font-weight: 400;
}

.newsletter-double-deck-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.form-editorial-card {
    background: rgba(255, 255, 255, 0.45);
    padding: 40px;
    border-radius: 4px;
}

.form-editorial-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.editorial-input-wrapper {
    display: flex;
    margin-bottom: 15px;
}

.editorial-input-wrapper input {
    flex: 1;
    padding: 16px;
    background-color: var(--white);
    border: none;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    color: var(--black);
}

.form-status-box {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 15px;
    display: none;
}

/* ==================== SUBPAGE ARCHITECTURE ==================== */

/* Shared Banner Template */
.subpage-journal-banner {
    height: 45vh;
    background-color: white;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.subpage-journal-banner h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 4rem);
    z-index: 2;
    max-width: 850px;
}

/* About Subpage Layout */
.about-storytelling-wrap h4 {
    font-size: 1.4rem;
    margin: 35px 0 15px;
}

/* Blog Layout Grid */
.blog-masonry-simulation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-featured-row {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    padding-bottom: 60px;
    margin-bottom: 20px;
    cursor: pointer;
}

.blog-featured-row .magazine-photo {
    height: 460px;
}

.blog-card-node {
    cursor: pointer;
}

.blog-card-node .magazine-photo {
    height: 300px;
    margin-bottom: 20px;
}

.category-tag-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--soft-bg);
    padding: 4px 12px;
    letter-spacing: 0.05em;
}

/* Blog Details Specifics */
.blog-details-chassis {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.article-meta-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 0.9rem;
    font-weight: 500;
}

.magazine-pull-quote {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--black);
    border-left: 6px solid var(--primary-green);
    padding-left: 25px;
    margin: 40px 0;
}

/* Contact Page Split Layout */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 90px);
}

.contact-form-side {
    padding: 80px 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--soft-bg);
}

.form-group-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-group-field label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.form-group-field input,
.form-group-field textarea {
    padding: 16px;
    background: var(--white);
    border: 1px solid rgba(17, 17, 17, 0.1);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group-field input:focus,
.form-group-field textarea:focus {
    border-color: var(--primary-green);
}

/* ==================== SYSTEM REGULATORY MODALS ==================== */
.legal-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.75);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.legal-modal-backdrop.modal-active {
    display: flex;
}

.legal-modal-payload {
    background-color: var(--white);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 50px;
    position: relative;
    border-radius: 4px;
}

.modal-dismiss-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ==================== MAGAZINE SYSTEM FOOTER ==================== */
footer {
    background-color: var(--white);
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    padding: 100px 8% 40px;
}

.footer-top-framework {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-massive-logo {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--black);
    text-decoration: none;
    line-height: 1;
}

.footer-nav-matrix {
    display: flex;
    gap: 80px;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link-group a {
    color: #111111;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-link-group a:hover {
    color: var(--primary-green);
}

.footer-base-row {
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #555555;
}

.footer-social-channels a {
    color: var(--black);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.footer-social-channels a:hover {
    color: var(--primary-green);
}

/* ==================== ADAPTIVE VIEWPORT MEDIA RESPONSES ==================== */
@media (max-width: 1150px) {
    header {
        background-color: rgba(17, 17, 17, 0.2);
    }
    
    .nav-capsule-card {
        display: none;
    }
    
    .hamburger-trigger {
        display: flex;
    }
    
    .overlapping-split-chassis {
        position: static;
        grid-template-columns: 1fr;
        height: auto;
        margin-top: -60px;
    }
    
    .overlapping-split-chassis .magazine-photo {
        height: 320px;
    }
    
    .section-green-stack {
        padding-top: 100px;
    }
    
    .asymmetric-magazine-composition {
        grid-template-columns: 1fr;
    }
    
    .asymmetric-magazine-composition .large-square-card {
        height: 400px;
        grid-column: 1;
    }
    
    .asymmetric-magazine-composition .small-square-card {
        display: none;
    }
    
    .parallax-cards-container {
        grid-template-columns: 1fr;
    }
    
    .blog-masonry-simulation {
        grid-template-columns: 1fr 1fr;
    }
    
    .blog-featured-row {
        grid-template-columns: 1fr;
    }
    
    .blog-featured-row .magazine-photo {
        height: 340px;
    }
}

@media (max-width: 850px) {
    .editorial-split-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-four-chassis {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-four-chassis .overlapping-center-photo {
        display: none;
    }
    
    .section-five-chassis {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-double-deck-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-split-grid .magazine-photo {
        height: 300px;
    }
    
    .footer-nav-matrix {
        gap: 40px;
    }
    
    .blog-masonry-simulation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .editorial-spacing {
        padding: 60px 5%;
    }
    
    .mobile-menu-links a {
        font-size: 1.8rem;
    }
    
    .split-card-text-panel {
        padding: 30px;
    }
    
    .split-card-text-panel blockquote {
        font-size: 1rem;
    }
    
    .parallax-story-wall {
        background-attachment: scroll;
        padding: 60px 5%;
    }
    
    .parallax-heading-left {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .scrolling-editorial-card {
        padding: 20px;
    }
    
    .section-four-chassis h2.left-main-head {
        font-size: 1.8rem;
    }
    
    .section-four-chassis .base-large-photo {
        height: 350px;
    }
    
    .form-editorial-card {
        padding: 25px;
    }
    
    .footer-top-framework {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-nav-matrix {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-base-row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social-channels a {
        margin: 0 12px;
    }
    
    .legal-modal-payload {
        padding: 30px 20px;
    }
    
    .article-meta-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .magazine-pull-quote {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-heading-center {
        font-size: 1.8rem;
    }
    
    .blog-featured-row .magazine-photo {
        height: 220px;
    }
    
    .category-tag {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
    
    .section-five-chassis h3.subtitle-head {
        font-size: 1.1rem;
    }
    
    .section-five-chassis p {
        font-size: 0.95rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden {
    display: none;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}  