/* =============================================================================
 * TEAM FORGE — Forge XI homepage entry layer (WEB PHASE 1C)
 * A concise "bridge" band between the hero and the product catalog.
 * Themed via the storefront's own CSS variables (light/dark aware). All selectors
 * are .fxh-scoped so nothing here touches existing storefront rules or IDs.
 * The role-preview placeholders reuse forge-xi.css (.fx-visual*) — not duplicated.
 * ========================================================================== */

.fxh {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0;
  border-top: 1px solid var(--line-soft, rgba(255,255,255,0.07));
  border-bottom: 1px solid var(--line-soft, rgba(255,255,255,0.07));
  background:
    radial-gradient(90% 60% at 50% 0%, var(--gold-dim, rgba(212,175,55,0.12)), transparent 62%),
    var(--bg-2, #111111);
  overflow: hidden;
}
.fxh-inner { position: relative; }

/* ------------------------------- header ---------------------------------- */
.fxh-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.fxh-eyebrow {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.32em;
  font-size: 0.78rem; color: var(--gold, #d4af37); margin: 0 0 14px;
}
.fxh-title {
  font-family: 'Oswald', sans-serif; font-weight: 700; letter-spacing: 0.01em; line-height: 1.08;
  font-size: clamp(1.8rem, 4.4vw, 3rem); color: var(--text, #fff); margin: 0 0 16px;
}
.fxh-lead {
  color: var(--muted, #b8b8b8); font-size: 1.02rem; line-height: 1.62; margin: 0 auto 26px; max-width: 60ch;
}
.fxh-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fxh-btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.2s ease, color 0.2s ease;
}
.fxh-btn-gold { background: var(--gold, #d4af37); color: #10100c; border-color: var(--gold, #d4af37); }
.fxh-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(212,175,55,0.5); }
.fxh-btn-ghost { background: transparent; color: var(--text, #fff); border-color: var(--line, rgba(212,175,55,0.28)); }
.fxh-btn-ghost:hover { border-color: var(--gold, #d4af37); color: var(--gold, #d4af37); }
.fxh-btn:focus-visible { outline: 2px solid var(--gold, #d4af37); outline-offset: 3px; }

/* ---------------------------- featured roles ----------------------------- */
.fxh-roles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 auto 40px;
}
/* Role-discovery card — deliberately NOT a product card (no price, no add-to-cart). */
.fxh-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--panel, #141416); border: 1px solid var(--line-soft, rgba(255,255,255,0.07));
  border-radius: var(--radius, 16px); overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.fxh-card:hover { transform: translateY(-3px); border-color: var(--line, rgba(212,175,55,0.28)); box-shadow: 0 14px 34px -14px rgba(0,0,0,0.6); }
.fxh-card:focus-visible { outline: 2px solid var(--gold, #d4af37); outline-offset: 2px; }
.fxh-card-body { padding: 13px 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.fxh-card-cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold, #d4af37); }
.fxh-card-name { font-family: 'Oswald', sans-serif; font-size: 1.08rem; letter-spacing: 0.01em; color: var(--text, #fff); }
.fxh-card-line { font-size: 0.85rem; line-height: 1.45; color: var(--muted, #b8b8b8); }
.fxh-card-more { margin-top: 4px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold, #d4af37); opacity: 0.85; }

/* --------------------------- principle strip ----------------------------- */
.fxh-principles {
  list-style: none; margin: 0 auto; padding: 22px 0 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid var(--line-soft, rgba(255,255,255,0.07));
}
.fxh-principles li { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.fxh-p-k { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold, #d4af37); font-size: 1rem; }
.fxh-p-v { color: var(--muted, #b8b8b8); font-size: 0.9rem; line-height: 1.5; }

/* ------------------------------ responsive ------------------------------- */
@media (max-width: 940px) { .fxh-roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .fxh-roles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fxh-principles { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 1441px) { .fxh-inner { max-width: 1240px; margin-inline: auto; } }

@media (prefers-reduced-motion: reduce) {
  .fxh-btn, .fxh-card { transition: none; }
}
