/* =========================================================================
   Mark Malloch-Brown – Homepage Stylesheet  v3 (complete rewrite)
   astra-child/assets/css/homepage.css
   ========================================================================= */

/* -------------------------------------------------------------------------
   Design tokens
   ---------------------------------------------------------------------- */
:root {
    --navy:       #1E4D8C;
    --navy-dark:  #163d73;
    --heading:    #1a1a1a;
    --body-text:  #444444;
    --bg:         #F7F9FC;
    --white:      #ffffff;
    --amber:      #8B6914;
    --amber-mid:  #D4A017;
    --amber-bg:   #FDF8F0;
    --border:     #e0e4eb;

    --serif: 'Playfair Display', Georgia, serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max-w:     1200px;   /* hero, press strip, speaking inner containers  */
    --content-w:  960px;   /* main content + sidebar                        */
    --pad:          2rem;
    --radius:       6px;
}

/* -------------------------------------------------------------------------
   Astra reset – remove defaults that conflict with our full-custom template
   ---------------------------------------------------------------------- */
.home .entry-title,
.home .ast-breadcrumbs-wrapper,
.home .page-header {
    display: none !important;
}

.home .entry-content,
.home .entry-content > *:first-child,
.home .ast-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: none !important;
}

.home #primary {
    width: 100%;
    max-width: none;
    padding: 0;
    float: none;
}

/* -------------------------------------------------------------------------
   Page wrapper
   IMPORTANT: No overflow-x: hidden here — it blocks tab nav scrolling
   ---------------------------------------------------------------------- */
.mmb-page {
    background: var(--bg);
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.mmb-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
}
.mmb-btn:focus-visible {
    outline: 3px solid var(--amber-mid);
    outline-offset: 2px;
}

.mmb-btn--primary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.mmb-btn--primary:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    color: #fff;
    transform: translateY(-1px);
}

.mmb-btn--substack {
    background: transparent;
    color: var(--amber);
    border-color: var(--amber);
}
.mmb-btn--substack:hover {
    background: var(--amber);
    color: #fff;
    transform: translateY(-1px);
}

/* =========================================================================
   HERO  –  full-bleed background, content constrained to 1200px, 60/40 grid
   ========================================================================= */
.mmb-hero {
    background: var(--bg);
}

.mmb-hero__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;   /* 60% content / 40% photo */
    min-height: 88vh;
}

/* Left: text content */
.mmb-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 3rem 3rem 2rem;   /* 40px top, generous right gap, left margin */
}

.mmb-hero__eyebrow {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--navy);
    margin: 0 0 1.5rem;
}

/* H1: clamp prevents 3-line break on mid-size viewports */
.mmb-hero__name {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--heading);
    line-height: 1.1;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.mmb-hero__rule {
    width: 52px;
    height: 2px;
    background: var(--amber);
    border: none;
    margin: 0 0 1.5rem;
}

.mmb-hero__bio {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--body-text);
    margin: 0 0 2rem;
    max-width: 540px;
}

.mmb-hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Right: portrait photo */
.mmb-hero__photo {
    position: relative;
    overflow: hidden;
    background: #c8d2df;  /* visible placeholder until portrait.jpg is uploaded */
    min-height: 420px;    /* ensures column has height even before image loads   */
}

.mmb-hero__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* =========================================================================
   PRESS STRIP
   ========================================================================= */
.mmb-press-strip {
    background: var(--navy);
    padding: 0.875rem 0;
}

.mmb-press-strip__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mmb-press-strip__label {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    flex-shrink: 0;
}

.mmb-press-strip__outlets {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.875rem;
}

.mmb-press-strip__outlets span {
    font-family: var(--serif);
    font-size: 0.9375rem;
    font-style: italic;
    color: rgba(255,255,255,0.78);
}

.mmb-press-strip__outlets .mmb-sep {
    font-style: normal;
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
}

/* =========================================================================
   CONTENT AREA (tabs + sidebar)
   ========================================================================= */
.mmb-content-area {
    padding: 4rem 0 5rem;
}

.mmb-content-area__inner {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}

/* =========================================================================
   TABS
   overflow-x: auto lets all four labels scroll horizontally.
   A thin scrollbar (3px) signals to the user that more tabs exist.
   ========================================================================= */
.mmb-tabs__nav {
    display: flex;
    flex-wrap: nowrap;              /* tabs stay on one line */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.75rem;
    /* Thin visible scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.mmb-tabs__nav::-webkit-scrollbar        { height: 3px; }
.mmb-tabs__nav::-webkit-scrollbar-track  { background: transparent; }
.mmb-tabs__nav::-webkit-scrollbar-thumb  { background: var(--border); border-radius: 3px; }

.mmb-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-family: var(--sans);
    font-size: 0.6875rem;        /* 11px */
    font-weight: 500;
    color: var(--body-text);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: color 0.18s, border-color 0.18s;
}
.mmb-tab-btn:hover {
    color: var(--navy);
}
.mmb-tab-btn.active,
.mmb-tab-btn[aria-selected="true"] {
    color: var(--navy);
    border-bottom-color: var(--navy);
    font-weight: 600;
}
.mmb-tab-btn:focus-visible {
    outline: 2px solid var(--amber-mid);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Panels */
.mmb-tab-panel         { display: none; }
.mmb-tab-panel.active,
.mmb-tab-panel:not([hidden]) { display: block; }

/* =========================================================================
   ARTICLE GRID + CARDS
   ========================================================================= */
.mmb-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.25rem;
}

.mmb-article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, transform 0.18s;
    display: flex;
    flex-direction: column;
}
.mmb-article-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.mmb-article-card__image {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
}

.mmb-article-card__body {
    padding: 1.125rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mmb-article-card__meta {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin: 0 0 0.375rem;
}

.mmb-article-card__title {
    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}
.mmb-article-card__title a { color: var(--heading); text-decoration: none; }
.mmb-article-card__title a:hover { color: var(--navy); }

.mmb-article-card__excerpt {
    font-family: var(--sans);
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--body-text);
    margin: 0 0 0.875rem;
    flex: 1;
}

.mmb-article-card__link {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    margin-top: auto;
}
.mmb-article-card__link:hover { color: var(--amber); }

.mmb-tab-empty {
    padding: 1.75rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
    color: var(--body-text);
    font-family: var(--sans);
    font-size: 0.875rem;
    line-height: 1.6;
}
.mmb-tab-empty code {
    background: #f0f2f5;
    border-radius: 3px;
    padding: 0.1em 0.4em;
    font-size: 0.875em;
}

/* =========================================================================
   SIDEBAR
   ========================================================================= */
.mmb-sidebar {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Substack box */
.mmb-substack-box {
    background: var(--amber-bg);
    border: 2px solid var(--amber);
    border-radius: var(--radius);
    padding: 1.375rem;
}

.mmb-substack-box__eyebrow {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--amber);
    margin: 0 0 0.3rem;
}

.mmb-substack-box__title {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 0.5rem;
}

.mmb-substack-box__desc {
    font-family: var(--sans);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--body-text);
    margin: 0 0 0.875rem;
}

.mmb-substack-box__input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #c8b48a;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
    background: var(--white);
    transition: border-color 0.18s;
}
.mmb-substack-box__input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(139,105,20,0.15);
}

.mmb-substack-box__btn {
    display: block;
    width: 100%;
    padding: 0.6875rem;
    background: var(--amber);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
}
.mmb-substack-box__btn:hover { background: #7a5c10; }

/* ── Latest feed */
.mmb-latest-feed {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.mmb-latest-feed__heading {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    margin: 0 0 0.875rem;
    padding-bottom: 0.6875rem;
    border-bottom: 1px solid var(--border);
}

.mmb-latest-feed__list { list-style: none; margin: 0; padding: 0; }

.mmb-latest-feed__item {
    padding: 0.5625rem 0;
    border-bottom: 1px solid #f0f2f5;
}
.mmb-latest-feed__item:last-child { border-bottom: none; padding-bottom: 0; }

.mmb-latest-feed__date {
    display: block;
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.mmb-latest-feed__post-title {
    font-family: var(--serif);
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--heading);
    text-decoration: none;
    display: block;
}
.mmb-latest-feed__post-title:hover { color: var(--navy); }

.mmb-latest-feed__empty { font-family: var(--sans); font-size: 0.875rem; color: var(--body-text); margin: 0; }

/* =========================================================================
   SPEAKING SECTION
   ========================================================================= */
.mmb-speaking {
    background: var(--navy);
    padding: clamp(3rem, 7vw, 5rem) 0;
    color: #fff;
}

.mmb-speaking__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 4rem;
    align-items: start;
}

.mmb-speaking__eyebrow {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.4);
    margin: 0 0 0.75rem;
}

.mmb-speaking__title {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.15;
}

.mmb-speaking__desc {
    font-family: var(--sans);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.75);
    margin: 0 0 1.75rem;
}

.mmb-speaking__topics-label {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    margin: 0 0 0.75rem;
}

.mmb-topic-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mmb-topic-pill {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 0.375rem 0.875rem;
    background: rgba(255,255,255,0.07);
    white-space: nowrap;
}

/* =========================================================================
   ENQUIRY FORM
   ========================================================================= */
.mmb-enquiry-wrap {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    padding: 2rem;
}

.mmb-enquiry-form__title {
    font-family: var(--serif);
    font-size: 1.375rem;
    color: #fff;
    margin: 0 0 1.375rem;
}

.mmb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.mmb-form-group { margin-bottom: 0.875rem; }

.mmb-form-group label {
    display: block;
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.3rem;
}

.mmb-form-group input,
.mmb-form-group select,
.mmb-form-group textarea {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.875rem;
    box-sizing: border-box;
    transition: border-color 0.18s, box-shadow 0.18s;
    -webkit-appearance: none;
}
.mmb-form-group input::placeholder,
.mmb-form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.mmb-form-group input:focus,
.mmb-form-group select:focus,
.mmb-form-group textarea:focus {
    outline: none;
    border-color: var(--amber-mid);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.22);
}
.mmb-form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}
.mmb-form-group select option { background: var(--navy); }
.mmb-form-group textarea { resize: vertical; min-height: 100px; }

.mmb-form__submit {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: var(--amber);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, transform 0.12s;
    margin-top: 0.25rem;
}
.mmb-form__submit:hover { background: #7a5c10; transform: translateY(-1px); }
.mmb-form__submit:focus-visible { outline: 3px solid var(--amber-mid); outline-offset: 2px; }

.mmb-form-success {
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius);
    color: #fff;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
}
.mmb-form-success p { margin: 0; }

/* =========================================================================
   HERO – tagline (new line below H1)
   ========================================================================= */
.mmb-hero__tagline {
    font-family: var(--serif) !important;
    font-size: clamp(1.125rem, 2.2vw, 1.5rem) !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: var(--amber) !important;
    margin: -0.75rem 0 1.5rem !important;
    line-height: 1.3 !important;
}

/* =========================================================================
   SHARED SECTION LABELS  (used by topics, expertise, testimonials)
   ========================================================================= */
.mmb-section-eyebrow {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber);
    margin: 0 0 0.75rem;
}

.mmb-section-title {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Press strip – Time 100 link */
.mmb-press-strip__link {
    color: rgba(255,255,255,0.78) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: border-color 0.18s, color 0.18s;
    font-style: italic;
}
.mmb-press-strip__link:hover {
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.7);
}

/* =========================================================================
   SCROLL ANIMATIONS
   Sections start visible; JS adds a gentle rise-in enhancement.
   ========================================================================= */
.mmb-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
/* JS applies this class before observing to opt-in to the animation */
.mmb-animate.will-animate {
    opacity: 0;
    transform: translateY(24px);
}
.mmb-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   SPEAKING TOPICS SECTION
   ========================================================================= */
.mmb-topics {
    background: var(--white);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.mmb-topics__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.mmb-topics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.mmb-topic-card {
    border-top: 3px solid var(--amber);
    padding: 1.5rem 1.25rem 1.5rem 0;
}

.mmb-topic-card__num {
    display: block;
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--amber);
    margin-bottom: 0.75rem;
}

.mmb-topic-card__title {
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.25;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.mmb-topic-card__desc {
    font-family: var(--sans);
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--body-text);
    margin: 0;
}

.mmb-topics__cta {
    text-align: center;
    padding-top: 0.5rem;
}

.mmb-btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.mmb-btn--outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-1px);
}

/* =========================================================================
   EXPERTISE BRIEFS  –  accordion
   ========================================================================= */
.mmb-expertise {
    background: var(--bg);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.mmb-expertise__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.mmb-accordion {
    border-top: 1px solid var(--border);
}

.mmb-accordion__item {
    border-bottom: 1px solid var(--border);
}

.mmb-accordion__btn {
    display: grid;
    grid-template-columns: 2.5rem 1fr 1.5rem;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: none;
    border: none;
    padding: 1.375rem 0;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}
.mmb-accordion__btn:hover .mmb-accordion__title {
    color: var(--navy);
}
.mmb-accordion__btn:focus-visible {
    outline: 2px solid var(--amber-mid);
    outline-offset: 2px;
    border-radius: 2px;
}

.mmb-accordion__num {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--amber);
}

.mmb-accordion__title {
    font-family: var(--serif);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--heading);
    line-height: 1.2;
    transition: color 0.18s;
}

/* Plus / minus icon */
.mmb-accordion__icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    justify-self: end;
}
.mmb-accordion__icon::before,
.mmb-accordion__icon::after {
    content: '';
    position: absolute;
    background: var(--navy);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.mmb-accordion__icon::before {
    width: 16px; height: 2px;
    top: 7px; left: 0;
}
.mmb-accordion__icon::after {
    width: 2px; height: 16px;
    top: 0; left: 7px;
}
.mmb-accordion__btn[aria-expanded="true"] .mmb-accordion__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* Panel */
.mmb-accordion__panel {
    overflow: hidden;
}
.mmb-accordion__panel[hidden] {
    display: none;
}

.mmb-accordion__body {
    padding: 0 0 2rem 3.5rem;  /* aligns with title column */
}
.mmb-accordion__body p {
    font-family: var(--sans);
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--body-text);
    margin: 0 0 1rem;
    max-width: 680px;
}
.mmb-accordion__body p:last-child { margin-bottom: 0; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.mmb-testimonials {
    background: var(--navy);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.mmb-testimonials__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.mmb-testimonials .mmb-section-eyebrow {
    color: rgba(255,255,255,0.45);
}

.mmb-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mmb-testimonial {
    margin: 0;
    padding: 0;
}

.mmb-testimonial__quote::before {
    content: '\201C';
    display: block;
    font-family: var(--serif);
    font-size: 3.5rem;
    line-height: 0.8;
    color: var(--amber);
    opacity: 0.55;
    margin-bottom: 0.5rem;
}

.mmb-testimonial__quote {
    font-family: var(--serif);
    font-size: clamp(1rem, 2vw, 1.1875rem);
    font-style: italic;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin: 0 0 1.25rem;
}

.mmb-testimonial__footer {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mmb-testimonial__attr {
    display: block;
}

/* =========================================================================
   VIDEOS  (uncommented when Vimeo links are ready)
   ========================================================================= */
.mmb-videos {
    background: var(--white);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.mmb-videos__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.mmb-videos__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.mmb-video-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.mmb-video-embed {
    position: relative;
    padding-bottom: 56.25%;   /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #111;
}

.mmb-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* Single video – cap width so it doesn't look lost on wide screens */
.mmb-videos__grid--one {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Two videos – restore full grid */
.mmb-videos__grid--two {
    grid-template-columns: 1fr 1fr;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

/* ≤ 1024px – speaking goes single-column; topics drop to 2 cols */
@media (max-width: 1024px) {
    .mmb-speaking__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .mmb-topics__grid {
        grid-template-columns: 1fr 1fr;
    }
    .mmb-videos__grid {
        grid-template-columns: 1fr;
    }
}

/* ≤ 900px – sidebar drops below main */
@media (max-width: 900px) {
    .mmb-content-area__inner {
        grid-template-columns: 1fr;
    }
    .mmb-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* ≤ 768px – hero stacks vertically; single-column layouts */
@media (max-width: 768px) {
    :root { --pad: 1.25rem; }

    .mmb-hero__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    /* Photo above text on mobile */
    .mmb-hero__photo {
        height: 65vw;
        min-height: 260px;
        order: -1;
        position: relative;
    }
    .mmb-hero__content {
        padding: 2rem 1.25rem;
    }
    .mmb-hero__buttons {
        flex-direction: column;
    }
    .mmb-form-row {
        grid-template-columns: 1fr;
    }

    .mmb-topics__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mmb-topic-card {
        border-top: none;
        border-left: 3px solid var(--amber);
        padding: 1rem 0 1rem 1.25rem;
    }

    .mmb-accordion__body {
        padding-left: 0;
    }

    .mmb-testimonials__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Disable animations on small screens – respect reduced motion */
    .mmb-animate {
        opacity: 1;
        transform: none;
    }
}

/* ≤ 480px – small phones */
@media (max-width: 480px) {
    .mmb-btn { justify-content: center; text-align: center; }
    .mmb-press-strip__outlets { gap: 0.375rem 0.625rem; }
}
