:root {
  --paper: #f2efe7;
  --ink: #18231d;
  --muted: #687169;
  --accent: #c34d2d;
  --line: #c9c8be;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 14%, rgb(255 255 255 / 55%), transparent 25rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a { color: inherit; }

.site-header,
footer {
  display: flex;
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  height: 112px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 700 15px/1 var(--sans);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid var(--ink);
  font: 700 11px/1 var(--sans);
  letter-spacing: .05em;
}

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

.hero {
  min-height: 690px;
  padding: 116px 0 96px;
}

h1 {
  max-width: 920px;
  margin: 0;
  font: 400 clamp(4rem, 8.3vw, 8.3rem)/1 var(--serif);
  letter-spacing: -.055em;
}

h1 em {
  display: inline-block;
  margin-left: clamp(1rem, 5vw, 5rem);
  color: var(--accent);
  font-weight: 400;
}

.intro {
  max-width: 610px;
  margin: 50px 0 42px;
  color: var(--muted);
  font: 400 clamp(1.08rem, 1.6vw, 1.35rem)/1.55 var(--sans);
}

.button {
  display: inline-flex;
  gap: 42px;
  padding: 17px 21px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s, transform .2s;
}

.button:hover { background: var(--accent); transform: translateY(-2px); }


footer {
  min-height: 240px;
  padding: 56px 0;
  align-items: flex-end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

footer p { margin: 0; }
.footer-meta { display: flex; gap: 48px; }
.footer-meta a { color: var(--ink); text-underline-offset: 4px; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 32px, 1280px); }
  .site-header { height: 88px; }
  .hero { min-height: auto; padding: 80px 0 84px; }
  h1 { font-size: clamp(3.5rem, 17vw, 6rem); }
  .intro { margin-top: 38px; }
  footer { min-height: 260px; align-items: flex-start; flex-direction: column; }
  .footer-meta { gap: 12px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
