/* An editorial opening, a photo desk and a compact reading index. */
html { scroll-padding-top: 108px; }
body { background: #f5f6fc; }
.site-header { position: sticky; top: 0; z-index: 12; max-width: none; background: #f5f6fcf5; padding: 20px max(32px,calc((100vw - 1232px) / 2)); backdrop-filter: blur(12px); min-height: 84px; }
.site-header::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform: scaleX(var(--reading-progress,0)); transform-origin: left; background: var(--blue); }
.site-header nav { gap: 26px; }
.site-header nav a { position: relative; }
.site-header nav a[aria-current="location"]:not(.nav-contact)::after { content: ''; position: absolute; bottom: -7px; left: 0; right: 0; height: 2px; background: var(--blue); }
.site-header .nav-contact { background: var(--ink); color: white; border-color: var(--ink); }
.site-header .nav-contact:hover { background: var(--blue); border-color: var(--blue); color: white; }
.hero { position: relative; isolation: isolate; overflow: clip; grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); gap: 42px 80px; padding-top: 66px; padding-bottom: 0; }
.hero::before { content: ''; position: absolute; z-index: -1; left: 0; top: 0; width: 66%; height: calc(100% - 130px); background-image: radial-gradient(#bdc4db 0.6px,transparent 0.6px); background-size: 16px 16px; opacity: .24; mask-image: linear-gradient(to right,black,transparent); pointer-events: none; }
.hero-copy { padding: 7px 0 18px; }
.hero-copy > .eyebrow { max-width: 460px; color: #515a77; font-size: .66rem; margin-bottom: 28px; }
.hero h1 { font-size: clamp(4.6rem,7vw,6.55rem); line-height: 1.04; letter-spacing: -2.6px; margin-bottom: 29px; }
.hero h1 > span { white-space: nowrap; }
.hero h1 em { position: relative; display: inline-block; }
.hero h1 em::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 9px; border-top: 1px solid var(--blue); border-radius: 50%; transform: rotate(-2deg); }
.hero-description { max-width: 470px; font-size: .98rem; line-height: 1.85; color: #596177; }
.hero-actions { gap: 26px; margin-top: 30px; }
.hero-actions .button { border-radius: 50px; padding: 13px 27px; box-shadow: 4px 4px 0 #ccd4f6; }
.hero-actions .button::after { content: '↗'; margin-left: 18px; font-size: 1.1rem; }
.hero-footnote { margin-top: 37px; border-left: 0; padding-left: 0; flex-direction: row; align-items: center; gap: 15px; font-size: .72rem; max-width: 470px; }
.hero-footnote span:first-child { color: var(--blue); border: 1px solid #bec8ef; border-radius: 3px; padding: 6px 9px; font-size: .59rem; white-space: nowrap; }
.hero-footnote span:last-child { max-width: 215px; line-height: 1.55; }
.hero-scene { position: relative; padding: 23px 19px 0; margin-bottom: 3px; }
.scene-orbit { pointer-events: none; position: absolute; width: 115%; aspect-ratio: 1; top: 26px; left: -9%; z-index: -1; border: 1px solid #b8c4f2; border-radius: 50%; transform: translate(var(--orbit-x,0px),var(--orbit-y,0px)) rotate(-13deg); }
.scene-orbit::after { content: ''; position: absolute; inset: 32px -24px; border: 1px solid #d1d9f1; border-radius: 50%; transform: rotate(36deg); }
.orbit-spark { position: absolute; top: 8%; left: 4%; font: 3.8rem/1 var(--sans); color: var(--blue); }
.orbit-cross { position: absolute; right: -7%; bottom: 19%; font: 3rem/1 var(--serif); color: var(--blue); }
.orbit-caption { position: absolute; top: -24px; left: 27%; font: .6rem/1.5 var(--mono); letter-spacing: 2px; color: #637092; transform: rotate(13deg); }
.hero-photo { padding: 12px 12px 8px; box-shadow: 0 25px 40px #26376c19,5px 6px 0 #dfe4f3; }
.hero-photo img { aspect-ratio: 4 / 4.5; }
.photo-label { font-size: .62rem; padding: 3px 3px 11px; }
.hero-photo figcaption { min-height: 62px; padding: 12px 3px 5px; font-size: .68rem; }
.hero-photo figcaption span:last-child { font-size: .66rem; }
.photo-note { bottom: 64px; right: -27px; padding: 20px 22px 16px; min-width: 155px; font-size: 1.8rem; box-shadow: 5px 7px 0 #1c2d5926; }
.hero-scribble { bottom: 175px; right: -42px; width: 125px; }
.note-action { font-size: .58rem; }
.hero-deck-controls { gap: 14px; margin-top: 23px; }
.hero-deck-controls .round-control { width: 34px; height: 34px; min-height: 34px; }
.starting-points { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr repeat(4,1fr); gap: 0; margin-top: 18px; padding: 28px 0 25px; border-top: 1px solid #bac4df; align-items: center; }
.starting-heading { padding-right: 22px; }
.starting-heading .eyebrow { display: block; font-size: .58rem; color: var(--blue); margin: 0 0 8px; }
.starting-heading p { margin: 0; font: 1.55rem/1.15 var(--serif); }
.starting-link { display: flex; align-items: center; gap: 13px; border: 0; border-left: 1px solid #d0d6e8; background: transparent; color: var(--ink); text-decoration: none; padding: 12px 16px; text-align: left; min-width: 0; min-height: 73px; }
.starting-link img { flex: 0 0 45px; width: 45px; height: 52px; object-fit: cover; padding: 3px; background: white; border: 1px solid #c5cce0; transform: rotate(-5deg); transition: transform .3s; }
.starting-link:nth-child(odd) img { transform: rotate(4deg); }
.starting-link > span:not(.starting-arrow) { flex: 1; }
.starting-link small { display: block; font: .51rem/1.5 var(--mono); letter-spacing: .7px; color: #69738d; margin-bottom: 4px; }
.starting-link b { display: block; font: 1.16rem/1.15 var(--serif); }
.starting-arrow { color: var(--blue); font-size: 1.2rem; }
.starting-link:hover { background: #e9edf9; }
.motion-enabled .starting-link:hover img { transform: rotate(0deg) translateY(-5px) scale(1.1); }
.interests-strip { background: var(--lime); border-color: #d6df79; padding: 15px 0; font-size: .75rem; }
.strip-pause { background: var(--lime); border-color: #a4ad47; }
.interests-group > span:nth-child(even) { font-size: 1.15rem; }
.work-section { position: relative; padding-top: 100px; padding-bottom: 108px; }
.work-section .section-heading { align-items: center; margin-bottom: 43px; }
.work-section h2 { font-size: clamp(3.5rem,5.75vw,5.8rem); }
.work-section .section-heading > p { border-left: 1px solid #b9c5e6; padding-left: 25px; }
.work-controls { border-bottom: 1px solid #c4cde5; margin-bottom: 0; padding-bottom: 22px; }
.filters button { padding: 8px 17px; border-radius: 3px; }
.filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }
.work-reading-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 19px 0 33px; }
.work-reading-bar > p { margin: 0; font-size: .75rem; color: #66708a; }
.work-view-switch { display: flex; gap: 3px; background: #e7ebf6; padding: 3px; border: 1px solid #d0d8eb; border-radius: 5px; }
.work-view-switch button { min-height: 38px; border: 0; padding: 7px 14px; color: #57617c; background: transparent; font-size: .75rem; border-radius: 3px; white-space: nowrap; }
.work-view-switch button[aria-pressed="true"] { background: white; color: var(--blue); box-shadow: 0 1px 4px #2e427218; }
.work-view-switch button span { font-size: 1rem; margin-right: 6px; }
.project-grid { gap: 42px 34px; align-items: start; }
.project-card { border-color: #c0cbe3; border-radius: 2px; box-shadow: 5px 6px 0 #e3e8f5; }
.project-card .card-meta { background: #f8f9fd; padding: 17px 23px; font-size: .64rem; letter-spacing: .6px; }
.project-card > [class*="-cover"] { min-height: 330px; }
.project-card .has-cover-photo { padding: 29px 54% 28px 26px; }
.project-card .project-photo-peek { width: 48%; height: 86%; right: 19px; top: 7%; padding: 8px 8px 0; transform: rotate(3deg); box-shadow: 7px 9px 0 #20232c20; }
.project-card .project-photo-peek img { height: calc(100% - 30px); }
.project-card .project-photo-peek > span { font-size: .6rem; height: 30px; }
.project-card .has-cover-photo .giant-number { font-size: clamp(4.1rem,6vw,6rem); }
.project-card .has-cover-photo .cover-caption { font-size: .56rem; line-height: 1.6; }
.project-card .platform-tags { gap: 5px; }
.project-card .platform-tags span { font-size: .65rem; padding: 3px 8px; }
.project-card .has-cover-photo .sunshine-word { font-size: 2.8rem; }
.project-card .has-cover-photo .sunshine-facts { flex-direction: column; gap: 0; }
.project-card .has-cover-photo .sunshine-facts b { font-size: 2.1rem; }
.project-card .has-cover-photo .tedx-word { font-size: 2.4rem; }
.project-card .has-cover-photo .math-number { font-size: 4rem; }
.project-card .has-cover-photo .math-number small { font-size: .65rem; }
.project-card .pioneer-cover { position: relative; background: #eef0fb; background-image: repeating-linear-gradient(transparent 0 26px,#d8dff1 27px 28px); padding: 37px; }
.project-card .paper-title { font-size: 4.1rem; }
.project-card .has-cover-photo .zone-grid { grid-template-columns: 1fr; }
.project-card .has-cover-photo .zone-grid > span { padding: 6px 9px; font-size: 1.15rem; }
.project-card .has-cover-photo .zone-grid > span br { display: none; }
.project-card .card-bottom { padding: 26px 25px 20px; }
.project-card .card-bottom h3 { font-size: 2.2rem; }
.project-card .card-bottom p { font-size: .88rem; min-height: 48px; }
.project-card .project-open { border-color: #c4cee5; font-size: .82rem; }
.project-card .project-open span { display: grid; place-items: center; border: 1px solid #c4cee5; border-radius: 50%; width: 29px; height: 29px; margin-top: -5px; }
.motion-enabled .project-card:hover .project-open span { background: var(--lime); }
.project-grid.is-index { grid-template-columns: 1fr; gap: 0; border-top: 1px solid #b7c3e0; }
.project-grid.is-index .project-card { display: grid; grid-template-columns: 170px 110px 1fr; gap: 30px; padding: 24px 0; align-items: center; background: transparent; border: 0; border-bottom: 1px solid #b7c3e0; box-shadow: none; overflow: visible; }
.project-grid.is-index .card-meta { padding: 0; flex-direction: column; gap: 9px; background: transparent; }
.project-grid.is-index .project-card > [class*="-cover"] { padding: 0; width: 110px; min-height: 0; height: 104px; background: #e4e9f5; }
.project-grid.is-index .project-card > [class*="-cover"] > :not(.project-photo-peek) { display: none; }
.project-grid.is-index .project-photo-peek { position: static; display: block; width: 100%; height: 100%; padding: 4px; transform: none; box-shadow: none; border-color: #c3cce1; }
.project-grid.is-index .project-photo-peek img { height: 100%; }
.project-grid.is-index .project-photo-peek > span { display: none; }
.project-grid.is-index .pioneer-cover::after { content: '¶'; display: grid; place-items: center; height: 100%; color: var(--blue); font: 3.8rem var(--serif); }
.project-grid.is-index .card-bottom { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; padding: 0; align-items: center; }
.project-grid.is-index .card-bottom h3 { font-size: 2rem; margin-bottom: 10px; }
.project-grid.is-index .card-bottom h3 br { display: none; }
.project-grid.is-index .card-bottom p { min-height: 0; max-width: 610px; font-size: .8rem; }
.project-grid.is-index .project-open { margin: 0; gap: 16px; padding: 10px 0; border: 0; align-items: center; white-space: nowrap; }
.project-grid.is-index .project-open span { margin: 0; }
.motion-enabled .project-grid.is-index .project-card:hover { transform: translateX(5px); box-shadow: none; }
.album-section { position: relative; padding-top: 100px; padding-bottom: 44px; }
.album-section::before { content: 'ALBUM'; position: absolute; font: clamp(7rem,17vw,18rem)/1 var(--serif); color: #ffffff09; top: -8px; right: 3%; letter-spacing: -5px; pointer-events: none; }
.album-heading { position: relative; z-index: 1; margin-bottom: 45px; }
.album-heading h2 { font-size: clamp(3.4rem,5.7vw,5.8rem); }
.album-open-button { border-radius: 40px; padding: 14px 24px; }
.album-rail { padding-top: 28px; padding-bottom: 33px; }
.album-print { flex-basis: 280px; width: 280px; padding: 12px 12px 18px; box-shadow: 8px 10px 0 #0c278822; }
.album-print img { height: 305px; }
.album-print:nth-child(even) { margin-top: 33px; }
.album-print-caption { min-height: 65px; padding-top: 18px; font-size: 1.6rem; }
.album-rail-footer { border-top: 1px solid #ffffff45; padding-top: 22px; }
.motion-enabled .orbit-spark { animation: orbit-turn 35s linear infinite; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
html[lang="zh-CN"] .hero h1 { font-size: clamp(3.25rem,5vw,4.65rem); line-height: 1.3; letter-spacing: -1.5px; }
html[lang="zh-CN"] .hero h1 em { font-size: 1.13em; }
html[lang="zh-CN"] .starting-heading p { font-size: 1.35rem; }
html[lang="zh-CN"] .starting-link b { font-size: .98rem; line-height: 1.5; }
html[lang="zh-CN"] .work-section h2, html[lang="zh-CN"] .album-heading h2 { font-size: clamp(2.6rem,4vw,4rem); line-height: 1.35; }
html[lang="zh-CN"] .project-card .has-cover-photo .giant-number { font-size: 3.2rem; }
html[lang="zh-CN"] .project-card .card-bottom h3 { font-size: 1.7rem; line-height: 1.4; }
html[lang="zh-CN"] .project-card .has-cover-photo .sunshine-word { font-size: 2.1rem; }
html[lang="zh-CN"] .project-card .has-cover-photo .tedx-word { font-size: 1.8rem; }
html[lang="zh-CN"] .project-grid.is-index .card-bottom h3 { font-size: 1.4rem; }
@media (min-width:1100px) { .project-grid:not(.is-index) > .project-card:nth-child(even) { margin-top: 55px; } }
@media (max-width:1100px) {
  .site-header { padding: 18px 35px; gap: 18px; }
  .site-header nav { gap: 17px; font-size: .78rem; }
  .wordmark > span:last-child { font-size: .67rem; }
  .hero { gap: 35px; }
  .hero h1 { font-size: 5.3rem; }
  .starting-points { grid-template-columns: repeat(4,1fr); }
  .starting-heading { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; margin-bottom: 15px; }
  .starting-heading .eyebrow { margin: 0; }
  .starting-heading p { font-size: 1.4rem; }
  .starting-link { padding: 8px 12px; gap: 9px; }
  .starting-link:nth-child(2) { border-left: 0; padding-left: 0; }
  .starting-arrow { display: none; }
  .project-card .has-cover-photo .sunshine-word { font-size: 2.25rem; }
  .project-card .has-cover-photo .tedx-word { font-size: 2rem; }
  .project-card .has-cover-photo .giant-number { font-size: 4.3rem; }
  .project-grid.is-index .project-card { grid-template-columns: 130px 90px 1fr; gap: 22px; }
  .project-grid.is-index .project-card > [class*="-cover"] { width: 90px; height: 95px; }
}
@media (max-width:900px) and (min-width:761px) { .hero { grid-template-columns: 1fr .85fr; gap: 28px; } .hero h1 { font-size: 4.3rem; } html[lang="zh-CN"] .hero h1 { font-size: 3.3rem; } .hero-footnote { flex-direction: column; align-items: start; } }
@media (max-width:760px) {
  html { scroll-padding-top: 130px; }
  .site-header { min-height: 0; padding: 17px 22px 12px; gap: 10px; display: grid; }
  .site-header nav { justify-content: start; font-size: .72rem; gap: 10px 16px; }
  .site-header .nav-contact { padding: 3px 11px; border: 0; border-radius: 20px; }
  .site-header nav a[aria-current="location"]:not(.nav-contact)::after { bottom: -4px; }
  .hero { grid-template-columns: 1fr; padding-top: 39px; gap: 25px; }
  .hero::before { width: 100%; height: 380px; }
  .hero-copy { padding-bottom: 0; }
  .hero-copy > .eyebrow { margin-bottom: 24px; font-size: .59rem; max-width: 320px; }
  .hero h1 { font-size: clamp(3.3rem,13vw,5.5rem); letter-spacing: -1.3px; margin-bottom: 25px; }
  .hero h1 > span { white-space: normal; }
  .hero h1 em::after { bottom: -4px; height: 5px; }
  html[lang="zh-CN"] .hero h1 { font-size: clamp(2.55rem,8.7vw,3.8rem); line-height: 1.32; }
  .hero-description { font-size: .9rem; }
  .hero-actions { gap: 23px; margin-top: 25px; }
  .hero-actions .button { padding: 11px 19px; font-size: .8rem; }
  .hero-actions .button::after { margin-left: 10px; }
  .hero-footnote { margin-top: 26px; gap: 11px; }
  .hero-footnote span:last-child { font-size: .68rem; }
  .hero-scene { width: min(390px,100%); padding: 34px 21px 0; margin: 10px auto 0; }
  .scene-orbit { width: 98%; top: 49px; left: 1%; }
  .scene-orbit::after { inset: 24px -10px; }
  .orbit-caption { left: 23%; top: -18px; font-size: .49rem; }
  .orbit-spark { font-size: 2.5rem; left: 0; }
  .orbit-cross { right: -3%; font-size: 2rem; }
  .hero-photo img { aspect-ratio: 4 / 4.1; }
  .hero-photo figcaption { min-height: 61px; font-size: .64rem; }
  .photo-note { right: -11px; bottom: 61px; min-width: 126px; font-size: 1.45rem; padding: 15px 17px 12px; }
  .hero-scribble { width: 100px; right: -11px; bottom: 148px; }
  .note-action { font-size: .51rem; }
  .hero-deck-controls { margin-top: 20px; }
  .starting-points { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 0; padding: 24px 0 25px; margin-top: 8px; }
  .starting-heading { margin-bottom: 11px; display: block; }
  .starting-heading .eyebrow { margin-bottom: 6px; font-size: .56rem; }
  .starting-heading p { font-size: 1.55rem; }
  .starting-link { padding: 11px 9px; gap: 10px; min-height: 78px; border-left: 0; }
  .starting-link:nth-child(odd) { border-left: 1px solid #d0d6e8; padding-left: 17px; }
  .starting-link:nth-child(2) { padding-left: 0; }
  .starting-link img { width: 38px; height: 46px; flex-basis: 38px; }
  .starting-link b { font-size: 1.15rem; }
  .starting-link small { font-size: .5rem; }
  .work-section { padding-top: 62px; padding-bottom: 64px; }
  .work-section .section-heading { align-items: start; gap: 21px; margin-bottom: 28px; }
  .work-section h2 { font-size: 3.6rem; }
  html[lang="zh-CN"] .work-section h2, html[lang="zh-CN"] .album-heading h2 { font-size: 2.6rem; }
  .work-section .section-heading > p { padding-left: 16px; font-size: .85rem; }
  .work-controls { gap: 9px; padding-bottom: 13px; }
  .filters { gap: 6px; }
  .filters button { font-size: .74rem; padding: 6px 11px; min-height: 39px; }
  .surprise-button { font-size: .75rem; }
  .work-reading-bar { flex-direction: column; align-items: start; gap: 11px; margin: 15px 0 24px; }
  .work-view-switch { width: 100%; }
  .work-view-switch button { flex: 1; min-height: 39px; }
  .project-grid { gap: 27px; }
  .project-card .card-meta { padding: 15px 17px; font-size: .57rem; letter-spacing: .2px; }
  .project-card > [class*="-cover"] { min-height: 300px; }
  .project-card .has-cover-photo { padding: 24px 54% 24px 19px; }
  .project-card .project-photo-peek { right: 12px; width: 46%; height: 85%; padding: 6px 6px 0; }
  .project-card .project-photo-peek > span { font-size: .5rem; padding: 0 3px; }
  .project-card .has-cover-photo .giant-number { font-size: 3.2rem; letter-spacing: -2px; }
  html[lang="zh-CN"] .project-card .has-cover-photo .giant-number { font-size: 2.3rem; letter-spacing: -1px; }
  .project-card .has-cover-photo .sunshine-word { font-size: 2.3rem; }
  html[lang="zh-CN"] .project-card .has-cover-photo .sunshine-word { font-size: 1.7rem; }
  .project-card .has-cover-photo .tedx-word { font-size: 2rem; }
  html[lang="zh-CN"] .project-card .has-cover-photo .tedx-word { font-size: 1.45rem; }
  .project-card .has-cover-photo .math-number { font-size: 3.25rem; }
  .project-card .card-bottom { padding: 24px 20px 19px; }
  .project-card .card-bottom h3 { font-size: 2.1rem; }
  html[lang="zh-CN"] .project-card .card-bottom h3 { font-size: 1.5rem; }
  .project-card .pioneer-cover { padding: 30px; }
  .project-card .paper-title { font-size: 3.6rem; }
  .project-grid.is-index .project-card { grid-template-columns: 70px 1fr; gap: 14px; padding: 22px 0; }
  .project-grid.is-index .card-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; font-size: .56rem; }
  .project-grid.is-index .project-card > [class*="-cover"] { width: 70px; height: 83px; align-self: start; }
  .project-grid.is-index .card-bottom { grid-template-columns: 1fr; gap: 4px; }
  .project-grid.is-index .card-bottom h3 { font-size: 1.6rem; }
  html[lang="zh-CN"] .project-grid.is-index .card-bottom h3 { font-size: 1.2rem; }
  .project-grid.is-index .project-open { width: 100%; font-size: .74rem; padding-top: 7px; justify-content: space-between; }
  .album-section { padding-top: 65px; padding-bottom: 30px; }
  .album-heading { margin-bottom: 20px; }
  .album-heading h2 { font-size: 3.8rem; }
  .album-print { width: 231px; flex-basis: 231px; padding: 10px 10px 16px; }
  .album-print img { height: 245px; }
  .album-print-caption { font-size: 1.35rem; min-height: 61px; }
  .album-rail-footer { padding-top: 18px; }
}
@media (max-width:390px) { .site-header nav { gap: 9px 13px; font-size: .68rem; } .starting-link b { font-size: 1.02rem; } html[lang="zh-CN"] .starting-link b { font-size: .88rem; } .hero-footnote { gap: 8px; } .hero-footnote span:first-child { font-size: .5rem; } .hero-footnote span:last-child { max-width: 140px; } }
@media (prefers-reduced-motion:reduce) { .scene-orbit, .starting-link img { transform: none; } }
.motion-paused .scene-orbit { transform: rotate(-13deg); }
html.motion-paused { scroll-behavior: auto; }
@media print { .site-header { position: static; } .scene-orbit,.starting-points,.work-reading-bar { display: none; } .hero { padding-bottom: 30px; } .project-grid.is-index .project-card { break-inside: avoid; } }
