@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --paper: #f2efe8;
  --ink: #171713;
  --muted: #68675f;
  --line: #d3d0c8;
  --accent: #e55b2d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 16%, rgba(229, 91, 45, 0.08), transparent 25rem),
    var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  display: grid;
  grid-template-rows: 1fr auto;
}

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

main,
footer {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

nav {
  height: 104px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

a {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 13px/1 "DM Mono", monospace;
  letter-spacing: 0.12em;
}

.brand-mark {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -5px 0 0 var(--accent);
}

.contact {
  border-bottom: 1px solid var(--ink);
  padding-block: 4px;
  font-size: 13px;
  transition: color 160ms ease, border-color 160ms ease;
}

.contact:hover,
.contact:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.hero {
  min-height: 590px;
  padding: clamp(90px, 13vh, 150px) 0 80px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--accent);
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 970px;
  margin: 0;
  font-size: clamp(52px, 8.3vw, 122px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 500px;
  margin: 52px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
}

.status {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 400 12px/1.5 "DM Mono", monospace;
}

.status p {
  margin: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(229, 91, 45, 0.12);
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  font: 400 11px/1.5 "DM Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  main,
  footer {
    width: min(100% - 32px, 1280px);
  }

  nav {
    height: 82px;
  }

  .hero {
    min-height: 540px;
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .lead {
    margin-top: 40px;
  }

  footer {
    gap: 18px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
