:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  --ink: #171714;
  --paper: #f0efe9;
  --signal: #ff4f00;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--paper);
  color: var(--ink);
}

main {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
  overflow: hidden;
  grid-template-rows: auto 1fr auto;
}

main::before {
  position: absolute;
  width: min(38vw, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  right: clamp(-16rem, -13vw, -5rem);
  top: clamp(-15rem, -14vw, -6rem);
  transform: scale(0.92);
  animation: signal-in 1.1s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.topline,
footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.topline {
  align-items: start;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid currentColor;
  animation: line-in 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brandmark-frame {
  display: block;
  width: clamp(7rem, 9vw, 9rem);
  aspect-ratio: 720 / 312;
  overflow: hidden;
}

.brandmark {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-12.7%);
}

h1 {
  position: relative;
  z-index: 1;
  align-self: center;
  margin: 0;
  font-size: clamp(4rem, 15.3vw, 15rem);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.72;
  text-transform: uppercase;
}

h1 span {
  display: block;
  width: max-content;
  animation: word-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 span:last-child {
  margin-left: 24.5vw;
  color: transparent;
  -webkit-text-stroke: max(1px, 0.012em) var(--ink);
  animation-delay: 0.08s;
}

footer {
  align-items: end;
  padding-top: 0.75rem;
  border-top: 1px solid currentColor;
  animation: line-in 0.9s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

footer address {
  font-style: normal;
}

footer p {
  margin: 0;
  text-align: right;
}

footer a {
  color: inherit;
  text-underline-offset: 0.28em;
}

footer a:hover,
footer a:focus-visible {
  color: var(--signal);
}

@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
}

@keyframes line-in {
  from {
    opacity: 0;
    transform: scaleX(0.75);
    transform-origin: left;
  }
}

@keyframes signal-in {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
}

@media (max-width: 600px) {
  main::before {
    width: 68vw;
    right: -35vw;
    top: -14vw;
  }

  h1 {
    font-size: clamp(3.7rem, 21vw, 7.75rem);
    line-height: 0.78;
  }

  h1 span:last-child {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
}
