/* 09:00 · the hero: the headline, then the rail of tags (hero.js). */

.hero {
  position: relative;
  padding-top: clamp(132px, 18vh, 184px);
  padding-bottom: 72px;
  text-align: center;
}
.hero-text { display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { max-width: 13ch; }
.hero-sub {
  margin-top: 28px; max-width: 620px;
  font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted);
}
.hero-for { margin-top: 14px; font-size: 16px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 32px; font-size: 14px; color: var(--muted); max-width: none; }

/* The rail: full stage width, tags hung at different heights. */
.hero-stage {
  position: relative;
  max-width: 1320px; height: 470px;
  margin: 76px auto 0;
  padding-inline: var(--gutter);
  touch-action: pan-y;
}
.hero-stage .rail { --tag-w: 150px; }
.rail-hint {
  margin: 8px auto 0; max-width: none;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted);
}
.rail-hint .coarse { display: none; }
@media (pointer: coarse) {
  .rail-hint .fine { display: none; }
  .rail-hint .coarse { display: inline; }
}
@media (max-width: 1023px) {
  .hero-stage { height: 410px; }
  .hero-stage .rail { --tag-w: 120px; }
}

/* Desktop: the text on the left, the rail on the right, hung from just under
   the nav, so the tags are in the first screen. */
@media (min-width: 1024px) {
  .hero {
    display: grid; column-gap: 56px;
    grid-template-columns: minmax(0, 12fr) minmax(0, 10fr);
    grid-template-areas: "text stage" "note stage";
    align-items: start;
    max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
    padding: 0 var(--gutter) 72px;
    text-align: left;
  }
  .hero .wrap { max-width: none; margin: 0; padding-inline: 0; }
  .hero-text { grid-area: text; align-items: flex-start; padding-top: clamp(150px, 20vh, 210px); }
  /* One sentence a line: the three verbs, stacked. */
  .hero h1 { max-width: none; font-size: clamp(56px, 6vw, 96px); }
  .hero h1 span { display: block; white-space: nowrap; }
  .hero-actions { justify-content: flex-start; }
  .hero-note { grid-area: note; margin-top: 28px; max-width: 46ch; }
  .hero-stage { grid-area: stage; width: 100%; height: 500px; margin: 0; padding: 112px 0 0; }
  .hero-stage .rail { --tag-w: 112px; height: calc(100% - 112px); }
  .rail-hint { grid-area: stage; align-self: start; margin: 476px 0 0; text-align: center; }
}
/* Phones: all five tags on the screen, small enough not to touch. */
@media (max-width: 767px) {
  .hero-stage { height: 250px; margin-top: 48px; overflow: hidden; padding-inline: 8px; }
  .hero-stage .rail { --tag-w: 62px; }
}
