@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

/* On the record¹ — the Footnote system.
   paper — flat, cool off-white
   ink   — true black
   cite  — footnote blue: superscripts, footnote numbers and the record table, nothing else
   quiet — secondary text */
:root {
  --paper: #F2F2EF;
  --ink: #000;
  --cite: #1F48B8;
  --quiet: #5E5E5E;
  --tile: #E7E7E3;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cite); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* The device: a statement ends in its entry number. */
sup.c { color: var(--cite); font-weight: 800; font-size: .58em; vertical-align: .75em; line-height: 0; margin-left: .04em; letter-spacing: 0; }
.statement { font-weight: 800; letter-spacing: -.035em; line-height: 1; text-indent: -.4em; padding-left: .4em; margin: 0; }
.footnote { margin: 0; font-size: 15px; line-height: 1.45; border-top: 2px solid var(--ink); padding-top: 12px; max-width: 46ch; }
.footnote b { color: var(--cite); font-weight: 800; margin-right: 6px; }

/* Masthead */
.bar { font-size: 13px; border-bottom: 1px solid var(--ink); }
.bar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.bar span:last-child { color: var(--quiet); }
.masthead { border-bottom: 5px solid var(--ink); }
.masthead .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 22px; padding-bottom: 18px; }
.logo { font-weight: 800; font-size: 30px; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.masthead nav { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.masthead nav a { text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Product: photo left, the record and the order form right. Used on home (latest entry) and entry pages. */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-bottom: 1px solid var(--ink); }
.gallery { border-right: 1px solid var(--ink); }
.gallery .main { background: var(--tile); aspect-ratio: 1 / 1.08; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 1px; background: var(--ink); border-top: 1px solid var(--ink); }
.gallery .thumbs button { all: unset; cursor: pointer; flex: 1; aspect-ratio: 1; background: var(--tile); }
.gallery .thumbs button img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.gallery .thumbs button[aria-pressed="true"] img, .gallery .thumbs button:hover img { opacity: 1; }
.info { padding: 34px 0 34px 40px; display: flex; flex-direction: column; }
.entry { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.entry span:last-child { color: var(--cite); }
.info .statement { font-size: clamp(38px, 4.4vw, 66px); margin-top: 28px; }
.info .statement.long { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.04; }
.info .footnote { margin-top: auto; padding-top: 12px; }
.info .footnote-wrap { margin-top: auto; padding-top: 28px; }

.order { margin-top: 28px; }
.order .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.order .price { font-weight: 800; font-size: 22px; }
.order .meta { font-size: 14px; color: var(--quiet); }
.order fieldset { border: 0; padding: 0; margin: 0 0 10px; }
.order legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; border: 1px solid var(--ink); }
.seg label { position: relative; text-align: center; padding: 11px 0; font-weight: 600; font-size: 14px; border-right: 1px solid var(--ink); cursor: pointer; }
.seg label:last-child { border-right: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--ink); color: var(--paper); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--cite); outline-offset: -3px; }
.button { display: block; width: 100%; margin-top: 6px; background: var(--ink); color: var(--paper); border: 0; font: 800 16px var(--sans); padding: 17px; cursor: pointer; text-align: center; text-decoration: none; }
.button:hover { background: var(--cite); }
.button:disabled { opacity: .6; cursor: wait; }
.status { min-height: 1.5em; color: #B00020; font-weight: 600; font-size: 14px; margin: 8px 0 0; }
.fine { font-size: 13px; color: var(--quiet); margin: 4px 0 0; }

/* Home: the statement of purpose, then the record. */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding: 44px 0 48px; border-bottom: 5px solid var(--ink); }
.why h1, .why h2 { margin: 0; font-size: 30px; letter-spacing: -.03em; line-height: 1.05; font-weight: 800; }
.why p { margin: 0; font-size: 19px; max-width: 60ch; }

.record { padding: 44px 0 80px; }
.record .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.record h2 { margin: 0; font-size: 30px; letter-spacing: -.03em; font-weight: 800; }
.record .head span { font-size: 14px; color: var(--quiet); }
.record table { width: 100%; border-collapse: collapse; }
.record th { text-align: left; font-size: 13px; font-weight: 600; color: var(--cite); border-top: 2px solid var(--cite); border-bottom: 1px solid var(--cite); padding: 8px 14px 8px 0; }
.record td { border-bottom: 1px solid var(--cite); padding: 16px 16px 16px 0; vertical-align: top; }
.record td.no { font-weight: 800; color: var(--cite); width: 70px; font-variant-numeric: tabular-nums; }
.record td.thumb { width: 92px; }
.record td.thumb img { width: 76px; height: 76px; object-fit: cover; background: var(--tile); }
.record td.who { width: 22%; font-weight: 600; }
.record td.who span { display: block; font-weight: 400; color: var(--quiet); font-size: 14px; }
.record td.said { font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -.015em; }
.record td.said a { text-decoration: none; }
.record td.when { width: 130px; color: var(--quiet); font-size: 14px; white-space: nowrap; }
.record td.price { width: 90px; text-align: right; font-weight: 600; }
.record tr[data-href] { cursor: pointer; }
.record tr[data-href]:hover td.said a { text-decoration: underline; text-decoration-thickness: 2px; }
.record tr.next td { color: var(--quiet); }
.record tr.next td.said { font-weight: 400; font-style: italic; letter-spacing: 0; }

/* Entry page: what was going on, and where it's from. */
.context { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding: 44px 0 96px; }
.context h2 { margin: 0; font-size: 30px; letter-spacing: -.03em; line-height: 1.05; font-weight: 800; }
.context p { margin: 0 0 16px; font-size: 19px; max-width: 60ch; }
.context dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; margin: 24px 0 0; font-size: 15px; border-top: 1px solid var(--ink); padding-top: 14px; max-width: 64ch; }
.context dt { font-weight: 600; }
.context dd { margin: 0; overflow-wrap: anywhere; }

/* Plain pages */
.page { max-width: 66ch; padding: 48px 0 96px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 28px; font-weight: 800; }
.page h2 { font-size: 20px; margin: 36px 0 8px; font-weight: 800; }
.page p, .page li { font-size: 17px; }
.page ol { padding-left: 1.2em; }
.page li { margin-bottom: 10px; }

/* Footer, set as the page's footnotes. */
.colophon { border-top: 5px solid var(--ink); padding: 26px 0 60px; font-size: 14px; }
.colophon .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.colophon .stacked { width: 150px; height: auto; margin: 0 0 22px -6px; }
.colophon p { margin: 0; max-width: 58ch; }
.colophon p b { color: var(--cite); margin-right: 6px; }
.colophon ul { margin: 0; padding: 0; list-style: none; line-height: 1.9; }
.colophon ul a { text-decoration: none; }
.colophon ul a:hover { text-decoration: underline; }
.colophon .small { color: var(--quiet); }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .bar span:last-child { display: none; }
  .masthead .wrap { flex-wrap: wrap; padding-top: 16px; padding-bottom: 12px; gap: 6px 20px; }
  .logo { font-size: 24px; }
  .masthead nav { gap: 18px; font-size: 14px; }
  .product, .why, .context, .colophon .wrap { grid-template-columns: 1fr; gap: 24px; }
  .gallery { border-right: 0; margin: 0 -16px; }
  .info { padding: 24px 0 32px; }
  .record td.who, .record td.when, .record td.thumb, .record th.who, .record th.when, .record th.thumb { display: none; }
  .record td.said { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
