:root {
  --max: 1240px;
  --green: #a6ce39;
  --green-rgb: 166,206,57;
  --coral: #df9476;
  --coral-rgb: 223,148,118;
  --plum: #85617e;
  --plum-rgb: 133,97,126;
  --blue: #7f9bb7;
  --blue-rgb: 127,155,183;
  --sand: #d6b499;
  color-scheme: dark light;
}

html[data-theme="dark"] {
  --bg: #090a0d;
  --panel: #111318;
  --panel2: #0e1014;
  --panel3: #151218;
  --text: #f5f4f4;
  --text-2: #d8d7da;
  --muted: #a09da6;
  --muted-2: #777681;
  --line: rgba(255,255,255,.105);
  --line2: rgba(255,255,255,.065);
  --glass: rgba(255,255,255,.025);
  --shadow: rgba(0,0,0,.28);
  --input: #0c0e12;
  --hover-text: #ffffff;
}

html[data-theme="light"] {
  --bg: #f6f2ef;
  --panel: #fffaf7;
  --panel2: #f0e9e5;
  --panel3: #f7f0ee;
  --text: #19181c;
  --text-2: #343137;
  --muted: #706b73;
  --muted-2: #8d858d;
  --line: rgba(42,31,38,.14);
  --line2: rgba(42,31,38,.08);
  --glass: rgba(255,255,255,.54);
  --shadow: rgba(73,50,61,.11);
  --input: #fffaf7;
  --hover-text: #111014;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
  overflow-x:hidden;
  transition:background-color .28s ease,color .28s ease;
}
a { color:inherit; text-decoration:none; }
button,input,select { font:inherit; }
.shell { width:min(var(--max),calc(100% - 48px)); margin-inline:auto; }

.ambient { position:fixed; width:560px; height:560px; border-radius:50%; filter:blur(130px); pointer-events:none; z-index:-1; transition:opacity .3s ease; }
.ambient-a { background:var(--green); top:-300px; right:-190px; opacity:.10; }
.ambient-b { background:var(--plum); bottom:-330px; left:-230px; opacity:.13; }
.ambient-c { background:var(--coral); top:38%; right:-390px; opacity:.08; }
html[data-theme="light"] .ambient-a { opacity:.16; }
html[data-theme="light"] .ambient-b { opacity:.13; }
html[data-theme="light"] .ambient-c { opacity:.12; }

.site-header {
  width:min(var(--max),calc(100% - 48px));
  margin:0 auto;
  height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:20;
}
.brand { display:flex; align-items:center; gap:13px; }
.brand-mark { font-family:Manrope,sans-serif; font-weight:700; letter-spacing:-.04em; }
.brand-rule { width:38px; height:1px; background:linear-gradient(90deg,var(--green),var(--coral)); }
.brand-sub { font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.header-actions { display:flex; align-items:center; gap:24px; }
.nav { display:flex; align-items:center; gap:28px; font-size:14px; color:var(--text-2); }
.nav a { transition:color .18s ease; }
.nav a:hover { color:var(--hover-text); }
.theme-switcher {
  display:inline-flex;
  align-items:center;
  padding:3px;
  gap:2px;
  background:var(--glass);
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow:0 8px 28px rgba(0,0,0,.05);
}
.theme-option {
  height:30px;
  padding:0 11px;
  border:0;
  border-radius:999px;
  color:var(--muted);
  background:transparent;
  cursor:pointer;
  font-size:11px;
  letter-spacing:.03em;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.theme-option:hover { color:var(--text); }
.theme-option.active,
.theme-option[aria-pressed="true"] {
  color:var(--text);
  background:linear-gradient(135deg,rgba(var(--plum-rgb),.16),rgba(var(--coral-rgb),.14));
  box-shadow:inset 0 0 0 1px rgba(var(--coral-rgb),.24);
}


.hero { padding:116px 0 56px; }
.eyebrow,.micro-label,.section-index { font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.eyebrow { display:flex; align-items:center; gap:9px; margin-bottom:32px; }
.status-dot { width:8px; height:8px; display:inline-block; border-radius:50%; background:var(--green); box-shadow:0 0 0 5px rgba(var(--green-rgb),.13); flex:none; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(320px,.68fr); gap:72px; align-items:end; }
.kicker { margin:0 0 18px; color:var(--text-2); font-size:15px; }
h1,h2,h3,p { margin-top:0; }
h1 { font:600 clamp(68px,9vw,132px)/.80 Manrope,sans-serif; letter-spacing:-.075em; margin:0 0 34px; }
h1 span {
  background:linear-gradient(120deg,var(--plum) 5%,var(--coral) 58%,var(--sand));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lede { max-width:790px; font-size:19px; line-height:1.75; color:var(--muted); }
.link-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:35px; }
.button { display:inline-flex; align-items:center; gap:14px; border:1px solid var(--line); padding:12px 16px; border-radius:999px; font-size:13px; letter-spacing:.03em; color:var(--text-2); transition:.2s ease; background:var(--glass); }
.button:hover { transform:translateY(-2px); border-color:rgba(var(--coral-rgb),.42); }
.button.primary { border-color:rgba(var(--green-rgb),.34); background:rgba(var(--green-rgb),.11); color:var(--text); }

.identity-card {
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 90% 4%,rgba(var(--coral-rgb),.11),transparent 34%),
    radial-gradient(circle at 0% 100%,rgba(var(--plum-rgb),.11),transparent 40%),
    linear-gradient(180deg,var(--glass),transparent);
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:0 24px 70px var(--shadow);
}
.identity-top { display:flex; gap:18px; align-items:center; }
.portrait-wrap { width:88px; height:88px; min-width:88px; min-height:88px; max-width:88px; max-height:88px; border-radius:22px; padding:2px; flex:0 0 88px; overflow:hidden; background:linear-gradient(135deg,var(--green),var(--coral) 55%,var(--plum)); box-shadow:0 10px 28px rgba(var(--plum-rgb),.18); }
.profile-portrait { width:84px !important; height:84px !important; max-width:84px !important; max-height:84px !important; display:block; object-fit:cover; object-position:50% 24%; border-radius:20px; background:var(--panel2); }
.identity-label { color:var(--muted); font-size:11px; letter-spacing:.16em; margin-bottom:5px; }
.identity-value { font-weight:600; margin-bottom:2px; }
.identity-muted { color:var(--muted); font-size:13px; margin:0; }
.identity-divider { height:1px; background:var(--line); margin:22px 0; }
.identity-row { display:grid; grid-template-columns:72px 1fr; gap:14px; padding:8px 0; font-size:13px; }
.identity-row span { color:var(--muted-2); font-size:11px; letter-spacing:.13em; }
.identity-row strong { font-weight:500; color:var(--text-2); }
.sync-line { display:flex; align-items:center; gap:10px; padding-top:20px; margin-top:12px; border-top:1px solid var(--line2); color:var(--muted); font-size:12px; }

.metrics { display:grid; grid-template-columns:repeat(4,1fr); margin-top:88px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.metric { position:relative; padding:26px 20px 26px 0; }
.metric + .metric { padding-left:28px; border-left:1px solid var(--line); }
.metric::before { content:""; position:absolute; left:0; top:-1px; width:48px; height:2px; background:var(--metric-accent,var(--green)); }
.metric + .metric::before { left:28px; }
.metric-green { --metric-accent:var(--green); }
.metric-coral { --metric-accent:var(--coral); }
.metric-plum { --metric-accent:var(--plum); }
.metric-blue { --metric-accent:var(--blue); }
.metric strong { font:600 31px/1 Manrope,sans-serif; letter-spacing:-.04em; display:block; }
.metric span { color:var(--muted-2); font-size:12px; text-transform:uppercase; letter-spacing:.11em; display:block; margin-top:9px; }

.section { padding:128px 0 16px; }
.section-head { display:grid; grid-template-columns:1.1fr .9fr; gap:70px; align-items:end; margin-bottom:55px; }
.section-index { margin-bottom:15px; color:var(--coral); }
h2 { font:600 clamp(44px,6vw,76px)/.96 Manrope,sans-serif; letter-spacing:-.055em; margin-bottom:0; }
.section-note { color:var(--muted); font-size:15px; max-width:520px; justify-self:end; margin-bottom:6px; }

.research-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.research-card { --accent:var(--green); min-height:272px; padding:28px 25px 32px 0; position:relative; }
.research-card + .research-card { padding-left:25px; border-left:1px solid var(--line); }
.research-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,0)); pointer-events:none; transition:.25s ease; }
.research-card:hover::after { background:linear-gradient(180deg,rgba(var(--accent-rgb),.06),transparent 65%); }
.research-card span { color:var(--accent); font-size:12px; font-weight:600; }
.research-card h3 { margin:68px 0 12px; font:600 20px Manrope,sans-serif; }
.research-card p { color:var(--muted); font-size:14px; line-height:1.65; position:relative; z-index:1; }
.research-green { --accent:var(--green); --accent-rgb:var(--green-rgb); }
.research-coral { --accent:var(--coral); --accent-rgb:var(--coral-rgb); }
.research-plum { --accent:var(--plum); --accent-rgb:var(--plum-rgb); }
.research-blue { --accent:var(--blue); --accent-rgb:var(--blue-rgb); }

.publications-section { padding-top:150px; }
.publications-head { align-items:center; }
.sync-badge { justify-self:end; display:flex; align-items:center; gap:13px; border:1px solid var(--line); border-radius:14px; padding:14px 16px; min-width:210px; background:var(--glass); }
.sync-badge strong,.sync-badge small { display:block; }
.sync-badge strong { font-size:12px; letter-spacing:.11em; }
.sync-badge small { margin-top:3px; color:var(--muted-2); font-size:11px; }
.featured-wrap { margin:15px 0 70px; }
.micro-label { margin-bottom:13px; color:var(--muted); }
.featured-list { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.featured-item { --feature:var(--green); --feature-rgb:var(--green-rgb); position:relative; overflow:hidden; min-height:240px; border:1px solid var(--line); border-radius:18px; padding:24px; display:flex; flex-direction:column; justify-content:space-between; transition:.22s ease; background:linear-gradient(150deg,var(--glass),transparent); }
.featured-item::before { content:""; position:absolute; width:190px; height:190px; border-radius:50%; background:rgba(var(--feature-rgb),.11); filter:blur(52px); right:-80px; top:-95px; pointer-events:none; }
.featured-item:hover { transform:translateY(-3px); border-color:rgba(var(--feature-rgb),.42); }
.featured-accent-1 { --feature:var(--green); --feature-rgb:var(--green-rgb); }
.featured-accent-2 { --feature:var(--coral); --feature-rgb:var(--coral-rgb); }
.featured-accent-3 { --feature:var(--plum); --feature-rgb:var(--plum-rgb); }
.featured-accent-4 { --feature:var(--blue); --feature-rgb:var(--blue-rgb); }
.featured-journal { display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.09em; position:relative; z-index:1; }
.featured-item h3 { font:600 24px/1.18 Manrope,sans-serif; letter-spacing:-.035em; margin:42px 0 24px; max-width:90%; position:relative; z-index:1; }
.featured-bottom { display:flex; justify-content:space-between; align-items:end; gap:20px; color:var(--muted); font-size:12px; position:relative; z-index:1; }
.featured-bottom strong { color:var(--feature); font-weight:600; }

.pub-toolbar { display:grid; grid-template-columns:1fr 170px; gap:10px; margin-bottom:15px; }
.search-wrap { border:1px solid var(--line); border-radius:13px; display:flex; align-items:center; gap:10px; padding:0 15px; background:var(--glass); }
.search-wrap span { color:var(--plum); font-size:18px; transform:rotate(-20deg); }
input,select { width:100%; height:48px; background:transparent; border:0; outline:0; color:var(--text-2); font:12px Inter,sans-serif; }
input::placeholder { color:var(--muted-2); }
select { border:1px solid var(--line); background:var(--input); border-radius:13px; padding:0 14px; }
option { background:var(--panel); color:var(--text); }
.publication-list { border-top:1px solid var(--line); }
.pub-item { display:grid; grid-template-columns:90px 1fr 130px; gap:28px; padding:25px 0; border-bottom:1px solid var(--line2); align-items:start; }
.pub-year { font:600 14px Manrope,sans-serif; color:var(--coral); }
.pub-title { font:600 17px/1.35 Manrope,sans-serif; letter-spacing:-.018em; margin-bottom:8px; }
.pub-title a:hover { color:var(--green); }
.pub-authors { color:var(--muted); font-size:12px; line-height:1.6; margin-bottom:8px; }
.pub-authors .me { color:var(--text-2); font-weight:600; }
.pub-meta { color:var(--muted-2); font-size:12px; }
.pub-actions { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.pub-actions a { border:1px solid var(--line); border-radius:999px; padding:7px 10px; font-size:11px; color:var(--muted); background:var(--glass); }
.pub-actions a:hover { color:var(--hover-text); border-color:rgba(var(--green-rgb),.38); }
.empty-state { text-align:center; color:var(--muted-2); padding:50px 0; }

.service-section { padding-top:110px; }
.service-panel { border:1px solid var(--line); border-radius:22px; padding:28px; background:linear-gradient(145deg,var(--glass),transparent); }
.service-panel-wide { max-width:100%; }
.service-panel-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:14px; }
.service-panel-head h3 { font-family:Manrope,sans-serif; font-size:24px; line-height:1.15; margin:4px 0 0; }
.service-chip { display:inline-flex; align-items:center; gap:8px; height:34px; padding:0 12px; border-radius:999px; border:1px solid rgba(var(--green-rgb),.26); background:rgba(var(--green-rgb),.08); color:var(--green); font-size:10px; text-transform:uppercase; letter-spacing:.12em; }
.summary-line { color:var(--muted); font-size:13px; line-height:1.6; margin-bottom:18px; }
.service-list { display:grid; gap:12px; }
.service-item { border:1px solid var(--line); border-radius:18px; padding:16px 18px; background:var(--glass); }
.grouped-service-item { --service:var(--green); --service-rgb:var(--green-rgb); padding:18px; border-left:2px solid var(--service); }
.service-accent-1 { --service:var(--green); --service-rgb:var(--green-rgb); }
.service-accent-2 { --service:var(--coral); --service-rgb:var(--coral-rgb); }
.service-accent-3 { --service:var(--plum); --service-rgb:var(--plum-rgb); }
.service-accent-4 { --service:var(--blue); --service-rgb:var(--blue-rgb); }
.service-item-top { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.service-item-top h4 { font-size:14px; line-height:1.4; margin:0 0 4px; }
.service-item-top p { color:var(--muted); font-size:12px; line-height:1.6; margin:0; }
.service-note { display:block; color:var(--muted-2); font-size:11px; margin-top:3px; }
.count-pill { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:28px; padding:0 10px; border-radius:999px; border:1px solid rgba(var(--service-rgb),.32); color:var(--service); font-size:12px; }
.sub-item-list { display:grid; gap:10px; margin-top:14px; }
.sub-item-list .service-item { padding:14px 16px; background:color-mix(in srgb,var(--panel) 90%,transparent); }
.empty-state.compact { text-align:left; padding:12px 0 0; }
.review-row { display:grid; grid-template-columns:72px 1fr auto; align-items:center; gap:16px; padding:13px 16px; }
.review-year { font-family:Manrope,sans-serif; font-size:16px; font-weight:700; color:var(--service); letter-spacing:-.02em; }
.review-detail p { margin:0; color:var(--muted); font-size:12px; text-transform:capitalize; }
.review-link { color:var(--service); font-size:12px; font-weight:600; white-space:nowrap; }

.identity-section { padding-bottom:120px; }
.identity-panel { border:1px solid var(--line); border-radius:22px; padding:38px; display:grid; grid-template-columns:1fr 1fr; gap:70px; background:linear-gradient(135deg,rgba(var(--plum-rgb),.055),rgba(var(--coral-rgb),.035) 55%,rgba(var(--green-rgb),.025)); }
.connect-links { border-top:1px solid var(--line); }
.connect-links a { display:grid; grid-template-columns:120px 1fr 25px; gap:16px; padding:18px 0; border-bottom:1px solid var(--line2); align-items:center; transition:.18s ease; }
.connect-links a:hover { padding-left:7px; }
.connect-links span { color:var(--muted-2); font-size:11px; text-transform:uppercase; letter-spacing:.10em; }
.connect-links strong { font-weight:500; font-size:14px; }
.connect-links em { font-style:normal; color:var(--coral); }
.footer { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:22px; border-top:1px solid var(--line); padding:26px 0 40px; color:var(--muted-2); font-size:11px; }
.footer-source { justify-self:end; text-align:right; }
.visitor-stats { display:inline-flex; align-items:center; justify-content:center; gap:8px; justify-self:center; white-space:nowrap; letter-spacing:.08em; font-size:10px; color:var(--muted-2); }
.visitor-stats strong { color:var(--text); font-family:Manrope,sans-serif; font-size:11px; font-weight:700; letter-spacing:0; margin-left:4px; font-variant-numeric:tabular-nums; }
.visitor-divider { color:var(--line-strong); }
.visitor-stats[hidden] { display:none !important; }

@media (max-width:900px) {
  .nav { display:none; }
  .hero { padding-top:72px; }
  .hero-grid,.section-head,.identity-panel { grid-template-columns:1fr; gap:42px; }
  .identity-card { max-width:600px; }
  .metrics { grid-template-columns:repeat(2,1fr); }
  .metric:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
  .metric:nth-child(4) { border-top:1px solid var(--line); }
  .metric:nth-child(3)::before { left:0; }
  .research-grid { grid-template-columns:repeat(2,1fr); }
  .research-card:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
  .research-card:nth-child(4) { border-top:1px solid var(--line); }
  .featured-list { grid-template-columns:1fr; }
  .sync-badge,.section-note { justify-self:start; }
}

@media (max-width:620px) {
  .shell,.site-header { width:min(100% - 28px,var(--max)); }
  .site-header { height:72px; }
  .brand-sub,.brand-rule { display:none; }
  .theme-switcher { padding:2px; }
  .theme-option { height:28px; padding:0 8px; font-size:10px; }
  h1 { font-size:64px; }
  .lede { font-size:16px; }
  .metrics,.research-grid { grid-template-columns:1fr; }
  .metric + .metric,.research-card + .research-card { border-left:0; }
  .metric:nth-child(n+2),.research-card:nth-child(n+2) { border-top:1px solid var(--line); }
  .metric + .metric::before { left:0; }
  .research-card { min-height:210px; padding-left:0 !important; }
  .research-card h3 { margin-top:45px; }
  .section { padding-top:95px; }
  .pub-toolbar { grid-template-columns:1fr; }
  .pub-item { grid-template-columns:54px 1fr; gap:14px; }
  .pub-actions { grid-column:2; justify-content:flex-start; }
  .identity-panel { padding:24px; }
  .identity-row { grid-template-columns:64px 1fr; }
  .connect-links a { grid-template-columns:90px 1fr 18px; }
  .footer { grid-template-columns:1fr; justify-items:start; gap:9px; }
  .footer-source { justify-self:start; text-align:left; }
  .visitor-stats { justify-self:start; }
  .review-row { grid-template-columns:56px 1fr auto; gap:10px; }
  .portrait-wrap { width:76px; height:76px; min-width:76px; min-height:76px; max-width:76px; max-height:76px; flex-basis:76px; }
  .profile-portrait { width:72px !important; height:72px !important; max-width:72px !important; max-height:72px !important; }
}

/* v8 — subtle live-status pulse */
.status-dot {
  animation: statusPulse 2.15s ease-in-out infinite;
  transform-origin: center;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: .62;
    box-shadow: 0 0 0 3px rgba(var(--green-rgb), .08), 0 0 0 rgba(var(--green-rgb), 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(var(--green-rgb), .15), 0 0 15px rgba(var(--green-rgb), .42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}
\n\n/* v9.4 — compact, expandable peer-review summary */\n#peerReviewSummary {\n  display:flex;\n  align-items:center;\n  flex-wrap:wrap;\n  gap:5px 7px;\n}\n.venue-more-toggle {\n  appearance:none;\n  border:0;\n  padding:2px 7px;\n  border-radius:999px;\n  background:rgba(var(--green-rgb),.08);\n  color:var(--green);\n  font:inherit;\n  font-size:11px;\n  font-weight:600;\n  line-height:1.45;\n  cursor:pointer;\n  transition:background .18s ease, color .18s ease, transform .18s ease;\n}\n.venue-more-toggle:hover {\n  background:rgba(var(--green-rgb),.14);\n  transform:translateY(-1px);\n}\n.venue-more-list {\n  flex-basis:100%;\n  padding-top:2px;\n  color:var(--muted-2);\n  font-size:11px;\n  line-height:1.55;\n}\n.venue-more-list[hidden] { display:none !important; }\n