.study-page {
  --green: #0d1d16; --deep: #10251c; --panel: #193227; --lime: #d4f879;
  --rule-dark: #395146; --paper: #f2f3e8; --line: #c7d1c0; --ink: #13251b; --sub: #45574c;
  color: var(--paper); background: var(--green); overflow-wrap: break-word;
}
.study-page ::selection { color: var(--green); background: var(--lime); }
.study-page :focus-visible { outline: 3px solid #4f7f25; outline-offset: 3px; }
.study-header :focus-visible, .dossier-index :focus-visible, .study-context :focus-visible, .dossier-quote :focus-visible, .dossier-pager :focus-visible { outline-color: var(--lime); outline-offset: -3px; }
.study-header { border-bottom: 1px solid var(--rule-dark); }
.study-wrap { width: var(--press-rail); margin-inline: auto; }
.study-masthead { min-height: 4.25rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.study-brand, .study-order { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.study-brand { gap: .6rem; font: 700 1.13rem/1.15 var(--display); letter-spacing: -.045em; }
.study-brand img { flex: none; }
.study-order { justify-content: center; padding: .55rem 1rem; background: var(--lime); color: var(--green); border-radius: .32rem; font-weight: 700; font-size: .94rem; }
.study-order:hover { background: #efffc7; }
.dossier { border-inline: 1px solid var(--rule-dark); margin-bottom: clamp(2.4rem, 6vw, 5rem); }
.study-context { min-height: 3.15rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule-dark); padding: .25rem clamp(.85rem, 2vw, 1.65rem); font: 500 .9rem/1.35 var(--sans); color: #b6c5b3; }
.study-context a { display: inline-flex; align-items: center; min-height: 44px; color: #eff3e5; }
.study-context span { padding-left: .85rem; border-left: 1px solid #718679; }
.dossier-grid { display: grid; grid-template-columns: minmax(12rem, .32fr) minmax(0, 1fr); }
.dossier-index { background: var(--deep); border-bottom: 1px solid var(--rule-dark); min-width: 0; }
.dossier-index-inner { position: sticky; top: 0; }
.dossier-topics h2, .dossier-quote figcaption, .dossier-citation { font: 600 .88rem/1.45 var(--press-mono); letter-spacing: .025em; }
.dossier-topics h2 { padding: 1.55rem clamp(.7rem, 2vw, 1.6rem) 1rem; color: #d4decb; }
.dossier-topics a, .dossier-return { display: flex; align-items: center; min-height: 46px; padding: .84rem clamp(.7rem, 2vw, 1.6rem); }
.dossier-topics a { border-top: 1px solid var(--rule-dark); font: 600 .97rem/1.25 var(--sans); text-decoration: none; }
.dossier-topics a:last-child { border-bottom: 1px solid var(--rule-dark); }
.dossier-topics a:hover { background: var(--panel); }
.dossier-topics a[aria-current] { background: var(--lime); color: var(--green); }
.dossier-return { color: #d2dfca; font-size: .89rem; }
.dossier-paper { min-width: 0; background: var(--paper); color: var(--ink); }
.dossier-title, .dossier-findings, .dossier-limits, .dossier-source, .dossier-quote { padding: clamp(1.25rem, 4.6vw, 4.4rem); }
.dossier-title { color: #f5f8ef; border-left: 1px solid var(--rule-dark); background-color: #152c20; background-image: linear-gradient(90deg,#819e7820 1px,transparent 1px),linear-gradient(#819e7818 1px,transparent 1px),radial-gradient(ellipse at 96% 0,#376044 0,transparent 64%); background-size: 46px 46px,46px 46px,100% 100%; }
.dossier-citation { display: flex; gap: .8rem; align-items: center; color: var(--lime); }
.dossier-citation span+span { border-left: 1px solid #8da387; padding-left: .8rem; color: #d1dfc8; }
.dossier-title h1 { max-width: 20ch; font: 700 clamp(2.7rem, 5.3vw, 5.2rem)/.98 var(--display); letter-spacing: -.059em; text-wrap: balance; margin: 1.3rem 0 1.05rem; }
.dossier-title p { max-width: 55ch; font-size: clamp(1.04rem, 1.5vw, 1.3rem); line-height: 1.53; color: #d6e4d4; }
.dossier-specimen { border-block: 1px solid var(--rule-dark); }
.dossier-specimen img { width: 100%; height: clamp(11rem, 23vw, 20rem); object-fit: cover; object-position: 60% 50%; }
.dossier-details { border-bottom: 1px solid var(--line); }
.dossier-details h2 { border-bottom: 1px solid var(--line); padding: .85rem clamp(1.25rem, 4.6vw, 4.4rem); font-size: 1.1rem; letter-spacing: -.025em; }
.dossier-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.dossier-details dl>div { padding: 1.2rem clamp(1rem, 2.5vw, 2.5rem); }
.dossier-details dl>div:nth-child(even) { border-left: 1px solid var(--line); }
.dossier-details dl>div:nth-child(n+3) { border-top: 1px solid var(--line); }
.dossier-details .dossier-sample { background: #dfefc7; }
.dossier-details dt { font: 700 .87rem/1.4 var(--sans); color: #37523a; }
.dossier-details dd { margin: .45rem 0 0; font-size: .98rem; line-height: 1.5; }
.dossier-findings h2, .dossier-limits h2, .dossier-source h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); letter-spacing: -.048em; line-height: 1.05; }
.dossier-findings p, .dossier-limits p, .dossier-source p { margin-top: 1.05rem; max-width: 64ch; line-height: 1.65; font-size: clamp(1rem, 1.3vw, 1.16rem); }
.dossier-quote { background: var(--deep); color: #f2f5eb; }
.dossier-quote figcaption { color: var(--lime); }
.dossier-quote blockquote { max-width: 35ch; margin: .8rem 0 .45rem; font: 500 clamp(1.7rem,3.1vw,3.15rem)/1.11 var(--display); letter-spacing: -.045em; }
.dossier-quote a { display: inline-flex; align-items: center; color: #d2dfc6; min-height: 44px; font-size: .925rem; }
.dossier-limits { background: #e7ebdd; border-bottom: 1px solid var(--line); }
.dossier-source cite { font-style: normal; font-weight: 600; }
.dossier-source-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.15rem; }
.dossier-source-links a { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .85rem; border: 1px solid #8a9a83; border-radius: .24rem; color: var(--green); font-weight: 700; font-size: .93rem; text-decoration: none; }
.dossier-source-links a:first-child { background: var(--green); color: #f2f5eb; border-color: var(--green); }
.dossier-source-links a:hover { text-decoration: underline; }
.dossier-pager { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: var(--green); color: var(--paper); border: 1px solid var(--rule-dark); }
.study-neighbour { display: flex; align-items: center; gap: .85rem; padding: 1.1rem; min-height: 65px; text-decoration: none; }
.study-neighbour + .study-neighbour { border-left: 1px solid var(--rule-dark); }
.study-neighbour img { width: 3.6rem; height: 2.8rem; object-fit: cover; object-position: 75% center; }
.study-neighbour small, .study-neighbour strong { display: block; line-height: 1.35; }
.study-neighbour small { color: #bfcfb6; font-size: .86rem; }
.study-neighbour:hover { background: var(--panel); }
@media(max-width:840px){
  .dossier-grid { grid-template-columns: 1fr; }
  .dossier-index { border-bottom: 1px solid var(--rule-dark); }
  .dossier-index-inner { position: static; }
  .dossier-topics { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #637959 var(--deep); }
  .dossier-topics h2 { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .dossier-topics a { flex: none; border-top: 0; border-right: 1px solid var(--rule-dark); padding: .75rem 1rem; }
  .dossier-topics a:last-child { border-bottom: 0; }
  .dossier-return { display: none; }
  .dossier-title { border-left: 0; }
}
@media(max-width:540px){
  .study-wrap { width: calc(100% - 1.5rem); }
  .study-masthead { min-height: 3.9rem; }
  .study-order { padding-inline: .7rem; font-size:.89rem; }
  .study-brand { font-size: 1rem; gap:.4rem; }
  .study-brand img { width: 28px; height: 28px; }
  .study-context { min-height: 2.85rem; gap:.5rem; font-size:.84rem; }
  .dossier-title h1 { font-size: clamp(2.25rem, 9.5vw, 3.05rem); }
  .dossier-specimen img { height: auto; aspect-ratio: 2.35; }
  .dossier-details dl { grid-template-columns: 1fr; }
  .dossier-details dl>div { padding: .9rem 1.25rem; }
  .dossier-details dl>div + div { border: 0; border-top: 1px solid var(--line); }
  .study-neighbour { padding: .8rem .65rem; gap:.48rem; }
  .study-neighbour img { width: 2.15rem; height: 2.25rem; }
  .study-neighbour strong { font-size:.91rem; }
}
