/* Shared look for the pages behind the front page: white paper, black ink, small spaced labels,
   and the same flat project colours as the strokes on the front page. */
:root {
  --ink: #111111; --paper: #ffffff; --soft: #555555;
  --cyan: #3FD8F2; --red: #FF4636; --acid: #E6FF2E; --orange: #FF7300; --magenta: #FF2BB8;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --pad: 32px; --gap: 20px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body { font-size: 15px; line-height: 1.6; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lab { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 20px var(--pad); }
.head a { text-decoration: none; }
.head .mid { text-align: center; color: #444; }
.head nav { display: flex; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.head nav a:hover, .head nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.intro { padding: clamp(36px, 6vw, 72px) var(--pad) clamp(32px, 4vw, 48px); display: grid; gap: 12px; }
.intro h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.6vw, 76px); line-height: .92; text-transform: uppercase; }
.intro p { max-width: 36rem; color: #333; }
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--pad); align-items: stretch; }
.panel { background: var(--bg, var(--paper)); padding: 20px 24px 30px; display: flex; flex-direction: column; gap: 12px; }
.panel.line { border: 2px solid var(--ink); padding: 18px 22px 28px; }
.panel .top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.panel h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: .95; text-transform: uppercase; margin-bottom: 4px; }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.1; text-transform: uppercase; margin-top: 10px; }
.panel p { max-width: 34rem; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; max-width: 34rem; }
.panel li { position: relative; padding-left: 1.2em; }
.panel li::before { content: "/"; position: absolute; left: 0; }
.panel a { text-underline-offset: 3px; }
.foot { margin: clamp(48px, 6vw, 80px) var(--pad) 0; padding: 20px 0 32px; border-top: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; color: var(--soft); }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .panels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  :root { --pad: 16px; --gap: 12px; }
  .head { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .head .mid { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}
.btn { display: inline-block; padding: 12px 18px; background: var(--ink); color: var(--paper) !important; text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.btn:hover { background: #333; }
/* Press page: the one-line finding, the share image to download, and the small print under it. */
.panel .lead { font-size: 19px; line-height: 1.3; font-weight: 600; max-width: 30rem; }
.panel .shot { display: block; margin-top: 6px; border: 2px solid var(--ink); }
.panel .shot img { display: block; width: 100%; height: auto; }
.panel .small { font-size: 13px; line-height: 1.5; }

/* Language choice in the header: the current language in ink, the other one a link. */
.lang { display: inline-flex; gap: 8px; color: #666; }
.lang [aria-current] { color: var(--ink); }
.lang > * + *::before { content: "/"; display: inline-block; margin-right: 8px; color: #666; }
.lang a:hover { color: var(--ink); }
@media (max-width: 700px) { .head nav { gap: 8px 16px; } }
