/* ---------------------------------------------------------------------------
   KB Interests — kbinterests.com
   Pass 1 (2026-06-03). Hand-rolled, no build step, system fonts only.

   Palette: Warm Paper — LOCKED. Do not A/B.
   Other options kept here for future reference only:
     1. Stone & Ink    bg #fafaf9 / text #1c1917 / accent #475569  (slate-blue)
     2. Warm Paper     bg #faf8f3 / text #1a1614 / accent #3f5e4d  (forest)   [LOCKED]
     3. Cool Linen     bg #f5f5f4 / text #0c0a09 / accent #1e3a5f  (navy)
--------------------------------------------------------------------------- */

:root {
  --bg:           #faf8f3;
  --surface:     #f4f0e6;   /* very subtle card tint, used sparingly */
  --text:        #1a1614;
  --text-muted:  #6b5d52;
  --rule:        #e4dccc;   /* subtle border / divider */
  --accent:      #3f5e4d;
  --accent-soft: #5a7a68;
  --maxw:        1120px;
}

/* Reset / base ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--accent-soft); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visually-hidden utility (kept in a11y tree) ----------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link --------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Layout ------------------------------------------------------------------ */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
}

section:first-of-type { border-top: 0; }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-weight: 600;
}

/* Nav --------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.wordmark {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.65rem;
}
.nav-links a:hover { color: var(--accent); }

/* Hero -------------------------------------------------------------------- */

.hero {
  padding: 6.5rem 0 5.5rem;
  border-top: 0;
}
.hero h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  max-width: 26ch;
}
.hero p.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0;
}

/* About ------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 0 0 3rem;
}
.person {
  display: flex;
  flex-direction: column;
}
.person-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.person-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}
.person-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0;
}
.person-bio p { margin: 0 0 0.9rem; }
.person-bio p:last-child { margin-bottom: 0; }

.draft-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.partnership {
  max-width: 62ch;
  color: var(--text);
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

/* Criteria ---------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0 0 3rem;
  max-width: 640px;
}
.stat {
  border: 1px solid var(--rule);
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--bg);
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.stat-value {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}

.lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin: 0 0 2.5rem;
}
.lane {
  border: 1px solid var(--rule);
  padding: 1.75rem 1.75rem 1.5rem;
  background: var(--bg);
}
.lane-rank {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.lane h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.9rem;
  line-height: 1.3;
}
.lane dl {
  margin: 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  row-gap: 0.55rem;
  column-gap: 1rem;
  font-size: 0.95rem;
}
.lane dt {
  color: var(--text-muted);
  font-weight: 500;
}
.lane dd { margin: 0; }
.lane dd ul {
  margin: 0.15rem 0 0;
  padding: 0 0 0 1.1rem;
  list-style: disc;
}
.lane dd ul li {
  margin: 0.2rem 0;
  padding-left: 0.2rem;
}
.lane dd ul li::marker {
  color: var(--text-muted);
}

.lane .lane-note {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.not-list {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}
.not-list strong { color: var(--text); font-weight: 600; }

/* Approach ---------------------------------------------------------------- */

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 3rem;
}
.principle h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.principle p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

/* Contact ----------------------------------------------------------------- */

.contact-block { max-width: 60ch; }
.contact-block p { margin: 0 0 1rem; }
.contact-block p:last-child { margin-bottom: 0; }
.contact-emails {
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.contact-emails a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.broker-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer ------------------------------------------------------------------ */

.foot {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav-inner { padding: 0.2rem 1rem; }
  .nav-links { gap: 0.15rem; }
  .nav-links a { font-size: 0.9rem; padding: 0 0.5rem; }

  .wrap { padding: 0 1.25rem; }
  section { padding: 3.5rem 0; }

  .hero { padding: 4rem 0 3.25rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero p.lede { font-size: 1.05rem; }

  .about-grid,
  .lanes,
  .principles { grid-template-columns: 1fr; gap: 2rem; }
  .principles { gap: 1.75rem; }

  .stats { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .stat { padding: 1.1rem 1.15rem; }
  .stat-value { font-size: 1.35rem; }

  .lane { padding: 1.5rem 1.4rem 1.25rem; }
  .lane dl { grid-template-columns: 1fr; row-gap: 0.2rem; }
  .lane dt { margin-top: 0.6rem; }
  .lane dt:first-child { margin-top: 0; }

  .contact-emails {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
}

/* Print ------------------------------------------------------------------- */

@media print {
  .nav, .skip-link, .foot { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  section { border-top: 1px solid #999; page-break-inside: avoid; }
}
