/* Receiving bench: the lane notch, the first-screen print and the station entries. Builds on css/site.css only. */

.walk { position: relative; }

/* NOTCH: two 3 px bars in the lane margin, snapped by js/index.js onto the keep tab of the entry in view. */
.notch {
  position: absolute;
  left: calc(var(--edge) * -.8);
  top: 0;
  width: .5rem;
  z-index: 3;
  pointer-events: none;
}
.notch i { display: block; height: var(--rule-w); }
.notch i:first-child { background: var(--keep); }
.notch i:last-child { width: calc(100% - .125rem); margin: .0625rem 0 0 .125rem; background: var(--build); }

/* ENTRY RHYTHM: dense enough that the walk reads as one ledger page, never a stack of empty bands. */
.walk .entry { padding-block: clamp(1rem, 3.4vh, 2.25rem); }
.walk .entry.is-current::before { content: none; }
.walk > .entry:first-of-type { padding-top: 0; }

.row__label .tab + .tab { margin-top: .375rem; }

/* OPENING: the two tabs share one closing rule, periwinkle in the lane and orange across the matter. */
.entry--opening .row::after {
  background: linear-gradient(90deg, var(--keep) 0 var(--lane), var(--build) var(--lane) 100%);
}
.entry--opening .row__matter { padding-bottom: .25rem; }
.opening__title { margin-top: .4rem; }
.opening__call { margin-top: .1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .875rem; }
.opening__num { font-size: var(--fs-small); }
.opening__num::before { content: ""; display: inline-block; width: 1.5rem; height: var(--rule-w); margin-right: .5rem; vertical-align: middle; background: var(--build); }

.hero-print { margin-top: .6rem; }
.hero-print .mount__print img { aspect-ratio: 16 / 9; max-height: clamp(10rem, 40vh, 22rem); }

/* KEEP LINE: what a station keeps, in the hand at heading size, so the keep voice differs from the build notes. */
.keep-line {
  font-family: var(--hand);
  font-size: var(--fs-h2);
  line-height: 1.3;
  text-wrap: balance;
}

/* PARTS: the chassis components as three ruled ledger rows, never cards and never prices. */
.parts { list-style: none; margin: .875rem 0 0; padding: 0; font-size: var(--fs-small); }
.parts li {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
  gap: .2rem .875rem;
  padding-block: .55rem;
  border-bottom: var(--rule-w) solid var(--build);
}
.parts li + li { margin-top: .25rem; }
.parts__k { color: var(--keep); }

/* FINISHED BAY: three entries at one photo scale; each note stands as tall as its own picture. */
.jeeps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.jeeps li { display: grid; gap: .75rem; align-items: start; }
.jeep__note { min-width: 0; }
.jeep__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.jeep__price { margin: 0; }
.entry__more { margin-top: 1rem; }
@media (min-width: 48rem) {
  .jeeps { gap: 1.5rem; }
  .jeeps li { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.375rem; align-items: stretch; }
  .jeep__note { display: flex; flex-direction: column; justify-content: space-between; }
  .jeep__top { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: .5rem; }
  .jeep__price { font-size: clamp(2.25rem, 1rem + 2.6vw, 3.5rem); }
  .jeep__line { padding-top: .75rem; border-top: var(--rule-w) solid var(--build); }
}

/* COMMISSION: a working sheet with no photograph. The heading and the large figure share one ruled line across the sheet; the terms run under it in two columns, so no half of the sheet stands empty. */
.commission { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.commission > * + * { margin-top: 0; }
.commission__figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem 2rem;
  padding-bottom: .75rem;
  border-bottom: var(--rule-w) solid var(--build);
}
.commission .price { margin: 0; font-size: var(--fs-price); }
.commission__note p + p { margin-top: .75em; }
@media (min-width: 60rem) {
  .commission .price { font-size: clamp(2.5rem, 1rem + 2.6vw, 3.5rem); }
  .commission__note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .5rem 2.5rem;
    align-items: start;
  }
  .commission__note p + p { margin-top: 0; }
  .commission__note .link { grid-column: 1 / -1; justify-self: start; }
}

/* APPOINTMENT DOOR: the plain hand-off beside a print cropped to the lit left side of the doorway. */
.door-print .mount__print img { aspect-ratio: 5 / 4; max-height: none; object-position: left center; }
.door-print__call { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .875rem; }

/* BOARD: the commission figure steps up once, in four discrete steps, above the dock. */
.board__close { margin-top: .15rem; }
@media (prefers-reduced-motion: reduce) { .notch { transition: none; } }
