/* ==========================================================================
   Homepage — hero, stat row, gear summary
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* the featured shot sits behind text, so pull it back a little */
  opacity: 0.72;
  transform: scale(1.02);
}

/* Shown until a featured image loads — a faint nebula suggestion, not a blank box. */
.hero__placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(40rem 30rem at 70% 30%, rgba(185,140,255,0.20), transparent 65%),
    radial-gradient(34rem 26rem at 30% 70%, rgba(107,168,255,0.18), transparent 65%),
    var(--bg-soft);
}

/* Keeps text legible over any image, however bright the core is. */
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(7,10,18,0.97) 0%,
    rgba(7,10,18,0.82) 32%,
    rgba(7,10,18,0.35) 62%,
    rgba(7,10,18,0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.hero__lede {
  max-width: 54ch;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--text);
  margin-top: 1.2rem;
}

.hero__credit {
  margin-top: 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hero__credit a { color: var(--text-2); }
.hero__credit a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   stat row
   -------------------------------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--bg);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat__label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   gear summary — grouped by category
   -------------------------------------------------------------------------- */
.gear-summary {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}

.gear-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.gear-item:hover { border-color: var(--border-2); transform: translateY(-2px); }

.gear-item__cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.gear-item__name {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.gear-item__spec {
  font-size: 0.86rem;
  color: var(--text-2);
}

.gear-item__notes {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
}
