/* Hallmark · shape: photographic · genre: community · theme: custom · job: find the photos of an event · idea: "A lit stage on top, daylight below: the night is the header, the page heads and the hero, the body is paper" · vibe: "bright, confident, clean, proud, warm"
 * paper: oklch(98.3% 0.005 356) · accent: oklch(64.2% 0.262 356.3) · display: Fraunces (owner-mandated) · body: Plus Jakarta Sans (owner-mandated) · hero: dark title band over a magenta stage edge · nav: dark bar · footer: black columns · imagery: album covers in original colour · signature: the newest album captioned on a magenta panel
 * axes: light/serif/magenta · posture: drenched · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, covers come from small archive photos */
@import url("../stil.css");

.archive { padding-block: var(--space-xl) var(--section-gap); }
.year + .year { margin-top: var(--space-3xl); }
.year__title { margin-bottom: var(--space-lg); font-size: var(--text-index); line-height: 1; font-variant-numeric: lining-nums; }
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.album { background: var(--color-paper-2); }
.album--feature { grid-column: span 2; grid-row: span 2; display: grid; }
.album__link { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-decoration: none; }
.album__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity var(--dur-short) var(--ease-out); }
.album--feature .album__link img { height: 100%; aspect-ratio: auto; min-height: 0; }
.album--feature .album__link { grid-template-rows: minmax(0, 1fr) auto auto; }
.album__title { padding: var(--space-md) var(--space-md) 0; font-family: var(--font-display); font-size: var(--text-title); font-weight: 500; font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: var(--tracking-display); }
.album__meta { padding: var(--space-2xs) var(--space-md) var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.album--feature .album__link { background: var(--color-accent); color: var(--color-accent-ink); }
.album--feature .album__title { padding: var(--space-lg) var(--space-lg) 0; font-size: var(--text-2xl); }
.album--feature .album__meta { padding: var(--space-2xs) var(--space-lg) var(--space-lg); color: var(--color-accent-ink); }
.album--feature .album__link:focus-visible { outline-color: var(--color-ink); }
.album__link:hover img { opacity: 0.85; }
.album__link:hover .album__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.album__link:active .album__title { text-decoration-color: var(--color-accent); }
.archive__note { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); }
.archive__note a { color: var(--color-ink); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }

@media (max-width: 60rem) {
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album--feature { grid-row: auto; }
  .album--feature .album__link img { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 40rem) {
  .albums { grid-template-columns: minmax(0, 1fr); }
  .album--feature { grid-column: auto; }
}
