/* ==========================================================================
   Home — Poster
   Today's number as a giant framed poster, then a wall of number posters.
   ========================================================================== */

.pposter { padding: clamp(24px, 3.4vw, 44px) 0 0; }
.pposter__sheet { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); border: var(--frame); background: var(--surface); }
.pposter__copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3.4vw, 44px); container-type: inline-size; border-top: 12px solid var(--mint); }
.pposter__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.pposter__today { padding: 5px 9px 4px; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }

/* The figure fills the column: its size is the column width divided by the
   number of characters, capped so a short figure does not turn absurd. */
.pposter__number { margin: 0 0 4px -.02em; font-family: var(--font-display); font-size: min(15rem, calc(100cqi / (var(--len) * .5))); line-height: .84; letter-spacing: -.01em; color: var(--ink); }
.pposter__value { white-space: nowrap; }
.pposter__label { display: inline-block; margin-bottom: clamp(20px, 2.6vw, 30px); padding: 5px 10px 4px; background: var(--mint); color: var(--mint-ink); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.pposter__title { max-width: 20ch; font-family: var(--font-body); font-stretch: 72%; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.015em; }
.pposter__title a { background: linear-gradient(var(--mint), var(--mint)) left 92% / 0 .26em no-repeat; transition: background-size .35s var(--ease); }
.pposter__title a:hover { background-size: 100% .26em; }
.pposter__dek { max-width: 52ch; margin-top: 16px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.5; color: var(--ink-2); }
.pposter__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 28px; }

.pposter__side { display: grid; grid-template-rows: 1fr auto; border-left: var(--frame); min-width: 0; }
.pposter__media { display: block; min-height: 0; overflow: hidden; background: var(--surface-2); }
.pposter__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pposter__media:hover .pposter__img { transform: scale(1.03); }
.pposter__mag { padding: 14px 18px; border-top: var(--frame); background: var(--surface); }

@media (max-width: 900px) {
	.pposter__sheet { grid-template-columns: 1fr; }
	.pposter__side { border-left: 0; border-top: var(--frame); }
	.pposter__media { aspect-ratio: 3 / 2; }
	.pposter__number { font-size: min(9rem, calc(100cqi / (var(--len) * .5))); }
}

.pposter-explained { padding-top: clamp(24px, 3vw, 36px); }

/* The wall: four columns; the lead spans two columns and two rows. */
.wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wall__cell--0 { grid-column: span 2; grid-row: span 2; }
.wall__cell--0 .card--feature { display: flex; }
.wall__cell--0 .card--feature .card__media { aspect-ratio: 16 / 11; }
.wall .card__plate { aspect-ratio: auto; min-height: 220px; height: 100%; }
.wall .card--plate .card__body { flex: none; }
@media (max-width: 1080px) {
	.wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wall__cell--0 { grid-row: auto; }
}
@media (max-width: 640px) {
	.wall { grid-template-columns: 1fr; }
	.wall__cell--0 { grid-column: auto; }
}

.pposter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .pposter-list { grid-template-columns: 1fr; } }
