:root {
  color-scheme: dark;
  --black: #0a0908;
  --bone: #eee8dc;
  --muted: #a29b8f;
  --yellow: #e9b91e;
  --red: #bb2517;
}

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(187, 37, 23, .15), transparent 28%),
    var(--black);
  color: var(--bone);
  font-family: "DM Mono", monospace;
}

body::before {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  content: "";
  opacity: .05;
  pointer-events: none;
}

main {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(28px, 5vw, 72px);
}

.content {
  width: min(100%, 1050px);
}

.mark {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: clamp(42px, 7vh, 76px);
  place-items: center;
  border: 1px solid var(--red);
  color: var(--yellow);
  font-family: "Archivo Black", sans-serif;
  font-size: 13px;
  transform: rotate(45deg);
}

.mark::first-letter { transform: rotate(-45deg); }

h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .78;
  text-transform: uppercase;
}

p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: clamp(42px, 7vh, 72px) 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.7;
  text-transform: uppercase;
}

p span { color: var(--red); }

.contact {
  display: flex;
  width: min(100%, 290px);
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(36px, 6vh, 60px);
  padding: 0 26px;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.contact:hover,
.contact:focus-visible {
  background: var(--red);
  color: var(--bone);
  transform: translateY(-3px);
}

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

.contact:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 4px;
}

@media (max-width: 650px) {
  main { padding: 22px; }

  h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 12.8vw, 5.2rem);
    letter-spacing: -.075em;
  }

  p {
    display: block;
    max-width: 330px;
  }

  p span {
    display: block;
    height: 5px;
    overflow: hidden;
    font-size: 0;
  }

  .contact { width: 100%; }
}

@media (max-width: 260px) {
  main { padding-inline: 14px; }

  h1 { font-size: 12.5vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
