:root {
    --charcoal: #1a1c1e;
    --off-white-header: #f5f5f5;
    --nav-bg: #f4f2ef;
    --white: #ffffff;
    --light-bg: #f8fafc;
}

body { 
    font-family: 'Inter', sans-serif; 
    margin: 0; 
    background: var(--white); 
    color: var(--charcoal);
    line-height: 1.6;
}

/* ---------------------------
   NAVIGATION
----------------------------*/

nav { 
    background: var(--nav-bg);
    padding: 5px 10%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    position: sticky; 
    top: 0; 
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}

.logo-img { 
    height: 85px; 
    width: auto; 
    display: block; 
}

/* Navigation links */
nav a { 
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 25px;
    letter-spacing: 1px;

    /* Button-like hover foundation */
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover: ALL nav items turn into blue buttons */
nav a:hover {
    background: #1A4F8B;   /* deep professional blue */
    color: #fff;
}

/* Get in Touch behaves exactly like the others */
nav a.contact-link {
    background: none;
    color: var(--charcoal);
}

nav a.contact-link:hover {
    background: #1A4F8B;
    color: #fff;
}

/* ---------------------------
   HERO SECTION
----------------------------*/

.hero { 
    position: relative;
    height: 70vh;
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(26, 28, 30, 0.6), rgba(26, 28, 30, 0.6)), 
                url('view-london-skyline-by-night.jpg');
    background-size: cover; 
    background-position: center;
    color: var(--off-white-header);
}

.hero h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 4.5rem; 
    margin: 0; 
    font-weight: 400; 
    letter-spacing: 1px;
}

.hero .tagline { 
    font-weight: 300; 
    letter-spacing: 6px; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    margin-bottom: 15px; 
    opacity: 0.9;
}
.hero-mission {
    max-width: 800px; /* Prevents the text from stretching across the whole screen */
    margin: 25px auto 0; /* Centers the block and adds space below the name */
    padding: 0 20px;
}

.mission-primary {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.9;
}

.mission-secondary {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; /* Slightly larger for readability */
    line-height: 1.6; /* Balanced spacing between lines */
    font-weight: 300;
    opacity: 0.85;
    font-style: italic; /* Gives it an "expert quote" feel */
}
/* --- THE IMPACT STATEMENT (LEAD-IN) --- */
.lead-in {
    background-color: #ffffff;
    padding: 100px 10%; 
    text-align: center;
}

.lead-in-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* The Gold Accent Line above the text */
.lead-in-container::before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #d4af37; 
    margin: 0 auto 40px;
}

.lead-in p {
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    line-height: 1.6;
    color: #1a1c1e;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
}

/* ---------------------------
   SECTIONS
----------------------------*/

.section-padding { 
    padding: 100px 10%; 
}

.profile-flex { 
    display: flex; 
    align-items: flex-start; 
    gap: 80px; 
    flex-wrap: wrap; 
}

.profile-image { 
    flex: 1; 
    min-width: 350px; 
}

.profile-image img { 
    width: 100%; 
    border-radius: 2px; 
    box-shadow: 15px 15px 0px var(--light-bg);
    border: 1px solid #eee;
}

.profile-text { 
    flex: 1.5; 
    min-width: 300px; 
}

.profile-text h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.8rem; 
    margin-top: 0; 
    border-left: 4px solid var(--charcoal); 
    padding-left: 25px; 
}

.grid {
    display: grid;
    /* This tells the browser to fit as many 300px columns as it can, or stay at 3 columns */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 30px;
    border-top: 3px solid #d4af37; /* Adds the gold accent line to the top of each card */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card h3 { 
    font-family: 'Playfair Display', serif; 
    margin-top: 0; 
    font-size: 1.6rem; 
}
/* --------------------------- CARD + BLOG STYLES ----------------------------*/

.card {
    /* your existing card styles */
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.read-more:hover {
    color: #000;
    border-bottom: 1px solid #000;
}

/* --------------------------- MAGAZINE-GRADE BYLINE ----------------------------*/

.byline-block {
    margin-top: -10px;
    margin-bottom: 50px;
    line-height: 1.4;
}

.byline-author {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1c1e;
    margin: 0;
}

.byline-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #555;
    margin: 4px 0 0 0;
    letter-spacing: 0.2px;
}

.byline-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin: 2px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ---------------------------
   FOOTER
----------------------------*/

footer { 
    background: var(--charcoal); 
    color: white; 
    padding: 60px 10%; 
    text-align: center; 
}
/* ---------------------------
   MOBILE OPTIMISATION
----------------------------*/
@media (max-width: 768px) {

    nav {
        padding: 10px 5%;
    }

    nav a {
        margin-left: 15px;
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .logo-img {
        height: 60px;
    }

    .hero {
        height: 50vh;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .section-padding {
        padding: 60px 5%;
    }

    .profile-flex {
        flex-direction: column;
        gap: 40px;
    }

    .profile-text h2 {
        font-size: 2rem;
        padding-left: 15px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}
/* ---------------------------
    MOBILE NAVIGATION FIX
----------------------------*/
@media (max-width: 768px) {

    /* Stack the nav vertically */
    nav {
        flex-direction: column;
        align-items: center;
        padding: 15px 5%;
    }

    /* Shrink the logo */
    .logo-img {
        height: 60px;
        margin-bottom: 10px;
    }

    /* Wrap the links neatly */
    nav div {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    /* Make each link smaller */
    nav a {
        margin-left: 0;
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    /* Hero adjustments */
    .hero-mission {
        margin-top: 15px;
    }

    .mission-primary {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    /* Lead-in Impact Statement adjustments */
    .lead-in {
        padding: 60px 5%;
    }

    .lead-in p {
        font-size: 1.4rem;
        line-height: 1.5;
    }
} /* <--- This bracket closes the whole mobile section */
