/* Summer: the floor-tape price line and its two entries. Order: layout, type, colour, motion. */

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

.hall-frame { padding: 1.25rem var(--tda-edge); }

/* The tape: --tda-mark-at is where $65 falls between $56.25 and $81.25 ((65 - 56.25) / 25). */
.marking { --tda-mark-at: 35%; --tda-tile: 8.5rem; display: grid; padding-top: 0.25rem; }
.marking-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--tda-tile);
  aspect-ratio: 16 / 9;
  margin: 0 0 1rem calc(var(--tda-mark-at) - var(--tda-tile) / 2);
  padding: 0.25rem;
  text-align: center;
}
.marking-tile::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - 0.125rem);
  width: 0.25rem;
  height: 1rem;
}
.marking-run { height: 0.75rem; }
.marking-ends { display: flex; justify-content: space-between; margin-top: 0.5rem; }
.marking-package {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  width: min(100%, 19rem);
  aspect-ratio: 16 / 9;
  margin: 1.75rem 0 0 auto;
  padding: 1rem 1.25rem;
  border: 0.25rem solid;
}

.session-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.session-pair { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.25rem 1.5rem; align-items: start; }
.session-words > * + * { margin-top: var(--tda-beat); }

.bow-way { flex-wrap: wrap; }
.bow-mail { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 48rem) {
  .hall-frame { padding-block: 0.75rem 0; }
  .session-pair { grid-template-columns: 1fr; }
}

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

.marking-name { font-family: var(--tda-voice); font-weight: 650; font-size: 1.125rem; line-height: 1.1; }
.marking-sum { font-family: var(--tda-voice); font-weight: 650; font-size: 1.75rem; line-height: 1.1; }
.marking-package .marking-name { font-size: 1.5rem; }
.marking-package .marking-sum { font-size: 2.75rem; line-height: 1; }
.marking-fine { font-size: 0.9rem; line-height: 1.4; }
.marking-ends { font-size: 1.0625rem; line-height: 1.3; }
.marking-note { max-width: 38rem; font-size: 0.9rem; line-height: 1.55; }
.session-price { font-family: var(--tda-voice); font-weight: 650; font-size: 2.75rem; line-height: 1; }
.bow-mail { font-family: var(--tda-counting); font-weight: 400; font-size: 0.9rem; }

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

.marking-tile { background: var(--tda-blue); color: var(--tda-straw); }
.marking-tile::after { background: var(--tda-blue); }
.marking-run { background: var(--tda-bark); }
.marking-package { background: var(--tda-straw); color: var(--tda-bark); border-color: var(--tda-bark); }

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

/* The tape enters once, left to right, through the shared .arrival wipe, at 200 ms. */
.js .marking.arrival { transition: clip-path 200ms ease-out; }
