/* =====================================================================
   MOBILE QA PASS (phones, ≤ 600px)
   Loaded last. Fixes found while reviewing the site at 390px (iPhone)
   and 360px (small Android): overlapping hero text, oversized labels,
   empty gaps, boxes poking out of the screen, a cramped footer, and a
   missing way to play the showreel on phones.
   ===================================================================== */

/* Global: anything marked `hidden` stays hidden. Without this, `.s-sent
   { display:flex }` overrode it and the "Got it — your message is on its way"
   box showed under the contact form on every device before anyone sent. */
[hidden] { display: none !important; }

/* The phone "Watch showreel" button only exists where the round floating
   badge is hidden. */
.m-reel-mobile { display: none; }

@media (max-width: 600px) {

  /* ---------- HERO ----------
     The text block was taller than the screen, so it got pushed up under
     the nav and the REC / timecode labels. Give it a safe top padding and
     let the hero grow instead. */
  .s-hero { padding: 132px 20px 64px; }
  .s-hero__line { left: 20px; }
  .s-hero__eyebrow { padding-left: 0; margin-bottom: 22px; }
  .s-hero__eyebrow .s-eyebrow { line-height: 1.8; }
  .s-hero__desc { font-size: 14px; line-height: 1.8; }
  .s-hero__sub { margin-top: 28px; gap: 26px; }
  .s-hero__sub .s-btn { flex: 1 1 100%; justify-content: center; padding-left: 16px; padding-right: 16px; }
  .m-hud--rec, .m-hud--tc { top: 82px; }
  .m-hud--rec, .m-bracket.tl { left: 20px; }
  .m-hud--tc, .m-bracket.br { right: 20px; }
  .m-bracket.tl { top: 74px; }
  .m-hud--meta { left: 20px; bottom: 24px; }

  .m-reel-mobile {
    display: inline-flex; align-items: center; gap: 12px;
    background: transparent; color: var(--cream); border: 0; padding-top: 6px;
  }
  .m-reel-mobile__play {
    width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative;
    background: linear-gradient(135deg, var(--bf-grad-start), var(--bf-grad-mid), var(--bf-grad-end));
    box-shadow: 0 0 18px rgba(155,84,224,0.45);
  }
  .m-reel-mobile__play::after {
    content: ''; position: absolute; left: 13px; top: 10px;
    border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  }

  /* ---------- CLIENTS MARQUEE ----------
     "TRUSTED BY" was as big as the client names and covered the strip.
     Small label on top, names scrolling underneath. */
  .m-marquee { flex-direction: column; align-items: flex-start; padding: 20px 0 22px; }
  .m-marquee__lead {
    position: static; transform: none; display: block; padding: 0 20px 14px; background: none;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.32em; line-height: 1;
  }
  .m-marquee::before, .m-marquee::after { width: 40px; }
  .m-marquee__item { font-size: 26px; gap: 40px; }
  .m-marquee__track { gap: 40px; }

  /* ---------- SECTIONS: tighter rhythm, no big empty gaps ---------- */
  .s-section { padding: 72px 20px; }
  .s-head { gap: 18px; margin: 18px 0 36px; }
  .s-head .s-title { margin-bottom: 0; }  /* browser default h2 margin (~43px) doubled the gap */
  .s-head .s-lead { margin: 0; }
  .s-eyebrow { line-height: 1.8; }
  .s-lead { max-width: none; }

  /* ---------- ABOUT: decorative boxes stay inside the screen ---------- */
  .s-about__visual { height: 340px; }
  .s-about__box--accent { left: 12px; bottom: -16px; width: 112px; height: 70px; }
  .s-about__box--small { right: 12px; top: -16px; width: 62px; height: 62px; }
  .s-about__box--small img { width: 30px !important; height: 30px !important; }
  .s-stats { gap: 26px 20px; }

  /* ---------- STUDIO ---------- */
  .s-studio__visual { height: 360px; }
  .s-studio__visual .s-photo { object-position: center 18%; }

  /* ---------- WORK ---------- */
  .s-work__cta .s-btn { width: 100%; justify-content: center; letter-spacing: 0.16em; }

  /* ---------- CONTACT: links stacked, no huge gaps ---------- */
  .s-contact__email { font-size: clamp(24px, 7.4vw, 34px); word-break: break-word; margin-bottom: 30px; }
  .s-contact__divider { height: 40px; margin-bottom: 26px; }
  .s-contact__links { flex-direction: column; align-items: center; gap: 16px; }
  .s-form { margin-top: 56px; }
  .s-form .s-btn { width: 100%; justify-content: center; }

  /* ---------- FOOTER: brand + tagline get the full width ---------- */
  .s-footer { padding: 56px 20px 32px; }
  .s-footer__top { gap: 32px 20px; }
  .s-footer__top > div:first-child { grid-column: 1 / -1; }
  .s-footer__tag { line-height: 1.9; letter-spacing: 0.22em; }
  .s-footer__col a, .s-footer__col p { line-height: 1.35; margin-bottom: 14px; }

  /* ---------- MOBILE MENU: fully opaque so the hero doesn't show through ---------- */
  .s-drawer { background: #080808; }
}
