@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/fraunces-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f4ec;
  --ink: #1a1714;
  --muted: #6a6760;
  --line: #e2ddcf;
  --accent: #4a6b3a;
  --serif: "Fraunces", "Iowan Old Style", "Hoefler Text", Georgia, serif;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 36px 24px 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 96px;
  font-size: 14px;
}

.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.nav a:hover,
.site a:hover,
.suggest a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  gap: 26px;
  padding-bottom: 110px;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.0;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.statement {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.45;
}

.portfolio {
  border-top: 1px solid var(--line);
}

.site {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.site h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  position: relative;
  display: inline-block;
}

.site h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 200ms ease;
}

.site:hover h2::after {
  width: 100%;
}

.site p {
  margin: 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.site a {
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
}

.suggest {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.suggest a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.now,
.about {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding-top: 60px;
}

.now h2,
.about h2 {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.now p,
.about p {
  margin: 0;
  max-width: 650px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}

.philosophy {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding-top: 92px;
}

.philosophy h2 {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.philosophy-body {
  display: grid;
  gap: 36px;
}

.philosophy p {
  margin: 0;
  max-width: 650px;
  font-family: var(--serif);
  font-size: clamp(24px, 3.8vw, 44px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: tenet;
  max-width: 620px;
}

.principles li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  counter-increment: tenet;
}

.principles li::before {
  content: counter(tenet);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent);
  font-feature-settings: "tnum" 1;
}

.principle-lede {
  color: var(--ink);
  font-weight: 600;
}

.neighborhood {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 96px auto 0;
  color: var(--muted);
  opacity: 0.55;
}

.press-section {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding-top: 60px;
}

.press-section h2 {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.press-body {
  display: grid;
  gap: 16px;
  max-width: 650px;
}

.press-body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.press-quote {
  font-family: var(--serif);
  font-size: 22px !important;
  line-height: 1.4 !important;
}

.press-aside {
  color: var(--muted);
  font-size: 15px !important;
}

.press-body a.inline,
.press-downloads a.inline {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.press-body a.inline:hover,
.press-downloads a.inline:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.press-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.03);
  padding: 1px 6px;
  border-radius: 3px;
}

.logo-preview {
  border: 1px solid var(--line);
  padding: 24px 28px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-preview img {
  max-width: 100%;
  height: auto;
}

.swatches {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.swatches li {
  display: grid;
  grid-template-columns: 28px auto 1fr;
  gap: 14px;
  align-items: center;
  font-size: 16px;
}

.swatch {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.swatch-name {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer .footer-links {
  display: flex;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .page {
    padding: 26px 18px 42px;
  }

  .site-header {
    padding-bottom: 70px;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    padding-bottom: 76px;
  }

  h1 {
    font-size: 42px;
  }

  .site {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .now,
  .about,
  .philosophy {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 56px;
  }

  .philosophy {
    padding-top: 70px;
  }

  .neighborhood {
    margin-top: 64px;
  }

  .site-footer {
    flex-direction: column;
    margin-top: 56px;
  }

  .press-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 48px;
  }

  .logo-preview {
    padding: 18px;
  }
}
