:root {
  --bg: #f7f5ef;
  --surface: #fffdf8;
  --surface-2: #ece9df;
  --text: #172322;
  --muted: #5f6b68;
  --accent: #0f6b68;
  --accent-2: #b65d3b;
  --accent-soft: #d8ebe7;
  --line: rgba(23,35,34,.14);
  --shadow: 0 24px 60px rgba(20,44,43,.10);
  --radius: 22px;
  --max: 1180px;
}
[data-theme="dark"] {
  --bg: #0f1717;
  --surface: #14201f;
  --surface-2: #1a2827;
  --text: #eef5f1;
  --muted: #a7b8b3;
  --accent: #6fd1c6;
  --accent-2: #f0a07a;
  --accent-soft: #183b38;
  --line: rgba(238,245,241,.13);
  --shadow: 0 24px 60px rgba(0,0,0,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin:0; color:var(--text); background:var(--bg); font: 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button,input,select { font: inherit; }
.container { width:min(var(--max), calc(100% - 40px)); margin:0 auto; }
.skip-link { position:fixed; left:12px; top:-60px; background:var(--text); color:var(--bg); padding:8px 12px; z-index:1000; border-radius:8px; }
.skip-link:focus { top:12px; }
.site-header { position:sticky; top:0; z-index:100; backdrop-filter: blur(16px); background:color-mix(in srgb, var(--bg) 86%, transparent); border-bottom:1px solid transparent; transition:.25s ease; }
.site-header.scrolled { border-color:var(--line); }
.nav-shell { min-height:72px; display:flex; align-items:center; gap:24px; }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; font-weight:750; white-space:nowrap; }
.brand-mark { width:36px; height:36px; display:grid; place-items:center; border-radius:12px; background:var(--text); color:var(--bg); font-size:.82rem; letter-spacing:.04em; }
.site-nav { margin-left:auto; display:flex; align-items:center; gap:4px; }
.site-nav a { color:var(--muted); text-decoration:none; font-size:.92rem; padding:9px 11px; border-radius:999px; }
.site-nav a:hover,.site-nav a.active { color:var(--text); background:var(--surface-2); }
.menu-toggle { display:none; }
.theme-toggle,.menu-toggle { border:1px solid var(--line); background:var(--surface); color:var(--text); border-radius:999px; padding:8px 11px; cursor:pointer; }
.hero { padding:86px 0 34px; overflow:hidden; }
.hero-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:70px; align-items:center; }
.eyebrow { letter-spacing:.14em; font-size:.72rem; font-weight:800; color:var(--accent); margin:0 0 12px; }
h1,h2,h3 { line-height:1.08; letter-spacing:-.035em; margin-top:0; }
h1 { font-size:clamp(3.4rem, 7vw, 6.9rem); margin-bottom:18px; max-width:850px; }
h2 { font-size:clamp(2.2rem,4vw,4rem); margin-bottom:16px; }
h3 { font-size:1.25rem; }
.hero-headline { font-family:Georgia, "Times New Roman", serif; font-style:italic; font-size:clamp(1.4rem,2.2vw,2.15rem); line-height:1.35; color:var(--accent-2); max-width:780px; margin:0 0 18px; }
.hero-subheadline { color:var(--muted); max-width:760px; font-size:1.1rem; margin:0 0 28px; }
.hero-actions,.social-row { display:flex; flex-wrap:wrap; gap:10px; }
.hero-actions { margin-bottom:22px; }
.btn { display:inline-flex; align-items:center; gap:8px; text-decoration:none; border:1px solid var(--line); padding:11px 16px; border-radius:999px; font-weight:700; background:var(--surface); transition:.2s ease; }
.btn:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.08); }
.btn-primary { background:var(--text); color:var(--bg); border-color:var(--text); }
.social-link { display:inline-flex; align-items:center; gap:7px; color:var(--muted); text-decoration:none; font-size:.9rem; padding:6px 2px; margin-right:10px; }
.social-link:hover { color:var(--accent); }
.icon { width:17px; height:17px; }
.hero-visual { min-height:520px; display:grid; place-items:center; position:relative; }
.orbit-card { width:min(100%,500px); aspect-ratio:1; border-radius:50%; position:relative; background:radial-gradient(circle at 50% 50%, var(--accent-soft) 0 29%, transparent 30% 100%); border:1px solid var(--line); box-shadow:inset 0 0 0 28px color-mix(in srgb,var(--surface) 40%, transparent); }
.orbit-card:before,.orbit-card:after { content:""; position:absolute; border:1px dashed var(--line); border-radius:50%; inset:13%; }
.orbit-card:after { inset:29%; }
.network-lines { position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.network-lines line { stroke:var(--line); stroke-width:1.6; stroke-dasharray:6 7; }
.core { position:absolute; z-index:3; width:150px; height:150px; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:50%; background:var(--text); color:var(--bg); display:grid; place-content:center; text-align:center; box-shadow:var(--shadow); }
.core span { font-size:.72rem; text-transform:uppercase; letter-spacing:.18em; }
.core strong { font-size:3rem; line-height:1; }
.orb { z-index:2; min-height:54px; padding:10px 12px; background:var(--surface); border:1px solid var(--line); border-radius:16px; display:grid; place-items:center; text-align:center; font-size:.76rem; font-weight:750; line-height:1.2; box-shadow:0 12px 25px rgba(0,0,0,.08); }
.orb-1 { left:50%; top:2%; transform:translateX(-50%); }.orb-2 { right:1%; top:22%; }.orb-3 { right:1%; bottom:22%; }.orb-4 { left:50%; bottom:2%; transform:translateX(-50%); }.orb-5 { left:1%; bottom:22%; }
.orb-6 { left:1%; top:22%; }
.metric-strip { margin-top:54px; display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.metric { padding:25px 18px; border-right:1px solid var(--line); }.metric:last-child{border-right:0}.metric strong{display:block;font-size:2rem;letter-spacing:-.04em}.metric span{color:var(--muted);font-size:.9rem}
.section { padding:106px 0; }.section-tint { background:var(--surface); }
.section-head { max-width:760px; margin-bottom:44px; }.section-head p:last-child { color:var(--muted); font-size:1.05rem; }
.research-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:46px; align-items:start; }
.question-card { position:sticky; top:110px; padding:30px; background:var(--text); color:var(--bg); border-radius:var(--radius); box-shadow:var(--shadow); }
.question-card .label { text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; opacity:.7; }.question-card blockquote{font:italic 1.45rem/1.45 Georgia,serif;margin:14px 0 20px}.question-card p{opacity:.78;margin:0}
.theme-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.theme-card,.project-card,.teaching-card,.mini-card { border:1px solid var(--line); background:var(--surface); border-radius:var(--radius); padding:25px; }
.theme-card h3,.project-card h3 { margin-bottom:9px; }.theme-card p,.project-card p,.mini-card p { color:var(--muted); margin:0 0 14px; }
.tags { display:flex; flex-wrap:wrap; gap:7px; }.tag { font-size:.74rem; color:var(--accent); background:var(--accent-soft); padding:5px 9px; border-radius:999px; }
.pub-toolbar { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-bottom:22px; }
.search-box { flex:1 1 280px; position:relative; }.search-box input { width:100%; border:1px solid var(--line); background:var(--bg); color:var(--text); border-radius:14px; padding:12px 14px; outline:none; }.search-box input:focus{border-color:var(--accent)}
.filter-group { display:flex; flex-wrap:wrap; gap:7px; }.filter-btn { border:1px solid var(--line); background:var(--bg); color:var(--muted); border-radius:999px; padding:8px 11px; cursor:pointer; font-size:.85rem; }.filter-btn.active { background:var(--text); color:var(--bg); border-color:var(--text); }
.pub-count { color:var(--muted); font-size:.88rem; margin-left:auto; }
.pub-list { display:grid; gap:0; border-top:1px solid var(--line); }.pub-item { display:grid; grid-template-columns:75px 1fr auto; gap:20px; padding:24px 0; border-bottom:1px solid var(--line); }.pub-year { font-weight:800; color:var(--accent); }.pub-title{font-weight:760;font-size:1.05rem;line-height:1.4}.pub-authors,.pub-venue{color:var(--muted);font-size:.91rem}.pub-links{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap;justify-content:flex-end}.pub-link{font-size:.78rem;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:5px 9px}.pub-link:hover{border-color:var(--accent);color:var(--accent)}.pub-badge{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-left:8px}
.empty-state { padding:36px 0; color:var(--muted); }
.project-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }.project-card { display:flex; flex-direction:column; min-height:290px; transition:.2s ease; }.project-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }.project-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.78rem;margin-bottom:18px}.project-card h3{font-size:1.45rem}.project-card .subtitle{color:var(--accent-2);font-family:Georgia,serif;font-style:italic;margin-top:-2px}.card-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:18px}.card-links a{font-size:.82rem;font-weight:700;text-decoration:none;color:var(--accent)}
.career-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:48px; }.timeline { border-left:1px solid var(--line); padding-left:26px; display:grid; gap:32px; }.timeline-item { position:relative; }.timeline-item:before { content:""; width:11px;height:11px;border-radius:50%;background:var(--accent);position:absolute;left:-32px;top:6px;box-shadow:0 0 0 5px var(--surface)}.timeline-item h3{margin-bottom:4px}.timeline-meta{color:var(--accent);font-size:.88rem;font-weight:700}.timeline-item ul{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.side-stack { display:grid; gap:18px; }.mini-card h3 { margin-bottom:12px; }.edu-item,.award-item,.grant-item{padding:15px 0;border-bottom:1px solid var(--line)}.edu-item:last-child,.award-item:last-child,.grant-item:last-child{border-bottom:0}.edu-title{font-weight:750}.edu-meta{color:var(--muted);font-size:.88rem}.accordion-toggle{border:0;background:none;color:var(--accent);padding:0;font-weight:750;cursor:pointer;margin-top:6px}.collapsed-list .extra{display:none}
.teaching-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:36px; }.philosophy-card { padding:34px; border-radius:var(--radius); background:linear-gradient(145deg,var(--accent-soft),var(--surface)); border:1px solid var(--line); }.philosophy-card p{font:1.22rem/1.65 Georgia,serif;margin:0}.teaching-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.teaching-card h3{font-size:1.05rem}.teaching-card p{color:var(--muted);font-size:.92rem}.chip-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.chip{padding:7px 10px;border-radius:999px;background:var(--surface-2);font-size:.70rem}
.service-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:32px}.service-stat{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}.service-stat strong{font-size:1.75rem;display:block}.service-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-columns h3{margin-bottom:14px}.clean-list{list-style:none;margin:0;padding:0}.clean-list li{padding:9px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:.9rem}.clean-list li:last-child{border-bottom:0}.editorial-link{color:var(--accent);font-weight:700;text-decoration:none}
.contact-section { padding-top:70px; }.contact-card { background:var(--text); color:var(--bg); border-radius:30px; padding:46px; display:grid; grid-template-columns:1fr auto; gap:30px; align-items:center; }.contact-card h2{margin-bottom:10px}.contact-card p{margin:0;opacity:.75;max-width:720px}.contact-card .btn{background:var(--bg);color:var(--text);border-color:var(--bg)}
.footer { padding:30px 0 42px; color:var(--muted); }.footer-inner { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--line); padding-top:24px; font-size:.85rem; }
.noscript { position:fixed;bottom:0;left:0;right:0;padding:12px;background:#fff0b7;color:#201b00;text-align:center;z-index:999; }
.reveal { opacity:0; transform:translateY(16px); transition:opacity .65s ease,transform .65s ease; }.reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){*{scroll-behavior:auto!important}.reveal{opacity:1;transform:none;transition:none}.project-card:hover,.btn:hover{transform:none}}
@media (max-width: 900px){
  .hero-grid,.research-layout,.career-grid,.teaching-layout{grid-template-columns:1fr}.hero-visual{min-height:420px}.question-card{position:static}.theme-grid,.project-grid,.teaching-grid{grid-template-columns:1fr 1fr}.service-columns{grid-template-columns:1fr}.site-nav{position:absolute;top:72px;left:20px;right:20px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);padding:10px;display:none;flex-direction:column;align-items:stretch}.site-nav.open{display:flex}.menu-toggle{display:block;margin-left:auto}.site-nav a{display:block}.theme-toggle{margin-left:0}.pub-item{grid-template-columns:65px 1fr}.pub-links{grid-column:2;justify-content:flex-start}.metric-strip{grid-template-columns:repeat(2,1fr)}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.service-stats{grid-template-columns:1fr 1fr 1fr}
}
@media (max-width: 620px){
  .container{width:min(100% - 28px,var(--max))}.hero{padding-top:56px}.hero-visual{min-height:340px}.orbit-card{width:340px;max-width:100%}.core{width:112px;height:112px}.core strong{font-size:2.3rem}.orb{width:76px;font-size:.65rem;padding:8px}.metric-strip{margin-top:28px}.section{padding:78px 0}.theme-grid,.project-grid,.teaching-grid,.service-stats{grid-template-columns:1fr}.pub-item{grid-template-columns:1fr;gap:7px}.pub-links{grid-column:1}.project-card{min-height:auto}.contact-card{grid-template-columns:1fr;padding:32px}.footer-inner{flex-direction:column}.brand #brand-name{display:none}
}

.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.resource-list{list-style:none;padding:0;margin:0}.resource-list li{border-bottom:1px solid var(--line)}.resource-list li:last-child{border-bottom:0}.resource-list a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;text-decoration:none;color:var(--muted)}.resource-list a:hover{color:var(--accent)}@media(max-width:900px){.resource-grid{grid-template-columns:1fr}}

.featured-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;

  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

#research {
  border-top: 1px solid var(--line);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--muted);
  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 650;

  padding: 4px 16px 4px 0;
  margin-right: 16px;

  background: transparent;
  border: 0;
  border-radius: 0;

  transition: color 0.2s ease;
}

.social-link .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

/* subtle divider between items */
.social-link:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 15px;
  background: var(--line);
  margin-left: 16px;
}

/* simple hover */
.social-link:hover {
  color: var(--accent);
}

.social-link:hover .icon {
  transform: translateY(-1px);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;

  margin-top: 26px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--text);
  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 650;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.contact-link .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-2);
}

.contact-link:hover {
  color: var(--accent-2);
  transform: translateY(-1px);
}

.teaching-interests {
  margin: 34px 0 0;
  padding: 20px 22px;

  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.teaching-interests-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.teaching-interests ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.teaching-interests li {
  position: relative;
  padding-left: 14px;

  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.teaching-interests li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.teaching-interests li::marker {
  color: var(--accent);
  font-size: 0.8em;
}

/* =========================
   ORBIT ANIMATION
   ========================= */

.orbit-ring {
  position: absolute;
  inset: 0%;
  transform-origin: center center;
  animation: orbit-spin 40s linear infinite;
}

.orb-slot {
  position: absolute;
  z-index: 3;
}

.orb {
  min-width: 105px;
  max-width: 125px;
  min-height: 46px;
  padding: 9px 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  line-height: 1.15;

  z-index: 3;
  animation: orbit-counter-spin 40s linear infinite;
}

.network-lines {
  z-index: 1;
}

.core {
  z-index: 5;
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-counter-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.orbit-card:hover .orbit-ring,
.orbit-card:hover .orb {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-ring,
  .orb {
    animation: none;
  }
}


/* Footer Button */
.footer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.top-button:hover {
  color: var(--text);
  transform: translateY(-2px);
}
