/* Hero section styles. Classes start with hero-. The headline and the text sit side by side,
   and the two reels fill the row below, so both are in the first screen at 1440 x 900. */
.hero { padding-top: 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: end; }
/* The benchmark's name is the large line, with the one-line description under it. */
.hero-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--fg-1);
}
.hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  text-wrap: balance;
}
.hero-text .body { max-width: 560px; }
.hero-btns { margin-top: 24px; }
.hero-videos { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-clip { margin: 0; min-width: 0; }
.hero-frame {
  position: relative;
  overflow: hidden;
  background: var(--c-ink-900);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.hero-frame .clip { display: block; width: 100%; height: auto; }
.hero-label {
  position: absolute; left: 0; top: 0;
  padding: 9px 16px 8px;
  background: var(--c-brand-orange);
  color: #fff;
  max-width: 72%;
  font: 700 15px/1.25 var(--font-display);
  letter-spacing: 0.01em;
  border-bottom-right-radius: var(--r-lg);
}
/* The pass or fail mark: a rounded square in the frame's corner, shown by hero.js from the
   moment the item is set down or lost until the reel cuts to its next clip. */
.hero-mark {
  position: absolute; right: 14px; top: 14px;
  width: 21%; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: var(--r-lg);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  animation: hero-pop 0.22s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.hero-mark[hidden] { display: none; }
.hero-mark svg { width: 68%; height: 68%; }
.hero-mark--pass { background: #1E9E57; }
.hero-mark--fail { background: #D8342B; }
@keyframes hero-pop { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-mark { animation: none; } }
/* Two lines are kept for the caption so the tiles below do not move when it changes. */
.hero-cap { margin: 10px 0 0; min-height: 3.2em; max-width: none; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
}
@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .hero-videos { margin-top: 32px; gap: 10px; }
  .hero-label { padding: 5px 8px 4px; font-size: 11px; max-width: 70%; }
  .hero-mark { right: 8px; top: 8px; width: 24%; }
  .hero-cap { min-height: 6.4em; }
}
