@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --paper: #f8f6ef;
  --paper-deep: #f1eee4;
  --surface: #fffefa;
  --ink: #151512;
  --muted: #6d6a62;
  --line: rgba(21, 21, 18, 0.14);
  --line-strong: rgba(21, 21, 18, 0.28);
  --growth: #2f7a4f;
  --growth-soft: rgba(47, 122, 79, 0.13);
  --signal: #c84632;
  --signal-soft: rgba(200, 70, 50, 0.14);
  --shadow: rgba(21, 21, 18, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 21, 18, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(21, 21, 18, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--paper);
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(21, 21, 18, 0.05) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
  opacity: 0.45;
  mix-blend-mode: multiply;
  z-index: 20;
}

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

a:hover { color: var(--growth); }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--growth);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 58px;
  border-bottom: 1px solid rgba(21, 21, 18, 0.08);
  background: rgba(248, 246, 239, 0.82);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}

.logo .the, .logo .build { color: var(--ink); }

.logo .twelve {
  margin: 0 1px;
  color: var(--growth);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(21, 21, 18, 0.72);
  font-size: 16px;
}

.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary { background: var(--ink); color: var(--paper); }

.button.primary:hover { background: var(--growth); color: var(--surface); }

.mono {
  margin: 0 0 14px;
  color: rgba(21, 21, 18, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

.section-kicker {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 22px;
}

.section-title {
  margin: 0 0 24px;
  font-family: "Instrument Serif", serif;
  font-size: 86px;
  font-weight: 400;
  line-height: 0.9;
}

@media (max-width: 920px) {
  .site-header { padding: 18px 22px; align-items: flex-start; }
  .site-nav { gap: 16px; font-size: 15px; }
  .section-title { font-size: 58px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { position: relative; flex-direction: column; }
  .site-nav { flex-wrap: wrap; }
  .section-title { font-size: 46px; }
}
