/* 颜色和字体 / Change the shared colors and fonts here. */
:root {
  --ink:#122c29;
  --ink-light:#1c3b36;
  --gold:#dfc383;
  --paper:#fafaf7;
  --white:#fff;
  --text:#243a35;
  --muted:#5b6a63;
  --line:#d7ded7;
  --serif:Georgia,'Times New Roman',serif;
  --sans:Arial,Helvetica,sans-serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:var(--sans);
  font-size:1rem;
  line-height:1.65
}
a {
  color:inherit
}
button {
  font:inherit
}
a,button {
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:5px
}
::selection {
  background:var(--gold);
  color:var(--ink)
}
h1,h2,h3,p {
  margin:0
}
h1,h2 {
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:-.045em;
  line-height:1.07
}
em {
  font-weight:400
}
section {
  scroll-margin-top:90px
}
.container {
  max-width:1280px;
  width:calc(100% - 112px);
  margin-inline:auto
}
.skip-link {
  position:fixed;
  left:20px;
  top:-80px;
  z-index:20;
  background:var(--gold);
  color:var(--ink);
  padding:12px 20px
}
.skip-link:focus {
  top:15px
}
/* 顶部导航 / Header and navigation. */
.header {
  background:var(--ink);
  color:var(--paper);
  border-bottom:1px solid #ffffff20
}
.nav-row {
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-family:var(--serif);
  font-size:1.65rem;
  letter-spacing:-.035em
}
.brand-mark {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  color:var(--gold);
  border:1px solid #dfc38380;
  border-radius:50%;
  font-size:1.5rem;
  line-height:1
}
nav {
  display:flex;
  align-items:center;
  gap:34px;
  font-size:.9rem
}
nav a {
  text-decoration:none;
  color:#e4ebe6
}
nav a:hover {
  color:var(--gold)
}
.nav-contact {
  padding:9px 19px;
  border:1px solid #ffffff55;
  border-radius:3px
}
/* 首屏 / Hero introduction. */
.hero {
  background:var(--ink);
  color:var(--paper)
}
.hero-grid {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:80px;
  padding-block:88px 80px;
  align-items:center
}
.eyebrow {
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:500;
  line-height:1.6
}
.hero .eyebrow {
  color:var(--gold);
  display:flex;
  align-items:center;
  gap:12px
}
.line {
  width:28px;
  height:1px;
  background:var(--gold)
}
h1 {
  font-size:clamp(3.3rem,5.1vw,5rem);
  margin-top:30px;
  line-height:1.1
}
h1 em {
  color:var(--gold)
}
.hero-description {
  max-width:460px;
  margin-top:26px;
  color:#cbd7d0;
  font-size:1.1rem;
  line-height:1.8
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:26px;
  margin-top:33px;
  flex-wrap:wrap
}
.button {
  display:inline-block;
  line-height:1.3;
  padding:16px 23px;
  border:1px solid transparent;
  border-radius:3px;
  text-decoration:none;
  font-weight:500;
  font-size:.92rem;
  transition:background .15s
}
.button-gold {
  background:var(--gold);
  color:var(--ink)
}
.button-gold:hover {
  background:#ecd8ac
}
.text-link {
  text-underline-offset:6px;
  font-size:.95rem;
  text-decoration-color:#8ca398
}
.text-link:hover {
  color:var(--gold)
}
.hero-note {
  margin-top:27px;
  font-size:.8rem;
  color:#b5c7bc
}
.hero-bottom {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid #ffffff25;
  padding-block:23px 26px;
  color:#bac9c0;
  font-size:.76rem;
  letter-spacing:.04em
}
.hero-bottom span:first-child {
  letter-spacing:.12em
}
.language-band {
  border-bottom:1px solid var(--line)
}
.language-band .container {
  min-height:81px;
  display:flex;
  align-items:center;
  gap:25px;
  flex-wrap:wrap;
  font-size:.92rem
}
.divider {
  color:#a9b3a6
}
.band-note {
  font-size:.82rem;
  color:var(--muted);
  margin-left:auto
}
/* 项目展示 / Project descriptions. */
.project-section {
  padding-block:85px 100px
}
.section-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:52px
}
.section-intro .eyebrow {
  color:var(--muted)
}
.stage-label {
  font-size:.8rem;
  line-height:1.4;
  border:1px solid var(--line);
  border-radius:40px;
  padding:7px 14px;
  color:var(--muted);
  text-align:center
}
.project-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:96px
}
.project-copy h2 {
  font-size:clamp(2.8rem,4.8vw,4rem)
}
.project-subtitle {
  font-family:var(--serif);
  font-size:1.8rem;
  line-height:1.3;
  letter-spacing:-.025em;
  margin-top:20px
}
.project-copy>p:not(.project-subtitle) {
  margin-top:24px;
  color:var(--muted);
  max-width:480px
}
.underlined-link {
  display:inline-block;
  margin-top:30px;
  text-decoration-color:#a8b6aa;
  text-underline-offset:6px;
  font-size:.94rem
}
.underlined-link:hover {
  color:#876023
}
.capabilities {
  border-top:1px solid var(--line)
}
.capability {
  display:flex;
  gap:22px;
  border-bottom:1px solid var(--line);
  padding-block:24px
}
.feature-number {
  font-family:var(--serif);
  font-size:.9rem;
  color:#829380;
  padding-top:3px
}
.capability h3 {
  font-size:1.1rem;
  letter-spacing:-.015em;
  font-weight:500
}
.capability p {
  font-size:.94rem;
  margin-top:8px;
  color:var(--muted);
  line-height:1.65
}
.lexicon-section {
  background:#eaf0e9;
  border-block:1px solid #d9e2d7;
  padding-block:76px 86px
}
.lexicon-grid {
  align-items:center
}
/* 个人介绍 / About and working principles. */
.approach-section {
  padding-block:94px 90px
}
.approach-heading {
  max-width:750px
}
.approach-heading .eyebrow {
  color:var(--muted)
}
.approach-heading h2 {
  font-size:clamp(2.3rem,3.7vw,3.3rem);
  margin-top:28px;
  line-height:1.17
}
.approach-heading h2 em {
  color:#5b7559
}
.approach-heading>p:last-child {
  margin-top:27px;
  color:var(--muted);
  max-width:650px
}
.principles {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:45px;
  margin-top:56px
}
.principles article {
  border-top:1px solid var(--line);
  padding-top:22px
}
.principle-label {
  font-size:.77rem;
  letter-spacing:.05em;
  color:var(--muted)
}
.principles h3 {
  font-family:var(--serif);
  font-size:1.6rem;
  font-weight:400;
  line-height:1.3;
  margin-top:20px
}
.principles p {
  font-size:.94rem;
  margin-top:16px;
  color:var(--muted)
}
/* 联系方式 / Contact and footer. */
.contact-section {
  background:var(--ink);
  color:var(--paper);
  padding-block:76px 82px
}
.contact-grid {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  align-items:center
}
.contact-section .eyebrow {
  color:var(--gold)
}
.contact-section h2 {
  font-size:clamp(2.7rem,4.2vw,3.8rem);
  line-height:1.14;
  margin-top:25px
}
.contact-section h2 em {
  color:var(--gold)
}
.contact-section p:not(.eyebrow) {
  color:#c1d0c7;
  margin-top:25px;
  max-width:420px;
  font-size:.96rem
}
.contact-email {
  font-family:var(--serif);
  font-size:clamp(1.05rem,2.1vw,1.8rem);
  text-decoration-color:#607f70;
  text-underline-offset:10px;
  overflow-wrap:anywhere;
  justify-self:end
}
.contact-email:hover {
  color:var(--gold)
}
.footer {
  background:var(--paper);
  padding-block:30px
}
.footer-row {
  display:flex;
  align-items:center;
  gap:30px;
  justify-content:space-between
}
.footer-brand {
  font-size:1.25rem;
  white-space:nowrap
}
.footer-brand .brand-mark {
  border-color:#9bb196;
  color:var(--ink);
  width:27px;
  height:27px;
  font-size:1.15rem
}
.footer p {
  font-size:.77rem;
  color:var(--muted);
  max-width:380px
}
.footer-row>span {
  font-size:.75rem;
  color:var(--muted);
  white-space:nowrap
}
/* 响应式布局 / Adapt the layout to different viewport widths. */
@media(min-width:1550px) {
  .hero-grid {
    padding-block:105px 95px
  }
}
@media(max-width:1100px) {
  .container {
    width:calc(100% - 72px)
  }
  .hero-grid {
    gap:42px;
    padding-block:66px 65px
  }
  .project-grid {
    gap:55px
  }
  .hero-description {
    font-size:1rem
  }
  .language-band .container {
    gap:17px
  }
  .band-note {
    font-size:.76rem
  }
  .footer-row {
    gap:20px
  }
  .footer p {
    max-width:280px
  }
}
@media(max-width:850px) {
  .container {
    width:calc(100% - 48px)
  }
  nav {
    gap:22px
  }
  .nav-row {
    min-height:80px
  }
  .brand {
    font-size:1.4rem
  }
  .hero-grid {
    grid-template-columns:1fr;
    gap:45px;
    padding-block:56px 52px
  }
  .hero-copy {
    max-width:620px
  }
  h1 {
    font-size:clamp(3.2rem,8vw,4.5rem)
  }
  .hero-description {
    max-width:560px
  }
  .band-note {
    flex-basis:100%;
    margin-left:0;
    margin-top:-9px
  }
  .language-band .container {
    padding-block:18px;
    row-gap:18px
  }
  .project-grid {
    gap:40px
  }
  .project-subtitle {
    font-size:1.6rem
  }
  .section-intro {
    margin-bottom:35px
  }
  .project-section {
    padding-block:62px 70px
  }
  .lexicon-section {
    padding-block:55px 66px
  }
  .lexicon-grid {
    grid-template-columns:1fr;
    gap:48px
  }
  .lexicon-grid .project-copy {
    order:1
  }
  .project-copy>p:not(.project-subtitle) {
    max-width:600px
  }
  .approach-section {
    padding-block:65px
  }
  .principles {
    gap:25px
  }
  .principles h3 {
    font-size:1.4rem
  }
  .contact-grid {
    grid-template-columns:1fr;
    gap:35px
  }
  .contact-email {
    justify-self:start;
    font-size:1.7rem
  }
  .footer-row {
    flex-wrap:wrap
  }
  .footer p {
    max-width:none;
    order:3;
    flex-basis:100%
  }
  .footer-row>span {
    margin-left:auto
  }
}
@media(max-width:580px) {
  html {
    scroll-padding-top:20px
  }
  .container {
    width:calc(100% - 40px)
  }
  .nav-row {
    flex-wrap:wrap;
    padding-block:18px;
    gap:16px
  }
  .brand {
    font-size:1.5rem
  }
  nav {
    width:100%;
    justify-content:space-between;
    gap:10px;
    font-size:.82rem
  }
  .nav-contact {
    padding:5px 12px;
    line-height:1.6
  }
  .hero-grid {
    padding-block:38px 38px;
    gap:36px
  }
  .eyebrow {
    font-size:.75rem;
    letter-spacing:.09em
  }
  h1 {
    margin-top:23px;
    font-size:clamp(2.7rem,10.6vw,3.8rem);
    line-height:1.12
  }
  .hero-description {
    margin-top:22px;
    font-size:1rem
  }
  .hero-actions {
    gap:22px;
    margin-top:28px
  }
  .hero-note {
    margin-top:22px;
    max-width:290px
  }
  .hero-bottom {
    flex-direction:column;
    gap:5px;
    font-size:.75rem;
    padding-block:20px
  }
  .hero-bottom span:first-child {
    font-size:.75rem;
    letter-spacing:.04em
  }
  .language-band .container {
    font-size:.85rem;
    gap:13px;
    row-gap:18px
  }
  .band-note {
    font-size:.8rem;
    line-height:1.5
  }
  .project-grid {
    grid-template-columns:1fr;
    gap:35px
  }
  .section-intro {
    align-items:flex-start;
    gap:14px
  }
  .stage-label {
    font-size:.75rem;
    padding:6px 10px
  }
  .project-copy h2 {
    font-size:3.1rem
  }
  .project-subtitle {
    font-size:1.75rem
  }
  .capability {
    padding-block:20px;
    gap:19px
  }
  .approach-heading h2 {
    font-size:2.2rem;
    line-height:1.2
  }
  .principles {
    grid-template-columns:1fr;
    gap:27px;
    margin-top:36px
  }
  .principles h3 {
    margin-top:12px;
    font-size:1.6rem
  }
  .principles p {
    margin-top:11px
  }
  .contact-section {
    padding-block:56px 60px
  }
  .contact-section h2 {
    font-size:2.8rem
  }
  .contact-email {
    font-size:clamp(1.04rem,5.1vw,1.7rem);
    line-height:1.6
  }
  .footer-row {
    gap:18px
  }
  .footer-row>span {
    font-size:.75rem
  }
  .footer p {
    font-size:.8rem
  }
  .footer-brand {
    font-size:1.2rem
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  * {
    transition:none!important
  }
}
/* 原始头像 / Preserve the full image instead of cropping it. */
.portrait {
  width:100%;
  max-width:30rem;
  margin:0;
  justify-self:end;
}
.portrait-frame {
  padding:12px;
  border:1px solid #dfc38380;
  background:#1c3b36;
  box-shadow:0 24px 50px #06151338;
}
.portrait img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
}
.portrait figcaption {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
  color:#cbd7d0;
  font-size:.875rem;
}
.portrait figcaption span:first-child {
  text-transform:uppercase;
  letter-spacing:.12em;
}
.portrait figcaption span:last-child {
  font-family:var(--serif);
  font-style:italic;
  font-size:1.05rem;
}
.stage-label {
  font-size:.875rem;
}
.capability p,.principles p,.contact-section p:not(.eyebrow) {
  font-size:1rem;
}
.approach-heading>p+p {
  margin-top:20px;
  color:var(--muted);
  max-width:650px;
}
.lexicon-grid .project-copy {
  order:0;
}
@media(max-width:850px) {
  .portrait {
    justify-self:start;
  }
}
@media(max-width:580px) {
  .portrait {
    justify-self:center;
  }
  nav {
    font-size:.875rem;
  }
}

/* 真实项目截图 / Authentic project captures, with no cropping or redrawn UI. */
.project-gallery {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.project-shot {
  margin: 0;
  min-width: 0;
}
.shot-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}
.shot-heading h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
}
.shot-heading > span {
  font-size: .875rem;
  color: var(--muted);
}
.image-link {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c8d4c9;
  border-radius: 4px;
  text-decoration: none;
  cursor: zoom-in;
}
.image-link img {
  display: block;
  width: 100%;
  height: auto;
}
.enlarge-label {
  display: block;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  text-align: right;
  color: var(--ink);
  background: #f7faf6;
}
.image-link:hover .enlarge-label {
  background: #e4ede1;
}
.project-shot figcaption {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
.stoa-secondary-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: start;
  gap: 40px;
  margin-top: 44px;
}
.shot-document .image-link {
  max-width: 20rem;
  margin-inline: auto;
}
.shot-context {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.5;
}
.capture-note {
  max-width: 920px;
  margin-top: 28px;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--muted);
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.gallery-heading .eyebrow {
  color: var(--muted);
  margin-bottom: 12px;
}
.gallery-heading h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.gallery-heading > p {
  max-width: 250px;
  font-size: .875rem;
  color: var(--muted);
}
.view-picker {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  padding: 4px;
  border: 1px solid #bccdb9;
  border-radius: 4px;
}
.view-picker[hidden],
.screenshot-view[hidden] {
  display: none;
}
.view-picker button {
  padding: 11px 17px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: .9375rem;
  cursor: pointer;
}
.view-picker button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.screenshot-view + .screenshot-view:not([hidden]) {
  margin-top: 24px;
}

/* 原图弹窗 / Inspect native pixels or open the PNG directly. */
.image-viewer {
  width: min(1240px, calc(100% - 32px));
  max-width: none;
  max-height: 94dvh;
  padding: 0;
  border: 1px solid #c7d4c9;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 100px #0008;
}
.image-viewer[open] {
  display: flex;
  flex-direction: column;
}
.image-viewer::backdrop {
  background: #081a17d9;
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.viewer-toolbar h2 {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
}
.viewer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.viewer-actions button,
.viewer-actions a {
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid #becdc1;
  border-radius: 3px;
  background: #fff;
  font: inherit;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.viewer-actions button:hover,
.viewer-actions a:hover {
  background: #e8eee5;
}
.viewer-scroll {
  min-height: 0;
  overflow: auto;
  max-height: 70vh;
  background: #e1e7df;
  overscroll-behavior: contain;
}
.viewer-scroll img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  margin: auto;
}
.image-viewer.is-native .viewer-scroll img {
  max-width: none;
  max-height: none;
}
.viewer-caption {
  padding: 14px 20px 18px;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 850px) {
  .stoa-secondary-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .shot-document .image-link {
    max-width: 26rem;
    margin-inline: 0;
  }
}
@media (max-width: 580px) {
  .project-gallery {
    margin-top: 40px;
    padding-top: 28px;
  }
  .gallery-heading {
    display: block;
  }
  .gallery-heading > p {
    margin-top: 12px;
    max-width: none;
  }
  .view-picker {
    width: 100%;
  }
  .view-picker button {
    flex: 1;
    padding: 10px;
    font-size: .875rem;
  }
  .shot-heading h3 {
    font-size: 1.4rem;
  }
  .shot-context {
    font-size: 1.25rem;
  }
  .viewer-toolbar {
    padding: 12px;
  }
  .viewer-actions {
    width: 100%;
  }
  .viewer-actions button,
  .viewer-actions a {
    padding: 8px 10px;
  }
  .viewer-caption {
    padding: 12px;
  }
}
