:root {
  color-scheme: light;
  --ink: #29251f;
  --muted: #615a50;
  --paper: #f5f0e5;
  --cream: #fffdf8;
  --paprika: #a43f26;
  --paprika-dark: #80301d;
  --sage: #dce2d3;
  --sage-ink: #354438;
  --maple: #e8c396;
  --line: #d2c9b9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; background: #ded4c3; }
svg { flex-shrink: 0; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #256aa1; outline-offset: 5px; }
.site-header a:focus-visible, .site-header button:focus-visible, .site-footer a:focus-visible { outline-color: #ffcf8e; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.04em; }
h1 { font-size: clamp(2.7rem, 4.15vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); line-height: 1.12; }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
p { text-wrap: pretty; }
.shell { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 72px; }
.eyebrow { margin-bottom: 15px; color: var(--paprika-dark); font-size: .9rem; font-weight: 700; line-height: 1.4; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 20px; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--ink); color: var(--cream); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.65rem; line-height: 1; letter-spacing: -.045em; font-weight: 750; text-decoration: none; }
.rack-mark { color: var(--maple); }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 44px; font-size: 1rem; font-weight: 600; text-decoration: none; }
.primary-nav a:hover { text-decoration: underline; }
.primary-nav .nav-start { padding: 9px 18px; background: var(--maple); color: var(--ink); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid #9f9689; background: transparent; color: var(--cream); cursor: pointer; }
.hero { padding-block: 38px 46px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; gap: 40px; }
.hero-copy { align-self: center; padding-block: 17px; }
.hero-intro { max-width: 50ch; margin-top: 22px; font-size: 1.12rem; line-height: 1.6; color: #514a40; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 13px 19px; border: 2px solid transparent; border-radius: 3px; font-size: 1rem; line-height: 1.4; font-weight: 700; text-decoration: none; transition: background-color .16s ease, transform .16s ease; }
.button-primary { background: var(--paprika); color: #fff; }
.button-primary:hover { background: var(--paprika-dark); }
.button-outline { color: var(--paprika-dark); border-color: var(--paprika); background: transparent; }
.button-outline:hover { background: #ecdecc; }
.button-dark { background: var(--ink); color: var(--cream); }
.button-dark:hover { background: #494136; }
.hero-proof { display: flex; flex-direction: column; gap: 3px; margin-top: 28px; padding-left: 17px; border-left: 4px solid var(--paprika); font-size: .95rem; line-height: 1.5; color: var(--muted); max-width: 45ch; }
.hero-proof strong { color: var(--ink); font-size: 1.08rem; }
.hero-figure { display: flex; flex-direction: column; min-width: 0; background: var(--ink); color: var(--cream); }
.hero-figure > img { width: 100%; height: 100%; min-height: 470px; flex: 1; object-fit: cover; object-position: center; }
.hero-figure figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 16px; padding: 10px 22px; font-size: .95rem; }
.hero-figure figcaption > span { font-family: var(--serif); font-size: 1.15rem; }
.hero-figure figcaption a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--maple); }
.discovery { background: var(--cream); padding-top: 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.section-heading > p { color: var(--muted); font-size: 1rem; }
.section-heading h2 { max-width: 25ch; }
.discovery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.discovery-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-bottom: 5px solid var(--paprika); background: var(--paper); text-decoration: none; box-shadow: 0 5px 14px #29251f0a; transition: transform .16s ease, box-shadow .16s ease; }
.discovery-card:nth-child(even) { border-bottom-color: var(--sage-ink); }
.discovery-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px #29251f1c; }
.card-image { aspect-ratio: 16 / 10; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 21px 20px 15px; }
.card-body h3 { font-size: 1.45rem; }
.card-body > p { margin-top: 9px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.card-detail { display: block; margin-top: 16px; margin-bottom: 16px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.card-action { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; margin-top: auto; color: var(--paprika-dark); font-size: .95rem; line-height: 1.4; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.card-action > span { font-size: 1.3rem; text-decoration: none; }
.sam-section { background: var(--sage); padding-block: 48px; }
.sam-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 170px; align-items: center; gap: 48px; }
.sam-photo { max-width: 260px; border: 8px solid var(--cream); box-shadow: 8px 8px 0 #b7c1aa; transform: rotate(-2deg); }
.sam-photo img { width: 100%; height: auto; }
.sam-copy .eyebrow { color: var(--sage-ink); }
.sam-copy > p:not(.eyebrow) { max-width: 57ch; margin-top: 18px; }
.sam-copy .button { margin-top: 22px; }
.sam-facts { display: flex; flex-direction: column; gap: 28px; color: var(--sage-ink); }
.sam-facts p { display: flex; flex-direction: column; }
.sam-facts strong { font: 700 3.8rem/1 var(--serif); letter-spacing: -.06em; }
.sam-facts p span { margin-top: 8px; font-size: 1rem; }
.fact-place { font-size: .95rem; font-weight: 600; }
.reading-section { background: var(--paper); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; color: var(--paprika-dark); font-size: 1rem; font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }
.reading-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 36px; align-items: start; }
.latest-card { background: var(--cream); border: 1px solid var(--line); }
.latest-card > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.latest-copy { padding: 28px; }
.latest-copy h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.2; }
.latest-copy > p:not(.eyebrow) { margin-block: 17px 14px; color: var(--muted); font-size: 1rem; }
.question-panel { min-width: 0; }
.question-heading { margin-bottom: 16px; }
.question-heading h3 { font-size: 1.5rem; }
.question-heading p { margin-top: 6px; font-size: .95rem; color: var(--muted); }
.question-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.question-list a { display: grid; grid-template-columns: 78px minmax(0, 1fr) 20px; align-items: center; gap: 15px; min-height: 94px; padding: 10px 14px 10px 10px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); font-size: 1rem; line-height: 1.4; font-weight: 650; text-decoration: none; transition: background-color .16s ease; }
.question-list a:hover { background: #eae2d4; }
.question-list a:hover > span:not(.question-arrow) { text-decoration: underline; text-underline-offset: 3px; }
.question-list img { width: 78px; height: 70px; object-fit: cover; }
.question-arrow { color: var(--paprika-dark); font-size: 1.35rem; }
.archive-note { margin-top: 15px; color: var(--muted); font-size: .875rem; }
.equipment-section { background: #e9dfce; padding-block: 42px; border-left: 8px solid #88633c; }
.equipment-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 70px; align-items: start; }
.equipment-grid h2 { max-width: 21ch; font-size: clamp(1.9rem, 2.5vw, 2.3rem); }
.equipment-copy > p:first-child { max-width: 58ch; }
.equipment-copy .text-link { margin-top: 13px; }
.disclosure { margin-top: 13px; font-size: .875rem; color: #595044; }
.events-section { background: var(--cream); }
.events-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: center; }
.calendar-card { padding: 34px; background: var(--sage-ink); color: var(--cream); border-top: 12px solid #a0ae93; }
.calendar-title { font-size: 1rem; color: #e2d8c5; }
.calendar-rule { height: 11px; margin-top: 18px; margin-bottom: 30px; background: repeating-linear-gradient(to right, #a9b5a2 0, #a9b5a2 2px, transparent 2px, transparent 18px); opacity: .7; }
.calendar-card strong { display: block; font: 700 clamp(2.4rem, 3.8vw, 3.6rem)/1.08 var(--serif); letter-spacing: -.04em; }
.calendar-bottom { display: block; margin-top: 36px; font-size: 1rem; color: #e2d8c5; }
.events-copy h2 { max-width: 21ch; }
.events-copy > p:not(.eyebrow) { margin-top: 18px; max-width: 55ch; }
.events-copy .events-note { font-size: .95rem; color: var(--muted); }
.events-copy .button { margin-top: 22px; }
.site-footer { background: var(--ink); color: var(--cream); padding-block: 44px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand p { max-width: 32ch; margin-top: 12px; color: #e1d8ca; font-size: 1rem; }
.footer-brand small { display: block; margin-top: 18px; color: #c8bfae; font-size: .875rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 4px 36px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #f5f0e5; font-size: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid #62584b; color: #c8bfae; font-size: .875rem; }
@media (min-width: 1500px) {
  .hero-figure > img { min-height: 510px; }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }
  .primary-nav { gap: 16px; }
  .hero-grid { gap: 28px; }
  .hero-figure > img { min-height: 440px; }
  .discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-image { aspect-ratio: 16 / 8; }
  .sam-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 34px; }
  .sam-facts { grid-column: 2; flex-direction: row; align-items: center; gap: 30px; }
  .sam-facts strong { font-size: 2.7rem; }
  .sam-facts .fact-place { display: none; }
  .reading-grid { gap: 24px; }
  .question-list a { grid-template-columns: 60px minmax(0, 1fr) 18px; gap: 10px; }
  .question-list img { width: 60px; height: 64px; }
  .equipment-grid, .events-grid { gap: 36px; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 14px; min-height: 76px; }
  .brand { font-size: 1.45rem; }
  .rack-mark { width: 32px; height: 32px; }
  .primary-nav { flex-basis: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 14px; }
  .primary-nav a { justify-content: space-between; min-height: 48px; padding: 8px 12px; }
  .js .menu-toggle { display: inline-flex; }
  .hero { padding-block: 30px 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-copy { padding: 0; }
  h1 { max-width: 17ch; font-size: clamp(2.6rem, 7vw, 3.8rem); }
  .hero-intro { max-width: 58ch; }
  .hero-figure > img { min-height: 0; height: auto; aspect-ratio: 16 / 10; flex: none; }
  .section-space { padding-block: 46px; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .section-heading > p br { display: none; }
  .sam-grid { gap: 28px; }
  .sam-copy h2 { font-size: 2rem; }
  .reading-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .latest-card { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); }
  .latest-card > img { height: 100%; object-fit: cover; }
  .latest-copy { padding: 22px; }
  .question-list a { grid-template-columns: 78px minmax(0, 1fr) 20px; gap: 15px; }
  .question-list img { width: 78px; height: 70px; }
  .equipment-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .equipment-grid h2 { max-width: 26ch; }
  .events-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 26px; }
  .calendar-card { padding: 24px; }
  .calendar-card strong { font-size: 2.35rem; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-nav { max-width: 470px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 540px) {
  body { font-size: 17px; }
  .shell { width: calc(100% - 36px); }
  h1 { font-size: clamp(2.3rem, 10.65vw, 3.3rem); max-width: 16ch; }
  h2 { font-size: 2.05rem; }
  .hero-intro { font-size: 1.0625rem; line-height: 1.55; margin-top: 18px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-actions { flex-direction: column; margin-top: 22px; gap: 10px; }
  .button { padding-inline: 15px; min-height: 52px; }
  .hero-proof { margin-top: 22px; font-size: .9rem; }
  .hero-grid { gap: 24px; }
  .hero-figure > img { aspect-ratio: 4 / 3; }
  .hero-figure figcaption { padding: 12px 16px 5px; }
  .hero-figure figcaption > span { width: 100%; }
  .discovery-grid { gap: 16px; }
  .discovery-card { grid-column: 1 / -1; flex-direction: row; border-bottom-width: 4px; }
  .card-image { flex: 0 0 34%; aspect-ratio: auto; }
  .card-image img { min-height: 100%; height: 100%; object-fit: cover; }
  .card-body { padding: 17px 14px 10px; min-width: 0; }
  .card-body h3 { font-size: 1.3rem; }
  .card-body > p { font-size: .975rem; }
  .card-detail { margin-block: 12px 8px; }
  .card-action { font-size: .9rem; gap: 6px; }
  .sam-section { padding-block: 38px; }
  .sam-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sam-photo { width: 188px; margin-left: 5px; }
  .sam-copy h2 { font-size: 2.2rem; }
  .sam-copy > p:not(.eyebrow) { margin-top: 16px; }
  .sam-facts { grid-column: auto; gap: 36px; }
  .sam-facts p span { font-size: .9rem; }
  .latest-card { display: block; }
  .latest-card > img { height: auto; aspect-ratio: 16 / 9; }
  .latest-copy { padding: 23px 20px; }
  .latest-copy h3 { font-size: 1.65rem; }
  .question-list a { grid-template-columns: 62px minmax(0, 1fr) 18px; gap: 11px; padding: 12px 10px; }
  .question-list img { width: 62px; height: 70px; }
  .question-list a { font-size: .975rem; }
  .equipment-section { border-left-width: 5px; padding-block: 34px; }
  .events-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .calendar-card { padding: 24px; }
  .calendar-card strong { font-size: 2.7rem; }
  .calendar-rule { margin-block: 13px 22px; }
  .calendar-bottom { margin-top: 24px; }
  .footer-nav { gap: 4px 20px; }
  .footer-nav a { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .discovery-card:hover { transform: none; }
}

/* Production inner templates derived from the approved V1 layouts. */
body.jerky-journal { min-width: 320px; }
body.admin-bar .site-header { top: 32px; }
.screen-reader-text { position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.footer-name { display:inline-block; font-size:1.65rem; line-height:1; letter-spacing:-.045em; font-weight:750; text-decoration:none; }
.page-intro { padding-block:64px 38px; border-bottom:1px solid var(--line); }
.page-intro h1 { max-width:19ch; }
.page-intro > p:last-child, .archive-description { max-width:68ch; margin-top:18px; color:var(--muted); }
.archive-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:56px; padding-block:46px 80px; align-items:start; }
.archive-sidebar { position:sticky; top:22px; min-width:0; padding:26px; background:#e9dfce; border-top:7px solid var(--paprika); }
.archive-search label,.category-filter label { display:block; margin-bottom:7px; font-size:.9rem; font-weight:750; }
.archive-search > div { display:flex; }
.archive-search input { min-width:0; width:100%; min-height:46px; padding:9px 11px; border:1px solid #867b6c; background:var(--cream); color:var(--ink); font:inherit; }
.archive-search button,.category-filter button { min-height:46px; padding:9px 13px; border:0; background:var(--ink); color:var(--cream); font-weight:700; cursor:pointer; }
.category-filter { margin-top:24px; }
.category-filter select { width:100%; min-height:46px; padding:8px 10px; border:1px solid #867b6c; background:var(--cream); color:var(--ink); font:inherit; }
.category-filter button { width:100%; margin-top:8px; }
.category-controls { display:grid; margin-top:25px; border-top:1px solid #b8ab99; }
.category-controls a { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #cfc2b0; font-size:.93rem; font-weight:650; text-decoration:none; }
.category-controls a:hover,.category-controls a[aria-current] { color:var(--paprika-dark); text-decoration:underline; }
.reading-key { margin-top:25px; padding-top:20px; border-top:2px solid var(--sage-ink); }
.reading-key strong { font-family:var(--serif); font-size:1.1rem; }
.reading-key p { margin-top:8px; color:#514a40; font-size:.88rem; }
.archive-main { min-width:0; }
.results-heading { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.results-heading p { font-weight:700; }
.results-heading span { color:var(--muted); font-size:.78rem; letter-spacing:.08em; }
.archive-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.guide-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--line); border-bottom:5px solid var(--paprika); background:var(--cream); box-shadow:0 5px 14px #29251f0a; }
.guide-card:nth-child(even) { border-bottom-color:var(--sage-ink); }
.guide-card .card-image { display:block; aspect-ratio:16/9; overflow:hidden; }
.guide-card .card-image img { width:100%; height:100%; object-fit:cover; }
.guide-card .card-body { padding:23px; }
.guide-card .card-meta { margin-bottom:10px; color:var(--paprika-dark); font-size:.78rem; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.guide-card .card-meta a { color:inherit; }
.guide-card h2,.guide-card h3 { font-family:var(--serif); font-size:1.52rem; line-height:1.2; }
.guide-card h2 a,.guide-card h3 a { text-decoration:none; }
.guide-card h2 a:hover,.guide-card h3 a:hover { text-decoration:underline; }
.guide-card .card-body > p:not(.card-meta) { margin-top:13px; color:var(--muted); font-size:.96rem; }
.pagination { margin-top:34px; }
.pagination ul { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; }
.pagination a,.pagination span { display:inline-flex; min-width:44px; min-height:44px; align-items:center; justify-content:center; padding:8px 12px; border:1px solid #9e9383; background:var(--cream); text-decoration:none; }
.pagination .current { background:var(--ink); color:var(--cream); }
.empty-state { padding:48px; background:var(--cream); border:1px solid var(--line); }
.empty-state p { margin:13px 0 22px; }

.reading-meter { position:fixed; z-index:30; top:0; left:0; right:0; height:5px; background:transparent; }
.admin-bar .reading-meter { top:32px; }
#progress-fill { width:0; height:100%; background:var(--paprika); }
.article-intro { padding-block:64px 38px; text-align:left; }
.article-intro > .text-link { margin-bottom:20px; }
.article-intro .eyebrow { margin-top:8px; }
.article-intro h1 { max-width:980px; font-size:clamp(2.55rem,4.5vw,4.5rem); }
.article-meta { display:flex; flex-wrap:wrap; gap:10px 24px; margin-top:24px; color:var(--muted); font-size:.95rem; }
.article-meta a { color:var(--paprika-dark); font-weight:700; }
.article-hero { margin-bottom:34px; }
.article-hero img { width:100%; max-height:650px; object-fit:cover; }
.article-hero figcaption { margin-top:9px; color:var(--muted); font-size:.85rem; }
.evidence-key { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin-bottom:38px; background:#bcb09e; border:1px solid #bcb09e; }
.evidence-key > div { display:flex; gap:13px; padding:18px; background:#eee7da; }
.evidence-key p { font-size:.87rem; line-height:1.45; }
.evidence-symbol { display:inline-flex; flex:0 0 34px; width:34px; height:34px; align-items:center; justify-content:center; border-radius:50%; background:var(--sage-ink); color:white; font-weight:800; }
.evidence-symbol.variable { background:#805b35; }.evidence-symbol.batch { background:var(--paprika); }
.article-layout { display:grid; grid-template-columns:260px minmax(0,760px); justify-content:center; gap:62px; align-items:start; padding-bottom:70px; }
.article-layout.without-toc { grid-template-columns:minmax(0,760px); }
.toc { position:sticky; top:24px; max-height:calc(100vh - 48px); overflow:auto; padding:22px; border-top:7px solid var(--sage-ink); background:#e8eadf; }
.toc ol { list-style:none; padding:0; margin:0; }
.toc li { border-top:1px solid #bdc5b5; }
.toc a { display:grid; grid-template-columns:28px minmax(0,1fr); gap:7px; padding:10px 0; color:var(--ink); font-size:.88rem; line-height:1.35; text-decoration:none; }
.toc a:hover,.toc a[aria-current] { color:var(--paprika-dark); text-decoration:underline; }
.toc a span { color:var(--muted); font-size:.75rem; }
.progress-text { margin-top:15px; color:var(--muted); font-size:.78rem; font-weight:700; }
.article-body { min-width:0; }
.entry-content { font-size:1.08rem; line-height:1.76; }
.entry-content > * { max-width:100%; }
.entry-content > * + * { margin-top:1.25em; }
.entry-content h2 { margin-top:2.1em; font-family:var(--serif); font-size:clamp(2rem,3.2vw,2.85rem); line-height:1.12; }
.entry-content h3 { margin-top:1.8em; font-family:var(--serif); font-size:1.55rem; }
.entry-content h4 { margin-top:1.6em; font-size:1.15rem; }
.entry-content a { color:#84331f; font-weight:600; overflow-wrap:anywhere; }
.entry-content ul,.entry-content ol { padding-left:1.35em; }
.entry-content li + li { margin-top:.55em; }
.entry-content blockquote { margin:1.7em 0; padding:20px 24px; border-left:6px solid var(--sage-ink); background:#e7eadf; }
.entry-content figure { margin:1.8em 0; }
.entry-content img { border-radius:2px; }
.entry-content figcaption { margin-top:8px; color:var(--muted); font-size:.85rem; }
.entry-content .discard-heading { padding:22px 24px; margin-bottom:-1.25em; background:#5f1f19; color:#fff; }
.entry-content .discard-heading::before { content:'DISCARD / STOP POINT'; display:block; margin-bottom:8px; color:#ffd7c8; font:750 .75rem/1.4 var(--sans); letter-spacing:.08em; }
.entry-content .guidance-heading::before { content:'SAFETY-RELATED · CHECK THE CITED SOURCE'; display:block; margin-bottom:8px; color:var(--paprika-dark); font:750 .75rem/1.4 var(--sans); letter-spacing:.08em; }
.entry-content .variable-heading::before { content:'PROCESS VARIABLE'; display:block; margin-bottom:8px; color:#6f4a25; font:750 .75rem/1.4 var(--sans); letter-spacing:.08em; }
.entry-content .batch-heading::before { content:'SAM’S BATCH NOTE'; display:block; margin-bottom:8px; color:var(--sage-ink); font:750 .75rem/1.4 var(--sans); letter-spacing:.08em; }
.table-scroll { max-width:100%; overflow-x:auto; margin:1.8em 0; border:1px solid var(--line); background:var(--cream); }
.table-scroll:focus-visible { outline:3px solid #256aa1; outline-offset:3px; }
.entry-content table { width:100%; min-width:620px; border-collapse:collapse; font-size:.93rem; line-height:1.45; }
.entry-content th,.entry-content td { padding:13px 14px; border:1px solid var(--line); text-align:left; vertical-align:top; }
.entry-content th { background:#e8dfd0; }
.author-strip { display:grid; grid-template-columns:170px minmax(0,1fr); gap:32px; align-items:center; width:min(980px,calc(100% - 80px)); margin:0 auto 70px; padding:30px; background:var(--sage); }
.author-strip img { width:170px; height:210px; object-fit:cover; object-position:center top; border:7px solid var(--cream); }
.author-strip h2 { font-size:2rem; }
.author-strip p:not(.eyebrow) { margin-top:8px; }
.related { padding-bottom:75px; }
.related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }

.standard-page { max-width:860px; padding-bottom:75px; }
.standard-page .page-intro { width:100%; }
.about-hero { display:grid; grid-template-columns:minmax(0,1fr) 430px; gap:70px; align-items:center; padding-block:64px; }
.about-copy h1 { font-size:clamp(3rem,5vw,5rem); }
.about-copy h1 em { color:var(--paprika-dark); }
.about-lead { margin-top:24px; font-family:var(--serif); font-size:1.4rem; line-height:1.45; }
.about-copy > p:not(.eyebrow):not(.about-lead) { margin-top:18px; max-width:58ch; }
.about-copy .button { margin-top:25px; }
.about-portrait { border:9px solid var(--cream); box-shadow:12px 12px 0 #b7c1aa; background:var(--sage); }
.about-portrait img { width:100%; max-height:560px; object-fit:cover; object-position:center top; }
.about-portrait figcaption { display:flex; justify-content:space-between; gap:12px; padding:12px 14px; color:var(--muted); font-size:.8rem; font-weight:700; }
.experience-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:var(--ink); color:var(--cream); }
.experience-strip div { padding:30px; border-right:1px solid #655c50; }
.experience-strip div:last-child { border:0; }
.experience-strip dt { color:#d8cdbd; font-size:.84rem; }
.experience-strip dd { margin:8px 0 0; font:700 3rem/1 var(--serif); color:var(--maple); }
.experience-strip .word-stat { font-size:2rem; }
.methodology { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:70px; padding-block:72px; }
.methodology > div > p:last-child { margin-top:18px; }
.record-list { list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.record-list li { display:grid; grid-template-columns:52px minmax(0,1fr); gap:16px; padding:20px 0; border-bottom:1px solid var(--line); }
.record-list li > span { color:var(--paprika-dark); font-weight:800; }
.record-list p { margin-top:5px; color:var(--muted); }
.about-boundary { margin-bottom:72px; padding:38px; border-left:8px solid var(--paprika); background:#eadfce; }
.about-boundary .label { font-size:.78rem; font-weight:800; letter-spacing:.08em; }
.about-boundary h2 { margin-top:10px; }
.about-boundary p { margin-top:14px; max-width:65ch; }

@media (max-width:900px) {
  .archive-layout,.article-layout,.methodology { grid-template-columns:minmax(0,1fr); gap:34px; }
  .archive-sidebar,.toc { position:static; max-height:none; }
  .toc ol { columns:2; column-gap:28px; }
  .article-layout { justify-content:stretch; }
  .about-hero { grid-template-columns:minmax(0,1fr) 330px; gap:35px; }
}
@media (max-width:800px) {
  body.admin-bar .site-header { top:46px; }
  .js .primary-nav { display:none; }
  .js .primary-nav.is-open { display:flex; }
  .page-intro { padding-block:44px 28px; }
  .archive-layout { padding-block:30px 54px; }
  .evidence-key { grid-template-columns:minmax(0,1fr); }
  .article-intro { padding-block:44px 28px; }
  .article-layout { padding-bottom:50px; }
  .author-strip { width:calc(100% - 48px); }
  .about-hero { grid-template-columns:minmax(0,1fr); }
  .about-portrait { max-width:410px; }
  .methodology { padding-block:52px; }
}
@media (max-width:540px) {
  .archive-grid,.related-grid { grid-template-columns:minmax(0,1fr); }
  .archive-sidebar { padding:21px; }
  .results-heading { align-items:flex-start; flex-direction:column; gap:5px; }
  .toc ol { columns:1; }
  .article-intro h1 { font-size:2.45rem; }
  .entry-content { font-size:1rem; }
  .entry-content h2 { font-size:2rem; }
  .author-strip { grid-template-columns:100px minmax(0,1fr); width:calc(100% - 36px); gap:19px; padding:20px; }
  .author-strip img { width:100px; height:130px; }
  .author-strip h2 { font-size:1.65rem; }
  .experience-strip { grid-template-columns:minmax(0,1fr); }
  .experience-strip div { border-right:0; border-bottom:1px solid #655c50; padding:22px; }
  .experience-strip dd { font-size:2.4rem; }
  .about-boundary { padding:26px; }
}
