/* Home stop words (tray, building). Motion is the 12-02 build's (camera-departure-panels.mjs): with the camera
   (html.cam-words) home-camera.js pins each stop's words to the window and fades them over 96 px of scroll on each
   side of the stop, sitting (1 - opacity) x 96 px low. The look is our pages' hero (Building owners, measured with
   getComputedStyle at 1440): no box and no text shadow, one soft radial shade behind the words (home-camera.js draws
   it on the camera canvas at the words' opacity), a 13 px light-caps eyebrow, a 48 px headline with one light-blue
   phrase, a 20/30 px lead, and the pages' button. */
@media (min-width:761px){
  .home .s-tray .spec { background:none; border:0; border-radius:0; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; padding:0; }
  .home :is(.s-tray, .s-building) .copy::before { display:none; }
  .home :is(.s-tray, .s-building) .copy { max-width:38rem; }
  .home :is(.s-tray, .s-building) .copy .label { font:300 13px/18.2px var(--sans); letter-spacing:.16em; text-transform:uppercase; color:rgb(179 184 190); margin:0; }
  .home :is(.s-tray, .s-building) .copy .h-sec { font:600 48px/1.06 var(--display); letter-spacing:-.015em; color:#f4f6f8; margin:14px 0 0; }
  .home :is(.s-tray, .s-building) .copy .intro { font:400 20px/30px var(--sans); color:rgb(208 213 219); max-width:544px; margin:16px 0 0; }
  .home :is(.s-tray, .s-building) .copy .actions { margin-top:32px; }
}
html.cam-words :is(.s-tray, .s-building) > .stop-main { position:fixed; left:0; right:0; top:0; height:calc(100svh / var(--s, 1)); z-index:2;
  opacity:0; pointer-events:none; will-change:opacity, translate; }
html.cam-words :is(.s-tray, .s-building) > .stop-main.is-on { pointer-events:auto; }

/* ===== Round 14 fixes (Home) ===== */
/* R4 + R5, phone: every Home stop's headline is the first screen's 34 px, and every call to action is full width,
   stacked, all the same width (Monday's phone first screen and the Owners hero). */
@media (max-width:760px){
  .home :is(.s-tray, .s-building) .copy .h-sec { font-size:34px; line-height:1.08; letter-spacing:-.02em; }
  /* html.home out-counts home-wide.css's phone rule (buttons sized to their text), which loads after this sheet. */
  html.home .actions { flex-direction:column; align-items:stretch; }
  html.home .actions .btn { width:100%; justify-content:center; }
}
/* R3: the tray and building stops' shade is a feathered rectangle on the words' own block, at every width: full
   strength over the block, fading to nothing over half the block's height above and below and over the side margin.
   It lives inside the stop's words, so it rises and fades with them (it was an ellipse on the camera canvas, centred
   on the window, that reached the top of the screen). */
html.home :is(.s-tray, .s-building) .copy::before { display:block; content:""; position:absolute; z-index:-1; pointer-events:none;
  inset:-50% calc(-1 * var(--shm, 96px)); background:rgb(9 15 21 / var(--shf, .8));
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 var(--shm, 96px), #000 calc(100% - var(--shm, 96px)), transparent), linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-composite:source-in; mask-image:linear-gradient(90deg, transparent, #000 var(--shm, 96px), #000 calc(100% - var(--shm, 96px)), transparent), linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-composite:intersect; }
html.home .s-tray { --shf:.72; }
@media (max-width:760px){
  html.home :is(.s-tray, .s-building) { --shm:20px; }
  /* The label's own dark patch had a hard top edge; the block shade covers the label now. */
  html.home .s-building .copy .label::before { display:none; }
  /* R6 + R3: on the phone first screen "not years." sat over the lit rack (worst pixel 3.18:1), under a round pool
     that reached ~200 px above the words. The pool becomes the same feathered rectangle on the words' block, so
     the rack above the words still shows. */
  html.home .s-rest .copy::before { inset:-50% -20px; background:rgb(9 15 21 / .62);
    -webkit-mask-image:linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent), linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
    -webkit-mask-composite:source-in; mask-image:linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent), linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
    mask-composite:intersect; }
}
/* R3: the tray stop's band from the screen's left edge goes; its words keep the block shade above. */
html.home .s-tray::after { background:none; }
/* R2 (A+): above 1920 px the first screen's headline is always its two lines, "Compute in weeks," over "not years."; in
   the column's width at 2200-2560 x ~1000-1080 it wrapped to three narrow lines, which moved the words and so the
   header (it sits on the headline's left edge) ~380 px right. */
@media (min-width:1921px){
  html.home .s-rest .copy h1 { white-space:nowrap; }
  html.home .s-rest .copy h1 .tone { display:block; }
}

/* Shaped band D (design partner mb_8ddkURS1TQ), laptop and wider: the tray and building stops' shade is a band from the
   screen's left edge, on the words' own ::before, so it still rises and fades with them. Across: 0.35 at the screen
   edge (0.486 of the peak), the peak from 0.25 x the 608 px block left of the words, held across them, gone 0.73 x the
   block (444 px) past their right edge. Down: the peak over the words' band (30-70% of the window), 40% of the peak at
   the window's top and bottom. Every ramp is smoothstep (stops at its quarters), so no edge or corner shows. --sl is
   the words' left edge in page px: 48 px below 1440, then the 1340 px column's edge (50% of the page width - 622 px),
   at least 98 px. The words sit centred in the window, so the box's top and bottom are the window's. */
@media (min-width:761px){
  html.home :is(.s-tray, .s-building) { --sl:48px; --shp:.58; }
  html.home .s-tray { --shp:.35; }
  html.home :is(.s-tray, .s-building) .copy::before { inset:auto; left:calc(-1 * var(--sl)); width:calc(var(--sl) + 1052px);
    top:calc((100% - 100vh / var(--s, 1)) / 2); bottom:calc((100% - 100vh / var(--s, 1)) / 2);
    background:rgb(9 15 21 / var(--shp));
    --sb:max(0px, calc(var(--sl) - 152px)); --sc:calc(var(--sl) + 608px);
    -webkit-mask-image:linear-gradient(90deg, rgb(0 0 0 / .486) 0, rgb(0 0 0 / .566) calc(var(--sb) * .25), rgb(0 0 0 / .743) calc(var(--sb) * .5), rgb(0 0 0 / .92) calc(var(--sb) * .75), #000 var(--sb), #000 var(--sc), rgb(0 0 0 / .844) calc(var(--sc) + 111px), rgb(0 0 0 / .5) calc(var(--sc) + 222px), rgb(0 0 0 / .156) calc(var(--sc) + 333px), transparent 100%),
      linear-gradient(180deg, rgb(0 0 0 / .4) 0, rgb(0 0 0 / .494) 7.5%, rgb(0 0 0 / .7) 15%, rgb(0 0 0 / .906) 22.5%, #000 30%, #000 70%, rgb(0 0 0 / .906) 77.5%, rgb(0 0 0 / .7) 85%, rgb(0 0 0 / .494) 92.5%, rgb(0 0 0 / .4) 100%);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg, rgb(0 0 0 / .486) 0, rgb(0 0 0 / .566) calc(var(--sb) * .25), rgb(0 0 0 / .743) calc(var(--sb) * .5), rgb(0 0 0 / .92) calc(var(--sb) * .75), #000 var(--sb), #000 var(--sc), rgb(0 0 0 / .844) calc(var(--sc) + 111px), rgb(0 0 0 / .5) calc(var(--sc) + 222px), rgb(0 0 0 / .156) calc(var(--sc) + 333px), transparent 100%),
      linear-gradient(180deg, rgb(0 0 0 / .4) 0, rgb(0 0 0 / .494) 7.5%, rgb(0 0 0 / .7) 15%, rgb(0 0 0 / .906) 22.5%, #000 30%, #000 70%, rgb(0 0 0 / .906) 77.5%, rgb(0 0 0 / .7) 85%, rgb(0 0 0 / .494) 92.5%, rgb(0 0 0 / .4) 100%);
    mask-composite:intersect; }
}
@media (min-width:1440px){
  html.home :is(.s-tray, .s-building) { --sl:max(98px, calc(50vw / var(--s, 1) - 622px)); }
}

/* W4: the building stop shade fades in over 780 px on its left, so on ultra-wide screens its left edge reads as a soft
   fall-off on the sky rather than a hard edge; at 1440 the whole ramp sits left of the screen. */
html.home:not(#_):not(#__):not(#___) .s-building .copy::before {
  -webkit-mask-image:linear-gradient(90deg, transparent calc(var(--sl) - 900px), rgb(0 0 0 / .156) calc(var(--sl) - 705px), rgb(0 0 0 / .5) calc(var(--sl) - 510px), rgb(0 0 0 / .844) calc(var(--sl) - 315px), #000 calc(var(--sl) - 120px), #000 var(--sc), rgb(0 0 0 / .844) calc(var(--sc) + 111px), rgb(0 0 0 / .5) calc(var(--sc) + 222px), rgb(0 0 0 / .156) calc(var(--sc) + 333px), transparent 100%),
      linear-gradient(180deg, #000 0, #000 calc(100% - 20vh / var(--s, 1)), rgb(0 0 0 / .844) calc(100% - 15vh / var(--s, 1)), rgb(0 0 0 / .5) calc(100% - 10vh / var(--s, 1)), rgb(0 0 0 / .156) calc(100% - 5vh / var(--s, 1)), transparent 100%),
      radial-gradient(1600px 400px at calc((var(--sl) + var(--sc)) / 2) 400px, #000 50%, rgb(0 0 0 / .844) 62.5%, rgb(0 0 0 / .5) 75%, rgb(0 0 0 / .156) 87.5%, transparent 100%),
      linear-gradient(180deg, transparent 100px, rgb(0 0 0 / .156) 125px, rgb(0 0 0 / .5) 150px, rgb(0 0 0 / .844) 175px, #000 200px) !important;
  mask-image:linear-gradient(90deg, transparent calc(var(--sl) - 900px), rgb(0 0 0 / .156) calc(var(--sl) - 705px), rgb(0 0 0 / .5) calc(var(--sl) - 510px), rgb(0 0 0 / .844) calc(var(--sl) - 315px), #000 calc(var(--sl) - 120px), #000 var(--sc), rgb(0 0 0 / .844) calc(var(--sc) + 111px), rgb(0 0 0 / .5) calc(var(--sc) + 222px), rgb(0 0 0 / .156) calc(var(--sc) + 333px), transparent 100%),
      linear-gradient(180deg, #000 0, #000 calc(100% - 20vh / var(--s, 1)), rgb(0 0 0 / .844) calc(100% - 15vh / var(--s, 1)), rgb(0 0 0 / .5) calc(100% - 10vh / var(--s, 1)), rgb(0 0 0 / .156) calc(100% - 5vh / var(--s, 1)), transparent 100%),
      radial-gradient(1600px 400px at calc((var(--sl) + var(--sc)) / 2) 400px, #000 50%, rgb(0 0 0 / .844) 62.5%, rgb(0 0 0 / .5) 75%, rgb(0 0 0 / .156) 87.5%, transparent 100%),
      linear-gradient(180deg, transparent 100px, rgb(0 0 0 / .156) 125px, rgb(0 0 0 / .5) 150px, rgb(0 0 0 / .844) 175px, #000 200px) !important;
  -webkit-mask-size:100% 100% !important; mask-size:100% 100% !important; -webkit-mask-position:0 0 !important; mask-position:0 0 !important; }

/* "#build" without script (link check, partner 21:47Z): the button row lands mid-window, clear of the fixed header. */
#build { scroll-margin-top:40vh; }
