/* Independent by design – bird and elephant videos.
 * Replaces t3e-elephant-video.css. Both videos' backgrounds are #F5F5F5,
 * the same as .independent-section, so neither has a visible edge. */

.indie-video {
  position: relative;
  width: 100%;
  background: #F5F5F5;
}
.indie-video--bird     { aspect-ratio: 1 / 1; }
.indie-video--elephant { aspect-ratio: 1152 / 704; }

.indie-video-player,
.indie-video-end {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #F5F5F5;
  pointer-events: none;          /* no tap-to-pause, no context menu */
}

/* Never show browser controls or the iOS start button */
.indie-video-player::-webkit-media-controls,
.indie-video-player::-webkit-media-controls-panel,
.indie-video-player::-webkit-media-controls-start-playback-button,
.indie-video-player::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Both graphics sit straight on the section background, no gradient card behind them */
.independent-section .hummingbird-img,
.independent-section .elephant-img {
  background: none;
}
.independent-section .elephant-img { width: 100%; }

/* Desktop: equal heights. The row is a size container; the elephant fills the
 * 7-column width, and the bird gets the elephant's height (width ÷ 1.636). */
@media (min-width: 992px) {
  .independent-section .indie-compare {
    container-type: inline-size;
    --indie-h: calc((58.3333cqw - 3rem) / 1.63636);   /* 7/12 of the row, minus the g-5 gutter */
  }
  .independent-section .indie-compare .indie-image-placeholder {
    margin-bottom: 0;
  }
  .independent-section .hummingbird-img {
    width: auto;
    height: var(--indie-h);
    aspect-ratio: 1 / 1;
    max-width: 100%;
    margin-left: auto;          /* sits against the divider, facing the elephant */
  }
  .independent-section .bird-graphic {
    height: 100%;
  }
  .independent-section .elephant-img {
    height: var(--indie-h);
  }
}
