:root {
  --paper: #fff;
  --ink: #202422;
  --muted: #68716c;
  --line: #dce0dc;
  --soft: #f1f3f1;
  --accent: #386552;
  --dark: #171918;
  --gutter: 48px;
  --header: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  letter-spacing: 0;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body.viewer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button, .icon-button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid #58987c; outline-offset: 6px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }
.eyebrow { font-size: 11px; font-weight: 550; line-height: 1.6; }
.muted { color: var(--muted); }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 18px; background: white; z-index: 100; }
.skip-link:focus { top: 10px; }
.site-header { height: var(--header); padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px; background: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: baseline; gap: 14px; font-size: 25px; font-weight: 700; margin-right: auto; }
.wordmark span { font-size: 12px; font-weight: 500; }
.site-header nav { display: flex; gap: 34px; align-items: center; height: 100%; }
.nav-link { font-size: 14px; position: relative; display: flex; align-items: center; height: 100%; }
.nav-link::after { content: ""; height: 2px; position: absolute; left: 0; right: 0; bottom: 19px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav-link:hover { color: var(--accent); }
.nav-link[aria-current]::after { transform: scaleX(1); }
.icon-button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; position: relative; background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 50%; flex: 0 0 44px; }
.icon-button:hover { background: #7e8f801f; }
.icon-button[data-tip]::after { content: attr(data-tip); opacity: 0; pointer-events: none; position: absolute; top: calc(100% + 8px); right: 0; padding: 6px 9px; color: #fff; background: #292e2b; border-radius: 3px; white-space: nowrap; font-size: 11px; transition: opacity .15s; z-index: 40; }
.icon-button:hover::after, .icon-button:focus-visible::after { opacity: 1; }
.header-contact { border-color: var(--line); }
.hero { position: relative; background: var(--dark); color: white; }
.hero-image { display: block; }
.hero-image img { width: 100%; max-height: calc(100svh - 200px); object-fit: contain; }
.hero-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 34px var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; pointer-events: none; text-shadow: 0 2px 18px #000, 0 1px 4px #000; }
.hero-caption h1 { font-size: 76px; line-height: 1.1; font-weight: 400; font-family: "Times New Roman", "Songti SC", serif; margin: 6px 0; }
.hero-subtitle { font-size: 14px; }
.hero-next { pointer-events: auto; border-color: #ffffff85; text-shadow: none; }
.project-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-block: 68px 56px; }
.project-intro h2 { margin-top: 17px; font-size: 32px; font-weight: 500; line-height: 1.55; }
.project-description { padding-top: 2px; max-width: 580px; }
.project-description p { font-size: 15px; line-height: 1.95; color: #515b55; margin-bottom: 12px; }
.disciplines { list-style: none; display: flex; gap: 22px; margin: 24px 0 0; padding: 0; font-size: 12px; color: var(--accent); flex-wrap: wrap; }
.disciplines li + li { border-left: 1px solid var(--line); padding-left: 22px; }
.chapter-nav { border-block: 1px solid var(--line); display: flex; gap: 32px; align-items: center; min-height: 68px; }
.chapter-nav a { font-size: 13px; display: inline-flex; align-items: center; gap: 12px; padding-block: 20px; }
.chapter-nav a:hover { color: var(--accent); }
.chapter-nav a span { color: #838d85; font-family: Georgia, serif; font-style: italic; }
.chapter-nav .source-link { margin-left: auto; font-size: 12px; }
.source-link svg { width: 17px; height: 17px; }
.chapter { padding-block: 72px 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section-heading h2 { font-size: 30px; font-weight: 500; line-height: 1.4; margin-top: 8px; }
.section-heading > p { font-size: 13px; color: var(--muted); padding-bottom: 5px; }
.gallery { display: grid; gap: 28px; }
.artwork { min-width: 0; }
.artwork-link { display: block; position: relative; background: #e8ece8; overflow: hidden; }
.artwork img { width: 100%; height: auto; transition: filter .25s; }
.artwork-link:hover img { filter: brightness(1.04); }
.artwork-expand { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; display: grid; place-items: center; background: #ffffffeb; color: #242b27; border-radius: 50%; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.artwork-link:hover .artwork-expand, .artwork-link:focus-visible .artwork-expand { opacity: 1; transform: none; }
.artwork-expand svg { width: 17px; height: 17px; }
.artwork figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 13px; font-size: 12px; line-height: 1.6; }
.artwork figcaption span { font-size: 11px; color: var(--muted); text-align: right; }
.tower-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin: 60px 0; align-items: start; }
.tower-studies { display: grid; gap: 28px; }
.small-intro { padding: 14px 0 0; }
.small-intro h3, .subheading h3 { font-size: 20px; font-weight: 500; }
.small-intro p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 12px; max-width: 470px; }
.study-grid { gap: 22px; }
.study-grid figcaption { padding-top: 8px; }
.design-section { background: var(--soft); padding-block: 72px; }
.subheading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin: 52px 0 24px; }
.subheading p { font-size: 12px; color: var(--muted); }
.tower-breakdown { display: grid; grid-template-columns: 1494fr 985fr; gap: 32px; margin-bottom: 54px; align-items: start; }
.tower-process { gap: 22px; }
.facility-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; align-items: start; }
.cloud-design { margin-top: 40px; }
.models-section { color: #f6f7f5; background: var(--dark); padding-block: 64px; }
.models-section .section-heading > p, .models-section figcaption span { color: #a8b0a9; }
.models-section .eyebrow { color: #a8b0a9; }
.models-section .artwork-link { background: var(--dark); }
.about-section { padding-block: 88px 100px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; padding-block: 8px; border-bottom: 1px solid var(--ink); }
.text-link:hover { color: var(--accent); }
.resume-layout { display: grid; grid-template-columns: 320px 1fr; gap: 80px; padding-top: 32px; border-top: 1px solid var(--line); }
.profile { padding-right: 28px; }
.portrait { width: 120px; height: 120px; object-fit: cover; margin-bottom: 24px; }
.profile h3 { font-size: 28px; font-weight: 600; display: flex; align-items: baseline; gap: 16px; }
.profile h3 span { font-size: 12px; font-weight: 400; }
.profile-role { font-size: 12px; margin-top: 12px; line-height: 1.8; }
.profile-note { margin-top: 24px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.profile-facts { margin: 28px 0 36px; font-size: 13px; }
.profile-facts div { display: flex; gap: 24px; padding-block: 7px; }
.profile-facts dt { color: var(--muted); width: 30px; flex-shrink: 0; }
.profile-facts dd { margin: 0; }
.education { border-top: 1px solid var(--line); padding-top: 28px; }
.education h4 { font-size: 17px; font-weight: 500; margin: 12px 0 8px; }
.education > p:not(.eyebrow), .education > span { font-size: 13px; line-height: 1.9; }
.education > span { display: block; color: var(--muted); margin-top: 6px; }
.resume-content { min-width: 0; max-width: 880px; }
.resume-block > h3 { font-size: 21px; font-weight: 500; margin: 7px 0 24px; }
.strengths > p:not(.eyebrow) { font-size: 14px; line-height: 1.95; color: #515b55; margin-top: 14px; }
.experience { margin-top: 52px; border-top: 1px solid var(--line); padding-top: 32px; }
.job + .job { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.job-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; margin-bottom: 14px; }
.job-meta > span { color: var(--accent); font-weight: 600; }
.job-meta time { color: var(--muted); }
.job h4 { font-size: 20px; font-weight: 550; line-height: 1.5; }
.job-project { font-size: 13px; color: var(--muted); margin-top: 8px; }
.job ul { margin: 22px 0 0; padding-left: 18px; font-size: 14px; color: #515b55; line-height: 1.95; }
.job li + li { margin-top: 12px; }
.job li::marker { color: #87988b; }
.job li strong { display: block; color: var(--ink); font-weight: 500; }
.achievements { display: flex; gap: 56px; margin: 28px 0 16px; border-left: 2px solid #5b806a; padding-left: 22px; }
.achievements b { display: block; font-size: 29px; line-height: 1.2; font-weight: 400; font-family: Georgia, serif; }
.achievements span { display: block; font-size: 11px; color: var(--muted); margin-top: 9px; }
.job-result { font-size: 12px; color: var(--muted); line-height: 1.8; }
.site-footer { color: #f5f7f3; background: var(--dark); padding-top: 64px; }
.contact-heading { display: flex; justify-content: space-between; align-items: flex-end; }
.contact-heading h2 { font-size: 34px; font-weight: 400; margin-top: 13px; }
.contact-heading .eyebrow { color: #a7b5aa; }
.back-top { border-color: #536058; }
.contact-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin: 34px 0 56px; }
.email-link { display: inline-flex; align-items: center; gap: 24px; font-size: 30px; font-weight: 350; overflow-wrap: anywhere; }
.email-link svg { width: 26px; height: 26px; }
.email-link:hover { color: #c4ddcc; }
.contact-details { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; line-height: 1.8; color: #b9c1bb; }
.footer-bottom { border-top: 1px solid #383e39; padding-block: 26px; display: flex; justify-content: space-between; gap: 24px; font-size: 11px; line-height: 1.8; color: #a8b3ab; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
.footer-bottom svg { width: 14px; height: 14px; }
.fallback { padding-block: 24px; }
.viewer { position: fixed; inset: 0; border: none; padding: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: #111412; color: white; }
.viewer::backdrop { background: #111412; }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 28px; border-bottom: 1px solid #333b35; }
.viewer-info { min-width: 0; }
.viewer-info h2 { font-size: 16px; font-weight: 500; line-height: 1.5; }
.viewer-info p { margin-top: 4px; color: #a3b2a6; font-size: 11px; }
.viewer-actions { display: flex; gap: 10px; flex-shrink: 0; }
.viewer .icon-button { border-color: #49544c; }
.viewer-stage { overflow: auto; padding: 20px; display: grid; align-items: center; justify-items: center; min-width: 0; min-height: 0; position: relative; }
.viewer-stage img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.viewer-stage.is-zoomed { display: block; }
.viewer-stage.is-zoomed img { width: auto; height: auto; max-width: none; max-height: none; margin: auto; cursor: zoom-out; }
#viewer-status { position: absolute; bottom: 18px; padding: 8px 12px; border-radius: 4px; background: #111412df; font-size: 12px; }
#viewer-status[hidden] { display: none; }
.viewer-bottom { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 12px 24px 16px; }
.viewer-bottom .icon-button[data-tip]::after { top: auto; bottom: calc(100% + 8px); }
#viewer-counter { min-width: 64px; text-align: center; font-size: 12px; color: #c5cec7; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero-caption h1 { font-size: 58px; }
  .resume-layout { grid-template-columns: 240px 1fr; gap: 48px; }
  .tower-layout { gap: 28px; }
  .tower-studies { gap: 20px; }
  .small-intro { padding-top: 0; }
  .study-grid { gap: 16px; }
  .study-grid figcaption span { display: none; }
  .contact-grid { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; --header: 68px; }
  .site-header { gap: 18px; }
  .wordmark { font-size: 23px; gap: 9px; }
  .wordmark span { font-size: 9px; }
  .site-header nav { gap: 24px; }
  .nav-link { font-size: 13px; }
  .header-contact { display: none; }
  .hero-image img { max-height: none; }
  .hero-caption { position: static; padding-block: 24px 28px; text-shadow: none; }
  .hero-caption .eyebrow { font-size: 9px; color: #bbc8bf; }
  .hero-caption h1 { font-size: 44px; margin-block: 9px; }
  .hero-subtitle { font-size: 12px; }
  .hero-next { width: 36px; height: 36px; flex-basis: 36px; }
  .project-intro { grid-template-columns: 1fr; gap: 24px; padding-block: 36px; }
  .project-intro h2 { font-size: 27px; margin-top: 10px; }
  .project-description p { font-size: 14px; }
  .disciplines { margin-top: 18px; gap: 16px; }
  .disciplines li + li { padding-left: 16px; }
  .chapter-nav { gap: 20px; flex-wrap: wrap; padding-block: 14px; }
  .chapter-nav a { font-size: 12px; gap: 7px; padding-block: 6px; }
  .chapter-nav .source-link { flex-basis: 100%; margin: 0; color: var(--muted); }
  .chapter, .design-section { padding-block: 40px; }
  .section-heading { margin-bottom: 24px; gap: 16px; }
  .section-heading h2 { font-size: 26px; }
  .section-heading > p { font-size: 11px; max-width: 120px; text-align: right; line-height: 1.7; }
  .tower-layout { grid-template-columns: 1fr; gap: 28px; margin-block: 32px; }
  .tower-layout > .gallery { max-width: 440px; margin-inline: auto; width: 100%; }
  .study-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .small-intro h3, .subheading h3 { font-size: 19px; }
  .small-intro p { font-size: 13px; }
  .artwork figcaption { font-size: 11px; padding-top: 9px; flex-wrap: wrap; gap: 0 10px; }
  .artwork figcaption span { font-size: 10px; }
  .artwork-expand { width: 28px; height: 28px; right: 10px; bottom: 10px; opacity: .9; transform: none; }
  .artwork-expand svg { width: 14px; height: 14px; }
  .subheading { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 36px; }
  .tower-breakdown { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .tower-breakdown > .gallery:first-child { max-width: 440px; margin-inline: auto; width: 100%; }
  .tower-process { width: min(100%, 320px); margin-inline: auto; }
  .facility-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .facility-grid:has([data-art="observatory"]) { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cloud-design { margin-top: 24px; }
  .models-section { padding-block: 40px; }
  .about-section { padding-block: 48px; }
  .text-link { font-size: 12px; gap: 8px; }
  .resume-layout { grid-template-columns: 1fr; gap: 38px; padding-top: 24px; }
  .profile { padding: 0; display: grid; grid-template-columns: 1fr 96px; column-gap: 20px; }
  .portrait { width: 96px; height: 96px; grid-column: 2; grid-row: 1 / 4; margin: 0; }
  .profile h3 { font-size: 25px; gap: 12px; grid-column: 1; }
  .profile-role { grid-column: 1; margin-top: 8px; }
  .profile-note { grid-column: 1 / -1; margin-top: 18px; }
  .profile-facts { grid-column: 1 / -1; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .profile-facts div { gap: 12px; font-size: 12px; }
  .education { grid-column: 1 / -1; padding-top: 22px; }
  .resume-content { border-top: 1px solid var(--line); padding-top: 28px; }
  .experience { margin-top: 34px; padding-top: 28px; }
  .job h4 { font-size: 18px; }
  .job-meta { font-size: 11px; gap: 12px; }
  .achievements { gap: 36px; }
  .site-footer { padding-top: 40px; }
  .contact-heading h2 { font-size: 28px; }
  .contact-grid { margin: 28px 0 36px; gap: 24px; }
  .email-link { font-size: 22px; gap: 12px; }
  .email-link svg { width: 21px; height: 21px; }
  .contact-details { gap: 12px 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 22px; }
  .viewer-toolbar { padding: 14px 16px; gap: 12px; }
  .viewer-info h2 { font-size: 13px; }
  .viewer-info p { font-size: 10px; }
  .viewer-actions { gap: 6px; }
  .viewer-actions .icon-button { width: 38px; height: 38px; flex-basis: 38px; }
  .viewer-stage { padding: 12px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .wordmark span { display: none; }
  .hero-caption h1 { font-size: 36px; }
  .hero-caption .eyebrow { font-size: 8px; }
  .hero-next { display: none; }
  .chapter-nav { gap: 16px; }
  .email-link { font-size: 20px; }
  .profile h3 { display: block; }
  .profile h3 span { display: block; margin-top: 5px; }
  .profile-facts { grid-template-columns: 1fr; }
  .viewer-actions { gap: 3px; }
  .viewer-actions .icon-button { width: 34px; height: 38px; flex-basis: 34px; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
