/* The look. All words live in index.html. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --concrete: #e8e5de;   /* raw off-white */
  --ink: #000;
  --red: #c4211a;        /* the one accent: links and the 2024 frame only */
  --rule: 12px;          /* thick black rule between entries */
  --frame: 6px;
  --gutter: 16px;
  --measure: 38rem;
  color-scheme: only light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--concrete);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 var(--gutter);
  background: var(--concrete);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

h1, h2, h3 { margin: 0; font-weight: 900; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Header */
.masthead { padding: 40px 0 32px; }
.masthead h1 {
  font-size: clamp(2.6rem, 12vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
}

/* This year's update */
.update {
  border-top: var(--rule) solid var(--ink);
  padding: 24px 0 48px;
}
.label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.note { max-width: var(--measure); margin-bottom: 24px; }
.photos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

/* One card per year */
.card {
  border-top: var(--rule) solid var(--ink);
  padding: 20px 0 56px;
}
.year {
  font-size: clamp(6rem, 33vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  margin-left: -0.04em;
}
.title {
  font-size: clamp(1.6rem, 7vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 16px 0 24px;
}
.art { margin: 0 0 24px; }
.writeup { max-width: var(--measure); }

/* Images: full column width, never cropped */
.art img,
.photos img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--frame) solid var(--ink);
  background: var(--ink);
}

/* Frames: placeholders and the 2024 blank */
.frame {
  border: var(--frame) solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
}
.frame-card  { aspect-ratio: 7 / 5; }
.frame-photo { aspect-ratio: 3 / 4; }
.frame-blank {
  border-color: var(--red);
  border-width: 8px;
  margin-top: 24px;
}

/* Placeholders: easy to spot, gone once the real thing is in */
.ph-frame span {
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ph {
  border-left: var(--frame) solid var(--ink);
  padding-left: 12px;
}

/* Footer: one quiet line */
.foot {
  border-top: var(--rule) solid var(--ink);
  padding: 20px 0 40px;
  font-size: 0.9375rem;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .masthead { padding: 64px 0 48px; }
  .card { padding: 28px 0 80px; }
  .title { margin: 20px 0 32px; }
  .photos { gap: 16px; }
}
