.essay-shell { max-width: 820px; margin: 0 auto; padding: 2.25rem 2rem 0; }
.essay-masthead { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.essay-masthead a { text-decoration: none; }
.essay-masthead a:first-child { color: var(--ink); font-weight: 650; }
.essay-masthead a:last-child { max-width: 65%; text-align: right; }
.essay-header { padding: 3.5rem 0 2.25rem; }
.essay-header h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); line-height: 1.12; max-width: 18ch; }
.essay-meta { color: var(--muted); font-size: .9375rem; margin: 1.5rem 0 0; }
.essay-deck { font-size: 1.125rem; color: var(--muted); max-width: 34rem; }
.essay-body { font-size: 1.0625rem; line-height: 1.85; padding-bottom: 2.5rem; }
.essay-body > .essay-takeaway { font-size: 1.25rem; line-height: 1.65; padding: 1.25rem 1.5rem; background: var(--wash); border-left: 3px solid var(--accent); }
.essay-body p { margin: 0 0 1.15rem; }
.essay-body h2 { margin: 2.75rem 0 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font: 400 1.8rem/1.3 var(--serif); }
.essay-body h3 { margin: 2rem 0 1rem; font: 500 1.35rem/1.35 var(--serif); }
.essay-body h2 + p > strong:only-child { display: block; font-size: 1.1875rem; line-height: 1.65; font-weight: 750; }
.essay-body strong { font-weight: 650; }
.equation { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.5rem; margin: 1.35rem 0; }
.equation-part { max-width: 100%; overflow-x: auto; padding: .4rem .2rem .65rem; }
.equation math { min-width: min-content; font-size: 1.1em; }
math { font-family: "Cambria Math", "STIX Two Math", math; }
.theorem { border-left: 3px solid var(--accent); padding: .75rem 1.5rem; background: var(--wash); }
.theorem .eyebrow { margin-bottom: .65rem; }
.theorem > p:last-child { margin-bottom: 0; }
.simulation-figure { margin: 1.5rem 0 2rem; }
.simulation-figure img { display: block; width: 100%; height: auto; }
.simulation-figure figcaption { margin-top: 1rem; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.thought-entry { padding: 1.5rem 0 3rem; border-top: 1px solid var(--line); }
.thought-entry h2 { font: 400 1.9rem/1.3 var(--serif); margin: 0 0 1rem; }
.thought-entry h2 a { color: var(--ink); text-decoration: none; }
.thought-entry h2 a:hover { color: var(--accent); text-decoration: underline; }
.thought-entry p:not(.eyebrow) { max-width: 38rem; color: var(--muted); }
.read-link { font-size: .9375rem; }
@media (max-width: 680px) {
  .essay-shell { padding: 1.25rem 1.25rem 0; }
  .essay-header { padding: 2.5rem 0 1.75rem; }
  .essay-body { font-size: 1rem; }
  .essay-body > .essay-takeaway { font-size: 1.125rem; padding: 1rem; }
  .theorem { padding: .75rem 1rem; }
  .essay-body h2 { margin-top: 2.25rem; }
}
@media (max-width: 380px) {
  .theorem .equation math { font-size: 1em; }
}
@media print {
  .essay-shell { max-width: none; padding: 0; }
  .essay-masthead, .work-links { display: none; }
  .essay-header { padding: 0 0 1rem; }
  .essay-body { font-size: 10pt; }
  .equation { overflow: visible; }
}
