/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--file-green);
  background-image:
    radial-gradient(circle at 85% 20%, rgba(201,162,39,0.10), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 28px);
  position: relative;
  padding: var(--sp-7) 0 var(--sp-6);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  position: relative;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seal-gold);
  margin-bottom: var(--sp-3);
}

.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--stamp-red);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: var(--step-5);
  color: var(--paper);
  letter-spacing: -0.01em;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--seal-gold);
}

.hero-sub {
  color: var(--paper-dim);
  font-size: var(--step-1);
  margin-top: var(--sp-3);
  max-width: 42ch;
}

.hero-search {
  margin-top: var(--sp-5);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 6px;
  display: flex;
  gap: 6px;
  max-width: 520px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.7rem 0.9rem;
  font-size: var(--step-0);
  font-family: var(--font-body);
  color: var(--ink);
}

.hero-search input:focus { outline: none; }

.hero-search button {
  background: var(--stamp-red);
  color: var(--white);
  border: none;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-search button:hover { background: var(--stamp-red-dim); }

.hero-chips {
  margin-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.hero-chips-label {
  font-size: var(--step--1);
  color: var(--paper-dim);
  opacity: 0.6;
  margin-right: 0.2rem;
}

.hero-chips a {
  font-size: var(--step--1);
  color: var(--paper-dim);
  border: 1px solid rgba(247,243,232,0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-chips a:hover {
  border-color: var(--seal-gold);
  color: var(--seal-gold);
}

.stat-strip {
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}

.stat-strip-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-4);
}

.hero-stat {
  text-align: center;
  flex: 1 1 120px;
}

.hero-stat .num {
  font-family: var(--font-mono);
  font-size: var(--step-2);
  color: var(--file-green);
  font-weight: 700;
  display: block;
}

.hero-stat .label {
  font-size: 0.72rem;
  color: var(--ink);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* The "file stamp" visual — signature element */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.stamp-card {
  background: var(--paper);
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  transform: rotate(-2deg);
  position: relative;
}

.stamp-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed var(--line-strong);
  pointer-events: none;
}

.stamp-card .file-no {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--line-strong);
  letter-spacing: 0.05em;
}

.stamp-card h3 {
  font-size: var(--step-1);
  margin-top: var(--sp-2);
  color: var(--file-green-dk);
}

.stamp-card .meta-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--step--1);
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px dotted var(--line-strong);
}

.stamp-seal {
  position: absolute;
  top: -18px;
  right: -22px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid var(--stamp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  background: rgba(247,243,232,0.92);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.stamp-seal span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--stamp-red);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { max-width: none; }
}

@media (max-width: 620px) {
  .stat-strip-inner { justify-content: flex-start; }
  .hero-stat { flex: 1 1 45%; }
}
