/* responsive-wide.css — desktop fixes (>=1100px), loaded after responsive.css */

/* ---------- Hero: keep the scene selector inside the first screen on short laptop windows ----------
   main.css only keeps 24-74px of floor under the screens below 830px of window height, which
   pushed the selector 20-45px under the fold at 1366x768, 1280x720 and 1280x800. Keep the full
   floor and let the screens shrink a little further instead. */
@media (min-width: 1100px) and (max-height: 840px) {
  .hero {
    --floor: 74px;
    --sw-d: clamp(108px, min(17.5vw, calc((100svh - var(--wall-top) - var(--floor)) / 1.878)), 290px);
  }
}

/* ---------- Design & web: rows of artboards ----------
   Cards in a row share one height, but their intros run to one or two lines, so the "Get a quote"
   links sat at different heights. Let the intro take the spare space so the links line up. */
@media (min-width: 1100px) {
  .aboard { grid-template-rows: auto auto auto 1fr auto; }
}
/* the narrow social-media board wraps its title to two lines below about 1280px: give the other
   two boards in that row the same title height so the intros start on one line */
@media (min-width: 1100px) and (max-width: 1279px) {
  .aboard--web .aboard__title,
  .aboard--seo .aboard__title,
  .aboard--social .aboard__title { min-height: 2lh; }
}
/* the social board hides its format tag below 1440px; keep the label row the tag's height so its
   artboard does not ride 6px above its neighbours */
@media (min-width: 1100px) {
  .aboard__top { min-height: calc(1em + 6px); }
}

/* ---------- Hero: the sticker's arrow against the spec line ----------
   hero-wall.js stops the arrow 12px above a screen, which puts its head level with the spec line
   under the buttons ("Free 3D preview of your space"). With the larger type that line reaches the
   arrow, and the line ran through "space" at 1728x842. Lift the arrow so it always ends above the
   spec line, still pointing down at the screen; its start stays tucked under the sticker. */
@media (min-width: 1100px) {
  .hero__arrow[data-aim] { translate: 0 -28px; }
}
@media (min-width: 1366px) and (max-width: 1640px) {
  .hero__arrow[data-aim="v"] { translate: 14px -28px; }
  .hero__proof li + li::before { margin: 0 8px; }
}

/* ---------- Design & web: the two collaborators' cursors ----------
   On their curved paths between boards the cursors (and their name tags) can swing past the right
   edge of the window, which made the page 40-70px wider than the screen at 1100-1440px. */
@media (min-width: 1100px) {
  .design { overflow-x: clip; }
}

/* ---------- Why choose us: icon-and-title rows ----------
   Below 1440px some card titles wrap to two lines (48px) beside a 44px icon, so their words started
   4px lower than in the neighbouring cards and the title rows did not match. Give every icon the
   two-line height so all title rows in a row of cards are the same height. */
@media (min-width: 1100px) and (max-width: 1439px) {
  .why2 :is(.why2__item--logistics, .why2__item--project, .why2__item--custom, .why2__item--extras) .why2__ico,
  .why2 .why2__ttl .why2__ico--sm { margin-block: 2px; }
}
/* narrower desktops: when the arrow sweeps right onto the outer screen its first curve ran through
   the end of the intro ("...supplied," / "...too."). Move it right, still over the outer screen. */
@media (min-width: 1100px) and (max-width: 1279px) {
  .hero__arrow[data-aim="r"] { translate: 72px -28px; }
}
@media (min-width: 1280px) and (max-width: 1399px) {
  .hero__arrow[data-aim="r"] { translate: 28px -28px; }
}

/* ---------- Hero: spec line against the raised outer screens, 1100-1179px ----------
   The end of "Free 3D preview of your space" ran 17px into the top of the right-hand screen at
   1100px. Drop the three small icons on these widths so the line fits between the outer screens. */
@media (min-width: 1100px) and (max-width: 1179px) {
  .hero__proof .icon { display: none; }
}
