/* bishesh.github.io — implements .claude/skills/site-design/SKILL.md. No hex outside :root. */

/* ---------- 1. tokens ---------- */
:root {
  --crimson-700: #A31D33; --crimson-500: #D63A4E; --crimson-100: #FCEBEE;
  --indigo-700: #2F3F9E; --indigo-500: #5268D8; --indigo-100: #ECEFFC;
  --ember-700: #B4460F; --ember-500: #EC6A2A; --ember-100: #FEEFE6;

  --paper: #F8F9FC; --surface: #FFFFFF; --ink: #121829; --ink-soft: #454D59;
  --muted: #5E6577; --line: #E3E6EE; --line-strong: #C3C9D8;

  --accent: var(--ink); --accent-strong: var(--ink); --accent-tint: #EFF1F6;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px -12px rgb(0 0 0 / .12);
  --container: 1120px; --text: 720px;
  --pad-section: clamp(3rem, 8vw, 6rem);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --crimson-700: #F28796; --crimson-500: #F07A8A; --crimson-100: #2A1521;
    --indigo-700: #A3B1F4; --indigo-500: #8C9DF0; --indigo-100: #181D3B;
    --ember-700: #F7A673; --ember-500: #F59A62; --ember-100: #2A1A13;
    --paper: #0E1120; --surface: #161A2C; --ink: #ECEEF5; --ink-soft: #B5BACB;
    --muted: #9097AC; --line: #262B41; --line-strong: #3B4262; --accent-tint: #1B1F33;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
--crimson-700: #F28796; --crimson-500: #F07A8A; --crimson-100: #2A1521;
  --indigo-700: #A3B1F4; --indigo-500: #8C9DF0; --indigo-100: #181D3B;
  --ember-700: #F7A673; --ember-500: #F59A62; --ember-100: #2A1A13;
  --paper: #0E1120; --surface: #161A2C; --ink: #ECEEF5; --ink-soft: #B5BACB;
  --muted: #9097AC; --line: #262B41; --line-strong: #3B4262; --accent-tint: #1B1F33;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
}

/* ---------- 2. persona → accent (the only place persona is decided) ---------- */
[data-persona="dreamer"]      { --accent: var(--crimson-500);    --accent-strong: var(--crimson-700);    --accent-tint: var(--crimson-100); }
[data-persona="scientist"]    { --accent: var(--indigo-500); --accent-strong: var(--indigo-700); --accent-tint: var(--indigo-100); }
[data-persona="entrepreneur"] { --accent: var(--ember-500); --accent-strong: var(--ember-700); --accent-tint: var(--ember-100); }

/* ---------- 3. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .15s ease-out; }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.prose { max-width: var(--text); }
.prose p, .prose li { color: var(--ink-soft); }
.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 62ch; }
.meta { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.small { font-size: .9375rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- 4. header / nav / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--muted); font-family: var(--sans); font-weight: 400; font-size: .875rem; margin-left: .35rem; }
.nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: .9375rem; padding: .4rem .65rem; border-radius: 999px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .4rem; }
.nav a:hover { color: var(--ink); background: var(--accent-tint); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav a .dot { width: 7px; height: 7px; }
.nav-toggle, .theme-toggle { background: none; border: 1px solid var(--line); color: var(--ink-soft); border-radius: 999px; height: 36px; min-width: 36px; cursor: pointer; font: inherit; display: inline-grid; place-items: center; }
.nav-toggle { display: none; }
.theme-toggle svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; padding: 0 .9rem; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .75rem 1rem 1rem; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
}
.tri-band { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 3px; }
.tri-band i:nth-child(1) { background: var(--crimson-500); }
.tri-band i:nth-child(2) { background: var(--indigo-500); }
.tri-band i:nth-child(3) { background: var(--ember-500); }
.site-footer { margin-top: var(--pad-section); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer .container { padding: 2rem 0 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer a { color: var(--ink-soft); }
.links-row { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }

/* ---------- 5. sections, rule, eyebrow ---------- */
main { display: block; }
.page-rule { height: 3px; background: var(--accent); }
.section { padding-block: var(--pad-section); }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: 2rem; max-width: var(--text); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 1rem; }
.eyebrow svg { width: 20px; height: 20px; flex: none; }
.page-hero { padding-block: clamp(3rem, 9vw, 5.5rem) clamp(2rem, 5vw, 3rem); }
.page-hero h1 { max-width: 20ch; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- 6. home hero ---------- */
.hero { padding-block: clamp(3.5rem, 10vw, 7rem) clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.5vw, 3.5rem); font-weight: 700; margin-bottom: .35em; }
.hero .roles { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.45rem); color: var(--ink-soft); margin-bottom: 1.25rem; }
.hero .roles b { font-weight: 600; }
.hero .roles .d { color: var(--crimson-700); } .hero .roles .s { color: var(--indigo-700); } .hero .roles .e { color: var(--ember-700); }
.portrait { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--crimson-100), var(--indigo-100) 55%, var(--ember-100)); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: .875rem; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .portrait { max-width: 260px; } }

/* ---------- 7. cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow .15s ease-out, transform .15s ease-out; }
a.card { text-decoration: none; display: block; }
a.card:hover, .card.hoverable:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.card p { color: var(--ink-soft); font-size: .9375rem; margin: 0; }

.persona-card { position: relative; border-left: 3px solid var(--accent); padding: 1.75rem 1.5rem 1.5rem; }
.persona-card:hover { background: var(--accent-tint); }
.persona-card .glyph { width: 28px; height: 28px; color: var(--accent-strong); margin-bottom: 1rem; }
.persona-card h3 { font-size: 1.5rem; }
.persona-card .tagline { font-family: var(--serif); font-style: italic; color: var(--accent-strong); margin-bottom: .75rem; font-size: 1rem; }
.persona-card .more { display: inline-block; margin-top: 1rem; font-size: .875rem; font-weight: 500; color: var(--accent-strong); }

.venture { border-top: 3px solid var(--accent); }
.venture .kicker { font-size: .8125rem; color: var(--accent-strong); font-weight: 600; letter-spacing: .02em; margin-bottom: .5rem; }
.venture.primary { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding: 2rem; }
.venture.primary h3 { font-size: 1.75rem; }
@media (max-width: 760px) { .venture.primary { grid-template-columns: 1fr; } }
.venture ul { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .9375rem; }

/* ---------- 8. stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 2rem; max-width: 760px; }
.stat b { display: block; font: 600 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: .875rem; color: var(--muted); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- 9. chips, dots, badges ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { font: 500 .8125rem/1 var(--sans); padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.chip:hover { border-color: var(--accent-strong); background: var(--accent-tint); }
.chip[aria-pressed="true"], .chip.active { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--paper); font-weight: 600; }
.chip .n { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-weight: 500; }
.chip[aria-pressed="true"] .n, .chip.active .n { color: inherit; opacity: .8; }
.chip[aria-pressed="true"] .dot { background: currentColor; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.dreamer { background: var(--crimson-500); } .dot.scientist { background: var(--indigo-500); } .dot.entrepreneur { background: var(--ember-500); }
.badge { font: 600 .6875rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .3rem .5rem; border-radius: 4px; background: var(--accent-tint); color: var(--ink-soft); }
.filter-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin: 0 0 .5rem; }

/* ---------- 10. timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); max-width: 780px; }
.timeline li { position: relative; padding: 0 0 1.75rem 1.75rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.timeline .when { font: 600 .8125rem/1 var(--sans); color: var(--accent-strong); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.timeline h4 { font-size: 1.125rem; margin: .35rem 0 .25rem; }
.timeline p { color: var(--ink-soft); font-size: .9375rem; margin: 0; }

/* ---------- 11. research eras & themes ---------- */
.eras { counter-reset: era; }
.era { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.era .when { font: 600 .875rem/1.4 var(--sans); color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.era .where { font-size: .8125rem; color: var(--muted); }
.era h3 { font-size: 1.3rem; }
.era p { color: var(--ink-soft); margin: 0; }
.era.now { background: var(--accent-tint); border-radius: var(--radius); border-top-color: transparent; padding: 1.5rem; margin-top: .5rem; }
@media (max-width: 640px) { .era { grid-template-columns: 1fr; gap: .25rem; } }
.theme-card .n { font: 600 .8125rem var(--sans); color: var(--accent-strong); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.chain li { font-size: .875rem; padding: .35rem .7rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.chain li + li::before { content: "→"; color: var(--accent); margin: 0 .5rem 0 -.2rem; }

/* ---------- 12. publications ---------- */
.pub-year { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pub-year > h2 { font: 600 1.125rem/1.6 var(--sans); color: var(--accent-strong); font-variant-numeric: tabular-nums; position: sticky; top: 80px; align-self: start; }
@media (max-width: 640px) { .pub-year { grid-template-columns: 1fr; gap: 0; } .pub-year > h2 { position: static; } }
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { padding: 0 0 1.35rem; }
.pub .title { font-family: var(--serif); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.pub .authors { font-size: .9375rem; color: var(--ink-soft); margin-top: .2rem; }
.pub .authors strong { color: var(--ink); font-weight: 600; }
.pub .venue { font-size: .875rem; color: var(--accent-strong); font-style: italic; font-weight: 500; }
.pub .plinks { display: inline-flex; flex-wrap: wrap; gap: .75rem; margin-top: .3rem; font-size: .8125rem; font-weight: 500; }
.pub .plinks a { color: var(--accent-strong); }
.pub .type { margin-right: .4rem; }
.pub[hidden], .talk-card[hidden], .row[hidden] { display: none; }

/* ---------- 13. talks & media ---------- */
.tier { margin-top: 3rem; }
.tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .75rem; margin-bottom: 1.5rem; }
.tier-head h2 { font-size: 1.5rem; margin: 0; white-space: nowrap; }
.tier-head h2 .n { font: 500 .9375rem/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; margin-left: .35rem; }
.tier[hidden] { display: none; }
details.tier > summary { cursor: pointer; list-style: none; }
details.tier > summary::-webkit-details-marker { display: none; }
details.tier > summary .meta { margin-left: auto; }
details.tier > summary .chev { flex: none; align-self: center; color: var(--muted); transition: transform .15s ease-out; }
details.tier:not([open]) > summary .chev { transform: rotate(-90deg); }
details.tier:not([open]) > summary { margin-bottom: 0; }
details.tier > summary:hover h2, details.tier > summary:hover .chev { color: var(--accent-strong); }
.talk-grid { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.talk-grid.compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.talk-card { display: flex; flex-direction: column; gap: .6rem; text-decoration: none; }
.talk-card .thumb { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--accent-tint); border: 1px solid var(--line); display: grid; place-items: center; }
.talk-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.talk-card:hover .thumb img { transform: scale(1.03); }
.talk-card .thumb .play { position: absolute; inset: auto auto .6rem .6rem; background: rgb(0 0 0 / .66); color: #fff; font-size: .75rem; font-weight: 600; border-radius: 999px; padding: .3rem .6rem .3rem .5rem; display: inline-flex; gap: .3rem; align-items: center; }
.talk-card .thumb .ph { font-family: var(--serif); font-size: 1.05rem; color: var(--ink-soft); padding: 1rem 1.25rem; text-align: center; line-height: 1.35; }
.talk-card .t { font-family: var(--serif); font-weight: 600; line-height: 1.35; color: var(--ink); }
.talk-card:hover .t { color: var(--accent-strong); }
.talk-card .v { font-size: .875rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: baseline; }
.talk-card .v .dot { transform: translateY(-1px); }
/* talks & media: type tabs, refine rows, appearance cards (people + labels) */
.talks-bar { padding-top: clamp(1.25rem, 4vw, 2.25rem); }
.talks-bar + .container > .tier:first-child { margin-top: 1.75rem; }
.tabs { display: flex; gap: 0 2.25rem; border-bottom: 1px solid var(--line-strong); margin-bottom: 1.25rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; white-space: nowrap; font: 600 1.375rem/1.1 var(--serif); background: none; border: 0; border-bottom: 3px solid transparent; padding: 1rem 0 .85rem; color: var(--ink-soft); cursor: pointer; display: inline-flex; gap: .45rem; align-items: baseline; transition: color .15s ease-out, border-color .15s ease-out; }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab .n { color: var(--ink-soft); font: 500 .875rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.chip-rows { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
@media (max-width: 600px) { .tabs { flex-wrap: wrap; gap: 0 1.25rem; } .tab { font-size: 1.125rem; padding: .75rem 0 .6rem; } details.tier > summary .meta { display: none; } details.tier > summary .chev { margin-left: auto; } }
.tabs + .chips { margin-top: -.25rem; }
.chips[hidden], .media-card[hidden] { display: none; }
.media-card a.t, .media-card a.thumb { text-decoration: none; }
.media-card a.t:hover { color: var(--accent-strong); }
.media-card .people { font-size: .875rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.media-card .people dt { color: var(--ink-soft); font-size: .75rem; letter-spacing: .04em; }
.media-card .people dd { margin: 0; line-height: 1.4; }
.media-card .people .aff { color: var(--muted); }
.media-card .people a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.media-card .people a:hover { text-decoration-color: currentColor; }
.media-card .tag.kind { background: var(--line); border-color: transparent; }
.media-card .tag.kind.key { background: var(--ink); color: var(--paper); }
.media-card .tag.role.host { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.media-card .tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: -.15rem; }
.media-card .tag { font: 500 .75rem/1 var(--sans); padding: .3rem .55rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); }
.media-card .tag[lang="ne"] { font-size: .8125rem; padding: .25rem .55rem; }
.rows { list-style: none; padding: 0; margin: 0; }
/* scientist: team & alumni */
.team-label { margin-top: 2rem; font-family: var(--sans); line-height: 1.4; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.person { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; border-left: 3px solid var(--accent); }
.person .name { font: 600 1.125rem/1.3 var(--serif); color: var(--accent-strong); margin-bottom: .1rem; }
.person .title { font-size: .875rem; font-weight: 600; color: var(--ink); }
.person .org { font-size: .8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.person .details { list-style: none; margin: .35rem 0 0; padding: .35rem 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .1rem; }
.person .details li { font-size: .8125rem; line-height: 1.45; color: var(--ink-soft); }
.person .now { margin-top: .4rem; font-size: .875rem; font-weight: 600; color: var(--accent-strong); }
/* section bar (SectionNav): sticky under the 64px header; the section in view is inked and underlined */
.section-nav { position: sticky; top: 64px; z-index: 9; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-strong); }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 1.75rem; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; padding: .85rem 0 .7rem; font: 500 .9375rem/1 var(--sans); color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; }
.section-nav a:hover { color: var(--ink); }
.section-nav a[aria-current="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent-strong); }
@media (max-width: 720px) { .section-nav ul { gap: 0 1.25rem; mask-image: linear-gradient(to right, #000 85%, transparent); -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 2rem; } }
[id] { scroll-margin-top: 130px; }
/* service & policy: persona-coloured sections, peer-review venues */
.service-sec { padding-bottom: 2.5rem; }
.service-sec .pub-year > h2.eyebrow { top: 130px; }
.service-sec .pub-year { grid-template-columns: 220px minmax(0, 1fr); }
.service-sec .pub-year > h2.eyebrow { font-size: .8125rem; line-height: 1.5; margin: 0; align-items: flex-start; }
.service-sec .row { grid-template-columns: 120px minmax(0, 1fr); }
.service-sec .row:first-child { border-top: 0; padding-top: 0; }
.service-sec .row .d { color: var(--accent-strong); font-weight: 600; }
.venues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .6rem; }
.venues li { border: 1px solid var(--line-strong); border-left: 3px solid var(--accent); border-radius: 6px; padding: .55rem .8rem; background: var(--surface); display: flex; flex-direction: column; gap: .1rem; }
.venues b { font-weight: 600; color: var(--ink); }
.venues span { font-size: .8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.venues em { font-size: .8125rem; color: var(--accent-strong); font-style: normal; font-weight: 600; }
@media (max-width: 640px) { .service-sec .pub-year { grid-template-columns: 1fr; gap: .75rem; } .service-sec .row { grid-template-columns: 90px minmax(0, 1fr); } }
.row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.row .d { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .8125rem; padding-top: .15rem; }
.row .t { color: var(--ink); font-weight: 500; }
.row .v { color: var(--ink-soft); }
.row .dot { margin-right: .5rem; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: .1rem; } }
details.more-list > summary { cursor: pointer; color: var(--accent-strong); font-weight: 500; font-size: .9375rem; padding: .75rem 0; list-style: none; }
details.more-list > summary::-webkit-details-marker { display: none; }
details.more-list > summary::before { content: "+ "; }
details.more-list[open] > summary::before { content: "− "; }

/* ---------- 14. callout, buttons ---------- */
.callout { background: var(--accent-tint); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.callout p:last-child { margin: 0; }
.quote { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.45; color: var(--ink); max-width: 34ch; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; font: 500 .9375rem/1 var(--sans); text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.solid:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.draft-note { font-size: .8125rem; color: var(--crimson-700); background: var(--crimson-100); border-radius: 6px; padding: .5rem .75rem; display: inline-block; }
.card .prose p + p { margin-top: .75em; }

/* ---------- 15. dusk wash (home hero only) — a quiet nod to the three brands' gradients ---------- */
.dusk { position: relative; isolation: isolate; }
.dusk::before { content: ""; position: absolute; inset: -30% -20% auto -20%; height: 130%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 55% at 12% 20%, color-mix(in srgb, var(--crimson-500) 10%, transparent), transparent 70%),
    radial-gradient(40% 50% at 55% 0%, color-mix(in srgb, var(--indigo-500) 10%, transparent), transparent 70%),
    radial-gradient(40% 55% at 92% 70%, color-mix(in srgb, var(--ember-500) 10%, transparent), transparent 70%); }
