html, body { background: #F5F3EE; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F5F3EE;
  --paper-2: #EDEAE2;
  --card: #FBFAF7;
  --ink: #15181E;
  --ink-2: #3A3F48;
  --muted: #5E636C;
  --rule: rgba(21, 24, 30, .13);
  --rule-strong: rgba(21, 24, 30, .28);
  --blue: #38629F;
  --blue-deep: #2A4C7D;
  --blue-wash: rgba(56, 98, 159, .09);
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1240px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: rgba(56, 98, 159, .25); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* faint ruled-notebook texture on the page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(to bottom, rgba(56, 98, 159, .045) 1px, transparent 1px);
  background-size: 100% 32px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 70%);
}

/* ---------- Labels ---------- */
.label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--blue { color: var(--blue); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .86);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.mark__box { width: 26px; height: 26px; flex: none; }
.mark__name { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 450; color: var(--ink-2); padding: 10px 14px; border-radius: 99px; transition: color .2s var(--ease), background-color .2s var(--ease); white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav .btn { margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1;
  text-decoration: none; cursor: pointer;
  padding: 13px 22px; min-height: 46px;
  border-radius: 99px; border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:hover svg.down { transform: translateY(2px); }
.nav .btn--primary { color: var(--paper); }
.nav .btn--primary:hover { background: var(--blue-deep); color: #fff; }

/* ---------- Verdict system ---------- */
.verdict {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
}
.verdict__glyph { width: 14px; height: 14px; flex: none; border: 1.5px solid var(--blue); border-radius: 3px; position: relative; }
.verdict--keep .verdict__glyph { background: var(--blue); }
.verdict--try .verdict__glyph { background: linear-gradient(to top, var(--blue) 50%, transparent 50%); }
.verdict--wait .verdict__glyph { background: transparent; }
.verdict--skip .verdict__glyph { border-color: var(--muted); }
.verdict--skip .verdict__glyph::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 1.5px; background: var(--muted); transform: rotate(-45deg); }
.verdict--skip { color: var(--muted); }
.verdict--market .verdict__glyph { border-radius: 50%; background: radial-gradient(circle, var(--blue) 0 3px, transparent 3.5px); }

.verdict-key { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.verdict-key li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.verdict-key .verdict { font-size: 11px; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 48px) clamp(32px, 6vw, 96px); align-items: start; }
.hero__head { grid-column: 1 / -1; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: .98; letter-spacing: -.028em;
  margin: 22px 0 0;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero__lede { max-width: 36rem; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-2); margin: 0; }
@media (min-width: 900px) { .hero h1 .line > span { white-space: nowrap; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.bench {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow: 0 1px 2px rgba(21,24,30,.04), 0 10px 30px rgba(21,24,30,.05);
}
.bench__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed var(--rule-strong); }
.bench ul { list-style: none; margin: 0; padding: 0; }
.bench li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.bench li:last-child { border-bottom: 0; }
.bench .box { width: 12px; height: 12px; border: 1.5px solid var(--ink-2); border-radius: 2px; transform: translateY(1px); }
.bench .box.done { background: var(--ink-2); box-shadow: inset 0 0 0 2px var(--card); }
.bench .box.doing { background: linear-gradient(to top, var(--ink-2) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--card); }
.bench small { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.bench__foot { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* ---------- Section heads ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.02em; margin: 10px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; color: var(--blue); font-size: 15px; padding: 8px 0; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- The ledger (signature) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.entry { border-bottom: 1px solid var(--rule); position: relative; }
.entry .entry__link {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 190px;
  gap: 8px 36px;
  padding: 26px 0 26px;
  text-decoration: none;
  position: relative;
}
.entry .entry__link::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.entry a.entry__link:hover::before, .entry a.entry__link:focus-visible::before { transform: scaleX(1); }
.entry__meta { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.entry__date { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.entry__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.entry h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.15; letter-spacing: -.012em; margin: 0; transition: color .2s var(--ease); }
.entry a.entry__link:hover h3 { color: var(--blue-deep); }
.entry__line { margin: 10px 0 0; color: var(--ink-2); font-size: 16.5px; max-width: 60ch; }
.entry__line b { font-weight: 500; color: var(--ink); }
.entry__verdict { padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.entry__verdict .read { font-size: 13px; color: var(--muted); }
.entry[hidden] { display: none; }

/* ---------- Hire strip ---------- */
.hire { background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; position: relative; overflow: hidden; }
.hire::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 100% 32px; }
.hire > * { position: relative; z-index: 1; }
.hire .label { color: rgba(245,243,238,.6); }
.hire h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -.02em; margin: 14px 0 0; }
.hire h2 em { color: #9DB8E0; }
.hire p { color: rgba(245,243,238,.78); margin: 0 0 22px; max-width: 34rem; }
.hire__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hire .btn--primary { background: var(--paper); color: var(--ink); }
.hire .btn--primary:hover { background: #fff; }
.hire .btn--ghost { color: var(--paper); border-color: rgba(245,243,238,.35); }
.hire .btn--ghost:hover { border-color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 56px; margin-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a { text-decoration: none; color: var(--ink-2); padding: 6px 0; }
.site-footer a:hover { color: var(--blue); }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.028em; margin: 18px 0 0; }
.page-head h1 em { color: var(--blue); }
.page-head p.lede { max-width: 40rem; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); margin: 22px 0 0; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 22px; }
.chip {
  font-family: var(--sans); font-size: 15px; font-weight: 450; color: var(--ink-2);
  background: transparent; border: 1px solid var(--rule-strong); border-radius: 99px;
  padding: 0 18px; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip sup { font-family: var(--mono); font-size: 10.5px; opacity: .65; top: -.1em; position: relative; vertical-align: baseline; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-bottom: 6px; }
.filter-status { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.sample-note {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
  background: var(--blue-wash); border-left: 2px solid var(--blue);
  padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 0 0 28px; max-width: 54rem;
}
.sample-note strong { font-weight: 500; }

/* ---------- Article ---------- */
.article-head { padding: clamp(40px, 6vw, 80px) 0 0; }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.article-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.026em; margin: 20px 0 0; max-width: 21ch; }
.article-head .dek { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); color: var(--ink-2); line-height: 1.4; max-width: 40rem; margin: 20px 0 0; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 24px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

.verdict-card {
  margin: clamp(32px, 4vw, 48px) 0 0;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  background: var(--card);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
}
.verdict-card > div { padding: 22px 24px; border-left: 1px solid var(--rule); }
.verdict-card > div:first-child { border-left: 0; }
.verdict-card dt { margin: 0 0 10px; }
.verdict-card dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.verdict-card dd strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); margin-bottom: 6px; }
.verdict-card .big { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.verdict-card .big .verdict__glyph { width: 20px; height: 20px; border-width: 2px; }

.article-body { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: 0 64px; margin-top: clamp(40px, 5vw, 64px); }
.prose { font-family: var(--serif); font-size: 20.5px; line-height: 1.62; color: var(--ink); }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 2.4em 0 .9em; display: flex; align-items: center; gap: 12px; }
.prose h2::before { content: attr(data-n); font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.prose a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul { padding-left: 1.1em; margin: 0 0 1.1em; }
.prose li { margin: 0 0 .45em; }
.prose li::marker { color: var(--blue); }
.prose code { font-family: var(--mono); font-size: .78em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px; }
.prose pre { font-family: var(--mono); font-size: 14px; line-height: 1.6; background: var(--ink); color: #E6E3DA; padding: 18px 20px; border-radius: 14px; overflow-x: auto; margin: 0 0 1.2em; }
.prose pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.prose blockquote { margin: 1.4em 0; padding: 0 0 0 22px; border-left: 2px solid var(--blue); font-style: italic; color: var(--ink-2); }

.aside { position: relative; }
.aside__sticky { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 28px; padding-top: 6px; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 14.5px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--blue); }
.margin-note { font-size: 14px; line-height: 1.55; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 14px; }
.margin-note .label { display: block; margin-bottom: 6px; }

/* wide content breaks out of the prose column */
.wide { --w: min(1360px, calc(100vw - 2 * var(--gutter) - 16px)); width: var(--w); margin: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 64px) calc((100% - var(--w)) / 2); }
@media (max-width: 1240px) { .wide { --w: 100%; } }
.table-cap { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.table-cap h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.015em; line-height: 1.1; margin: 8px 0 0; }
.table-cap p { margin: 0; font-size: 13.5px; color: var(--muted); }
.table-scroll {
  position: relative; overflow-x: auto; border: 1px solid var(--rule-strong); border-radius: 16px; background: var(--card);
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.table-scroll:focus-visible { outline-offset: 2px; }
table.compare { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1020px; font-size: 14.5px; line-height: 1.45; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border-bottom: 1px solid var(--rule-strong); white-space: nowrap; position: sticky; top: 0; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare th[scope="row"] { font-weight: 500; color: var(--ink); min-width: 190px; }
.compare th[scope="row"] small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.compare .sticky-col { position: sticky; left: 0; background: var(--card); z-index: 1; box-shadow: 1px 0 0 var(--rule); }
.compare thead .sticky-col { background: var(--paper-2); z-index: 2; }
.compare tbody tr:hover > * { background: #F3F1EB; }
.compare tr.is-subject > * { background: var(--blue-wash); }
.compare tr.is-subject th[scope="row"] { box-shadow: inset 3px 0 0 var(--blue), 1px 0 0 var(--rule); background: #EEF1F5; }
.compare .num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.yes::before, .no::before, .part::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.yes::before { background: var(--blue); }
.part::before { background: linear-gradient(to right, var(--blue) 50%, transparent 50%); box-shadow: inset 0 0 0 1.25px var(--blue); }
.no::before { box-shadow: inset 0 0 0 1.25px var(--muted); }
.no { color: var(--muted); }
.scroll-hint { display: none; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 10px; }

/* ---------- About / CV ---------- */
.cv-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px 72px; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--rule); }
.cv-grid > h2 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; }
.cv-grid > h2 span { color: var(--blue); margin-right: 10px; }
.profile { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.5; margin: 0; max-width: 36em; }
.profile + p { color: var(--ink-2); max-width: 40rem; margin: 18px 0 0; }
.download { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 640px; }
.dl {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  border: 1.5px solid var(--ink); border-radius: 18px; padding: 18px 20px; background: var(--card);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.dl:hover { background: var(--ink); color: var(--paper); }
.dl:hover .dl__meta { color: rgba(245,243,238,.7); }
.dl:active { transform: scale(.98); }
.dl__icon { width: 40px; height: 48px; flex: none; }
.dl__text { display: flex; flex-direction: column; gap: 2px; }
.dl__title { font-weight: 500; font-size: 16px; }
.dl__meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.dl__arrow { margin-left: auto; width: 18px; height: 18px; }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.skills h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; margin: 0 0 10px; letter-spacing: -.01em; }
.skills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { font-size: 14.5px; padding: 5px 12px; border: 1px solid var(--rule-strong); border-radius: 99px; color: var(--ink-2); }
.skills li.core { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-wash); }
.skills-key { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; display: flex; align-items: center; gap: 8px; }
.skills-key i { width: 22px; height: 12px; border-radius: 99px; border: 1px solid var(--blue); background: var(--blue-wash); display: inline-block; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.timeline li:first-child { padding-top: 4px; }
.timeline .when { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); padding-top: 5px; font-variant-numeric: tabular-nums; }
.timeline h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0; letter-spacing: -.01em; line-height: 1.2; }
.timeline h3 span { color: var(--muted); }
.timeline p { margin: 8px 0 0; color: var(--ink-2); max-width: 46rem; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: p; }
.principles div { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.principles h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 8px; line-height: 1.2; }
.principles p { margin: 0; color: var(--ink-2); font-size: 16px; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; }
.contact-lines a { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); color: var(--ink); text-decoration: none; letter-spacing: -.01em; width: fit-content; background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
.contact-lines a:hover { background-size: 100% 1.5px; color: var(--blue-deep); }

/* ---------- Reveal (fail-safe: only hidden when JS has run) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero h1 .line > span { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .hero.is-in h1 .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .hero h1 .line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .bench { max-width: 520px; }
  .article-body { grid-template-columns: minmax(0, 1fr); }
  .aside { display: none; }
  .prose { max-width: 680px; }
  .verdict-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verdict-card > div:nth-child(3) { border-left: 0; }
  .verdict-card > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .cv-grid { grid-template-columns: 1fr; gap: 20px; }
  .hire { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .site-header .wrap { height: 62px; }
  .mark__name { font-size: 19px; }
  .mark__box { width: 22px; height: 22px; }
  .nav { gap: 0; }
  .nav a { padding: 10px 9px; font-size: 14.5px; }
  .nav .btn { margin-left: 4px; padding: 10px 14px; min-height: 40px; }
  .nav .hide-sm { display: none; }
  .entry .entry__link { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .entry__meta { flex-direction: row; gap: 14px; padding-top: 0; align-items: baseline; }
  .entry__verdict { flex-direction: row; align-items: center; gap: 14px; padding-top: 2px; }
  .hire { border-radius: 22px; }
  .hire__actions .btn, .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .verdict-card { grid-template-columns: 1fr; }
  .verdict-card > div { border-left: 0 !important; border-top: 1px solid var(--rule); padding: 18px 20px; }
  .verdict-card > div:first-child { border-top: 0; }
  .prose { font-size: 19px; }
  .scroll-hint { display: block; }
  .download { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .principles { grid-template-columns: 1fr; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 370px) {
  .nav a:not(.btn) { padding: 10px 6px; }
}
