/* Working-paper treatment. Original Tulku artwork, Lato and ink/gold retained. */
:root { --rule: #c7ccc8; --grey: #526268; }
.site-header, .site-footer { width: min(1280px, 88vw); }
.site-header { padding-block: 23px; gap: 30px; }
.wordmark { font-size: 37px; }
.site-header nav { gap: 26px; }
h1, h2, h3 { letter-spacing: -.025em; text-wrap: pretty; }
.kicker, .paper-meta, .sketch-label, .current-note > span, .work-ledger > div > span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.kicker { margin-bottom: 18px; }
.button { background: transparent; color: var(--ink); font-weight: 400; padding: 11px 16px; gap: 16px; }
.button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button-light { color: var(--paper); border-color: #a1b2b8; }
.button-light:hover { color: var(--ink); background: var(--lightgold); border-color: var(--lightgold); }
.home-hero { min-height: 0; padding: 48px 0 54px; grid-template-columns: 1.12fr .88fr; gap: 7vw; }
.home-hero h1 { font-size: clamp(52px, 5.1vw, 70px); font-weight: 400; line-height: 1.06; letter-spacing: -.035em; margin-bottom: 23px; }
.hero-deck { font-size: 22px; max-width: 540px; }
.hero-purpose { max-width: 540px; }
.brand-head { outline: 1px solid var(--rule); outline-offset: 10px; }
.current-note { border-left: 2px solid var(--gold); padding: 3px 0 3px 17px; font-size: 16px; line-height: 1.6; color: var(--ink); max-width: 650px; margin-block: 22px 0; }
.current-note > span { display: block; color: var(--gold); font-weight: 700; margin-bottom: 7px; }
.page-intro { padding: 49px 0 39px; }
.page-intro h1, .document-head h1 { font-size: clamp(40px, 4.1vw, 58px); line-height: 1.12; max-width: 1050px; margin-bottom: 24px; }
.page-deck, .document-deck { font-size: 21px; max-width: 850px; line-height: 1.6; }
.page-intro .current-note { max-width: 850px; margin-top: 25px; }
h2, .hypothesis-grid h2, .programme-feature h2, .lineage-panel h2, .institution-grid h2,
.value-feature h2, .value-model-panel h2, .value-proof-panel h2, .library-context h2 {
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.18;
}
.mechanism-panel { padding: 52px 0; }
.hypothesis-copy { font-size: 18px; }
.transfer-sketch { list-style: none; padding: 0; margin: 37px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid #789099; border-bottom: 1px solid #789099; }
.transfer-sketch li { padding: 23px 28px 23px 0; margin: 0; min-width: 0; }
.transfer-sketch li + li { padding-left: 28px; border-left: 1px solid #789099; }
.transfer-sketch li:last-child { padding-right: 0; border-left-style: dashed; }
.sketch-label { color: var(--lightgold); display: block; margin-bottom: 15px; }
.transfer-sketch h3 { font-size: 25px; line-height: 1.25; margin-bottom: 16px; }
.transfer-sketch p { color: #d4dfe0; font-size: 16px; line-height: 1.65; }
.sketch-footer { display: flex; justify-content: space-between; align-items: start; gap: 45px; margin-top: 23px; }
.sketch-footer p { max-width: 770px; font-size: 14px; color: #bfcfd2; }
.sketch-footer a { white-space: nowrap; }
.papers-section { padding: 54px 0; }
.paper-row { padding: 29px 0; grid-template-columns: .7fr 1.3fr; }
.paper-row h3 { font-size: 30px; }
.section-heading { margin-bottom: 31px; }
.programme-feature { padding: 55px 0; }
.work-ledger { border-top: 1px solid #789099; }
.work-ledger > div { padding: 19px 0; border-bottom: 1px solid #789099; }
.work-ledger > div > span { color: var(--lightgold); }
.work-ledger > div > p { margin-top: 9px; }
.work-ledger > .proposed { border-bottom-style: dashed; }
.value-feature { padding: 54px 0; }
.participation { padding: 53px 0; }
.programme-overview { padding: 43px 0; }
.method-section { background: var(--warm); border-block: 1px solid var(--rule); padding: 48px 0; }
.method-rows { border-top: 1px solid var(--rule); }
.method-rows article { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; border-bottom: 1px solid var(--rule); padding: 25px 0; }
.method-rows h3 { font-size: 27px; line-height: 1.25; }
.method-rows p { color: #43565d; font-size: 18px; }
.method-rows a { font-size: 16px; }
.measurement-section { padding: 53px 0; }
.measurement-scroll { overflow-x: auto; }
.measurement-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 16px; line-height: 1.6; }
.measurement-table th, .measurement-table td { vertical-align: top; padding: 20px 24px 20px 0; border-bottom: 1px solid var(--rule); }
.measurement-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; border-top: 2px solid var(--ink); }
.measurement-table tbody th { width: 22%; font-weight: 700; }
.measurement-table td { width: 39%; color: #43565d; }
.measurement-table td:last-child { padding-right: 0; }
.measurement-note { font-size: 14px; color: var(--grey); max-width: 850px; margin-top: 23px; }
.comparison-panel { background: var(--ink); color: var(--paper); padding: 52px 0; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.comparison-panel .kicker { color: var(--lightgold); }
.comparison-grid > div > p:not(.kicker) { color: #d4dfe0; }
.comparison-panel .plain-link { border-color: var(--lightgold); }
.lineage-panel { background: var(--warm); color: var(--ink); padding: 48px 0; border-bottom: 1px solid var(--rule); }
.lineage-panel .kicker { color: var(--gold); }
.lineage-deck { font-size: 18px; max-width: 850px; color: #43565d; }
.institution-section { padding: 52px 0; }
.institution-grid { gap: 7vw; }
.value-intro, .commercial-section { padding: 45px 0; }
.value-model-panel, .value-proof-panel { padding: 48px 0; }
.value-model-panel .plain-link { color: var(--paper); border-color: var(--lightgold); }
.value-proof-panel p { color: #d4dfe0; }
.library-entry { padding: 36px 0; grid-template-columns: .7fr 1.3fr; }
.library-entry h2 { font-size: 32px; }
.contributor-note { margin-top: 28px; border-left: 2px solid var(--gold); padding-left: 18px; font-size: 16px; }
.site-footer { padding-block: 32px; }
@media(max-width:900px) {
  .site-header { align-items: start; }
  .site-header nav { gap: 12px 20px; }
  .home-hero { gap: 5vw; }
  .transfer-sketch li { padding-right: 20px; }
  .transfer-sketch li + li { padding-left: 20px; }
}
@media(max-width:760px) {
  .home-hero { padding-top: 36px; }
  .home-hero h1 { font-size: 54px; }
  .brand-head { outline-offset: 5px; }
  .sketch-footer { display: block; }
  .sketch-footer .plain-link { margin-top: 8px; }
  .comparison-grid { display: block; }
  .comparison-grid > div + div { margin-top: 25px; }
  .transfer-sketch h3 { font-size: 22px; }
}
@media(max-width:560px) {
  .site-header { padding: 22px 0 14px; }
  .site-header .wordmark { font-size: 35px; margin-bottom: 12px; }
  .site-header nav { gap: 0 20px; font-size: 14px; }
  .site-header nav a { min-height: 44px; padding-block: 8px; }
  .home-hero { padding: 31px 0 40px; gap: 36px; }
  .home-hero h1 { font-size: clamp(39px, 11.3vw, 58px); line-height: 1.08; }
  .hero-deck { font-size: 21px; }
  .hero-purpose { font-size: 16px; }
  .hero-text .button { font-size: 14px; padding: 11px 13px; }
  .current-note { font-size: 15px; padding-left: 14px; }
  .brand-head { width: calc(100% - 14px); max-width: 350px; }
  .page-intro { padding: 31px 0 30px; }
  .page-intro h1, .document-head h1 { font-size: 37px; }
  .page-deck, .document-deck { font-size: 19px; }
  h2, .hypothesis-grid h2, .programme-feature h2, .lineage-panel h2, .institution-grid h2,
  .value-feature h2, .value-model-panel h2, .value-proof-panel h2, .library-context h2 { font-size: 31px; }
  .mechanism-panel, .programme-feature, .value-feature, .participation, .method-section,
  .measurement-section, .comparison-panel, .lineage-panel, .institution-section,
  .value-model-panel, .value-proof-panel { padding-block: 37px; }
  .transfer-sketch { display: block; margin-top: 27px; }
  .transfer-sketch li, .transfer-sketch li + li { padding: 22px 0; border-left: 0; }
  .transfer-sketch li + li { border-top: 1px solid #789099; }
  .transfer-sketch li:last-child { border-top-style: dashed; }
  .transfer-sketch h3 { font-size: 25px; }
  .sketch-label { margin-bottom: 10px; }
  .papers-section, .programme-overview, .value-intro, .commercial-section { padding-block: 34px; }
  .paper-row h3, .library-entry h2 { font-size: 28px; }
  .work-ledger { margin-bottom: 32px; }
  .method-rows article { display: block; padding: 23px 0; }
  .method-rows h3 { font-size: 26px; margin-bottom: 16px; }
  .method-rows p { font-size: 17px; }
  .measurement-table, .measurement-table thead, .measurement-table tbody, .measurement-table tr,
  .measurement-table th, .measurement-table td { display: block; width: 100%; }
  .measurement-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .measurement-table tr { padding: 22px 0; border-top: 1px solid var(--rule); }
  .measurement-table tr:last-child { border-bottom: 1px solid var(--rule); }
  .measurement-table th, .measurement-table td { border: 0; padding: 0; }
  .measurement-table tbody th { width: 100%; font-size: 21px; margin-bottom: 16px; }
  .measurement-table td { font-size: 16px; padding-bottom: 16px; }
  .measurement-table td:nth-child(2)::before { content: 'READOUT'; }
  .measurement-table td:nth-child(3)::before { content: 'WHAT CHANGES'; }
  .measurement-table td::before { display: block; font: 11px/1.5 ui-monospace, monospace; color: var(--gold); margin-bottom: 6px; letter-spacing: .05em; }
  .measurement-table td:last-child { padding-bottom: 0; }
  .library-entry { display: block; padding-block: 28px; }
  .paper-row { display: block; }
}
@media print { .current-note, .method-section, .comparison-panel, .lineage-panel { background: white; color: black; } }
