  /*------------------------------------*\
    AUDIO BUTTON
    - Component button with hover/active/playing states.
    - NOTE: This coexists with global button{} rules above.
  \*------------------------------------*/
  .essay-header__audio-player {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }

  /* Base button */
  .button--play-audio {
    -webkit-appearance: none;
    appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;

    min-height: 44px;                 /* comfortable tap target */
    padding: 0.62rem 1.08rem;         /* balanced pill padding */

    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1;

    color: #3f3f3f;

    /* visible, subtle resting state */
    background: rgba(0, 0, 0, 0.065);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 9999px;

    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.06),
      0 10px 24px rgba(0, 0, 0, 0.04);

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;

    transition:
      background-color 220ms cubic-bezier(.2,.8,.2,1),
      border-color     220ms cubic-bezier(.2,.8,.2,1),
      color            180ms ease,
      box-shadow       240ms cubic-bezier(.2,.8,.2,1),
      transform        180ms ease;
  }

  /* Icon (locked sizing so swaps don't shift layout) */
  .button--play-audio .button__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: block;

    /* subtle optical alignment */
    transform: translateY(0.5px);

    fill: currentColor;
    stroke: currentColor;

    transition: transform 180ms ease, opacity 180ms ease;
  }

  /* Text */
  .button--play-audio .button__text {
    display: inline-block;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  /* Hover / focus */
  .button--play-audio:hover,
  .button--play-audio:focus-visible {
    color: #1f1f1f;
    background: rgba(0, 0, 0, 0.09);
    border-color: rgba(0, 0, 0, 0.20);

    box-shadow:
      0 0 0 3px rgba(0, 0, 0, 0.035),
      0 14px 30px rgba(0, 0, 0, 0.06);

    outline: none;
  }

  /* Press */
  .button--play-audio:active {
    transform: scale(0.985);
    box-shadow:
      0 1px 1px rgba(0, 0, 0, 0.08),
      0 8px 18px rgba(0, 0, 0, 0.04);
  }

  /* Playing state — calm slate (NOT black) */
  .button--play-audio.is-playing {
    color: #ffffff;
    background: #6a707d;
    border-color: #6a707d;

    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.16);
  }

  .button--play-audio.is-playing:hover,
  .button--play-audio.is-playing:focus-visible {
    background: #747b88;
    border-color: #747b88;

    box-shadow:
      0 0 0 3px rgba(0, 0, 0, 0.06),
      0 14px 32px rgba(0, 0, 0, 0.18);
  }

  /* Accessibility */
  @media (forced-colors: active) {
    .button--play-audio { border: 1px solid ButtonText; }
    .button--play-audio:focus-visible { outline: 2px solid Highlight; }
  }

  @media (prefers-reduced-motion: reduce) {
    .button--play-audio,
    .button--play-audio .button__icon { transition: none; }
  }