@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("./assets/neue-haas-display-black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("./assets/neue-haas-display-roman.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("./assets/neue-haas-display-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Neue Haas Grotesk Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  color: #f0ede4;
  background: #221d18;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-width: 280px; }

.landing {
  position: relative;
  isolation: isolate;
  min-height: 28rem;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.center-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  text-align: left;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 8rem);
  font-weight: inherit;
  line-height: 0.8;
  letter-spacing: -0.01em;
  text-indent: -0.01em;
}

.footer {
  margin-top: 0.75rem;
  max-width: 100%;
}

.footer p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: inherit;
  line-height: 1.35;
  text-wrap: balance;
}

.footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.footer a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: flex-start;
  padding-top: 0.25rem;
  color: inherit;
  font-size: 0.8125rem;
  line-height: 1.3;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 160ms ease;
}

.footer a:hover { text-decoration-color: currentColor; }

.footer a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
  text-decoration-color: currentColor;
}

::selection { color: #221d18; background: #f0ede4; }

@media (max-width: 600px) {
  h1 { font-size: 14vw; }
  .footer { margin-top: 0.625rem; }
  .footer p { font-size: 1rem; }
}

@media (max-height: 500px) and (min-width: 601px) {
  .landing { min-height: 20rem; }
  h1 { font-size: 15vh; }
  .footer { margin-top: 0.625rem; }
  .footer p { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .footer a { transition: none; }
}
