/* ── HERO SECTION ──────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  filter: grayscale(100%) contrast(1.2) brightness(0.35);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.1) 40%,
    rgba(10,10,10,0.6) 70%,
    rgba(10,10,10,1) 100%
  );
}

.hero-grain {
  position: fixed;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 24px;
  animation: fadeUp 1.2s ease-out 0.2s both;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 0 80px rgba(139,37,37,0.2);
  animation: fadeUp 1.2s ease-out 0.3s both;
}

.hero-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 400;
  font-style: italic;
  color: var(--accent2);
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  animation: fadeUp 1.2s ease-out 0.5s both;
}

.hero-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
  padding: 8px 20px;
  border: 1px solid var(--red-dim);
  display: inline-block;
  animation: fadeUp 1.2s ease-out 0.7s both;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1.2s ease-out 1s both;
}

.scroll-cue span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dim);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}
