/* ---------------- Hero: annotated manuscript in 3D ---------------- */

.hero-3d {
  position: relative;
  height: 94vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}

/* The 3D scene is scoped to this section only, not a page-fixed layer —
   it is the hero's one signature moment, so it should scroll away with
   the hero rather than bleed through the sections beneath it. */
#hero-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-3d-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 0 24px 0 clamp(24px, 6vw, 80px);
  pointer-events: none;
}
.hero-3d-content a, .hero-3d-content .btn {
  pointer-events: auto;
}

.hero-3d-content h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-top: 12px;
}
.hero-3d-content .eyebrow { display: inline-block; }

.hero-3d-content .lede {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 420px;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  z-index: 1;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 22px;
  margin: 8px auto 0;
  background: linear-gradient(var(--text-muted), transparent);
}

@media (max-width: 780px) {
  .hero-3d-content { max-width: 100%; text-align: left; }
}

/* ---------------- Pillars: case-file tabs ---------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 780px) {
  .pillars { grid-template-columns: 1fr; }
}

.pillar {
  text-align: left;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.2s ease;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--panel); }

.pillar-num {
  color: var(--accent);
  font-size: 0.78rem;
  display: block;
  margin-bottom: 10px;
}
.pillar h3 { margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.pillar p { margin-bottom: 0; }

/* ---------------- CTA band ---------------- */

.cta-band {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.cta-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-content h2 { margin-bottom: 0; }

.lineage-row { text-align: center; }
.lineage-row p { margin-bottom: 0; }

/* ---------------- Stamp illustration (used inline on the home page as a
   static preview of the demo's signature interaction) ---------------- */

.stamp-preview-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 24px;
}
