/* A quiet, editorial palette. No remote fonts or third-party runtime. */
:root {
  --paper:#f6f4ed;
  --paper-deep:#eeede4;
  --ink:#182c35;
  --muted:#586766;
  --teal:#246356;
  --line:#d4d8cc;
  --green-light:#dce5d3;
  --serif:Georgia,"Times New Roman","Songti SC","SimSun",serif;
  --sans:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:30px
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased
}

button,a {
  -webkit-tap-highlight-color:transparent
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit
}

p,h1,h2,h3,h4,figure {
  margin:0
}

a:focus-visible,button:focus-visible {
  outline:3px solid var(--teal);
  outline-offset:6px
}

::selection {
  background:#c8dcc7;
  color:#182c35
}

.wrap {
  width:min(1224px,calc(100% - 96px));
  margin-inline:auto
}

.skip-link {
  position:absolute;
  left:20px;
  top:-100px;
  z-index:20;
  background:var(--ink);
  color:white;
  padding:10px 18px
}

.skip-link:focus {
  top:16px
}

.site-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  min-height:113px;
  border-bottom:1px solid var(--line)
}

.brand {
  display:flex;
  align-items:center;
  gap:21px
}

.monogram {
  font:italic 43px/1 var(--serif);
  letter-spacing:-5px
}

.monogram span {
  color:var(--teal)
}

.brand-caption {
  font-size:9px;
  letter-spacing:1.6px;
  line-height:1.5;
  max-width:100px
}

.site-header nav {
  display:flex;
  gap:30px;
  font-size:12px;
  letter-spacing:.25px;
  margin-left:auto
}

.site-header nav a {
  padding:10px 0;
  position:relative
}

.site-header nav a::after {
  position:absolute;
  content:"";
  height:1px;
  background:var(--teal);
  left:0;
  bottom:5px;
  width:0;
  transition:width .2s
}

.site-header nav a:hover::after,.site-header nav a[aria-current="location"]::after {
  width:100%
}

.language-toggle {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:var(--muted);
  border:0;
  background:none;
  cursor:pointer;
  padding:10px 0 10px 15px
}

.language-toggle[hidden] {
  display:none
}

.active-language {
  color:var(--ink);
  font-weight:700
}

.language-divider {
  color:#b3bbae
}

.hero {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:74px;
  align-items:center;
  padding-top:78px;
  padding-bottom:78px
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:10px;
  line-height:1.5;
  font-weight:600;
  letter-spacing:1.9px;
  text-transform:uppercase
}

.tiny-mark {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--teal);
  border-radius:50%
}

.hero h1 {
  margin-top:26px;
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(38px,4.35vw,59px);
  line-height:1.14;
  letter-spacing:-2.3px
}

.hero h1 em {
  color:var(--teal);
  font-weight:400
}

.hero-intro {
  max-width:550px;
  font-size:15px;
  line-height:1.95;
  color:var(--muted);
  margin-top:26px
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:31px
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:14px 20px;
  font-size:12px;
  font-weight:600;
  transition:background .2s,transform .2s
}

.button:hover {
  transform:translateY(-2px)
}

.button-dark {
  background:var(--ink);
  color:var(--paper)
}

.button-dark:hover {
  background:var(--teal)
}

.button span[aria-hidden] {
  font-size:20px;
  font-weight:400;
  line-height:1
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:18px;
  border-bottom:1px solid #abb9ad;
  padding-bottom:4px;
  font-size:12px;
  transition:color .2s
}

.text-link:hover {
  color:var(--teal);
  border-color:var(--teal)
}

.hero-affiliation {
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:46px;
  font-size:10px;
  line-height:1.9;
  color:var(--muted)
}

.hero-affiliation strong {
  font-weight:600;
  color:var(--ink)
}

.affiliation-line {
  height:35px;
  width:2px;
  background:#8ca996;
  flex:none
}

.research-visual {
  position:relative;
  overflow:hidden;
  background:#173230;
  color:var(--paper);
  padding:26px 28px 31px;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:486px
}

.research-visual::after {
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid #48605a;
  pointer-events:none;
  opacity:.55
}

.visual-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:8px;
  letter-spacing:1.4px;
  color:#bdcdc0;
  position:relative;
  z-index:1
}

.constellation {
  width:100%;
  height:auto;
  max-height:325px;
  display:block;
  margin:0 auto
}

.research-visual figcaption {
  position:relative;
  z-index:1;
  font:29px/1.2 var(--serif);
  letter-spacing:-.4px
}

.research-visual figcaption em {
  color:#c4d4b6
}

.visual-caption {
  display:block;
  margin-top:16px;
  font:8px/1.7 var(--sans);
  letter-spacing:1.25px;
  color:#bdcdc0
}

.focus-band {
  border-block:1px solid var(--line);
  background:#efeee6
}

.focus-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:69px;
  font-size:11px;
  color:var(--muted)
}

.focus-inner>.eyebrow {
  font-size:9px;
  color:var(--teal);
  letter-spacing:1.4px
}

.focus-dot {
  color:#819181
}

.section {
  padding-block:96px
}

.section-heading {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  align-items:end;
  gap:110px;
  margin-bottom:48px
}

.section-heading h2,h2 {
  font:400 clamp(34px,3.3vw,44px)/1.18 var(--serif);
  letter-spacing:-1.15px
}

.section-heading h2 {
  margin-top:13px
}

.section-intro {
  font-size:13px;
  line-height:1.85;
  color:var(--muted);
  max-width:350px;
  justify-self:end
}

.research-list {
  border-top:1px solid var(--ink)
}

.research-item {
  display:grid;
  grid-template-columns:48px 1fr 48px;
  gap:26px;
  padding:31px 0 32px;
  border-bottom:1px solid var(--line)
}

.item-index,.research-year {
  font-size:11px;
  color:var(--muted);
  padding-top:2px
}

.research-year {
  text-align:right
}

.item-meta {
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  align-items:center;
  font-size:9px;
  letter-spacing:1.1px;
  color:var(--teal);
  margin-bottom:12px
}

.status {
  font-size:9px;
  letter-spacing:.2px;
  border:1px solid #cbd2c5;
  padding:2px 8px;
  color:#566559
}

.status-accepted {
  background:#e2e9d9;
  border-color:#c9d7bf;
  color:#38583a
}

.research-body h3 {
  font:400 23px/1.35 var(--serif);
  max-width:850px;
  letter-spacing:-.1px
}

.research-body>p {
  font-size:12px;
  color:var(--muted);
  max-width:850px;
  margin-top:10px;
  line-height:1.85
}

.research-body>.research-note {
  font-size:10px;
  color:#66736c;
  margin-top:7px
}

.tags {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:14px
}

.tags span {
  font-size:9px;
  padding:3px 8px;
  background:#eaece1;
  line-height:1.5;
  letter-spacing:.15px;
  color:#4e6358
}

.work-section {
  background:#eeeee6;
  border-block:1px solid var(--line)
}

.featured-projects {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}

.project-card {
  padding:31px 34px 0;
  display:flex;
  flex-direction:column;
  position:relative
}

.project-dark {
  background:var(--ink);
  color:var(--paper)
}

.project-light {
  background:var(--paper);
  border:1px solid #d3d7c9
}

.project-top {
  display:flex;
  align-items:center;
  justify-content:space-between
}

.project-top .eyebrow {
  font-size:9px;
  letter-spacing:1.4px
}

.project-dark .eyebrow {
  color:#bdcfc5
}

.project-symbol {
  font:34px/1 var(--serif);
  color:#a9c4af
}

.project-card h3 {
  font:400 46px/1.02 var(--serif);
  letter-spacing:-1px;
  margin:27px 0 20px;
  min-height:94px
}

.project-card h3>span {
  color:#76a38a
}

.project-card>p {
  font-size:13px;
  line-height:1.9;
  max-width:445px
}

.project-dark>p {
  color:#c6d3d4
}

.project-light>p {
  color:var(--muted)
}

.project-dark .tags span {
  background:#29424a;
  color:#c6d8cd
}

.project-card>.project-caveat {
  font-size:10px;
  margin:20px 0 26px;
  color:#abbcbe
}

.project-light>.project-caveat {
  color:#62736b
}

.project-link {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #44606a;
  padding:17px 0;
  font-size:11px;
  margin-top:auto
}

.project-link>span:last-child {
  font-size:20px;
  transition:transform .2s
}

.project-link:hover>span:last-child {
  transform:translate(3px,-3px)
}

.project-light .project-link {
  border-color:#cfd7c7
}

.project-demo-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.project-demo-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid #b4c6b7;
  color: var(--teal);
  font-size: 10px;
  line-height: 1.5;
  transition: background .2s, border-color .2s;
}

.project-demo-links a:hover {
  background: #e4ebdc;
  border-color: var(--teal);
}

.project-demo-links a > span:last-child {
  font-size: 17px;
  line-height: 1;
}

.engineering-heading {
  display:flex;
  align-items:baseline;
  gap:24px;
  margin:47px 0 23px
}

.engineering-heading h3 {
  font:400 25px/1.3 var(--serif)
}

.engineering-heading p {
  font-size:10px;
  color:var(--muted)
}

.engineering-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #c4ccc0;
  padding-top:25px;
  gap:30px
}

.engineering-grid article+article {
  border-left:1px solid #c4ccc0;
  padding-left:30px
}

.small-status {
  font-size:8px;
  letter-spacing:1.3px;
  color:var(--teal)
}

.engineering-grid h4 {
  font:400 22px/1.3 var(--serif);
  margin:10px 0
}

.engineering-grid p {
  font-size:12px;
  color:var(--muted);
  line-height:1.9
}

.practice-note {
  display:flex;
  align-items:baseline;
  gap:13px;
  font-size:11px;
  color:var(--muted);
  padding-top:27px
}

.practice-note>span {
  color:var(--teal);
  font-size:20px
}

.notebook-section {
  display:grid;
  grid-template-columns:1fr 1.55fr;
  gap:110px
}

.notebook-intro h2 {
  margin:19px 0;
  max-width:340px
}

.notebook-intro>p:not(.eyebrow) {
  font-size:13px;
  color:var(--muted);
  line-height:1.9;
  max-width:310px;
  margin-bottom:26px
}

.notebook-list {
  border-top:1px solid var(--ink)
}

.notebook-entry {
  display:grid;
  grid-template-columns:30px 1fr 23px;
  gap:19px;
  padding:30px 0;
  border-bottom:1px solid var(--line)
}

.notebook-number {
  font:italic 26px/1.3 var(--serif);
  color:#8aa58c
}

.notebook-entry .eyebrow {
  font-size:8px;
  letter-spacing:1.4px;
  color:var(--teal)
}

.notebook-entry h3 {
  font:400 22px/1.4 var(--serif);
  margin:8px 0
}

.notebook-entry div>p:last-child {
  font-size:12px;
  color:var(--muted);
  line-height:1.85
}

.entry-arrow {
  font-size:20px;
  line-height:1.5;
  transition:transform .2s
}

.notebook-entry:hover .entry-arrow {
  transform:translate(3px,-3px)
}

.notebook-entry:hover h3 {
  color:var(--teal)
}

.about-section {
  border-top:1px solid var(--line);
  background:#ecefe5
}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:130px
}

.about-copy h2 {
  margin:19px 0 28px
}

.about-copy>p:not(.eyebrow) {
  font-size:13px;
  line-height:2;
  color:var(--muted);
  margin-top:15px;
  max-width:450px
}

.about-signature {
  font:italic 35px var(--serif);
  margin-top:34px
}

.about-signature>span {
  display:inline-block;
  font:12px var(--serif);
  font-style:normal;
  letter-spacing:4px;
  margin-left:18px;
  color:var(--muted)
}

.background-details>.eyebrow {
  font-size:9px;
  color:var(--teal);
  border-bottom:1px solid #c2cdbd;
  padding-bottom:13px;
  margin-bottom:3px
}

.timeline-item {
  position:relative;
  display:grid;
  grid-template-columns:134px 1fr;
  gap:1px 15px;
  padding:17px 0
}

.timeline-date {
  font-size:9px;
  color:#657367;
  grid-row:span 2;
  padding-top:3px;
  letter-spacing:.3px
}

.timeline-item h4 {
  font-size:12px;
  font-weight:600;
  line-height:1.6
}

.timeline-item>p:not(.timeline-date) {
  font-size:11px;
  color:var(--muted);
  line-height:1.7
}

.background-details>.experience-heading {
  margin-top:25px
}

.closing {
  padding-block:70px 72px
}

.closing>div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
  margin-top:17px
}

.closing h2 {
  font-size:36px
}

.closing .button {
  flex-shrink:0
}

.site-footer {
  border-top:1px solid var(--line);
  padding-block:31px 36px;
  display:flex;
  justify-content:space-between;
  gap:40px;
  font-size:10px;
  color:var(--muted)
}

.footer-name {
  font:21px var(--serif);
  color:var(--ink)
}

.footer-name span {
  font-size:12px;
  letter-spacing:2px;
  margin-left:10px
}

.site-footer p {
  margin-top:7px
}

.footer-note {
  max-width:440px;
  text-align:right;
  font-size:9px
}

.footer-note a {
  display:inline-block;
  margin-top:9px;
  color:var(--ink)
}

.footer-note a:hover {
  color:var(--teal)
}

html[lang="zh-CN"] .hero h1 {
  font-size:clamp(34px,3.9vw,52px);
  line-height:1.45;
  letter-spacing:-1.2px
}

html[lang="zh-CN"] h2 {
  line-height:1.5;
  letter-spacing:0
}

html[lang="zh-CN"] .hero-intro {
  line-height:2.1
}

html[lang="zh-CN"] .research-visual figcaption {
  line-height:1.5
}

html[lang="zh-CN"] .eyebrow {
  letter-spacing:1.5px
}

html[lang="zh-CN"] .notebook-intro h2 {
  max-width:300px
}

html[lang="zh-CN"] .closing h2 {
  font-size:33px
}

html[lang="zh-CN"] .brand-caption {
  max-width:none
}

@media(min-width:1500px) {
  .hero {
    padding-block:94px
  }
  .hero h1 {
    font-size:59px
  }
}

@media(max-width:1100px) {
  .wrap {
    width:calc(100% - 64px)
  }
  .hero {
    gap:40px
  }
  .hero h1 {
    font-size:44px;
    letter-spacing:-1.8px
  }
  .hero-actions {
    gap:18px;
    flex-wrap:wrap
  }
  .research-visual {
    min-height:460px;
    padding:25px
  }
  .section-heading {
    gap:50px
  }
  .notebook-section {
    gap:60px
  }
  .about-grid {
    gap:70px
  }
  .timeline-item {
    grid-template-columns:1fr;
    gap:4px
  }
  .timeline-date {
    grid-row:auto
  }
  .focus-inner {
    gap:12px;
    font-size:10px
  }
  .focus-inner>.eyebrow {
    font-size:8px
  }
  .closing h2 {
    font-size:32px
  }
}

@media(max-width:800px) {
  .site-header {
    min-height:91px;
    gap:20px;
    flex-wrap:wrap;
    padding-block:18px
  }
  .brand-caption {
    font-size:8px
  }
  .site-header nav {
    gap:21px;
    font-size:11px
  }
  .language-toggle {
    padding-left:0
  }
  .hero {
    gap:34px;
    padding-block:48px
  }
  .hero h1 {
    font-size:38px;
    letter-spacing:-1.7px
  }
  .hero-intro {
    font-size:13px
  }
  .hero-actions {
    margin-top:23px;
    gap:15px
  }
  .hero-affiliation {
    margin-top:28px;
    font-size:9px
  }
  .button {
    padding:12px 15px;
    font-size:11px
  }
  .text-link {
    font-size:11px
  }
  .research-visual {
    min-height:415px;
    padding:24px 23px
  }
  .visual-top {
    font-size:7px;
    letter-spacing:.8px
  }
  .research-visual figcaption {
    font-size:25px
  }
  .visual-caption {
    font-size:7px
  }
  .section {
    padding-block:64px
  }
  .section-heading {
    gap:30px;
    margin-bottom:34px
  }
  .section-heading h2,h2 {
    font-size:33px
  }
  .section-intro {
    font-size:12px
  }
  .focus-inner {
    flex-wrap:wrap;
    justify-content:center;
    gap:8px 16px;
    padding-block:17px
  }
  .focus-inner>.eyebrow {
    width:100%;
    justify-content:center
  }
  .research-item {
    grid-template-columns:25px 1fr 30px;
    gap:16px
  }
  .research-body h3 {
    font-size:21px
  }
  .project-card {
    padding:24px 25px 0
  }
  .project-card h3 {
    font-size:39px;
    min-height:79px
  }
  .project-card>p {
    font-size:12px
  }
  .project-card .eyebrow {
    font-size:8px
  }
  .engineering-heading {
    display:block
  }
  .engineering-heading p {
    margin-top:9px
  }
  .engineering-grid {
    gap:20px
  }
  .engineering-grid article+article {
    padding-left:20px
  }
  .engineering-grid h4 {
    font-size:21px
  }
  .notebook-section {
    grid-template-columns:1fr 1.4fr;
    gap:38px
  }
  .notebook-entry {
    grid-template-columns:20px 1fr 15px;
    gap:13px
  }
  .notebook-entry h3 {
    font-size:20px
  }
  .about-grid {
    gap:50px
  }
  .closing h2 {
    font-size:27px
  }
  .closing .button {
    padding:12px 15px
  }
  .site-footer {
    gap:25px
  }
  .footer-note {
    max-width:320px
  }
  html[lang="zh-CN"] .hero h1 {
    font-size:33px
  }
  html[lang="zh-CN"] .closing h2 {
    font-size:26px
  }
}

@media(max-width:620px) {
  .wrap {
    width:calc(100% - 40px)
  }
  .site-header {
    column-gap:12px;
    row-gap:14px;
    justify-content:space-between
  }
  .brand {
    gap:16px
  }
  .brand-caption {
    max-width:none;
    font-size:8px
  }
  .monogram {
    font-size:36px
  }
  .site-header nav {
    order:3;
    width:100%;
    margin-left:0;
    justify-content:space-between;
    gap:8px;
    font-size:11px
  }
  .site-header nav a {
    padding:4px 0
  }
  .site-header nav a::after {
    bottom:0
  }
  .language-toggle {
    margin-left:auto
  }
  .hero {
    grid-template-columns:1fr;
    padding-top:39px;
    padding-bottom:40px;
    gap:34px
  }
  .hero h1 {
    font-size:clamp(35px,8.2vw,48px);
    line-height:1.18;
    letter-spacing:-1.5px;
    margin-top:20px
  }
  .hero-intro {
    font-size:13px;
    max-width:460px;
    line-height:1.9;
    margin-top:22px
  }
  .hero-actions {
    gap:24px;
    margin-top:25px
  }
  .hero-affiliation {
    margin-top:28px;
    font-size:9px
  }
  .research-visual {
    min-height:0;
    padding:23px 26px 25px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px
  }
  .visual-top {
    grid-column:1/-1;
    font-size:7px
  }
  .constellation {
    min-width:0;
    max-height:200px
  }
  .research-visual figcaption {
    align-self:center;
    font-size:clamp(18px,4.4vw,26px);
    padding-left:8px
  }
  .visual-caption {
    font-size:6px;
    line-height:1.8;
    letter-spacing:.75px;
    max-width:170px
  }
  .focus-inner {
    font-size:9px;
    gap:7px 10px;
    padding-block:16px
  }
  .focus-dot {
    display:none
  }
  .focus-inner>span:not(.eyebrow):not(.focus-dot) {
    width:calc(50% - 10px);
    text-align:center
  }
  .focus-inner>.eyebrow {
    margin-bottom:3px
  }
  .section {
    padding-block:48px
  }
  .section-heading {
    grid-template-columns:1fr;
    gap:16px;
    margin-bottom:29px
  }
  .section-heading h2,h2 {
    font-size:32px;
    letter-spacing:-.9px
  }
  .section-intro {
    justify-self:start;
    max-width:380px;
    font-size:12px
  }
  .eyebrow {
    font-size:9px
  }
  .research-item {
    grid-template-columns:21px 1fr;
    gap:11px;
    padding-block:24px
  }
  .research-year {
    grid-column:2;
    text-align:left;
    font-size:9px;
    padding-top:0
  }
  .item-index {
    font-size:9px
  }
  .item-meta {
    font-size:8px;
    gap:8px;
    margin-bottom:10px
  }
  .status {
    font-size:8px
  }
  .research-body h3 {
    font-size:20px;
    line-height:1.4
  }
  .research-body>p {
    font-size:11px;
    line-height:1.9
  }
  .research-body>.research-note {
    font-size:9px;
    line-height:1.8
  }
  .featured-projects {
    grid-template-columns:1fr;
    gap:19px
  }
  .project-card {
    padding:26px 26px 0
  }
  .project-card h3 {
    font-size:42px;
    min-height:0;
    margin-top:22px;
    margin-bottom:17px
  }
  .project-card>p {
    font-size:12px
  }
  .project-card>.project-caveat {
    font-size:9px
  }
  .engineering-heading {
    margin-top:33px
  }
  .engineering-heading h3 {
    font-size:24px
  }
  .engineering-grid {
    grid-template-columns:1fr;
    gap:0;
    padding-top:0
  }
  .engineering-grid article {
    padding-top:21px;
    padding-bottom:22px
  }
  .engineering-grid article+article {
    padding-left:0;
    border-left:0;
    border-top:1px solid #c4ccc0
  }
  .engineering-grid h4 {
    font-size:22px;
    margin-block:7px
  }
  .engineering-grid p {
    font-size:11px
  }
  .practice-note {
    padding-top:8px;
    font-size:10px
  }
  .notebook-section {
    grid-template-columns:1fr;
    gap:30px
  }
  .notebook-intro h2 {
    max-width:310px
  }
  .notebook-intro>p:not(.eyebrow) {
    max-width:380px;
    font-size:12px;
    margin-bottom:19px
  }
  .notebook-entry {
    padding-block:23px;
    gap:16px
  }
  .notebook-entry h3 {
    font-size:21px
  }
  .notebook-entry div>p:last-child {
    font-size:11px
  }
  .about-grid {
    grid-template-columns:1fr;
    gap:38px
  }
  .about-copy h2 {
    max-width:350px;
    margin-bottom:22px
  }
  .about-copy>p:not(.eyebrow) {
    font-size:12px;
    max-width:440px
  }
  .about-signature {
    font-size:30px;
    margin-top:24px
  }
  .timeline-item {
    grid-template-columns:124px 1fr;
    gap:2px 12px;
    padding-block:15px
  }
  .timeline-date {
    grid-row:span 2;
    font-size:8px
  }
  .timeline-item h4 {
    font-size:11px
  }
  .timeline-item>p:not(.timeline-date) {
    font-size:10px
  }
  .closing {
    padding-block:42px
  }
  .closing>div {
    display:block
  }
  .closing h2 {
    font-size:31px;
    max-width:350px
  }
  .closing .button {
    margin-top:24px
  }
  .site-footer {
    display:block;
    padding-block:26px;
    font-size:9px
  }
  .footer-note {
    text-align:left;
    max-width:none;
    margin-top:22px;
    font-size:8px;
    line-height:1.9
  }
  .footer-note a {
    font-size:9px
  }
  html[lang="zh-CN"] .hero h1 {
    font-size:clamp(29px,7.2vw,42px);
    line-height:1.5
  }
  html[lang="zh-CN"] h2 {
    font-size:29px
  }
  html[lang="zh-CN"] .research-visual figcaption {
    font-size:21px
  }
  html[lang="zh-CN"] .notebook-intro h2 {
    max-width:350px
  }
  html[lang="zh-CN"] .closing h2 {
    font-size:29px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important
  }
  .button:hover {
    transform:none
  }
}

/* Flat, purposeful interactions: every control changes something useful. */
[hidden]  {
  display: none !important;
}

.reading-progress  {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 50;
  pointer-events: none;
}

.reading-progress span  {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
}

.research-visual .constellation  {
  max-height: 262px;
}

.diagram-node rect  {
  transition: fill .3s ease, stroke-width .3s ease;
}

.research-visual[data-topic="vision"] .node-vision rect,
.research-visual[data-topic="text"] .node-text rect,
.research-visual[data-topic="evaluation"] .node-evaluation rect  {
  fill: #416951;
  stroke: #e4edd9;
  stroke-width: 2.5px;
}

.research-lenses  {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.lens-tabs  {
  display: flex;
  border-top: 1px solid #536f64;
}

.lens-tabs button  {
  position: relative;
  flex: 1;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #b9ccc0;
  font-size: 10px;
  cursor: pointer;
  padding: 12px 4px 9px;
  transition: color .2s, border-color .2s, background .2s;
}

.lens-tabs button:hover  {
  color: var(--paper);
  background: #233e35;
}

.lens-tabs button[aria-selected="true"]  {
  border-color: #c4d4b6;
  color: #eef3e6;
}

.lens-panel  {
  font-size: 10px;
  line-height: 1.8;
  color: #c8d5c9;
  min-height: 37px;
  padding-top: 12px;
}

.research-visual :focus-visible  {
  outline-color: #dce5d3;
  outline-offset: 3px;
}

.project-toolbar  {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: -10px 0 24px;
}

.project-filters  {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-filters button  {
  border: 1px solid #bac8b6;
  padding: 9px 14px;
  font-size: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.project-filters button:hover  {
  border-color: var(--teal);
  color: var(--teal);
}

.project-filters button[aria-pressed="true"]  {
  background: var(--teal);
  color: var(--paper);
  border-color: var(--teal);
}

.project-count  {
  font-size: 10px;
  color: var(--muted);
}

.project-card::after  {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: #91b493;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.project-card:hover::after, .project-card:focus-within::after  {
  transform: scaleX(1);
}

.research-item  {
  position: relative;
}

.research-item::before  {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--teal);
  opacity: 0;
  transform: scaleY(.35);
  transform-origin: center;
  transition: transform .3s, opacity .3s;
}

.research-item:hover::before  {
  opacity: 1;
  transform: scaleY(.75);
}

.notebook-entry:focus-visible h3  {
  color: var(--teal);
}

.reveal  {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible  {
  opacity: 1;
  transform: none;
}

.hero-copy  {
  animation: opening .65s ease both;
}

@keyframes opening  {
  from  {
    opacity: 0;
    transform: translateY(12px);
  }
  to  {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 800px)  {
  .research-lenses  {
    margin-top: 16px;
  }
  .research-visual .constellation  {
    max-height: 230px;
  }
  .lens-panel  {
    font-size: 9px;
  }
}

@media (max-width: 620px)  {
  .research-visual .constellation  {
    max-height: 175px;
  }
  .research-lenses  {
    margin-top: 4px;
  }
  .lens-tabs button  {
    font-size: 10px;
    padding-block: 11px;
  }
  .lens-panel  {
    min-height: 49px;
    font-size: 10px;
    padding-top: 11px;
  }
  .project-toolbar  {
    margin-top: -5px;
    margin-bottom: 21px;
    gap: 12px;
  }
  .project-filters  {
    gap: 6px;
  }
  .project-filters button  {
    padding: 9px 11px;
    font-size: 9px;
  }
  .project-count  {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce)  {
  .reveal  {
    opacity: 1;
    transform: none;
  }
}
.project-accent {
  background: #2d765f;
  color: #f4f3e9;
}

.project-accent .eyebrow,
.project-accent .project-caveat {
  color: #cfe2cb;
}

.project-accent .tags span {
  background: #3d836f;
  color: #eff5e8;
}

.project-accent .project-link {
  border-color: #6a9b89;
}

.research-bridge {
  max-width: 1080px;
  margin: 4rem auto 0;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(39, 48, 43, 0.22);
  background: #e7eee2;
}

.research-bridge h2 {
  max-width: 18ch;
  margin: 0.45rem 0 0.8rem;
}

.research-bridge p {
  max-width: 62ch;
  margin: 0;
}

.research-bridge__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* The third public example occupies its own row. */
.project-accent { grid-column: 1 / -1; }
.project-accent .project-demo-links a { color: #f4f3e9; border-color: #6a9b89; }
.research-bridge__links .project-link { gap: 1rem; margin-top: 0; }
.reading-guide { max-width: 860px; padding-block: 3rem; }
.reading-guide h1 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.15; margin-block: 1rem; }
.reading-guide h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.reading-guide p, .reading-guide li { line-height: 1.8; }
.reading-guide ul, .reading-guide ol { padding-left: 1.4rem; }
.reading-guide a { text-decoration: underline; text-underline-offset: .2em; }
.reading-guide li { margin-block: .75rem; }
