/* ============================================================
   HOME — hero / landing (section 01) · exactly one viewport
   ============================================================ */

/* fog behind the fixed nav so content doesn't harshly overlap it */
.nav-fog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  z-index: 290;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--bg) 15%,
    color-mix(in srgb, var(--bg) 55%, transparent) 50%,
    transparent 100%
  );
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}

/* ---- top navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--space);
  mix-blend-mode: multiply;
}
.nav-mark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  transition: color 0.3s var(--ease);
}
.nav-links a .n {
  color: var(--accent);
  font-size: 0.7rem;
}
.nav-links a:hover,
.nav-links a[data-active="true"] {
  color: var(--accent);
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
}

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 4.5rem;
}

/* base (narrow): text only, stacked; bunny canvas hidden */
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}
.sig-canvas {
  display: none;
}

.hero-head .section-label {
  margin-bottom: 1.4rem;
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 2rem + 6vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--text);
}
.hero-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* right column */
.hero-meta {
  max-width: 36rem;
  padding-bottom: 0.4rem;
}
.hero-bio {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
  max-width: 36rem;
  overflow-wrap: break-word;
}
.hero-bio .hl {
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.btn {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease),
    color 0.4s var(--ease);
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.hero-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.6rem;
}
.hero-social a {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.hero-social a:hover {
  color: var(--accent);
}

/* ---- hero footer line ---- */
.hero-foot {
  position: absolute;
  bottom: 1.6rem;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-cue {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.scroll-cue::after {
  content: "↓";
  display: inline-block;
  animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* ---- show the bunny only when there's room beside the text ---- */
@media (min-width: 1000px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(42vw, 520px);
    align-items: center;
    gap: var(--space);
  }
  .sig-canvas {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after {
    animation: none;
  }
}
