/* =========================================
   LANDING PAGE OVERRIDES (landing.css)
   ========================================= */

/* --- 1. HIDE STANDARD NAVIGATION --- */
.archivo-narrow-nav, 
.hamburger-menu { 
    display: none !important; 
}

/* --- 2. HEADER BUTTON (Matches Homepage Nav Position) --- */
.landing-header-btn {
    position: fixed;
    right: 3vw;        /* Matches style.css nav right */
    margin-top: 2vw;   /* Matches style.css nav margin-top */
    text-align: right;
    z-index: 600;
}

/* --- 3. LAYOUT RESET --- */
main {
    width: 100% !important;
    left: 0 !important;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

/* --- 4. TOP IMAGE (Matches Homepage Height Start) --- */
.landing-cover {
    width: 87vw; 
    max-width: 1400px; 
    height: 30vh; 
    overflow: hidden;
    position: relative;
    
    /* UPDATED: Changed from 12vh to 7vh to match homepage 'top: 7vh' */
    margin: 7vh auto 5vh auto; 
}

.landing-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    margin: 0;
    background-color: #f9feff;
}

/* --- 5. TYPOGRAPHY & TEXT BLOCKS --- */
.hero-headline {
    margin-top: 0 !important;
    margin-bottom: 3vh !important;
    text-align: center;
    padding: 0 20px;
    font-family: "futura-pt", sans-serif;
    font-size: 2.7rem;
    line-height: 1.0; 
    font-weight: 100; 
    font-style: italic; 
    color: var(--tx);
}

.content-block {
    max-width: 750px; 
    margin: 0 auto;
    text-align: left; 
    padding: 0 20px;
}

.content-block p {
    margin: 0 0 18px 0 !important; 
    font-size: 1.15em; 
    line-height: 1.5;
    color: #323232;
}

/* --- 6. INTEGRATED PORTRAIT --- */
.intro-portrait {
    float: left;
    width: 260px; 
    height: auto;
    margin-right: 25px; 
    margin-bottom: 20px;
    margin-top: 5px; 
    border-radius: 2px;
    object-fit: cover;
}

/* --- 7. CTA BUTTONS --- */
.btn-cta {
    display: inline-block;
    background-color: #6fa5b1;
    color: #fff !important;
    font-family: "Archivo Narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 35px;
    text-decoration: none !important;
    border-radius: 2px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-weight: 600;
}
.btn-cta:hover {
    background-color: #588a94;
    transform: translateY(-2px);
}

/* --- 8. FEATURE GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 5vh auto 1vh auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255,255,255,0.7);
    padding: 25px;
    border-left: 4px solid #6fa5b1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.feature-card h4 { 
    margin: 0 0 10px 0 !important; 
    text-align: left; 
    text-decoration: none; 
    font-family: "futura-pt", sans-serif;
    
    /* I removed the conflicting sizes and set a balanced size for cards */
    font-size: 1.3rem; 
    
    line-height: 1.1; 
    font-weight: 600; 
    font-style: normal; 
    color: var(--tx);

    /* THIS REDUCES THE KERNING */
    letter-spacing: .02em; /* Makes the letters sit closer together */
}
.feature-card p { margin: 0 !important; font-size: 1rem; text-align: left; }

/* =========================================
   9. MOBILE ADJUSTMENTS (Max Width 768px)
   ========================================= */
@media (max-width: 768px) {

    /* --- 1. HEADER FIXES --- */
    
    /* Force the text to show and align it with the Logo/Button */
    .archivo-head-top { 
        display: block !important; 
        position: fixed;
        z-index: 550;
        
        /* Positioning logic based on style.css: */
        margin-top: 1vh; /* Aligns with the button/nav height */
        max-width: 45%;    /* Prevents it from overlapping the button */
    }
    
    /* make the text smaller to fit tight mobile header */
    .archivo-head-top a {
        font-size: 0.7rem !important; 
        line-height: 1.1;
        letter-spacing: 0.05em;
    }

    /* Position the Button exactly where the Burger Menu was */
    .landing-header-btn { 
        margin-top: 4vh; /* Matches 'nav' in style.css */
        right: 5vw;      /* Matches 'nav' in style.css */
    }
    
    /* Make button slightly smaller to fit the header row */
    .btn-cta { 
        padding: 6px 12px; 
        font-size: 0.9rem; 
    }

    /* --- 2. TOP IMAGE FIX (Less High) --- */
    .landing-cover { 
        height: 18vh;      /* Much shorter (Cinematic strip) */
        margin-bottom: 4vh;
		margin: 3vh auto 5vh auto; 
		width: 85vw; 
    }
    
    /* --- 3. KATYA PORTRAIT (Bigger) --- */
    .intro-portrait {
        float: none;       /* Disable float */
        display: block;    /* Stack it */
        margin: 0 auto 25px auto; 
        
        /* UPDATED: Full width of the content container */
        width: 70%;       
        height: auto;
        max-width: 100%;   /* Remove restriction */
    }

    /* --- 4. GENERAL RESETS --- */
    .features-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        margin-top: 2vh;
    }
    
    .hero-headline { 
        font-size: 2.5em; 
        margin-bottom: 3vh !important;
    }
    
    .content-block {
        padding: 0 6vw; /* Ensure text doesn't hit edges */
    }
}