/* How it works: the parts only this page uses. Loads after base.css. */

h4 { margin: 0; }
ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Hero: a shorter sheet, with the sheet index ---------- */
.hiw-hero { padding-bottom: clamp(56px, 6vw, 96px); }
.hiw-hero .hero-support { max-width: 760px; }
.sheet-index {
  position: relative; margin-top: clamp(44px, 5vw, 64px);
  width: min(100%, 1060px);
  background: var(--paper); border: 1.5px solid var(--ink);
  padding: 22px clamp(18px, 2.4vw, 30px) 24px;
}
.sheet-index .caps { font-size: 11px; font-weight: 700; color: var(--contour); margin-bottom: 12px; }
.sheet-index ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.sheet-index li { border-top: 1px solid var(--rule); }
.sheet-index a {
  display: flex; gap: 12px; align-items: baseline; padding: 10px 0;
  font-size: 15px; font-weight: 600; text-decoration: none; transition: color .2s ease;
}
.sheet-index a span { font-size: 12px; font-weight: 700; color: var(--contour); min-width: 1.6em; }
@media (hover: hover) and (pointer: fine) { .sheet-index a:hover { color: var(--hydro); } }

/* ---------- Two ways in: two routes, steps as survey stations ---------- */
.route + .route { margin-top: clamp(48px, 5vw, 72px); }
.route-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.route-head h3 { margin: 0; font-size: clamp(22px, 1rem + .7vw, 27px); }
.route-key {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none;
  border: 1.5px solid var(--ink); font-weight: 700; font-stretch: 118%; font-size: 16px;
  transform: translateY(-2px);
}
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.step { position: relative; padding: 24px 20px 26px 18px; }
.step:first-child { padding-left: 0; }
.step::before {
  content: ""; position: absolute; left: 18px; top: -15px; width: 16px; height: 14px;
  background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.step:first-child::before { left: 0; }
.step.you { background: var(--built); }
.step-no { display: block; font-size: 11px; font-weight: 700; color: var(--contour); margin-bottom: 6px; }
.step .who { display: block; font-size: 11px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.step h4 { font-weight: 700; font-size: 19px; line-height: 1.2; font-stretch: 106%; margin-bottom: 8px; }
.step p { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 30ch; }
.step.you p { color: var(--ink); }

/* ---------- Split sections: symbol and heading left, content right ---------- */
.split { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.split-head { display: grid; gap: 20px; }
.split-head h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.9rem); }
.split-head .pilot-tag { vertical-align: 6px; }
.split-body > p { max-width: 62ch; }
.intro { font-size: clamp(17px, 1rem + .3vw, 19.5px); line-height: 1.55; }
@media (min-width: 961px) { .split-head { position: sticky; top: 28px; } }

/* What it drafts: a legend table */
.calc-list { margin-top: 30px; border-top: 1px solid var(--ink); }
.calc-list > div { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 6px 28px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.calc-list dt { font-weight: 700; line-height: 1.35; }
.calc-list dd { color: var(--ink-2); max-width: 52ch; }
.also { margin-top: 40px; }
.also .calc-list { margin-top: 0; }

/* What it reads: chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips li { border: 1.5px solid var(--ink); padding: 9px 14px; font-size: 15.5px; font-weight: 600; line-height: 1.3; background: var(--paper); }

/* What it checks */
.split-body .detail { grid-template-columns: repeat(3, 1fr); gap: 28px 36px; margin-top: 34px; }

/* What it finds missing */
.notes-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 34px; }
.notes-two li { border-top: 1.5px solid var(--ink); padding-top: 16px; color: var(--ink-2); }
.notes-two h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* What you get */
.get { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(40px, 5vw, 72px); }
.get h3.caps { margin-bottom: 0; padding-bottom: 14px; border-bottom: 1px solid var(--ink); line-height: 22px; }
.get h3 .pilot-tag { vertical-align: top; line-height: 16px; }
.files li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.files li > span:first-child { font-weight: 600; }
.files .fmt { font-size: 11px; font-weight: 700; color: var(--contour); white-space: nowrap; text-align: right; }
.sorted-lead { margin: 22px 0 6px; color: var(--ink-2); }
.sorted li { padding: 15px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.sorted b { color: var(--ink); }
.sorted .tag { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.sorted .tag-note { background: transparent; color: var(--ink-2); border: 1px solid var(--rule); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps-5 { --n: 3; row-gap: 40px; border-top: 0; }
  .steps-5 .step { border-top: 1.5px solid var(--ink); }
  .steps-5 .step:nth-child(4) { padding-left: 0; }
  .steps-5 .step:nth-child(4)::before { left: 0; }
  .split-body .detail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .sheet-index ol { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-head { grid-template-columns: 56px 1fr; align-items: center; }
  .get { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .steps, .steps-5 { --n: 1; grid-template-columns: 1fr; border-top: 0; border-left: 1.5px solid var(--ink); row-gap: 0; margin-left: 7px; }
  .steps .step, .steps-5 .step, .steps .step:first-child, .steps-5 .step:nth-child(4) { border-top: 0; padding: 4px 0 26px 26px; }
  .step.you { padding: 16px 16px 20px 26px; margin-bottom: 22px; }
  .step::before, .step:first-child::before, .steps-5 .step:nth-child(4)::before { left: -9px; top: 6px; width: 16px; height: 14px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
  .step.you::before { top: 18px; }
  .step p { max-width: 52ch; }
  .notes-two, .split-body .detail { grid-template-columns: 1fr; }
  .calc-list > div { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .sheet-index ol { grid-template-columns: 1fr; }
  .split-head { grid-template-columns: 1fr; }
  .files li { flex-direction: column; gap: 4px; }
  .files .fmt { text-align: left; }
}

/* 2026-11-25: one flow (no routes), comments + SWPPP pair, pre-check with its missing-items list */
.split-body > .notes-two:first-child { margin-top: 6px; }
.missing-intro { margin-top: clamp(44px, 5vw, 60px); }
