  /* ═══════════════════════════════════════
     Speaking Engagements — Page Styles
     ═══════════════════════════════════════ */

  /* ─── SECTION: PAST EXPERIENCE ─── */
  .experience-section {
    padding: clamp(2rem, 4vh, 3rem) 0 clamp(4rem, 8vh, 6rem);
  }

  .experience-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    margin-bottom: 2rem;
  }

  .experience-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4rem;
  }

  /* Each org = uniform card: logo centered (object-fit: contain) above a small caption */
  .experience-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 1.5rem 1.25rem 1.25rem;
    border: 1px solid rgba(44,36,22,0.1);
    border-radius: 14px;
    background: white;
    transition: all 0.3s var(--ease);
  }

  .experience-pill:hover {
    border-color: var(--amber);
    background: rgba(196,150,26,0.04);
    box-shadow: var(--shadow-sm);
  }

  /* Fixed logo box so varied aspect ratios all read as uniform */
  .experience-logo {
    width: 100%;
    height: 56px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
  }

  .experience-name {
    font-family: 'Barlow', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-align: center;
    opacity: 0.85;
  }

  /* ─── SECTION: TESTIMONIALS (auto-scroll marquee) ─── */
  .testimonials-section {
    padding: clamp(3rem, 6vh, 5rem) 0;
    overflow: hidden;
  }

  .testimonials-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    margin-bottom: 2rem;
  }

  .testimonials-source {
    margin-top: 0.5rem;
    color: rgba(0,0,0,0.55);
    font-size: 0.95rem;
    font-style: italic;
  }

  .testimonials-marquee {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
  }

  .testimonials-marquee::before,
  .testimonials-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
  }

  .testimonials-marquee::before { left: 0; background: linear-gradient(to right, var(--warm-white), rgba(253,251,246,0)); }
  .testimonials-marquee::after { right: 0; background: linear-gradient(to left, var(--warm-white), rgba(253,251,246,0)); }

  .testimonials-track {
    display: flex;
    gap: 1.5rem;
    animation: testimonialScroll 60s linear infinite;
    width: max-content;
  }

  .testimonials-track:hover { animation-play-state: paused; }

  @keyframes testimonialScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .testimonial-card {
    flex-shrink: 0;
    width: 380px;
    background: white;
    border: 1px solid rgba(44,36,22,0.08);
    border-radius: var(--radius-md);
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .testimonial-quote-mark {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--amber);
    opacity: 0.25;
    position: absolute;
    top: 0.75rem;
    left: 1.25rem;
    pointer-events: none;
    user-select: none;
  }

  .testimonial-text {
    font-family: 'Lora', serif;
    font-size: 0.92rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.7;
    flex: 1;
    padding-top: 1rem;
  }

  /* ─── SECTION: BOOKING CTA ─── */
  .booking-section {
    padding: clamp(4rem, 8vh, 6rem) 0;
  }

  .booking-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    text-align: center;
  }

  .booking-inner p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.1rem;
    color: var(--ink-light);
    margin-bottom: 1rem;
  }

  .booking-inner a {
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-decoration: none;
    background: white;
    border: 1px solid rgba(44,36,22,0.15);
    border-radius: var(--radius-sm);
    padding: 0.75rem 2rem;
    transition: all 0.3s var(--ease);
    display: inline-block;
  }

  .booking-inner a:hover {
    background: var(--ink);
    color: var(--warm-white);
    border-color: var(--ink);
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    /* Reveal fallback at all mobile/tablet breakpoints — if IntersectionObserver
       misfires the sections were rendering opacity:0 leaving giant visual gaps. */
    .reveal-section, .reveal-up { opacity: 1 !important; transform: none !important; }

    .experience-header { padding-left: 1.5rem; padding-right: 1.5rem; }
    .experience-pills {
      padding: 0 1.5rem;
      gap: 1rem;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .testimonials-header { padding-left: 1.5rem; padding-right: 1.5rem; }

    .testimonials-section { overflow: hidden; }
    .testimonials-marquee { overflow: hidden; padding: 0.5rem 0; }
    .testimonials-marquee::before,
    .testimonials-marquee::after { width: 40px; }
    .testimonials-track {
      animation: none;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x mandatory;
      width: auto;
      padding: 0.5rem 1.5rem;
    }
    .testimonial-card {
      scroll-snap-align: start;
      width: 280px;
    }
    .testimonial-text { font-size: 0.95rem; }

    .booking-inner { padding: 0 1.5rem; }
    .booking-inner a { font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }
  }

  @media (max-width: 600px) {
    /* Defensive: prevent any horizontal overflow on small screens */
    html, body { overflow-x: hidden; }

    /* Issue #2/#8: Hero is hollow + h1 too large. Tighten page-header. */
    .page-header { padding-top: 5rem !important; padding-bottom: 1.5rem !important; min-height: 0 !important; }
    .page-header h1 { font-size: clamp(2.1rem, 8vw, 2.5rem) !important; line-height: 1.1 !important; margin-bottom: 1rem !important; }
    .page-header .page-overline { margin-bottom: 0.75rem !important; }
    .page-header .page-desc { font-size: 1rem !important; line-height: 1.55 !important; }

    /* Uniform two-up logo card grid, centered. */
    .experience-section { padding: 1.5rem 0 3rem; }
    .experience-pills {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.85rem;
      padding: 0 1.25rem;
    }
    .experience-pill {
      padding: 1.1rem 0.75rem 1rem;
      gap: 0.65rem;
    }
    .experience-logo { height: 44px; }
    .experience-name { font-size: 0.72rem; }

    /* Issue #1: testimonial cards must fit viewport, not overflow. */
    .testimonials-section { padding: 2rem 0; }
    .testimonials-marquee::before,
    .testimonials-marquee::after { display: none; }
    .testimonials-track {
      gap: 1rem;
      padding: 0.5rem 1rem;
    }
    .testimonial-card {
      width: calc(100vw - 3rem);
      max-width: 320px;
      padding: 1.75rem 1.5rem 1.5rem;
    }

    /* Issue #9: reveal-section fallback — ensure content is visible even if observer misfires. */
    .reveal-section { opacity: 1 !important; }
    .reveal-up { opacity: 1 !important; transform: none !important; }
  }

  /* Issue #9: accessibility — respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .reveal-section, .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; }
    .testimonials-track { animation: none !important; }
  }
