@font-face {
  font-family: "Hillclimb Inter";
  src: url("./inter-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hillclimb Inter";
  src: url("./inter-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --forest: #003d2e;
  --ink: #111713;
  --paper: #f6f6f2;
  --muted: rgba(17, 23, 19, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hillclimb Inter", Inter, ui-sans-serif, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#horizon {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: clamp(24px, 3.3vw, 54px) clamp(22px, 4.1vw, 72px)
    clamp(22px, 3vw, 46px);
  pointer-events: none;
}

.brand {
  width: clamp(218px, 20vw, 320px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.statement {
  align-self: end;
  width: min(475px, 41vw);
  margin-bottom: clamp(58px, 10vh, 116px);
}

.rule {
  width: 34px;
  height: 1px;
  margin-bottom: 18px;
  background: var(--forest);
}

.statement p {
  margin: 0;
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 600;
  letter-spacing: -0.004em;
  line-height: 1.52;
  text-wrap: balance;
}

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: auto;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.contact svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.35;
  transition: transform 180ms ease;
}

.contact:hover svg,
.contact:focus-visible svg {
  transform: translate(2px, -2px);
}

.contact:focus-visible {
  outline: 1px solid var(--forest);
  outline-offset: 7px;
}

@media (max-width: 700px) {
  .shell {
    padding: 24px 22px 22px;
  }

  .brand {
    width: min(230px, 100%);
  }

  .statement {
    align-self: center;
    width: min(345px, 100%);
    margin-top: 24vh;
    margin-bottom: 0;
  }

  .statement p {
    font-size: 15px;
  }
}

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