.shell { max-width: 1328px; }
main { display: block; }
.bench-station {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: max-content 1fr;
  gap: 22px 32px;
  scroll-margin-top: 16px;
}
.bench-station h1 { font-size: clamp(64px, 7vw, 96px); line-height: .9; }
.bench-station .controls { align-self: start; width: 100%; max-width: 375px; }
.fieldbook { min-width: 0; margin-top: clamp(32px, 6vw, 86px); }
.fieldbook h2, .fieldbook h3, .fieldbook p, .fieldbook figure { margin: 0; }
.fieldbook h2 {
  font-size: clamp(35px, 4vw, 65px); font-weight: 600;
  letter-spacing: -.055em; line-height: 1.02;
}
.fieldbook h3 { font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
.fieldbook p { color: var(--soft); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; max-width: 67ch; }
.run-sheet, .bench-method, .proof-sheet { padding: clamp(34px, 5vw, 70px) 0; border-top: 1px solid var(--line); }
.run-sheet { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 8vw, 112px); }
.sheet-intro p, .proof-sheet .proof-key, .ledger p { margin-top: 16px; }
.run-steps { list-style: none; margin: 0 0 0 6px; padding: 0; }
.run-steps li { position: relative; padding: 0 0 31px 26px; border-left: 2px solid #ae924d; }
.run-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.run-steps li::before {
  content: ""; position: absolute; top: 9px; left: -7px; width: 10px; height: 12px;
  background: var(--navy); border: 1px solid #c3ad73; box-shadow: inset 0 -4px 0 #c3ad73;
}
.run-steps li.current-step::before { background: var(--yellow); border-color: var(--yellow); }
.run-steps li.current-step .coordinate { color: var(--yellow); }
.run-steps p, .proofs p { margin-top: 8px; }
.coordinate, .closing-notes { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.coordinate {
  color: var(--soft); font: 12px var(--mono); margin-top: 4px; text-decoration: none;
}
.coordinate span, .closing-notes { text-decoration: underline; text-underline-offset: 4px; }
.coordinate:hover { color: var(--yellow); }
.proofs {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start;
  gap: 24px; margin-top: 26px; padding: clamp(16px, 2.7vw, 40px);
  color: #172c3b; background: #eef0de;
}
.proofs .lead-proof { grid-row: span 2; }
.proofs figcaption { padding-top: 12px; }
.proofs figcaption p { color: #36464b; font-size: clamp(15px, 1.05vw, 17px); }
.proofs .lead-proof figcaption p { max-width: 54ch; }
.proofs img, .crossing-image img { width: 100%; height: auto; display: block; }
.specimen, .crossing-image { display: block; position: relative; border: 1px solid #a3ada0; }
.specimen:hover, .specimen:focus-visible { outline: 3px solid #92701c; outline-offset: 1px; }
.leader {
  position: absolute; top: 4%; color: #283d45; background: #eef0de;
  font: clamp(8px, .72vw, 11px) var(--mono); white-space: nowrap; text-decoration: none;
}
.leader::after { content: ""; position: absolute; top: 1.3em; bottom: 0; left: 0; border-left: 1px solid #8a793f; }
.orbit-leader { right: 11.8%; height: 33.33%; }
.orbit-leader::after { left: auto; right: 0; }
.contour-leader { right: 14.1%; height: 46%; }
.contour-leader::after { left: auto; right: 0; }
.lattice-leader { left: 63%; height: 46%; }
.leader { background: none; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 65px); margin-top: 28px; }
.ledger > div { border-top: 1px solid var(--line); padding-top: 15px; }
.ledger h3 { color: var(--yellow); font: 13px/1.3 var(--mono); letter-spacing: .02em; }
.closing {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.15fr);
  align-items: center; gap: clamp(32px, 4vw, 62px); min-height: 600px;
  padding: clamp(48px, 7vw, 110px) clamp(22px, 3.6vw, 58px); background: #eef0de; color: #172c3b;
}
.closing p { color: #34474b; margin-top: 16px; }
.crossing-proof figcaption {
  display: flex; justify-content: space-between; border-bottom: 1px solid #9ca69a;
  padding: 10px 0; font: 12px/1.5 var(--mono); color: #35494c;
}
.crossing-ring {
  position: absolute; top: 37.294%; left: 57.14%; width: 6%; aspect-ratio: 1;
  transform: translate(-50%,-50%); border: 2px solid #9b6700; border-radius: 50%;
  box-shadow: 0 0 0 2px #eef0de;
}
.exercise {
  display: flex; width: fit-content; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 52px; margin-top: 24px; padding: 0 16px; background: var(--yellow); color: #172c3b;
  border: 1px solid #756324; text-decoration: none; font-weight: 650;
}
.exercise:hover { background: #ffea89; }
.closing-notes { color: #3b4e50; font: 12px var(--mono); margin-top: 4px; }
.title-block {
  grid-column: 2; justify-self: end; text-align: right; display: grid; gap: 3px;
  min-width: 19ch; padding-top: 10px; border-top: 1px solid #8e9a90;
  font: 12px/1.5 var(--mono); color: #35494c;
}
.title-block span:first-child { font-variant: small-caps; letter-spacing: .055em; }
@media (max-width: 820px) {
  .bench-station { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 22px; }
  .bench-station h1 { font-size: clamp(44px, 9vw, 72px); }
  .bench-station .controls { max-width: none; }
  .primary { min-height: 56px; }
  .run-sheet, .closing { grid-template-columns: 1fr; }
  .closing { min-height: auto; }
  .fieldbook h2 br { display: none; }
  .closing-copy { display: contents; }
  .closing-copy h2 { order: 0; }
  .closing-copy p { order: 1; margin: 0; }
  .crossing-proof { order: 2; }
  .exercise { order: 3; margin: 0; }
  .closing-notes { order: 4; width: fit-content; margin: 0; }
  .title-block { order: 5; grid-column: 1; width: 100%; text-align: left; }
}
@media (max-width: 600px) {
  .shell { padding: 0 20px; }
  .proofs { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px; gap: 22px 12px; }
  .proofs .lead-proof { grid-column: 1/-1; grid-row: auto; }
  .proofs figcaption p { font-size: 15px; }
  .proofs figcaption h3 { font-size: 22px; }
  .leader { font-size: 8px; }
  .ledger { grid-template-columns: 1fr; gap: 22px; }
  .closing { margin: 0 -20px; padding: 48px 20px; gap: 20px; }
  .eyebrow { letter-spacing: .45px; }
}
