/* Services: the noticing ledger */

/* Pinned controls stand on their own opaque ground, so the page passes beneath them.
   The shared sheet holds the Index toggle's own background at none with !important (its cedar
   plate is drawn by ::before), so the ground here must be stated with !important too: the
   button's box is solid page-teal, the scalloped cedar plate sits on top of it, and the ledger
   rows scroll beneath both without showing through the letters. */
.chrome .index-btn{
  background:var(--ground)!important;
}
a.btn.call-dock{
  background:var(--btn-bg);
}

.ticket h1{font-size:var(--fs-h1)}

/* Opening ticket: stout rows, the mark standing in the ticket margin beside the Price row */
.ticket__facts{position:relative}
.ticket__facts .rows>div{padding:1.1rem 0}
.ticket__mark{position:absolute;left:-.95rem;bottom:1.2rem;height:1.4rem}

/* Phone: a tighter ticket, so the painting's top edge shows in the first window with it */
@media (max-width:47.99rem){
  .opening{gap:.9rem;padding-top:.25rem}
  .opening .ticket{gap:.8rem;padding-block:1rem}
  .opening .ticket .lede{font-size:1.1875rem;line-height:1.4}
  .opening .ticket__facts .rows>div{padding:.55rem 0}
  .opening .ticket__foot{padding-top:.2rem}
  .ticket__mark{bottom:.7rem}
}

/* Desk: a wider left margin on the ticket, and a headline-size mark standing in the middle of it,
   clear of the scalloped border and of the ruled rows */
@media (min-width:48rem){
  .opening .ticket{--tm:clamp(2.75rem,4.4vw,3.75rem);padding-left:var(--tm)}
  .ticket__mark{width:.8rem;height:2.6rem;left:calc(var(--tm) * -.5 - .2rem);bottom:.68rem}
}

.ledger-sec{padding-block:var(--band)}
.ledger-sec>h2{margin-bottom:1rem;max-width:44rem}
.filters{margin-block:1.5rem 1rem}
.filters .stub{min-height:2.75rem;padding-inline:1.1rem;font-size:1rem;white-space:nowrap}
@media (min-width:48rem){
  .filters{flex-wrap:wrap;overflow-x:visible;max-width:100%}
}
.ledger-grid{display:grid;gap:var(--gap);margin-top:1.5rem}
.ledger{--mark-y:0}
.rowlist{border-bottom:.15rem solid var(--ink)}
.row{display:grid;gap:.4rem 1.5rem;padding:1rem 0;border-top:.15rem solid var(--ink)}
.row--lead{padding-block:1.75rem}
.row--next{margin-top:2rem;border-top-width:.3rem}
.row__group{font-size:var(--fs-note);line-height:1.4;color:var(--sage);padding-bottom:.6rem}
.is-filtered .row__group{display:none}
.is-filtered .row--next{margin-top:0;border-top-width:.15rem}
.row__name{font-family:var(--display);font-size:1.75rem;line-height:1.15}
.row--lead .row__name{font-size:var(--fs-h2)}
.row__name a{text-decoration:none}
.row__name a:hover{text-decoration:underline;text-decoration-color:var(--pink)}
.row__line{max-width:36rem}
.row--lead .row__line{font-size:1.3125rem;line-height:1.45}
.row__meta{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;font-size:1.0625rem;color:var(--sage)}
.row__meta a{color:var(--ink);display:inline-block;padding-block:.5rem}
.row.is-marked .row__meta span{color:var(--ink)}
.row__pic{margin-top:.75rem}
.ledger-mount{display:none}
.mark--travel{margin-top:1.45rem}
@media (min-width:56rem){
  .ledger-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:stretch}
  .row__pic{display:none}
  /* The mount runs the whole height of the list, so the right column is never empty. */
  .ledger-mount{display:block;position:relative;align-self:stretch;aspect-ratio:auto;height:100%;min-height:24rem}
  .ledger-mount img{position:absolute;inset:0;visibility:hidden}
  .ledger-mount img.is-on{visibility:visible}
  .mark--travel{margin-top:2.1rem}
}

/* Closing ticket: full measure, copy offset to the right to line up with the footer stack */
.promise{padding-block:var(--band) 0}
.promise h2{font-size:clamp(1.9rem,1.5rem + 1.5vw,2.5rem)}
.promise .ticket__foot{padding-top:1rem}
@media (min-width:56rem){
  .promise .ticket{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--gap);row-gap:1.25rem;align-items:start}
  .promise .ticket>h2{grid-column:1;grid-row:1 / span 2}
  .promise .ticket>p,
  .promise .ticket>.ticket__foot{grid-column:2}
  .promise .ticket>p{max-width:42rem}
}
