@font-face {
  font-family: Fraunces;
  src: url('/assets/fraunces-600.ff0358523e80.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-400.7e35f64799ef.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-600.0fdaa5b5da67.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f7f0df;
  --paper: #efe5ce;
  --red: #c4482d;
  --action: #ac3823;
  --yellow: #eaaf46;
  --green: #244b3e;
  --ink: #30251f;
  --rule: #d7cdba;
  --display: Fraunces, Georgia, serif;
  --body: 'Space Grotesk', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.55 var(--body);
}
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--action); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
section[id] { scroll-margin-top: 35px; }
.wrap { width: min(100% - 80px, 1120px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 1;
  padding: 12px;
  background: var(--cream);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand img { width: 48px; height: 48px; mix-blend-mode: darken; }
.brand small {
  display: block;
  margin-top: 4px;
  font: 11px/1.5 var(--mono);
  letter-spacing: .06em;
}
.eyebrow {
  color: var(--action);
  font: 12px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
}
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 68px 0 36px;
}
h1 {
  margin: 22px 0 25px;
  font: 600 clamp(52px, 6.3vw, 82px)/1.04 var(--display);
  letter-spacing: -.05em;
}
.hero h1 { margin-top: 0; }
h1 span { color: var(--action); }
.intro { max-width: 460px; margin-bottom: 0; font-size: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 13px 20px;
  border-radius: 5px;
  background: var(--action);
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease;
}
.button:hover { background: var(--ink); }
.button span { font-size: 23px; line-height: 1; font-weight: 400; }
.hero-mark { width: 100%; mix-blend-mode: darken; }
.ribbon { padding-bottom: 10px; }
.ribbon img { width: 100%; }
h2 {
  margin: 0;
  font: 600 42px/1.12 var(--display);
  letter-spacing: -.035em;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 60px;
  padding: 78px 0;
}
.about > p { margin: 0; font-size: 23px; line-height: 1.5; }
.site-footer { display: flex; justify-content: space-between; gap: 25px; padding-block: 28px; border-top: 1px solid var(--rule); font-size: 12px; }
.footer-note { font: 11px/1.7 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.not-found { padding-block: 90px; max-width: 650px; }
.not-found h1 { font-size: clamp(42px, 8vw, 70px); }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { gap: 12px; padding-block: 20px; }
  .brand { gap: 8px; font-size: 13px; }
  .brand img { width: 36px; height: 36px; }
  .brand small { font-size: 9px; letter-spacing: .02em; }
  .hero { grid-template-columns: 1fr; gap: 10px; padding: 44px 0 25px; }
  h1 { font-size: clamp(43px, 10.5vw, 70px); }
  .intro { font-size: 18px; }
  .hero-mark { width: 225px; justify-self: center; }
  .about { grid-template-columns: 1fr; gap: 15px; padding-block: 55px; }
  .about > p { font-size: 20px; }
  h2 { font-size: 34px; }
  .site-footer { flex-direction: column; gap: 7px; }
}

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