/* ============================================================
   In the Trenches 2026 — Conference Stylesheet
   Loads AFTER style.css. Scoped overrides + conference components.

   PALETTE (on-brand with EWW):
     --eww-sage    #4a5c3e   EWW primary green — headings on light bg
     --eww-gold    #d4af37   EWW gold — shared accent, both sites
     --conf-brown  #36272c   Conference dark panel (banner, CTAs)
     --conf-gold-lt #e8d5a3  Light gold — body text on dark panels
     --ink         #2c3e50   Neutral dark for body headings
   ============================================================ */

:root {
    --eww-sage:     #4a5c3e;
    --eww-gold:     #d4af37;
    --conf-brown:   #36272c;
    --conf-gold-lt: #e8d5a3;
    --ink:          #3a3230;
    --muted:        #666;
    --rule:         #e8e0d4;
    --paper:        #fdfdfb;
    --serif:  'Playfair Display', serif;
    --sans:   'Source Sans 3', sans-serif;
}

/* ------------------------------------------------------------
   1. NEUTRALIZE THE GLOBAL HEADING RULE
   style.css line 2 forces ALL headings to sage with !important:
       h1,h2,h3,h4,h5,h6 { color: #4a5c3e !important; }
   That's fine on white, but 1.95:1 (invisible) on our dark panels.
   We scope headings by context instead of fighting per-element.
   ------------------------------------------------------------ */

/* Headings on dark conference panels -> gold */
.conf-dark h1, .conf-dark h2, .conf-dark h3,
.conf-dark h4, .conf-dark h5, .conf-dark h6 {
    color: var(--eww-gold) !important;
}

/* Headings on light conference panels -> neutral ink */
.conf-light h1, .conf-light h2, .conf-light h3,
.conf-light h4, .conf-light h5, .conf-light h6 {
    color: var(--ink) !important;
}

/* Opt-in helpers for one-off cases */
.conf-h-gold  { color: var(--eww-gold) !important; }
.conf-h-sage  { color: var(--eww-sage) !important; }
.conf-h-ink   { color: var(--ink) !important; }
.conf-h-light { color: var(--conf-gold-lt) !important; }

/* Conference headings use the display serif */
.conf-dark h1, .conf-dark h2, .conf-dark h3,
.conf-light h1, .conf-light h2, .conf-light h3 {
    font-family: var(--serif) !important;
}

/* ------------------------------------------------------------
   2. PANELS
   ------------------------------------------------------------ */
.conf-dark {
    background: var(--conf-brown);
    border-radius: 12px;
}
.conf-dark p,
.conf-dark li {
    color: var(--conf-gold-lt);
}

.conf-light {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border-top: 3px solid var(--eww-gold);
}
.conf-light p { color: var(--muted); }

/* ------------------------------------------------------------
   3. SPONSOR / FUNDER LOGO TILES
   ------------------------------------------------------------ */
.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
}
.logo-tile {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 18px 22px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 150px;
    transition: border-color 0.2s, transform 0.2s;
}
.logo-tile:hover { border-color: var(--eww-gold); transform: translateY(-2px); }
.logo-tile img {
    max-height: 100%;
    max-width: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
/* NEA logo ships with a baked-in black background */
.logo-tile.on-dark { background: #000; border-color: #000; }
.logo-tile.on-dark:hover { border-color: var(--eww-gold); }

.logo-tile--lg { height: 130px; min-width: 175px; padding: 20px 24px; }
.logo-tile--lg img { max-width: 215px; }

/* ------------------------------------------------------------
   4. FUNDERS SECTION (home page)
   ------------------------------------------------------------ */
.funders-section {
    margin-bottom: 40px;
    padding: 36px 40px;
    text-align: center;
}
.grant-credit {
    font-family: var(--sans);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 28px;
}
.grant-credit strong { color: var(--ink); font-weight: 600; }

.sponsor-divider {
    border: 0;
    border-top: 1px solid var(--rule);
    margin: 32px auto 26px;
    max-width: 420px;
}
.funders-subhead {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a89f8c;
    margin-bottom: 18px;
}

/* ------------------------------------------------------------
   5. CONFERENCE BUTTONS
   Named conf-* so they never collide with style.css .btn-gold
   ------------------------------------------------------------ */
.conf-btn, .conf-btn-ghost {
    display: inline-block;
    padding: 12px 26px;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    cursor: pointer;
}
.conf-btn {
    background: var(--eww-gold);
    color: var(--conf-brown) !important;
    border: 1px solid var(--eww-gold);
}
.conf-btn:hover { background: var(--conf-gold-lt); border-color: var(--conf-gold-lt); }
.conf-btn-ghost {
    background: transparent;
    color: var(--eww-gold) !important;
    border: 1px solid rgba(212,175,55,0.5);
}
.conf-btn-ghost:hover { border-color: var(--eww-gold); }

/* Ghost button on light backgrounds — gold on white is only 2.1:1, so use sage */
.conf-btn-ghost.on-light {
    color: var(--eww-sage) !important;
    border-color: rgba(74,92,62,0.4);
}
.conf-btn-ghost.on-light:hover {
    border-color: var(--eww-sage);
    background: rgba(74,92,62,0.06);
}

.conf-btn:active, .conf-btn-ghost:active { transform: translateY(1px); }

.conf-btn-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------
   6. SPONSOR PAGE
   ------------------------------------------------------------ */
.page-head {
    background: var(--conf-brown);
    padding: 48px 20px 44px;
    text-align: center;
}
.page-head h1 { font-size: 2.1rem; font-weight: 400; font-style: italic; margin-bottom: 10px; }
.page-head p {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--conf-gold-lt);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

.sp-main { max-width: 1000px; margin: 0 auto; padding: 44px 20px 20px; }
.sp-section { margin-bottom: 52px; }
/* Plain section: no card chrome, just a block on paper */
.sp-section.plain, .cs-wrap .conf-light.plain {
    background: transparent;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
}
.sp-section h2 { font-size: 1.5rem; font-weight: 400; font-style: italic; margin-bottom: 8px; text-align: center; }
.sp-lede {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 28px;
    text-align: center;
}
.sp-lede strong { color: var(--ink); font-weight: 600; }

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin-top: 8px;
}
.tier-card {
    background: #fff;
    border-radius: 10px;
    padding: 26px 22px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border-top: 3px solid var(--eww-gold);
    display: flex;
    flex-direction: column;
    text-align: left;
}
.tier-card .tier-name {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink) !important;
    font-weight: 700;
    margin-bottom: 4px;
}
.tier-card .tier-amt {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--eww-sage);
    margin-bottom: 14px;
}
.tier-card ul {
    list-style: none;
    padding: 0; margin: 0;
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}
.tier-card li { padding-left: 18px; position: relative; margin-bottom: 7px; }
.tier-card li::before {
    content: '\2726';
    position: absolute;
    left: 0;
    color: var(--eww-gold);
    font-size: 0.7rem;
    top: 2px;
}

.sp-cta { padding: 40px; text-align: center; margin-bottom: 52px; }
.sp-cta h2 { font-size: 1.4rem; font-weight: 400; font-style: italic; margin-bottom: 14px; }
.sp-cta p { font-size: 0.95rem; line-height: 1.7; max-width: 680px; margin: 0 auto 24px; }

.tax-note {
    font-family: var(--sans);
    font-size: 0.78rem;
    color: #888;
    text-align: center;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 40px;
}

/* ------------------------------------------------------------
   7. NAV — conference-specific additions
   The structural nav CSS lives in style.css (.navbar, .nav-links,
   .dropdown-content, .menu-toggle, mobile breakpoints). We only
   add what's specific to this site.
   ------------------------------------------------------------ */
.logo-text .logo-sub {
    display: block;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: none;
    margin-top: 2px;
}

/* Current page indicator */
.nav-links a.is-active {
    color: var(--conf-brown);
    border-bottom: 2px solid var(--eww-gold);
    padding-bottom: 3px;
}
@media (max-width: 768px) {
    .nav-links a.is-active {
        border-bottom: 1px solid #eee;
        border-left: 4px solid var(--eww-gold);
    }
}

/* ------------------------------------------------------------
   8. FOOTER
   ------------------------------------------------------------ */
.conf-footer {
    background: var(--conf-brown);
    margin-top: 60px;
    padding: 44px 20px 0;
}
.conf-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 32px;
    padding-bottom: 36px;
}
.cf-title {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--eww-gold);
    font-weight: 700;
    margin-bottom: 12px;
}
.cf-text {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--conf-gold-lt);
    line-height: 1.7;
    margin: 0;
}
.cf-text a { color: var(--conf-gold-lt); text-decoration: underline; }
.cf-text a:hover { color: var(--eww-gold); }
.cf-links { list-style: none; padding: 0; margin: 0; }
.cf-links li { margin-bottom: 7px; }
.cf-links a {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--conf-gold-lt);
    text-decoration: none;
}
.cf-links a:hover { color: var(--eww-gold); }

.conf-footer-credit {
    border-top: 1px solid rgba(212,175,55,0.2);
    padding: 20px;
    text-align: center;
}
.conf-footer-credit p {
    font-family: var(--sans);
    font-size: 0.75rem;
    color: #9a8f80;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 6px;
}
.cf-copy { font-size: 0.72rem !important; color: #7a7068 !important; }

/* ------------------------------------------------------------
   9. COMING SOON pages
   ------------------------------------------------------------ */
.cs-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 20px 20px;
    text-align: center;
}
.cs-badge {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--eww-sage);
    background: rgba(74,92,62,0.08);
    border: 1px solid rgba(74,92,62,0.2);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 20px;
}
.cs-body {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 32px;
}
.cs-panel {
    padding: 32px 36px;
    text-align: center;
    margin-bottom: 40px;
}
.cs-panel h2 { font-size: 1.2rem; font-weight: 400; font-style: italic; margin-bottom: 10px; }
.cs-panel p { font-size: 0.9rem; line-height: 1.7; max-width: 560px; margin: 0 auto 20px; }

/* ------------------------------------------------------------
   10. CONTACT page
   ------------------------------------------------------------ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 44px;
}
.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 26px 24px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border-top: 3px solid var(--eww-gold);
    margin-bottom: 18px;
}
.contact-card h3 {
    font-family: var(--serif) !important;
    font-size: 1.05rem;
    color: var(--ink) !important;
    margin-bottom: 8px;
}
.contact-card p {
    font-family: var(--sans);
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}
.contact-card a { color: var(--eww-sage); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* Form on dark panel */
.cf-form .fgroup { margin-bottom: 16px; text-align: left; }
.cf-form label {
    display: block;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--conf-gold-lt);
    margin-bottom: 5px;
}
.cf-form input[type="text"],
.cf-form input[type="email"],
.cf-form select,
.cf-form textarea {
    width: 100%;
    padding: 10px 13px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.92rem;
    color: #fff;
    transition: border-color 0.2s;
}
.cf-form textarea { min-height: 130px; resize: vertical; }
.cf-form input::placeholder, .cf-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.cf-form input:focus, .cf-form select:focus, .cf-form textarea:focus {
    outline: none;
    border-color: var(--eww-gold);
    background: rgba(255,255,255,0.1);
}
.cf-form select option { background: var(--conf-brown); color: #fff; }
.cf-form .btn-submit {
    width: 100%;
    padding: 13px;
    background: var(--eww-gold);
    color: var(--conf-brown);
    border: none;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.cf-form .btn-submit:hover { background: var(--conf-gold-lt); transform: translateY(-1px); }

.msg-ok, .msg-err {
    font-family: var(--sans);
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
    text-align: center;
}
.msg-ok  { background: rgba(76,175,125,0.15); border: 1px solid rgba(76,175,125,0.4); color: #7fd4a8; }
.msg-err { background: rgba(224,92,92,0.15);  border: 1px solid rgba(224,92,92,0.4);  color: #f5a5a5; }

/* ------------------------------------------------------------
   12. AGENT / EDITOR DIRECTORY — sidebar filter + card grid
   ------------------------------------------------------------ */
.ae-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
    padding: 44px 20px 20px;
}

.ae-filter {
    position: sticky;
    top: 20px;
    padding: 22px 20px;
}
.ae-filter h3 {
    font-family: var(--serif) !important;
    font-size: 1rem;
    color: var(--ink) !important;
    margin-bottom: 4px;
}
.ae-filter .ae-filter-hint {
    font-family: var(--sans);
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.5;
}
.genre-check-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}
.sidebar-genre-group {
    border-bottom: 1px solid var(--rule);
    padding-bottom: 10px;
}
.sidebar-genre-group:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-genre-group summary {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    padding: 8px 0;
}
.sidebar-genre-group summary::-webkit-details-marker { display: none; }
.sidebar-genre-group summary::before {
    content: '\25B8';
    color: var(--eww-gold);
    margin-right: 8px;
    font-size: 0.75rem;
    transition: transform 0.2s;
}
.sidebar-genre-group[open] summary::before { transform: rotate(90deg); }
.sidebar-genre-group summary .gc-count {
    font-weight: 400;
    margin-left: 4px;
}
.sidebar-genre-group-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0 6px 20px;
}
.genre-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--muted);
    cursor: pointer;
}
.genre-check input { accent-color: var(--eww-sage); cursor: pointer; width: 15px; height: 15px; flex-shrink: 0; }
.genre-check .gc-count { color: #a89f8c; font-size: 0.76rem; margin-left: auto; }
.ae-filter-reset {
    width: 100%;
    padding: 9px;
    background: transparent;
    border: 1px solid rgba(74,92,62,0.3);
    color: var(--eww-sage);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.ae-filter-reset:hover { background: rgba(74,92,62,0.06); border-color: var(--eww-sage); }

.ae-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: 20px;
    align-items: start;
}
.ae-card {
    background: #fff;
    border-radius: 10px;
    padding: 22px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border-top: 3px solid var(--eww-gold);
    text-align: center;
}
.ae-card.is-hidden { display: none; }
.ae-photo {
    width: 88px; height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    background: var(--eww-sage);
    display: flex; align-items: center; justify-content: center;
}
.ae-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ae-photo .ae-initials {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
}
.ae-name {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 2px;
}
.ae-role {
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--eww-sage);
    line-height: 1.5;
    margin-bottom: 4px;
}
.ae-format {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--rule);
    border-radius: 20px;
    padding: 3px 10px;
    margin-top: 2px;
}

.ae-genres-toggle {
    text-align: left;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--rule);
}
.ae-genres-toggle summary {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ae-genres-toggle summary::-webkit-details-marker { display: none; }
.ae-genres-toggle summary::after {
    content: '\25BE';
    color: var(--eww-gold);
    transition: transform 0.2s;
    margin-left: 8px;
}
.ae-genres-toggle[open] summary::after { transform: rotate(180deg); }
.ae-genres-toggle ul {
    list-style: none;
    padding: 10px 0 0;
    margin: 0;
    font-family: var(--sans);
    font-size: 0.82rem;
    color: var(--muted);
}
.ae-genres-toggle li { padding: 3px 0; }

.ae-bio-btn {
    width: 100%;
    margin-top: 16px;
    padding: 9px;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.6);
    color: var(--eww-sage);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.ae-bio-btn:hover { background: rgba(74,92,62,0.06); border-color: var(--eww-sage); }
.ae-bio-pending {
    margin-top: 16px;
    font-family: var(--sans);
    font-size: 0.76rem;
    font-style: italic;
    color: #a89f8c;
}

.ae-empty {
    display: none;
    text-align: center;
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--muted);
    padding: 50px 20px;
    grid-column: 1 / -1;
}
.ae-empty.is-visible { display: block; }

/* ------------------------------------------------------------
   13. BIO MODAL — shared by agents/editors and (optionally) speakers
   ------------------------------------------------------------ */
.bio-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,14,16,0.72);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bio-modal-overlay.is-open { display: flex; }
.bio-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 42px 36px 36px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}
.bio-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--rule);
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.bio-modal-close:hover { background: var(--eww-gold); color: #fff; }
.bio-modal-photo {
    width: 108px; height: 108px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--eww-sage);
    display: flex; align-items: center; justify-content: center;
}
.bio-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-modal-name {
    font-family: var(--serif) !important;
    font-size: 1.4rem;
    color: var(--ink) !important;
    margin-bottom: 4px;
}
.bio-modal-role {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--eww-sage);
    margin-bottom: 16px;
}
.bio-modal-genres {
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
}
.bio-modal-genres strong { color: var(--ink); }
.bio-modal-bio {
    font-family: var(--sans);
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--muted);
    text-align: left;
}
.bio-modal-bio p { margin: 0 0 14px; }
.bio-modal-bio p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   14. KEYNOTE FEATURE + SPEAKER GRID (speakers.php)
   ------------------------------------------------------------ */
.keynote-feature {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 34px;
    align-items: center;
    padding: 40px;
    margin-bottom: 52px;
}
.keynote-feature .kf-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(212,175,55,0.4);
    background: rgba(255,255,255,0.06);
}
.keynote-feature .kf-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.kf-eyebrow {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--eww-gold);
    margin-bottom: 8px;
}
.keynote-feature h2 {
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    margin-bottom: 4px;
}
.kf-role {
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--conf-gold-lt);
    margin-bottom: 16px;
}
.kf-bio p {
    font-family: var(--sans);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 10px;
}
.kf-bio p:last-child { margin-bottom: 0; }
.kf-site-link {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--eww-gold) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(212,175,55,0.5);
}
.kf-site-link:hover { border-color: var(--eww-gold); }

.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 20px;
    margin-top: 8px;
}
.speaker-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border-top: 3px solid var(--eww-gold);
    text-align: center;
}
.speaker-card .sc-photo {
    width: 92px; height: 92px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    background: var(--eww-sage);
    display: flex; align-items: center; justify-content: center;
}
.speaker-card .sc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.speaker-card .sc-photo .ae-initials { font-family: var(--serif); font-size: 1.6rem; color: #fff; font-weight: 700; }
.speaker-card .sc-name {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 4px;
}
.speaker-card .sc-bio {
    font-family: var(--sans);
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 14px;
}
.speaker-card .sc-site-link {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--eww-sage) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(74,92,62,0.3);
}
.speaker-card .sc-site-link:hover { border-color: var(--eww-sage); }

/* ------------------------------------------------------------
   15. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    .funders-section { padding: 28px 20px; }
    .logo-row { gap: 12px; }
    .logo-tile { height: 84px; padding: 12px 16px; min-width: 120px; }
    .logo-tile img { max-width: 130px; }
    .logo-tile--lg { height: 96px; min-width: 130px; padding: 14px 18px; }
    .logo-tile--lg img { max-width: 150px; }

    .page-head { padding: 32px 16px 30px; }
    .page-head h1 { font-size: 1.6rem; }
    .sp-main { padding: 28px 16px 12px; }
    .sp-cta { padding: 28px 20px; }

    .contact-grid { grid-template-columns: 1fr; }
    .conf-footer-inner { gap: 24px; text-align: center; }
    .cs-wrap { padding: 36px 16px 12px; }
    .cs-panel { padding: 24px 20px; }
    .logo-text .logo-sub { display: none; }

    .ae-layout { grid-template-columns: 1fr; padding: 28px 16px 12px; }
    .ae-filter { position: static; }
    .keynote-feature { grid-template-columns: 1fr; text-align: center; padding: 28px 24px; }
    .keynote-feature .kf-photo { max-width: 200px; margin: 0 auto; }
    .bio-modal { padding: 34px 22px 26px; }
}
