:root {
  color-scheme: light;
  --font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --teal: #14B8A6;
  --teal-bright: #2DD4BF;
  --mint: #99F6E4;
  --mint-soft: #CCFBF1;
  --teal-deep: #0F766E;
  --accent-text: #0D9488;
  --focus-ring: var(--teal-deep);

  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-soft: #F1F5F9;
  --surface-glass: rgba(255, 255, 255, 0.78);
  --text: #0F172A;
  --muted: #475569;
  --muted-2: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --header: rgba(248, 250, 252, 0.86);
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 12px 38px rgba(15, 23, 42, 0.075);
  --teal-glow: 0 14px 34px rgba(20, 184, 166, 0.18);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --container: 1200px;
  --section-space: clamp(72px, 8vw, 96px);
  --nav-height: 76px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --accent-text: var(--teal-bright);
  --focus-ring: var(--teal-bright);
  --bg: #0B1220;
  --surface: #0F172A;
  --surface-soft: #111C2E;
  --surface-glass: rgba(15, 23, 42, 0.80);
  --text: #F8FAFC;
  --muted: #CBD5E1;
  --muted-2: #94A3B8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --header: rgba(11, 18, 32, 0.84);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
  --shadow-card: 0 16px 42px rgba(0, 0, 0, 0.20);
  --teal-glow: 0 16px 42px rgba(20, 184, 166, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 22px);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 7%, rgba(20, 184, 166, 0.07), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .25s ease, color .25s ease;
}

body::selection {
  background: var(--mint);
  color: #0F172A;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.35rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 600;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section-tight {
  padding-block: clamp(48px, 6vw, 72px);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-header h2,
.section-header h3 {
  margin-bottom: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(20, 184, 166, .10);
  color: var(--teal-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

html[data-theme="dark"] .section-kicker {
  color: var(--teal-bright);
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 9999;
  background: var(--teal);
  color: #042F2E;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
}

.brand-label {
  font-size: .95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
  transition: color .18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 100%;
  bottom: -9px;
  background: var(--teal);
  border-radius: 999px;
  transition: right .18s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: .18s ease;
}

.icon-btn:hover {
  background: var(--surface-soft);
  border-color: var(--border);
}

.icon-btn .icon {
  width: 19px;
  height: 19px;
}

.menu-btn {
  display: none;
}

/* Buttons and links */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  color: #042F2E;
  box-shadow: var(--teal-glow);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(20, 184, 166, .26);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--teal);
}

.btn-ghost {
  min-height: 38px;
  padding: 0 12px;
  color: var(--teal-deep);
  background: rgba(20, 184, 166, .08);
}

html[data-theme="dark"] .btn-ghost {
  color: var(--teal-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-deep);
  font-weight: 650;
  font-size: .9rem;
}

html[data-theme="dark"] .text-link {
  color: var(--teal-bright);
}

.text-link .icon {
  transition: transform .18s ease;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(620px, 78vh, 720px);
  display: flex;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -180px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, .12), transparent 67%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 540px);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-block: 56px 48px;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-eyebrows {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: var(--surface-glass);
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 600;
}

.eyebrow-pill.primary {
  color: var(--teal-deep);
  background: rgba(20, 184, 166, .11);
  border-color: rgba(20, 184, 166, .18);
}

html[data-theme="dark"] .eyebrow-pill.primary {
  color: var(--teal-bright);
}

.hero-title {
  margin-bottom: 13px;
  max-width: 780px;
}

.hero-title .accent {
  color: var(--accent-text);
  display: block;
}

.hero-role {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.14rem, 2.3vw, 1.45rem);
  margin-bottom: 2px;
}

.hero-affiliation {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 17px;
}

.hero-intro {
  color: var(--muted);
  max-width: 680px;
  font-size: 1.03rem;
  margin-bottom: 25px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .text-link {
  min-height: 32px;
  align-self: center;
  justify-self: start;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
}

.social-link:hover {
  color: var(--text);
}

.social-link .icon {
  width: 17px;
  height: 17px;
}

.hero-visual {
  position: relative;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 760 / 620;
  overflow: visible;
}

.hero-art {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-art-dark {
  display: none;
}

html[data-theme="dark"] .hero-art-light {
  display: none;
}

html[data-theme="dark"] .hero-art-dark {
  display: block;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.hero-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .12);
}

.chip-1 {
  top: 12%;
  right: 8%;
}

.chip-2 {
  top: 33%;
  right: -1%;
}

.chip-3 {
  bottom: 18%;
  right: 6%;
}

/* Cards */
.glass-panel,
.card {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.interest-card {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.interest-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, .44);
  box-shadow: var(--shadow-card);
}

.interest-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(20, 184, 166, .09);
  color: var(--teal-deep);
}

html[data-theme="dark"] .interest-icon {
  color: var(--teal-bright);
}

.interest-icon .icon {
  width: 21px;
  height: 21px;
}

.interest-card span:last-child {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 184, 166, .36);
  box-shadow: var(--shadow);
}

.project-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.025);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.project-body p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: rgba(20, 184, 166, .10);
  color: var(--teal-deep);
  font-size: .69rem;
  font-weight: 700;
}

html[data-theme="dark"] .tag {
  color: var(--teal-bright);
  background: rgba(20, 184, 166, .12);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 13px 18px;
  border-top: 1px solid var(--border);
}

.project-footer a {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-footer a:hover {
  color: var(--teal-deep);
}

html[data-theme="dark"] .project-footer a:hover {
  color: var(--teal-bright);
}

/* Publications and news */
.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, .75fr);
  gap: 22px;
}

.publication-list {
  display: grid;
  gap: 10px;
}

.publication-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pub-index {
  color: var(--teal-deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  text-align: center;
}

html[data-theme="dark"] .pub-index {
  color: var(--teal-bright);
}

.pub-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .89rem;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
  line-height: 1.35;
}

.pub-meta {
  color: var(--muted-2);
  font-size: .76rem;
  line-height: 1.4;
}

.pub-actions {
  display: flex;
  gap: 6px;
}

.pub-actions a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .73rem;
  font-weight: 650;
  border: 1px solid var(--border);
}

.pub-actions a:hover {
  border-color: var(--teal);
  color: var(--text);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 25px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border-strong);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 184, 166, .10);
}

.timeline-date {
  color: var(--teal-deep);
  font-weight: 700;
  font-size: .75rem;
  margin-bottom: 3px;
}

html[data-theme="dark"] .timeline-date {
  color: var(--teal-bright);
}

.timeline-text {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}

/* Inner pages */
.page-hero {
  padding-block: clamp(64px, 8vw, 96px) 48px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero .accent {
  color: var(--accent-text);
}

.content-card {
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.prose {
  max-width: 820px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.prose h2 {
  margin-top: 48px;
  margin-bottom: 14px;
}

.prose h3 {
  margin-top: 32px;
  margin-bottom: 9px;
}

.prose ul {
  padding-left: 20px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.research-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.research-card .interest-icon {
  margin-bottom: 18px;
}

.research-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.experience-list {
  display: grid;
  gap: 16px;
}

.experience-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.experience-item:last-child {
  border-bottom: 0;
}

.experience-date {
  color: var(--teal-deep);
  font-size: .8rem;
  font-weight: 700;
  padding-top: 4px;
}

html[data-theme="dark"] .experience-date {
  color: var(--teal-bright);
}

.experience-item h3 {
  margin-bottom: 4px;
}

.experience-org {
  color: var(--muted-2);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 8px;
}

.experience-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.contact-method:hover {
  border-color: rgba(20, 184, 166, .45);
}

.contact-method .interest-icon {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.contact-method strong {
  display: block;
  font-size: .9rem;
}

.contact-method span:last-child {
  color: var(--muted);
  font-size: .82rem;
}

.contact-note {
  padding: 28px;
  background: linear-gradient(135deg, rgba(20, 184, 166, .10), rgba(153, 246, 228, .06));
  border: 1px solid rgba(20, 184, 166, .22);
  border-radius: var(--radius-lg);
}

.contact-note p {
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 34px;
  margin-top: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-meta,
.footer-copy {
  color: var(--muted-2);
  font-size: .8rem;
}

.footer-copy {
  text-align: right;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social a {
  color: var(--muted);
}

.footer-social a:hover {
  color: var(--focus-ring);
}

.footer-social .icon {
  width: 18px;
  height: 18px;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 8px;
}

.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: 1080px) {
  .nav-links {
    gap: 16px;
  }

  .nav-link {
    font-size: .82rem;
  }

  .interest-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1.08fr .92fr;
  }

  .hero-visual {
    min-height: 480px;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 70px;
  }

  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .menu-btn {
    display: inline-grid;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--nav-height) - 20px);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    background: var(--surface-soft);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 58px;
    gap: 12px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .content-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .brand-label {
    display: none;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .hero-role {
    font-size: 1.1rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-chip {
    font-size: .68rem;
  }

  .chip-1 {
    top: 13%;
    right: 5%;
  }

  .chip-2 {
    top: 32%;
    right: -1%;
  }

  .chip-3 {
    bottom: 19%;
    right: 4%;
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .publication-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .pub-actions {
    grid-column: 2;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    text-align: left;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .hero-grid {
    padding-top: 44px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-row {
    gap: 14px;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    min-height: 88px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-chip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .btn:hover,
  .interest-card:hover,
  .project-card:hover,
  .project-card:hover .project-media img,
  .pub-full:hover,
  .text-link:hover .icon {
    transform: none !important;
  }
}


/* Research portfolio extensions */
.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.impact-strip>div {
  padding: 24px 22px;
  border-right: 1px solid var(--border);
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.impact-strip>div:last-child {
  border-right: 0;
}

.impact-strip strong {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  letter-spacing: -.03em;
  color: var(--text);
}

.impact-strip span {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
  margin-top: 4px;
}

.current-research-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  gap: 34px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(20, 184, 166, .24);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(20, 184, 166, .10), rgba(153, 246, 228, .035) 48%, var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.current-research-card::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(45, 212, 191, .18), transparent 67%);
  border-radius: 50%;
}

.current-research-copy {
  position: relative;
  z-index: 2;
}

.current-research-copy h2 {
  max-width: 760px;
  margin-bottom: 10px;
}

.current-research-copy p {
  color: var(--muted);
  max-width: 760px;
}

.current-research-copy strong {
  color: var(--text);
}

.research-status {
  color: var(--teal-deep) !important;
  font-weight: 700;
  font-size: .88rem;
}

html[data-theme="dark"] .research-status {
  color: var(--teal-bright) !important;
}

.current-research-visual {
  display: grid;
  place-items: center;
  min-height: 300px;
  position: relative;
  z-index: 1;
}

.research-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(20, 184, 166, .28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, .13), transparent 65%);
}

.research-orbit::before,
.research-orbit::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px dashed rgba(20, 184, 166, .35);
  border-radius: 50%;
  transform: rotate(28deg);
}

.research-orbit::after {
  inset: 70px;
  transform: rotate(-18deg);
}

.research-orbit span {
  position: absolute;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.research-orbit span:nth-child(1) {
  top: 10px;
  left: 92px
}

.research-orbit span:nth-child(2) {
  top: 90px;
  right: -20px
}

.research-orbit span:nth-child(3) {
  bottom: 18px;
  right: 32px
}

.research-orbit span:nth-child(4) {
  bottom: 40px;
  left: -28px
}

.research-orbit span:nth-child(5) {
  top: 82px;
  left: -26px
}

.narrative-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.narrative-grid h2 {
  max-width: 520px;
}

.narrative-copy {
  font-size: 1.04rem;
}

.narrative-copy p {
  color: var(--muted);
}

.narrative-copy strong {
  color: var(--text);
}

.trajectory-title {
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.project-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  color: var(--teal-deep);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .055em;
}

html[data-theme="dark"] .project-label {
  color: var(--teal-bright);
}

.research-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 42px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.research-feature p {
  color: var(--muted);
}

.contribution-box {
  margin-top: 26px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(20, 184, 166, .08);
  border: 1px solid rgba(20, 184, 166, .2);
}

.contribution-box h3 {
  margin-bottom: 8px;
}

.contribution-box p {
  margin-bottom: 0;
}

.research-flow {
  display: grid;
  align-content: center;
  gap: 8px;
}

.research-flow div {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
  font-weight: 650;
  font-size: .82rem;
}

.research-flow span {
  color: var(--teal);
  text-align: center;
  font-weight: 800;
}

.publication-full-list {
  display: grid;
  gap: 14px;
}

.pub-full {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: .2s ease;
}

.pub-full:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, .35);
  box-shadow: var(--shadow-card);
}

.pub-year {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-deep);
}

.pub-full h3 {
  margin: 0 0 5px;
  font-size: 1.02rem
}

.pub-full p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem
}

html[data-theme="dark"] .pub-year {
  color: var(--teal-bright);
}

.project-detail-list {
  display: grid;
  gap: 22px;
}

.project-detail {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.project-detail > * {
  min-width: 0;
}

.project-detail img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.project-detail h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.project-detail p {
  color: var(--muted);
}

.footer-copy a {
  color: var(--teal-deep);
  font-weight: 650;
}

html[data-theme="dark"] .footer-copy a {
  color: var(--teal-bright)
}

@media (max-width:1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 470px)
  }

  .hero-visual {
    max-width: 470px;
    aspect-ratio: 760/620
  }

  .impact-strip {
    grid-template-columns: repeat(2, 1fr)
  }

  .impact-strip>div:nth-child(2) {
    border-right: 0
  }

  .impact-strip>div:nth-child(-n+2) {
    border-bottom: 1px solid var(--border)
  }

  .current-research-card,
  .research-feature {
    grid-template-columns: 1fr
  }

  .current-research-visual {
    min-height: 250px
  }
}

@media (max-width:900px) {
  .hero {
    min-height: auto
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 58px;
    gap: 24px
  }

  .hero-copy {
    max-width: 760px
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
    justify-self: center;
    aspect-ratio: 760/620
  }

  .narrative-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .project-detail {
    grid-template-columns: minmax(0, 1fr)
  }

  .project-detail img {
    max-width: 520px
  }
}

@media (max-width:700px) {
  .hero-visual {
    max-width: 460px
  }

  .impact-strip {
    grid-template-columns: 1fr
  }

  .impact-strip>div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--border)
  }

  .impact-strip>div:last-child {
    border-bottom: 0
  }

  .pub-full {
    grid-template-columns: 58px minmax(0, 1fr)
  }

  .pub-full .btn {
    grid-column: 2;
    width: max-content
  }

  .current-research-card {
    padding: 26px
  }

  .research-orbit {
    transform: scale(.9)
  }
}

@media (max-width:480px) {
  .hero-visual {
    max-width: 360px
  }

  .current-research-visual {
    min-height: 220px
  }

  .research-orbit {
    transform: scale(.78)
  }

  .pub-full {
    grid-template-columns: 1fr
  }

  .pub-full .btn {
    grid-column: auto
  }
}


/* SMILES 2026 & WebPilot */
.research-milestone-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 36px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--surface), rgba(20, 184, 166, .065));
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden
}

.research-milestone-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -85px;
  top: -105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, .18), transparent 68%)
}

.milestone-main {
  position: relative;
  z-index: 1
}

.milestone-meta {
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: .02em;
  margin-bottom: 10px
}

html[data-theme="dark"] .milestone-meta {
  color: var(--teal-bright)
}

.milestone-main h2 {
  max-width: 760px;
  margin-bottom: 14px
}

.milestone-main p {
  max-width: 780px;
  color: var(--muted)
}

.milestone-main strong {
  color: var(--text)
}

.milestone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px
}

.milestone-side {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 10px
}

.milestone-side>div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px)
}

.milestone-side strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .92rem;
  margin-bottom: 2px
}

.milestone-side span {
  display: block;
  color: var(--muted);
  font-size: .76rem
}

.milestone-badge {
  display: inline-flex !important;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, .12);
  border: 1px solid rgba(20, 184, 166, .22);
  color: var(--teal-deep) !important;
  font-size: .7rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em
}

html[data-theme="dark"] .milestone-badge {
  color: var(--teal-bright) !important
}

.project-detail-featured {
  border-color: rgba(20, 184, 166, .30);
  background: linear-gradient(140deg, var(--surface), rgba(20, 184, 166, .05))
}

.project-note {
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
  background: rgba(20, 184, 166, .065);
  border-radius: 0 10px 10px 0
}

.submission-card {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(20, 184, 166, .28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20, 184, 166, .08), var(--surface));
  box-shadow: var(--shadow-card)
}

.submission-card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  margin-bottom: 8px
}

.submission-card p {
  color: var(--muted);
  max-width: 900px
}

.submission-card strong {
  color: var(--text)
}

.submission-status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(20, 184, 166, .11);
  color: var(--teal-deep);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em
}

html[data-theme="dark"] .submission-status {
  color: var(--teal-bright)
}

.academic-experience-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(20, 184, 166, .28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface), rgba(20, 184, 166, .05));
  box-shadow: var(--shadow-card)
}

.academic-date {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-deep);
  padding-top: 3px
}

html[data-theme="dark"] .academic-date {
  color: var(--teal-bright)
}

.academic-experience-card h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 5px
}

.academic-experience-card p {
  color: var(--muted);
  max-width: 860px
}

.academic-experience-card strong {
  color: var(--text)
}

@media(max-width:900px) {
  .research-milestone-card {
    grid-template-columns: 1fr
  }

  .milestone-side {
    grid-template-columns: repeat(3, 1fr)
  }

  .milestone-badge {
    grid-column: 1/-1
  }

  .academic-experience-card {
    grid-template-columns: 1fr;
    gap: 10px
  }
}

@media(max-width:700px) {
  .milestone-side {
    grid-template-columns: 1fr
  }

  .milestone-actions {
    gap: 14px
  }

  .research-milestone-card {
    padding: 26px
  }
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #F8FAFC;
}

.project-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #F8FAFC;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Compact institutional feature */
.institutional-feature {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(110deg, rgba(20, 184, 166, .045), transparent), var(--surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.institutional-feature > * {
  min-width: 0;
}

.institutional-feature-label,
.institutional-feature-meta {
  display: block;
  font-size: .74rem;
  line-height: 1.5;
}

.institutional-feature-label {
  color: var(--teal-deep);
  font-weight: 700;
}

.institutional-feature-meta {
  margin-top: 6px;
  color: var(--muted);
}

.institutional-feature-copy h2 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.institutional-feature-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.6;
}

.institutional-feature-cta {
  font-size: .82rem;
}

.institutional-feature-cta .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.institutional-feature:hover,
.institutional-feature:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, .45);
  box-shadow: 0 6px 18px rgba(20, 184, 166, .08);
}

.institutional-feature:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 4px;
}

html[data-theme="dark"] .institutional-feature-label {
  color: var(--teal-bright);
}

html[data-theme="dark"] .institutional-feature:focus-visible {
  outline-color: var(--teal-bright);
}

.institutional-feature:hover .institutional-feature-cta .icon,
.institutional-feature:focus-visible .institutional-feature-cta .icon {
  transform: translate(1px, -1px);
}

@media (max-width: 900px) {
  .institutional-feature {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .institutional-feature-cta {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .institutional-feature,
  .institutional-feature-cta .icon {
    transition: none;
  }

  .institutional-feature:hover,
  .institutional-feature:focus-visible,
  .institutional-feature:hover .institutional-feature-cta .icon,
  .institutional-feature:focus-visible .institutional-feature-cta .icon {
    transform: none;
  }
}
