/* Same identity as the experiment reports and tweet images: off-white page, serif display,
   Plex body, uppercase mono labels, hairline rules, joined-border number strips. */
:root {
  --bg: #fcfcfb; --panel: #f5f4f0; --card: #ffffff;
  --ink: #1a1a19; --ink-2: #4a4a46; --ink-3: #7c7b74;
  --rule: #e4e3dd; --rule-2: #c3c2b7;
  --m1: #2a78d6; --m2: #eb6834; --m3: #1baf7a;
  color-scheme: light;
  --display: "Instrument Serif", Georgia, serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px 80px; }
a { color: var(--m1); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(44px, 8vw, 76px); line-height: 1.02; margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.12; margin: 0 0 16px; }
p { margin: 0 0 16px; }
strong { font-weight: 600; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px;
}
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.back { display: inline-block; margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

header { padding: 64px 0 36px; border-bottom: 1px solid var(--rule); }
section { padding: 48px 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }

/* links row */
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }

/* number strip, as in "Jev, in three numbers" */
.setup {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 28px; border: 1px solid var(--rule); border-radius: 3px; background: var(--card);
}
.setup div { padding: 16px 18px; border-right: 1px solid var(--rule); }
.setup div:last-child { border-right: 0; }
.setup b { display: block; font-family: var(--mono); font-size: 26px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.setup span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 560px) {
  .setup { grid-template-columns: 1fr; }
  .setup b { font-size: 22px; }
  .lede { font-size: 18px; }
  header { padding-top: 40px; }
  .setup div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .setup div:last-child { border-bottom: 0; }
}

/* cards */
.card {
  display: block; margin: 18px 0 0; background: var(--card);
  border: 1px solid var(--rule); border-radius: 6px; padding: 22px 22px 14px; color: inherit;
}
a.card:hover { text-decoration: none; border-color: var(--rule-2); }
.card-t { font-family: var(--display); font-size: clamp(23px, 3.6vw, 30px); line-height: 1.15; margin: 0 0 6px; }
.card-s { font-size: 15px; color: var(--ink-2); margin: 0; }
.card-f {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); margin: 16px 0 0; padding-top: 10px; border-top: 1px solid var(--rule);
}
.card-f .go { color: var(--m1); }

/* resume */
.role { margin-bottom: 30px; }
.role:last-child { margin-bottom: 0; }
.role-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; }
.role-head strong { font-size: 17px; }
.role-head span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
ul { margin: 8px 0 0; padding-left: 20px; }
li { margin-bottom: 7px; color: var(--ink-2); }
li strong { color: var(--ink); }

/* experiment pages */
.callout { border-left: 3px solid var(--m2); padding: 2px 0 2px 18px; margin: 24px 0; color: var(--ink-2); }
figure { margin: 26px 0; }
figure img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 6px; background: var(--card); }
.cta {
  display: inline-block; margin-top: 8px; padding: 11px 18px; border: 1px solid var(--ink);
  border-radius: 3px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
}
.cta:hover { background: var(--ink); color: var(--bg); text-decoration: none; }

footer {
  margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3);
}
footer a { color: var(--ink-3); }

/* static tweet cards: no X widget, no third-party script or cookies */
.tweet { margin: 22px 0 0; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 18px 20px 12px; }
.tweet-h { display: flex; align-items: center; gap: 12px; }
.tweet-h img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.tweet-h b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.tweet-h span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.tweet-h .x { margin-left: auto; font-family: var(--mono); font-size: 15px; color: var(--ink); }
.tweet-b { white-space: pre-line; margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; }
.tweet .tweet { margin: 14px 0 0; background: var(--panel); padding: 14px 16px 10px; }
.tweet .tweet .tweet-h img { width: 28px; height: 28px; }
.tweet .tweet .tweet-b { font-size: 14.5px; color: var(--ink-2); }
.tweet-note { font-size: 14px; color: var(--ink-2); margin: 32px 0 -8px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.card-t a { color: inherit; }
.card-f a { color: var(--m1); }
.card:has(.card-t a:hover) { border-color: var(--rule-2); }
