/* ==========================================================================
   1. GLOBAL SYSTEM VARIABLES, LAYOUT RESETS & PRIMARY CORE THEME
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #FCFAF7; /* Soft Luxury Cream Base */
    color: #2B1810; /* Signature Corporate Rich Chocolate Brown */
    overflow-x: hidden;
}

/* ==========================================================================
   2. THREE-TIER NAVIGATION SYSTEM WITH SEMI-GREY LAYER & MID-GREY SHADOW
   ========================================================================== */
.master-editorial-header {
    /* Premium, soft semi-transparent grey glass layout framework layer */
    background-color: rgba(245, 245, 245, 0.92); 
    backdrop-filter: blur(8px); /* Frosted background blending blur mechanics */
    border-bottom: 1px solid #dcd6d0;
    padding: 15px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1000;
    /* Clean mid-grey depth shadow projection tracking your reference specifications exactly */
    box-shadow: 0px 4px 25px rgba(140, 140, 140, 0.15); 
}

/* Tier 1: Small Uppermost Utilities Bar */
.header-top-tier {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(220, 214, 208, 0.5);
    color: #614b42;
}
.header-top-tier a {
    color: #2B1810;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #2B1810;
}

/* Tier 2: Stately Centered Main Brand Typography Mark */
.header-middle-tier {
    padding: 25px 0;
    text-align: center;
}
.logo-brand {
    font-family: Georgia, serif;
    font-size: 42px;
    letter-spacing: 6px;
    color: #2B1810;
    text-decoration: none;
    font-weight: 700;
    display: block;
}
.tagline-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #A05A2C;
    margin-top: 8px;
    font-weight: 600;
}

/* Tier 3: Core Multi-Channel Horizontal Links Menu */
.header-bottom-tier {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}
.main-nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}
.main-nav-links li a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555555; /* Refined charcoal text */
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}
.main-nav-links li a:hover, .main-nav-links li a.active-editorial-link {
    color: #A05A2C;
    border-bottom: 1px solid #A05A2C;
}

/* Search Bar Inputs Integrated into the Semi-Grey Header Track */
.search-container input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dcd6d0;
    background: rgba(255, 255, 255, 0.75); /* Blended semi-white inside track */
    color: #2B1810;
    outline: none;
}
.search-btn {
    background: #2B1810;
    color: #FCFAF7;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

/* Header Channel Buttons Synonymous With All Alternate Pages */
.nav-right button {
    background: transparent;
    border: 1px solid #8c8c8c; /* Mid-grey accent outline framing */
    color: #555555;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-right button:hover {
    background-color: rgba(140, 140, 140, 0.12); /* Grey blending slide overlay */
    color: #2B1810;
    border-color: #2B1810;
}
.nav-right button.active-channel {
    background-color: #2B1810; /* Core rich focus color */
    color: #FCFAF7;
    border-color: #2B1810;
    box-shadow: 0px 3px 12px rgba(140, 140, 140, 0.25); /* Mid-grey button shadows */
}

/* Smartphone Menu vector lines */
.hamburger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.hamburger-toggle span {
    width: 100%;
    height: 2px;
    background-color: #2B1810;
}
/* ==========================================================================
   3. CINEMATIC BACKGROUND FRAME WITH TRANSLUCENT TALL PORTRAIT COVER CARD
   ========================================================================== */
.sub-hero-container {
    position: relative;
    padding: 40px 0;
    background-color: #ffffff; /* Clean white base buffer spacing tracks */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Expanded landscape imagery frame matching your precise proportions layout */
.sub-hero-bg-frame {
    width: 100%;
    max-width: 1200px; /* Spans elegant and wide horizontally across display frames */
    height: 600px; /* Fixed landscape framing parameter ratio sheet */
    background-image: url('../img/mag-cover.jpg'); /* Anchored directly to your local portrait asset */
    background-size: cover;
    background-position: center 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid #ebdcd0;
}

/* Tall portrait textual block overlay forced to 60% background transparency level */
.floating-editorial-card {
    background-color: rgba(255, 255, 255, 0.60); /* 0.60 value ensures your background image bleeds through beautifully */
    backdrop-filter: blur(5px); /* Softly diffuses portrait pixels directly behind type fields */
    
    /* Enforces an explicit tall vertical lookbook page column shape */
    width: 100%;
    max-width: 540px; /* Tightly locks the horizontal borders */
    height: 85%; /* Sweeps downward vertically to establish reference proportions */
    
    /* Content Layout Alignment */
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0px 15px 40px rgba(43, 24, 16, 0.08);
    z-index: 10;
}
.floating-editorial-card h2 {
    font-family: Georgia, serif;
    font-size: 32px;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    line-height: 1.3;
    color: #2B1810;
    text-shadow: 0px 1px 2px rgba(255,255,255,0.5); /* Boosts lettering presence on glass layers */
}
.floating-editorial-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #1a0e0a; /* High contrast chocolate type ensures clean visibility over transparency */
    margin-bottom: 35px;
    max-width: 440px;
    font-weight: 500;
}
.chocolate-pill-button {
    display: inline-block;
    background-color: #2B1810;
    color: #FCFAF7;
    padding: 12px 35px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 50px; /* Pill Shape */
    transition: background-color 0.3s;
}
.chocolate-pill-button:hover {
    background-color: #A05A2C;
}
/* ==========================================================================
   4. MIDDLE SECTION: THE 3-COLUMN TRIPTYCH CANVAS GRID
   ========================================================================== */
.editors-picks-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.section-label-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #A05A2C;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}
.section-main-title {
    font-family: Georgia, serif;
    font-size: 34px;
    letter-spacing: 1px;
    margin-bottom: 60px;
}
.triptych-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.pick-column-card {
    text-align: left;
}
.pick-image-frame {
    width: 100%;
    height: 480px;
    overflow: hidden;
    border: 1px solid #ebdcd0;
    margin-bottom: 25px;
}
.pick-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.pick-column-card:hover .pick-image-frame img {
    transform: scale(1.04); /* Clean scale zoom feedback track */
}
.pick-meta-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #A05A2C;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}
.pick-column-card h4 {
    font-family: Georgia, serif;
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: normal;
}
.pick-column-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a463d;
    margin-bottom: 15px;
}
.editorial-action-link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2B1810;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #2B1810;
    padding-bottom: 2px;
}

/* ==========================================================================
   5. MASSIVE MAGAZINE COVERS MATRIX (TALL PROPORTIONS & MOUSE HOVER LIFT)
   ========================================================================== */
.covers-matrix-section {
    padding: 80px 20px;
    background-color: #ffffff;
    border-top: 1px solid #ebdcd0;
    text-align: center;
}
.covers-section-title {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 50px;
    letter-spacing: 1px;
}
.covers-layout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1600px; /* Broad print-look layout layout footprint */
    margin: 0 auto;
}
.magazine-cover-lift-card {
    background-color: #ffffff;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    /* Handles the physics of the raising lift action sheet */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.magazine-cover-lift-card:hover {
    transform: translateY(-15px); /* Displaces target container 15px straight up */
    box-shadow: 0px 25px 50px rgba(43, 24, 16, 0.15); /* Plumps up drop drop-shadow boundaries */
}
.cover-image-viewport {
    width: 100%;
    height: 560px; /* Extra-tall vertical ratio matching your Lo'Ammi image precisely */
    overflow: hidden;
    border: 1px solid #ebdcd0;
}
.magazine-cover-lift-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* ==========================================================================
   6. MINIMALIST CENTERED NEWSLETTER STRIP (EXACT LO'AMMI DESIGN LINK)
   ========================================================================== */
.loammi-newsletter-block {
    padding: 80px 20px 100px 20px;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 1px solid #ebdcd0;
}
.loammi-newsletter-block p {
    font-size: 13px;
    line-height: 1.8;
    color: #5a463d;
    max-width: 600px;
    margin: 0 auto 40px auto;
    letter-spacing: 0.5px;
}
.loammi-newsletter-block h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 25px;
    letter-spacing: 1px;
}
.loammi-input-row {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}
.loammi-input-row label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c7679;
    margin-bottom: 8px;
    text-align: left;
}
.loammi-input-row input[type="email"] {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #2B1810; /* Minimal bottom-stroke input design rules */
    background: transparent;
    font-size: 14px;
    color: #2B1810;
    outline: none;
    text-align: center;
}
.loammi-input-row button {
    background: none;
    border: none;
    color: #2B1810;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 15px;
    padding: 5px;
    border-bottom: 1px solid #2B1810;
}

/* ==========================================================================
   7. CORPORATE RICH CHOCOLATE MASTER FOOTER COMPONENT
   ========================================================================== */
.master-retail-footer {
    background-color: #2B1810;
    border-top: 4px solid #A05A2C;
    color: #FCFAF7;
    padding: 60px 40px 20px 40px;
}
.footer-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}
.footer-top-grid h3 { font-family: Georgia, serif; margin-bottom: 20px; font-size: 20px; }
.footer-top-grid h4 { margin-bottom: 20px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: #FCFAF7; font-weight: bold; }
.footer-top-grid p, .footer-top-grid ul li a { font-size: 13px; color: #dfcfc2; text-decoration: none; line-height: 1.7; }
.footer-top-grid ul { list-style: none; }
.footer-top-grid ul li { margin-bottom: 12px; }
.footer-top-grid input {
    width: 100%; padding: 12px; margin-bottom: 12px; background-color: #1a0e0a; border: 1px solid #442a20; color: #ffffff; font-size: 13px; outline: none;
}
.footer-top-grid button {
    width: 100%; background-color: #A05A2C; color: #ffffff; border: none; padding: 12px; text-transform: uppercase; font-size: 12px; font-weight: bold; letter-spacing: 1px;
}
.footer-horizontal-divider { max-width: 1200px; margin: 0 auto 20px auto; height: 1px; background-color: #3d251b; }
.footer-bottom-ribbon { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; max-width: 1200px; margin: 0 auto; font-size: 12px; color: #8c7679; }

/* ==========================================================================
   8. SMARTPHONE RESPONSIVE VIEWPORT BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
    .cover-image-viewport { height: 420px; }
}
@media (max-width: 992px) {
    .sub-hero-bg-frame { height: 500px; }
    .triptych-grid-container { grid-template-columns: 1fr; gap: 50px; }
    .covers-layout-grid { grid-template-columns: repeat(2, 1fr); }
    .cover-image-viewport { height: 460px; }
}
@media (max-width: 768px) {
    header { padding: 15px 20px; }
    .logo-brand { font-size: 32px; }
    .hamburger-toggle { display: flex; }
    .main-nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        padding: 20px;
        border-bottom: 1px solid #ebdcd0;
        gap: 15px;
        z-index: 999;
    }
    .main-nav-links.mobile-menu-drawer-open { display: flex; }
    .sub-hero-bg-frame { height: 400px; }
    .floating-editorial-card { padding: 30px 20px; height: 90%; }
    .floating-editorial-card h2 { font-size: 24px; }
    .covers-layout-grid { grid-template-columns: 1fr; }
    .cover-image-viewport { height: 500px; }
    .magazine-cover-lift-card:hover { transform: translateY(-5px); }
}
