:root {
  --paper: #f4f1e8;
  --paper-deep: #e9e4d8;
  --ink: #17201d;
  --ink-soft: #5b625f;
  --line: rgba(23, 32, 29, 0.16);
  --accent: #ed5b3a;
  --accent-soft: #f6c951;
  --green: #173f35;
  --green-light: #e7f0eb;
  --white: #fffdf8;
  --shadow: 0 30px 80px rgba(27, 42, 36, 0.14);
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --display: Arial, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

[data-theme="dark"] {
  --paper: #151b19;
  --paper-deep: #1c2421;
  --ink: #edf1ed;
  --ink-soft: #a7b0ab;
  --line: rgba(237, 241, 237, 0.15);
  --green: #0b2821;
  --green-light: #1d312b;
  --white: #202825;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.section-pad {
  padding-top: 140px;
  padding-bottom: 140px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1320px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  height: 38px;
  padding: 3px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.language-switch a {
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 100px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
}

.language-switch a.active {
  background: var(--ink);
  color: var(--paper);
}

.mobile-language-switch {
  margin-top: 24px;
  padding-top: 24px;
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.mobile-language-switch a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.mobile-language-switch a.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.theme-toggle svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

[data-theme="light"] .moon-icon,
[data-theme="dark"] .sun-icon {
  display: none;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  min-height: 790px;
  padding-top: 180px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.eyebrow,
.section-index {
  margin: 0 0 24px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(55px, 7.4vw, 104px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--accent);
}

.hero-intro {
  max-width: 650px;
  margin: 36px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero-meta {
  margin-top: 56px;
  padding-top: 22px;
  display: flex;
  gap: 56px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  display: grid;
  gap: 3px;
}

.hero-meta span {
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-meta strong {
  font-size: 13px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0 24px;
}

.profile-stage {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 0.84;
}

.profile-shape {
  position: absolute;
  inset: 8% 4% 8% 12%;
  overflow: hidden;
  border-radius: 48% 48% 8px 8px;
  background: var(--green);
  box-shadow: var(--shadow);
}

.profile-shape::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
}

.profile-shape::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -4%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

.profile-lines {
  position: absolute;
  z-index: 3;
  top: 13%;
  left: 4%;
  display: grid;
  gap: 7px;
}

.profile-lines span {
  display: block;
  height: 1px;
  background: var(--accent);
}

.profile-lines span:nth-child(1) { width: 62px; }
.profile-lines span:nth-child(2) { width: 42px; }
.profile-lines span:nth-child(3) { width: 24px; }

.profile-photo {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 8%;
  width: 72%;
  max-height: 92%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 16px rgba(0,0,0,0.18));
}

.profile-name {
  position: absolute;
  z-index: 4;
  bottom: 4%;
  left: 0;
  min-width: 185px;
  padding: 14px 18px;
  display: grid;
  border-left: 4px solid var(--accent);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(14,31,25,0.18);
}

.profile-name span {
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.profile-name strong {
  font-size: 22px;
  letter-spacing: 0.12em;
}

.profile-role {
  position: absolute;
  z-index: 4;
  top: 11%;
  right: 0;
  padding: 11px 14px;
  display: grid;
  background: var(--accent-soft);
  color: #17201d;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.7;
  box-shadow: 0 12px 30px rgba(14,31,25,0.12);
}

/* Legacy profile selectors intentionally removed. */
.profile-backdrop {
  display: none;
}

.profile-panel {
  display: contents;
}

.profile-panel-head,
.profile-caption,
.profile-index {
  display: none;
}

/*
  Keep a subtle technical texture inside the green shape without
  competing with the portrait.
*/
.profile-shape {
  background:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
    var(--green);
  background-size: 40px 40px;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: ticker 26s linear infinite;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-group {
  padding: 18px 28px 18px 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ticker-group i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.about {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 120px;
}

.about-content .lead {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.65;
}

.stats-grid {
  margin: 70px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 150px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  font-family: var(--display);
  font-size: 48px;
  letter-spacing: -0.05em;
}

.stat sup {
  color: var(--accent);
  font-size: 20px;
}

.stat span {
  color: var(--ink-soft);
  font-size: 12px;
}

.capability-list > div {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 50px 140px 1fr;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.capability-list span {
  color: var(--accent);
  font-family: var(--display);
  font-size: 12px;
}

.capability-list strong {
  font-size: 17px;
}

.capability-list p {
  margin: 0;
  color: var(--ink-soft);
}

.experience {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 120px;
  border-top: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  min-height: 180px;
  display: grid;
  grid-template-columns: 155px 28px 1fr;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -18px;
  left: 168px;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-date {
  padding-top: 4px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 12px;
}

.timeline-marker {
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.timeline-content {
  padding-bottom: 48px;
}

.timeline-type {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.timeline-content h3 {
  margin: 0;
  font-size: 21px;
}

.timeline-content > p:last-child {
  margin: 9px 0 0;
  color: var(--ink-soft);
}

.research {
  background: var(--green);
  color: #f5f4ed;
}

.section-heading.light {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
}

.section-heading.light .section-index {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading.light > p:last-child {
  max-width: 420px;
  margin: 0 0 8px auto;
  color: rgba(245,244,237,0.65);
}

.filter-bar {
  margin-top: 70px;
  display: flex;
  gap: 10px;
}

.filter-button {
  padding: 9px 17px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  background: transparent;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.publication-list {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.publication {
  min-height: 144px;
  padding: 26px 8px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  transition: padding 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.publication:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255,255,255,0.04);
}

.publication.hidden {
  display: none;
}

.publication-no,
.publication-meta,
.publication-tag {
  color: rgba(255,255,255,0.5);
  font-family: var(--display);
  font-size: 11px;
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.publication-metrics {
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
}

.publication h3 {
  max-width: 850px;
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.publication-tag {
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
}

.publication-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.publication-download {
  padding: 6px 11px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: #fff;
  font-family: var(--display);
  font-size: 11px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.publication-download:hover {
  background: var(--accent);
}

.projects {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 100px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-card {
  position: relative;
  min-height: 390px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  overflow: hidden;
  outline: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.project-card::after {
  content: "VIEW";
  position: absolute;
  right: 24px;
  bottom: 25px;
  color: transparent;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.18em;
  transform: translateX(14px);
  transition: color 0.28s ease, transform 0.28s ease;
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 2;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: scale(1.012);
  box-shadow: 0 28px 60px rgba(237, 91, 58, 0.28);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  color: #fff6d9;
  transform: translateX(0);
}

.project-topline {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 11px;
  text-transform: uppercase;
}

.project-card:hover .project-topline,
.project-card:focus-visible .project-topline {
  color: #fff6d9;
}

.project-card h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.project-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.project-card:hover p,
.project-card:focus-visible p {
  color: rgba(255,255,255,0.78);
}

.project-card ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.project-card li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 10px;
}

.project-card:hover li,
.project-card:focus-visible li {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.06);
}

@media (hover: hover) {
  .project-grid:has(.project-card:hover) .project-card:not(:hover) {
    opacity: 0.58;
    transform: scale(0.985);
  }
}

.honors {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}

.honor-list {
  border-top: 1px solid var(--line);
}

.honor-item {
  min-height: 108px;
  display: grid;
  grid-template-columns: 100px minmax(230px, 1fr) minmax(210px, 320px);
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.honor-year,
.honor-mark {
  color: var(--ink-soft);
  font-size: 12px;
}

.honor-item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.honor-mark {
  text-align: right;
}

.skills {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}

.skills-content {
  display: grid;
  gap: 28px;
}

.skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.skill-card {
  min-height: 285px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(27, 42, 36, 0.1);
}

.skill-card:last-child {
  grid-column: 1 / -1;
  min-height: 240px;
}

.skill-no,
.certificate-label {
  color: var(--accent);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.skill-card h3 {
  margin: 38px 0 12px;
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: -0.025em;
}

.skill-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.skill-tags {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 10px;
}

.certificate-panel {
  padding: 34px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  background: var(--green);
  color: #f5f4ed;
}

.certificate-panel h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 28px;
}

.certificate-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.certificate-panel li {
  min-height: 72px;
  display: grid;
  grid-template-columns: 35px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.certificate-panel li span,
.certificate-panel li em {
  color: rgba(255,255,255,0.58);
  font-size: 10px;
  font-style: normal;
}

.certificate-panel li strong {
  font-size: 13px;
  font-weight: 500;
}

.contact {
  padding: 130px 0;
  background: var(--accent-soft);
  color: #17201d;
}

.contact-inner {
  text-align: center;
}

.contact .section-index {
  color: #17201d;
}

.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 7.5vw, 100px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.contact p:not(.section-index) {
  margin: 34px auto;
  font-size: 16px;
}

.contact-links {
  max-width: 650px;
  margin: 70px auto 0;
  display: grid;
}

.contact-link {
  padding: 19px 2px;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #17201d;
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 34px);
  transition: padding 0.2s ease;
}

.contact-link:hover {
  padding-right: 12px;
  padding-left: 12px;
}

.site-footer {
  padding: 28px 0;
  background: #17201d;
  color: rgba(255,255,255,0.65);
  font-size: 11px;
}

.site-footer .section-shell {
  display: flex;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s ease;
  }

  .menu-toggle span:last-child {
    transform: translateY(-4px);
  }

  .menu-open .menu-toggle span:first-child {
    transform: rotate(45deg) translate(2px, 2px);
  }

  .menu-open .menu-toggle span:last-child {
    transform: rotate(-45deg) translate(1px, -1px);
  }

  .mobile-nav {
    position: fixed;
    inset: 84px 0 0;
    padding: 60px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--paper);
    font-family: var(--display);
    font-size: 36px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 480px;
    margin: 20px auto 0;
    padding-right: 28px;
  }

  .about,
  .experience,
  .projects,
  .honors,
  .skills {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .section-shell {
    width: min(100% - 36px, 1180px);
  }

  .section-pad {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .nav-shell {
    width: calc(100% - 28px);
    height: 72px;
  }

  .mobile-nav {
    inset: 72px 0 0;
  }

  .brand-name {
    display: none;
  }

  .language-switch {
    display: none;
  }

  .hero {
    padding-top: 125px;
    padding-bottom: 75px;
    gap: 60px;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 70px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-meta {
    gap: 25px;
    flex-direction: column;
  }

  .profile-stage {
    width: min(100%, 360px);
  }

  .profile-role {
    right: 2px;
    font-size: 9px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .capability-list > div {
    grid-template-columns: 35px 105px 1fr;
    gap: 8px;
  }

  .section-heading.light {
    grid-template-columns: 1fr;
  }

  .section-heading.light > p:last-child {
    margin: 0;
  }

  .filter-bar {
    overflow-x: auto;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .publication {
    grid-template-columns: 38px 1fr;
  }

  .publication-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .publication-tag {
    display: none;
  }

  .publication h3 {
    font-size: 15px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 360px;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .skill-card:last-child {
    grid-column: auto;
  }

  .certificate-panel {
    grid-template-columns: 1fr;
  }

  .honor-item {
    padding: 22px 0;
    grid-template-columns: 70px 1fr;
  }

  .honor-mark {
    grid-column: 2;
    text-align: left;
  }

  .contact {
    padding: 100px 0;
  }

  .contact-link {
    margin-top: 50px;
  }

  .site-footer .section-shell {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
