@font-face {
  font-family: "Anybody";
  src: url("assets/anybody.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}

:root {
  --void: #000;
  --light: #fff1e0;
  --glow: #f0b27a;
  --yellow: #ffd21f;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--void);
  color: var(--light);
  font: 400 1.125rem/1.5 "Anybody", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 92vh;
  min-height: 92svh;
  padding: var(--gutter);
  overflow: hidden;
}

.hero-art {
  position: absolute;
  top: 0;
  left: 50%;
  width: max(100%, 125vh);
  max-width: none;
  transform: translate(-50%, -12%);
}

.hero-text { position: relative; }

h1 {
  font-size: clamp(1.75rem, 6.2vw, 6.5rem);
  font-weight: 300;
  font-stretch: 150%;
  line-height: 1.1;
  white-space: nowrap;
  animation: stretch 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text p {
  margin-top: 0.5rem;
  color: var(--glow);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
}

/* The name is pulled wide, like light around the black hole. */
@keyframes stretch {
  from { font-stretch: 50%; }
}

/* Passcribe */
.passcribe {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
  background: var(--light);
  color: var(--void);
}

.passcribe p { text-wrap: balance; }

.tagline {
  max-width: 16em;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 1.75rem;
  background: var(--void);
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--yellow); color: var(--void); }
.button:focus-visible { outline-color: var(--void); }

/* Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 2.5rem var(--gutter);
}

footer a { color: var(--glow); text-underline-offset: 0.25em; }
footer a:hover { color: var(--light); }

@media (max-width: 700px) {
  .hero-art { top: 42%; width: 170vw; transform: translate(-50%, -50%); }
  h1 { font-size: 8.2vw; }
  .passcribe { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  h1 { animation: none; }
}
