/* EddyFormer page theme · 960px layout · 650px prose. */
:root {
 --font-site: 'Crimson Pro', Georgia, serif;
 --font-sans: 'Hanken Grotesk', Arial, sans-serif;
 --font-code: 'Ubuntu Mono', monospace;
 --color-heading: #043361; --color-link: #006699;
 --font-display: var(--font-sans); --font-body: var(--font-sans); --font-outlier: var(--font-code);
 --section-gap: 56px;
 --color-ink: #222222; --color-ink-2: #333333; --color-muted: #595959;
 --color-paper: #ffffff; --color-paper-2: #f7f7f7; --color-sheet: #ffffff;
 --color-accent: #222222; --color-accent-ink: #ffffff; --color-focus: #043361;
}
body { font-size: 16px; }
h1,h2,.overview-statement { color: var(--color-heading); }
a { text-decoration-color: var(--color-link); }
.page-header { border-top: 0; }
.hero { padding-top: var(--space-xl); }
h1 { font-weight: 500; letter-spacing: -0.025em; }
h2 { font-weight: 500; letter-spacing: -0.01em; }
.button { font-family: var(--font-sans); }
.section-heading { border-top-width: 1px; }
.citation-code { background: var(--color-paper-2); color: var(--color-ink); }
.page-footer { background: var(--color-paper); border-top: 1px solid var(--color-rule); }
.opening-figure img,.isotropic .figure-grid img { mix-blend-mode: normal; }
/* Technical notebook: compact sans-serif, diagrams beside their explanations. */
:root h1 { font-size: 2.75rem; }
:root h2 { font-size: 1.5rem; font-weight: 600; }
:root .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
:root .hero .lead { font-size: 1.125rem; }
:root .architecture { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: start; }
:root .architecture .section-heading { margin: 0; }
:root .architecture-figure { position: sticky; top: var(--space-lg); }
:root .overview-statement { font-size: 1.5rem; }
@media (max-width: 40rem) {
 :root .hero,:root .opening-copy,:root .section-heading,:root .overview,:root .architecture { grid-template-columns: minmax(0, 1fr); }
 :root .opening-figure { width: 75%; justify-self: center; margin-top: var(--space-lg); }
 :root .architecture-figure { position: static; }
 :root h1 { font-size: 2.75rem; }
 :root h2 { font-size: 1.75rem; }
 :root .prose { margin-inline: 0; }
}
/* Keep section subtitles on one line at every width. */
:root h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1rem, 4.8vw, 1.5rem);
}
/* Explanatory copy shares Architecture's left-hand column. */
:root .research-section:not(.architecture) > .section-heading > .prose,
:root .overview > .prose {
  width: calc((100% - var(--gap-columns)) / 2);
  max-width: var(--reading-width);
}
@media (max-width: 40rem) {
  :root .research-section:not(.architecture) > .section-heading > .prose,
  :root .overview > .prose {
    width: 100%;
  }
}
/* Major dividers stop at the shared left-column edge. */
:root .research-section:not(.architecture) > .section-heading,
:root .citation,
:root .byline {
  position: relative;
  border-top: 0;
}
:root .research-section:not(.architecture) > .section-heading::before,
:root .citation::before,
:root .byline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc((100% - var(--gap-columns)) / 2);
  border-top: 1px solid var(--color-rule-2);
}
@media (max-width: 40rem) {
  :root .research-section:not(.architecture) > .section-heading::before,
  :root .citation::before,
  :root .byline::before {
    width: 100%;
  }
}
