:root {
  --bg: #f4ede2;
  --ink: #1f1a14;
  --accent: #a04e2b;
  --muted: #8c7a66;
  --rule: rgba(160, 78, 43, 0.35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Apple Garamond", Georgia, Cambria, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-image:
    radial-gradient(rgba(31, 26, 20, 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
}

main {
  max-width: 36rem;
  margin: 0 auto;
  padding: 12vh 1.75rem 6rem;
}

.hero p {
  font-size: 2.5rem;
  line-height: 1.25;
  margin: 0 0 0.4em;
  font-style: italic;
  letter-spacing: -0.005em;
}
.hero p:last-child {
  color: var(--accent);
  margin-bottom: 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 4.5rem 0;
}

.rule-hero {
  margin: 7rem 0;
}

.rule-hero + .movement .movement-intro {
  border-top: 0;
  padding-top: 0;
}

.movement { margin: 0; }

.movement-intro,
.reframes-intro {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--accent);
  margin: 0 0 2.75rem;
  padding-top: 4.5rem;
  border-top: 1px solid var(--rule);
  letter-spacing: 0.005em;
  display: block;
  width: 100%;
}

.practices {
  list-style: none;
  margin: 0;
  padding: 0;
}

.practices li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  column-gap: 1.5rem;
  margin-bottom: 3.25rem;
}

.num {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 3.25rem;
  line-height: 1;
  color: var(--accent);
  text-align: right;
  padding-top: 0.35rem;
  letter-spacing: -0.02em;
}

.practices h2 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0.15rem 0 0.75rem;
  letter-spacing: 0.005em;
}

.practices p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.practices em,
.reframes em {
  font-style: italic;
  color: var(--ink);
}

.reframes blockquote {
  margin: 0 0 2.5rem;
  padding: 0;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--ink);
}
.reframes blockquote:last-child { margin-bottom: 0; }

.reframe-title {
  font-style: italic;
  color: var(--accent);
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.reframes blockquote p:not(.reframe-title) {
  margin: 0;
  color: var(--muted);
}

footer {
  margin-top: 5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-variant: small-caps;
}
footer p { margin: 0; }

@media (max-width: 540px) {
  html, body { font-size: 17px; }
  main { padding: 8vh 1.25rem 4rem; }
  .hero p { font-size: 1.75rem; line-height: 1.25; }
  .movement-intro,
  .reframes-intro {
    font-size: 1.5rem;
    padding-top: 3rem;
    margin-bottom: 2.25rem;
    line-height: 1.2;
  }
  .practices li {
    grid-template-columns: 2.5rem 1fr;
    column-gap: 1rem;
    margin-bottom: 2.75rem;
  }
  .num { font-size: 2.25rem; padding-top: 0.25rem; }
  .practices h2 { font-size: 1.3rem; }
  .rule { margin: 3.5rem 0; }
}

@media (prefers-color-scheme: dark) {
  /* unlisted personal site — honor cream regardless of OS preference */
}
