:root {
  --ink: #141414;
  --muted: #666666;
  --line: #dedede;
  --paper: #f7f7f5;
  --soft: #ededeb;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f5;
  --card-accent: var(--volt);
  --deep: #202020;
  --deep-2: #0f0f0f;
  --accent: #4b4b4b;
  --accent-2: #cfcfcf;
  --gold: #097266;
  --sky: #e6e6e6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  --text-soft: #333333;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Electric accent (futuristic) */
  --volt: #11b9a6;
  --volt-soft: rgba(17, 185, 166, 0.16);
  --volt-line: rgba(17, 185, 166, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(222, 222, 222, 0.95);
  background: rgba(247, 247, 245, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--volt-line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 0 0 1px var(--volt-line), 0 0 18px var(--volt-soft);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--deep);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--deep);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 780;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle-lines::before {
  top: -5px;
}

.menu-toggle-lines::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(330px, 0.68fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(42px, 7vw, 88px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 74px);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 255, 255, 0.82), transparent 18%),
    radial-gradient(circle at 84% 24%, rgba(20, 20, 20, 0.12), transparent 30%),
    radial-gradient(circle at 72% 82%, var(--volt-soft), transparent 34%),
    linear-gradient(135deg, #f7f7f5 0%, #eeeeec 45%, #d8d8d5 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.hero::before {
  top: auto;
  height: 58%;
  opacity: 0.34;
  background-image: radial-gradient(circle, rgba(20, 20, 20, 0.5) 0 1.7px, transparent 1.9px);
  background-position: 0 0;
  background-size: 18px 18px;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 34%, #000 96%),
    linear-gradient(0deg, #000 0%, transparent 95%);
  transform: perspective(720px) rotateX(58deg) rotateZ(-8deg) translate(-4%, 18%);
  transform-origin: bottom center;
}

.hero::after {
  inset: 4% -4% auto 36%;
  height: 44%;
  opacity: 0.2;
  background-image:
    radial-gradient(circle, rgba(20, 20, 20, 0.58) 0 1.35px, transparent 1.55px),
    linear-gradient(120deg, transparent 0 48%, rgba(20, 20, 20, 0.16) 48% 48.25%, transparent 48.25%);
  background-size: 14px 14px, 100% 100%;
  mask-image: linear-gradient(120deg, transparent 0%, #000 28%, #000 82%, transparent 100%);
  transform: skewY(-10deg) rotate(-4deg);
  transform-origin: right top;
}

.hero-copy::before {
  position: absolute;
  inset: -12% -9% -12% -7%;
  z-index: -1;
  border-radius: 12px;
  background:
    radial-gradient(circle at 48% 42%, rgba(247, 247, 245, 0.74), rgba(247, 247, 245, 0.48) 52%, transparent 78%),
    linear-gradient(90deg, rgba(247, 247, 245, 0.68), rgba(247, 247, 245, 0.34));
  content: "";
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 3.9vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 680px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
}

.hero-copy {
  position: relative;
  z-index: 0;
}

.mobile-hero-portrait {
  display: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--deep);
  border-radius: 6px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--deep);
  color: var(--white);
}

.button.primary:hover {
  box-shadow: 0 0 0 1px var(--volt), 0 10px 30px var(--volt-soft);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--deep);
}

.button.secondary:hover {
  border-color: var(--volt);
  box-shadow: 0 0 18px var(--volt-soft);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.46);
  background: var(--white);
  color: var(--deep);
}

.button.light:hover {
  box-shadow: 0 0 0 1px var(--volt), 0 0 22px var(--volt-soft);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: 38px 0 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.metrics div {
  min-height: 124px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.metrics dt {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metrics dd {
  margin: 0;
  font-weight: 760;
}

.profile-panel {
  display: grid;
  gap: 22px;
  width: min(100%, 510px);
  justify-self: center;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.profile-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  background: var(--sky);
  filter: saturate(0.94) contrast(1.02);
  transform: scaleX(-1);
}

.profile-panel h2 {
  margin-bottom: 8px;
  font-size: 1.34rem;
}

.profile-panel p {
  margin-bottom: 8px;
  color: var(--muted);
}

.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.panel-label,
.project-type,
.pub-year {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 9vw, 105px) clamp(20px, 5vw, 72px);
}

.section-heading {
  position: relative;
  max-width: 780px;
}

.profile-section,
.contact-grid,
.split-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 88px);
}

.split-heading {
  align-items: end;
}

.split-heading > p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.05rem;
}

.profile-copy {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.band {
  background: var(--soft);
}

.focus-grid,
.project-grid,
.recognition-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.focus-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-grid,
.recognition-grid,
.media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid article:last-child {
  grid-column: span 3;
}

.nextdriv-card {
  display: grid;
  gap: 16px;
}

.nextdriv-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nextdriv-brand img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
}

.nextdriv-brand h3,
.nextdriv-brand .project-type {
  margin-bottom: 4px;
}

.focus-grid article,
.publication-card,
.project-grid article,
.media-grid article,
.recognition-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.focus-grid article::before,
.publication-card::before,
.project-grid article::before,
.media-grid article::before,
.recognition-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--card-accent), transparent);
  content: "";
}

.focus-grid article,
.project-grid article,
.media-grid article,
.recognition-grid article {
  padding: 25px;
}

.topic-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--deep);
}

.topic-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.focus-grid p,
.publication-card p,
.project-grid p,
.media-grid p,
.timeline p,
.recognition-grid li {
  color: var(--muted);
}

.media-section {
  background: var(--paper);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.media-grid article {
  min-height: 230px;
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.media-links a,
.media-grid article > a {
  color: var(--deep);
  font-weight: 800;
  text-decoration-color: rgba(20, 20, 20, 0.32);
  text-underline-offset: 4px;
}

.publication-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.publication-column {
  display: grid;
  gap: 16px;
}

.publication-card {
  min-height: 190px;
  padding: 24px;
}

.publication-card.featured {
  background: linear-gradient(145deg, #252525, #101010);
  color: var(--white);
}

.publication-card.featured p,
.publication-card.featured a {
  color: #e5e5e5;
}

.publication-card.featured .pub-year {
  color: #2dd4bf;
}

.publication-card h3 {
  max-width: 820px;
  font-size: 1.26rem;
}

.publication-card a,
.project-grid a,
.contact-grid a,
.site-footer a {
  color: var(--deep);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(20, 20, 20, 0.32);
  text-underline-offset: 4px;
}

.publication-card.featured a {
  text-decoration-color: rgba(229, 229, 229, 0.5);
}

.publication-actions,
.project-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.timeline article {
  padding-top: 18px;
  border-top: 2px solid #303030;
}

.timeline time {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 850;
}

.recognition-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.awards-section {
  background: linear-gradient(180deg, var(--paper), #eeeeec);
}

.contact-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #202020 0%, #111111 100%);
  color: var(--white);
  padding-top: clamp(58px, 8vw, 92px);
  padding-bottom: clamp(34px, 6vw, 58px);
}

.contact-section .eyebrow {
  color: #2dd4bf;
}

.contact-section a {
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-copy {
  display: grid;
  align-content: start;
  max-width: 760px;
}

.contact-copy > p {
  max-width: 660px;
  color: #d8d8d8;
  font-size: 1.05rem;
}

.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-topics span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #f1f1f1;
  font-size: 0.86rem;
  font-weight: 760;
  background: rgba(255, 255, 255, 0.06);
}

.contact-grid {
  align-items: start;
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.contact-actions {
  display: grid;
  align-content: start;
  justify-items: stretch;
  gap: 20px;
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.contact-actions .button {
  width: 100%;
  min-width: 0;
  border-color: var(--white);
  background: var(--white);
  color: var(--deep);
}

address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  max-width: none;
  gap: 8px 18px;
  align-items: center;
  color: #d8d8d8;
}

.contact-label {
  width: 100%;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.profile-socials .social-icon {
  border-color: var(--line);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.social-icon strong {
  font-size: 0.78rem;
  letter-spacing: 0;
}

.social-text-icon {
  font-size: 0.72rem;
}

.social-links .social-icon {
  width: auto;
  min-width: 0;
  height: 42px;
  gap: 9px;
  padding: 9px 13px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

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

.social-links .social-icon strong,
.social-links .social-icon span {
  color: var(--white);
}

.social-links .social-icon span {
  font-size: 0.9rem;
  font-weight: 780;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #111111;
  color: #c9c9c9;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  justify-self: end;
  color: #d6d6d6;
  text-decoration-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 1060px) {
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .project-grid article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .site-header,
  .site-nav {
    align-items: flex-start;
  }

  .site-header,
  .profile-section,
  .contact-grid,
  .contact-panel,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .metrics,
  .publication-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .publication-card.featured {
    grid-row: auto;
  }

  .contact-actions {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 58px;
    padding: 8px 14px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.72rem;
  }

  .brand strong {
    font-size: 0.94rem;
    line-height: 1.15;
  }

  .brand small {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    min-height: 38px;
    padding: 7px 11px;
    font-size: 0.8rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    right: 12px;
    left: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: rgba(247, 247, 245, 0.98);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--deep);
    font-weight: 720;
  }

  [data-theme="dark"] .site-nav {
    border-color: var(--line);
    background: rgba(22, 22, 24, 0.98);
  }

  [data-theme="dark"] .site-nav a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ink);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
    padding: 18px 14px 28px;
  }

  .hero::before {
    height: 38%;
    opacity: 0.18;
    background-size: 15px 15px;
  }

  .hero::after {
    inset: 9% -24% auto 28%;
    height: 30%;
    opacity: 0.1;
  }

  .hero-copy::before {
    inset: -12px -10px -14px;
    border-radius: 8px;
    background: rgba(247, 247, 245, 0.78);
  }

  .hero .profile-panel {
    display: none;
  }

  /* Mobile hero: subtext on top, then picture (left) + name (right) on one row */
  .hero-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
  }

  .eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 16px;
    font-size: 0.66rem;
  }

  .mobile-hero-portrait {
    display: block;
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  .mobile-hero-portrait img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    object-position: center center;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    background: var(--sky);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    filter: saturate(0.94) contrast(1.02);
    transform: scaleX(-1);
  }

  h1 {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    max-width: none;
    margin-bottom: 0;
    font-size: clamp(1.5rem, 8vw, 2.05rem);
    line-height: 1.05;
    white-space: normal;
  }

  .hero-text,
  .hero-actions,
  .metrics {
    grid-column: 1 / -1;
  }

  .hero-text {
    margin-top: 20px;
  }

  h2 {
    font-size: clamp(1.62rem, 7vw, 2.2rem);
  }

  .hero-text {
    max-width: 34rem;
    margin-bottom: 16px;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .button {
    flex: 1 1 160px;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .metrics div {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 0;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
  }

  .metrics div:last-child {
    grid-column: auto;
  }

  .metrics dt {
    margin: 0;
    font-size: 0.62rem;
  }

  .metrics dd {
    font-size: 0.92rem;
    line-height: 1.32;
  }

  .section {
    padding: 32px 14px;
  }

  .split-heading {
    gap: 18px;
  }

  .profile-copy,
  .split-heading > p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .focus-grid,
  .project-grid,
  .media-grid,
  .recognition-grid,
  .publication-list,
  .timeline {
    gap: 12px;
    margin-top: 22px;
  }

  .focus-grid,
  .project-grid,
  .media-grid,
  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .focus-grid article,
  .project-grid article,
  .media-grid article,
  .recognition-grid article,
  .publication-card {
    padding: 15px;
  }

  .publication-card,
  .media-grid article {
    min-height: 0;
  }

  .publication-card h3 {
    font-size: 1.04rem;
  }

  .topic-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }

  .topic-icon svg {
    width: 21px;
    height: 21px;
  }

  .nextdriv-brand {
    align-items: flex-start;
    gap: 14px;
  }

  .nextdriv-brand img {
    width: 64px;
    height: 64px;
    padding: 8px;
  }

  .contact-section {
    padding-top: 42px;
  }

  .contact-panel {
    gap: 24px;
    padding-bottom: 26px;
  }

  .contact-actions {
    max-width: none;
    padding: 14px;
  }

  .contact-section .social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .social-links .social-icon {
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
  }

  .site-footer {
    gap: 8px;
    padding-block: 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    justify-self: start;
  }
}

/* ============================================================
   Minimalist-tech polish
   ============================================================ */

/* Monospace technical accents */
.eyebrow,
.panel-label,
.project-type,
.pub-year,
.metrics dt,
.contact-label,
.timeline time,
.news-date {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Header controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 921px) {
  .site-nav {
    margin-left: auto;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--deep);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun {
  display: none;
}

/* Animated scan line across the brand mark */
.brand-mark {
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: brand-scan 5.5s ease-in-out infinite;
}

@keyframes brand-scan {
  0%, 70% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

/* Card hover lift + animated top accent */
.focus-grid article,
.project-grid article,
.media-grid article,
.recognition-grid article,
.publication-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.focus-grid article:hover,
.project-grid article:hover,
.media-grid article:hover,
.recognition-grid article:hover,
.publication-card:not(.featured):hover {
  transform: translateY(-4px);
  border-color: var(--volt);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--volt-soft);
}

.focus-grid article::before,
.publication-card::before,
.project-grid article::before,
.media-grid article::before,
.recognition-grid article::before {
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.focus-grid article:hover::before,
.project-grid article:hover::before,
.media-grid article:hover::before,
.recognition-grid article:hover::before,
.publication-card:hover::before {
  transform: scaleX(1);
}

.topic-icon {
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.focus-grid article:hover .topic-icon {
  background: var(--volt);
  color: #04201c;
  border-color: var(--volt);
  box-shadow: 0 0 18px var(--volt-soft);
}

/* News section — expandable items */
.news-list {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-item {
  border-bottom: 1px solid var(--line);
}

.news-item > details {
  position: relative;
}

/* Clickable summary row */
.news-item summary {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 22px;
  gap: 26px;
  align-items: baseline;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.news-item summary::-webkit-details-marker {
  display: none;
}

.news-item summary:hover,
.news-item details[open] summary {
  padding-left: 14px;
  background: linear-gradient(90deg, var(--volt-soft), transparent 60%);
}

.news-item summary:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: -2px;
  border-radius: 6px;
}

.news-date {
  color: var(--gold);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.news-headline {
  color: var(--ink);
  font-weight: 700;
}

.news-tag {
  display: inline-block;
  margin-right: 8px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
}

/* Expand/collapse chevron */
.news-chevron {
  align-self: center;
  justify-self: end;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.news-item details[open] .news-chevron {
  transform: rotate(225deg);
}

/* Expanded body */
.news-body {
  padding: 0 4px 22px 122px;
  color: var(--muted);
  animation: news-reveal 0.3s ease;
}

.news-body p {
  margin: 0 0 14px;
}

.news-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--volt);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.news-body a:hover {
  color: var(--gold);
}

@keyframes news-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.news-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 640px) {
  .news-item summary {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 6px 12px;
    padding: 16px 2px;
  }

  .news-date {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .news-headline {
    grid-column: 1;
    grid-row: 2;
  }

  .news-chevron {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }

  .news-body {
    padding: 4px 2px 18px;
  }
}

/* Mobile progressive disclosure (phones only; desktop shows everything) */
.m-disclose {
  display: none;
}

.m-disclose-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.m-disclose-btn:hover {
  border-color: var(--volt);
  box-shadow: 0 0 16px var(--volt-soft);
}

.m-disclose-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--volt);
  border-bottom: 2px solid var(--volt);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.m-expanded .m-disclose-btn::after {
  transform: rotate(225deg);
}

@media (max-width: 760px) {
  .m-disclose {
    display: flex;
    margin-top: 16px;
  }

  .m-extra {
    display: none;
  }

  .m-expanded .m-extra {
    display: block;
  }

  .m-expanded .publication-column.m-extra {
    display: grid;
  }
}

/* Electric focus rings + social hover */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
  border-radius: 4px;
}

.social-icon {
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.social-icon:hover {
  border-color: var(--volt);
  color: var(--gold);
  box-shadow: 0 0 14px var(--volt-soft);
  transform: translateY(-1px);
}

/* Blinking terminal cursor on the News heading */
.blink {
  color: var(--gold);
  font-family: var(--mono);
  font-weight: 500;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .news-body { animation: none; }
  .blink { animation: none; }
  .brand-mark::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Dark mode
   ============================================================ */
[data-theme="dark"] {
  --ink: #ededed;
  --muted: #a3a3a3;
  --line: #2b2b2e;
  --paper: #0f0f10;
  --soft: #161618;
  --surface: #1a1a1c;
  --surface-2: #0f0f10;
  --card-accent: var(--volt);
  --accent: #b6b6b6;
  --accent-2: #707070;
  --gold: #2dd4bf;
  --sky: #2a2a2d;
  --text-soft: #cfcfcf;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);

  --volt: #2dd4bf;
  --volt-soft: rgba(45, 212, 191, 0.16);
  --volt-line: rgba(45, 212, 191, 0.32);
}

/* Foreground colors originally tuned for a light background */
[data-theme="dark"] .site-nav a:hover,
[data-theme="dark"] .site-nav a.active,
[data-theme="dark"] .topic-icon,
[data-theme="dark"] .profile-socials .social-icon {
  color: var(--ink);
}

[data-theme="dark"] .publication-card:not(.featured) a,
[data-theme="dark"] .project-grid a,
[data-theme="dark"] .media-links a,
[data-theme="dark"] .media-grid article > a {
  color: var(--ink);
  text-decoration-color: rgba(237, 237, 237, 0.4);
}

[data-theme="dark"] .site-header {
  background: rgba(15, 15, 16, 0.9);
  border-bottom-color: var(--line);
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .menu-toggle,
[data-theme="dark"] .button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

[data-theme="dark"] .button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #101010;
}

[data-theme="dark"] .button.secondary {
  border-color: var(--line);
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 255, 255, 0.06), transparent 18%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.05), transparent 30%),
    radial-gradient(circle at 72% 82%, rgba(45, 212, 191, 0.12), transparent 36%),
    linear-gradient(135deg, #0f0f10 0%, #141416 45%, #1d1d20 100%);
}

[data-theme="dark"] .hero::before {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.42) 0 1.7px, transparent 1.9px);
}

[data-theme="dark"] .hero::after {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 0 1.35px, transparent 1.55px),
    linear-gradient(120deg, transparent 0 48%, rgba(255, 255, 255, 0.12) 48% 48.25%, transparent 48.25%);
}

[data-theme="dark"] .hero-copy::before {
  background:
    radial-gradient(circle at 48% 42%, rgba(15, 15, 16, 0.72), rgba(15, 15, 16, 0.4) 52%, transparent 78%),
    linear-gradient(90deg, rgba(15, 15, 16, 0.6), rgba(15, 15, 16, 0.28));
}

[data-theme="dark"] .metrics {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .metrics div,
[data-theme="dark"] .profile-panel {
  background: var(--surface);
}

[data-theme="dark"] .awards-section {
  background: linear-gradient(180deg, var(--paper), #131315);
}

[data-theme="dark"] .publication-card.featured {
  background: linear-gradient(145deg, #232325, #0c0c0d);
  border-color: #34343a;
}

[data-theme="dark"] .timeline article {
  border-top-color: var(--accent-2);
}

[data-theme="dark"] img {
  filter: brightness(0.92) contrast(1.02);
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-inline: 14px;
  }

  .hero-copy {
    column-gap: 13px;
  }

  .mobile-hero-portrait img {
    width: 80px;
    height: 80px;
  }

  h1 {
    font-size: clamp(1.35rem, 7.5vw, 1.7rem);
  }

  .hero-actions .button {
    flex-basis: 100%;
  }

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

  .metrics div {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .contact-section .social-links {
    grid-template-columns: 1fr;
  }

  .contact-card {
    display: grid;
    gap: 7px;
  }
}
