/* == 404 Not Found == */

.nf-hero {
  min-height: calc(100dvh - 62px);
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

/* Ghost outline numeral — editorial atmosphere */
.nf-hero::before {
  content: "404";
  position: absolute;
  right: -0.06em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(180px, 28vw, 400px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule-strong);
  pointer-events: none;
  user-select: none;
}

.nf-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 680px;
}

.nf-inner .eyebrow { margin-bottom: 28px; }

.nf-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 7.5vw, 100px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 28px;
}

.nf-hero h1 em {
  font-style: italic;
  color: var(--signal);
}

.nf-hero .lede { margin-bottom: 44px; }

.nf-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .nf-hero::before { display: none; }
  .nf-hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .nf-actions { flex-direction: column; align-items: flex-start; }
  .nf-actions .btn { width: 100%; justify-content: center; }
}

