/* style.css */
:root {
    --bg-color: #ffffff;
    --text-color: #222222;
    --accent-color: #f4f4f4; 
    --link-color: #2C3E50; /* Deep Executive Navy */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 19px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: #111; margin-bottom: 1rem; line-height: 1.2; }
h1 { font-size: 2.8rem; margin-top: 0; letter-spacing: -0.5px; }
h2 { font-size: 1.8rem; margin-top: 3.5rem; border-bottom: 2px solid #111; padding-bottom: 10px; }
h3 { font-size: 1.4rem; margin-top: 2rem; color: #111; }

p { margin-bottom: 1.5rem; }
a { color: var(--link-color); text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
a:hover { text-decoration: none; color: #555; }

/* Navigation */
nav { padding: 50px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
nav .logo { font-family: var(--font-heading); font-weight: 900; font-size: 1.3rem; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; color: #000; }
nav ul { list-style: none; display: flex; gap: 25px; }
nav a { text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: #444; font-weight: 400; }
nav a:hover { color: #000; text-decoration: underline; }

/* Hero Section */
.hero { padding: 80px 0 60px 0; text-align: left; }
.hero .subhead { font-size: 1.4rem; color: #444; font-family: var(--font-heading); font-style: italic; margin-bottom: 1rem; }

/* Layout Container for Imagery */
.headshot-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 2rem;
}

/* Homepage Headshot (Squircle & B/W) */
.headshot-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    filter: grayscale(100%);
    border: 1px solid #ddd;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* NEW: Speaking Page Action Shot (Rectangular & Color) */
.speaking-hero-img {
    width: 300px;
    height: 200px; /* Rectangular aspect ratio */
    border-radius: 12px;
    object-fit: cover;
    /* No grayscale filter here */
    border: 1px solid #ddd;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}


/* Credibility Bar */
.credibility-bar { display: flex; gap: 20px; margin-bottom: 2rem; flex-wrap: wrap; }
.anchor-item { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--link-color); border-left: 3px solid #ccc; padding-left: 12px; }

/* Impact / Case Study Box */
.impact-box {
    border-left: 4px solid var(--link-color);
    background: #f8f9fa;
    padding: 30px;
    margin: 2rem 0;
    font-size: 1rem;
}
.impact-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

/* Featured Items */
.featured-item { margin-bottom: 2rem; padding: 25px; background: var(--accent-color); border-radius: 2px; transition: transform 0.2s ease; }
.featured-item:hover { transform: translateY(-2px); }
.featured-item h3 a { text-decoration: none; color: #000; }
.meta { font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.8rem; display: block; font-weight: 700; }

/* Principles Section */
.principles-section { margin-top: 4rem; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-top: 2rem; }
.principles-grid strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; border-bottom: 1px solid #ddd; margin-bottom: 10px; padding-bottom: 5px; color: #000; }
.principles-grid p { font-size: 0.95rem; line-height: 1.6; color: #555; }

/* Speaking List (used on speaking.html) */
.speaking-list { margin-top: 2rem; }
.speaking-row { padding: 20px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: baseline; }
.conf-name { font-weight: 700; font-size: 1.1rem; width: 40%; font-family: var(--font-heading); }
.conf-details { width: 55%; text-align: right; }
.conf-loc { display: block; font-size: 0.9rem; color: #666; margin-bottom: 4px; }
.conf-role { display: block; font-size: 0.9rem; font-weight: 700; color: var(--link-color); text-transform: uppercase; letter-spacing: 0.5px; }

/* Footer */
footer { margin-top: 100px; padding: 50px 0; border-top: 1px solid #eee; text-align: center; font-size: 0.9rem; color: #666; }

/* Mobile Optimization */
@media (max-width: 600px) {
    nav { flex-direction: column; gap: 20px; text-align: center; }
    h1 { font-size: 2.2rem; }
    
    /* Stack Headshot/Speaking Photo on Mobile */
    .headshot-container {
        flex-direction: column-reverse; /* Text first, then photo */
        text-align: center;
        gap: 20px;
    }
    /* Ensure speaking photo isn't too wide on mobile */
    .speaking-hero-img { width: 100%; max-width: 300px; height: auto; }

    .hero { text-align: center; }
    
    /* Stack Grids */
    .credibility-bar { flex-direction: column; gap: 15px; }
    .anchor-item { border-left: none; border-top: 2px solid #ccc; padding-top: 5px; padding-left: 0; }
    .principles-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* Speaking Mobile */
    .speaking-row { flex-direction: column; gap: 5px; }
    .conf-name { width: 100%; margin-bottom: 5px; }
    .conf-details { width: 100%; text-align: left; }
}