/* Round 4 fix · the opening breathes (own file, loaded last of the hero rules). Notes: CHANGES-ROUND4.md.
   Before: in the flight the hero words sat in a fixed, screen-high box. On laptop and short phone screens the
   signature slid under the header and the buttons and the journey strip were cut off at the bottom.
   Now: the hero box scrolls with the page and may grow taller than the screen, so nothing is ever cut off.
   Sizes follow the screen height as well as the width (clamp with vh and dvh), so short screens get a
   smaller signature and headline instead of a squeeze. Nothing here hides overflow. */

/* the flight: the hero words scroll with the page instead of being pinned to the screen */
html.gl .stop--hero{overflow-x:clip}   /* sideways only: the soft haze behind the words is wider than a phone */
html.gl .stop--hero > .ov{position:absolute;inset:0 0 auto 0;min-height:100vh;min-height:100dvh;
  padding-top:calc(var(--nav-h) + clamp(12px,3vh,44px));padding-bottom:clamp(28px,6vh,72px)}
/* the still page: the hero is at least one screen high and grows when it needs to (no clipping) */
html.static .stop--hero{overflow:visible;overflow-x:clip;min-height:100vh;min-height:100dvh;
  padding-top:calc(var(--nav-h) + clamp(14px,3.6vh,44px));padding-bottom:clamp(36px,8vh,96px)}

/* sizes that follow the height of the screen too */
/* Hero v19: the signature stands alone at the top, so it is noticeably larger (the wordmark and domain line are gone) */
.hero .hero__sig{width:clamp(260px,min(44vw,40vh),760px);width:clamp(260px,min(44vw,40dvh),760px);margin-bottom:clamp(6px,1.4vh,16px)}
.hero__h{font-size:clamp(34px,min(5.2vw,8.2vh),96px);font-size:clamp(34px,min(5.2vw,8.2dvh),96px)}
.hero__sub{margin-top:clamp(8px,1.5vh,14px);max-width:58ch;font-size:clamp(17px,min(1.6vw,2.7vh),28px);font-size:clamp(17px,min(1.6vw,2.7dvh),28px)}
.hero .chip{margin-top:clamp(8px,1.4vh,14px)}
.hero .cue,.hero .hero__alt{margin-top:clamp(8px,1.8vh,18px)}
.hero .cue i{height:clamp(16px,3.2vh,38px)}
.hero .jstrip{margin-top:clamp(2px,1vh,14px)}

/* short laptop screens: a little tighter so the buttons stay on the first screen */
@media (min-width:761px) and (max-height:720px){
  .hero .hero__sig{width:clamp(220px,min(44vw,38vh),760px);width:clamp(220px,min(44vw,38dvh),760px)}
  .hero__h{font-size:clamp(34px,min(5.2vw,7.6vh),96px);font-size:clamp(34px,min(5.2vw,7.6dvh),96px)}
  .hero .cue i{height:14px}
  .hero .cue{gap:6px}
}

/* phones */
@media (max-width:760px){
  .hero .hero__sig{width:min(78vw,40vh,420px);width:min(78vw,40dvh,420px)}
  .hero__h{font-size:clamp(32px,min(9.4vw,5.2vh),40px);font-size:clamp(32px,min(9.4vw,5.2dvh),40px)}
  .hero__sub{font-size:clamp(16px,min(4.6vw,2.5vh),19px);font-size:clamp(16px,min(4.6vw,2.5dvh),19px);max-width:38ch}
  .hero .cue,.hero .hero__alt{margin-top:clamp(6px,1.4vh,12px)}
  html.gl .stop--hero > .ov{padding:calc(var(--nav-h) + clamp(12px,2.6vh,28px)) 18px clamp(24px,5vh,48px)}
}
/* short phones (about 390 x 664 with the browser bars showing) */
@media (max-width:760px) and (max-height:700px){
  .hero .hero__sig{width:min(78vw,38vh,420px);width:min(78vw,38dvh,420px)}
  .hero .chip{margin-top:6px}
}

/* Hero v19: the draft chip under the sub line is gone, so the buttons get a touch of the space it left */
.hero .hero__ctas{margin-top:clamp(6px,1.4vh,14px)}
