:root {
  --ink: #10232c;
  --muted: #58707a;
  --navy: #082f3f;
  --navy-2: #0d4152;
  --teal: #087d78;
  --teal-dark: #08635f;
  --mint: #d9f1eb;
  --ice: #eef7f5;
  --paper: #ffffff;
  --wash: #f5f8f7;
  --line: #dbe5e3;
  --line-dark: rgba(222, 241, 238, .18);
  --shadow: 0 18px 55px rgba(8, 47, 63, .08);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shell: 1240px;
  --header-h: 76px;
  --ease: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
p, h1, h2, h3, h4, dl, dd { margin-top: 0; }
ul, ol { margin-top: 0; }
::selection { color: #fff; background: var(--teal); }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 100px 0; }
.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; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--navy); transform: translateY(-150%); transition: transform var(--ease); }
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid #e0a429; outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--ease), border-color var(--ease), background var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 34px rgba(8, 47, 63, .06); background: rgba(255, 255, 255, .96); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 11px; color: var(--mint); background: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 16px; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 5px; }
.primary-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; color: #435b65; font-size: 14px; font-weight: 650; white-space: nowrap; transition: color var(--ease); }
.primary-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--navy); }
.primary-nav a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--navy); transition: transform var(--ease), opacity var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 50px) 0 52px; background: linear-gradient(180deg, #fbfdfc 0%, #f3f8f6 100%); }
.hero::before { content: ""; position: absolute; z-index: -2; right: -12vw; top: 2%; width: 48vw; height: 48vw; border-radius: 50%; background: radial-gradient(circle, rgba(126, 196, 183, .23) 0%, rgba(126, 196, 183, 0) 70%); }
.hero-pattern { position: absolute; z-index: -1; inset: 0; opacity: .7; background: url("../images/hero-pattern.svg") center right / min(1200px, 100%) auto no-repeat; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(310px, .68fr); align-items: center; gap: clamp(50px, 7vw, 110px); min-height: 490px; }
.eyebrow, .section-kicker { color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow span { width: 31px; height: 1px; background: var(--teal); }
.name-lockup { display: flex; align-items: baseline; gap: 20px; margin-bottom: 9px; }
.name-lockup h1 { margin: 0; color: var(--navy); font-size: clamp(52px, 5.8vw, 78px); line-height: .98; letter-spacing: -.055em; }
.name-lockup p { margin: 0; color: var(--teal-dark); font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: .02em; }
.hero-copy h2 { max-width: 760px; margin: 18px 0 10px; font-size: clamp(24px, 2.65vw, 38px); line-height: 1.3; letter-spacing: -.025em; }
.hero-subtitle { margin-bottom: 17px; color: #3f6a72; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hero-lead { max-width: 800px; margin-bottom: 20px; color: #405b65; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.82; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.hero-tags { max-width: 820px; margin-bottom: 24px; }
.tag-list li, .micro-tags span { border: 1px solid #ccdcda; border-radius: 999px; background: rgba(255, 255, 255, .72); color: #31545d; font-size: 12px; font-weight: 650; }
.tag-list li { padding: 6px 11px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-size: 14px; font-weight: 750; line-height: 1; transition: transform var(--ease), color var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 10px 22px rgba(8, 47, 63, .15); }
.button-primary:hover { background: var(--navy-2); box-shadow: 0 14px 26px rgba(8, 47, 63, .2); }
.button-secondary { border-color: #cbdad8; background: rgba(255, 255, 255, .7); }
.button-secondary:hover { border-color: #8db2ad; background: #fff; }
.button-text { padding-inline: 8px; color: var(--teal-dark); background: transparent; }
.button-small { min-height: 40px; padding-inline: 14px; font-size: 13px; }
.button-ghost { border-color: rgba(219, 238, 235, .28); color: #e4f3f0; background: rgba(255, 255, 255, .05); }
.button-ghost:hover { border-color: rgba(219, 238, 235, .58); background: rgba(255, 255, 255, .09); }

.portrait-panel { position: relative; width: min(100%, 354px); justify-self: end; padding: 15px; border: 1px solid rgba(18, 91, 99, .16); border-radius: 28px; background: rgba(255, 255, 255, .74); box-shadow: var(--shadow); }
.portrait-panel::before { content: ""; position: absolute; z-index: -1; inset: -18px 36px 34px -25px; border: 1px solid rgba(21, 120, 119, .15); border-radius: 30px; }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 19px; background: #e7efed; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.portrait-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 32px 32px; mix-blend-mode: soft-light; pointer-events: none; }
.portrait-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 4px 2px; }
.portrait-meta div:last-child { grid-column: 1 / -1; }
.portrait-meta span, .portrait-meta strong { display: block; }
.portrait-meta span { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.portrait-meta strong { margin-top: 2px; font-size: 13px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 27px; }
.stat-card { display: flex; align-items: center; gap: 15px; min-height: 92px; padding: 16px 20px; border: 1px solid #dce8e5; border-radius: 17px; background: rgba(255, 255, 255, .78); box-shadow: 0 8px 28px rgba(8, 47, 63, .045); }
.stat-number { min-width: 42px; color: var(--teal); font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.stat-card strong, .stat-card small { display: block; }
.stat-card strong { font-size: 14px; }
.stat-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.section-heading { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(400px, 1fr); gap: 54px; align-items: end; margin-bottom: 40px; }
.section-heading h2, .subsection-heading h2, .contact-section h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
.section-kicker { margin-bottom: 10px; }
.section-heading > p { max-width: 680px; margin-bottom: 2px; color: var(--muted); }
.subsection-heading { margin: 76px 0 28px; }

.focus-section { background: #fff; }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.focus-card { position: relative; min-height: 250px; display: flex; flex-direction: column; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.focus-card:hover { transform: translateY(-2px); border-color: #b9d4cf; box-shadow: var(--shadow); }
.focus-card-model { border-color: #b8d9d2; background: linear-gradient(180deg, #f5fbf9, #fff); }
.card-index { color: #8ba2a8; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.focus-card h3 { margin: 41px 0 11px; font-size: 20px; line-height: 1.35; }
.focus-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.micro-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.micro-tags span { padding: 4px 8px; background: var(--wash); font-size: 10px; }

.strength-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 14px; }
.strength-card { position: relative; min-height: 238px; padding: 27px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
.strength-card h3 { margin: 34px 0 11px; font-size: 23px; }
.strength-card p { color: var(--muted); font-size: 14px; }
.strength-no { position: absolute; inset: 26px 28px auto auto; color: #78939a !important; font-size: 10px !important; font-weight: 800; letter-spacing: .18em; }
.strength-wide { grid-row: span 2; min-height: 490px; display: flex; flex-direction: column; }
.strength-wide h3 { margin-top: 78px; font-size: 32px; }
.strength-model { border-color: #acd3cb; background: linear-gradient(155deg, #eaf7f3 0%, #f8fbfa 72%); }
.clean-list { display: grid; gap: 12px; margin: auto 0 0; padding: 0; list-style: none; }
.clean-list li { position: relative; padding: 13px 14px 13px 36px; border: 1px solid #d9e6e3; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 700; }
.clean-list li::before { content: ""; position: absolute; left: 15px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); transform: translateY(-50%); }
.strength-accent { grid-column: 2 / -1; grid-row: auto; min-height: 260px; color: #eef8f6; background: var(--navy); }
.strength-accent .strength-no, .strength-accent p { color: #b9d1d2 !important; }
.strength-accent h3 { margin-top: 23px; }
.strength-track { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; overflow: hidden; }
.strength-track span { flex: 0 0 auto; font-size: 11px; font-weight: 750; }
.strength-track i { flex: 1 1 16px; height: 1px; background: rgba(213, 240, 234, .26); }

.research-section { color: #eaf5f2; background: var(--navy); }
.section-heading-light .section-kicker { color: #81cfc1; }
.section-heading-light > p { color: #aac4c7; }
.result-card { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(34px, 5vw, 64px); align-items: center; margin-top: 24px; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .035); }
.result-reverse .result-visual { order: 2; }
.result-visual { min-width: 0; }
.image-button { position: relative; width: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(223, 240, 236, .18); border-radius: 18px; background: #e6efec; cursor: zoom-in; }
.image-button img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #eef3f1; transition: transform 280ms ease; }
.image-button span { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 8px; color: #fff; background: rgba(8, 47, 63, .84); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity var(--ease), transform var(--ease); }
.image-button:hover img { transform: scale(1.012); }
.image-button:hover span, .image-button:focus-visible span { opacity: 1; transform: none; }
.visual-label { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: #91aeb1; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.visual-label span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(220, 241, 237, .22); border-radius: 50%; color: #bde4dd; }
.result-evidence { width: 100%; min-height: 112px; display: grid; grid-template-columns: 39% 1fr; gap: 15px; align-items: center; margin-top: 13px; padding: 8px; overflow: hidden; border: 1px solid rgba(223, 240, 236, .16); border-radius: 14px; color: #d6e7e5; background: rgba(255, 255, 255, .025); cursor: zoom-in; text-align: left; transition: border-color var(--ease), background var(--ease), transform var(--ease); }
.result-evidence:hover { transform: translateY(-2px); border-color: rgba(154, 218, 207, .42); background: rgba(255, 255, 255, .05); }
.result-evidence img { width: 100%; height: 94px; object-fit: cover; border-radius: 9px; background: #eef3f1; }
.result-evidence > span { min-width: 0; display: grid; gap: 3px; }
.result-evidence small { color: #72bdb2; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.result-evidence strong { font-size: 11px; line-height: 1.5; }
.result-evidence b { color: #8fabad; font-size: 9px; font-weight: 650; }
.result-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 17px; color: #9dbabd; font-size: 11px; }
.status-chip { padding: 6px 9px; border: 1px solid rgba(138, 211, 198, .3); border-radius: 999px; color: #bce8df; background: rgba(93, 185, 169, .09); font-weight: 700; }
.result-content h3 { margin-bottom: 7px; font-size: clamp(27px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; }
.result-full-title { margin-bottom: 22px; color: #9fbabd; font-size: 13px; line-height: 1.6; }
.result-details { margin-bottom: 21px; }
.result-details > div { display: grid; grid-template-columns: 76px 1fr; gap: 13px; padding: 10px 0; border-top: 1px solid rgba(219, 238, 235, .13); }
.result-details dt { color: #7fc9bd; font-size: 11px; font-weight: 800; }
.result-details dd { margin: 0; color: #c5d8d9; font-size: 13px; line-height: 1.75; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.metric-grid-three { grid-template-columns: repeat(3, 1fr); }
.metric-grid div { min-height: 78px; padding: 12px; border: 1px solid rgba(220, 241, 237, .14); border-radius: 12px; background: rgba(255, 255, 255, .035); }
.metric-grid strong, .metric-grid span { display: block; }
.metric-grid strong { color: #d9f2ec; font-size: 19px; line-height: 1.25; }
.metric-grid span { margin-top: 4px; color: #8eaaae; font-size: 9px; }
.result-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.result-note { margin: 15px 0 0; color: #9db6b9; font-size: 11px; }
.single-metric { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 16px 18px; border-left: 3px solid #75c7ba; color: #bcd0d2; background: rgba(255, 255, 255, .04); }
.single-metric strong { color: #d8f3ed; font-size: 29px; line-height: 1; white-space: nowrap; }
.single-metric span { font-size: 12px; line-height: 1.7; }

.workflow { margin-top: 56px; padding: 30px; border: 1px solid var(--line-dark); border-radius: 22px; background: rgba(255, 255, 255, .028); }
.workflow-heading { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: end; margin-bottom: 27px; }
.workflow-heading .section-kicker { grid-column: 1 / -1; color: #73c0b5; }
.workflow-heading h3 { margin: 0; font-size: 25px; }
.workflow-heading > p:last-child { justify-self: end; margin: 0; color: #91aeb1; font-size: 12px; }
.workflow ol { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.workflow li { position: relative; min-width: 0; padding: 0 12px 0 0; }
.workflow li:not(:last-child)::after { content: "→"; position: absolute; right: 3px; top: 7px; color: #557a7f; font-size: 12px; }
.workflow span { display: block; margin-bottom: 12px; color: #6fbeb2; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.workflow strong { display: block; max-width: 115px; color: #c9dada; font-size: 11px; line-height: 1.55; }

.publications-section { background: #fff; }
.publication-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 28px; }
.minor-heading { display: flex; align-items: baseline; gap: 11px; min-height: 40px; margin-bottom: 18px; }
.minor-heading > span { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.minor-heading h3 { margin: 0; font-size: 22px; }
.minor-heading p { margin: 0 0 0 auto; color: var(--muted); font-size: 11px; }
.paper-card, .patent-card { border: 1px solid var(--line); border-radius: 17px; background: var(--wash); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.paper-card:hover, .patent-card:hover { transform: translateY(-3px); border-color: #bad3ce; box-shadow: var(--shadow); }
.paper-card { min-height: 0; display: flex; flex-direction: column; margin-bottom: 12px; padding: 22px; }
.paper-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 21px; }
.paper-meta span { padding: 4px 8px; border: 1px solid #cddedb; border-radius: 999px; color: #42666d; background: #fff; font-size: 10px; font-weight: 750; }
.paper-card h4 { margin-bottom: 12px; font-size: 18px; line-height: 1.55; }
.paper-card > p { color: var(--muted); font-size: 13px; }
.paper-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.paper-actions a, .paper-actions button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; color: var(--teal-dark); background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; }
.paper-actions a:hover, .paper-actions button:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.patent-list { display: grid; gap: 12px; }
.patent-card { padding: 20px; }
.patent-card-model { border-color: #b8d9d2; background: #f2f9f7; }
.patent-head { display: flex; justify-content: space-between; gap: 12px; color: #6b858c; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.patent-head strong { color: var(--teal-dark); }
.patent-card h4 { margin: 11px 0 13px; color: var(--navy); font-size: 19px; letter-spacing: -.02em; }
.patent-card dl { display: grid; gap: 7px; margin: 0; }
.patent-card dl > div { display: grid; grid-template-columns: 78px 1fr; gap: 10px; }
.patent-card dt { color: #72878c; font-size: 10px; font-weight: 700; }
.patent-card dd { margin: 0; font-size: 12px; }

.experience-section { background: var(--wash); }
.experience-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(330px, .68fr); gap: 50px; }
.project-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.project-list li { display: grid; grid-template-columns: 42px 1fr auto; gap: 15px; align-items: center; min-height: 92px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.project-no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--teal-dark); background: var(--ice); font-size: 10px; font-weight: 800; }
.project-list p { margin-bottom: 4px; color: var(--teal-dark); font-size: 10px; font-weight: 700; }
.project-list h4 { margin: 0; font-size: 14px; line-height: 1.55; }
.project-list li > strong { padding: 5px 9px; border-radius: 999px; color: var(--navy); background: var(--mint); font-size: 10px; }
.profile-timeline { min-width: 0; }
.timeline-card { position: relative; margin-bottom: 12px; padding: 25px; border-left: 3px solid var(--teal); border-radius: 0 16px 16px 0; background: #fff; }
.timeline-card time { color: var(--teal-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.timeline-card h4 { margin: 8px 0 2px; font-size: 20px; }
.timeline-card > p { margin-bottom: 15px; color: var(--muted); font-size: 12px; }
.timeline-card dl { display: grid; gap: 9px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.timeline-card dl > div { display: grid; grid-template-columns: 63px 1fr; gap: 10px; }
.timeline-card dt { color: #71888d; font-size: 10px; }
.timeline-card dd { margin: 0; font-size: 11px; }
.training-note { padding: 15px 17px; border: 1px dashed #bcd2ce; border-radius: 12px; color: #557077; background: #eef5f3; font-size: 11px; }
.academic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 70px; }
.academic-grid > article { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.event-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.event-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); }
.event-list time { color: var(--teal-dark); font-size: 11px; font-weight: 800; }
.event-list strong, .event-list span { display: block; }
.event-list strong { font-size: 13px; }
.event-list span { margin-top: 4px; color: var(--muted); font-size: 11px; }

.skills-section { color: #eaf4f2; background: #0b3544; }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.skill-card { min-height: 285px; padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .035); }
.skill-card > span { color: #72c2b6; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.skill-card h3 { margin: 30px 0 20px; font-size: 22px; }
.skill-card .tag-list li { border-color: rgba(216, 239, 234, .19); color: #c7dcdd; background: rgba(255, 255, 255, .045); }

.contact-section { position: relative; overflow: hidden; background: #edf6f3; }
.contact-section::after { content: ""; position: absolute; right: -120px; bottom: -170px; width: 460px; height: 460px; border: 1px solid rgba(18, 123, 116, .13); border-radius: 50%; box-shadow: 0 0 0 58px rgba(18, 123, 116, .035), 0 0 0 118px rgba(18, 123, 116, .025); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(60px, 9vw, 140px); align-items: center; }
.contact-section h2 { margin-bottom: 22px; }
.contact-section .contact-grid > div > p:not(.section-kicker) { max-width: 550px; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.contact-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; overflow: hidden; border: 1px solid #cfdfdc; border-radius: 20px; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow); }
.contact-card > div { min-height: 102px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card > div:nth-child(2n) { border-right: 0; }
.contact-card > div:nth-last-child(-n+2) { border-bottom: 0; }
.contact-card dt { color: #758a8f; font-size: 10px; }
.contact-card dd { margin: 8px 0 0; font-size: 13px; font-weight: 700; }
.contact-card a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 22px 0; color: #b9ced0; background: #062a38; }
.site-footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer strong { color: #e1efed; font-size: 12px; }
.site-footer p { margin: 0; font-size: 10px; }

.back-to-top { position: fixed; z-index: 70; right: 24px; bottom: 24px; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; color: #fff; background: rgba(8, 47, 63, .94); box-shadow: 0 10px 26px rgba(8, 47, 63, .22); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--ease), visibility var(--ease), transform var(--ease); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.toast { position: fixed; z-index: 180; left: 50%; bottom: 30px; min-width: 180px; max-width: calc(100% - 40px); padding: 11px 16px; border-radius: 10px; color: #fff; background: var(--navy); box-shadow: 0 12px 30px rgba(8, 47, 63, .22); font-size: 12px; text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity var(--ease), visibility var(--ease), transform var(--ease); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.lightbox { position: fixed; width: min(94vw, 1320px); max-height: 92vh; padding: 18px; border: 1px solid rgba(220, 240, 236, .22); border-radius: 18px; color: #e9f4f2; background: #082f3f; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.lightbox::backdrop { background: rgba(3, 20, 27, .83); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; background: #edf2f0; }
.lightbox p { margin: 12px 50px 0 2px; color: #b7cdcf; font-size: 12px; }
.lightbox-close { position: absolute; z-index: 2; top: 27px; right: 27px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(8,47,63,.88); cursor: pointer; font-size: 25px; line-height: 1; }

.error-page { min-height: 100vh; color: #eaf4f2; background: var(--navy); }
.error-page main { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 32px; overflow: hidden; }
.error-pattern { position: absolute; inset: 0; opacity: .35; background: url("../images/hero-pattern.svg") center / cover no-repeat; filter: invert(1); }
.error-card { position: relative; width: min(100%, 680px); padding: clamp(34px, 7vw, 72px); border: 1px solid rgba(226, 241, 238, .2); border-radius: 26px; background: rgba(7, 45, 59, .84); box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.error-card .section-kicker { color: #78c5ba; }
.error-card h1 { margin-bottom: 18px; font-size: clamp(36px, 6vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.error-card p:not(.section-kicker) { margin-bottom: 28px; color: #b8ccce; }

.js.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.js.reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .primary-nav a { padding-inline: 9px; font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) 300px; gap: 48px; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: 1fr 1fr; }
  .strength-wide { grid-row: auto; min-height: 300px; }
  .strength-wide:first-child { grid-column: 1 / -1; }
  .strength-accent { grid-column: 1 / -1; }
  .workflow ol { grid-template-columns: repeat(4, 1fr); gap: 20px 0; }
  .workflow li:nth-child(4)::after { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .section { padding: 88px 0; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: calc(100% + 1px); left: 18px; right: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .primary-nav a { justify-content: center; }
  .js .primary-nav { visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity var(--ease), transform var(--ease); }
  .js .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .button-small { min-height: 44px; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-grid { grid-template-columns: 1fr 280px; gap: 34px; min-height: 0; }
  .name-lockup { display: block; }
  .name-lockup p { margin-top: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .result-card { grid-template-columns: 1fr; }
  .result-reverse .result-visual { order: 0; }
  .publication-layout, .experience-grid, .contact-grid { grid-template-columns: 1fr; }
  .profile-timeline { margin-top: 18px; }
  .contact-grid { gap: 45px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 68px 0; }
  .brand-copy small { display: none; }
  .primary-nav { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-bottom: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .portrait-panel { width: min(100%, 340px); justify-self: start; }
  .portrait-frame { aspect-ratio: 4 / 4.65; }
  .stats-grid { margin-top: 35px; }
  .focus-grid, .skills-grid, .academic-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-wide:first-child, .strength-accent { grid-column: auto; }
  .strength-wide { min-height: 310px; }
  .strength-track { flex-wrap: wrap; }
  .strength-track i { flex: 0 0 12px; }
  .result-card { padding: 16px; border-radius: 21px; }
  .result-content { padding: 10px 5px 6px; }
  .result-evidence { grid-template-columns: 42% 1fr; }
  .result-details > div { grid-template-columns: 68px 1fr; gap: 10px; }
  .metric-grid-three { grid-template-columns: repeat(3, 1fr); }
  .metric-grid-three div { min-height: 72px; padding: 10px 8px; }
  .metric-grid-three strong { font-size: clamp(15px, 4vw, 18px); }
  .metric-grid-three span { font-size: 8px; }
  .workflow { padding: 23px; }
  .workflow-heading { grid-template-columns: 1fr; }
  .workflow-heading > p:last-child { justify-self: start; margin-top: 8px; }
  .workflow ol { grid-template-columns: 1fr 1fr; gap: 15px 8px; }
  .workflow li:nth-child(4)::after { display: block; }
  .workflow li:nth-child(2n)::after, .workflow li:last-child::after { display: none; }
  .project-list li { grid-template-columns: 38px 1fr; }
  .project-list li > strong { grid-column: 2; justify-self: start; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card > div, .contact-card > div:nth-child(2n), .contact-card > div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-card > div:last-child { border-bottom: 0; }
  .site-footer .shell { padding-right: 58px; }
}

@media (max-width: 480px) {
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-copy h2 { font-size: 25px; }
  .hero-subtitle { font-size: 11px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .button-text { width: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { display: block; min-height: 110px; padding: 15px; }
  .stat-number { display: block; margin-bottom: 7px; font-size: 31px; }
  .stat-card small { line-height: 1.4; }
  .section-heading h2, .subsection-heading h2, .contact-section h2 { font-size: 36px; }
  .focus-card { min-height: 245px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid-three { grid-template-columns: repeat(3, 1fr); }
  .result-details > div { grid-template-columns: 1fr; gap: 4px; }
  .single-metric { grid-template-columns: 1fr; gap: 10px; align-items: start; }
  .workflow ol { grid-template-columns: 1fr; }
  .workflow li::after { display: none !important; }
  .paper-card, .patent-card, .academic-grid > article { padding: 20px; }
  .patent-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .event-list li { grid-template-columns: 50px 1fr; }
  .lightbox { padding: 10px; }
  .lightbox-close { top: 16px; right: 16px; }
  .back-to-top { right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js.reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
