/* ═══════════════════════════════════════════════════════════════
   Vishal Vashisht — shared site styles
   High-contrast revision: same dark cyan scheme, raised text
   luminance and larger minimum type for low-vision readability.
   ─ contrast on #0c0c0c ──────────────────────────────────────────
   --text    #f4f1eb  ≈ 16.6:1     --text-3 #aea9a1  ≈  8.3:1
   --text-1  #ddd9d1  ≈ 13.0:1     --text-4 #96918a  ≈  6.3:1
   --text-2  #c5c0b8  ≈ 10.1:1     --accent #2ad4e2  ≈ 10.0:1
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --bg: #0c0c0c;
  --bg-alt: #101010;
  --bg-card: #141414;
  --bg-chip: #171717;
  --line: #292929;
  --line-soft: #343434;

  --text:   #f4f1eb;
  --text-1: #ddd9d1;
  --text-2: #c5c0b8;
  --text-3: #aea9a1;
  --text-4: #96918a;

  --accent: #2ad4e2;
  --accent-08: color-mix(in srgb, var(--accent) 8%, transparent);
  --accent-10: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-35: color-mix(in srgb, var(--accent) 45%, transparent);
  --accent-40: color-mix(in srgb, var(--accent) 55%, transparent);

  --mono: 'Space Mono', ui-monospace, SFMono-Regular, monospace;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dim, #8ce7ef); }

::selection { background: var(--accent); color: #06181b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; }
.sec { padding: 96px 32px; border-bottom: 1px solid var(--line); }
.sec--alt { background: var(--bg-alt); }
.sec--tight { padding: 72px 32px; }

.split { display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: start; }
.stack-lg { display: flex; flex-direction: column; gap: 22px; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,12,12,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 66px;
}
.nav-logo {
  font-family: var(--mono); font-size: 16px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em; flex: 0 0 auto;
}
.nav-logo:hover { color: #8ce7ef; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-link {
  font-size: 14px; color: var(--text-3); letter-spacing: 0.03em;
  white-space: nowrap; padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.nav-contact {
  font-size: 14px; color: var(--accent); border: 1px solid var(--accent-35);
  padding: 8px 18px; border-radius: 2px; letter-spacing: 0.03em; white-space: nowrap;
}
.nav-contact:hover { background: var(--accent-10); color: var(--accent); }

@media (max-width: 1080px) {
  .nav__inner { flex-direction: column; align-items: stretch; height: auto; padding: 12px 20px 0; gap: 10px; }
  .nav__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .nav-links {
    gap: 20px; overflow-x: auto; padding: 4px 0 12px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
}
@media (min-width: 1081px) {
  .nav__top { display: contents; }
}

/* ── Typography ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5;
}
.eyebrow--muted { color: var(--text-4); }

h1, h2, h3 { letter-spacing: -0.025em; color: var(--text); line-height: 1.15; }
.h1 { font-size: clamp(46px, 6.5vw, 84px); font-weight: 700; line-height: 0.94; letter-spacing: -0.04em; }
.h2 { font-size: clamp(28px, 3.4vw, 34px); font-weight: 700; }
.h3 { font-size: 23px; font-weight: 600; }
.h1-page { font-size: clamp(34px, 4.6vw, 48px); font-weight: 700; letter-spacing: -0.03em; }

.lead { font-size: 21px; color: var(--text); line-height: 1.55; letter-spacing: -0.01em; }
.p { font-size: 17px; color: var(--text-2); line-height: 1.8; }
.p--soft { color: var(--text-3); }
.p--big { font-size: 18px; color: var(--text-1); line-height: 1.8; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--text-4); letter-spacing: 0.06em; line-height: 1.6; }
strong { color: var(--text); font-weight: 600; }

/* ── Rows (the list-of-capabilities pattern) ────────────── */
.rows { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.row { background: var(--bg); padding: 24px 30px; }
.sec--alt .row { background: var(--bg-alt); }
.row p { font-size: 17px; color: var(--text-2); line-height: 1.65; }

/* ── Cards ──────────────────────────────────────────────── */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--bg); padding: 36px; }
.sec--alt .cell { background: var(--bg-alt); }
.cell--lg { padding: 42px; }

.card { border: 1px solid var(--line); padding: 30px; background: var(--bg-card); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.stat-n { font-size: 54px; font-weight: 700; color: var(--accent); letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; }
.stat-t { font-size: 15px; color: var(--text-3); line-height: 1.65; }

.callout { border-left: 2px solid var(--accent); padding: 22px 28px; background: var(--bg-card); }
.callout p { font-size: 17px; color: var(--text-2); line-height: 1.8; }
.note { font-size: 17px; color: var(--text-3); line-height: 1.8; font-style: italic; }

/* ── Chips ──────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; color: var(--text-3); padding: 5px 11px; border: 1px solid var(--line-soft); background: var(--bg-chip); line-height: 1.4; }
.chip--mono { font-family: var(--mono); font-size: 12px; }

/* ── Bullet lists ───────────────────────────────────────── */
.bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.bullets li { font-size: 16px; color: var(--text-2); line-height: 1.7; padding-left: 24px; position: relative; }
.bullets li::before {
  content: '›'; position: absolute; left: 0; top: -1px;
  color: var(--accent); font-family: var(--mono); font-size: 15px; font-weight: 700;
}
.plain { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.plain li { font-size: 15px; color: var(--text-2); line-height: 1.55; }
.plain li.sub { font-size: 14px; color: var(--text-4); font-style: italic; padding-top: 6px; border-top: 1px solid var(--line); }

/* ── Buttons & links ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 19px;
  border: 1px solid var(--line-soft); background: var(--bg-card);
  color: var(--text-2); font-size: 14px; border-radius: 2px; letter-spacing: 0.03em;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn--accent { border-color: var(--accent-40); color: var(--accent); background: transparent; }
.btn--accent:hover { background: var(--accent-08); color: var(--accent); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Page header (sub-pages) ────────────────────────────── */
.phead { padding: 72px 32px 0; }
.phead__inner { max-width: 1200px; margin: 0 auto; }
.crumb { font-family: var(--mono); font-size: 12px; color: var(--text-4); letter-spacing: 0.08em; margin-bottom: 26px; }
.crumb a { color: var(--text-3); }
.crumb a:hover { color: var(--accent); }

/* ── Next / previous page strip ─────────────────────────── */
.pager { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pager a { display: block; background: var(--bg); padding: 30px 32px; }
.pager a:hover { background: var(--bg-card); }
.pager .k { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.pager .t { font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -0.015em; }
.pager .d { font-size: 15px; color: var(--text-3); line-height: 1.6; margin-top: 8px; }

/* ── Timeline / experience article ──────────────────────── */
.tl { display: flex; flex-wrap: wrap; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.tl__when { min-width: 190px; flex: 0 0 190px; }
.tl__body { flex: 1; min-width: 280px; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { padding: 64px 32px 40px; background: var(--bg); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; margin-bottom: 52px; }
.footer__links { display: flex; flex-direction: column; gap: 13px; align-items: flex-end; }
.footer-link { font-family: var(--mono); font-size: 14px; color: var(--text-4); }
.footer-link:hover { color: var(--accent); }
.footer__bar { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer__bar p { font-family: var(--mono); font-size: 12px; color: var(--text-4); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 40px; }
.footer__nav a { font-size: 14px; color: var(--text-3); }
.footer__nav a:hover { color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
#hero-text { animation: fadeUp 0.7s ease both; }
#hero-photo { animation: fadeIn 0.9s 0.2s ease both; }
.hero { display: flex; align-items: center; padding: 84px 32px 80px; border-bottom: 1px solid var(--line); }
.hero__grid { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: center; }
.hero__sum { font-size: clamp(17px, 1.9vw, 20px); color: var(--text-1); line-height: 1.45; }
.hero__tags { font-size: 15px; color: var(--text-3); line-height: 1.6; letter-spacing: 0.02em; }
.portrait { position: relative; overflow: hidden; line-height: 0; }
.portrait img { width: 100%; display: block; filter: grayscale(100%) contrast(1.06) brightness(1.06); }
.portrait i { position: absolute; background: var(--accent); z-index: 1; }
.portrait i:nth-child(1) { top: 0; left: 0; width: 44px; height: 3px; }
.portrait i:nth-child(2) { top: 0; left: 0; width: 3px; height: 44px; }
.portrait i:nth-child(3) { bottom: 0; right: 0; width: 44px; height: 3px; }
.portrait i:nth-child(4) { bottom: 0; right: 0; width: 3px; height: 44px; }

/* ── Substack QR tooltip ────────────────────────────────── */
.substack-wrap { position: relative; }
.substack-qr {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  background: var(--bg); border: 1px solid var(--line-soft);
  padding: 10px; border-radius: 3px; box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  z-index: 200; white-space: nowrap;
}
.substack-qr img { display: block; width: 148px; height: 148px; }
.substack-qr::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--line-soft);
}
.substack-wrap:hover .substack-qr { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ── Blockquotes (references) ───────────────────────────── */
blockquote.ref { border: 1px solid var(--line); padding: 30px; background: var(--bg-card); }
blockquote.ref p { font-size: 16px; color: var(--text-2); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
blockquote.ref cite { font-family: var(--mono); font-size: 13px; color: var(--text-4); font-style: normal; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .sec { padding: 72px 22px; }
  .sec--tight { padding: 56px 22px; }
  .phead { padding: 56px 22px 0; }
  .hero { padding: 60px 22px 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  #hero-photo { order: -1; max-width: 260px; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .cell { padding: 28px 24px; }
  .cell--lg { padding: 30px 24px; }
  .row { padding: 20px 22px; }
  .footer { padding: 52px 22px 36px; }
  .footer__links { align-items: flex-start; }
  .tl { gap: 22px; padding: 36px 0; }
  .tl__when { flex: 0 0 100%; }
}
@media (max-width: 560px) {
  .h2 { font-size: 26px; }
  .lead { font-size: 19px; }
  .stat-n { font-size: 44px; }
}
@media print {
  .nav, .pager, .footer__nav { display: none; }
  body { background: #fff; color: #111; }
}

/* ── Blog ───────────────────────────────────────────────── */
#blog-head, #article-head { animation: fadeUp 0.7s ease both; }

.blog-hero { padding: 76px 32px 68px; border-bottom: 1px solid var(--line); }
.blog-hero__inner { max-width: 1200px; margin: 0 auto; width: 100%; }

#post-list { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post-card { display: block; background: var(--bg-alt); padding: 40px 44px; transition: background 0.18s ease; }
.post-card:hover { background: var(--bg-card); }
.post-card:hover .post-title { color: var(--accent); }
.post-card .post-date { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.post-card .post-title { font-size: 27px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; transition: color 0.18s ease; }
.post-card .post-excerpt { font-size: 17px; color: var(--text-2); line-height: 1.75; max-width: 680px; margin-bottom: 20px; }
.post-card .post-by { font-family: var(--mono); font-size: 13px; color: var(--text-4); letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .post-card { padding: 30px 24px; }
  .post-card .post-title { font-size: 23px; }
}

.back-link {
  display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--text-3);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 44px; transition: color 0.18s ease;
}
.back-link:hover { color: var(--accent); }

.article-wrap { padding: 64px 32px 40px; }
.article-wrap > div { max-width: 1200px; margin: 0 auto; }
#article-head { max-width: 760px; margin-bottom: 56px; }
#article-head .kicker { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; }
#article-head h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 26px; }
#article-head .standfirst { font-size: 21px; color: var(--text-1); line-height: 1.6; margin-bottom: 24px; }
#article-head .byline { font-family: var(--mono); font-size: 13px; color: var(--text-4); letter-spacing: 0.04em; }

.prose { max-width: 760px; }
.prose > * + * { margin-top: 26px; }
.prose p { font-size: 18px; color: var(--text-2); line-height: 1.85; }
.prose h2 { font-size: 27px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1.25; margin-top: 56px; margin-bottom: 4px; }
.prose h3 { font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; margin-top: 40px; }
.prose ul, .prose ol { list-style: none; display: flex; flex-direction: column; gap: 13px; padding-left: 0; }
.prose li { font-size: 17px; color: var(--text-2); line-height: 1.75; padding-left: 24px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: 13px; width: 9px; height: 1px; background: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-35); }
.prose blockquote { border-left: 2px solid var(--accent); padding: 4px 0 4px 26px; color: var(--text-1); font-style: italic; font-size: 19px; line-height: 1.8; }
.prose code { font-family: var(--mono); font-size: 15px; background: var(--bg-chip); border: 1px solid var(--line-soft); padding: 2px 7px; border-radius: 2px; color: var(--text-1); }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 16px; font-size: 16px; color: var(--text-2); text-align: left; }
.prose th { color: var(--text); font-weight: 600; background: var(--bg-alt); }
@media (max-width: 900px) {
  .blog-hero { padding: 56px 22px 52px; }
  .article-wrap { padding: 48px 22px 32px; }
}


/* ═══════════════════════════════════════════════════════════════
   High-contrast accessibility mode  (added)
   The header switch swaps to a WCAG-AAA yellow-on-black theme:
   white body text, yellow links & headings, Atkinson Hyperlegible,
   enlarged type and bold borders — for low-vision and blind users.
   State persists in localStorage and honours the OS 'increase
   contrast' setting on first visit.
   ═══════════════════════════════════════════════════════════════ */

/* header toggle control */
.nav__actions { display: flex; align-items: center; gap: 18px; }
.hc-toggle { display: inline-flex; align-items: center; gap: 9px; background: transparent; border: 0; cursor: pointer; padding: 6px 2px; font-family: var(--mono); }
.hc-toggle__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; transition: color 0.18s ease; }
.hc-toggle__track { position: relative; width: 38px; height: 20px; border-radius: 20px; border: 1px solid var(--line-soft); background: var(--bg-chip); flex: 0 0 auto; transition: background 0.18s ease, border-color 0.18s ease; }
.hc-toggle__thumb { position: absolute; top: 50%; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--text-3); transform: translateY(-50%); transition: transform 0.18s ease, background 0.18s ease; }
.hc-toggle:hover .hc-toggle__label { color: var(--text); }
.hc-toggle:hover .hc-toggle__track { border-color: var(--accent); }
@media (min-width: 1081px) { .nav__actions { order: 1; } }
@media (max-width: 560px) { .hc-toggle__label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } }

html[data-contrast="high"] {
  --bg: #000; --bg-alt: #000; --bg-card: #000; --bg-chip: #000;
  --line: #ffffff; --line-soft: #ffffff;
  --text: #ffffff; --text-1: #ffffff; --text-2: #ffffff; --text-3: #ffffff; --text-4: #ffffff;
  --accent: #ffe100; --accent-dim: #ffe100;
  --accent-08: color-mix(in srgb, #ffe100 20%, transparent);
  --accent-10: color-mix(in srgb, #ffe100 26%, transparent);
  --accent-35: #ffe100; --accent-40: #ffe100;
  --mono: 'Atkinson Hyperlegible', system-ui, sans-serif;
}
html[data-contrast="high"] body { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-size: 20px; }
html[data-contrast="high"] h1, html[data-contrast="high"] h2, html[data-contrast="high"] h3,
html[data-contrast="high"] .h1, html[data-contrast="high"] .h2, html[data-contrast="high"] .h3,
html[data-contrast="high"] .h1-page, html[data-contrast="high"] .post-title, html[data-contrast="high"] #article-head h1 {
  color: var(--accent); font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
}
html[data-contrast="high"] .p, html[data-contrast="high"] .row p, html[data-contrast="high"] .callout p,
html[data-contrast="high"] .prose p, html[data-contrast="high"] .prose li { font-size: 20px; line-height: 1.85; }
html[data-contrast="high"] .p--big { font-size: 21px; }
html[data-contrast="high"] .lead, html[data-contrast="high"] .standfirst, html[data-contrast="high"] .post-excerpt { font-size: 23px; }
html[data-contrast="high"] .meta, html[data-contrast="high"] .eyebrow, html[data-contrast="high"] .chip,
html[data-contrast="high"] .footer__bar p, html[data-contrast="high"] .crumb, html[data-contrast="high"] .post-date { font-size: 14px; }
html[data-contrast="high"] .stat-t { font-size: 17px; color: var(--text); }
html[data-contrast="high"] .nav-link { font-size: 16px; color: var(--text); }
html[data-contrast="high"] .btn { font-size: 16px; color: var(--text); }
html[data-contrast="high"] .p--soft, html[data-contrast="high"] .note, html[data-contrast="high"] .pager .d,
html[data-contrast="high"] .plain li.sub { color: var(--text); }
html[data-contrast="high"] a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html[data-contrast="high"] .nav-logo, html[data-contrast="high"] .nav-link, html[data-contrast="high"] .nav-contact,
html[data-contrast="high"] .btn, html[data-contrast="high"] .pager a, html[data-contrast="high"] .post-card,
html[data-contrast="high"] .footer__nav a, html[data-contrast="high"] .back-link { text-decoration: none; }
html[data-contrast="high"] .nav { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 2px solid #fff; }
html[data-contrast="high"] .card, html[data-contrast="high"] .callout, html[data-contrast="high"] .btn,
html[data-contrast="high"] .nav-contact, html[data-contrast="high"] .chip, html[data-contrast="high"] blockquote.ref { border-width: 2px; }
html[data-contrast="high"] .grid2, html[data-contrast="high"] .grid3, html[data-contrast="high"] .grid-auto,
html[data-contrast="high"] .rows, html[data-contrast="high"] .pager, html[data-contrast="high"] #post-list { gap: 2px; border-width: 2px; }
html[data-contrast="high"] .nav-link[aria-current="page"] { color: var(--accent); border-bottom: 2px solid var(--accent); }
html[data-contrast="high"] :focus-visible { outline: 3px solid #ffe100; outline-offset: 3px; }
html[data-contrast="high"] .portrait img { filter: none; }
html[data-contrast="high"] .portrait { border: 3px solid #ffe100; }
html[data-contrast="high"] ::selection { background: #ffe100; color: #000; }
html[data-contrast="high"] .prose a { border-bottom: 0; }
html[data-contrast="high"] .prose code { color: var(--text); border-color: #fff; }
/* toggle ON state */
html[data-contrast="high"] .hc-toggle__label { color: #ffe100; }
html[data-contrast="high"] .hc-toggle__track { background: #ffe100; border-color: #ffe100; }
html[data-contrast="high"] .hc-toggle__thumb { background: #000; transform: translate(18px, -50%); }
