:root {
  --paper: #f7f3ea;
  --paper-deep: #ebe3d4;
  --ink: #151718;
  --muted: #62635e;
  --line: #d7cdbd;
  --green: #244a3a;
  --green-2: #163128;
  --clay: #a65d3a;
  --cream: #fffaf0;
  --shadow: 0 22px 50px rgba(34, 28, 20, .09);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(21,23,24,.035) 1px, transparent 1px) 0 0 / 25% 100%;
  opacity: .55;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px;
  background: rgba(247, 243, 234, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  letter-spacing: .2em;
  color: var(--cream);
  background: var(--green);
  padding: 7px 9px 7px 11px;
}

.brand-text {
  font-size: .95rem;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .86rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover { color: var(--ink); }

.nav-toggle { display: none; }

.section-frame, .statement, .workbench-inner, .site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.hero {
  padding-top: 116px;
  padding-bottom: 86px;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 20px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--clay);
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 950px;
  margin-bottom: 30px;
  font-size: clamp(4.6rem, 11vw, 10.8rem);
  line-height: .83;
  letter-spacing: -.085em;
  font-weight: 500;
}

.hero-copy {
  max-width: 720px;
  margin-left: clamp(0px, 18vw, 260px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  margin-left: clamp(0px, 18vw, 260px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  border: 1px solid var(--green);
  font-size: .9rem;
}
.button.primary { background: var(--green); color: var(--cream); }
.button.secondary { color: var(--green); background: transparent; }
.button:hover { transform: translateY(-1px); }

.statement {
  padding-top: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}
.statement p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.standards, .method, .participate {
  padding-top: 92px;
  padding-bottom: 92px;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 270px) 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 46px;
}
.section-heading h2, .participate h2, .workbench h2 {
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 500;
}

.standard-list {
  border-top: 1px solid var(--ink);
}
.standard-list article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  color: var(--clay);
}
.standard-list h3, .method-grid h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}
.standard-list p, .method-grid p, .participate p, .workbench-list span {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--muted);
}

.method { border-top: 1px solid var(--line); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.method-grid div {
  background: var(--paper);
  padding: 30px;
  min-height: 245px;
}

.workbench {
  background: var(--green-2);
  color: var(--cream);
}
.workbench-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.workbench .eyebrow { color: #d7a984; }
.workbench-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.22);
}
.workbench-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.workbench-list span { color: rgba(255,250,240,.72); }

.participate {
  max-width: 930px;
}
.participate p {
  font-size: 1.08rem;
  margin-bottom: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--muted);
  font-size: .86rem;
}

@media (max-width: 820px) {
  body::before { display: none; }
  .brand-text { display: none; }
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: transparent;
    padding: 8px 11px;
    font: inherit;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 28px;
    right: 28px;
    top: 72px;
    padding: 18px;
    background: var(--cream);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; padding-top: 72px; }
  h1 { font-size: clamp(4rem, 20vw, 7rem); }
  .hero-copy, .hero-actions { margin-left: 0; }
  .section-heading, .workbench-inner, .method-grid, .workbench-list li { grid-template-columns: 1fr; }
  .standard-list article { grid-template-columns: 70px 1fr; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .standard-list article { grid-template-columns: 1fr; gap: 8px; }
}

/* Jekyll pages and blog */
.page-hero {
  padding-top: 96px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1,
.post-header h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .86;
  letter-spacing: -.08em;
  font-weight: 500;
}
.page-dek {
  max-width: 760px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.18rem;
  color: var(--muted);
}
.content-page {
  max-width: 900px;
  padding-top: 58px;
  padding-bottom: 90px;
}
.content-page h2,
.post-body h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 500;
}
.content-page p,
.content-page li,
.post-body p,
.post-body li {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--muted);
  font-size: 1.03rem;
}
.content-page a,
.post-body a,
.standard-list a,
.post-card a,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.journal {
  padding-top: 92px;
  padding-bottom: 92px;
  border-top: 1px solid var(--line);
}
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.post-card {
  background: var(--paper);
  padding: 28px;
  min-height: 260px;
}
.post-card h2,
.post-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.post-card p {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--muted);
}
.post-meta {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--muted);
  font-size: .86rem;
}
.text-link {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--green);
  font-weight: 700;
}
.archive-list {
  grid-template-columns: 1fr;
  background: transparent;
  border: 0;
  gap: 16px;
}
.archive-list .post-card {
  border: 1px solid var(--line);
  min-height: auto;
}
.post {
  max-width: 920px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.post-header {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 42px;
}
.post-body {
  max-width: 760px;
}
.page-list h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}
@media (max-width: 820px) {
  .post-list { grid-template-columns: 1fr; }
  .page-hero h1, .post-header h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
}
