/* Geraty product page: one counter row pulled out of the list. Phone first; wider screens are added with min-width queries in em. */

/* The opening row: enlarged number, marker and what to bring over one thick rule; then the name, lead, call and particulars beside the photograph. */
.slip { padding-block-start: .5rem; }
.slip-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-block: .7rem;
  border-block-end: var(--ges-coping) solid var(--ges-ochre);
  font-size: 1.1875rem;
  line-height: 1.3;
}
.slip-no {
  flex: none;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.slip-line .pool-wall { flex: none; font-size: clamp(1.6rem, 7vw, 2.4rem); }
.slip-bring { min-inline-size: 0; }
.slip-body {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.1rem var(--ges-lap);
}
.slip-talk { display: grid; gap: .8rem; align-content: start; justify-items: start; }
.slip-title { display: grid; gap: .35rem; }
.slip-kind { font-size: 1.0625rem; }
.slip-lead { max-inline-size: 44ch; font-size: 1.125rem; }
.slip-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.slip-view .panel img { aspect-ratio: 3 / 2; }
.js .slip-view img { cursor: zoom-in; }
.slip-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.slip-credit span { flex: 1 1 16rem; }
.peek-key[hidden] { display: none; }
.slip-strip { min-inline-size: 0; }
.slip-strip h2 { margin-block-end: .4rem; }
@media (min-width: 56em) {
  .slip-line { gap: 1.25rem; padding-block: .8rem; font-size: 1.5rem; }
  .slip-body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(1.5rem, 4vw, 3.5rem);
    row-gap: 1.25rem;
    align-items: start;
  }
  .slip-talk { grid-column: 1; grid-row: 1; }
  .slip-strip { grid-column: 1; grid-row: 2; }
  .slip-view { grid-column: 2; grid-row: 1 / span 2; }
  .slip-body-bare { grid-template-columns: minmax(0, 1fr); }
  .slip-lead { font-size: 1.1875rem; }
}

/* The particulars ledger, with its price band. */
.test-strip { margin: 0; }
.strip-line {
  display: grid;
  grid-template-columns: minmax(5.75rem, 9rem) minmax(0, 1fr);
  gap: .2rem 1rem;
  align-items: baseline;
  padding-block: .5rem;
  font-size: 1rem;
  line-height: 1.35;
}
.strip-line dd { margin: 0; }
.strip-line dt::before {
  content: "";
  display: inline-block;
  inline-size: .55em;
  block-size: .55em;
  margin-inline-end: .5em;
  background: var(--ges-ochre);
  clip-path: polygon(.16em 0, calc(100% - .16em) 0, 100% .16em, 100% calc(100% - .16em),
    calc(100% - .16em) 100%, .16em 100%, 0 calc(100% - .16em), 0 .16em);
}
.strip-price {
  margin-block-start: .7rem;
  padding: .75rem 1.1rem;
  font-size: 1.1875rem;
  --ges-chamfer: .7rem;
}
.strip-price dt::before { display: none; }
.strip-sketch { background: var(--ges-ultramarine); color: var(--ges-straw); }
.strip-sample { background: var(--ges-vermilion); color: var(--ges-ochre); }

/* Body copy: the full width of the grid, in two columns on a desk, evenly spaced. */
.bench { padding-block: 1.1rem var(--ges-lap); }
.bench h2 { margin-block-end: .7rem; }
.bench-talk { font-size: 1.0625rem; }
.bench-talk p { break-inside: avoid; }
.bench-talk h2 + p { margin-block-start: 0; }
.bench-talk p + p { margin-block-start: .9em; }
@media (min-width: 56em) {
  .bench-talk { columns: 2; column-gap: clamp(1.5rem, 4vw, 3.5rem); font-size: 1.125rem; }
  .bench-talk h2 { column-span: all; }
}

/* Leading on: three other rows in mounts of one size, each caption on one line under its own picture. */
.shoal { padding-block: 1rem var(--ges-lap); }
.shoal h2 { margin-block-end: 1rem; }
.outfall { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.outfall a { display: block; text-decoration: none; }
.outfall figure { display: grid; gap: .4rem; }
.outfall img { aspect-ratio: 3 / 2; }
.outfall .tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .1rem 1rem;
  max-inline-size: none;
  padding-block-end: .2rem;
}
.outfall-name { font-size: 1.0625rem; }
@media (min-width: 48em) {
  .outfall { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 3vw, 2.5rem); }
}

/* The hand-off: the rows either side, the current one between them with its octagon filled. */
.tally { padding-block: 1rem var(--ges-lap); }
.tally h2 { margin-block-end: .6rem; }
.wall-sketch.ges-fill-on { --ges-tint: var(--ges-ultramarine); }
.wall-sample.ges-fill-on { --ges-tint: var(--ges-vermilion); }
.tally .ticket-then { font-size: 1.0625rem; }

/* The photograph, enlarged: a dialog of this page's own. */
.deepend {
  inline-size: min(96vw, 78rem);
  max-inline-size: 96vw;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.deepend::backdrop { background: rgb(55 41 2 / .88); }
.deepend .panel img { max-block-size: 76vh; }
.deepend[open] .panel { animation: pour var(--ges-beat) linear backwards; }
.deepend-foot { display: flex; justify-content: flex-end; margin-block-start: .6rem; }
