:root {
  --ink: #000000;
  --paper: #ffffff;
  --accent-orange: #ff7a29;
  --accent-purple: #9715c5;
  --accent-blue: #0015c5;

  --bs-body-bg: var(--ink);
  --bs-body-color: var(--paper);
  --bs-font-sans-serif: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --bs-link-color: var(--paper);
  --bs-link-hover-color: var(--accent-orange);
}

body {
  min-height: 100dvh;
}

.site {
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.wordmark {
  font-family: "Archivo Black", "Hiragino Sans", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.content {
  min-height: 0;
}

.hero-content {
  z-index: 2;
  max-width: 34rem;
}

.hero-title {
  font-family: "Martian Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 800;
  font-size: clamp(2.5rem, 10vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.btn-accent {
  background: var(--accent-orange);
  color: var(--ink);
  font-weight: 700;
  border: 2px solid var(--accent-orange);
  transition: transform 180ms ease-out, background 180ms ease-out, color 180ms ease-out;
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: transparent;
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.btn-accent:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.hare-portrait {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: min(48vw, 34rem);
}

@media (max-width: 640px) {
  .hare-portrait {
    width: 78vw;
    bottom: 0;
    right: -18%;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 46vw;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hare-portrait,
  .hero-title,
  .btn-accent {
    animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hare-portrait {
    animation-delay: 0ms;
  }

  .hero-title {
    animation-delay: 140ms;
  }

  .btn-accent {
    animation-delay: 320ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
