/* Helix, a science news concept. Same image led layout as Nexa: a heading,
   two or three sentences, then a full width screen. Everything else (nav,
   more-work, CTA, footer) comes from detail-common. */

.hx-hero {
  padding: 140px 0 100px;
  text-align: center;
  background: var(--bg-dark);
}

.hx-eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  color: var(--mint);
  font-family: var(--font-hand);
  font-size: var(--text-l);
  font-weight: 700;
  transform: rotate(-3deg);
}

.hx-title {
  margin: 0 0 24px;
  color: var(--text-dark-1);
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: var(--fw-semibold);
  letter-spacing: -.04em;
  line-height: .92;
}

.hx-desc {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-dark-2);
  font-size: var(--text-m);
  line-height: 1.5;
}

/* the hero export sits on Helix's own ink, a touch bluer than the page, so it
   gets rounded corners and a faint edge to read as a framed image */
.hx-hero-mockup {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: clamp(36px, 5vw, 56px) auto 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md, 12px);
}

/* ---------- screen sections ---------- */

.hx-section { padding-top: var(--section-pad-sm, 64px); }

.hx-lede {
  max-width: 720px;
  margin: 0 0 clamp(28px, 4vw, 44px);
  color: var(--text-light-2);
  font-size: var(--text-m);
  line-height: var(--lh-text);
}

.hx-shot {
  margin: 0;
  border: 1px solid var(--border-soft, #efefef);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  background: #fff;
}

.hx-shot img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 680px) {
  .hx-hero { padding: 112px 0 72px; }
  .hx-lede { font-size: var(--text-r, 16px); }
  .hx-shot { border-radius: 8px; }
}
