:root {
  --paper: #fbfaf7;
  --ink: #14161a;
  --muted: #5d6270;
  --soft: #8a8f9b;
  --rule: #e3dfd4;
  --rule-dark: #cfc9bb;
  --tint: #f3f1e9;
  --accent: #1f4d3a;
  --accent-ink: #163a2c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 0 rgba(20, 22, 26, .04);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}
.narrow { width: min(760px, calc(100% - 48px)); }

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(251, 250, 247, .92);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -.01em;
  text-decoration: none;
  flex: none;
}
.brand:hover { text-decoration: none; }
.mark { width: 26px; height: 26px; color: var(--accent); flex: none; }

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
}
.main-nav a {
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.main-nav a.on { color: var(--ink); border-bottom-color: var(--ink); }

.header-cta {
  flex: none;
  font-size: 13.5px;
  letter-spacing: .02em;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 2px;
  transition: background .15s ease, color .15s ease;
}
.header-cta:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.12; }
h3 { font-size: 1.22rem; line-height: 1.25; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
}

.meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--soft);
  margin: 0 0 10px;
}

/* ---------- buttons ---------- */

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

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  border-radius: 2px;
  font-size: 14.5px;
  letter-spacing: .01em;
  border: 1px solid var(--ink);
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); text-decoration: none; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }

.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }

.text-link {
  font-size: 14px;
  border-bottom: 1px solid var(--rule-dark);
  padding-bottom: 2px;
}
.text-link:hover { text-decoration: none; border-bottom-color: var(--accent); }

/* ---------- hero ---------- */

.hero { border-bottom: 1px solid var(--rule); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: clamp(40px, 6vw, 90px);
  padding: clamp(64px, 9vw, 118px) 0 clamp(56px, 8vw, 96px);
  align-items: start;
}

.hero-copy h1 { max-width: 15ch; text-wrap: balance; }
.hero-copy .lede { margin-top: 26px; }

.hero-aside {
  border-left: 1px solid var(--rule);
  padding-left: clamp(24px, 3vw, 40px);
}

.focus-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.focus-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
}
.focus-list span { color: var(--muted); }
.focus-list strong { font-weight: 500; }

.aside-note { font-size: 13.5px; line-height: 1.6; color: var(--soft); }

/* ---------- sections ---------- */

.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { max-width: 20ch; }
.section-lede { color: var(--muted); margin-top: 14px; max-width: 54ch; }

.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
}
.practice {
  border-top: 1px solid var(--rule-dark);
  padding: 26px 0 34px;
}
.practice .index {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--soft);
  margin-bottom: 14px;
}
.practice h3 { margin-bottom: 10px; }
.practice p { color: var(--muted); font-size: 15.5px; max-width: 40ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}
.step { border-top: 1px solid var(--rule-dark); padding-top: 22px; }
.step-no {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--soft);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.stat { border-top: 1px solid var(--ink); padding-top: 18px; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  margin-bottom: 10px;
}
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- notes ---------- */

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.note-grid-all { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }

.note-card { border-top: 1px solid var(--rule-dark); }
.note-card a {
  display: block;
  padding: 22px 0 30px;
  color: var(--ink);
  text-decoration: none;
}
.note-card a:hover { text-decoration: none; }
.note-card h3 { margin-bottom: 10px; text-wrap: balance; }
.note-card p { color: var(--muted); font-size: 15px; }
.note-card .arrow {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
.note-card a:hover h3 { color: var(--accent); }
.note-card a:hover .arrow { border-bottom-color: var(--accent); }

/* ---------- cta ---------- */

.cta-band { background: var(--ink); color: var(--paper); padding: clamp(48px, 6vw, 76px) 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 { color: var(--paper); max-width: 22ch; }
.cta-band p { color: #b9bcc4; margin-top: 14px; max-width: 50ch; font-size: 15.5px; }

/* ---------- page head ---------- */

.page-head { padding: clamp(56px, 7.5vw, 100px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 20ch; text-wrap: balance; }
.page-head .lede { margin-top: 22px; }
.page-head .actions { margin-top: 30px; }

/* ---------- prose ---------- */

.prose { font-size: 17px; line-height: 1.72; color: #24262c; }
.prose h2 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin: 2.2em 0 .7em;
}
.prose h3 { margin: 1.9em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose ul { margin: 0 0 1.3em; padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

.plain-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.plain-list li {
  border-top: 1px solid var(--rule);
  padding: 11px 0;
  color: var(--muted);
  font-size: 15.5px;
}
.plain-list li:first-child { border-top: 0; }

.callout {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 2em 0;
  color: var(--ink);
  font-size: 16.5px;
}

.small { font-size: 13.5px; color: var(--soft); }

/* ---------- engagements / principles / contact ---------- */

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: 1.4em 0 2.4em;
}
.engagement { border-top: 1px solid var(--rule-dark); padding-top: 18px; }
.engagement h3 { margin-bottom: 10px; font-size: 1.1rem; }
.engagement p { font-size: 14.5px; color: var(--muted); }

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 1.4em 0 2.4em;
}
.principles > div { border-top: 1px solid var(--rule-dark); padding-top: 18px; }
.principles h3 { margin-bottom: 8px; font-size: 1.08rem; }
.principles p { font-size: 14.5px; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  margin-bottom: 40px;
}
.contact-card h2 { font-size: 1.15rem; margin-bottom: 14px; }
.big-mail {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 14px;
  word-break: break-word;
}
.contact-card p { color: var(--muted); font-size: 15px; }

/* ---------- article ---------- */

.article { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 90px); }
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
  margin-bottom: 26px;
}
.breadcrumb span { margin: 0 6px; }
.article h1 { max-width: 22ch; text-wrap: balance; }
.article .lede { margin-top: 22px; max-width: 52ch; }
.article-meta { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.article-body { margin-top: 34px; }
.article-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.3em;
  float: left;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--accent);
}
.article-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}
.related { list-style: none; padding: 0; margin: 18px 0 0; }
.related li { padding: 8px 0; border-top: 1px solid var(--rule); }
.related li:first-child { border-top: 0; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #a7abb4;
  padding: clamp(48px, 6vw, 72px) 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
}
.brand-light { color: var(--paper); }
.brand-light .mark { color: #8fb9a6; }
.footer-brand p { margin-top: 14px; max-width: 26ch; color: #8d919b; }
.site-footer h2 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7c808a;
  font-weight: 400;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c9ccd3; }
.site-footer a:hover { color: #fff; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #2a2d33;
  padding-top: 22px;
  font-size: 12.5px;
  color: #767a83;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
  .focus-list li { max-width: 420px; }
  .practice-grid { grid-template-columns: 1fr; gap: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .note-grid, .note-grid-all { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr; gap: 24px; }
  .principles { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .row-head { flex-direction: column; align-items: start; }
  .cta-inner { flex-direction: column; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-base { flex-direction: column; gap: 8px; }
  .article-body p:first-of-type::first-letter { font-size: 2.8em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
