/* Loaded only by The Hive case study. */
@media (max-width: 760px) {
  .mast .wrap, .case-intro .wrap, .section-jump .wrap, .films .wrap,
  .shoot > .wrap, .insights .wrap, .case-footer .wrap {
    width: calc(100% - clamp(28px, 6vw, 48px));
  }
  .mast-inner { height: auto; min-height: 56px; }
  .case-nav { gap: 14px; }
  .case-nav a { display: inline-flex; align-items: center; min-height: 40px; }

  .case-intro-grid {
    grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
    column-gap: clamp(14px, 3vw, 24px);
    row-gap: 0; padding-block: clamp(22px, 4vw, 34px);
  }
  .case-intro h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    line-height: .96; margin: 10px 0 12px;
  }
  .case-intro h1 em { display: block; }
  .case-intro h1 em:before { content: none; }
  .case-intro .eyebrow, .film-context .eyebrow,
  .shoot > .wrap > .eyebrow, .insights .eyebrow {
    gap: 7px; font-size: .72rem; letter-spacing: .07em; line-height: 1.33;
  }
  .case-intro .eyebrow > span { flex: 0 0 15px; }
  .case-intro-text, .shoot > .wrap > .section-lede, .insights .section-lede {
    font-size: 1rem; line-height: 1.48;
  }
  .case-intro .action-row { gap: 3px 13px; margin-top: 11px; }
  .case-intro .action-row a { min-height: 44px; font-size: .86rem; }
  .case-intro .action-row .button { padding-inline: 14px; }
  .lead-photo figcaption {
    flex-direction: column; gap: 1px; margin-top: 5px; font-size: .75rem; line-height: 1.32;
  }
  .section-jump > .wrap {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 13px; padding-block: 2px;
  }
  .section-jump a { min-height: 44px; font-size: .86rem; }
  .section-jump a:nth-child(n+3) { border-top: 1px solid #c2cfbd; }

  .films, .shoot, .insights { padding-block: clamp(26px, 4.8vw, 38px); }
  .films h2, .shoot > .wrap > h2, .insights h2 {
    font-size: clamp(2.05rem, 5.8vw, 2.9rem); margin: 7px 0 11px;
  }
  .film-layout { grid-template-columns: 1fr; gap: 12px; }
  .film-context > p:not(.eyebrow) { max-width: 66ch; font-size: .95rem; line-height: 1.47; }
  .film-context .case-link { margin-top: 0; }
  .screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3.2vw, 24px); }
  .screen-grid .film { min-width: 0; width: 100%; }
  .film video { max-height: none; }
  .film figcaption { padding-top: 8px; }
  .film h3, .insight-grid h3 { font-size: clamp(1.22rem, 3.5vw, 1.55rem); line-height: 1.14; }
  .film figcaption p, .insight-grid p { font-size: .9rem; line-height: 1.45; margin-top: 5px; }
  .brief-details .production-grid { margin-top: 15px; gap: 20px; }
  .brief-details .production-spec > h3:not(:first-child) { margin-top: 15px; }
  .brief-details .production-grid p { font-size: .93rem; line-height: 1.49; }

  .insights .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 17px 0; }
  .stats > div { padding: 7px 6px 9px 0; }
  .stats dd { font-size: clamp(2rem, 5.9vw, 2.8rem); }
  .stats dt { font-size: .85rem; }
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 4vw, 29px); }
  .insights .case-link { margin-top: 7px; }
  .case-footer { padding-block: 8px; }
  .case-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }
}

@media (max-width: 500px) {
  .case-intro-grid > div:first-child { display: contents; }
  .case-intro .eyebrow { grid-row: 1; grid-column: 1; align-self: end; }
  .case-intro h1 { grid-row: 2; grid-column: 1; align-self: start; font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .lead-photo { grid-row: 1 / span 2; grid-column: 2; }
  .case-intro-text { grid-row: 3; grid-column: 1 / -1; margin-top: 14px; }
  .case-intro .action-row { grid-row: 4; grid-column: 1 / -1; }
}
@media (max-width: 359px) {
  .insight-grid { grid-template-columns: 1fr; gap: 14px; }
}
