/* ===== Round 11 scale (Dec 2): above 1440 wide the whole page is the approved 1440 design enlarged.
   Linked LAST. Nothing here applies at 1440 or below, so 1440 and the phone are untouched.

   --s, the enlargement: the larger the screen, the larger everything, but never so large that the
   1440 x 900 first screen stops fitting: s = max(1, min(width / 1440, height / 900)).
   1920 x 1080 = 1.2 · 2560 x 1440 = 1.6 · 3440 x 1440 = 1.6. tan(atan2(a, b)) is a / b as a plain number.

   `zoom` on body enlarges type, spacing, buttons, chips, the column's max width and the header together.
   Inside a zoomed box a viewport unit is enlarged too, so every vw / vh / svh below is divided by --s. ===== */
@media (min-width:1441px){
  :root { --s: max(1, min(tan(atan2(100vw, 1440px)), tan(atan2(100vh, 900px)))); }
  .r11 body { zoom: var(--s); }

  /* Owners room strip: full bleed in screen units, so undo the enlargement of 100vw */
  .r11 .r3 { margin:0 calc(50% - 50vw / var(--s)); width:calc(100vw / var(--s)); }

  /* Hero boxes: grow with the width so the picture is cropped no tighter than at 1440
     (the 1920 x 1080 scenes show this share of their height at 1440: Company 96%, Careers 89%, Owners 100%),
     up to the first screen under the 42 px banner. Equal to the 1440 height at 1440, so no jump. */
  .r11 .pg-company .plate.full { min-height:max(780px, min(calc(100svh / var(--s) - var(--banner-h, 42px)), calc(100vw / var(--s) * .5417))) !important; }
  .pg-careers .hero { min-height:max(720px, min(calc(100svh / var(--s) - var(--banner-h, 42px)), calc(100vw / var(--s) * .5))); }
  .r11 .gcar { min-height:max(720px, min(calc(100svh / var(--s)), calc(100vw / var(--s) * .5))); }

  /* Left shades: placed from the text column (the .wrap's left edge, (100% - 1340px) / 2), not from the
     screen width. Each stop is its 1440 position minus the 50 px margin it had there, so 1440 is unchanged. */
  .r11.r6.nocard .plate.full::after { background:
    linear-gradient(0deg, var(--n0) 0%, rgba(255,255,255,.9) 9%, rgba(255,255,255,0) 36%),
    linear-gradient(90deg, rgba(9,15,21,.9) 0%, rgba(9,15,21,.9) calc((100% - 1340px) / 2),
      rgba(9,15,21,.72) calc((100% - 1340px) / 2 + 440px), rgba(9,15,21,.2) calc((100% - 1340px) / 2 + 843px),
      transparent calc((100% - 1340px) / 2 + 1102px)) !important; }
  .r11.r7.ow-a3 .plate.full::after { background:
    radial-gradient(ellipse 662px 58% at calc((100% - 1340px) / 2 + 267px) 46%, rgba(9,15,21,.9) 0%, rgba(9,15,21,.75) 45%, rgba(9,15,21,0) 100%) !important; }
  .r11 .pg-careers .hero::after { background:
    linear-gradient(0deg, var(--n0) 0%, rgba(255,255,255,.85) 4%, rgba(255,255,255,0) 14%),
    linear-gradient(180deg, rgba(9,15,21,.6) 0, rgba(9,15,21,0) 140px),
    linear-gradient(90deg, rgba(9,15,21,.9) 0%, rgba(9,15,21,.9) calc((100% - 1340px) / 2),
      rgba(9,15,21,.74) calc((100% - 1340px) / 2 + 468px), rgba(9,15,21,.22) calc((100% - 1340px) / 2 + 843px),
      rgba(9,15,21,0) calc((100% - 1340px) / 2 + 1102px)); }
  .r11 .gcar::after { background:linear-gradient(90deg, rgba(9,15,21,.55) calc((100% - 1340px) / 2), transparent calc((100% - 1340px) / 2 + 958px)) !important; }
}

/* Truly wide screens: every hero fills the first screen under the banner */
@media (min-width:2001px){
  .r11 .pg-company .plate.full { min-height:calc(100svh / var(--s) - var(--banner-h, 42px)) !important; }
  .pg-careers .hero { min-height:calc(100svh / var(--s) - var(--banner-h, 42px)); }
}
