/* Hermes Benchmarks — news front page + articles.
   Look: light developer-dashboard (gray page, white 1px-bordered cards, black type,
   mono eyebrows, green status accent). Reference: gonka-api.org/dashboard. */
:root {
  --bg: #f7f7f7; --surface: #fff; --inset: #fafafa; --chip: #f4f4f5;
  --border: #e4e4e7; --row: #ededed; --strong: #18181b;
  --text: #18181b; --text-2: #52525b; --muted: #71717a; --faint: #a1a1aa;
  --green: #22c55e;
  --sans: "Inter", "Geist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ink: var(--text); --paper: var(--surface); --rule: var(--border);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 976px; margin: 0 auto; padding: 0 24px; }
.sans { font-family: var(--sans); }

/* Header bar */
.utility { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; margin: 0 -24px; padding: 0 24px; background: var(--surface);
  border-bottom: 1px solid var(--border); font: 500 13px/1.2 var(--sans); }
.utility nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.utility nav:first-child a:first-child { font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--text);
  display: inline-flex; align-items: center; gap: 10px; }
.utility nav:first-child a:first-child::before { content: "H"; display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--strong); color: #fff; font: 800 13px/1 var(--sans); }
.utility a { text-decoration: none; color: var(--text-2); }
.utility a:hover { color: var(--text); }
.utility a[href="/dashboard.html"]::before { content: ""; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }
.utility a[href^="mailto:"] { font-family: var(--mono); font-size: 12.5px; text-transform: none; letter-spacing: 0; }

/* Hero / masthead */
.masthead { text-align: left; padding: 56px 0 8px; border: 0; }
.masthead h1, .masthead .wordmark { margin: 0; font: 700 clamp(36px, 6vw, 52px)/1 var(--sans);
  letter-spacing: -.03em; color: var(--text); }
.masthead h1 a, .masthead .wordmark a { text-decoration: none; }
.masthead h1::after, .masthead .wordmark::after { content: ""; display: block; width: 48px; height: 2px;
  background: var(--strong); margin-top: 16px; }
.tagline { margin: 14px 0 0; color: var(--text-2); font-size: 15px; font-style: normal; }
.dateline { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 0 0; border: 0; font: 500 11px/1.2 var(--mono); letter-spacing: .16em;
  text-transform: uppercase; color: var(--faint); }

/* Front page */
.front { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 40px 0 24px; align-items: start; }
.lead { background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--strong);
  border-radius: 0 0 4px 4px; padding: 28px; }
.side { display: grid; gap: 24px; padding: 0; border: 0; }
.side section { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.side section + section { margin-top: 0; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.lead h2 { font: 700 clamp(24px, 3.4vw, 34px)/1.15 var(--sans); letter-spacing: -.025em; margin: 0 0 14px; }
.lead h2 a { text-decoration: none; }
.lead h2 a:hover { text-decoration: underline; }
.dek { font-size: 17px; line-height: 1.55; color: var(--text-2); margin: 0 0 16px; }
.byline { font: 400 12px/1.4 var(--mono); color: var(--muted); margin: 0 0 18px; letter-spacing: .02em; }
.pending { background: var(--inset); border: 1px solid var(--border); border-radius: 2px; padding: 16px 18px; }
.side h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 0; border: 0;
  font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.side p { margin: 0 0 14px; font-size: 14px; color: var(--text-2); }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  background: var(--strong); color: #fff; border: 1px solid var(--strong); border-radius: 2px;
  font: 500 13px/1 var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none; }
.btn:hover { background: #fff; color: var(--text); outline: 0; }
.lead .more-link { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; margin-top: 2px;
  background: #fff; color: var(--text); border: 1px solid var(--strong); border-radius: 2px;
  font: 500 13px/1 var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none; }
.lead .more-link:hover { background: var(--strong); color: #fff; }
.contact { list-style: none; padding: 0; margin: 0; }
.contact li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; border-top: 1px solid var(--row); font-size: 14px; }
.contact li:first-child { border-top: 0; padding-top: 0; }
.contact .k { display: inline-grid; place-items: center; width: auto; min-width: 46px; height: 22px; padding: 0 6px;
  background: var(--chip); border-radius: 4px; font: 500 10px/1 var(--mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-2); }
.contact a { font-family: var(--mono); font-size: 13px; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { text-decoration: underline; }

.more { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 24px; margin: 0 0 40px; }
.more h3 { margin: 0 0 16px; font: 600 15px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.stories { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stories > li { border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.stories > li.empty { grid-column: 1 / -1; border-style: dashed; color: var(--faint); font: 400 13px var(--mono); }
.stories h4 { font: 600 16px/1.3 var(--sans); letter-spacing: -.01em; margin: 0 0 6px; }
.stories h4 a { text-decoration: none; }
.stories p { margin: 0; font-size: 13px; color: var(--muted); }

/* Article pages */
.article { max-width: 720px; margin: 32px auto 40px; padding: 36px 40px 40px; background: var(--surface);
  border: 1px solid var(--border); border-top: 2px solid var(--strong); border-radius: 0 0 4px 4px; }
.article h1 { font: 700 clamp(28px, 4.4vw, 42px)/1.1 var(--sans); letter-spacing: -.03em; margin: 0 0 16px; }
.article .body { font-size: 16.5px; line-height: 1.7; color: #27272a; }
.article .body p { margin: 0 0 1.1em; }
.article .body h2 { font: 700 22px/1.25 var(--sans); letter-spacing: -.02em; margin: 1.8em 0 .5em; color: var(--text); }
.article .body h3 { font: 600 17px/1.3 var(--sans); letter-spacing: -.01em; margin: 1.5em 0 .4em; color: var(--text); }
.article .body ul { margin: 0 0 1.2em; padding-left: 22px; }
.article .body li { margin: 0 0 .55em; }
.article .body blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--strong); color: var(--text-2); font-style: normal; }
.article img { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 4px; }
.article .body .note { margin: 1.6em 0; padding: 14px 18px; background: var(--inset); border: 1px solid var(--border);
  border-radius: 2px; font: 400 14px/1.6 var(--sans); }
.article .body .note b { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.article .body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14px; }
.article .body th { text-align: left; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border); padding: 10px 8px; }
.article .body td { border-top: 1px solid var(--row); padding: 10px 8px; font-family: var(--mono); font-size: 13px; }
.article .body code { font-family: var(--mono); font-size: .88em; background: var(--chip); padding: 1px 5px; border-radius: 3px; }
.article .sources { margin-top: 2.4em; border-top: 1px solid var(--border); padding-top: 20px; }
.article .sources h2 { font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.article .sources ul { list-style: none; padding: 0; margin: 0; }
.article .sources li { font-size: 13.5px; line-height: 1.5; margin: 0 0 .7em; color: var(--text-2); overflow-wrap: anywhere; }
.article .disclosure { margin-top: 1.6em; padding: 12px 14px; background: var(--inset); border: 1px solid var(--border);
  border-radius: 2px; font: 400 12px/1.6 var(--mono); color: var(--muted); }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 40px;
  border-top: 1px solid var(--border); font: 400 12px/1.6 var(--mono); color: var(--muted); }
.foot a { text-decoration: none; color: var(--text-2); }
.foot a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 820px) {
  .front { grid-template-columns: minmax(0, 1fr); }
  .stories { grid-template-columns: minmax(0, 1fr); }
  .utility { padding: 12px 24px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .masthead { padding-top: 36px; }
  .article { padding: 24px 20px 28px; margin: 24px 0; }
  .lead { padding: 22px; }
}


/* polish pass */
html, body { overflow-x: clip; }
.utility { position: relative; isolation: isolate; margin: 0; padding: 0; background: none; border-bottom: 0; }
.utility::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vmax; right: -100vmax;
  background: var(--surface); border-bottom: 1px solid var(--border); }
.utility nav:last-child a { font-family: var(--mono); font-size: 12.5px; }
.side h3::before, .more h3::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.more h3 { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lead h2, .article h1, .masthead h1, .tagline, .dek { text-wrap: balance; }
.article { margin: 32px 0 40px; }
.article > .byline { padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--row); }
body:has(.article) .masthead { padding: 36px 0 0; }
body:has(.article) .masthead h1, body:has(.article) .masthead .wordmark { font-size: 26px; letter-spacing: -.02em; }
body:has(.article) .masthead h1::after, body:has(.article) .masthead .wordmark::after { margin-top: 12px; width: 32px; }
@media (max-width: 820px) { .utility { padding: 12px 0; } .article { margin: 24px 0; } }
.article { max-width: none; }
.article > * { max-width: 700px; }
.contact a { overflow-wrap: normal; }
@media (max-width: 360px) { .contact a { font-size: 11.5px; } .contact .k { min-width: 40px; } }

.utility a[href^="mailto:"] { text-transform: none; letter-spacing: .02em; }

/* ---------- story additions (appended 2026-10-27, additive only) ---------- */
.article .body ul { margin: 0 0 1.2em; padding-left: 22px; }
.article .body li { margin: 0 0 .55em; }
.article .body h3 { font-family: "Inter", "Helvetica Neue", Arial, sans-serif; font-size: 17px;
  letter-spacing: .02em; margin: 1.5em 0 .4em; }
.article .body .note { margin: 1.6em 0; padding: 14px 18px; border: 1px solid var(--rule);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif; font-size: 14px; line-height: 1.55;
  letter-spacing: .01em; }
.article .body .note b { letter-spacing: .12em; }
.article .sources { margin-top: 2.4em; border-top: 1px solid var(--rule); padding-top: 18px; }
.article .sources h2 { font-size: 20px; margin: 0 0 .6em; }
.article .sources ul { list-style: none; padding: 0; }
.article .sources li { font-size: 15px; line-height: 1.5; margin: 0 0 .7em; }
.article .disclosure { margin-top: 1.6em; font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.lead .more-link { display: inline-block; margin-top: 4px; font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-bottom: 2px solid var(--ink); }

