@charset "UTF-8";
:root {
  --paper: #fff;
  --wash: #f4f7f5;
  --ink: #1b302b;
  --muted: #61706a;
  --line: #dce4df;
  --green: #235944;
  --accent: #b65f3e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.85 'Microsoft YaHei', 'PingFang SC', sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 96px); max-width: 1200px; margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 80; padding: 10px; background: white; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 30; height: 88px; background: white; border-bottom: 1px solid var(--line); }
.header-inner, .main-nav, .brand, .footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { height: 100%; }
.brand { justify-content: flex-start; gap: 12px; font-size: 18px; font-weight: 600; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--green); color: white; }
.main-nav { gap: 28px; font-size: 14px; }
.main-nav a { padding: 7px 0; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--green); text-decoration: underline; text-underline-offset: 8px; }
.main-nav .edit-link { padding: 5px 12px; border: 1px solid var(--line); }
.menu-toggle { display: none; height: 40px; width: 44px; border: 1px solid var(--line); background: white; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--ink); }
.eyebrow { margin: 0 0 18px; font-size: 13px; letter-spacing: .12em; color: var(--green); }
.hero { padding: 74px 0 65px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: 65px; align-items: center; }
h1 { font-size: clamp(36px, 4.3vw, 62px); font-weight: 500; line-height: 1.32; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 { max-width: 520px; margin: 0 0 24px; }
.hero-intro { max-width: 460px; color: var(--muted); margin: 0 0 28px; }
.hero-showcase { min-width: 0; display: block; padding: 18px; border: 1px solid var(--line); background: var(--wash); transform: rotate(-2deg); }
.hero-showcase img { width: 100%; height: auto; }
.hero-showcase > span { display: block; margin-top: 12px; font-size: 14px; color: var(--green); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 25px; border: 1px solid var(--green); background: var(--green); color: white; font-size: 16px; line-height: 1.5; }
.button:hover { background: #143e2c; }
.button.secondary { background: white; color: var(--green); }
.button.secondary:hover { background: var(--wash); }
.case-button { margin-top: 18px; min-height: 54px; font-weight: 600; padding: 14px 28px; }
.section { padding: 75px 0; }
.section-head { margin-bottom: 32px; }
.section h2, .contact-section h2 { font-weight: 500; font-size: 32px; line-height: 1.4; margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project-card { min-width: 0; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.project-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; }
.project-card-visual, .project-card-body { min-width: 0; }
.project-card-body { display: flex; flex-direction: column; flex: 1; }
.project-image { display: flex; align-items: center; justify-content: center; height: clamp(240px, 25vw, 320px); }
.project-image img { width: auto; height: auto; max-width: 100%; max-height: 100%; margin-inline: auto; object-fit: contain; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-content: flex-start; gap: 6px 20px; min-height: 52px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.project-card h3 { font-size: 24px; font-weight: 500; min-height: 72px; margin: 8px 0; line-height: 1.5; }
.project-card--text:only-child { display: block; }
.project-card--text .project-meta { margin-top: 0; }
.project-card p { color: var(--muted); margin: 0; }
.project-card .project-image-caption { min-height: 65px; margin-top: 12px; font-size: 13px; line-height: 1.65; }
.project-card .project-card-status { color: var(--green); background: var(--wash); min-height: 60px; padding: 7px 10px; margin: 10px 0; font-size: 13px; line-height: 1.7; }
.project-card .project-card-summary { margin-bottom: 22px; }
.project-card-body > .case-button { margin-top: auto; align-self: flex-start; }
.map-hero { padding: 44px 0 48px; }
.map-hero h1 { margin: 0; font-size: clamp(34px, 3.8vw, 52px); }
.map-hero .eyebrow { margin-bottom: 10px; }
.map-intro { color: var(--muted); margin: 14px 0 30px; }
.hero-education { margin: -14px 0 30px; color: var(--green); font-size: 14px; }
.project-map-root { position: relative; width: fit-content; margin: 0 auto; padding: 9px 32px; background: var(--green); color: white; border-radius: 6px; font-size: 18px; }
.project-map-root::after { content: ''; position: absolute; top: 100%; left: 50%; height: 24px; border-left: 1px solid #91b0a2; }
.project-map-branches { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; padding-top: 24px; }
.project-map-branches::before { content: ''; position: absolute; top: 0; left: calc(25% - 6px); right: calc(25% - 6px); border-top: 1px solid #91b0a2; }
.map-branch { position: relative; min-width: 0; }
.map-branch::before { content: ''; position: absolute; top: -24px; left: 50%; height: 24px; border-left: 1px solid #91b0a2; }
.map-category { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border: 1px solid #a9c4b6; border-radius: 7px; background: #edf4ef; color: var(--green); font-size: 22px; font-weight: 600; }
.map-category small { font-size: 14px; font-weight: 400; white-space: nowrap; }
.map-category:hover { background: #e0ece4; border-color: var(--green); }
.map-projects { list-style: none; padding: 0; margin: 18px 0 0 16px; border-left: 1px solid var(--line); }
.map-projects li { position: relative; padding-left: 14px; margin-top: 10px; }
.map-projects li::before { content: ''; position: absolute; left: 0; top: 26px; width: 14px; border-top: 1px solid var(--line); }
.map-projects a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; font-size: 16px; line-height: 1.6; background: white; }
.map-projects a:hover { border-color: var(--green); color: var(--green); background: var(--wash); }
.map-projects small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.map-projects .map-empty { color: var(--muted); font-size: 14px; padding: 14px 0 14px 14px; }
.project-group { padding: 56px 0 64px; border-top: 2px solid var(--line); scroll-margin-top: 100px; }
.project-group:target { border-top-color: var(--green); }
.project-group--personal { background: #fafcfb; }
.project-group--venture { background: var(--wash); }
.project-group-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-bottom: 28px; }
.project-group-heading h2 { margin: 0; font-size: 32px; line-height: 1.4; font-weight: 500; }
.project-group-heading p { margin: 12px 0 0; max-width: 760px; color: var(--muted); }
.project-group-heading > a { flex-shrink: 0; font-size: 14px; }
.group-empty { padding: 26px; border: 1px dashed #b8c8bf; border-radius: 7px; background: white; }
.group-empty span { font-size: 16px; }
.group-empty p { color: var(--muted); margin: 8px 0 0; }
.venture-journey { display: flex; list-style: none; padding: 0; margin: 0 0 28px; gap: 22px; }
.venture-journey li { position: relative; padding: 10px 16px; border: 1px solid #ccdcd2; border-radius: 5px; background: white; font-size: 14px; }
.venture-journey li + li::before { content: ''; position: absolute; top: 50%; left: -23px; width: 22px; border-top: 1px solid #a6bcb0; }
.tinted { background: var(--wash); border-block: 1px solid var(--line); }
.about-preview { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; }
.about-preview p { margin: 0 0 20px; }
.text-link { display: inline-block; border-bottom: 1px solid var(--green); color: var(--green); }
.page-heading { padding: 65px 0 38px; max-width: 940px; }
.page-heading h1 { margin: 0 0 22px; }
.page-heading > p:last-child { color: var(--muted); max-width: 690px; }
.projects-page-content { padding-bottom: 85px; }
.detail-back { display: inline-block; margin: 0 0 27px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.case-meta { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 35px; padding: 22px 0; margin: 0 0 35px; border-block: 1px solid var(--line); }
.case-meta dt { color: var(--muted); font-size: 14px; }
.case-meta dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.case-shortcuts { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; }
.case-shortcuts a { min-height: 36px; }
.case-highlights { padding: 24px 0 30px; scroll-margin-top: 100px; }
.case-highlights > h2 { margin: 0 0 22px; font-size: 28px; font-weight: 500; line-height: 1.5; }
.case-highlights-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 0; list-style: none; }
.case-highlights-list > li { min-width: 0; padding-top: 14px; border-top: 2px solid #8aaf9c; }
.highlight-number { color: var(--green); font-size: 13px; letter-spacing: .08em; }
.case-highlights-list h3 { margin: 9px 0 12px; font-size: 20px; line-height: 1.5; font-weight: 600; }
.case-highlights-list p { margin: 0 0 14px; color: #4e6057; line-height: 1.8; }
.case-highlights-list a { font-size: 14px; min-height: 32px; }
.case-history { margin-top: 50px; border-block: 1px solid var(--line); }
.case-history > summary { padding: 20px 0; color: var(--green); cursor: pointer; font-size: 18px; }
.case-history[open] { padding-bottom: 25px; }
.case-figure { margin: 32px 0 50px; }
.screenshot-button { display: block; width: fit-content; max-width: 100%; margin-inline: auto; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.screenshot-button img { width: auto; height: auto; max-width: 100%; max-height: min(85vh, 900px); object-fit: contain; }
.case-figure--phone .screenshot-button { max-width: min(100%, 560px); }
.case-figure--phone img { max-height: 850px; }
.case-figure figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.data-disclosure { font-weight: 700; color: var(--ink); }
.case-intro, .case-text, .about-story { max-width: 760px; margin: 0 auto; }
.case-intro { font-size: 19px; padding: 22px 0 12px; }
.case-chapter { margin-top: 45px; }
.case-chapter h2 { font-size: 28px; font-weight: 500; line-height: 1.5; margin: 0 0 22px; }
.case-text p { color: #4e6057; margin: 0 0 20px; }
.case-bottom { text-align: center; padding: 60px 0 80px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 25px; }
.about-story { padding: 5px 0 75px; }
.about-story p { margin: 0 0 25px; }
.education { color: var(--green); }
.education-item { display: inline-block; }
.experience-note { padding: 24px 0; border-block: 1px solid var(--line); }
.contact-section { padding: 48px 0; color: white; background: var(--green); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.contact-section p { margin: 0; color: #d3e1d7; }
.contact-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 15px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid #a9c9b5; overflow-wrap: anywhere; }
.site-footer { padding: 27px 0; font-size: 14px; border-top: 1px solid var(--line); }
.project-empty { padding: 80px 0; }
#image-viewer { width: min(96vw, 1500px); max-height: 95vh; border: 0; padding: 16px; }
#image-viewer::backdrop { background: #10261fd9; }
#image-viewer .image-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
#image-viewer .image-viewer-toolbar a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
#image-viewer .image-viewer-toolbar button { border: 1px solid var(--line); padding: 7px 18px; background: white; }
#image-viewer img { width: auto; max-width: 100%; max-height: 72vh; height: auto; object-fit: contain; margin-inline: auto; }
#image-viewer p { font-size: 14px; margin: 10px 0 0; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 35px; }
  .main-nav { gap: 20px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 72px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 71px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; background: white; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 9px 12px; }
  .hero { padding: 42px 0 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .hero h1 { font-size: clamp(34px, 8vw, 48px); }
  .hero-showcase { transform: none; padding: 12px; }
  .section { padding: 50px 0; }
  .section h2, .contact-section h2 { font-size: 27px; }
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 45px; }
  .project-card, .project-card:nth-child(n) { grid-column: 1 / -1; display: block; padding: 16px; }
  .project-image { height: auto; }
  .project-image img { max-height: 360px; }
  .project-card .project-image-caption, .project-card .project-card-status, .project-meta, .project-card h3 { min-height: 0; }
  .project-card-body > .case-button { align-self: stretch; }
  .map-hero { padding: 30px 0 36px; }
  .map-hero h1 { font-size: clamp(30px, 7.5vw, 42px); }
  .map-intro { font-size: 16px; margin-bottom: 24px; }
  .project-map-root { margin-left: 0; padding: 7px 20px; font-size: 16px; }
  .project-map-root::after { left: 18px; }
  .project-map-branches { grid-template-columns: minmax(0, 1fr); margin-top: 24px; padding-top: 0; gap: 22px; }
  .project-map-branches::before { left: 18px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px solid #91b0a2; }
  .map-branch { margin-left: 42px; }
  .map-branch::before { left: -24px; top: 29px; height: 0; width: 24px; border-left: 0; border-top: 1px solid #91b0a2; }
  .map-category { font-size: 20px; padding: 12px 16px; }
  .map-projects { margin-top: 10px; margin-left: 10px; }
  .map-projects a { align-items: flex-start; flex-direction: column; gap: 2px; padding: 10px 12px; }
  .project-group { padding: 36px 0 42px; scroll-margin-top: 85px; }
  .project-group-heading { gap: 16px; margin-bottom: 22px; }
  .project-group-heading h2 { font-size: 27px; }
  .project-group-heading > a { font-size: 13px; }
  .venture-journey { flex-direction: column; gap: 12px; }
  .venture-journey li + li::before { left: 20px; top: -13px; height: 12px; width: 0; border-top: 0; border-left: 1px solid #a6bcb0; }
  .case-button { width: 100%; }
  .project-card h3 { font-size: 22px; }
  .about-preview, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .page-heading { padding: 40px 0 25px; }
  .page-heading h1 { font-size: 36px; }
  .case-meta { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .case-highlights { padding: 8px 0 24px; }
  .case-highlights > h2 { font-size: 25px; }
  .case-highlights-list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .case-highlights-list h3 { font-size: 19px; }
  .case-shortcuts { gap: 10px 20px; }
  .case-intro { font-size: 17px; }
  .case-chapter h2 { font-size: 24px; }
  .case-figure { margin: 25px 0 35px; }
  .contact-section { padding: 38px 0; }
  .footer-grid { flex-wrap: wrap; }
}
@media (max-width: 350px) { .wrap { width: calc(100% - 30px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Real operating screenshots: no device mockups or decorative image frames. */
.evidence-jump { margin-top: 22px; }
.evidence-case { margin-top: 70px; }
.evidence-heading { max-width: 800px; margin-bottom: 28px; }
.evidence-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.5; font-weight: 500; }
.evidence-heading > p:last-child { color: var(--muted); }
.evidence-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; position: sticky; top: 87px; z-index: 20; padding: 15px 0; background: #fffffffa; border-block: 1px solid var(--line); }
.evidence-nav a { padding: 4px 0; color: var(--green); font-weight: 600; border-bottom: 2px solid transparent; }
.evidence-nav a:hover, .evidence-nav a:focus-visible { border-bottom-color: var(--green); }
.evidence-group { margin: 55px 0 70px; scroll-margin-top: 175px; }
.evidence-group > header { max-width: 850px; }
.evidence-kicker { color: var(--green); font-size: 14px; margin-bottom: 6px; }
.evidence-group h3 { font-size: 28px; font-weight: 500; margin: 0 0 14px; line-height: 1.5; }
.evidence-group header > p:last-child { color: var(--muted); }
.evidence-note { padding: 16px 20px; border-left: 3px solid var(--green); background: var(--wash); line-height: 1.85; }
.evidence-hint { font-size: 14px; color: var(--muted); }
.evidence-grid { display: grid; gap: 34px 28px; align-items: start; }
.evidence-grid--phone { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.evidence-grid--wide { grid-template-columns: minmax(0, 1fr); }
.evidence-card { min-width: 0; margin: 0; scroll-margin-top: 170px; }
.evidence-frame { display: flex; align-items: flex-start; justify-content: center; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.evidence-frame--phone { height: 540px; }
.evidence-frame--phone img { max-height: 540px; width: auto; height: auto; max-width: 100%; }
.evidence-frame--wide { max-height: none; overflow: visible; }
.evidence-frame--wide img { width: 100%; height: auto; }
.evidence-card h4 { font-size: 18px; font-weight: 600; line-height: 1.6; margin: 18px 0 8px; }
.evidence-card figcaption p { font-size: 16px; color: #53675d; margin: 0; line-height: 1.8; }
.evidence-zoom { display: inline-block; margin-top: 9px; font-size: 14px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.evidence-more { margin-top: 34px; border-block: 1px solid var(--line); }
.evidence-more > summary { cursor: pointer; padding: 17px 2px; font-size: 16px; color: var(--green); }
.evidence-more[open] > summary { margin-bottom: 18px; }
.evidence-more[open] { padding-bottom: 30px; }
#image-viewer { overflow: auto; overscroll-behavior: contain; }
#image-viewer .image-viewer-toolbar { position: sticky; top: -16px; z-index: 2; padding: 12px 0; background: white; }
#image-viewer img { max-height: none; max-width: 100%; width: auto; height: auto; }
#image-viewer[data-layout="phone"] img { max-width: min(100%, 650px); }
#image-viewer[data-layout="phone"] { width: fit-content; max-width: min(96vw, 700px); }
.image-viewer-canvas { overflow: auto; max-height: 72vh; overscroll-behavior: contain; }
.image-viewer-canvas:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
#image-viewer .image-viewer-toolbar { flex-wrap: wrap; }
#image-viewer .image-viewer-toolbar a, #image-viewer .image-viewer-toolbar button { min-height: 44px; display: inline-flex; align-items: center; }
#image-viewer .image-viewer-toolbar button:last-child { margin-left: auto; }
#image-viewer[data-zoomed="true"] .image-viewer-canvas img { max-width: none; width: auto; margin-inline: 0; }
#image-viewer .image-viewer-hint { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .evidence-case { margin-top: 45px; }
  .evidence-nav { top: 71px; gap: 4px 18px; font-size: 14px; }
  .evidence-group { scroll-margin-top: 190px; margin: 38px 0 48px; }
  .evidence-group h3 { font-size: 24px; }
  .evidence-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 3px 3px 18px; gap: 20px; }
  .evidence-card { scroll-snap-align: start; }
  .evidence-frame--phone { height: 510px; }
  .evidence-frame--phone img { max-height: 510px; }
  .evidence-grid--wide { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); overflow: visible; scroll-snap-type: none; padding: 0; gap: 36px; }
  .evidence-grid--wide .evidence-card { scroll-snap-align: none; }
  .evidence-frame--wide { max-height: none; }
  .evidence-note { padding: 12px 15px; font-size: 15px; }
  #image-viewer { width: 96vw; padding: 12px; }
  #image-viewer .image-viewer-toolbar { top: -12px; }
  #image-viewer .image-viewer-toolbar { gap: 8px; }
  #image-viewer .image-viewer-toolbar button { padding-inline: 10px; }
  .image-viewer-canvas { max-height: 55vh; }
}
