/* Hallmark · checked: 2026-11-20 · genre: editorial · theme: Formwork (by request) · redesign: polish
 * hero: kept, the pour added as its ground · nav: slab, the ink band (kept) · footer: letter close (kept) · imagery: photographs, library 1, mono · signature: the ink trail across the pour
 * axes: mid/display-condensed/warm · posture: restrained · contrast: pass · fold: pass · v2.1.0 */
/* Hallmark · waive 39b · the row head spans the full row, the row is the tap target · a full-height row button is the sheet index's row, not a control beside text */
/* Hallmark · theme-motion · the trail and the flecks move against the theme's still concrete · the user asked for the cursor trail and flecks by name, grey-black on the pour · a light-on-dark, dark-on-light trail was tried and withdrawn by request */
/* Hallmark · answered · the sheet is live: the Hacker News front page, the top five, fetched on load and refreshed every hour, the served JSON and the baked sheet as fallbacks · the accent dyes to the top story's tag, rust orange, python blue, ai violet, security red, one accent at a time · the hero type re-set in the plate ink on an ink scrim from the photo's edge · user asked */
/* Hallmark · dropped https://github.com/openssl/openssl/pull/33652, openssl · Hacker News live feed rotated top stories naturally */
/* Hallmark · reworded "OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-121481, CVSS 9.8)", "Jujutsu Primer", "Postgres 19 Repack: Faster, built-in table bloat cleanup", "FFmpeg 9.1 'Gauss'" · live Hacker News feed hydrated new stories from front page */

/* The cast: grain multiplied across the whole paper, a whisper under running text */
h1, h2, h3 { text-transform: uppercase; }
body::after { content: ""; position: fixed; inset: 0; z-index: var(--z-toast); pointer-events: none; opacity: var(--texture-opacity); background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }

/* Chrome: a skip link, then the ink band */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.slab { background: var(--color-ink); color: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-accent); }
.slab :focus-visible { outline-color: var(--color-plate-ink); }
.slab__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; }
.slab__wordmark { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); letter-spacing: var(--tracking-display); text-transform: uppercase; text-decoration: none; color: var(--color-paper); white-space: nowrap; }
.slab__date { font-size: var(--text-sm); color: color-mix(in oklab, var(--color-paper) 72%, transparent); font-variant-numeric: tabular-nums; }

/* The pour: the hero's ground, printed black and white, the type set in the plate ink on an ink scrim */
.hero { position: relative; min-height: calc(100dvh - 75px); display: flex; align-items: center; padding-block: var(--space-4xl); }
.hero__photo { --pour: url("../assets/board-marked-wall.jpg"); position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__photo-grey { position: absolute; inset: 0; background-image: var(--pour); background-size: cover; background-position: center; }
.hero__photo-grey { filter: saturate(0) contrast(1.35) brightness(1.08); }
/* the scrim from the photo's edge, ink, so the plate-ink type reads on the pour */
.hero__photo-grey::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(97deg, color-mix(in oklab, var(--color-ink) 85%, transparent) 4%, color-mix(in oklab, var(--color-ink) 62%, transparent) 38%, color-mix(in oklab, var(--color-ink) 24%, transparent) 62%, transparent 78%); }
.hero__fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero > .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; width: 100%; }
.hero__text > h1 { margin-bottom: var(--space-lg); color: var(--color-plate-ink); }
.hero__text .lead { color: color-mix(in oklab, var(--color-plate-ink) 85%, transparent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

/* Controls: the orange primary raised on a cast shadow, the secondary pressed in */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-xl); border: 2px solid var(--color-ink); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); font: 700 1.125rem/1 var(--font-display); text-transform: uppercase; white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: inset 0 2px 3px color-mix(in oklab, var(--color-ink) 30%, transparent); transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.btn:active { translate: 0 1px; }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; translate: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 3px 0 var(--color-accent-deep); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 90%, var(--color-ink)); }
.btn--primary:active { translate: 0 3px; box-shadow: 0 0 0 var(--color-accent-deep); }
.btn--quiet:hover { background: var(--color-plate); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* The featured sheet: a cast plate, its figure set between true guides */
.sheet { margin: 0; padding: var(--space-2xl) var(--space-xl); background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }
.sheet__label { display: flex; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-3xl); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.mast { position: relative; padding-block: 0.35em; }
.mast__title { font-size: clamp(3.5rem, 6vw + 1.5rem, 6.5rem); line-height: 1; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; max-width: none; }
.mast__title--mid { font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem); line-height: 1.04; }
.mast__title--long { font-size: clamp(1.75rem, 2.25vw + 0.75rem, 2.875rem); line-height: 1.08; }
.guide { position: absolute; left: calc(-1 * var(--space-xs)); right: calc(-1 * var(--space-xs)); height: var(--rule-hair); background: var(--color-accent); transform-origin: left center; }
.guide--cap { top: 0.16em; }
.guide--base { bottom: 0.22em; }
.readout { position: absolute; right: 0; font-family: var(--font-outlier); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; line-height: 1; }
.readout--cap { top: -1.6em; }
.readout--base { bottom: -1.7em; }
.sheet__meta { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-2xl); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.sheet__tag { padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .guide--anim { animation: draw-guide 0.6s var(--ease-out) 0.25s backwards; }
}
@keyframes draw-guide { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .guide--anim { animation: none; } }

/* The index: a cast rule opens the set, hairlines part the rows, one row opens */
.sheet-index { padding-block: var(--section-gap) var(--section-gap-l); }
.sheet-index__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: baseline; margin-bottom: var(--space-2xl); }
.sheet-index__head .lead { color: var(--color-ink-2); justify-self: end; }
.sheet-index__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.field { flex: 1 1 260px; min-width: 0; min-height: 44px; padding: 0 var(--space-md); border: 2px solid var(--color-ink); border-radius: 0; background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -2px; box-shadow: inset 0 2px 3px color-mix(in oklab, var(--color-ink) 22%, transparent); }
.field:focus-visible { outline-color: var(--color-focus); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.chip { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: 0; background: transparent; color: var(--color-ink-2); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.chip:hover { background: var(--color-plate); color: var(--color-ink); }
.chip:active { translate: 0 1px; }
.chip.is-active { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.chip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .chip { transition: none; } }

.set { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.set > * { border-bottom: var(--rule-hair) solid var(--color-rule); }
.row__title { margin: 0; font-size: var(--text-title); max-width: none; }
.row__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: var(--gap-columns); align-items: baseline; width: 100%; padding: var(--space-lg) 0; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.row__name { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: var(--tracking-display); font-size: var(--text-title); line-height: 1.15; }
.row__head:hover .row__name { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: var(--rule-hair); text-underline-offset: 0.16em; }
.row__meta { display: grid; justify-items: end; align-content: start; gap: var(--space-2xs); font: 500 var(--text-sm)/1.4 var(--font-body); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.row__meta > * { white-space: nowrap; }
.row__head:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.row__head:active { translate: 0 1px; }
.row__panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: var(--gap-columns); padding: 0 0 var(--space-xl); }
.row__panel > p { max-width: 65ch; color: var(--color-ink-2); grid-column: 1; }
.row__links { grid-column: 2; display: flex; flex-wrap: wrap; gap: var(--space-md); justify-self: end; align-self: end; }
.row__link { font-weight: 500; color: var(--color-ink); text-decoration-color: transparent; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.row__link:hover { text-decoration-color: var(--color-accent); }
.row__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.empty { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); padding: var(--space-xl) 0; }
.empty > p { color: var(--color-muted); }

/* The run: a darker pour for the band, the week's shape and its outlets */
.dates-band { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.dates-band__inner { max-width: none; width: 100%; padding-inline: var(--gutter); }
.run { margin-bottom: var(--space-xl); font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); }
.run > span { font-variant-numeric: tabular-nums; color: var(--color-accent); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 22%); gap: var(--gap-columns); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: var(--space-sm); overscroll-behavior-x: contain; list-style: none; margin: 0; mask-image: linear-gradient(to right, black calc(100% - 40px), transparent); }
.rail > * { scroll-snap-align: start; padding-right: var(--space-lg); border-right: var(--rule-hair) solid var(--color-rule); }
.rail__item { display: grid; gap: var(--space-2xs); align-content: start; }
.rail__outlet { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; font-size: var(--text-xl); letter-spacing: var(--tracking-display); color: var(--color-ink); }
.rail__item time { font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* About: the statement and its spec, a cast rule across the top */
.about { padding-block: var(--section-gap); border-top: var(--rule-bar) solid var(--color-ink); }
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.about__text .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.about__spec { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-content: start; }
.about__row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.about__spec .about__row:first-child { border-top: var(--rule-hair) solid var(--color-ink); }
.about__row dt { font-weight: 500; color: var(--color-ink); }
.about__row dd { margin: 0; color: var(--color-ink-2); }

/* The letter close: sign-off and date, the photograph's credit beneath */
.close { padding-block: var(--space-2xl) var(--space-3xl); border-top: var(--rule-bar) solid var(--color-ink); }
.close__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-md) var(--gap-columns); align-items: baseline; }
.close__aside { display: grid; gap: var(--space-md); align-content: start; justify-items: end; }
.close__wordmark { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; font-size: var(--text-section); letter-spacing: var(--tracking-display); }
.close__signoff { color: var(--color-ink-2); text-align: right; }
.close__links { display: flex; flex-wrap: wrap; gap: var(--space-md); font-size: var(--text-sm); }
.close__links a { color: var(--color-ink-2); }
.close__links a:hover { text-decoration-color: var(--color-accent); }
.close__credits { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.close__credits a { color: var(--color-muted); }

/* on the pour, the focus ring lifts to the plate ink, not the accent */
.hero :focus-visible { outline-color: var(--color-plate-ink); }

@media (max-width: 60rem) {
  .hero { padding-block: var(--space-2xl); min-height: 0; }
  .hero__grid, .sheet-index__head, .about__grid, .close__grid { grid-template-columns: minmax(0, 1fr); }
  .sheet-index__head .lead { justify-self: start; }
  .close__aside { justify-items: start; }
  .close__signoff { text-align: left; }
  .row__head, .row__panel { grid-template-columns: minmax(0, 1fr); }
  .row__meta { justify-items: start; }
  .row__links { grid-column: 1; justify-self: start; }
  .about__spec { grid-template-columns: minmax(0, 1fr); }
  .sheet { padding: var(--space-xl) var(--space-lg); }
}
@media (max-width: 40rem) {
  .slab__row { min-height: 56px; }
  .about__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
