/* Self-hosted type. Latin subsets of two variable fonts (SIL Open Font License). */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/newsreader-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/inter-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: #fbfaf7;
  --ink: #1b1a17;
  --ink-2: #4a4640;
  --muted: #8a847a;
  --line: #e3ded5;
  --accent: #b4511f;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.link { border-bottom: 1px solid var(--line); transition: border-color .15s ease, color .15s ease; }
.link:hover { color: var(--accent); border-color: var(--accent); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 4px; z-index: 10;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header */
header { padding: 26px 0; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.005em;
}
.mark {
  width: 30px; height: 30px;
  border: 1.5px solid var(--ink); border-radius: 3px;
  display: inline-grid; place-items: center;
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.06em; line-height: 1; font-weight: 500;
}
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
nav a { font-size: 0.9rem; color: var(--ink-2); transition: color .15s ease; }
nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 104px 0 112px; border-bottom: 1px solid var(--line); }
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  max-width: 17ch;
  text-wrap: balance;
}
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px;
  color: var(--ink-2); font-size: 1.02rem;
}
.hero-foot .sub { max-width: 36rem; margin: 0; }
.hero-foot .meta { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }

/* Editorial two-column sections */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: 32px 64px;
  align-items: start;
}
.label {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding-top: 0.55em;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 24px;
  max-width: 22ch;
  text-wrap: balance;
}
.prose p { margin: 0 0 1.1em; max-width: 38rem; color: var(--ink-2); font-size: 1.08rem; }
.prose p:last-child { margin-bottom: 0; }

/* Approach row */
.items {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 36px;
}
.items li { border-top: 1px solid var(--ink); padding-top: 18px; }
.items .num {
  font-family: var(--serif); font-size: 0.95rem; color: var(--muted);
  display: block; margin-bottom: 14px; letter-spacing: 0.04em;
}
.items h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.32rem; line-height: 1.25;
  margin: 0 0 10px; letter-spacing: -0.005em;
}
.items p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.founder .links { margin-top: 22px; font-size: 0.95rem; }

/* Contact */
.email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  margin: 6px 0 22px;
  word-break: break-word;
  transition: color .15s ease, border-color .15s ease;
}
.email:hover { color: var(--accent); border-color: var(--accent); }
.contact-meta { color: var(--muted); font-size: 0.92rem; margin: 0; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  font-size: 0.82rem; color: var(--muted);
}
footer .bar { align-items: baseline; }

@media (max-width: 820px) {
  .grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .label { padding-top: 0; }
  .items { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero { padding: 72px 0 80px; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  header { padding: 20px 0; }
  nav ul { gap: 18px; }
  nav a { font-size: 0.86rem; }
  .hero { padding: 56px 0 64px; }
  h1 { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
