/* Homepage on phones, 2026-10-27 (Dean, on his iPhone: section 3 hard to read at the top, 07's top cut off).
   Those two scenes were taller than a phone screen, so the engine pinned them by their bottom edge and their
   headings slid under the menu bar. Here they are tightened to fit one screen. Laptops and desktops don't change. */
@media (max-width: 760px) {
  /* 03: the sample timesheet */
  .cine [data-scene="03-leakage"] .ov { padding-top: 76px; padding-bottom: 16px; }
  [data-scene="03-leakage"] .ov { gap: 12px; }
  .ts { padding: 12px; gap: 10px; }
  .ts__head { gap: 2px 8px; }
  .ts__cell { padding: 6px 6px; gap: 0; font-size: 15px; }
  .ts__foot { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ts__foot > div:first-child { grid-column: auto; }
  .ts__big { font-size: 20px; }
  .ts__note { font-size: 12px; line-height: 1.4; }

  /* 07: Audit, Cleanup, Monitor */
  .cine [data-scene="07-process"] .ov { padding-top: 76px; padding-bottom: 16px; }
  .proc { gap: 12px; }
  .proc__title { font-size: clamp(30px, 8.6vw, 38px) !important; line-height: .98; }
  .proc__tabs { padding-bottom: 10px; }
  .pstep { padding: 14px 16px; gap: 6px; }
  .pstep__s { font-size: 15px; line-height: 1.4; }
  .pstep dl { gap: 6px; margin-top: 2px; }
  .pstep dl div { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding-top: 7px; }
  .pstep dd { font-size: 13px; line-height: 1.4; }
}
/* Small phones (iPhone SE and similar): drop the supporting sentence so the heading and the card still fit */
@media (max-width: 760px) and (max-height: 620px) {
  [data-scene="03-leakage"] .ov > .lead { display: none; }
  .pstep__s { display: none; }
  .proc__title { display: none; } /* the tabs right under it already read Audit, Cleanup, Monitor */
  .ts__note { font-size: 11.5px; }
}
