/* Tablet (761–1180 px) — Sana, 23/11, checked again on Serge's Version F (25/11).
   Tidies Serge's home page between the phone and the wide screen, without redesigning the blocks.
   Loaded last, so it only adds. Rules that no longer matched anything in Version F were removed. */

@media (min-width: 761px) and (max-width: 1180px) {
  /* the bar: the five links go behind the menu button (they wrapped on two lines, and at 768 px "Book a call" left the screen) */
  .nav__links { display: none; }
  .nav__burger { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--r-s); border: 1px solid var(--line-n); color: var(--snow); }
  .nav__burger svg { width: 20px; height: 20px; }
  .menu:not([hidden]) { display: grid !important; inset: 64px 0 auto 0; }
  .menu .btn { justify-self: start; padding: 0 var(--s-5); }

  /* Free mock-up: the pitch above, the form below at full width */
  .request__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-5); }
  .request__side { padding-bottom: calc(var(--s-5) + var(--lap)); }
}

/* up to 1099 px: CES 2027, the three figures ("42", "Eureka Park", "60601") break between words only, never inside one */
@media (min-width: 761px) and (max-width: 1099px) {
  .ces2__tile b { overflow-wrap: normal; font-size: clamp(30px, 4.2vw, 44px); }
}

/* portrait tablets (761–1000 px): what still does not fit side by side */
@media (min-width: 761px) and (max-width: 1000px) {
  /* the ten analysts: two rows of five, so none is cut off (one row of ten gives 61 px per face at 768 px) */
  .lineup { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: var(--s-4); }
  .mate { grid-template-rows: 66px 240px; }
  .mate img, .mate__face { height: 240px; }

  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; max-width: 520px; }
}
