/* Review board: the home hero as a rendered laptop (owner, 11 Nov 2026, Website 25). Every class here is hr-.
   A dark stage like Apple's: headline, then the film. The film plays once on load; when it ends, the last frame stays as a picture and the live
   Phoenix story carries on exactly on top of its screen (positioned from the render's own screen-rect.json). Phones get the tall film. */
.hr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hr-review main { background: #000; }   /* round 8: only the review page goes black; on the home the hero is a black band */
.hr-stage { position: relative; background: #000; color: #f5f5f7; padding: clamp(96px, 13vh, 140px) 0 0; overflow: hidden; }
.hr-copy { position: relative; z-index: 2; text-align: center; }
.hr-h { margin: 0 auto; max-width: 13em; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.01em; color: #f5f5f7;
  transition: text-shadow 1.6s ease, color 1.6s ease; }
.hr-h span { display: block; color: #86868b; transition: color 1.6s ease, text-shadow 1.6s ease; }
.hr-lead { margin: 16px 0 0; font: 400 20px/28px var(--font-text); color: #a1a1a6; }
.hr-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin: 26px 0 0; }
.hr-btn { display: inline-flex; align-items: center; gap: 22px; padding: 14px 22px; border-radius: 8px; background: #2459e0; color: #fff; font: 600 15px/20px var(--font-text); text-decoration: none;
  box-shadow: 0 10px 24px -10px rgb(36 89 224 / 60%); transition: box-shadow 1.6s ease; }
.hr-link { font: 600 15px/20px var(--font-text); color: #6f9bff; text-decoration: none; }
.hr-link span { margin-left: 12px; }
/* the screen's light falls on the words above it once the story plays, the way Apple's headline catches the screen */
.hr-stage.is-lit .hr-h { text-shadow: 0 0 34px rgb(170 190 255 / 32%), 0 0 2px rgb(255 255 255 / 30%); }
.hr-stage.is-lit .hr-h span { color: #a9adb8; }
.hr-stage.is-lit .hr-btn { box-shadow: 0 10px 24px -10px rgb(36 89 224 / 60%), 0 0 36px -6px rgb(150 175 255 / 45%); }

/* round 7: the film ends close in, with the screen near its top edge, so it no longer tucks up under the buttons */
.hr-film { position: relative; margin: clamp(12px, 1.6vw, 28px) auto 0; width: min(1600px, 100vw); }
.hr-frame { position: relative; }
.hr-wide { aspect-ratio: 16 / 9; }
.hr-tall { display: none; aspect-ratio: 1080 / 1350; }
.hr-video, .hr-end { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.hr-end { opacity: 0; }
/* round 6: the film's stage is true black (no floor, black world), the same black as the page, so the film needs no edge fade */
/* round 8 (owner): the hand-off from the film to the live story must not read as a cut, so it crossfades slowly */
.hr-screen { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; transform-origin: 0 0; opacity: 0; transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1); }
/* round 8 (owner, 12 Nov 2026): "I would want the bottom boundary ... to be completely hazy, and it's not a hard cut ... almost like a blur,
   Gaussian blur applied there". Where the film's bottom edge crosses the keyboard it melts away: a blur that grows towards the edge, and the
   picture fading into the page's black. It sits below the screen in the last frame (wide screen ends at 82.3 % since round 10, tall at 70.4 %). */
/* Round 10 (owner, 13 Nov 2026): the wide film now ends lower, and the haze is a thin band (3.5 %, was 10 %) that cuts the third key row
   through its middle: "half cut, half hazy, almost like a natural blur". The phone film keeps its 24 %. */
.hr-frame { --haze: 3.5%; }
.hr-tall { --haze: 24%; }
.hr-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--haze); z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%); mask-image: linear-gradient(to bottom, transparent, #000 55%);
  background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 55%) 50%, #000 96%); }
.hr-frame.is-done .hr-end { opacity: 1; }
.hr-frame.is-done .hr-screen { opacity: 1; }
.hr-replay { position: relative; z-index: 2; margin: 0; padding: 8px 0 48px; text-align: center; }
.hr-replay button { appearance: none; border: 1px solid rgb(255 255 255 / 18%); background: rgb(255 255 255 / 6%); color: #d2d2d7; border-radius: 999px; padding: 9px 18px; font: 500 14px/18px var(--font-text); cursor: pointer; }
.hr-notes { background: #000; color: #d2d2d7; padding: 24px 0 96px; }
.hr-notes .kit-h2 { color: #f5f5f7; }
.hr-notes .kit-p { color: #a1a1a6; max-width: 46em; margin-top: 12px; }
.hr-notes a { color: #6f9bff; }

@media (max-width: 767px) {
  .hr-wide { display: none; }
  .hr-tall { display: block; }
  .hr-film { margin-top: 8px; }
  .hr-lead { font-size: 17px; line-height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-video { display: none; }
  .hr-end, .hr-screen { opacity: 1; transition: none; }
  .hr-h, .hr-h span, .hr-btn { transition: none; }
}
