/* Pickup page - the route strip. Order: layout, type, colour, motion. */

/* ============ LAYOUT ============ */

.opening_pair { display: grid; gap: 1.25rem; align-items: start; }
.opening_words { display: grid; gap: 0.875rem; align-content: start; }
.opening_words .opening_line { margin-top: 0; }
.opening_words .action_row { margin-top: 0.5rem; }
.opening_figure .specimen_mount { aspect-ratio: 3 / 2; padding-bottom: var(--measure-bite-photo); }
.opening_figure .specimen_mount img { height: 100%; }
@container entry_column (min-width: 46rem) {
  .opening_pair { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--measure-space) calc(var(--measure-space) * 1.5); }
}

/* The route strip: four unequal cells that scroll sideways in their own box when the column is narrow. */
.route_box { margin-top: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain; }
.route_strip { list-style: none; display: grid; grid-template-columns: minmax(0, 30fr) minmax(0, 22fr) minmax(0, 24fr) minmax(0, 28fr);
  border-block: var(--measure-rule) solid; }
@container entry_column (max-width: 44rem) {
  .route_strip { min-width: 46rem; }
}
.route_cell { position: relative; padding: 2.25rem 1rem 1.25rem; }
.route_cell + .route_cell { border-left: var(--measure-rule) solid; }
.route_cell > .tick_marker { position: absolute; top: 0.75rem; left: 1rem; width: 1.125rem; height: 1.125rem; }
.route_press { display: block; min-height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.route_note { margin-top: 0.25rem; max-width: 34ch; }
.route_cell[data-state="marked"] { box-shadow: inset 0 -0.375rem 0 var(--tone-aubergine); }
.route_hint { margin-top: 0.75rem; }

/* Where we go: two ruled entries, then the plate of what we don't publish. */
.route_entries { list-style: none; margin-top: 1rem; }
.route_entries > li { padding-bottom: 1.5rem; }
.route_entries .entry_text { margin-top: 0.5rem; }
.route_notice { margin-top: 0.5rem; }
.route_notice .entry_text { margin-top: 0.375rem; }

/* ============ TYPE ============ */

.route_press { font-family: var(--face-outfit); font-size: var(--step-entry); font-weight: 600; line-height: 1.25; }
.route_note { font-size: 1rem; line-height: 1.45; }
.route_hint { font-size: var(--step-small); font-weight: 600; line-height: 1.35; }
.route_entries .entry_head, .route_notice .entry_head { font-size: var(--step-entry); }

/* ============ COLOUR ============ */

.route_press { color: var(--tone-aubergine); }
.route_note { color: color-mix(in srgb, var(--tone-aubergine) 94%, var(--tone-plum)); }
.route_cell[data-state="marked"] { background-color: color-mix(in srgb, var(--tone-paper) 18%, var(--tone-plum)); }
.route_cell[data-state="marked"] .route_note { color: var(--tone-aubergine); }
.route_cell .tick_marker { border: 0.125rem solid var(--tone-aubergine); }
.route_press:hover { text-decoration: underline; text-decoration-thickness: 0.125rem; text-underline-offset: 0.2em; }
.route_notice a { color: var(--tone-cyan); }

/* What stands over the page carries an opaque ground of its own, on the element itself, so the
   page passes beneath it. It is clipped to the content box: the punched foot stays in the padding.
   The site sheet clears these grounds with !important, so they are set here with a longer
   selector and !important, or they would never arrive. */
html nav.bookmark_strip { background: var(--tone-cyan) content-box !important; }
html nav.bookmark_strip .bookmark_pull { background: var(--tone-cyan) !important; }
html aside#storage { background: var(--tone-paper) content-box !important; }
html aside#storage .consent_text { background: var(--tone-paper) !important; }
@media (max-width: 40rem) {
  /* Phone: the pinned sheet is plum, so its own ground is plum too. */
  html aside#storage { background: var(--tone-plum) content-box !important; }
  html aside#storage .consent_text { background: var(--tone-plum) !important; }
}
/* The pinned call on phones: the footer's links pass beneath its own cyan ground. */
.call_tag { background-color: var(--tone-cyan); background-clip: content-box; }

/* ============ MOTION ============ */

/* The marker and the ink change in one step. There is nothing here to animate, and nothing to switch off. */
.route_box { scroll-behavior: auto; }
