@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=Space+Grotesk:wght@400;500;600&display=swap");

.tpl-archive {
  --tpl-bg: #0c0f1f;
  --tpl-ink: #e8ecff;
  --tpl-muted: #a8b2d8;
  --tpl-accent: #f6c453;
  --tpl-accent-2: #4ce0b3;
  --tpl-card: rgba(255, 255, 255, 0.06);
  --tpl-stroke: rgba(255, 255, 255, 0.14);
  color: var(--tpl-ink);
}

.tpl-hero {
  position: relative;
  margin: 18px 0 28px;
  padding: 48px 48px 40px;
  border-radius: 28px;
  background: radial-gradient(120% 120% at 10% 0%, #1a2148 0%, #0c0f1f 55%, #080a15 100%);
  overflow: hidden;
  border: 1px solid var(--tpl-stroke);
}

.tpl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  pointer-events: none;
}

.tpl-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tpl-hero__orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.55;
  animation: tpl-float 10s ease-in-out infinite;
}

.tpl-hero__orb--a {
  background: radial-gradient(circle at 30% 30%, #ff8a00 0%, transparent 70%);
  top: -80px;
  right: 10%;
}

.tpl-hero__orb--b {
  background: radial-gradient(circle at 30% 30%, #3cf0c5 0%, transparent 70%);
  bottom: -120px;
  left: -60px;
  animation-delay: 1.5s;
}

.tpl-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.tpl-hero__eyebrow {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--tpl-accent-2);
  margin: 0 0 10px;
}

.tpl-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 12px;
  line-height: 1.1;
}

.tpl-hero__lead {
  font-family: "Space Grotesk", sans-serif;
  color: var(--tpl-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.tpl-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tpl-btn {
  font-family: "Space Grotesk", sans-serif;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
}

.tpl-btn--primary {
  background: linear-gradient(135deg, #ff8a00, #f6c453);
  color: #111;
  box-shadow: 0 12px 30px rgba(246, 196, 83, 0.25);
}

.tpl-btn--ghost {
  background: transparent;
  color: var(--tpl-ink);
  border-color: rgba(255, 255, 255, 0.2);
}

.tpl-hero__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tpl-chip {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  color: var(--tpl-ink);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tpl-hero__stats {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.tpl-stat {
  background: var(--tpl-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
  backdrop-filter: blur(6px);
}

.tpl-stat__num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 24px;
}

.tpl-stat__label {
  font-family: "Space Grotesk", sans-serif;
  color: var(--tpl-muted);
  font-size: 12px;
}

@keyframes tpl-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 720px) {
  .tpl-hero {
    padding: 30px 20px 26px;
  }
  .tpl-hero__stats {
    grid-template-columns: 1fr;
  }
}
