/* Reading companion: original content, heavier typography, quiet persistent hero artwork. */
:root {
  --ink: #1b201d;
  --forest: #1b201d;
  --muted: #736d5d;
  --line: #ded6bc;
  --paper: #fbf8ee;
  --orange: #1b201d;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: auto;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #53675a;
  outline-offset: 5px;
}
::selection {
  background: #ecda95;
  color: #1b201d;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
h1:focus {
  outline: none;
}
h1,
h2,
h3 {
  font-weight: 750;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 15px;
  background: var(--paper);
}
.site-header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 max(5%, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fbf8eefa;
}
.wordmark {
  font-size: 27px;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.wordmark span {
  font-style: italic;
}
.wordmark:hover {
  text-decoration: none;
}
.library-label {
  font-size: 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.primary-nav {
  display: flex;
  align-self: stretch;
  gap: 30px;
  margin-left: 26px;
  align-items: stretch;
}
.primary-nav a {
  display: flex;
  align-items: center;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  padding: 2px 0 0;
}
.primary-nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}
.primary-nav a:hover {
  text-decoration: none;
  color: #63756a;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding: 14px 0;
  color: var(--muted);
}
.search-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.search-trigger kbd {
  font: 600 10px Arial;
  border: 1px solid var(--line);
  padding: 3px 5px;
  border-radius: 3px;
  margin-left: 8px;
}
.start-link {
  font-size: 12px;
}
.page-width {
  max-width: 1120px;
  margin: auto;
  padding: 0 46px;
}
.quiet-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 70px;
  align-items: center;
  min-height: 285px;
  padding: 42px 0 36px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.3px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 17px;
}
.quiet-intro h1 {
  font-size: 46px;
  letter-spacing: -1.9px;
  line-height: 1.1;
  margin: 0 0 20px;
}
.intro-description {
  font-size: 15px;
  line-height: 1.8;
  max-width: 580px;
  color: #6b6658;
  margin: 0;
}
.guitarist-slot {
  width: 210px;
  height: 222px;
  overflow: hidden;
  justify-self: end;
}
#guitarist-figure {
  margin: 0;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#guitarist-figure canvas,
#guitarist-figure img {
  position: absolute;
  width: auto;
  max-width: none;
  height: calc(100% - 18px);
  aspect-ratio: 16/9;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  object-fit: contain;
}
#guitarist-figure canvas {
  opacity: 0;
}
#guitarist-figure.is-rendered canvas {
  opacity: 1;
}
#guitarist-figure.is-rendered img {
  visibility: hidden;
}
#guitarist-figure button {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font: 600 10px Arial;
  color: #736d5d;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
}
#guitarist-figure button:hover {
  border-color: var(--line);
}
#guitarist-figure button:disabled {
  cursor: default;
}
#guitarist-figure.render-unavailable button {
  display: none;
}
.library-collection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  padding: 42px 0 65px;
  scroll-margin-top: 104px;
}
.collection-heading {
  margin-bottom: 22px;
}
.collection-heading h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}
.collection-heading h2 a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.collection-heading h2 span {
  font-size: 17px;
  font-weight: 600;
}
.collection-heading p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.doc-index {
  display: flex;
  flex-direction: column;
}
.doc-index a {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}
.doc-index a span:last-child {
  font: 600 10px/2 monospace;
  color: #817965;
}
.index-publication {
  display: block;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}
.index-publication:hover,
.publication:hover {
  text-decoration: none;
}
.index-publication .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.index-publication h3 {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
}
.index-publication h3 span {
  font-size: 16px;
}
.index-publication:hover h3,
.publication:hover h2 {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.index-publication > p:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.supporting-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 23px 0;
  font-size: 12px;
  line-height: 1.6;
}
.research-collection {
  padding: 30px 0 65px;
  scroll-margin-top: 104px;
}
.section-line {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.publication {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 35px;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}
.publication-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
  line-height: 1.5;
}
.publication-meta span:last-child {
  font: 600 10px monospace;
  color: #8a816d;
}
.publication-copy h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin: 0 0 18px;
}
.publication-copy > p {
  font-size: 14px;
  color: #6b6658;
  line-height: 1.8;
  max-width: 740px;
  margin: 0 0 16px;
}
.publication-copy .authors {
  font-size: 11px;
  margin: 17px 0 21px;
}
.read-link {
  font-size: 12px;
  display: inline-block;
  margin-top: 4px;
}
.research-collection > .supporting-link {
  border-top: 0;
}
.research-note {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}
.research-note p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}
.research-note a {
  font-size: 12px;
  white-space: nowrap;
}
.site-footer {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 29px 46px 38px;
}
.site-footer .wordmark {
  font-size: 23px;
}
.site-footer p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.site-footer nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 11px;
}
.reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 5%;
  border-bottom: 1px solid #ded6bc;
  font-size: 10px;
  gap: 20px;
  background: #f3edd9;
}
.reader-topbar > a {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.reader-topbar > span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
}
.reader-layout {
  max-width: 1370px;
  margin: auto;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 60px;
  padding: 0 5% 70px;
}
.reader-sidebar {
  position: sticky;
  top: 110px;
  height: max-content;
  max-height: calc(100svh - 136px);
  overflow: auto;
  padding: 38px 20px 10px 0;
}
.sidebar-label {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #736d5d;
  margin: 0 0 17px;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar-links a {
  font-size: 11px;
  line-height: 1.5;
  padding: 9px 12px;
  border-left: 2px solid transparent;
  color: #1b201d;
}
.sidebar-links a:hover {
  color: var(--forest);
  background: #f3edd9;
}
.sidebar-links a[aria-current="location"] {
  color: #1b201d;
  background: #f3edd9;
  border-left-color: var(--orange);
}
.sidebar-links a small {
  display: inline-block;
  color: #736d5d;
  font: 600 9px monospace;
  margin-right: 12px;
}
.sidebar-separator {
  height: 1px;
  background: #ded6bc;
  margin: 24px 0;
}
.sidebar-help {
  font-size: 11px;
  line-height: 1.7;
  margin: 25px 0;
  color: #736d5d;
}
.sidebar-help a {
  display: block;
  color: var(--forest);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reader-content {
  min-width: 0;
  padding-top: 41px;
  max-width: 910px;
}
.reading-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  color: #736d5d;
  letter-spacing: 1px;
  gap: 12px;
  margin-bottom: 34px;
}
.reading-tools > div {
  display: flex;
  gap: 17px;
}
.reading-tools button,
.reading-tools a {
  padding: 5px 0;
  border-bottom: 1px solid #ded6bc;
  font: 600 9px Arial;
  letter-spacing: 0;
  color: #1b201d;
}
.mobile-toc-toggle {
  display: none;
}
.prose {
  font-size: 14px;
  line-height: 1.85;
  color: #1b201d;
  overflow-wrap: break-word;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #1b201d;
  line-height: 1.15;
  font-weight: 750;
  overflow-wrap: break-word;
}
.prose h1 {
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -2.7px;
  margin: 13px 0 28px;
}
.prose h1 em {
  font-family: Georgia, serif;
  font-weight: 600;
}
.prose header {
  margin-bottom: 39px;
  padding-bottom: 34px;
  border-bottom: 1px solid #ded6bc;
}
.prose header .lede {
  font-size: 16px;
  line-height: 1.7;
  max-width: 735px;
  color: #1b201d;
}
.prose header .label,
.prose .kicker,
.prose .badge {
  font: 600 9px/1.7 Arial;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #736d5d;
  display: block;
}
.prose .kicker {
  display: flex;
  gap: 20px;
}
.prose .kicker .chip {
  color: #1b201d;
}
.prose header .authors {
  font-size: 12px;
  color: #736d5d;
  line-height: 1.8;
}
.prose h2 {
  font-size: 29px;
  letter-spacing: -0.7px;
  margin: 0 0 22px;
}
.prose h3 {
  font-size: 19px;
  letter-spacing: -0.3px;
  line-height: 1.4;
  margin: 28px 0 13px;
}
.prose h4 {
  font-size: 15px;
  line-height: 1.4;
  margin: 20px 0 10px;
}
.prose p {
  margin: 14px 0;
}
.prose strong {
  font-weight: 900;
  color: #1b201d;
}
.prose a {
  color: #1b201d;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.prose a:hover {
  color: #1b201d;
}
.prose svg.arr {
  width: 24px;
  height: 12px;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.prose section {
  margin-top: 45px;
  padding-top: 8px;
  scroll-margin-top: 117px;
}
.prose section + section {
  border-top: 1px solid #ded6bc;
  padding-top: 42px;
}
.prose section li {
  margin: 7px 0;
}
.prose ul,
.prose ol {
  padding-left: 23px;
}
.prose code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
  color: #1b201d;
  background: #f3edd9;
  border-radius: 3px;
  padding: 2px 4px;
  overflow-wrap: anywhere;
}
.prose pre {
  max-width: 100%;
  overflow: auto;
  white-space: pre;
  font:
    600 12px/1.8 "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
  tab-size: 2;
  background: var(--forest);
  color: #f3edd9;
  margin: 0;
  padding: 24px 23px;
  border-radius: 0 0 4px 4px;
}
.prose pre code {
  background: none;
  color: inherit;
  padding: 0;
  font: inherit;
  overflow-wrap: normal;
}
.prose .code,
.prose .code-container {
  position: relative;
  margin: 22px 0 27px;
  border: 1px solid #1b201d;
  border-radius: 5px;
  background: var(--forest);
  padding-top: 39px;
  overflow: hidden;
}
.prose .code-lang {
  position: absolute;
  top: 12px;
  left: 21px;
  color: #ded6bc;
  font: 600 8px/1.5 Arial;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.copy-code {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 5px 10px;
  border: 1px solid #ded6bc;
  color: #f3edd9;
  font: 600 9px/1.5 Arial;
  border-radius: 4px;
  z-index: 1;
  background: #1b201d;
}
.copy-code:hover {
  background: #1b201d;
}
.prose .callout {
  padding: 22px 25px;
  background: #f3edd9;
  border-left: 2px solid #736d5d;
  margin: 24px 0;
  font-size: 13px;
}
.prose .callout-title {
  font: 600 9px/1.6 Arial;
  letter-spacing: 1.2px;
  margin: 0 0 11px;
  color: #1b201d;
}
.prose .table-scroll,
.prose .tbl-scroll,
.prose .tablewrap {
  max-width: 100%;
  overflow: auto;
  margin: 23px 0;
  border: 1px solid #ded6bc;
  border-radius: 4px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  line-height: 1.7;
  text-align: left;
}
.prose th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #1b201d;
  background: #f3edd9;
  padding: 14px;
  text-align: left;
}
.prose td {
  padding: 15px 14px;
  vertical-align: top;
  border-top: 1px solid #ded6bc;
  min-width: 105px;
}
.prose tbody tr:nth-child(even) {
  background: #f3edd9;
}
.prose td:first-child {
  color: #1b201d;
}
.prose td code {
  font-size: 10px;
  white-space: nowrap;
}
.prose .cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0;
  background: #ded6bc;
  padding: 24px 28px;
  border-radius: 4px;
}
.prose .cta-card h3 {
  margin: 0 0 5px;
  font-size: 21px;
}
.prose .cta-card p {
  margin: 0;
  font-size: 12px;
}
.prose .cta-btn,
.prose .btn-primary {
  background: var(--forest);
  border-radius: 30px;
  color: #f3edd9;
  text-decoration: none;
  display: inline-flex;
  padding: 12px 19px;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  white-space: nowrap;
}
.prose .cta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin: 27px 0 0;
}
.prose .btn-ghost {
  font-size: 11px;
}
.prose .abstract {
  background: #f3edd9;
  border-left: 2px solid #736d5d;
  padding: 24px 27px;
  margin-top: 0;
  font-size: 14px;
}
.prose .abstract p {
  margin: 0;
}
.prose .abstract .sc {
  font-weight: 900;
}
.prose .fig {
  margin: 27px 0;
}
.prose .fig img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
  background: white;
  border-radius: 3px;
}
.figure-expand {
  display: block;
  width: 100%;
  padding: 0;
  position: relative;
  cursor: zoom-in;
}
.figure-expand:after {
  content: "Expand figure";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fbf8ee;
  color: var(--forest);
  font: 600 9px Arial;
  padding: 7px 10px;
  border: 1px solid #ded6bc;
  border-radius: 4px;
  opacity: 0;
}
.figure-expand:hover:after,
.figure-expand:focus-visible:after {
  opacity: 1;
}
.prose figcaption,
.prose .cap,
.prose .tbl-cap {
  font-size: 11px;
  line-height: 1.75;
  color: #736d5d;
  margin: 13px 0 20px;
}
.prose .float-label {
  font-weight: 900;
  color: #1b201d;
}
.prose .refs {
  font-size: 12px;
}
.prose .refs li {
  padding-left: 6px;
  margin-bottom: 15px;
}
.prose .onward {
  border-top: 1px solid #ded6bc;
  padding-top: 30px;
  margin-top: 40px;
  font-size: 15px;
}
.prose .onward-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.prose .eyebrow {
  font: 600 9px/1.6 Arial;
  letter-spacing: 1.2px;
  color: #736d5d;
  margin: 0 0 18px;
}
.prose .grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.prose .grid2 .fig {
  margin: 15px 0;
}
.prose .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
}
.prose .stat {
  padding: 22px 15px;
  background: #f3edd9;
  border-top: 1px solid #ded6bc;
}
.prose .stat .num {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 750;
  color: #1b201d;
  line-height: 1.2;
}
.prose .stat .lab {
  font-size: 10px;
  line-height: 1.6;
  margin-top: 10px;
}
.prose .pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.prose .pill {
  font-size: 10px;
  border: 1px solid #ded6bc;
  border-radius: 20px;
  padding: 5px 12px;
}
.prose .foot,
.prose .note {
  font-size: 11px;
  color: #736d5d;
}
.prose .signoff {
  border-top: 1px solid #ded6bc;
  margin-top: 25px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.prose .signoff-line {
  font: 600 italic 23px Georgia;
}
.prose .signoff-link {
  font-size: 11px;
  white-space: nowrap;
}
.prose .examples {
  margin: 30px 0;
}
.prose .example-group {
  padding: 1px 0 15px;
}
.prose details {
  border: 1px solid #ded6bc;
  background: #f3edd9;
  border-radius: 4px;
  margin: 12px 0;
  overflow: hidden;
}
.prose summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.6;
  display: list-item;
  list-style: disclosure-closed inside;
}
.prose details[open] > summary {
  list-style-type: disclosure-open;
  background: #f3edd9;
}
.prose summary .example-arrow {
  display: none;
}
.prose details .code-container {
  margin: 0;
  border-radius: 0;
  border: 0;
}
.prose details pre {
  border-radius: 0;
}
.prose .example-prompt {
  display: inline;
}
.prose .section-intro,
.prose .intro {
  margin-bottom: 24px;
}
.source-note {
  border-top: 1px solid #ded6bc;
  margin-top: 45px;
  padding-top: 22px;
  font-size: 10px;
  line-height: 1.8;
  color: #736d5d;
}
.source-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #736d5d;
}
.reader-next {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #ded6bc;
  padding: 25px;
  background: #f3edd9;
}
.reader-next span {
  font-size: 9px;
  letter-spacing: 1px;
  color: #736d5d;
}
.reader-next strong {
  display: block;
  font-weight: 750;
  font-size: 21px;
  letter-spacing: -0.5px;
  margin-top: 9px;
}
.reader-next > b {
  font-size: 25px;
  font-weight: 600;
}
.not-found {
  padding: 100px 8%;
  min-height: 60vh;
}
.not-found h1 {
  font-size: 48px;
  letter-spacing: -2px;
  font-weight: 750;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 200;
  background: var(--forest);
  color: #f3edd9;
  font-size: 12px;
  padding: 13px 24px;
  border-radius: 40px;
  opacity: 0;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  color: var(--ink);
  border: 1px solid #ded6bc;
  box-shadow: 0 30px 120px #1b201d;
  background: #f3edd9;
}
dialog::backdrop {
  background: #1b201d;
  backdrop-filter: blur(4px);
}
#search-dialog {
  width: 650px;
  max-width: calc(100% - 30px);
  max-height: calc(100svh - 60px);
  padding: 28px;
  border-radius: 8px;
  overflow: auto;
}
.search-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.search-heading h2 {
  font: 600 italic 29px Georgia;
  letter-spacing: -0.7px;
  margin: 0;
}
.close-search {
  font-size: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ded6bc;
}
#search-input {
  width: 100%;
  padding: 17px 16px;
  border: 1px solid #736d5d;
  background: #fbf8ee;
  color: var(--forest);
  font-size: 14px;
  border-radius: 4px;
}
.search-status {
  font-size: 11px;
  color: #736d5d;
  margin: 20px 0 12px;
}
.search-result {
  display: block;
  padding: 17px 15px;
  border-top: 1px solid #ded6bc;
}
.search-result:hover,
.search-result:focus-visible {
  background: #f3edd9;
}
.search-result small {
  font: 600 8px Arial;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1b201d;
  display: block;
  margin-bottom: 7px;
}
.search-result strong {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 750;
}
.search-result p {
  font-size: 11px;
  line-height: 1.6;
  color: #736d5d;
  margin: 6px 0 0;
}
.search-result mark {
  background: #ded6bc;
  color: #1b201d;
}
.search-foot {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.5px;
  color: #736d5d;
  margin-top: 15px;
  padding-top: 20px;
  border-top: 1px solid #ded6bc;
}
#figure-dialog {
  width: min(1250px, 94vw);
  max-height: 94svh;
  padding: 55px 20px 20px;
  border-radius: 6px;
  overflow: auto;
}
#figure-dialog img {
  display: block;
  margin: auto;
  max-height: 77svh;
  object-fit: contain;
  background: white;
}
#figure-dialog p {
  font-size: 11px;
  line-height: 1.6;
  margin: 15px 0 0;
}
.close-figure {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 11px;
  border: 1px solid #ded6bc;
  padding: 7px 13px;
  border-radius: 20px;
}
.no-js {
  padding: 25px;
  background: #ded6bc;
}

/* Editorial reading surface, with no background art or motion. */
.reader-topbar {
  background: transparent;
  padding: 17px max(5%, calc((100vw - 1280px) / 2));
  border-color: var(--line);
}
.reader-topbar > a {
  display: block;
  line-height: 1.7;
}
.reader-topbar > a span {
  margin: 0 10px;
}
.reader-topbar > span {
  font-size: 9px;
}
.reader-layout {
  max-width: 1280px;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 58px;
  padding: 0 46px 70px;
}
.reader-sidebar {
  top: 96px;
  max-height: calc(100svh - 120px);
  padding-top: 32px;
}
.sidebar-label {
  font-size: 9px;
  letter-spacing: 1px;
}
.sidebar-links a {
  font-size: 12px;
  padding: 9px 0 9px 12px;
}
.sidebar-links a[aria-current="location"] {
  background: #f3edd9;
  border-left-color: var(--ink);
}
.sidebar-links a:hover {
  background: #f3edd9;
  text-decoration: none;
}
.reader-content {
  padding-top: 30px;
  max-width: 870px;
}
.reading-tools {
  margin-bottom: 26px;
  font-size: 9px;
  letter-spacing: 0.5px;
}
.reading-tools button,
.reading-tools a {
  font-size: 10px;
  border: 0;
}
.prose {
  font-size: 14px;
  color: #48534b;
  line-height: 1.85;
}
.prose h1 {
  font-size: 43px;
  line-height: 1.1;
  letter-spacing: -1.7px;
  margin: 12px 0 22px;
}
.prose h1 em {
  font-family: inherit;
  font-style: normal;
}
.prose h2 {
  font-size: 28px;
}
.prose header {
  display: flow-root;
  padding-bottom: 25px;
  margin-bottom: 29px;
}
.prose header .lede {
  font-size: 14px;
  line-height: 1.85;
}
.prose header .paper-subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 20px;
  letter-spacing: -0.4px;
}
.prose section {
  scroll-margin-top: 105px;
}
.prose a {
  color: #334b3b;
}
.prose .doc-hero .guitarist-slot {
  float: right;
  width: 155px;
  height: 208px;
  margin: -20px -12px 5px 24px;
}
.prose table {
  font-size: 12px;
}
.prose th {
  font-size: 10px;
}
.prose pre {
  font-size: 12px;
  color: #e7ede7;
  background: #202622;
}
.copy-code {
  background: #202622;
  color: #e7ede7;
}
.prose .code-lang {
  color: #b8c4bc;
}
.prose .cta-btn,
.prose .btn-primary {
  color: #fbf8ee;
  border-radius: 4px;
}
.prose .callout,
.prose .abstract {
  border-left-color: #bbab72;
  background: #f3edd9;
}
.prose .cta-card {
  background: #f3edd9;
}
.prose .stats {
  gap: 12px;
}
.prose .stat {
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 20px 5px;
}
.prose .stat .num {
  color: var(--ink);
}
.prose .pill {
  border-radius: 3px;
}
.prose .signoff-line {
  font: 600 18px Arial;
}
.reader-next {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.reader-next strong {
  font-size: 20px;
}
.source-note {
  color: #6c756e;
}
.source-note a {
  color: inherit;
}
.toast {
  border-radius: 4px;
  color: #fbf8ee;
  transform: translateX(-50%);
}
.toast.show {
  transform: translateX(-50%);
}
dialog {
  background: #fbf8ee;
  border-color: var(--line);
}
dialog::backdrop {
  background: #1b201d70;
  backdrop-filter: blur(3px);
}
#search-input {
  background: #fff;
  color: var(--ink);
}
.search-heading h2 {
  font: 600 500 25px Arial;
  letter-spacing: -0.6px;
}
.search-result mark {
  background: #eddda7;
}
.search-result:hover {
  background: #f3edd9;
  text-decoration: none;
}
.close-search,
.close-figure {
  border-radius: 4px;
}
.no-js {
  background: #f3edd9;
}
[data-view="benchmark-notes"] .prose h1 em {
  display: block;
}
@media (max-width: 1050px) {
  .page-width {
    padding: 0 5%;
  }
  .reader-layout {
    gap: 32px;
    grid-template-columns: 180px minmax(0, 1fr);
    padding-inline: 5%;
  }
  .library-collection {
    gap: 45px;
  }
  .quiet-intro {
    gap: 25px;
  }
  .site-header {
    gap: 20px;
  }
  .primary-nav {
    margin-left: 10px;
    gap: 25px;
  }
  .header-actions {
    gap: 23px;
  }
  .prose .grid2 {
    grid-template-columns: 1fr;
  }
  .prose .doc-hero .guitarist-slot {
    width: 130px;
    height: 182px;
    margin-left: 16px;
  }
  .reading-tools {
    flex-wrap: wrap;
  }
  .site-footer {
    padding-inline: 5%;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 66px;
    padding-inline: 6%;
    gap: 16px;
  }
  .wordmark {
    font-size: 25px;
  }
  .library-label {
    display: none;
  }
  .primary-nav {
    margin-left: auto;
    gap: 24px;
  }
  .primary-nav a {
    font-size: 12px;
  }
  .header-actions {
    margin-left: 0;
    gap: 0;
  }
  .search-trigger {
    padding: 12px 3px;
  }
  .search-trigger span,
  .search-trigger kbd,
  .start-link {
    display: none;
  }
  .search-trigger svg {
    width: 18px;
    height: 18px;
  }
  .page-width {
    padding: 0 6%;
  }
  .quiet-intro {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 8px;
    padding: 30px 0;
    min-height: 220px;
  }
  .quiet-intro h1 {
    font-size: 33px;
    letter-spacing: -1.3px;
    line-height: 1.14;
    margin-bottom: 15px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
    margin-bottom: 13px;
  }
  .intro-description {
    font-size: 12px;
    line-height: 1.8;
  }
  .guitarist-slot {
    width: 96px;
    height: 145px;
    margin-right: -5px;
  }
  .research-intro .intro-description {
    font-size: 12px;
  }
  .library-collection {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 32px 0 40px;
  }
  .collection-heading h2 {
    font-size: 20px;
  }
  .doc-index a {
    padding: 14px 0;
  }
  .collection-heading {
    margin-bottom: 20px;
  }
  .index-publication h3 {
    font-size: 19px;
  }
  .research-collection {
    padding: 26px 0 40px;
  }
  .publication {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 25px 0 29px;
  }
  .publication-meta {
    flex-direction: row;
    justify-content: space-between;
    font-size: 10px;
  }
  .publication-copy h2 {
    font-size: 25px;
    letter-spacing: -0.7px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  .publication-copy > p {
    font-size: 13px;
  }
  .publication-copy .authors {
    font-size: 10px;
  }
  .research-note {
    display: block;
    padding-top: 20px;
  }
  .research-note p {
    font-size: 11px;
  }
  .research-note a {
    display: inline-block;
    margin-top: 17px;
    font-size: 11px;
  }
  .reader-topbar {
    padding: 13px 6%;
    flex-wrap: wrap;
    gap: 12px;
  }
  .reader-topbar > a {
    font-size: 10px;
  }
  .reader-topbar > span {
    display: none;
  }
  .reader-topbar > a span {
    margin: 0 6px;
  }
  .mobile-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 10px;
  }
  .reader-layout {
    display: block;
    padding: 0 6% 40px;
  }
  .reader-sidebar {
    display: none;
    position: relative;
    top: auto;
    max-height: none;
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
  }
  .reader-sidebar.is-open {
    display: block;
  }
  .reader-content {
    padding-top: 24px;
  }
  .reading-tools {
    font-size: 8px;
    gap: 8px;
    margin-bottom: 26px;
  }
  .reading-tools > div {
    gap: 16px;
  }
  .reading-tools button,
  .reading-tools a {
    font-size: 9px;
  }
  .prose {
    font-size: 13px;
    line-height: 1.85;
  }
  .prose h1 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }
  .prose h2 {
    font-size: 25px;
  }
  .prose h3 {
    font-size: 18px;
  }
  .prose header {
    padding-bottom: 20px;
  }
  .prose header .lede {
    font-size: 13px;
  }
  .prose .doc-hero .guitarist-slot {
    width: 87px;
    height: 145px;
    margin: -12px -6px 0 8px;
  }
  .prose .doc-hero h1 {
    font-size: 31px;
  }
  .prose header .paper-subtitle {
    font-size: 17px;
  }
  .prose section {
    margin-top: 32px;
    scroll-margin-top: 91px;
  }
  .prose section + section {
    padding-top: 30px;
  }
  .prose pre {
    font-size: 10px;
    padding: 18px 14px;
  }
  .prose .code-lang {
    left: 14px;
  }
  .prose .callout,
  .prose .abstract {
    padding: 17px;
    font-size: 12px;
  }
  .prose .cta-card {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .prose .stats {
    gap: 8px;
  }
  .prose .stat .num {
    font-size: 25px;
  }
  .prose .stat .lab {
    font-size: 9px;
  }
  .prose .signoff {
    flex-wrap: wrap;
  }
  .prose summary {
    padding: 14px;
    font-size: 11px;
  }
  .source-note {
    font-size: 9px;
  }
  .reader-next strong {
    font-size: 18px;
  }
  .site-footer {
    padding: 26px 6% 30px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .site-footer p {
    font-size: 9px;
    margin-left: auto;
  }
  .site-footer nav {
    margin: 0;
    width: 100%;
    font-size: 11px;
    gap: 24px;
  }
  #search-dialog {
    padding: 20px;
    max-height: calc(100svh - 26px);
  }
  #search-input {
    font-size: 12px;
    padding: 15px 12px;
  }
  .search-foot {
    font-size: 7px;
    gap: 15px;
  }
  .not-found {
    padding: 60px 6%;
  }
  .not-found h1 {
    font-size: 34px;
  }
  .toast {
    max-width: 90%;
    width: max-content;
    text-align: center;
    font-size: 11px;
  }
}
@media print {
  .site-header,
  .site-footer,
  .reader-sidebar,
  .reader-topbar,
  .reading-tools,
  .reader-next,
  .copy-code,
  .search-trigger,
  dialog,
  .guitarist-slot {
    display: none !important;
  }
  .reader-layout {
    display: block;
    padding: 0;
  }
  .reader-content {
    max-width: none;
    padding: 0;
  }
  .prose {
    font-size: 10pt;
  }
  .prose h1 {
    font-size: 28pt;
  }
  .prose pre {
    white-space: pre-wrap;
    background: #eee;
    color: #222;
    overflow: visible;
  }
  .prose .table-scroll,
  .prose .tbl-scroll,
  .prose .tablewrap {
    overflow: visible;
  }
  .prose table {
    font-size: 8pt;
  }
  .prose th,
  .prose td {
    padding: 8px;
  }
  .prose figure {
    break-inside: avoid;
  }
  .prose details {
    display: block;
  }
  .prose img {
    max-height: 85vh;
    object-fit: contain;
  }
  .source-note {
    font-size: 8pt;
  }
  body {
    background: white;
  }
}

/* v38: original hero yellow and scroll parallax, confined to the opening. */
:root {
  --hero-yellow: #ecc13f;
  --cloud-bank: url("/landing/cloud-bank-v9.webp");
}
.view {
  position: relative;
  isolation: isolate;
}
.library-view,
.research-view,
.reader-view {
  background: var(--paper);
}
.opening-sky {
  position: absolute;
  inset: 0 0 auto;
  height: 410px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--hero-yellow) 0%,
    #efcd66 49%,
    #f7ebc4 82%,
    var(--paper) 100%
  );
}
.sky-cloud {
  position: absolute;
  left: 0;
  width: 320%;
  pointer-events: none;
  background: var(--cloud-bank) left bottom/auto 100% repeat-x;
  will-change: transform;
}
.sky-cloud-far {
  height: 180px;
  bottom: 70px;
  opacity: 0.21;
  mask-image: linear-gradient(180deg, #000 30%, #0008 75%, transparent);
}
.sky-cloud-near {
  height: 235px;
  bottom: -8px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, #000 25%, #0008 66%, transparent);
}

.site-header {
  isolation: isolate;
  background: var(--hero-yellow);
  border-bottom-color: #9a792a45;
}
.header-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.header-cloud {
  position: absolute;
  bottom: -48px;
  left: 0;
  width: 320%;
  height: 86px;
  background: var(--cloud-bank) left bottom/max(600px, 75vw) auto repeat-x;
  opacity: 0.16;
  mask-image: linear-gradient(transparent, #000 65%);
  will-change: transform;
}
.site-header .library-label,
.site-header .search-trigger {
  color: #564c30;
}
.site-header .library-label,
.site-header .search-trigger kbd {
  border-color: #8d772d50;
}
.primary-nav a[aria-current="page"] {
  border-bottom-color: #554725;
}
.reader-topbar {
  border-bottom-color: #c3ad5b70;
}
.quiet-intro .intro-description {
  color: #554e39;
}
.quiet-intro .eyebrow,
.prose .doc-hero .label {
  color: #665936;
}
.sidebar-links a[aria-current="location"] {
  background: #f0e4b9;
  border-left-color: #a58939;
}
.sidebar-links a:hover {
  background: #f3ecd4;
}
.prose code {
  background: #f1ead4;
}
.prose pre code {
  background: none;
}
.publication-paper:hover h2 {
  text-decoration: none;
}
.publication-paper h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.read-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  background: rgba(53, 68, 45, 0.08);
  color: #263222;
  border: 1px solid rgba(53, 68, 45, 0.15);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  vertical-align: top;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}
.read-button > span {
  position: relative;
  z-index: 1;
}
.read-button:before {
  content: "";
  position: absolute;
  inset: -40% -45%;
  background: linear-gradient(
    110deg,
    transparent 30%,
    #ffffff12 46%,
    #ffffff66 50%,
    transparent 68%
  );
  transform: translateX(-90%);
  pointer-events: none;
  transition: transform 550ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.read-button:focus-visible {
  text-decoration: none;
  background: rgba(53, 68, 45, 0.14);
  box-shadow: 0 4px 12px #3936210d;
  transform: translateY(-2px);
}
.read-button:focus-visible:before {
  transform: translateX(90%);
}

@media (hover: hover) {
  .read-button:hover {
    text-decoration: none;
    background: rgba(53, 68, 45, 0.14);
    box-shadow: 0 4px 12px #3936210d;
    transform: translateY(-2px);
  }
  .read-button:hover:before {
    transform: translateX(90%);
  }
}
@media (max-width: 760px) {
  .sky-cloud-far {
    height: 155px;
    bottom: 85px;
    opacity: 0.17;
  }
  .sky-cloud-near {
    height: 210px;
    bottom: 5px;
    opacity: 0.3;
  }
  .header-cloud {
    opacity: 0.12;
  }
  .read-button {
    min-height: 46px;
    padding: 12px 19px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sky-cloud,
  .header-cloud {
    will-change: auto;
    transform: none !important;
  }
  .read-button {
    transition: none !important;
    transform: none !important;
  }
  .read-button:before {
    display: none;
  }
}
.library-motion-paused .read-button {
  transition: none;
  transform: none;
}
.library-motion-paused .read-button:before {
  display: none;
}
@media print {
  .view {
    background: none !important;
  }
  .opening-sky,
  .header-sky {
    display: none !important;
  }
  .prose code {
    background: #eee;
  }
  .prose pre code {
    background: none;
  }
  .read-button {
    background: transparent;
    color: #222;
    box-shadow: none;
    transform: none;
  }
  .read-button:before {
    display: none;
  }
}
/* v41: translucent controls and clear text replace directional button icons. */
:root {
  --action-fill: rgba(53, 68, 45, 0.075);
  --action-hover: rgba(53, 68, 45, 0.14);
  --action-edge: rgba(53, 68, 45, 0.15);
  --action-ink: #263222;
}
.start-link {
  padding: 9px 13px;
  border: 1px solid #5d4a2426;
  border-radius: 5px;
  background: #fff9e72e;
  font-weight: 900;
}
.start-link:hover {
  background: #fff9e74a;
  text-decoration: none;
}
.read-link:not(.read-button),
.prose .cta-btn,
.prose .btn-primary,
.prose .signoff-link,
.prose .onward-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid var(--action-edge);
  border-radius: 6px;
  background: var(--action-fill);
  color: var(--action-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
  white-space: normal;
}
.publication[href]:hover .read-link,
.prose .cta-btn:hover,
.prose .btn-primary:hover,
.prose .signoff-link:hover,
.prose .onward-link:hover {
  background: var(--action-hover);
  color: var(--action-ink);
  text-decoration: none;
}
.reading-tools > div {
  gap: 7px;
  flex-wrap: wrap;
}
.reading-tools button,
.reading-tools a {
  padding: 7px 10px;
  background: #fff9e750;
  border: 1px solid var(--action-edge);
  border-radius: 4px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}
.reading-tools button:hover,
.reading-tools a:hover {
  background: #fff9e799;
}
.collection-heading h2 a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--action-edge);
  border-radius: 5px;
  background: var(--action-fill);
  gap: 0;
}
.collection-heading h2 a:hover {
  background: var(--action-hover);
  text-decoration: none;
}
.index-publication h3,
.supporting-link,
.site-footer nav a,
.research-note a,
.not-found > a {
  text-decoration: underline;
  text-decoration-color: #53614866;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.index-publication:hover,
.publication[href]:hover,
.doc-index a:hover,
.supporting-link:hover {
  background: #53614806;
}
.reader-next {
  background: var(--action-fill);
  border: 1px solid var(--action-edge);
  border-radius: 6px;
  padding: 21px 23px;
  justify-content: flex-start;
}
.reader-next:hover {
  background: var(--action-hover);
  text-decoration: none;
}
.reader-topbar > a {
  text-decoration: underline;
  text-decoration-color: #6453285c;
  text-underline-offset: 4px;
}
.mobile-toc-toggle {
  background: #fff9e72e;
}
.mobile-toc-toggle:after {
  content: "Show";
  font-size: 9px;
  color: #574c31;
  padding: 3px 6px;
  border-radius: 3px;
  background: #fff9e750;
}
.mobile-toc-toggle[aria-expanded="true"]:after {
  content: "Hide";
}
.prose details.example-prompt {
  display: block;
}
.prose summary,
.prose details[open] > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}
.prose summary::marker {
  content: "";
}
.prose summary::-webkit-details-marker {
  display: none;
}
.prose summary:after {
  content: "View JSON";
  flex-shrink: 0;
  font: 600 600 9px/1.5 Arial;
  letter-spacing: 0.1px;
  padding: 5px 8px;
  border: 1px solid var(--action-edge);
  border-radius: 4px;
  background: var(--action-fill);
  color: var(--action-ink);
}
.prose details[open] > summary:after {
  content: "Hide JSON";
}
.prose summary:hover:after {
  background: var(--action-hover);
}
.prose summary:focus-visible {
  outline-offset: -3px;
}
.figure-expand:after {
  background: #fbf8eed9;
  border-color: var(--action-edge);
  font-weight: 900;
}
@media (max-width: 760px) {
  .reading-tools {
    row-gap: 12px;
  }
  .reading-tools > div {
    gap: 6px;
  }
  .reading-tools button,
  .reading-tools a {
    font-size: 9px;
    padding: 7px 9px;
  }
  .prose summary {
    gap: 11px;
  }
  .collection-heading h2 a {
    font-size: 19px;
  }
  .reader-next {
    padding: 19px;
  }
}
@media print {
  .read-link,
  .prose .cta-btn,
  .prose .btn-primary,
  .prose .signoff-link,
  .prose .onward-link {
    background: transparent;
    color: #222;
  }
  .prose summary:after {
    display: none;
  }
}
/* v42: the original hero sky and clouds persist throughout the full library. */
:root {
  --hero-sky: url("/landing/paper.webp");
  --paper: #ecc13f;
  --muted: #515039;
  --line: #6d603f55;
  background: #ecc13f;
}
body {
  isolation: isolate;
  background: transparent;
}
.library-world {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #ecc13f;
}
.world-paper {
  position: absolute;
  inset: 0;
  background: var(--hero-sky) repeat;
  background-size: 800px 400px;
}
.world-paper:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #eac25205 20%, #f1d27624 70%, #ece6c74d);
}
.world-cloud {
  position: absolute;
  left: 0;
  width: calc(100% + 210vh);
  background: var(--cloud-bank) left bottom/auto 100% repeat-x;
  will-change: transform;
}
.world-cloud-far {
  bottom: 27%;
  height: 34%;
  opacity: 0.36;
  mask-image: linear-gradient(#000 35%, #0009 65%, transparent);
}
.world-cloud-near {
  bottom: -13%;
  height: 69%;
  opacity: 0.83;
}
.view,
.library-view,
.research-view,
.reader-view,
.reader-topbar,
.site-footer {
  background: transparent;
}
.site-header {
  background: #ecc13f var(--hero-sky) repeat;
  background-size: 800px 400px;
  border-bottom-color: #69592b4d;
}
.site-footer {
  border-top-color: #6d603f55;
}
.prose,
.prose header .lede {
  color: #30392a;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose strong {
  color: #20291f;
}
.prose header .authors,
.prose .kicker,
.prose .badge,
.prose .eyebrow,
.prose .cap,
.prose .tbl-cap,
.prose figcaption,
.prose .note,
.prose .foot,
.source-note,
.source-note a,
.reading-tools,
.sidebar-help,
.sidebar-label,
.sidebar-links a small,
.site-footer p,
.publication-copy > p,
.publication-meta,
.intro-description,
.research-note p {
  color: #4d5139;
}
.prose .callout,
.prose .abstract,
.prose .cta-card {
  background: #fff3c44d;
  border-color: #81724480;
}
.prose .table-scroll,
.prose .tbl-scroll,
.prose .tablewrap {
  border-color: #77654066;
}
.prose th {
  background: #fff3c473;
  color: #30392a;
}
.prose tbody tr:nth-child(even) {
  background: #fff3c42b;
}
.prose td {
  border-color: #77654040;
}
.prose td:first-child {
  color: #30392a;
}
.prose details {
  background: #fff3c43d;
  border-color: #77654066;
}
.prose details[open] > summary {
  background: #fff3c445;
}
.prose .pill {
  background: #fff3c426;
  border-color: #77654055;
}
.sidebar-links a[aria-current="location"] {
  background: #fff3c459;
  border-left-color: #6b5730;
}
.sidebar-links a:hover {
  background: #fff3c433;
}
.read-button,
.read-link:not(.read-button),
.prose .cta-btn,
.prose .btn-primary,
.prose .onward-link,
.prose .signoff-link,
.reader-next {
  background: #fff3c429;
  border-color: #534b353b;
  color: #263222;
}
.read-button:hover,
.read-button:focus-visible {
  background: #fff3c457;
}
.background-motion-toggle {
  padding: 8px 10px;
  border: 1px solid #5d4a2438;
  border-radius: 5px;
  background: #fff3c426;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  color: #3b402d;
}
.background-motion-toggle:hover {
  background: #fff3c445;
}
.background-motion-toggle:disabled {
  cursor: default;
}
.motion-short {
  display: none;
}
@media (max-width: 800px) {
  .world-cloud-far {
    bottom: 35%;
    height: 31%;
    opacity: 0.3;
  }
  .world-cloud-near {
    height: 56%;
    bottom: -5%;
    opacity: 0.75;
  }
}
@media (max-width: 760px) {
  .header-actions {
    gap: 8px;
  }
  .motion-full {
    display: none;
  }
  .motion-short {
    display: inline;
  }
  .background-motion-toggle {
    font-size: 10px;
    padding: 7px 8px;
  }
}
@media (max-width: 400px) {
  .site-header {
    gap: 10px;
  }
  .site-header .wordmark {
    font-size: 23px;
  }
  .primary-nav {
    gap: 16px;
  }
  .header-actions {
    gap: 6px;
  }
  .background-motion-toggle {
    padding: 7px 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .world-cloud {
    will-change: auto;
    transform: none !important;
  }
}
@media print {
  .library-world {
    display: none !important;
  }
  body,
  :root {
    background: white !important;
  }
  .view,
  .site-footer {
    background: white !important;
  }
  .prose,
  .prose p,
  .prose h1,
  .prose h2,
  .prose h3,
  .prose h4 {
    color: #222;
  }
  .read-button {
    background: transparent;
  }
}

/* v44: readable paper, 50% heavier type, and calm content-preserving motion. */
:root {
  font-weight: 600;
  --ink: #202b21;
  --forest: #202b21;
  --muted: #4b4e38;
  --line: #8073454d;
  --reading-ease: cubic-bezier(0.22, 0.68, 0.2, 1);
}
strong,
b,
th {
  font-weight: 1000;
}
.library-world {
  background: #f3dfa1;
}
.world-paper {
  opacity: 0.22;
}
.world-cloud-far {
  opacity: 0.065;
}
.world-cloud-near {
  opacity: 0.16;
}
.site-header {
  background-image: linear-gradient(#f4dfa1eb, #f4dfa1eb), var(--hero-sky);
  color: var(--ink);
}
.header-cloud {
  opacity: 0.045;
}
.page-width {
  background: #fff6d24d;
}
.reader-layout {
  max-width: 1320px;
  gap: 42px;
  grid-template-columns: 220px minmax(0, 1fr);
}
.reader-content {
  position: relative;
  margin-top: 28px;
  padding: 28px 32px 36px;
  background: #fff9e3c9;
  border: 1px solid #9c874630;
  border-radius: 6px;
  max-width: none;
}
.prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}
.prose header .lede {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}
.prose h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -1.5px;
}
.prose h2 {
  font-size: 29px;
  line-height: 1.25;
}
.prose h3 {
  font-size: 21px;
}
.prose h4 {
  font-size: 17px;
}
.prose strong {
  font-weight: 900;
}
.prose header .authors,
.prose .kicker,
.prose .badge,
.prose .eyebrow,
.prose .cap,
.prose .tbl-cap,
.prose figcaption,
.prose .note,
.prose .foot,
.source-note,
.source-note a,
.reading-tools,
.sidebar-help,
.sidebar-label,
.sidebar-links a small,
.site-footer p,
.publication-copy > p,
.publication-meta,
.intro-description,
.research-note p,
.search-status,
.search-result p,
.search-foot,
.search-trigger,
#guitarist-figure button {
  color: #414b32;
}
.intro-description,
.research-intro .intro-description,
.publication-copy > p {
  font-size: 16px;
  line-height: 1.85;
}
.publication-copy .authors {
  font-size: 12px;
}
.publication-meta,
.section-line,
.research-note p,
.source-note,
.site-footer p {
  font-size: 12px;
}
.eyebrow,
.prose .eyebrow,
.prose header .label,
.prose .badge,
.prose .kicker,
.sidebar-label {
  font-size: 11px;
  letter-spacing: 1px;
}
.prose .callout,
.prose .abstract,
.prose .cta-card {
  background: #f0db9b66;
}
.prose .callout,
.prose .abstract {
  font-size: 15px;
}
.prose .callout-title {
  font-size: 11px;
}
.prose .refs {
  font-size: 14px;
}
.prose .cap,
.prose .tbl-cap,
.prose figcaption,
.prose .note,
.prose .foot {
  font-size: 13px;
}
.prose pre {
  font-size: 13px;
  line-height: 1.85;
  background: #202b24;
  color: #fff6da;
}
.prose .code-lang {
  font-size: 10px;
  color: #e5dabd;
}
.copy-code {
  font-size: 11px;
  color: #fff6da;
  background: #202b24;
  border-color: #fff6da70;
}
.prose table {
  font-size: 14px;
}
.prose th {
  font-size: 11px;
  letter-spacing: 0.3px;
  background: #ecd89780;
}
.prose td {
  border-color: #81734840;
}
.prose tbody tr:nth-child(even) {
  background: #eddfa63d;
}
.prose .table-scroll,
.prose .tbl-scroll,
.prose .tablewrap {
  background: #fff9e2b3;
}
.prose .stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.prose .stat {
  padding: 24px 20px;
  background: linear-gradient(#f9edc5e8, #f9edc5e8), var(--hero-sky);
  background-size: 800px 400px;
  border: 1px solid #a48c4e4d;
  border-radius: 5px;
}
.prose .stat .num {
  font-size: 42px;
  font-weight: 750;
  color: #253924;
  letter-spacing: -1.1px;
}
.prose .stat .lab {
  font-size: 13px;
  line-height: 1.65;
}
.prose .pill {
  font-size: 12px;
  background: #fff5cc99;
}
.sidebar-links {
  position: relative;
  isolation: isolate;
}
.sidebar-links a {
  position: relative;
  z-index: 1;
  font-size: 13px;
  line-height: 1.65;
  color: #283224;
  transition:
    color 300ms ease,
    background-color 300ms ease;
}
.sidebar-links a small {
  font-size: 10px;
}
.sidebar-links a[aria-current="location"] {
  background: transparent;
  border-left-color: transparent;
}
.toc-indicator {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--toc-height, 0px);
  transform: translateY(var(--toc-y, 0px));
  border-left: 2px solid #796328;
  background: #fff4c4b3;
  border-radius: 0 4px 4px 0;
  pointer-events: none;
  transition:
    transform 650ms var(--reading-ease),
    height 650ms var(--reading-ease);
  z-index: 0;
}
.sidebar-help,
.sidebar-help a {
  font-size: 12px;
}
.reading-tools {
  font-size: 10px;
  letter-spacing: 0.3px;
  flex-wrap: wrap;
}
.reading-tools button,
.reading-tools a {
  font-size: 11px;
}
.prose summary {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  padding: 20px 22px;
  transition:
    background-color 350ms ease,
    box-shadow 350ms ease;
}
.prose summary:after,
.prose details[open] > summary:after,
.figure-expand:after {
  content: none !important;
  display: none !important;
}
.prose details {
  background: #fff4cc8c;
  border-color: #8b774966;
}
.prose details[open] > summary,
.prose summary:hover {
  background: #ead28a66;
  box-shadow: inset 3px 0 #8c7437;
}
.prose details .code-container {
  padding-top: 43px;
}
.figure-expand {
  isolation: isolate;
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(#fff5d9f2, #fff5d9f2), var(--hero-sky);
  background-size: 800px 400px;
  border: 1px solid #9f8a5140;
  border-radius: 7px;
  transition:
    box-shadow 400ms ease,
    border-color 400ms ease;
}
.figure-expand:hover,
.figure-expand:focus-visible {
  border-color: #71623399;
  box-shadow: 0 8px 28px #4b3d1714;
}
.prose .fig .figure-expand img {
  display: block;
  width: 100%;
  max-width: none;
  border-radius: 0;
  background: transparent;
}
.figure-expand[data-kind="pipeline"] img {
  opacity: 0;
}
.pipeline-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: sepia(0.38) saturate(0.68);
}
.pipeline-base {
  position: absolute;
  inset: 0;
  background: url("/library/art-019059c9af34.png") center/100% 100% no-repeat;
}
.pipeline-icon {
  position: absolute;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform-origin: center;
  animation: pipeline-breathe 5.8s ease-in-out infinite;
  animation-play-state: paused;
}
.pipeline-icon:nth-child(2) {
  left: 6.960227%;
  top: 21.223958%;
  width: 6.818182%;
  height: 12.760417%;
  background-image: url("/library/art-ecd71314d6ae.png");
}
.pipeline-icon:nth-child(3) {
  left: 22.869318%;
  top: 20.833333%;
  width: 14.275568%;
  height: 17.1875%;
  background-image: url("/library/art-2e14a1278708.png");
  animation-delay: -1.1s;
}
.pipeline-icon:nth-child(4) {
  left: 41.974432%;
  top: 21.744792%;
  width: 15.980114%;
  height: 12.109375%;
  background-image: url("/library/art-bdbaa549e3b5.png");
  animation-delay: -2.2s;
}
.pipeline-icon:nth-child(5) {
  left: 63.28125%;
  top: 21.614583%;
  width: 13.423295%;
  height: 12.369792%;
  background-image: url("/library/art-48f0589d3acc.png");
  animation-delay: -3.3s;
}
.pipeline-icon:nth-child(6) {
  left: 85.653409%;
  top: 21.484375%;
  width: 9.019886%;
  height: 13.671875%;
  background-image: url("/library/art-5430baec0e5c.png");
  animation-delay: -4.4s;
}
@keyframes pipeline-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-1.5px) rotate(0.6deg);
  }
}
.chart-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  background: linear-gradient(
    105deg,
    transparent 28%,
    #fff5c563 47%,
    transparent 64%
  );
  background-size: 250% 100%;
  animation: chart-light 7s ease-in-out infinite;
  animation-play-state: paused;
}
[data-kind="headline"] .chart-light {
  mask-image: url("/library/art-279fa658b149.png");
}
[data-kind="outcome"] .chart-light {
  mask-image: url("/library/art-80e6ca0c99ef.png");
}
[data-kind="quality"] .chart-light {
  mask-image: url("/library/art-4979d0fc1c60.png");
}
@keyframes chart-light {
  0%,
  18% {
    background-position: 140% 0;
  }
  75%,
  100% {
    background-position: -50% 0;
  }
}
.motion-visible .pipeline-icon,
.motion-visible .chart-light {
  animation-play-state: running;
}
.metric-value {
  display: inline-block;
  position: relative;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.metric-value.metric-revealed {
  animation: metric-arrive 950ms var(--reading-ease) both;
}
@keyframes metric-arrive {
  0% {
    transform: translateY(5px);
    text-shadow: 0 0 16px #cfad5477;
  }
  100% {
    transform: translateY(0);
    text-shadow: 0 0 0 transparent;
  }
}
#figure-dialog {
  background: linear-gradient(#fff8e5f2, #fff8e5f2), var(--hero-sky);
  background-size: 800px 400px;
}
#figure-dialog img {
  background: transparent;
}
#figure-dialog[data-kind="pipeline"] img {
  mix-blend-mode: multiply;
  filter: sepia(0.38) saturate(0.68);
}
#figure-dialog p {
  font-size: 13px;
}
dialog[open] {
  animation: reading-dialog-in 300ms var(--reading-ease);
}
dialog::backdrop {
  background: #263025b8;
}
@keyframes reading-dialog-in {
  from {
    opacity: 0.65;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.read-button {
  transition-duration: 350ms;
}
.toast {
  transition:
    opacity 350ms ease,
    transform 350ms var(--reading-ease);
}
.library-motion-paused .pipeline-icon,
.library-motion-paused .chart-light,
.library-motion-paused .metric-value {
  animation-play-state: paused;
}
.library-motion-paused .toc-indicator {
  transition: none;
}
@media (max-width: 1050px) {
  .reader-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 25px;
  }
  .reader-content {
    padding-inline: 24px;
  }
}
@media (max-width: 760px) {
  .reader-layout {
    display: block;
    padding-inline: 5%;
  }
  .reader-content {
    margin-top: 14px;
    padding: 24px 18px 28px;
  }
  .prose,
  .prose header .lede {
    font-size: 15px;
  }
  .prose h1 {
    font-size: 33px;
  }
  .prose h2 {
    font-size: 25px;
  }
  .prose h3 {
    font-size: 19px;
  }
  .intro-description,
  .research-intro .intro-description,
  .publication-copy > p {
    font-size: 14px;
  }
  .prose table {
    font-size: 13px;
  }
  .prose summary {
    font-size: 13px;
    padding: 17px 16px;
  }
  .prose .stat {
    padding: 18px 12px;
  }
  .prose .stat .num {
    font-size: 31px;
  }
  .prose .stat .lab {
    font-size: 12px;
  }
  .prose .stats {
    gap: 10px;
  }
  .sidebar-links a {
    font-size: 13px;
  }
  .world-cloud-far {
    opacity: 0.065;
  }
  .world-cloud-near {
    opacity: 0.16;
  }
  .prose .callout,
  .prose .abstract {
    padding: 20px 18px;
  }
  .reading-tools > div {
    gap: 5px;
  }
  .reading-tools button,
  .reading-tools a {
    font-size: 10px;
    padding: 7px;
  }
  .site-header .wordmark {
    font-size: 23px;
    letter-spacing: -1.4px;
  }
  .primary-nav {
    gap: 15px;
  }
  .primary-nav a {
    font-size: 12px;
  }
  .header-actions {
    gap: 5px;
  }
  .site-header {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pipeline-icon,
  .chart-light,
  .metric-value.metric-revealed,
  dialog[open] {
    animation: none !important;
  }
  .toc-indicator,
  .figure-expand,
  .toast {
    transition: none !important;
  }
}
@media print {
  .reader-content,
  .page-width {
    background: white !important;
    border: 0;
    margin: 0;
    padding: 0;
  }
  .pipeline-art,
  .chart-light {
    display: none !important;
  }
  .figure-expand[data-kind="pipeline"] img {
    opacity: 1;
  }
  .figure-expand {
    border: 0;
    background: white;
  }
  .pipeline-icon,
  .metric-value.metric-revealed {
    animation: none !important;
    transform: none !important;
  }
  .toc-indicator {
    display: none;
  }
}
.reading-motion-suspended .pipeline-icon,
.reading-motion-suspended .chart-light,
.reading-motion-suspended .metric-value {
  animation-play-state: paused;
}
/* Full-width research plots keep their source labels readable. */
.prose .grid2 {
  grid-template-columns: 1fr;
}
.figure-viewport {
  max-height: 77svh;
  overflow: auto;
  overscroll-behavior: contain;
}
@media (max-width: 760px) {
  #figure-dialog .figure-viewport img {
    min-width: 860px;
    max-width: none;
    max-height: none;
    height: auto;
  }
  #figure-dialog {
    padding: 55px 14px 18px;
  }
  .figure-viewport {
    max-height: 65svh;
  }
}
.publication-meta span:last-child,
.doc-index a span:last-child,
.reader-next span {
  color: #414b32;
}
.search-heading h2 {
  font-weight: 750;
}
.index-publication .eyebrow,
.reader-next span {
  font-size: 11px;
}
.reader-topbar > span,
.search-foot {
  font-size: 10px;
}
.primary-nav a:hover {
  color: #354a38;
}

/* v45: two primary destinations and aligned benchmark statistics. */
.site-header .primary-nav {
  margin-left: 0;
}
.prose .stats {
  grid-auto-rows: 1fr;
}
.prose .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 12px;
  padding: 25px 20px;
  min-height: 172px;
}
.prose .stat .num {
  width: 100%;
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prose .stat .lab {
  margin-top: 0;
  max-width: 38ch;
}
@media (max-width: 760px) {
  .prose .stat {
    padding: 20px 12px;
    gap: 10px;
    min-height: 180px;
  }
  .prose .stat .num {
    min-height: 38px;
  }
  .site-header .primary-nav {
    margin-left: auto;
  }
}

/* The companion now focuses entirely on documentation and research. */
.quiet-intro {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 240px;
  padding-block: 48px;
}
.quiet-intro .intro-description {
  max-width: 720px;
}
.pipeline-icon {
  animation-duration: 4s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
.pipeline-icon:nth-child(3) {
  animation-delay: 0.2s;
}
.pipeline-icon:nth-child(4) {
  animation-delay: 0.4s;
}
.pipeline-icon:nth-child(5) {
  animation-delay: 0.6s;
}
.pipeline-icon:nth-child(6) {
  animation-delay: 0.8s;
}
.chart-light {
  animation-duration: 3.5s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
@media (max-width: 760px) {
  .quiet-intro {
    min-height: 0;
    padding-block: 32px;
  }
  .site-header {
    gap: 18px;
  }
  .primary-nav {
    gap: 23px;
  }
  .header-actions {
    margin-left: 8px;
  }
}

/* v49: white reading canvas with the original yellow sky confined to the opening.
   Transparent surfaces retain every existing content dimension and type style. */
:root {
  --paper: #fff;
  background: #fff;
}
body {
  position: relative;
  background: #fff;
}
.library-world {
  position: absolute;
  inset: 76px 0 auto;
  height: 410px;
  background: linear-gradient(
    180deg,
    var(--hero-yellow) 0%,
    #efcd66 49%,
    #f7ebc4 82%,
    #fff 100%
  );
}
.world-paper {
  opacity: 0.14;
  mask-image: linear-gradient(#000, transparent 88%);
}
.world-paper:after {
  background: none;
}
.world-cloud-far {
  height: 180px;
  bottom: 70px;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 30%, #0008 75%, transparent);
}
.world-cloud-near {
  height: 235px;
  bottom: -8px;
  opacity: 0.28;
  mask-image: linear-gradient(180deg, #000 25%, #0008 66%, transparent);
}
.site-header {
  background: var(--hero-yellow);
}
.header-cloud {
  opacity: 0.07;
}
.page-width,
.reader-content {
  background: transparent;
}
.reader-content {
  border-color: transparent;
}
@media (max-width: 760px) {
  .library-world {
    top: 66px;
  }
  .world-cloud-far {
    height: 155px;
    bottom: 85px;
    opacity: 0.13;
  }
  .world-cloud-near {
    height: 210px;
    bottom: 5px;
    opacity: 0.24;
  }
}
