/* The Cerumen Cabinet: a modern museum. Grey gallery wall, white object labels, black grotesk
 * placards, one ochre accent. Hanken Grotesk (SIL OFL, assets/OFL-hanken-grotesk.txt). */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/assets/hanken-grotesk-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/assets/hanken-grotesk-latin-700-normal.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #e9e8e4;
  --ink: #111111;
  --muted: #4a4a47;
  --accent: #111111;
  --accent-ink: #ffffff;
  --ochre: #c58a1c;
  --ochre-ink: #8a5a00;
  --surface: #ffffff;
  --line: #cfcdc6;
  --radius: 0;
  --font: 'Hanken Grotesk', 'Helvetica Neue', Arial, system-ui, sans-serif;
  font-family: var(--font);
}
body { background: var(--bg); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ochre-ink); outline-offset: 3px; }

/* Header: wall signage. Black type straight on the wall, a black rule under it. */
.site-header { padding-block: 28px 18px; border-bottom: 3px solid var(--ink); }
.site-brand { gap: 14px; font-weight: 800; font-size: 1.45rem; letter-spacing: -0.01em; }
.site-logo { width: 52px; height: 52px; }
.site-tagline { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

.site-main { padding-top: 36px; }
.ec-label { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ec-gallery { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.ec-gallery::before { content: ''; width: 14px; height: 14px; background: var(--ochre); }
.report-title { margin: 0; font-size: clamp(2rem, 7.5vw, 3.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.report-tagline { margin: 16px 0 0; font-size: 1.1rem; max-width: 32em; }

/* Object label: the white card next to every exhibit. */
.ec-object { margin: 24px 0 0; max-width: 30em; background: var(--surface); padding: 14px 18px; border-left: 6px solid var(--ochre); }
.ec-object div + div { margin-top: 8px; }
.ec-object dt { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ec-object dd { margin: 0; font-size: 1rem; }

.widget { background: var(--surface); text-align: left; padding: 24px 20px; margin: 32px 0; box-shadow: 0 1px 0 var(--line), 0 14px 30px -18px rgb(0 0 0 / 0.35); }
.widget-hint, .widget-msg { color: var(--muted); }
.widget-qrbox svg { margin: 12px 0 16px; padding: 8px; border: 1px solid var(--line); }
.widget-link, .widget-again { border-radius: 0; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 22px; }
.widget-link:hover, .widget-again:hover { background: var(--ochre-ink); }
.widget-error { color: var(--ink); font-weight: 600; border-left: 6px solid var(--ochre); padding-left: 12px; }

.ec-placard { margin-bottom: 20px; }
.ec-exhibit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; padding-bottom: 10px; border-bottom: 3px solid var(--ink); }
.ec-exhibit .ec-label:nth-of-type(2) { margin-left: 8px; }
.result-genotype { font-weight: 800; letter-spacing: 0.1em; }
.result-headline { margin: 14px 0 8px; font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.result-body { font-size: 1.08rem; }
.result-fact { background: var(--bg); border-left: 6px solid var(--ochre); padding: 10px 14px; }
.result-fact .ec-label, .result-disclaimer .ec-label { display: block; }
.result-disclaimer { font-size: 0.9rem; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--ink); }
.not-found h1 { font-size: clamp(2rem, 7vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
