:root {
  --paper: #f6f6f0;
  --surface: #ffffff;
  --surface-soft: #eef3f1;
  --ink: #102a30;
  --ink-2: #2c464c;
  --muted: #62767a;
  --line: #d9e0de;
  --brand: #0e6d67;
  --brand-dark: #12343b;
  --brand-soft: #dcebe8;
  --accent: #b97b19;
  --accent-soft: #f2e5c8;
  --max: 1180px;
  --shadow: 0 20px 60px rgba(16, 42, 48, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--brand-dark); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #d6a33e; outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--brand-dark); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: .75rem; top: .75rem; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,246,240,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,42,48,.08);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--brand-dark); text-decoration: none; font-weight: 760; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 650; padding: .55rem .72rem; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-soft); color: var(--brand-dark); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: .45rem .7rem; }

.hero { padding: 80px 0 68px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--brand); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
h1, h2, h3 { color: var(--brand-dark); line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.4rem); max-width: 12ch; }
.hero h1 { font-size: clamp(3.25rem, 6.6vw, 6rem); }
.hero-title-accent { color: var(--brand); }
.lede { max-width: 690px; margin: 28px 0 0; color: var(--ink-2); font-size: clamp(1.14rem, 2.2vw, 1.42rem); line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: .72rem 1rem; border: 1px solid var(--brand-dark); border-radius: 999px; color: var(--brand-dark); background: transparent; text-decoration: none; font-weight: 760; font-size: .93rem; }
.button.primary { background: var(--brand-dark); color: #fff; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16,42,48,.1); }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: .9rem; }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: .08em; }
.hero-portrait { position: relative; min-height: 520px; }
.hero-portrait::before { content: ""; position: absolute; inset: 1% -7% -5% 11%; background: var(--brand-soft); border-radius: 42% 42% 18% 18% / 26% 26% 12% 12%; transform: rotate(3deg); }
.hero-portrait .network { position: absolute; width: 115%; max-width: none; left: -34%; top: 3%; opacity: .9; }
.hero-portrait .photo-wrap { position: absolute; inset: 34px 0 0 42px; overflow: hidden; border-radius: 44% 44% 22px 22px / 29% 29% 22px 22px; box-shadow: var(--shadow); background: #ccd5d4; }
.hero-portrait .photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-portrait .role-card { position: absolute; left: -8px; bottom: 8px; width: min(360px, 82%); padding: 18px 20px; border: 1px solid rgba(16,42,48,.12); border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.role-card strong { display: block; color: var(--brand-dark); }
.role-card span { color: var(--muted); font-size: .9rem; }

.section { padding: 76px 0; }
.section.white { background: var(--surface); }
.section.dark { background: var(--brand-dark); color: #d8e7e6; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .section-intro { color: #c6d6d5; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: end; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4.15rem); }
.section-intro { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 720px; }

.question-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.question-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.question-card .number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 800; }
.question-card h3 { margin: 0 0 12px; font-size: 1.5rem; }
.question-card p { margin: 0; color: var(--muted); }

.research-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.research-card { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 42px; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.045); }
.research-card .kicker { color: #92c9c2; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.research-card h3 { margin: 8px 0 0; font-size: 1.45rem; }
.research-card p { margin: 0; color: #c4d5d4; font-size: .94rem; }
.research-card a { color: #fff; font-weight: 750; text-decoration: none; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.work-card { display: grid; grid-template-columns: 88px 1fr; gap: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.work-card .year { color: var(--accent); font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; }
.work-card h3 { margin: 0 0 10px; font-size: 1.28rem; line-height: 1.25; }
.work-card p { margin: 0 0 13px; color: var(--muted); font-size: .94rem; }
.work-card .why { color: var(--ink-2); }
.work-card .paper-link { font-size: .88rem; font-weight: 760; }

.software-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: stretch; }
.software-copy, .software-terminal { border-radius: 20px; }
.software-copy { padding: 36px; background: var(--surface); border: 1px solid var(--line); }
.software-copy h3 { margin: 6px 0 16px; font-size: 2.2rem; }
.software-copy p { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: .38rem .62rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.software-terminal { padding: 26px; background: #0a2026; color: #dce9e7; box-shadow: var(--shadow); overflow: hidden; }
.terminal-top { display: flex; gap: 7px; margin-bottom: 20px; }
.terminal-top i { width: 9px; height: 9px; border-radius: 50%; background: #78918f; }
.software-terminal pre { margin: 0; white-space: pre-wrap; font: 500 .87rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.software-terminal .prompt { color: #e4b95c; }
.software-terminal .muted { color: #86aaa6; }

.page-hero { padding: 78px 0 50px; }
.page-hero h1 { max-width: 14ch; font-size: clamp(3.2rem, 7vw, 6rem); }
.page-hero .lede { max-width: 780px; }

.theme-list { display: grid; gap: 18px; }
.theme-block { display: grid; grid-template-columns: .55fr 1.45fr; gap: 46px; padding: 34px 0; border-top: 1px solid var(--line); }
.theme-block:first-child { border-top: 0; }
.theme-block h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 3rem); }
.theme-block .content p:first-child { margin-top: 0; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.fact { padding: 16px; border-radius: 12px; background: var(--surface-soft); }
.fact strong { display: block; font-size: 1.22rem; color: var(--brand-dark); }
.fact span { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 30px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-btn { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); padding: .45rem .68rem; font-size: .82rem; font-weight: 720; cursor: pointer; }
.filter-btn[aria-pressed="true"] { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.pub-search { width: min(320px, 100%); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .8rem; color: var(--ink); background: #fff; }
.pub-list { display: grid; gap: 0; }
.pub-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 22px; align-items: start; padding: 25px 0; border-top: 1px solid var(--line); }
.pub-year { color: var(--accent); font-weight: 800; }
.pub-item h2 { margin: 0 0 7px; font-size: 1.18rem; line-height: 1.35; letter-spacing: -.015em; }
.pub-meta { margin: 0; color: var(--muted); font-size: .9rem; }
.pub-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pub-tag { padding: .22rem .45rem; border-radius: 7px; background: var(--surface-soft); color: var(--ink-2); font-size: .7rem; font-weight: 720; }
.pub-doi { white-space: nowrap; font-size: .82rem; font-weight: 750; }
.pub-empty { display: none; padding: 32px 0; color: var(--muted); }

.software-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.software-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.software-card h2 { margin: 12px 0 8px; font-size: 2rem; }
.software-card p { color: var(--muted); }
.software-card ul { padding-left: 1.2rem; color: var(--ink-2); }
.software-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.status-prerelease { background: var(--accent-soft); color: #76500e; }

.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 56px; align-items: start; }
.about-photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-copy h2 { margin-top: 0; font-size: 2.4rem; }
.timeline { margin-top: 38px; display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline-item strong { color: var(--brand-dark); }
.timeline-item p { margin: 0; color: var(--muted); }

.cta-band { padding: 50px 0; background: var(--accent-soft); }
.cta-inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.cta-inner h2 { max-width: 780px; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }

.site-footer { padding: 48px 0 28px; background: #091f25; color: #bed0ce; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 36px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h2 { margin: 0 0 10px; font-size: 1.7rem; }
.site-footer h3 { margin: 0 0 12px; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { margin: 0; max-width: 560px; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: #d9e7e5; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: .8rem; color: #8fa6a3; }

.note { padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); color: #604715; border-radius: 0 12px 12px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .hero-grid, .section-head, .software-feature, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-portrait { min-height: 500px; max-width: 620px; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .software-grid { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .theme-block { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 14px; right: 14px; top: 66px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: .7rem .8rem; }
  .hero { padding-top: 52px; }
  .hero-portrait { min-height: 430px; }
  .hero-portrait .photo-wrap { left: 20px; }
  .question-grid, .research-grid, .fact-row { grid-template-columns: 1fr; }
  .work-card { grid-template-columns: 1fr; gap: 10px; }
  .section { padding: 58px 0; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .pub-search { width: 100%; }
  .pub-item { grid-template-columns: 58px 1fr; gap: 12px; }
  .pub-item .pub-doi { grid-column: 2; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .filter-bar, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .section { padding: 24px 0; }
}

/* --- Evidence-led homepage modules --- */
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.signal-card { min-height: 260px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.signal-number { display: block; color: var(--brand); font-size: clamp(3.2rem, 5.5vw, 5rem); line-height: .92; font-weight: 820; letter-spacing: -.065em; }
.signal-card h2 { margin: 18px 0 10px; font-size: 1.24rem; line-height: 1.25; }
.signal-card p { margin: 0 0 20px; color: var(--muted); font-size: .94rem; }
.signal-card a { margin-top: auto; font-size: .86rem; font-weight: 760; text-decoration: none; }

.collab-band { padding: 70px 0; background: var(--accent-soft); border-top: 1px solid rgba(185,123,25,.15); }
.collab-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.collab-grid h2 { max-width: 12ch; margin: 0; font-size: clamp(2.35rem, 5vw, 4.6rem); }
.collab-grid > div:last-child > p { max-width: 650px; margin: 0; color: #5c4a25; font-size: 1.04rem; }

/* --- Publication provenance + live attention --- */
.source-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 26px; color: var(--muted); font-size: .78rem; }
.source-row a { font-weight: 780; text-decoration: none; }
.source-row span:not(.source-updated)::before { content: "·"; margin-right: 12px; color: #a5b1af; }
.source-updated { margin-left: auto; }
.pub-body h2 a { color: var(--brand-dark); text-decoration: none; }
.pub-body h2 a:hover { color: var(--brand); }
.pub-impact { min-width: 88px; display: grid; justify-items: center; gap: 10px; padding-top: 1px; }
.pub-impact .altmetric-embed { min-height: 44px; }
.publication-note { display: flex; gap: 12px; align-items: baseline; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.publication-note strong { color: var(--brand-dark); white-space: nowrap; }

/* --- boast-backed research software reach --- */
.metric-panel { margin-top: 26px; padding: 18px; border-radius: 14px; background: var(--surface-soft); border: 1px solid rgba(16,42,48,.06); }
.metric-panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 14px; }
.metric-panel-head strong { color: var(--brand-dark); }
.metric-panel-head span { color: var(--muted); font-size: .72rem; }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.metric-panel .metric-strip { margin-top: 0; }
.metric-strip > div { min-width: 0; padding: 12px; border-left: 1px solid var(--line); }
.metric-strip > div:first-child { border-left: 0; padding-left: 0; }
.metric-strip strong { display: block; color: var(--brand-dark); font-size: 1.35rem; line-height: 1.1; letter-spacing: -.03em; }
.metric-strip span { display: block; margin-top: 5px; color: var(--muted); font-size: .68rem; line-height: 1.3; }
.metric-pending { margin: 0 !important; color: var(--muted); font-size: .78rem; }

/* --- Browser-native CV --- */
.cv-hero { padding: 62px 0 42px; background: var(--surface); border-bottom: 1px solid var(--line); }
.cv-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.cv-hero h1 { max-width: none; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.cv-hero h1 span { display: block; margin-top: 8px; color: var(--muted); font-size: .22em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cv-hero p:not(.eyebrow) { margin: 18px 0 0; color: var(--ink-2); }
.cv-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cv-actions button { cursor: pointer; }
.cv-sheet { padding: 52px 0 76px; }
.cv-layout { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 58px; align-items: start; }
.cv-side { position: sticky; top: 100px; display: grid; gap: 28px; }
.cv-side section { padding-top: 16px; border-top: 1px solid var(--line); }
.cv-side section:first-child { padding-top: 0; border-top: 0; }
.cv-side h2 { margin: 0 0 9px; font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; }
.cv-side p { margin: 0 0 9px; color: var(--muted); font-size: .86rem; }
.cv-side span { color: var(--muted); }
.cv-links { display: grid; gap: 6px; }
.cv-links a { font-size: .86rem; font-weight: 720; text-decoration: none; }
.cv-main { min-width: 0; }
.cv-section { padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.cv-section:last-child { border-bottom: 0; }
.cv-section > h2, .cv-section-head h2 { margin: 0 0 22px; font-size: 2rem; }
.cv-entry { display: grid; grid-template-columns: 128px 1fr; gap: 22px; padding: 15px 0; border-top: 1px solid rgba(217,224,222,.7); }
.cv-entry:first-of-type { border-top: 0; }
.cv-entry time { color: var(--accent); font-size: .82rem; font-weight: 800; }
.cv-entry h3 { margin: 0 0 4px; font-size: 1.05rem; letter-spacing: -.015em; }
.cv-entry p { margin: 0; color: var(--muted); font-size: .9rem; }
.cv-section-head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.cv-section-head span { color: var(--muted); font-size: .75rem; }
.cv-publications ol { list-style: none; padding: 0; margin: 0; }
.cv-publications li { display: grid; grid-template-columns: 62px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(217,224,222,.7); }
.cv-publications li:first-child { border-top: 0; }
.cv-pub-year { color: var(--accent); font-size: .78rem; font-weight: 800; }
.cv-publications li > div { display: grid; gap: 3px; }
.cv-publications li strong { font-size: .91rem; line-height: 1.4; }
.cv-publications li strong a { color: var(--brand-dark); text-decoration: none; }
.cv-publications li > div > span { color: var(--muted); font-size: .78rem; line-height: 1.45; }

@media (max-width: 980px) {
  .signal-grid { grid-template-columns: 1fr; }
  .signal-card { min-height: 0; }
  .collab-grid, .cv-hero-grid, .cv-layout { grid-template-columns: 1fr; gap: 34px; }
  .cv-side { position: static; grid-template-columns: repeat(2,1fr); }
  .cv-actions { justify-content: flex-start; }
  .metric-strip { grid-template-columns: repeat(2,1fr); }
  .metric-strip > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 760px) {
  .source-row { align-items: flex-start; }
  .source-updated { width: 100%; margin-left: 0; }
  .pub-item { grid-template-columns: 52px minmax(0,1fr); }
  .pub-impact { grid-column: 2; grid-template-columns: auto 1fr; justify-items: start; align-items: center; min-width: 0; }
  .publication-note { align-items: flex-start; flex-direction: column; gap: 4px; }
  .collab-grid { gap: 26px; }
  .cv-side { grid-template-columns: 1fr; }
  .cv-entry { grid-template-columns: 1fr; gap: 5px; }
  .cv-section-head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .cv-publications li { grid-template-columns: 48px minmax(0,1fr); gap: 10px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
}

@media print {
  @page { margin: 13mm 12mm; }
  .cv-page { font-size: 10pt; background: #fff; }
  .cv-page .site-header, .cv-page .site-footer, .cv-page .cv-actions { display: none !important; }
  .cv-page .container { width: 100%; max-width: none; }
  .cv-hero { padding: 0 0 8mm; border-bottom: 1px solid #bbb; }
  .cv-hero h1 { font-size: 28pt; }
  .cv-hero h1 span { font-size: 9pt; }
  .cv-hero p:not(.eyebrow) { margin-top: 3mm; }
  .cv-sheet { padding: 7mm 0 0; }
  .cv-layout { grid-template-columns: 46mm 1fr; gap: 9mm; }
  .cv-side { position: static; gap: 5mm; }
  .cv-side section { padding-top: 3mm; }
  .cv-section { padding-bottom: 5mm; margin-bottom: 5mm; break-inside: auto; }
  .cv-entry, .cv-publications li { break-inside: avoid; }
  .cv-entry { grid-template-columns: 26mm 1fr; gap: 4mm; padding: 2.2mm 0; }
  .cv-section > h2, .cv-section-head h2 { font-size: 15pt; margin-bottom: 3mm; }
  .cv-publications li { grid-template-columns: 12mm 1fr; padding: 2mm 0; }
  .cv-publications a { text-decoration: none; }
  .cv-section-head span { display: none; }
}

[hidden] { display: none !important; }

.output-attention { display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 18px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.output-attention > span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.output-attention .altmetric-embed { min-height: 44px; }

.pub-citations {
  white-space: nowrap;
  font-size: .76rem;
  font-weight: 760;
  color: var(--brand-dark);
  text-decoration: none;
}

.pub-citations:hover {
  color: var(--brand);
}
