/* hc-cat-hero — premium category page hero (Sprint14.9) */
.hc-cat-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(28px, 4vw, 56px);
  background:
    radial-gradient(circle at 88% 24%, rgba(212, 184, 150, 0.14), transparent 50%),
    linear-gradient(135deg, var(--hc-paper, #ffffff) 0%, var(--hc-paper-2, #fbf8f3) 100%);
  border: 0.5px solid rgba(141, 109, 71, 0.16);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}
.hc-cat-hero::before {
  content: "";
  position: absolute;
  top: -64px;
  right: -64px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 0.5px dashed rgba(141, 109, 71, 0.16);
  z-index: 0;
  animation: hc-cat-hero-rot 90s linear infinite;
}
@keyframes hc-cat-hero-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hc-cat-hero::before { animation: none; }
}
.hc-cat-hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hc-cat-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(212, 184, 150, 0.14);
  border: 0.5px solid rgba(141, 109, 71, 0.22);
  border-radius: 9999px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hc-accent-dark, #7a6548);
}
.hc-cat-hero__eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--hc-gold, #d4b896);
  border-radius: 50%;
}
.hc-cat-hero__title {
  font-family: var(--hc-serif, "Cormorant Garamond", serif);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--hc-ink, #1a1714);
  margin: 0;
}
.hc-cat-hero__lede {
  font-size: 15px;
  line-height: 1.62;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.62));
  max-width: 52ch;
  margin: 0;
}
.hc-cat-hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 8px;
  padding: 16px 20px;
  background: rgba(212, 184, 150, 0.06);
  border: 0.5px solid rgba(141, 109, 71, 0.14);
  border-radius: 14px;
  align-self: flex-start;
}
.hc-cat-hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hc-cat-hero__stat-num {
  font-family: var(--hc-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--hc-ink, #1a1714);
  letter-spacing: -0.01em;
}
.hc-cat-hero__stat-lbl {
  font-family: var(--hc-mono, monospace);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.55));
}
.hc-cat-hero__cta-row {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hc-cat-hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #ffffff);
  border-radius: 9999px;
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.hc-cat-hero__cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(40, 30, 15, 0.42);
}
.hc-cat-hero__cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(141, 109, 71, 0.28);
  border-radius: 9999px;
  font-family: var(--hc-sans);
  font-size: 14px;
  color: var(--hc-ink, #1a1714);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s;
}
.hc-cat-hero__cta-ghost:hover {
  border-color: var(--hc-gold, #d4b896);
  transform: translateY(-1px);
}
.hc-cat-hero__media {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin-left: auto;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 184, 150, 0.20), transparent 60%),
    linear-gradient(135deg, var(--hc-paper-3, #f2efe9), var(--hc-paper-2, #fbf8f3));
  box-shadow:
    0 1px 2px rgba(40, 30, 15, 0.04),
    0 32px 64px -28px rgba(184, 154, 111, 0.32);
}
.hc-cat-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 920px) {
  .hc-cat-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .hc-cat-hero__media { max-width: 100%; margin: 0; }
  .hc-cat-hero__stats { gap: 24px; padding: 14px 16px; }
  .hc-cat-hero__stat-num { font-size: 22px; }
  .hc-cat-hero__cta-row { flex-direction: column; }
  .hc-cat-hero__cta-row > * { width: 100%; justify-content: center; }
}
