/* Quiet exhibition chrome; artwork remains the dominant visual material. */
:root {
  --portfolio-header-height: 68px;
}
:root{--exhibition-line:#252529;--exhibition-muted:#92929c;--exhibition-ink:#ededea}
html{scroll-padding-top:112px}body{background:#000;color:var(--exhibition-ink)}
.header{height:84px;padding-inline:5%;background:#070707;border-bottom:1px solid #232326;gap:32px}.header nav{gap:29px;font-size:12px}.identity>b{font-size:30px;letter-spacing:-.04em}.identity>span{font-size:13px;letter-spacing:.08em}.identity small{font-size:10px;letter-spacing:.08em;color:#92929a}.header nav>a{color:#9999a2;transition:color .18s ease}.header nav>a:hover,.header .nav-work{color:#ededeb}.header .nav-work:after{height:1px;width:16px;left:calc(50% - 8px);background:#ff5749}.header nav .interview-link{border:1px solid #454549;border-radius:0;padding:11px 17px;gap:22px;color:#e4e4e1;font-size:11px}.header nav .interview-link:hover{border-color:#ff5749;color:#fff}
.archive.section{padding-top:74px;padding-bottom:82px;scroll-margin-top:84px}.archive .editorial-section-title{margin-bottom:28px;padding-bottom:31px;border-color:#2a2a2d;align-items:flex-end}.archive .editorial-heading{padding-top:33px}.archive .editorial-heading>span{font-size:clamp(50px,6.4vw,94px);color:#252528;letter-spacing:-.035em;line-height:1}.archive .editorial-heading h2,.section-title .editorial-heading h2{font-size:36px;line-height:1.3;font-weight:450;letter-spacing:-.025em;color:#eee}.works-overview{font-size:11px;color:#9898a1}.works-overview summary{padding:8px 0;cursor:pointer}.works-overview p{font-size:11px;line-height:1.9;color:#8e8e98;max-width:45ch}.works-overview strong{color:#e5e5e3}
.directions-console{padding:0 0 28px}.direction-workspace{display:block}.directions-console .direction-grid{gap:20px;padding:0 0 5px;scrollbar-width:none}.direction-grid::-webkit-scrollbar{height:0}.directions-console .direction-card{flex:0 0 calc((100% - 40px)/3);min-width:235px;background:#080809;border:0;transition:background .2s}.directions-console .direction-card:hover{background:#101012}.directions-console .direction-card>div{aspect-ratio:2.2;overflow:hidden}.directions-console .direction-card img{width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.7,.2,1)}.directions-console .direction-card:hover img{transform:scale(1.025)}.directions-console .direction-card section{padding:17px 18px 19px}.directions-console .direction-card h3{font-size:18px;line-height:1.5;font-weight:450;letter-spacing:-.02em;color:#e7e7e4}.directions-console .direction-card h3 svg{width:15px;height:15px;color:#91919a}.directions-console .direction-card p{font-size:12px;line-height:1.9;color:#8d8d98;margin-top:8px}.directions-console .direction-card section>span{font-size:10px;line-height:1.8;color:#64646e;margin-top:7px;display:block}
.direction-workspace .direction-console{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:18px;min-height:45px;padding:12px 0 0;border:0}.direction-console-head,.direction-workspace .direction-console img,.direction-workspace .direction-options,.direction-workspace .direction-console label{display:none}.direction-workspace .direction-controls{display:flex;align-items:center;gap:12px;margin:0;order:1}.direction-controls button{width:28px;height:28px;border-color:#38383d;border-radius:50%;color:#adadb5}.direction-controls svg{width:13px;height:13px}.direction-controls output{font-size:10px;min-width:45px;text-align:center;color:#777782}.direction-workspace .direction-console input{width:138px;margin:0;height:2px;accent-color:#c6554b}
.archive-sidebar{display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:1px solid var(--exhibition-line);border-bottom:1px solid var(--exhibition-line);padding:11px 0;margin-bottom:23px}.filter-options{min-width:0;flex:1}.filter-options #filters{display:flex;flex-wrap:wrap;gap:5px 23px;margin:0}#filters .filter:nth-child(n){display:flex}.filter-title{display:none}.filter{color:#8f8f9b;font-size:12px;padding:10px 0;min-height:39px;gap:7px}.filter small{font-size:9px;color:#64646e;line-height:1.5}.filter.selected{color:#e9e9e6}.filter.selected small{color:#bdbdc5}.filter.selected:after{height:1px;background:#ff5749;width:100%;bottom:2px}.filter.selected:before{display:none}.original-link{font-size:10px;color:#8f8f99;min-width:100px}.original-link>span{font-size:8px;color:#5f5f6a;letter-spacing:.06em}
.archive-toolbar{gap:20px;padding:0 0 20px;margin-bottom:29px;border-bottom:1px solid #202023}.search-label{max-width:340px;flex:1}.search-label input{font-size:12px;padding:9px 0;background:transparent;color:#d7d7d9;border:0;border-bottom:1px solid #333338;border-radius:0;width:100%}.search-label input::placeholder{color:#62626e}.workflow-index-entry{font-size:11px;color:#cc7066;gap:12px}.stage-entry{font-size:11px;color:#868692}.view-controls{gap:16px;border:0;background:none;padding:0}.view-button{font-size:11px;color:#676773;background:none;border:0;padding:8px 0}.view-button.active{color:#e1e1df;background:none;border:0}.view-button.active:after{content:none}#resultCount{font-size:10px;color:#676774;white-space:nowrap;font-variant-numeric:tabular-nums}
.gallery{column-gap:26px}.gallery-column{gap:37px}.project-card{padding:0;text-align:left}.project-card .card-cover{background:#0d0d10;border-radius:2px;overflow:hidden}.project-card .card-cover img{display:block;width:100%;height:auto;object-fit:contain;filter:none}.project-card .card-open{opacity:0;transition:opacity .2s;right:13px;bottom:13px;background:#101012c9;border:1px solid #8c8c934d;border-radius:50%;width:31px;height:31px}.project-card:hover .card-open,.project-card:focus-visible .card-open{opacity:1}.card-title{margin:15px 0 0;font-size:14px;line-height:1.75;font-weight:400;letter-spacing:-.01em;color:#d8d8d7}.project-card:hover .card-title{color:#fff}.card-meta{margin-top:4px;font-size:10px;line-height:1.8;color:#757580}.card-meta>span:first-child{display:none}.workflow-card-flow{font-size:10px;line-height:1.9;color:#747480;margin-top:9px}.workflow-project-card:hover .workflow-card-flow{color:#aaaab4}.archive-note{font-size:11px;color:#64646f;line-height:1.9;border-top:1px solid #242428;padding-top:25px;margin-top:36px}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:1px solid #d77970;outline-offset:5px}::selection{background:#4e2925;color:#fff}
@media(min-width:1800px){.gallery{column-gap:30px}.gallery-column{gap:42px}.card-title{font-size:15px}.archive .editorial-heading h2{font-size:40px}}
@media(max-width:1100px){.header{height:76px;padding-inline:4%;gap:20px}.header nav{gap:20px;font-size:11px}.archive.section{padding-top:55px}.directions-console .direction-card{flex-basis:calc((100% - 20px)/2)}.filter-options #filters{gap:3px 18px}.archive-sidebar{align-items:flex-start}.original-link{padding-top:11px}.archive-toolbar{gap:15px}.gallery{column-gap:22px}.gallery-column{gap:31px}.card-title{font-size:13px}}
@media(max-width:767px){html{scroll-padding-top:83px}.header{height:65px;padding-inline:5%;gap:14px}.header nav{gap:16px;font-size:10px}.identity>b{font-size:25px}.identity>span{font-size:11px;letter-spacing:.04em}.identity small{font-size:8px}.header nav .interview-link{padding:8px 10px;font-size:10px;gap:8px}.archive.section{padding-top:43px;padding-bottom:50px;scroll-margin-top:65px}.archive .editorial-section-title{padding-bottom:22px;margin-bottom:22px;display:flex;align-items:flex-end;gap:18px}.archive .editorial-heading{padding-top:25px}.archive .editorial-heading>span{font-size:clamp(33px,9vw,60px)}.archive .editorial-heading h2,.section-title .editorial-heading h2{font-size:27px;letter-spacing:-.02em}.works-overview{font-size:10px;flex-shrink:0}.works-overview p{position:absolute;right:5%;background:#121214;border:1px solid #343438;padding:12px;width:230px;z-index:4}.directions-console{padding-bottom:20px}.directions-console .direction-grid{gap:14px}.directions-console .direction-card{flex-basis:83%;min-width:0}.directions-console .direction-card>div{aspect-ratio:2.1}.directions-console .direction-card section{padding:14px 16px 16px}.directions-console .direction-card h3{font-size:17px}.directions-console .direction-card p{font-size:11px;line-height:1.8;margin-top:7px}.directions-console .direction-card section>span{font-size:9px}.direction-workspace .direction-console{display:flex;justify-content:space-between;padding:11px 0 0;min-height:41px}.direction-workspace .direction-console input{width:100px}.direction-workspace .direction-controls{gap:10px}.archive-sidebar{display:block;padding:9px 0 12px;margin-bottom:20px}.filter-options #filters{gap:0 17px;flex-wrap:wrap}.filter{font-size:11px;padding:9px 0;min-height:37px}.filter small{font-size:8px}.archive-sidebar .original-link{display:none}.archive-toolbar{gap:13px;padding-bottom:18px;margin-bottom:23px}.archive-toolbar .search-label{flex:1 1 100%;max-width:none}.workflow-index-entry,.stage-entry,.view-button{font-size:10px}.view-controls{gap:13px}.archive-toolbar #resultCount{font-size:9px;margin-left:auto}.gallery{column-gap:14px}.gallery-column{gap:27px}.card-title{font-size:12px;line-height:1.8;margin-top:12px}.card-meta{font-size:9px;line-height:1.7}.workflow-card-flow{font-size:9px;line-height:1.9;margin-top:7px}.archive-note{font-size:10px;padding-top:21px;margin-top:27px}}
@media(prefers-reduced-motion:reduce){.directions-console .direction-card img{transition:none;transform:none!important}.header nav>a,.project-card .card-open{transition:none}}

/* Keep proposal and review work directly accessible in the category bar. */
#filters .filter[data-category="设计提案复盘"]{display:flex;white-space:nowrap}


/* About: personal strengths */
.profile-strengths-section { margin-block: clamp(40px, 6vw, 76px); }
.profile-strengths-section > h3 {
  margin: 0 0 18px; color: #ff5749; font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500; letter-spacing: .06em;
}
.profile-strengths-section .profile-strengths {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px; margin: 0; padding: 20px 0 0; border: 0;
  border-top: 1px solid #2d2d2d; overflow: visible;
}
.profile-strengths-section .profile-strengths p {
  margin: 0; padding: 0; border: 0; min-width: 0; color: #a7a7ae; line-height: 1.75;
}
.profile-strengths-section .profile-strengths strong {
  display: block; margin-bottom: 7px; color: #eee; font-size: 1.125rem; font-weight: 600;
}
@media (max-width: 900px) {
  .profile-strengths-section .profile-strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .profile-strengths-section .profile-strengths { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Keep navigation at the scale of its controls and give the works index one scroll offset. */
html {
  scroll-padding-top: calc(var(--portfolio-header-height) + 14px);
}

.header {
  height: var(--portfolio-header-height);
  gap: 22px;
}

.header > nav[aria-label] {
  gap: clamp(14px, 1.9vw, 26px);
}

.header > nav > a {
  padding-block: 10px;
}

.header nav .interview-link {
  padding: 8px 13px;
  gap: 11px;
}

.identity > b {
  font-size: 27px;
}

.header .nav-work::after {
  bottom: 3px;
}

.archive.section {
  scroll-margin-top: 0;
  padding-top: clamp(25px, 2.9vw, 43px);
}

.archive .editorial-section-title {
  margin-bottom: 21px;
  padding-bottom: 22px;
}

@media (min-width: 768px) {
  .archive .editorial-section-title {
    position: relative;
    display: block;
  }

  .archive .editorial-heading {
    min-height: 86px;
    margin-bottom: 0;
    padding-top: 23px;
  }

  .archive .editorial-heading > span {
    font-size: clamp(52px, 5.4vw, 82px);
  }

  #works .works-overview {
    position: absolute;
    inset: auto 0 20px auto;
  }

  #works .works-overview > p {
    position: absolute;
    z-index: 4;
    top: 100%;
    right: 0;
    width: 265px;
    margin: 0;
    padding: 12px;
    background: #121214;
    border: 1px solid #343438;
    text-align: left;
  }
}

@media (max-width: 767px) {
  :root {
    --portfolio-header-height: 58px;
  }

  .header {
    gap: 10px;
  }

  .header > nav[aria-label] {
    gap: clamp(8px, 2.5vw, 14px);
  }

  .header nav .interview-link {
    gap: 7px;
    padding: 7px 9px;
  }

  .identity > b {
    font-size: 24px;
  }
}

@media (max-width: 350px) {
  .header > nav[aria-label] {
    gap: 7px;
  }

  .header nav .interview-link {
    padding-inline: 7px;
  }
}

/* The image viewer scales relative to the fitted artwork, including portrait work. */
#lightbox {
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: #080809;
}

#lightbox[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: stretch;
  justify-content: stretch;
}

#lightbox .lightbox-bar {
  position: static;
  min-height: 52px;
  min-width: 0;
  padding: 0 clamp(14px, 4vw, 42px);
  gap: 12px;
  border-bottom: 1px solid var(--exhibition-line);
  background: #0b0b0c;
}

#lightboxCount {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#closeLightbox {
  flex: 0 0 auto;
  min-height: 40px;
  font-size: 13px;
}

.lightbox-viewport {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.lightbox-canvas {
  display: grid;
  place-items: center;
  width: max-content;
  height: max-content;
  min-width: 100%;
  min-height: 100%;
  padding: clamp(10px, 2.8vw, 36px);
}

#lightbox #lightboxImage {
  display: block;
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0;
  cursor: zoom-in;
  user-select: none;
}

#lightbox .is-zoomed #lightboxImage {
  cursor: grab;
}

#lightbox .is-panning #lightboxImage {
  cursor: grabbing;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 4vw, 44px);
  min-height: 60px;
  padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--exhibition-line);
  background: #0b0b0c;
}

.lightbox-zoom {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--exhibition-line);
  border-radius: 4px;
}

.lightbox-controls button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--exhibition-ink);
  font-size: 13px;
}

.lightbox-controls > button {
  border: 1px solid var(--exhibition-line);
  border-radius: 4px;
}

.lightbox-controls #fitImage {
  min-width: 70px;
  border-inline: 1px solid var(--exhibition-line);
  font-variant-numeric: tabular-nums;
}

.lightbox-controls button:hover:not(:disabled) {
  color: var(--accent);
}

.lightbox-controls button:disabled {
  opacity: .36;
}

.lightbox-controls svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 767px) {
  #lightbox .lightbox-bar {
    min-height: 48px;
  }

  .lightbox-controls {
    min-height: 56px;
  }
}
