/* ═══════════════════════════════════════════════════════════
   PAGE: Homepage — Hero, about strip, work section
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + var(--ruler-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#hero .dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Radial vignette over dot grid */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(14, 26, 35, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-10);
  width: 100%;
}

.hero-frame-label {
  margin-bottom: var(--space-6);
}

.hero-content {
  max-width: 760px;
  position: relative;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-6);
  position: relative;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

/* Status badge spacing in hero */
.hero-content .status-badge {
  margin-bottom: var(--space-10);
}

/* CTA row */
.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Annotation badges */
.annotation-cluster {
  position: absolute;
  right: -60px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.annotation-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}
.annotation-badge:nth-child(2) { animation-delay: 1.3s; }
.annotation-badge:nth-child(3) { animation-delay: 2.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.annotation-line {
  width: 32px;
  height: 1px;
  background: var(--primary);
  opacity: 0.5;
  flex-shrink: 0;
}
.annotation-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--primary);
  background: rgba(1, 158, 219, 0.1);
  border: 1px solid rgba(1, 158, 219, 0.3);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* Hero corner frames */
.hero-corner {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.hero-corner--tl { top: calc(var(--nav-h) + var(--ruler-h) + 20px); left: 20px; }
.hero-corner--tr { top: calc(var(--nav-h) + var(--ruler-h) + 20px); right: 20px; }
.hero-corner--bl { bottom: 40px; left: 20px; }
.hero-corner--br { bottom: 40px; right: 20px; }

.corner-mark {
  width: 20px;
  height: 20px;
  border-color: var(--primary);
  border-style: solid;
  opacity: 0.4;
}
.hero-corner--tl .corner-mark { border-width: 1.5px 0 0 1.5px; }
.hero-corner--tr .corner-mark { border-width: 1.5px 1.5px 0 0; }
.hero-corner--bl .corner-mark { border-width: 0 0 1.5px 1.5px; }
.hero-corner--br .corner-mark { border-width: 0 1.5px 1.5px 0; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.45;
}
.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── About Strip (homepage mini-bio) ─────────────────────── */
#about {
  background: var(--surface);
  padding: var(--space-20) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-bio {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}
.about-bio p + p { margin-top: var(--space-4); }
.about-bio strong { color: var(--text); font-weight: var(--weight-medium); }

/* ── Work Section ────────────────────────────────────────── */
#work {
  padding: var(--space-24) 0;
}

.work-heading {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-12);
  color: var(--text);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

/* ── Capabilities Section ────────────────────────────────── */
#capabilities {
  padding: var(--space-24) 0;
  border-top: 1px solid var(--border);
  position: relative;
}
#capabilities .dot-grid-subtle {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#capabilities .container { position: relative; z-index: 1; }

/* ── References Section ──────────────────────────────────── */
#references {
  padding: var(--space-24) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .annotation-cluster { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card--featured { grid-column: 1; }
}

@media (max-width: 600px) {
  .hero-inner { padding: 0 var(--space-5); }
}
