@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Pinyon Script";
  src: url("fonts/pinyon-script.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --desk: #393127;
  --paper: #e6d4b0;
  --ink: #352c23;
  --muted: #6d5b46;
  --rust: #88472f;
  --rule: #9c82605c;
  --serif: "EB Garamond", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --script: "Pinyon Script", "Segoe Script", "Snell Roundhand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  padding: 24px;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0%, #62523c, var(--desk) 65%);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(92deg, #0000 0 39px, #17120c12 40px 41px);
  content: "";
}

::selection { color: #f6e9cd; background: #88513c; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: var(--rust); }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 6px; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 500; }
em { color: var(--rust); font-weight: 400; }
strong { font-weight: 600; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); background: #f5e9d2; white-space: nowrap; }
.skip-link:focus { width: auto; height: auto; padding: 10px 16px; overflow: visible; clip-path: none; }

.folio {
  position: relative;
  isolation: isolate;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 36px;
  overflow: clip;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 0% 0%, #9b6b2938, #0000 38%),
    radial-gradient(ellipse at 100% 16%, #9d712324, #0000 28%),
    radial-gradient(ellipse at 50% 60%, #fff7e240, #0000 65%),
    linear-gradient(90deg, #8b5a1c1a, #0000 3%, #0000 97%, #8b5a1c1a);
  box-shadow: 0 20px 80px #100c0859, inset 0 0 90px #845c2621;
}

.folio::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23785b37' filter='url(%23grain)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  content: "";
}

.masthead {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 80px;
  border-bottom: 1px solid var(--rule);
}
.signature { font-family: var(--script); font-size: 28px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.masthead-caption { display: none; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1.8px; }
.masthead nav { display: flex; gap: 18px; margin-left: auto; }
.masthead nav a { font-size: 16px; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 24px; padding: 40px 0 34px; }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 2.15px; text-transform: uppercase; }
.hero-hand { margin: 31px 0 0 3px; font-size: clamp(36px, 3.7vw, 52px); transform: rotate(-4deg); }
h1 { margin-top: 10px; font-size: clamp(42px, 6vw, 54px); line-height: 1; letter-spacing: -1.5px; }
h1 em { font-style: italic; }
.hero-description { max-width: 430px; margin-top: 20px; font-size: 18px; line-height: 1.4; }
.ink-link { display: inline-flex; gap: 18px; align-items: center; margin-top: 20px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 16px; text-decoration: none; }
.ink-link span { color: var(--rust); font-size: 18px; }
.field-plate { position: relative; align-self: center; margin: 16px -3px 0 0; color: #55402b; }
.field-plate svg { width: 100%; overflow: visible; }
.plate-guides { fill: none; stroke: currentColor; stroke-width: .65; opacity: .42; }
.field-rings { fill: none; stroke: currentColor; stroke-width: .9; opacity: .87; }
.field-rings circle:nth-child(even) { stroke-width: .65; }
.observation-points { fill: var(--rust); stroke: var(--paper); stroke-width: 1.6; }
.plate-labels { fill: currentColor; font-family: var(--serif); font-size: 18px; font-style: italic; }
.plate-labels .script-label { fill: var(--rust); font-family: var(--script); font-size: 22px; font-style: normal; }
.annotation-line { fill: none; stroke: var(--rust); stroke-width: .7; opacity: .65; }
.field-plate figcaption { margin-top: 9px; color: var(--muted); font-size: 16px; text-align: center; line-height: 1.45; }
figcaption > span { color: var(--ink); font-variant: small-caps; letter-spacing: 1px; }
.field-plate figcaption small { font-size: 13px; }
.folio-divider { display: flex; align-items: center; justify-content: center; gap: 22px; color: var(--muted); }
.folio-divider span { flex: 1; height: 1px; background: var(--rule); }
.folio-divider b { font-size: 27px; font-weight: 400; }

.premise { padding: 5px 0 36px; text-align: center; }
h2 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -.7px; line-height: 1.07; }
.premise h2 { margin-top: 0; }
.premise > p:not(.eyebrow):not(.workflow-footnote) { max-width: 650px; margin: 22px auto 0; font-size: 18px; line-height: 1.5; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 44px 0 0; padding: 0; list-style: none; }
.workflow li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 17px 14px 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.workflow li:not(:last-child)::after { position: absolute; right: -12px; top: 50%; color: var(--muted); font-size: 23px; content: "⟶"; transform: translateY(-50%); }
.step-number { color: var(--rust); font-size: 16px; font-style: italic; }
.workflow strong { margin-top: 3px; font-size: 23px; font-weight: 500; }
.workflow li > span:last-child { color: var(--muted); font-size: 16px; }
.workflow-footnote { margin-top: 17px; color: var(--muted); font-size: 15px; font-style: italic; }
.project-aims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 26px 0 0; padding: 0; list-style: none; text-align: left; }
.project-aims li { padding-top: 18px; border-top: 1px solid var(--rule); }
.project-aims h3 { margin-top: 8px; font-size: 22px; line-height: 1.15; }
.project-aims p { margin-top: 13px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.comparison-title { margin-top: 33px; font-size: 23px; line-height: 1.2; }
.comparison-intro { margin-top: 10px; }
.comparison-title + .field-comparison, .comparison-intro + .field-comparison { margin-top: 24px; }
.profile-comparison .field-expression math { min-height: 0; margin-block: 24px; font-size: 16px; }

.chapter { padding: 36px 0; border-top: 1px solid var(--rule); }
.chapter-heading > .eyebrow + h2 { margin-top: 9px; }
.chapter-heading > h2 + p { margin-top: 14px; }
.chapter > p:not([class]), .chapter-content > p:not([class]) { margin-top: 20px; }
.equation-path { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1.3fr); align-items: center; gap: 12px; margin-top: 24px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.equation-label { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 1.7px; text-transform: uppercase; }
math { margin: 20px 0 5px; color: var(--ink); font-family: "Cambria Math", "STIX Two Math", math; font-size: 20px; }
.equation-arrow { color: var(--rust); font-size: 24px; }
.margin-thought { margin-top: 24px; font-size: 27px; text-align: right; transform: rotate(-3deg); }
.text-link { display: inline-flex; align-items: baseline; gap: 23px; margin-top: 29px; font-size: 16px; text-decoration: none; }
.text-link > span { color: var(--muted); font-size: 13px; }
.text-link:hover { text-decoration: underline; }
.single-equation { margin-top: 31px; padding: 24px 0 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.single-equation > p { margin-top: 15px; color: var(--muted); font-size: 15px; line-height: 1.4; text-align: center; }
.measurement-figure { margin-top: 32px; }
.measurement-figure img { width: 100%; height: auto; mix-blend-mode: multiply; filter: sepia(.24) saturate(.75); }
.measurement-figure figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.field-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; border: 1px solid var(--rule); }
.field-expression { min-width: 0; padding: 22px 14px; text-align: center; }
.field-expression + .field-expression { border-left: 1px solid var(--rule); background: #88502a08; }
.field-expression math { min-height: 101px; margin: 25px 0 18px; font-size: 16px; }
.field-expression > p:last-child { max-width: 340px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.4; }
.learned > .equation-label { color: var(--rust); }
.learned .compact-equation { display: none; }
.equation-units { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.results-table-wrap { margin-top: 28px; }
.results-table { width: 100%; border-collapse: collapse; text-align: left; }
.results-table caption { padding-bottom: 17px; color: var(--muted); font-size: 13px; text-align: left; }
.results-table th, .results-table td { padding: 13px 18px; border-top: 1px solid var(--rule); }
.results-table thead th { padding-top: 10px; padding-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.4px; }
.results-table tbody th { font-size: 16px; font-weight: 400; }
.results-table td { font-size: 24px; font-variant-numeric: tabular-nums; text-align: right; line-height: 1; }
.results-table td > span { margin-left: 2px; font-size: 16px; }
.results-table tr:last-child { border-bottom: 1px solid var(--rule); }
.results-table th:last-child { text-align: right; }
.featured-result { background: #86512f0b; }
.featured-result td { color: var(--rust); }
.table-footnote { margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.thought-experiment { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; margin-top: 37px; border: 1px solid var(--rule); }
.thought-context { min-width: 0; padding: 20px; }
.thought-context > p:not([class]) { margin-top: 14px; font-size: 16px; line-height: 1.5; }
.observation-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 23px; }
.observation-switch button { min-height: 42px; padding: 7px 12px; border: 1px solid var(--muted); border-radius: 0; color: var(--ink); background: transparent; font-size: 14px; cursor: pointer; }
.observation-switch button + button { border-left-width: 1px; }
.observation-switch button[aria-pressed="true"] { color: #f5e6c9; background: #4b3a29; }
.observation-switch button:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.thought-answer { display: grid; align-items: center; min-width: 0; padding: 20px; border-left: 1px solid var(--rule); background: #8c623408; }
.thought-answer math { margin: 19px 0 24px; font-size: 16px; }
.thought-answer h3 { font-size: 20px; }
.thought-answer p { margin-top: 9px; color: var(--muted); font-size: 16px; }
details { margin-top: 27px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 14px 0; font-size: 18px; line-height: 1.4; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary > span { color: var(--rust); font-size: 24px; font-weight: 400; transition: transform .2s ease; }
details[open] summary > span { transform: rotate(45deg); }
.details-body { padding: 0 32px 25px 0; }
.details-body p { margin-top: 13px; color: var(--muted); font-size: 16px; }
.papers { border-top: 3px double var(--rule); }
.paper-list { margin: 20px 0 0; padding: 0; list-style: none; }
.paper-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px 24px; padding: 18px 0; border-top: 1px solid var(--rule); }
.paper-description .eyebrow { margin-bottom: 6px; }
.paper-description h3 { font-size: 22px; line-height: 1.2; }
.paper-description h3 + p { margin-top: 5px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.paper-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; font-size: 15px; }
.paper-actions > a + a { color: var(--muted); }
.research-links { display: flex; flex-wrap: wrap; gap: 12px 29px; margin-top: 17px; padding-top: 21px; border-top: 1px solid var(--rule); }
.research-links a { color: var(--muted); font-size: 15px; }
.footer { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; padding: 37px 0 39px; border-top: 1px solid var(--rule); }
.footer .signature { font-size: 26px; }
.footer > div > p { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.back-top { justify-self: end; color: var(--muted); font-size: 13px; white-space: nowrap; }

@media (max-width: 760px) {
  body { padding: 11px; font-size: 16px; }
  .folio { padding-inline: 25px; }
  .masthead { flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 22px 17px; min-height: auto; }
  .signature { font-size: 25px; }
  .masthead nav { width: 100%; flex-wrap: wrap; gap: 12px 20px; margin-left: 0; }
  .masthead nav a { font-size: 15px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding: 41px 0 33px; }
  .hero-hand { margin-top: 29px; font-size: 34px; }
  h1 { font-size: clamp(44px, 10vw, 60px); letter-spacing: -1.5px; }
  .hero-description { max-width: 470px; margin-top: 26px; font-size: 19px; }
  .field-plate { max-width: 390px; margin: 2px auto 0; }
  .field-plate figcaption { margin-top: 3px; }
  .premise { padding: 5px 0 48px; }
  h2 { font-size: 32px; letter-spacing: -.8px; }
  .premise > p:not(.eyebrow):not(.workflow-footnote) { font-size: 16px; }
  .workflow { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
  .project-aims { grid-template-columns: 1fr; gap: 23px; }
  .project-aims h3 { font-size: 22px; }
  .profile-comparison .field-expression math { font-size: clamp(12px, 3.8vw, 23px); }
  .workflow li { padding-block: 16px; }
  .workflow li:nth-child(odd)::after { display: block; }
  .workflow li:nth-child(even)::after { display: none; }
  .workflow li:nth-child(n+3) { border-top: none; }
  .workflow li > span:last-child { font-size: 15px; }
  .chapter { padding: 32px 0; }
  .equation-path { gap: 12px; padding-block: 22px; }
  .equation-label { font-size: 10px; letter-spacing: 1.2px; }
  .equation-path math { font-size: 17px; }
  .equation-path .equation-label { min-height: 34px; }
  .margin-thought { font-size: 26px; }
  .single-equation math { font-size: 18px; }
  .text-link { gap: 20px; font-size: 16px; }
  .field-comparison { grid-template-columns: 1fr; margin-top: 28px; }
  .field-expression { padding: 24px 17px; }
  .field-expression + .field-expression { border-top: 1px solid var(--rule); border-left: none; }
  .field-expression math { min-height: 90px; font-size: 18px; }
  .learned .wide-equation { display: none; }
  .learned .compact-equation { display: block; }
  .field-expression > p:last-child { font-size: 16px; }
  .equation-units { font-size: 12px; line-height: 1.5; }
  .results-table-wrap { margin-top: 29px; }
  .results-table caption { font-size: 12px; }
  .results-table th, .results-table td { padding: 12px 10px; }
  .results-table tbody th { font-size: 16px; line-height: 1.4; }
  .results-table td { font-size: 21px; }
  .results-table td > span { font-size: 16px; }
  .thought-experiment { grid-template-columns: 1fr; }
  .thought-context, .thought-answer { padding: 23px; }
  .thought-answer { min-height: 236px; border-top: 1px solid var(--rule); border-left: none; }
  .thought-answer math { font-size: 17px; }
  summary { font-size: 16px; }
  .details-body { padding-right: 4px; }
  .paper-list li { grid-template-columns: 1fr; }
  .paper-description h3 { font-size: 20px; }
  .paper-actions { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; }
  .research-links { gap: 12px 23px; }
  .footer { grid-template-columns: 1fr; gap: 23px; padding: 29px 0; }
  .back-top { justify-self: start; }
}

@media (max-width: 390px) {
  .folio { padding-inline: 21px; }
  .masthead { gap: 17px; }
  .masthead nav { width: 100%; justify-content: space-between; margin: 0; }
  .field-expression math { font-size: 16px; }
  .equation-path { grid-template-columns: 1fr; gap: 9px; text-align: center; }
  .equation-path .equation-label { min-height: 0; }
  .equation-path math { margin-top: 14px; }
  .equation-arrow { transform: rotate(90deg); }
  .single-equation math { font-size: 16px; }
  .thought-context, .thought-answer { padding: 20px; }
  .thought-answer math { font-size: 16px; }
}

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

@media print {
  body { padding: 0; background: white; font-size: 12pt; }
  .folio { max-width: none; padding: 0; overflow: visible; background: white; box-shadow: none; }
  .folio::before, body::before, .masthead nav, .ink-link, .back-top, .observation-switch { display: none; }
  h1 { font-size: 60pt; }
  h2 { font-size: 28pt; }
  .hero { grid-template-columns: 1fr 1fr; padding-block: 25px; }
  .chapter { padding-block: 25px; }
  .field-comparison, .thought-experiment, .paper-list li, .single-equation, .equation-path { break-inside: avoid; }
  .measurement-figure img { max-height: 320px; object-fit: contain; }
  .thought-experiment { grid-template-columns: 1fr 1fr; }
  .thought-answer { border-top: none; border-left: 1px solid var(--rule); }
  a { text-decoration: none; }
}
