/* By JTT — homepage hero and now-strip.
 * The hero is content-first: maker mark, headline, lede, actions. The
 * now-strip below carries current work and latest writing. */

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 18px;
}
/* Dotted survey grid behind the hero copy. Fades out toward the bottom
   so the now-strip starts on clean paper. Decorative only. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--line-strong) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: center top;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, black 25%, transparent 92%);
  mask-image: linear-gradient(to bottom, black 25%, transparent 92%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Canonical JTT monogram — the hero's visual anchor. Stroke uses currentColor
   so it tracks the active theme; the accent dot carries the brand signal. */
.hero-mark svg {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  color: var(--ink);
}
.hero-stop { color: var(--signal); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 16px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Active-shipping chip — ties the opening view to the studio's current work. */
.hero-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  transition: color 150ms ease, border-color 150ms ease;
}
.hero-now:hover, .hero-now:focus-visible { color: var(--ink); border-color: var(--signal-text); }
.hero-now .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-text);
  flex: 0 0 auto;
}

/* Studio working loop — a content stamp from the brand contract, not a
   decorative eyebrow. Sits under the actions like a colophon rule. */
.hero-loop {
  margin: 10px auto 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
  max-width: 46ch;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 641px) {
  .hero { padding: 24px 0 14px; }
  .hero-mark svg { width: 64px; height: 64px; margin-bottom: 14px; }
}

/* Pretitle/eyebrow copy is intentionally not part of By JTT hero design. */
header.hero > .label,
header.hero > .pretitle,
header.hero > .eyebrow,
header.hero > [data-pretitle] {
  display: none !important;
}

 * only, no opacity: fading text opacity risks axe catching a transient
 * low-contrast frame mid-animation on a slow first paint, so content stays
 * fully opaque and only translates into place. Respects reduced motion via
 * the global override in main.css. */
.hero-copy, .now-strip {
  animation: hero-rise 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-copy { animation-delay: 0ms; }
.now-strip { animation-delay: 90ms; }
@keyframes hero-rise {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}
