/* Home page: the opening evidence pair, the roll of nine names, and the four spreads below it. */

/* Opening: a small h1 that names the trade, the slogan at headline size beside it. */
.opening__trade { max-width: 24em; margin-bottom: calc(var(--line) * .5); }
.slogan { margin-bottom: calc(var(--line) * .25); }

/* Evidence pair: two crops at one shared height, so the captions line up but for the one-line drop. */
.evidence { margin-block: calc(var(--line) * .5); }
.evidence__img { height: clamp(10rem, 34vh, 24rem); }
.evidence__img--seam { object-position: 50% 22%; }
.evidence figcaption { display: grid; justify-items: start; gap: .1rem; margin-top: 0; }
.evidence__name {
  display: inline-block;
  padding-block: .6rem;
  font-size: clamp(1rem, .8rem + 1vw, 1.45rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (min-width: 56em) {
  .opening__head { grid-row: 1; }
  .opening__lead { grid-row: 1; }
  .evidence { grid-column: 1 / span 9; grid-row: 2; margin-top: var(--line); }
  .evidence__img { height: clamp(14rem, 42vh, 27rem); }
}

/* The roll: nine names in Space Mono, two caption buttons. Colour changes only. */
.roll { padding-block: var(--line) calc(var(--line) * 1.5); }
.roll__intro { max-width: 36em; margin-bottom: calc(var(--line) * .75); }
.roll__ctl { margin-bottom: calc(var(--line) * .5); }
.roll__status { margin: .75rem 0 0; }
html:not(.js) .roll__ctl { display: none; }
.roll__names {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--t-h3);
  line-height: 1.25;
}
.roll__names li { min-width: 0; transition: none; }
.roll__names a { display: inline-block; padding: .6rem .25rem; overflow-wrap: anywhere; }
[data-showing="peak"] [data-kind="peak"] a,
[data-showing="origin"] [data-kind="origin"] a { background-color: var(--cyan); }

/* Peak blends: a short index, prices aligned at the right of each entry. */
.index { margin-bottom: var(--line); }
.index li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.index a { display: inline-block; padding-block: .65rem; font-size: 1.125rem; line-height: 1.3; }
.index__price { font-family: var(--ff-display); font-weight: 700; font-size: 1.125rem; }
.offer {
  padding: .9rem 1.75rem .9rem 1rem;
  background: var(--cyan);
  clip-path: polygon(0 0, calc(100% - var(--cut-l)) 0, 100% var(--cut-l), 100% 100%, 0 100%);
}

/* Origins: the second plate of the pair drops one line, as always. */
.grown { margin-top: var(--line); }
.origins { margin-top: calc(var(--line) * 2); }
.entry h3 { margin-bottom: .25rem; }
.entry h3 a { display: inline-block; padding-block: .5rem; }
.entry p { margin-bottom: .5rem; max-width: 30em; }
.entry__price { font-size: 1.125rem; }

/* Why origin matters: prose in five columns, the pull quote running over the gutter, the scale at the right. */
.why { row-gap: var(--line); }
.why__a p, .why__b p:last-child { margin-bottom: 0; }
.why__pull { margin: 0; font-size: var(--t-h2); line-height: 1.2; }
@media (min-width: 56em) {
  .why__head { grid-column: 1 / span 8; grid-row: 1; }
  .why__a { grid-column: 1 / span 5; grid-row: 2; }
  .why__pull { grid-column: 1 / span 7; grid-row: 3; }
  .why__b { grid-column: 1 / span 5; grid-row: 4; }
  .why__shot { grid-column: 8 / span 5; grid-row: 2 / span 3; }
}

/* Cafés: two unequal columns, the second one line lower. */
.cafes { scroll-margin-top: var(--line); row-gap: var(--line); }
.cafes__hours { font-size: 1.0625rem; line-height: 1.45; max-width: 34em; }
.cafe h3 { margin: var(--line) 0 .25rem; }
.cafe p { margin-bottom: calc(var(--line) * .6); }
.cafe--b { margin-top: calc(var(--line) * .5); }
.cafes__close { margin-top: var(--line); max-width: 36em; }
.cafes__close .pull { font-size: var(--t-h2); line-height: 1.2; margin-top: 0; }
@media (min-width: 56em) {
  .cafes__head { grid-column: 1 / span 8; }
  .cafe--b { margin-top: var(--line); }
  .cafes__close { grid-column: 1 / span 7; }
}
