:root {
  --maincolor: #d9d9d9;
  --nothing: #e1e1e100;
  --motion-page-duration: 300ms;
  --motion-page-easing: cubic-bezier(.25, .1, .25, 1);
  --shadow-nav-inset-offset-dark: .0625rem;
  --shadow-nav-inset-blur: .3125rem;
  --shadow-nav-inset-offset-light: -.0625rem;
  --_button---white: white;
  /* Glass circular buttons (card action icons / mini-card jump icons)
   * share one responsive size: follows the viewport height, clamped to a
   * readable range on every screen. */
  --glass-btn-size: clamp(2.75rem, 5vh, 3.5rem);
  /* Adaptive navbar: the circular control and the rail width derive from
   * this size so icons never get squeezed out when the viewport shrinks.
   * vmin makes it respond to both window width and height changes.
   * responsive.css overrides it per device (desktop / tablet / phone). */
  --nav-control-size: clamp(2.5rem, 6vmin, 3.75rem);
  --nav-bar-pad-x: .625rem;
  --nav-bar-pad-y: .9375rem;
}

/* Native project pages: YolkWave, Thyself, Spotify Motion Visual, and the
 * continuous Fault Reclamation Protocol presentation. */
.case-study--product.case-study--yolkwave {
  --project-accent: #f3b300;
  --project-accent-soft: #ffe099;
  --project-hero: #edaa00;
  --project-hero-text: #171717;
  --project-panel: #fffbf0;
  --project-ink: #241c0b;
  --hey-cili-accent: var(--project-accent-soft);
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/yolkwave/board-04.webp");
  --project-hero-image-position: 50% 50%;
}

.case-study--yolkwave .project-hero__copy {
  background-color: #f0ad00bf;
}

.case-study--yolkwave .project-hero__copy:after {
  background-color: #f0ad00a3;
}

.case-study--yolkwave .project-hero__media img {
  object-position: 50% 50%;
}

.case-study--thyself {
  --project-hero: #151515;
  --project-hero-text: #fff;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/thyself/welcome.webp");
  --project-hero-image-position: 50% 50%;
  --hey-cili-accent: #d9ff49;
  box-sizing: border-box;
  max-width: min(1080px, 100%);
  padding-bottom: 14vh;
}

.case-study--thyself *,
.case-study--thyself *:before,
.case-study--thyself *:after {
  box-sizing: border-box;
}

.case-study--thyself .project-hero__copy {
  background-color: #151515d9;
}

.case-study--thyself .project-hero__copy:after {
  background-color: #151515b8;
}

.case-study--thyself .project-hero__media img {
  object-position: 50% 50%;
}

.thyself-manifesto {
  color: #f6f6f1;
  background: #171717;
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: minmax(0, 1.55fr) minmax(14rem, .45fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  overflow: hidden;
}

.thyself-manifesto > p {
  margin: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .94;
}

.thyself-manifesto > p span,
.thyself-manifesto > p em {
  color: #d9ff49;
  font-style: normal;
}

.thyself-manifesto > div {
  border-top: 1px solid #ffffff52;
  padding-top: 1.25rem;
}

.thyself-manifesto > div span {
  color: #d9ff49;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .14em;
}

.thyself-manifesto > div p {
  color: #ffffffb8;
  margin: 1rem 0 0;
  font-size: .92rem;
  line-height: 1.6;
}

.thyself-tour-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  display: grid;
}

.thyself-tour-card {
  background: #f7f6f2;
  border: 1px solid #171717;
  border-radius: 1.5rem;
  corner-shape: squircle;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.thyself-tour-card > span {
  color: #555;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.thyself-tour-card h3 {
  color: #171717;
  margin: 1.5rem 0 .7rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.08;
}

.thyself-tour-card > p {
  color: #535353;
  margin: 0;
  line-height: 1.58;
}

.thyself-mini {
  background: #eceae4;
  border: 1px solid #171717;
  border-radius: .85rem;
  corner-shape: squircle;
  min-height: 12rem;
  margin-top: 1.2rem;
  padding: 1rem;
  overflow: hidden;
}

.thyself-mini__bar {
  border-bottom: 1px solid #171717;
  justify-content: space-between;
  padding-bottom: .6rem;
  font-family: Georgia, serif;
  display: flex;
}

.thyself-mini--stream i {
  background: linear-gradient(90deg, #1f8a5b 0 20%, #fff 20% 100%);
  border: 1px solid #171717;
  border-radius: .45rem;
  corner-shape: squircle;
  height: 2.3rem;
  margin-top: .65rem;
  display: block;
}

.thyself-mini--capsule {
  justify-content: center;
  align-items: center;
  gap: 1rem;
  display: flex;
}

.thyself-mini--capsule > b {
  font-size: 2.5rem;
  font-weight: 300;
}

.thyself-mini--capsule > div {
  background: #fff;
  border: 1px solid #171717;
  border-radius: .6rem;
  corner-shape: squircle;
  width: 9rem;
  padding: 1rem;
}

.thyself-mini--capsule i {
  background: #171717;
  width: 100%;
  height: 4px;
  margin: .4rem 0;
  display: block;
}

.thyself-mini--capsule small {
  border-top: 1px solid #aaa;
  margin-top: .75rem;
  padding-top: .6rem;
  font-family: Georgia, serif;
  font-style: italic;
  display: block;
}

.thyself-mini--friends > div {
  color: #777;
  background: #fff;
  border: 1px solid #171717;
  border-radius: 999px;
padding: .65rem 1rem;
}

.thyself-mini--friends p {
  border-bottom: 1px solid #bbb;
  grid-template-columns: 2rem 1fr auto;
  gap: .65rem;
  align-items: center;
  margin: 0;
  padding: .85rem 0;
  display: grid;
}

.thyself-mini--friends p i {
  background: #1f8a5b;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
}

.thyself-mini--friends p:nth-child(3) i {
  background: #b0521e;
}

.thyself-mini--friends p span {
  background: #999;
  width: 70%;
  height: 4px;
}

.thyself-mini--friends p b {
  border: 1px solid #171717;
  border-radius: 999px;
padding: .35rem .55rem;
  font-size: .65rem;
}

.thyself-mini--profile {
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  align-content: center;
  display: grid;
}

.thyself-mini--profile > strong {
  background: #171717;
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  font: italic 2rem Georgia, serif;
  display: flex;
}

.thyself-mini--profile > div {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.thyself-mini--profile > div span {
  color: #777;
}

.thyself-mini--profile small {
  border: 1px solid #171717;
  grid-column: 1 / -1;
  padding: .55rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  letter-spacing: .08em;
  text-align: center;
}

.thyself-data-note {
  background: #fff;
  border: 2px solid #171717;
  grid-template-columns: minmax(14rem, .7fr) minmax(0, 1.3fr);
  gap: 2rem;
  margin: 3rem 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
}

.thyself-data-note > span {
  color: #171717;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.thyself-data-note p {
  margin: 0 0 1rem;
  line-height: 1.62;
}

.thyself-end {
  background: #171717;
}

.spotify-case,
.spotify-case * {
  box-sizing: border-box;
}

.spotify-case {
  color: #111;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 6vh 2vw 14vh;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
}

.spotify-cover {
  background: #fff;
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 45rem;
  box-shadow: var(--shadow-overlay);
  display: grid;
  position: relative;
  overflow: hidden;
}

.spotify-cover:after {
  content: "";
  background: #1ed760;
  width: .55rem;
  position: absolute;
  inset: 0 0 68% auto;
}

.spotify-cover__visual {
  background: #111;
  min-width: 0;
  overflow: hidden;
}

.spotify-cover__visual img {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: 100%;
  display: block;
}

.spotify-cover__copy {
  flex-direction: column;
  min-width: 0;
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  position: relative;
}

.spotify-cover__eyebrow,
.spotify-section__copy > p,
.spotify-board-section > div > p {
  color: #555;
  margin: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.2;
}

.spotify-cover__mark {
  width: 8rem;
  height: 4rem;
  margin: clamp(2rem, 6vh, 4rem) 0 1.5rem;
  overflow: hidden;
}

.spotify-cover__mark img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.spotify-cover h1 {
  color: #050505;
  margin: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(4rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.spotify-cover h1 span {
  color: transparent;
  margin-left: -.25em;
  -webkit-text-stroke: 1px #111;
}

.spotify-cover__tools {
  margin: 1.4rem 0 0;
  font-family: monospace;
  font-size: .78rem;
  letter-spacing: .03em;
}

.spotify-cover__link {
  color: #0b1d12;
  background: linear-gradient(90deg, #1ed760, #b8f5d8);
  justify-content: space-between;
  gap: 1rem;
  margin: 2.4rem -4rem 0;
  padding: 1rem 4rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .78rem;
  text-decoration: none;
  display: flex;
}

.spotify-cover__lede {
  color: #333;
  margin: 2rem 0 0;
  font-size: 1rem;
  line-height: 1.62;
}

.spotify-cover__thumbs {
  grid-template-columns: .68fr 1.32fr;
  gap: .8rem;
  align-items: end;
  margin-top: auto;
  padding-top: 2rem;
  display: grid;
}

.spotify-cover__thumbs img {
  background: #aaa;
  object-fit: contain;
  width: 100%;
  max-height: 9rem;
  display: block;
}

.spotify-section {
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: minmax(15rem, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3vh;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  overflow: hidden;
}

.spotify-section--dark {
  color: #f4f4f4;
  background: #111;
}

.spotify-section--dark .spotify-section__copy > p {
  color: #1ed760;
}

.spotify-section__copy h2,
.spotify-board-section h2 {
  color: inherit;
  margin: 1.5rem 0 2rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500;
  overflow-wrap: normal;
  hyphens: none;
  letter-spacing: -.05em;
  line-height: .98;
}

.spotify-section__copy > div p {
  color: inherit;
  opacity: .72;
  margin: 0 0 1rem;
  line-height: 1.62;
}

.spotify-section__media {
  background: #a6a6a6;
  border-radius: 1rem;
  corner-shape: squircle;
  margin: 0;
  padding: 1rem;
}

.spotify-section__media img {
  object-fit: contain;
  width: 100%;
  height: auto;
  display: block;
}

.spotify-section__media figcaption,
.spotify-board-section figcaption {
  color: #ffffff8f;
  margin-top: .8rem;
  font-size: .72rem;
}

.spotify-section--light {
  background: #fff;
  border-right: .55rem solid #1ed760;
}

.spotify-palette {
  align-self: center;
  margin: 0;
}

.spotify-palette img {
  background: #aaa;
  object-fit: contain;
  width: 100%;
  max-height: 29rem;
  display: block;
}

.spotify-palette > div {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 1rem;
  display: grid;
}

.spotify-palette span {
  color: #fff;
  background: var(--swatch);
  padding: .8rem .3rem;
  font: 600 .58rem Exo, sans-serif;
  text-align: center;
}

.spotify-board-section {
  background: linear-gradient(135deg, #fff 0 62%, #1ed760 100%);
  border-radius: 2rem;
  corner-shape: squircle;
  margin-top: 3vh;
  padding: clamp(2rem, 5vw, 4rem);
}

.spotify-board-section > div {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.spotify-board-section > div a {
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: .2rem;
  text-decoration: none;
}

.spotify-board-section figure {
  background: #fff;
  border-radius: 1rem;
  corner-shape: squircle;
  margin: 0;
  padding: .7rem;
  box-shadow: var(--shadow-overlay);
}

.spotify-board-section img {
  width: 100%;
  display: block;
}

.spotify-board-section figcaption {
  color: #555;
}

.portfolio-detail-layout.fault-layout {
  background: #242625;
}

.fault-scroll-inner {
  box-sizing: border-box;
  padding-bottom: 6vh;
}

.fault-strip,
.fault-strip * {
  box-sizing: border-box;
}

.fault-strip {
  width: min(100%, 80rem);
  margin: 0 auto;
  padding: 3vh 0 8vh;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
}

.fault-strip__toolbar {
  color: #f4f4f4;
  background: #171817;
  border: 1px solid #ffffff24;
  border-radius: 1.1rem 1.1rem 0 0;
  corner-shape: squircle;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.25rem;
  display: flex;
}

.fault-strip__toolbar > div {
  align-items: baseline;
  gap: .8rem;
  display: flex;
}

.fault-strip__toolbar span {
  color: #ffffff73;
  font: 600 .62rem Exo, sans-serif;
  letter-spacing: .14em;
}

.fault-strip__toolbar strong {
  font-size: 1rem;
}

.fault-strip__toolbar nav {
  gap: .5rem;
  display: flex;
}

.fault-strip__toolbar a,
.fault-strip__end a {
  color: #f4f4f4;
  background: #ffffff12;
  border: 1px solid #ffffff2b;
  border-radius: 999px;
padding: .55rem .8rem;
  font-size: .72rem;
  text-decoration: none;
}

.fault-strip__boards {
  background: #3d3f3e;
  line-height: 0;
}

.fault-strip__boards figure {
  width: 100%;
  margin: 0;
}

.fault-strip__boards img {
  width: 100%;
  height: auto;
  display: block;
}

.fault-strip__end {
  color: #fff;
  background: #171817;
  border-radius: 0 0 1.1rem 1.1rem;
  corner-shape: squircle;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  display: flex;
}

.fault-strip__end span {
  color: #ffffff73;
  font: 600 .65rem Exo, sans-serif;
  letter-spacing: .14em;
}

@media (max-width: 767px) {
  .case-study--thyself {
    padding-bottom: 20vh;
  }

  .thyself-manifesto,
  .thyself-data-note,
  .thyself-tour-grid {
    grid-template-columns: 1fr;
  }

  .thyself-manifesto {
    border-radius: 1.5rem;
  corner-shape: squircle;
  }

  .spotify-case {
    padding-bottom: 20vh;
  }

  .spotify-cover,
  .spotify-section {
    border-radius: 1.5rem;
  corner-shape: squircle;
    grid-template-columns: 1fr;
  }

  .spotify-cover__visual {
    min-height: 30rem;
  }

  .spotify-cover__copy {
    padding: 2rem;
  }

  .spotify-cover__link {
    margin-right: -2rem;
    margin-left: -2rem;
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .spotify-section {
    gap: 1rem;
    padding: 2rem;
  }

  .spotify-board-section {
    border-radius: 1.5rem;
  corner-shape: squircle;
    padding: 2rem;
  }

  .spotify-palette > div {
    grid-template-columns: 1fr;
  }

  .fault-strip {
    padding-top: 1rem;
  }

  .fault-strip__toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: .8rem;
  }

  .fault-strip__toolbar > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .fault-strip__end {
    align-items: flex-start;
    flex-direction: column;
  }
}







.site-nav__icon {
  grid-column-gap: 10px;
  border-radius: 100px;
justify-content: center;
  align-items: center;
  width: var(--nav-control-size, 3.75rem);
  height: var(--nav-control-size, 3.75rem);
  padding: 0;
  text-decoration: none;
  display: flex;
}

/* Icons follow the control size; 62% keeps the glyph readable at every
 * breakpoint and prevents collapsed sizing when an SVG has no intrinsic
 * dimensions. */
.site-nav__icon img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

/* 详情页返回箭头（11:23 细长图标）在圆形按钮内保持比例 */
.site-nav__link--back .site-nav__icon img {
  width: auto;
  height: 54%;
}

.site-nav__about-button {
  grid-column-gap: 10px;
  background-color: #0000001a;
  border-radius: 100px;
justify-content: center;
  align-items: center;
  width: auto;
  min-width: var(--nav-control-size, 3.75rem);
  min-height: var(--nav-control-size, 3.75rem);
  padding: .625rem;
  text-decoration: none;
  display: flex;
}

.site-nav__about-button.site-nav__about-button--home {
  padding-left: 0;
  padding-right: 0;
}

.site-nav__about-button.site-nav__about-button--home:where(.w-variant-3deb63f4-d64d-3e93-5f6c-d592828e2690) {
  background-color: #0000;
  box-shadow: var(--shadow-inset);
}

.site-nav {
  grid-column-gap: 10px;
  background-color: rgba(160, 160, 160, 0.17);
  background-image: none;
  backdrop-filter: blur(12px) saturate(1.3);
  border-radius: 121px;
flex: 0 auto;
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin-bottom: 50px;
  padding: 15px 10px;
  text-decoration: none;
  display: flex;
}

.site-nav.site-nav--home-position {
  clear: none;
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin-bottom: 50px;
  display: block;
  position: sticky;
  bottom: auto;
  overflow: visible;
}

.site-nav.home-portfolio-title {
  width: 80px;
  height: 80vh;
}

.site-nav__inner {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: var(--nav-control-size, 3.75rem);
  height: 100%;
  text-decoration: none;
  display: flex;
}

.site-nav__links {
  grid-row-gap: 40px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  text-decoration: none;
  display: flex;
}

.card-action-bar__icon {
  grid-column-gap: 10px;
  background-color: var(--maincolor);
  border-radius: 50px;
justify-content: center;
  align-items: center;
  width: auto;
  min-width: var(--touch-target, 2.75rem);
  min-height: var(--touch-target, 2.75rem);
  padding: .625rem;
  text-decoration: none;
  display: flex;
}

.icon-open {
  grid-column-gap: 10px;
  flex: 0 auto;
  justify-content: center;
  align-items: center;
  padding: 0;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.card-action-bar {
  grid-row-gap: 10px;
  background-color: #0000001a;
  border-radius: 60px;
flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 10px 1vw;
  text-decoration: none;
  display: flex;
}



.card-action-label {
  color: #3d3d3d;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 100%;
  text-decoration: none;
}

.icon-chevron {
  grid-column-gap: 10px;
  justify-content: center;
  align-items: center;
  width: 1.5vh;
  height: 1.5vh;
  padding: 3px 1px;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.card-action-label--learn {
  color: #3d3d3d;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 100%;
  text-decoration: none;
}

.home-mini-card {
  flex: 1;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-decoration: none;
  display: flex;
}

.home-mini-card__content {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  text-decoration: none;
  display: flex;
}

.home-photography-title {
  color: #3d3d3d;
  border: 0 solid #000;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
}

.home-photography-description {
  color: #3d3d3d80;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
}

.home-mini-card__icon {
  background-color: #0000001a;
  border-radius: 50px;
justify-content: center;
  align-items: center;
  align-self: center;
  width: auto;
  min-width: var(--touch-target, 2.75rem);
  min-height: var(--touch-target, 2.75rem);
  padding: .625rem;
  margin-right: 1vw;
  text-decoration: none;
  display: flex;
  overflow: visible;
}



.home-hero {
  grid-row-gap: 5vh;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 40%;
  max-width: none;
  height: 80vh;
  margin-bottom: 50px;
  text-decoration: none;
  display: flex;
}

.home-name {
  grid-row-gap: 10px;
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  text-decoration: none;
  display: flex;
}

.home-greeting {
  color: #ffffff80;
  text-align: right;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
}



.home-portfolio-link {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background-color: var(--maincolor);
  border-radius: 4rem;
  corner-shape: squircle;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: none;
  height: 65vh;
  max-height: none;
  padding: 4vh 2vw;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-inset);
}

.home-portfolio-card {
  grid-column-gap: 0px;
  grid-row-gap: 2vh;
  flex-direction: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-between;
  place-items: center stretch;
  width: auto;
  height: 100%;
  text-decoration: none;
  display: flex;
}



.home-portfolio-title {
  color: #3d3d3d;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
}

.home-portfolio-card__description {
  color: #3d3d3d80;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
}



.home-card-grid {
  grid-row-gap: 0vh;
  background-color: #e1e1e1;
  border-radius: 4rem;
  corner-shape: squircle;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 50%;
  max-width: none;
  height: 80vh;
  margin-bottom: 50px;
  padding: 30px;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-raised);
}





.home-projects-title {
  color: #3d3d3d;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}

.home-projects-description {
  color: #3d3d3d80;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}

.home-card-link {
  grid-row-gap: 0vh;
  background-color: #e1e1e1;
  border-radius: 3rem;
  corner-shape: squircle;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 3vh 1vw 2vh;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-raised-inset);
}

.home-snacks-title {
  color: #3d3d3d;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}

.home-snacks-description {
  color: #3d3d3d80;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}





.site-nav__about-icon {
  grid-column-gap: 10px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.card-action-bar__icon--compact {
  grid-column-gap: 10px;
  background-color: var(--maincolor);
  border-radius: 50px;
justify-content: center;
  align-items: center;
  width: auto;
  min-width: var(--touch-target, 2.75rem);
  min-height: var(--touch-target, 2.75rem);
  padding: .625rem;
  text-decoration: none;
  display: flex;
}

.home-mini-card-link {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  background-color: #e1e1e1;
  border-radius: 200px;
flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 2vh 1.5vw 2vh 3vw;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-inset);
}





.home-card {
  grid-column-gap: 4vh;
  grid-row-gap: 4vh;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
}







.page-home {
  height: 100%;
  max-height: 100%;
}



.project-card__image {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid #3d3d3d1a;
  border-radius: 3rem;
width: 100%;
  height: auto;
  margin-bottom: 0;
  padding: 0;
  position: static;
}

.portfolio-index-layout {
  grid-column-gap: 0px;
  background-color: #e1e1e1;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 50px 0 0 50px;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}











.listing-card__action {
  grid-column-gap: 1vw;
  grid-row-gap: 1vw;
  border-radius: 100rem;
justify-content: space-between;
  align-items: center;
  width: auto;
  height: auto;
  padding: 1vh 1.5vw;
  display: flex;
}

.listing-card__action-icon {
  grid-column-gap: 0px;
  border-radius: 50px;
justify-content: center;
  align-items: center;
  width: auto;
  height: 20px;
  padding: 0;
  text-decoration: none;
  display: flex;
}



.page-title {
  color: #3d3d3d;
  width: auto;
  height: auto;
  margin-top: 0;
  margin-bottom: 10px;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 100%;
  text-decoration: none;
}

.site-nav-region {
  height: 80vh;
  margin-bottom: 50px;
}

.home-photography-open-icon {
  width: 2vh;
  height: auto;
  overflow: visible;
}

.page-portfolio-index {
  height: 100%;
}

.site-nav__button {
  pointer-events: auto;
  cursor: auto;
  --_button---white: white;
  border-radius: 50px;
}

.site-nav__button:where(.w-variant-d0c9db4b-52d3-ba20-6417-8d689fa46cba) {
  background-color: var(--nothing);
  box-shadow: var(--shadow-inset);
  border-radius: 50px;
}

.site-nav__button:where(.w-variant-6360a6ab-21b3-3b9c-f4e4-d484c199a6ae) {
  background-color: #ffffff4d;
  border-radius: 50px;
  
}.site-nav__link.site-nav__link--home {

  background-color: var(--nothing);
  border-radius: 50px;

}
.site-nav__link:where(.w-variant-0bd774d9-8eb8-ae1b-6694-df3622f26d8b){
  background-color: var(--nothing);
  border-radius: 50px;
  corner-shape: squircle;
}





.content-layout {
  grid-column-gap: 0px;
  background-color: #e1e1e1;
  justify-content: space-between;
  align-items: center;
  width: auto;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 50px 0 0 50px;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.snack-detail__layout {
  box-sizing: content-box;
  grid-row-gap: 0px;
  object-fit: fill;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  height: 100%;
  margin-left: 5vw;
  margin-right: 0;
  padding-left: 0;
  text-decoration: none;
  display: flex;
  position: static;
  inset: 0% auto auto 0%;
  overflow: visible;
}

.projects {
  color: #3d3d3d;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 100%;
  text-decoration: none;
}

.page-subtitle {
  color: #3d3d3d80;
  text-align: left;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 100%;
  text-decoration: none;
}



.supporting-text {
  color: #3d3d3d;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 1vh;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 120%;
  text-decoration: none;
}

.supporting-text-muted {
  color: #3d3d3d80;
  text-align: left;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 2vh;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}

.project-card__content {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  min-width: auto;
  height: 100%;
  min-height: auto;
  display: flex;
}

.collection-page__header {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-top: 0;
  padding-bottom: 2vh;
  padding-left: 5vw;
  text-decoration: none;
  display: flex;
}





.page-projects-index {
  height: 100%;
}



.home-snacks-chevron {
  width: 1.5vh;
  height: 1.5vh;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}





.portfolio-card__action-label {
  width: auto;
  height: auto;
}





.snack-detail__main {
  z-index: auto;
  width: 100%;
  height: 100%;
  min-height: auto;
  max-height: none;
  margin-bottom: 50px;
  position: static;
  left: 5vw;
}



.site-nav-region-wide {
  flex: 0 auto;
  height: 80vh;
  margin-bottom: 50px;
  padding-bottom: 0;
}

.photography-card__link {
  grid-row-gap: 0px;
  width: 100%;
  min-width: auto;
  max-width: 20vw;
  height: auto;
  min-height: auto;
  max-height: none;
  box-shadow: var(--shadow-raised-inset);
  background-color: #e1e1e1;
  border-radius: 1rem;
  corner-shape: squircle;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1vh;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.photography-card__content {
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
}

.card-title {
  color: #3d3d3d;
  height: 3vh;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 5px;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 100%;
  text-decoration: none;
}





.photography-index-layout {
  grid-column-gap: 0px;
  background-color: #e1e1e1;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 50px 0 0 50px;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}



.photography-card {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
  overflow: visible;
}



.photography-card__action {
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: auto;
  padding: 0 0 1vh 5px;
  display: flex;
  overflow: hidden;
}

.photography-card__action-label {
  box-sizing: border-box;
  float: none;
  clear: none;
  color: var(--_button---white);
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 100%;
  text-decoration: none;
  display: block;
  position: absolute;
  inset: auto auto 5% 5%;
}









.portfolio-card__image {
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #3d3d3d1a;
  border-radius: 2.8rem;
  corner-shape: squircle;
  width: 100%;
  height: 100%;
  min-height: auto;
  max-height: none;
  display: block;
  position: static;
  overflow: clip;
}



.page-snacks-index {
  height: 100%;
}

.photography-card__date {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-subtle);
  object-fit: cover;
  background-color: #0000;
  border-radius: .5rem;
  corner-shape: squircle;
  position: relative;
  overflow: clip;
}

.photography-card__cover {
  aspect-ratio: 3 / 2;
  opacity: 1;
  object-fit: cover;
  border: 0 solid #0000001a;
  border-radius: 0;
  width: 100%;
  height: auto;
  overflow: visible;
}

.page-photography-index {
  height: 100%;
}

.photography-card__action-caption {
  box-sizing: border-box;
  float: none;
  clear: none;
  color: #3d3d3d;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .8rem;
  font-weight: 100;
  line-height: 100%;
  text-decoration: none;
  display: block;
  position: static;
  inset: auto auto 5% 5%;
}

.photography-card__location {
  grid-column-gap: 2px;
  grid-row-gap: 2px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}



.snack-card {
  grid-row-gap: 0px;
  background-color: #e1e1e1;
  border-radius: 3rem;
  corner-shape: squircle;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  min-width: 15vw;
  max-width: 20vw;
  height: auto;
  padding: 1vh;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-raised-inset);
}





.snack-card__media {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 0 solid #3d3d3d1a;
  border-radius: 2.5rem;
  corner-shape: squircle;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: auto;
  min-height: auto;
  padding: 0;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: clip;
  box-shadow: var(--shadow-subtle);
}

.button {
  grid-column-gap: 10px;
  background-color: var(--_button---white);
  border-radius: 50px;
  corner-shape: squircle;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  padding: 10px;
  text-decoration: none;
  display: flex;
}

.snack-card__inner {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  text-decoration: none;
  display: flex;
}











.portfolio-card {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  background-color: #e1e1e1;
  border-radius: 3rem;
  corner-shape: squircle;
  flex-direction: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  grid-auto-flow: row;
  justify-content: flex-start;
  align-items: center;
  width: 80%;
  height: auto;
  padding: 1vh;
  text-decoration: none;
  display: flex;
  overflow: hidden;
  box-shadow: var(--shadow-raised-inset);
}

.portfolio-card__media {
  aspect-ratio: 16 / 9;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: auto;
  max-height: 100%;
  display: flex;
  overflow: clip;
}

.collection-scroll-container {
  box-sizing: border-box;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  aspect-ratio: auto;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100vh;
  margin-right: 0;
  padding: 0 2vw 10vh 5vw;
  text-decoration: none;
  display: flex;
  overflow: scroll;
}

.collection-scroll-container__inner {
  box-sizing: border-box;
  grid-column-gap: 0vh;
  grid-row-gap: 0vh;
  aspect-ratio: auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 0 0;
  text-decoration: none;
  display: flex;
  overflow: visible;
}



.page-about {
  height: 100%;
}

.about-biography {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  background-color: #d9d9d9;
  border-radius: 50px;
  corner-shape: squircle;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: 0;
  padding: 5vh 5vw;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-raised-inset);
}











.about-hero-card__header {
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 50%;
  height: 30vh;
  min-height: auto;
  padding-bottom: 0;
  display: flex;
}

.about-biography__intro {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  background-color: #d9d9d9;
  border-radius: 3rem;
  corner-shape: squircle;
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 3vh 2vw;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-raised-inset);
}

.about-resource-card {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  background-color: #d9d9d9;
  border-radius: 2rem;
  corner-shape: squircle;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 2vh 2vw;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-raised-inset);
}

.about-resource-cards {
  grid-column-gap: 2vw;
  grid-row-gap: 2vw;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: auto;
  display: flex;
}



.about-biography__section {
  grid-column-gap: 0vw;
  grid-row-gap: 0vw;
  justify-content: flex-start;
  align-items: flex-start;
  width: 95%;
  display: flex;
}

.about-biography__copy {
  width: 80vw;
}

.about-section-title {
  width: 100%;
}

.portfolio-scroll-indicator__image {
  width: 3vw;
}

.portfolio-scroll-indicator {
  justify-content: center;
  align-items: flex-end;
  width: auto;
  height: 100%;
  margin-bottom: 40px;
  margin-right: 5vw;
  display: flex;
  position: absolute;
  inset: auto 0% 0% auto;
}

.projects-year-heading {
  grid-row-gap: 5px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 40px 15px 0 0;
  display: flex;
}

.home-portfolio-card__media {
  box-shadow: var(--shadow-subtle);
  border-radius: 1rem;
  corner-shape: squircle;
  overflow: clip;
}

.about-summary {
  width: auto;
}

.supporting-text-summary {
  color: #3d3d3d80;
  text-align: left;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 120%;
  text-decoration: none;
}

.about-introduction {
  padding-right: 20px;
}

.about-hero-card__content {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  background-color: #d9d9d9;
  border-radius: 3rem;
  corner-shape: squircle;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 3vh 2vw;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-raised-inset);
}





.container {
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}



















.portfolio-detail-layout {
  grid-column-gap: 50px;
  background-color: #fff;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 50px 0 0 50px;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}







.page-portfolio-detail {
  height: 100vh;
}

.portfolio-list {
  flex-flow: column;
  width: 100%;
  margin-bottom: 10vh;
  display: flex;
}

.portfolio-list__item {
  width: 100%;
  padding: 5vh 5vw;
}

.portfolio-card__link {
  width: 100%;
  text-decoration: none;
}

.portfolio-list__items {
  width: 100%;
  margin-bottom: 10vh;
}

.portfolio-card__shell {
  width: 100%;
}



.listing-card__item {
  clear: none;
  flex-flow: row;
  flex: none;
  order: 0;
  justify-content: center;
  align-items: center;
  height: auto;
  margin: 0 0;
  padding: 0 3vh 4vh 0;
  display: flex;
  position: static;
}



.listing-card__link {
  width: auto;
  text-decoration: none;
}

.snack-card__image {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  max-width: none;
  height: 100%;
}

.photography-list__item {
  padding: 0 2vw 4vh 0;
}

.photography-card__media {
  background-image: linear-gradient(120deg,
    rgba(210, 210, 210, 0.14) 0%,
    rgba(110, 110, 110, 0.20) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 .25rem .5rem rgba(0, 0, 0, 0.10);
  border-radius: 100px;
justify-content: center;
  align-items: center;
  width: auto;
  min-width: var(--touch-target, 2.75rem);
  min-height: var(--touch-target, 2.75rem);
  padding: .625rem;
  margin-bottom: 0;
  margin-right: 0;
  display: flex;
  position: static;
}









.project-bottom {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10vh;
  padding: 5vh 10vw 2vh;
  text-decoration: none;
  display: flex;
}

.project-bottom-title {
  color: #cacaca;
  width: auto;
  height: auto;
  margin-top: 0;
  margin-bottom: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "HarmonyOS Sans", sans-serif;
  font-size: 3.375rem;
  font-weight: 700;
  line-height: 100%;
  text-decoration: none;
}

.project-bottom-smile {
  color: #cacaca;
  width: auto;
  min-width: 10vw;
  height: auto;
  margin-top: 0;
  margin-bottom: 10px;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 6.75rem;
  font-weight: 500;
  line-height: 100%;
  text-decoration: none;
  /* “: ）” 是一个表情，任何宽度下都不允许在空格处换行成上下两行 */
  white-space: nowrap;
  flex: 0 0 auto;
}

.photography-detail-layout {
  grid-column-gap: 0px;
  background-color: #e1e1e1;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 50px 0 0 50px;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}











































.photography-detail__title-region {
  grid-column-gap: 1vh;
  grid-row-gap: 1vh;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: auto;
  margin-right: 2vw;
  padding-top: 0;
  padding-bottom: 5vh;
  padding-left: 0;
  text-decoration: none;
  display: flex;
}



.photography-meta {
  color: #3d3d3d80;
  text-align: left;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 2vh;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 120%;
  text-decoration: none;
}

.photography-detail__byline {
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-left: 5vw;
  padding-left: 0;
  display: flex;
}

.page-photography-detail {
  height: 13%;
}











.photography-detail__header {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-flow: row;
  width: auto;
  height: 100vh;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  overflow: visible;
}





.photography-gallery__list {
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  height: auto;
  display: flex;
}

.home-layout {
  grid-column-gap: 7vw;
  grid-row-gap: 7vw;
  background-color: var(--maincolor);
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  margin-right: auto;
  padding: 50px 50px 0;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.card-action-bar__content {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 1vw;
  display: flex;
}

.project-card__action-content {
  grid-row-gap: 0px;
  border-radius: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: auto;
  padding-top: .5vh;
  padding-bottom: .5vh;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.photography-card__title {
  width: 100%;
  padding-top: 2vh;
}



.snack-card__header {
  grid-row-gap: 5px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  height: auto;
  padding: 2vh 10px 1vh 2vh;
  text-decoration: none;
  display: flex;
  overflow: visible;
}

.page-snack-detail {
  height: 100%;
}

.snack-detail__breadcrumb {
  text-decoration: none;
}

.snack-gallery-primary__item {
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  width: auto;
  min-width: auto;
  max-width: 14vw;
  height: auto;
  max-height: none;
  padding: 1vh 1vw;
  display: flex;
  overflow: visible;
}

.snack-gallery-primary {
  justify-content: flex-start;
  align-items: flex-start;
  flex-flow: column;
  width: auto;
  max-width: none;
  display: flex;
}



.snack-gallery-secondary {
  width: auto;
  min-width: auto;
  max-width: none;
  height: 100vh;
  margin-top: -50px;
  padding-left: 1vw;
  padding-right: 1vw;
  overflow: visible;
  flex: 0 0 auto;
}

.snacks-list {
  height: auto;
  padding: 0 0 10vh;
  overflow: visible;
}

.snacks-list__items {
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  height: auto;
  padding-top: 2vh;
  display: flex;
  overflow: visible;
}

.detail-dropdown {
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  display: block;
}



.detail-toolbar {
  grid-column-gap: 3vw;
  grid-row-gap: 3vw;
  margin-bottom: 5vh;
  display: flex;
}

.detail-toolbar__back {
  justify-content: center;
  align-items: center;
  display: flex;
}

.detail-toolbar__back-icon {
  background-color: #0000001a;
  border-radius: 20px;
  corner-shape: squircle;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  display: flex;
}

.detail-dropdown__toggle {
  background-color: var(--maincolor);
  border-radius: 100rem;
justify-content: space-between;
  align-items: center;
  width: 20vw;
  height: auto;
  margin-bottom: 10px;
  padding: 2vh 2vw;
  display: flex;
  position: static;
  box-shadow:
    inset var(--shadow-nav-inset-offset-dark) var(--shadow-nav-inset-offset-dark)
      var(--shadow-nav-inset-blur) #00000066,
    inset var(--shadow-nav-inset-offset-light) var(--shadow-nav-inset-offset-light)
      var(--shadow-nav-inset-blur) #ffffffcc;
}

.icon-2 {
  margin-left: auto;
  margin-right: 1vw;
  padding-left: 0;
  position: static;
  transform: rotate(-90deg);
}

.detail-dropdown__item {
  border-top: 1px solid #ccc;
  border-bottom: 0 solid #c7c7c7;
  padding: 2vh 1vw 1vh;
}

.snack-dropdown__list {
  box-sizing: border-box;
  border-radius: 1rem;
  corner-shape: squircle;
  height: 40vh;
  margin-top: 10px;
  overflow: auto;
}

.photography-dropdown__list {
  border-radius: 1rem;
  corner-shape: squircle;
  height: 40vh;
  margin-top: 10px;
  overflow: scroll;
  box-shadow: var(--shadow-overlay);
}

.photography-dropdown__link {
  text-decoration: none;
}



.snack-dropdown__link {
  text-decoration: none;
}

.snack-detail__title {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-top: 0;
  padding-bottom: 2vh;
  padding-left: 0;
  text-decoration: none;
  display: flex;
}

.snack-detail__content {
  box-sizing: border-box;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  aspect-ratio: auto;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  margin-right: 0;
  padding: 0 0 10vh;
  text-decoration: none;
  display: flex;
  overflow: auto;
}

.snack-detail__header {
  flex-flow: column;
  flex: 1 1 auto;
  width: auto;
  height: 100%;
  display: flex;
}

.snack-gallery-secondary__item {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  object-fit: cover;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  max-width: none;
  height: auto;
  max-height: 100vh;
  display: flex;
}



.snack-gallery-primary__list {
  flex-flow: column;
  width: 100%;
  height: auto;
  display: flex;
}

/* 有右侧大图（snack-gallery-secondary）的详情页：左侧 4 图排成 2×2 网格，列宽随视口自适应。
 * 仅在桌面断点（≥992px）生效；平板/手机沿用 responsive.css 的单列规则。 */
@media screen and (min-width: 62rem) {
  .page-snack-detail:has(.snack-gallery-secondary) .snack-gallery-primary {
    flex-flow: wrap;
  }

  .page-snack-detail:has(.snack-gallery-secondary) .snack-gallery-primary__list {
    grid-column-gap: 1vw;
    grid-row-gap: 1vh;
    grid-template-columns: repeat(2, 18vw);
    flex-flow: initial;
    width: auto;
    display: grid;
  }

  .page-snack-detail:has(.snack-gallery-secondary) .snack-gallery-primary__item {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
  }
}

/* 无右侧大图、无视频的纯图集详情页（如 sketch / arduino-pandora）：
 * 多列网格自适应，避免 21 张草图被压成单列长列表。 */
@media screen and (min-width: 62rem) {
  .page-snack-detail:not(:has(.snack-gallery-secondary)):not(:has(.snack-video-aside)) .snack-detail__content > div,
  .page-snack-detail:not(:has(.snack-gallery-secondary)):not(:has(.snack-video-aside)) .snack-gallery-primary {
    flex-flow: wrap;
    width: 100%;
  }

  .page-snack-detail:not(:has(.snack-gallery-secondary)):not(:has(.snack-video-aside)) .snack-gallery-primary__list {
    grid-column-gap: 1vw;
    grid-row-gap: 1vh;
    grid-template-columns: repeat(auto-fill, minmax(16vw, 1fr));
    flex-flow: initial;
    width: 100%;
    display: grid;
  }

  .page-snack-detail:not(:has(.snack-gallery-secondary)):not(:has(.snack-video-aside)) .snack-gallery-primary__item {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
  }

  /* 隐藏图集页容器滚动条的视觉，但保留滚动功能（滑动） */
  .page-snack-detail:not(:has(.snack-gallery-secondary)):not(:has(.snack-video-aside)) .snack-detail__content {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .page-snack-detail:not(:has(.snack-gallery-secondary)):not(:has(.snack-video-aside)) .snack-detail__content::-webkit-scrollbar {
    display: none;
  }
}

.snack-gallery-secondary__list {
  grid-column-gap: 1vh;
  grid-row-gap: 1vh;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  width: auto;
  min-width: auto;
  max-width: none;
  height: auto;
  display: grid;
}

.photography-gallery__item {
  padding: 1vh 1vw 1vh 0;
}

.snack-gallery__link {
  width: auto;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
}

.snack-gallery__image {
  height: 100vh;
  width: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}









































.text {
  color: #5fa845;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 100%;
  text-decoration: none;
}

































































.photography-detail__summary {
  margin-left: 5vw;
  padding-left: 0;
}

.photography-list {
  height: 100%;
  padding: 4vh 5vw 2vh 0;
  overflow: visible;
}



.collection-page {
  box-sizing: content-box;
  grid-row-gap: 0px;
  object-fit: fill;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  height: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-top: 5vh;
  padding-left: 0;
  text-decoration: none;
  display: flex;
  position: static;
  inset: 0% auto auto 0%;
  overflow: visible;
}

.snack-dropdown {
  background-color: #ddd;
  margin-top: 0;
}

.snack-dropdown.w--open {
  background-color: var(--maincolor);
  border-radius: 1rem;
  corner-shape: squircle;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
  box-shadow: var(--shadow-overlay);
}

.snack-embed {
  width: 100%;
  height: 100%;
}

.video-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 50vw;
  height: auto;
}

.p5js-viewer {
  aspect-ratio: 16 / 9;
  width: 80vw;
  height: auto;
}





.snack-detail__description {
  color: #666;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-style: italic;
  font-weight: 500;
}

.snack-detail__quote-text {
  color: #747474;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 1vh;
  padding-left: 1vw;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}

.snack-detail__quote {
  display: flex;
}

.snack-detail__quote-mark {
  color: #747474;
  text-align: left;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}





.snack-card__action {
  z-index: auto;
  background-image: linear-gradient(120deg,
    rgba(245, 245, 245, 0.55) 0%,
    rgba(190, 190, 190, 0.38) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 .25rem .5rem rgba(0, 0, 0, 0.10);
  border-radius: 20rem;
justify-content: center;
  align-items: center;
  width: auto;
  min-width: var(--touch-target, 2.75rem);
  min-height: var(--touch-target, 2.75rem);
  padding: .625rem;
  display: flex;
  position: absolute;
  inset: auto 1.25rem 1.25rem auto;
}





.photography-gallery {
  width: 100%;
  margin-top: -10px;
  margin-left: 2vw;
  overflow: visible;
}





.portfolio-card-grid {
  box-sizing: border-box;
  grid-column-gap: 5vh;
  grid-row-gap: 5vh;
  aspect-ratio: auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 90vh;
  padding: 0 0 10vh;
  text-decoration: none;
  display: flex;
  overflow: visible;
}

.about-layout {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background-color: var(--maincolor);
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 50px 0 0 50px;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.photography-list-wrapper {
  margin-bottom: 10vh;
}

.projects-grid {
  height: auto;
  margin-bottom: 10vh;
}

.about-content {
  box-sizing: border-box;
  grid-column-gap: 5vh;
  grid-row-gap: 5vh;
  aspect-ratio: auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 0 0;
  text-decoration: none;
  display: flex;
  overflow: visible;
}

.about-hero-card {
  grid-column-gap: 0vw;
  grid-row-gap: 0vw;
  background-color: #d9d9d9;
  border-radius: 50px;
  corner-shape: squircle;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 3vh 2vw 3vh 5vw;
  text-decoration: none;
  display: flex;
  box-shadow: var(--shadow-raised-inset);
}

.portfolio-detail__image {
  border-radius: 2rem;
  corner-shape: squircle;
  margin-top: 5vh;
  margin-bottom: 0;
  box-shadow: var(--shadow-overlay);
}

.portfolio-detail__video {
  border-radius: 2rem;
  corner-shape: squircle;
  margin-top: 5vh;
  margin-bottom: 0;
  box-shadow: var(--shadow-overlay);
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.portfolio-detail__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}





















































.home-card__copy {
  grid-row-gap: 5px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 2vh;
  padding-left: 2vw;
  padding-right: 0;
  text-decoration: none;
  display: flex;
}





.project-card {
  grid-column-gap: 3rem;
  grid-row-gap: 3rem;
  width: auto;
  min-width: 24vw;
  max-width: 30vw;
  height: auto;
  min-height: 10vh;
  max-height: none;
  box-shadow: var(--shadow-raised-inset);
  background-color: #e1e1e1;
  border-radius: 3rem;
  corner-shape: squircle;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

.project-card__media {
  border-radius: 3rem;
padding: .5vh;
  overflow: visible;
  box-shadow: var(--shadow-subtle);
}

.project-embed {
  height: 100vh;
  margin-left: auto;
  margin-right: auto;
}

body.page-project-detail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.page-project-detail .project-embed {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.page-project-detail .project-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}















.projects-list__items {
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding-top: 2vh;
  display: flex;
  overflow: visible;
}

.projects-list {
  width: 100%;
  height: auto;
  padding: 0 0 10vh;
  overflow: visible;
}

.about-scroll-container {
  box-sizing: border-box;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  aspect-ratio: auto;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100vh;
  margin-right: 0;
  padding: 5vh 2vw 10vh 5vw;
  text-decoration: none;
  display: flex;
  overflow: scroll;
}

.photography-page__content {
  z-index: auto;
  width: 100%;
  height: 100%;
  min-height: auto;
  max-height: none;
  margin-top: 0;
  position: static;
  left: 5vw;
  display: flex;
  align-items: center;
}





.home-intro__copy {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  background-color: var(--maincolor);
  width: 80%;
  height: 10vh;
  box-shadow: var(--shadow-raised-inset);
  border-radius: 8rem;
flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2vh 1vw;
  display: flex;
}

.about-hero-card__name {
  justify-content: space-between;
  align-items: center;
  width: 80%;
  display: flex;
}

.projects-grid__section {
  box-sizing: border-box;
  grid-column-gap: 2vw;
  grid-row-gap: 2vw;
  aspect-ratio: auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 2vh 5vw 2vh 0;
  text-decoration: none;
  display: flex;
  overflow: visible;
}

.home-intro {
  grid-column-gap: 1vw;
  grid-row-gap: 1vw;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 10vh;
  display: flex;
}

.home-brand__image {
  mix-blend-mode: normal;
  border-radius: 20rem;
width: auto;
  height: 100%;
  box-shadow: var(--shadow-subtle);
}

.home-brand {
  background-color: var(--maincolor);
  width: 10vh;
  min-width: 10vh;
  max-width: 10vh;
  height: 10vh;
  min-height: 10vh;
  max-height: 10vh;
  box-shadow: var(--shadow-raised-inset);
  border-radius: 20rem;
margin-left: 0;
  margin-right: auto;
  padding: 2vh;
}

.home-profile-name {
  color: #fff;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 120%;
  text-decoration: none;
}

.text-emphasis {
  color: #3d3d3dcc;
}

.snacks-grid {
  padding-top: 1vh;
}

.home-projects-chevron {
  width: 1.5vh;
  height: 1.5vh;
}

.home-portfolio-open-icon {
  width: 2vh;
  height: auto;
}

.home-about-open-icon {
  width: 2vh;
}

.portfolio-card__chevron,
.project-card__chevron {
  width: 1vh;
  height: 1vh;
}

.snack-card__chevron,
.photography-card__image,
.about-resource-card__chevron {
  width: 1.5vh;
  height: 1.5vh;
}

.home-portfolio-card__content {
  grid-column-gap: 16px;
  grid-row-gap: 2vh;
  flex-direction: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding-left: 1px;
  text-decoration: none;
  display: grid;
}

.home-portfolio-card__copy {
  grid-row-gap: 5px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-top: 2vh;
  padding-left: 1vw;
  text-decoration: none;
  display: flex;
}

.home-intro__text {
  background-color: #3d3d3d;
  border-radius: 20rem;
justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1vh 3vh;
  display: flex;
  box-shadow: var(--shadow-subtle);
}





.photography-dropdown {
  display: none;
}

.dropdown-item-label {
  color: #3d3d3d;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 1vh;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 100%;
  text-decoration: none;
}



.document-embed {
  height: 100%;
  display: block;
}

.page-document {
  height: 100%;
}

.about-resource-card__link {
  width: 100%;
  text-decoration: none;
}

.photography-detail__gallery-region {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  height: 100vh;
  margin-top: -50px;
  margin-right: 0;
  padding-right: 2vw;
  display: block;
  overflow: scroll;
  box-shadow: var(--shadow-overlay);
}

.detail-dropdown__current-label {
  overflow: hidden;
}

.utility-page-wrap {
  background-color: var(--maincolor);
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  width: 260px;
  display: flex;
}













.error-page__message,
.error-page__heading {
  font-family: Exo, "HarmonyOS Sans", sans-serif;
}









@media screen and (max-width: 991px) {
  .home-portfolio-link {
    max-height: 100vh;
  }

  .container {
    max-width: 728px;
  }




}



@media screen and (max-width: 479px) {
  .site-nav.site-nav--home-position {
    margin-top: 0;
    margin-left: 0;
  }

  .home-mini-card {
    padding-left: 5vw;
  }

  .home-photography-title {
    font-size: 1rem;
  }

  .home-photography-description {
    font-size: .8rem;
  }

  .home-hero {
    width: 95%;
    height: 100%;
  }



  .home-portfolio-link {
    height: 40vh;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .home-portfolio-title {
    font-size: 2rem;
  }

  .home-card-grid {
    width: 95%;
    padding: 5vh 5vw;
  }

  .home-projects-title,
.home-snacks-title {
    font-size: 2rem;
  }





  .page-home {
    height: auto;
  }

  .portfolio-index-layout {
    justify-content: flex-end;
    align-items: center;
    padding-top: 0;
    padding-left: 0;
  }

  .site-nav-region {
    margin-top: -90vh;
    margin-left: -80px;
  }

  .content-layout {
    flex-flow: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .snack-detail__layout {
    margin-left: 0;
    padding-left: 0;
  }

  .collection-page__header {
    padding-right: 5vw;
  }

  .site-nav-region-wide {
    width: 17%;
    margin-left: -80px;
    padding-left: 0;
  }

  .photography-card__link {
    max-width: none;
  }

  .photography-index-layout {
    padding-top: 0;
    padding-left: 0;
  }



  .snack-card {
    width: 100%;
    min-width: auto;
    max-width: none;
  }



  .snack-card__media {
    box-sizing: border-box;
    object-fit: cover;
  }

  .portfolio-card {
    width: 100%;
  }

  .collection-scroll-container {
    padding-top: 2vh;
  }



  .about-resource-cards {
    flex-flow: column;
  }

  .portfolio-scroll-indicator {
    margin-right: 0;
  }

  .container {
    max-width: none;
  }



  .portfolio-list__item {
    padding-top: 2vh;
    padding-bottom: 2vh;
  }



  .listing-card__link {
    width: 100%;
  }

  .photography-detail-layout {
    flex-flow: column;
    height: auto;
    padding-left: 5vw;
    padding-right: 5vw;
  }



  .photography-detail__title-region {
    width: 100%;
  }

  .photography-detail__byline {
    margin-left: 0;
    padding-left: 0;
  }



  .photography-detail__header {
    flex-flow: column;
  }

  .home-layout {
    flex-flow: column;
    margin-right: 0;
    padding: 5vh 5vw;
  }

  .snack-card__header {
    width: 100%;
  }

  .snacks-list {
    display: flex;
  }

  .detail-dropdown__toggle {
    width: auto;
    padding-left: 6vw;
    padding-right: 22vw;
  }

  .snack-detail__title {
    padding-right: 5vw;
  }

  .photography-detail__summary,
.collection-page {
    margin-left: 0;
    padding-left: 0;
  }



  .about-layout {
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
    padding-left: 0;
  }

  .about-hero-card {
    grid-column-gap: 11vw;
    grid-row-gap: 11vw;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-right: 5vw;
  }

  .home-card__copy {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .projects-list {
    display: flex;
  }

  .about-scroll-container {
    padding-top: 2vh;
  }

  .home-intro__copy,
.home-intro {
    width: 100%;
    height: 10vh;
  }

  .home-profile-name {
    font-size: 2rem;
  }
}

/* Unified typography hierarchy
 * display  > page title > section title > card title > body > supporting text
 */
:root {
  --font-size-page-title: 1.5rem;
  --font-size-section-title: 2rem;
  --font-size-card-title: 1.25rem;
  --font-size-body: 1rem;
  --font-size-supporting: .875rem;
  --font-size-caption: .75rem;
  --line-height-heading: 1.15;
  --line-height-body: 1.6;
  --line-height-compact: 1.35;
}

html {
  font-size: 1rem;
}

body {
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Level 1: one primary title per page. */
.page-title,
.home-profile-name {
  margin-top: 0;
  margin-bottom: .5em;
  font-size: var(--font-size-page-title);
  font-weight: 700;
  line-height: var(--line-height-heading);
  letter-spacing: -.025em;
}

/* The home greeting ("I'm Yansong" / "我是滕彦松") scales with the
 * viewport instead of staying fixed, so it reads large on big screens
 * and stays balanced on tablets and phones. */
.page-home .home-profile-name {
  font-size: clamp(1.375rem, 3vw, 2.5rem);
}

/* Level 2: content and rich-text section headings. */
.w-richtext h1,
.w-richtext h2,
.error-page__heading {
  margin-top: 1.75em;
  margin-bottom: .625em;
  font-size: var(--font-size-section-title);
  font-weight: 700;
  line-height: var(--line-height-heading);
  letter-spacing: -.015em;
}

.w-richtext h3,
.w-richtext h4,
.w-richtext h5,
.w-richtext h6 {
  margin-top: 1.5em;
  margin-bottom: .5em;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

/* Level 3: card titles. */
.card-title {
  margin-top: 0;
  margin-bottom: .375em;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
  letter-spacing: -.01em;
}

/* Level 4: body copy. */
.w-richtext,
.w-richtext p,
.snack-detail__quote-text {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
}

.w-richtext p {
  margin-top: 0;
  margin-bottom: 1em;
}

.w-richtext blockquote {
  margin: 1.5em 0;
  font-size: var(--font-size-card-title);
  line-height: 1.5;
}

/* Level 5: navigation and supporting labels. */
.supporting-text,
.dropdown-item-label,
.supporting-text-muted,
.supporting-text-summary,
.photography-meta,
.page-subtitle {
  margin-top: 0;
  margin-bottom: 0;
  font-size: var(--font-size-supporting);
  font-weight: 500;
  line-height: var(--line-height-compact);
  letter-spacing: 0;
}

/* 轻统一（2026-08-07）：正文/描述类字重归一 400，500 仅保留给
 * 区块标签与副标题（.supporting-text/.page-subtitle/.dropdown-item-label）。 */
.supporting-text-muted,
.supporting-text-summary {
  font-weight: 400;
}

/* Level 6: metadata,
captions,
and calls to action. */
.card-action-label,
.photography-card__action-label,
.photography-card__action-caption,
.card-action-label--learn {
  font-size: var(--font-size-supporting);
  line-height: var(--line-height-compact);
}

.photography-card__action-caption {
  font-size: var(--font-size-caption);
  font-weight: 400;
}

.snack-detail__quote-mark {
  font-size: var(--font-size-section-title);
  font-weight: 700;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  :root {
    --font-size-section-title: 1.625rem;
  }

  body {
    line-height: 1.55;
  }
}

/* Home alignment and independent legal footer. */
.home-intro__text .home-profile-name,
.home-intro__text .home-greeting {
  margin-top: 0;
  margin-bottom: 0;
}

.home-intro__text {
  box-sizing: border-box;
  padding-top: 1vh;
  padding-bottom: 1vh;
}

.site-record-footer {
  z-index: 20;
  pointer-events: none;
  width: 100%;
  padding: .625rem 1rem;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.site-record-link {
  pointer-events: auto;
  color: #00000073;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease;
}

.site-record-link:hover,
.site-record-link:focus-visible {
  color: #000000b3;
  text-decoration: underline;
}

/* Responsive design-system foundation.
 * Up to 1920px: 1rem,
 2560px-class displays: 1.125rem,
 * 2880px and larger: 1.25rem.
 */
:root {
  --focus-ring: 0 0 0 .1875rem #356df380;
}

html {
  box-sizing: border-box;
  min-width: 20rem;
  font-size: 1rem;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

@media screen and (min-width: 120.0625rem) {
  html {
    font-size: 1.125rem;
  }
}

@media screen and (min-width: 180rem) {
  html {
    font-size: 1.25rem;
  }
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure {
  overflow-wrap: break-word;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[role="button"],
.w-button {
  cursor: pointer;
}

a {
  color: inherit;
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%;
}

img,
picture,
video,
canvas {
  display: block;
}

iframe {
  max-width: 100%;
  border: 0;
}

:focus-visible {
  outline: .125rem solid #356df3;
  outline-offset: .1875rem;
  box-shadow: var(--focus-ring);
}

::selection {
  color: #fff;
  background: #356df3;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Page-level optical calibration. */
.page-home .home-profile-name {
  font-size: 1.5rem;
  line-height: 1.15;
}

.page-home .home-greeting {
  font-size: .875rem;
  line-height: 1.35;
}

.page-home .home-portfolio-title {
  font-size: 1.5rem;
  line-height: 1.2;
}

.page-home .home-projects-title,
.page-home .home-snacks-title,
.page-home .home-photography-title {
  font-size: 1.5rem;
  line-height: 1.25;
}

.page-home .home-portfolio-card__description,
.page-home .home-projects-description,
.page-home .home-snacks-description,
.page-home .home-photography-description {
  font-size: .875rem;
  line-height: 1.45;
}

.page-home .card-action-label,
.page-home .card-action-label--learn {
  font-size: .875rem;
}

.page-about .page-title {
  margin-top: 0;
  margin-bottom: .5em;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.page-about .page-subtitle {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.page-about .supporting-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.page-about .supporting-text-muted,
.page-about .supporting-text-summary {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
}

.page-about .card-action-label--learn {
  font-size: .875rem;
  line-height: 1.5;
}

/* Shared collection-item spacing; preserves the existing Webflow columns. */
:root {
  --collection-item-gap-inline: 2rem;
  --collection-item-gap-block: 2.5rem;
}

.snacks-list__items,
.projects-list__items,
.photography-list {
  padding-top: 2rem;
}

.snacks-list__items > .listing-card__item,
.projects-list__items > .listing-card__item,
.photography-list > .photography-list__item {
  margin: 0;
  padding-top: 0;
  padding-right: var(--collection-item-gap-inline);
  padding-bottom: var(--collection-item-gap-block);
  padding-left: 0;
}

@media screen and (max-width: 61.9375rem) {
  :root {
    --collection-item-gap-inline: 1.5rem;
    --collection-item-gap-block: 2rem;
  }
}

@media screen and (max-width: 47.9375rem) {
  :root {
    --collection-item-gap-inline: 0rem;
    --collection-item-gap-block: 1.5rem;
  }
}

/* Unified elevation and neumorphic shadow system.
 * (2026-08-14 减淡收缩：透明度白 .85→.55 / 黑 .17→.08，尺寸 ×0.62) */
:root {
  --shadow-subtle: 0 .125rem .3125rem rgba(0, 0, 0, .06);
  --shadow-raised: -.25rem -.25rem .625rem rgba(255, 255, 255, .55),
    .25rem .25rem .625rem rgba(0, 0, 0, .08);
  --shadow-raised-inset: inset .0625rem .0625rem 0 rgba(255, 255, 255, .55),
    -.25rem -.25rem .625rem rgba(255, 255, 255, .55),
    .25rem .25rem .625rem rgba(0, 0, 0, .08);
  --shadow-inset: inset -.1875rem -.1875rem .4375rem rgba(255, 255, 255, .50),
    inset .1875rem .1875rem .4375rem rgba(0, 0, 0, .06);
  --shadow-overlay: 0 .75rem 2rem #00000033;
}

/* Preserve the original compact inset treatment for navbar controls. */
.site-nav__button:where(.w-variant-d0c9db4b-52d3-ba20-6417-8d689fa46cba),
.site-nav__about-button.site-nav__about-button--home:where(.w-variant-3deb63f4-d64d-3e93-5f6c-d592828e2690) {
  box-shadow:
    inset var(--shadow-nav-inset-offset-dark) var(--shadow-nav-inset-offset-dark)
      var(--shadow-nav-inset-blur) #00000066,
    inset var(--shadow-nav-inset-offset-light) var(--shadow-nav-inset-offset-light)
      var(--shadow-nav-inset-blur) #ffffffcc;
}

/* Restore the original card-specific neumorphic shadows. The outer offset
 * and blur are exposed as variables so responsive.css can shrink them on
 * narrow viewports (otherwise adjacent card shadows overlap once the grid
 * gap becomes smaller than the shadow reach). */
:root {
  --card-shadow-offset: .625rem;
  --card-shadow-blur: .75rem;
  --shadow-card-raised: inset .0625rem .0625rem 0 rgba(255, 255, 255, .55),
    calc(-1 * var(--card-shadow-offset)) calc(-1 * var(--card-shadow-offset))
      var(--card-shadow-blur) rgba(255, 255, 255, .55),
    var(--card-shadow-offset) var(--card-shadow-offset) var(--card-shadow-blur)
      rgba(0, 0, 0, .12);
  --shadow-card-snack: var(--card-shadow-offset) var(--card-shadow-offset)
      var(--card-shadow-blur) rgba(0, 0, 0, .12),
    calc(-1 * var(--card-shadow-offset)) calc(-1 * var(--card-shadow-offset))
      var(--card-shadow-blur) rgba(255, 255, 255, .55),
    inset .0625rem .0625rem 0 rgba(255, 255, 255, .55);
  --shadow-card-home-inset: inset calc(-1 * var(--card-shadow-offset))
      calc(-1 * var(--card-shadow-offset))
      var(--card-shadow-blur) rgba(255, 255, 255, .55),
    inset var(--card-shadow-offset)
      var(--card-shadow-offset)
      var(--card-shadow-blur)
      rgba(0, 0, 0, .08);
}



.photography-card__link,
.project-card,
.portfolio-card {
  box-shadow: var(--shadow-card-raised);
}

.snack-card,
.about-biography {
  box-shadow: var(--shadow-card-snack);
}

.home-portfolio-link,
.about-hero-card {
  box-shadow: var(--shadow-card-home-inset);
}



/* Restore all original homepage surface shadows,
not only the main card. (2026-08-14 全部减淡收缩) */
.page-home .home-card-grid {
  box-shadow: -.625rem -.625rem .75rem rgba(255, 255, 255, .55),
    .625rem .625rem .75rem rgba(0, 0, 0, .12);
}

.page-home .home-card-link {
  box-shadow: inset .0625rem .0625rem 0 rgba(255, 255, 255, .55),
    -.25rem -.25rem .4375rem rgba(255, 255, 255, .55),
    .25rem .25rem .4375rem rgba(0, 0, 0, .12);
}

.page-home .home-mini-card-link {
  box-shadow: inset -.25rem -.25rem .4375rem rgba(255, 255, 255, .55),
    inset .25rem .25rem .4375rem rgba(0, 0, 0, .12);
}

.page-home .about-biography__intro,
.page-home .home-portfolio-card__media {
  box-shadow: inset .0625rem .0625rem 0 rgba(255, 255, 255, .55),
    -.25rem -.25rem .375rem rgba(255, 255, 255, .55),
    .25rem .25rem .4375rem rgba(0, 0, 0, .12);
}

.page-home .about-resource-card {
  box-shadow: inset -.25rem -.25rem .5rem rgba(255, 255, 255, .55),
    inset .25rem .25rem .5rem rgba(0, 0, 0, .18),
    -.25rem -.25rem .5rem rgba(255, 255, 255, .55),
    .25rem .25rem .5rem rgba(0, 0, 0, .18);
}

.page-home .about-hero-card__content {
  box-shadow: inset .0625rem .0625rem 0 rgba(255, 255, 255, .55),
    -.25rem -.25rem .5rem rgba(255, 255, 255, .55),
    .25rem .25rem .5rem rgba(0, 0, 0, .18);
}

.page-home .home-intro__copy {
  box-shadow: inset -.25rem -.25rem .625rem rgba(255, 255, 255, .55),
    inset .25rem .25rem .625rem rgba(0, 0, 0, .08),
    inset .0625rem .0625rem .125rem rgba(255, 255, 255, .45),
    -.625rem -.625rem .75rem rgba(255, 255, 255, .55),
    .625rem .625rem .75rem rgba(0, 0, 0, .12);
}

.page-home .home-brand {
  box-shadow: inset .25rem .25rem .625rem rgba(0, 0, 0, .08),
    inset -.25rem -.25rem .625rem rgba(255, 255, 255, .55),
    -.625rem -.625rem .75rem rgba(255, 255, 255, .55),
    .625rem .625rem .75rem rgba(0, 0, 0, .12);
}

.page-home .home-brand__image,
.page-home .home-intro__text {
  box-shadow: 0 .125rem .3125rem rgba(0, 0, 0, .12);
}

/* Smooth same-origin navigation without changing the multi-page structure. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: page-out var(--motion-page-duration)
    var(--motion-page-easing) both;
}

::view-transition-new(root) {
  animation: page-in var(--motion-page-duration)
    var(--motion-page-easing) both;
}

@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-.25rem);
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* About Me: preserve the original shadows only for its three action rectangles.
 * (2026-08-14 全部减淡收缩) */
.page-about .about-hero-card {
  box-shadow: inset .25rem .25rem .5rem rgba(0, 0, 0, .18),
    inset -.25rem -.25rem .5rem rgba(255, 255, 255, .55),
    .0625rem .0625rem .125rem rgba(255, 255, 255, .45);
}

.page-about .about-hero-card__content {
  box-shadow: .25rem .25rem .5rem rgba(0, 0, 0, .18),
    -.25rem -.25rem .5rem rgba(255, 255, 255, .55),
    inset .0625rem .0625rem 0 rgba(255, 255, 255, .55);
}

.page-about .about-resource-card {
  box-shadow: inset -.25rem -.25rem .5rem rgba(255, 255, 255, .55),
    inset .25rem .25rem .5rem rgba(0, 0, 0, .18),
    .25rem .25rem .5rem rgba(0, 0, 0, .18),
    -.25rem -.25rem .5rem rgba(255, 255, 255, .55),
    inset .0625rem .0625rem .125rem rgba(255, 255, 255, .45);
}

/* Responsive homepage jump controls: the circular controls scale smoothly
 * with the viewport instead of staying at a fixed size. */
:root {
  --home-jump-control-size: clamp(2.25rem, 5vw, 3rem);
  --home-jump-icon-size: clamp(1rem, 2vw, 1.25rem);
}

.page-home .card-action-bar__icon,
.page-home .card-action-bar__icon--compact,
.page-home .home-mini-card__icon {
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: auto;
  min-width: var(--home-jump-control-size);
  min-height: var(--home-jump-control-size);
  padding: .625rem;
  border-radius: 999rem;
}

.page-home .card-action-bar__content {
  gap: .75rem;
  padding-left: .75rem;
}

.page-home .icon-open,
.page-home .icon-chevron {
  flex: 0 0 var(--home-jump-icon-size);
  width: var(--home-jump-icon-size);
  height: var(--home-jump-icon-size);
  padding: 0;
  overflow: visible;
}

.page-home .icon-open img,
.page-home .icon-chevron img,
.page-home .home-mini-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 47.9375rem) {
  :root {
    --home-jump-control-size: 2.75rem;
    --home-jump-icon-size: 1.125rem;
  }

  .page-home .card-action-bar,
  .page-home .home-mini-card-link {
    min-height: 3.5rem;
    padding: .5rem .75rem;
  }
}

/* Let Photograph jump controls scale beyond their circular bounds. */
.photography-list .photography-card__link,
.photography-list .photography-card,
.photography-list .photography-card__content,
.photography-list .photography-card__action {
  overflow: visible;
}

.photography-list .photography-card__action {
  padding-right: .375rem;
  padding-bottom: .375rem;
}

.photography-list .photography-card__media {
  flex: 0 0 auto;
  width: auto;
  min-width: var(--touch-target, 2.75rem);
  min-height: var(--touch-target, 2.75rem);
  transform-origin: center;
}

/* Elegy: video column on the right half (mirrors .snack-gallery-secondary geometry) */
.snack-video-aside {
  flex: 0 0 auto;
  width: 50vw;
  max-width: 50vw;
  height: 100vh;
  margin-top: -50px;
  padding-left: 1vw;
  padding-right: 1vw;
  display: flex;
  flex-flow: column;
  justify-content: center;
  overflow: auto;
}

.snack-video-aside .snack-embed {
  width: 100%;
  height: auto;
}

.snack-video-aside .video-embed {
  width: 100%;
}

/* Vision Board Pro: case study page
 * Typography follows the site's unified hierarchy tokens (site.css :root):
 * page title > section title > card title > body > supporting text.
 * Text blocks span the same width as the figure containers. */
.case-study {
  color: #3d3d3d;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 6vh 2vw 0;
}

.case-study__eyebrow {
  color: #3d3d3d80;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 1.2rem;
}

.case-study__title {
  color: #3d3d3d;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-page-title);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: var(--line-height-heading);
  margin: 0 0 1.5rem;
}

.case-study__lede {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  margin: 0 0 2.5rem;
}

.case-study__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid #c7c7c7;
  border-bottom: 1px solid #c7c7c7;
  padding: 1.5rem 0;
}

.case-study__meta-label {
  color: #3d3d3d80;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: .4rem;
}

.case-study__meta-value {
  color: #3d3d3dcc;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
}

.case-study__section {
  margin-top: 9vh;
}

.case-study__section-label {
  color: #3d3d3d80;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: .8rem;
}

.case-study__section-title {
  color: #3d3d3d;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-page-title);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: var(--line-height-heading);
  margin: 0 0 1.6rem;
}

.case-study__text p {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  margin: 0 0 1.1em;
}

.case-study__text strong {
  font-weight: 700;
}

.case-study__figure {
  margin-top: 3vh;
}

.case-study__figure .portfolio-detail__image {
  display: block;
  width: 100%;
  margin-top: 0;
}

.case-study__figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3vh;
}

.case-study__figure-grid .portfolio-detail__image {
  display: block;
  width: 100%;
  margin-top: 0;
}

.case-study__caption {
  color: #3d3d3d80;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-caption);
  font-weight: 400;
  line-height: 120%;
  margin-top: .8rem;
}

.case-study__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3vh;
}

.case-study__card {
  background-color: #ececec;
  border-radius: 1.5rem;
  corner-shape: squircle;
  padding: 1.6rem;
}

.case-study__card-title {
  color: #3d3d3d;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: var(--line-height-compact);
  margin: 0 0 .6rem;
}

.case-study__card-text {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  margin: 0;
}

.case-study__quote {
  border-left: 3px solid #3d3d3d;
  color: #666;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-body);
  font-style: italic;
  font-weight: 500;
  line-height: var(--line-height-body);
  margin: 2.5vh 0 0;
  padding-left: 1.2rem;
}

.case-study__step {
  display: flex;
  gap: 1.5rem;
  margin-top: 6vh;
}

.case-study__step-number {
  flex: 0 0 auto;
  color: #fff;
  background-color: #3d3d3d;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
}

.case-study__step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.case-study__step-title {
  color: #3d3d3d;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: var(--line-height-compact);
  margin: .55rem 0 .8rem;
}

@media (max-width: 767px) {
  .case-study {
    padding: 4vh 4vw 0;
  }

  .case-study__meta {
    grid-template-columns: 1fr 1fr;
  }

  .case-study__figure-grid,
  .case-study__cards {
    grid-template-columns: 1fr;
  }

  .case-study__step {
    flex-direction: column;
    gap: .8rem;
  }
}

/* Project detail pages: keep wheel/touch/keyboard scrolling while hiding the
 * visual scroll rail. */
.page-portfolio-detail .collection-scroll-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-portfolio-detail .collection-scroll-container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Hey, Cili: editorial case study built from the installation deck and the
 * working Joke-robot repository. It extends the neutral Vision Board Pro
 * system with the dark exhibition palette without changing site chrome. */
.page-hey-cili .portfolio-detail-layout {
  box-sizing: border-box;
}

.case-study--hey-cili {
  --hey-cili-accent: #c8e47a;
  --project-hero: #080808;
  --project-hero-text: #f4f4f0;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/hey-cili/hey-cili-robot.webp");
  --project-hero-image-position: 50% 38%;
  box-sizing: border-box;
  max-width: min(1080px, 100%);
  padding-bottom: 14vh;
}

.case-study--hey-cili *,
.case-study--hey-cili *:before,
.case-study--hey-cili *:after {
  box-sizing: border-box;
}

.case-study__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.case-study__source-link {
  color: #f4f4f0;
  background: #1b1b1b;
  border: 1px solid #1b1b1b;
  border-radius: 999px;
align-items: center;
  gap: .65rem;
  padding: .8rem 1.1rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
  display: inline-flex;
}

.case-study__source-link:hover,
.case-study__source-link:focus-visible {
  color: #1b1b1b;
  background: var(--hey-cili-accent, #d7e8a5);
  border-color: var(--hey-cili-accent, #d7e8a5);
}

.case-study__source-link:focus-visible {
  outline: 2px solid #3d3d3d;
  outline-offset: 3px;
}

.hey-cili__hero {
  background-color: #080808;
  background-image: url("https://static.yansongdesign.cn/images/projects/hey-cili/hey-cili-robot.webp");
  background-position: 50% 38%;
  background-size: cover;
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: max-content minmax(0, 1fr);
  min-height: 38rem;
  margin-top: 5vh;
  box-shadow: var(--shadow-overlay);
  display: grid;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hey-cili__hero-copy {
  color: #f4f4f0;
  background-color: #08080866;
  -webkit-backdrop-filter: blur(.9rem) saturate(.9);
  backdrop-filter: blur(.9rem) saturate(.9);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  position: relative;
  z-index: 1;
}

.hey-cili__hero-copy:after {
  content: "";
  width: clamp(5rem, 22%, 9rem);
  background-color: #08080852;
  -webkit-backdrop-filter: blur(.9rem) saturate(.9);
  backdrop-filter: blur(.9rem) saturate(.9);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #0009 42%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #0009 42%, transparent 100%);
  pointer-events: none;
  position: absolute;
  inset: 0 auto 0 100%;
}

.hey-cili__hero-kicker {
  color: #f4f4f099;
  margin: 0 0 1.2rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.hey-cili__hero-title {
  color: #f4f4f0;
  margin: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(2.8rem, 5.25vw, 5rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .94;
}

.hey-cili__hero-text {
  color: #f4f4f0b8;
  max-width: 31rem;
  margin: 2rem 0 0;
  font-size: clamp(.95rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

.hey-cili__status {
  color: #f4f4f099;
  align-items: center;
  gap: .6rem;
  margin-top: 2.5rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  display: flex;
}

.hey-cili__status-dot {
  background: var(--hey-cili-accent);
  border-radius: 50%;
  width: .55rem;
  height: .55rem;
  box-shadow: 0 0 1.25rem #c8e47abf;
}

.hey-cili__hero-media {
  min-width: 0;
  min-height: 38rem;
  position: relative;
  overflow: hidden;
}

.hey-cili__hero-media img {
  object-fit: cover;
  object-position: 50% 38%;
  width: 100%;
  height: 100%;
  display: block;
}

.hey-cili__signals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3vh;
  display: grid;
}

.hey-cili__signal {
  color: #f4f4f0;
  background: #171717;
  border-radius: 1.5rem;
  corner-shape: squircle;
  min-width: 0;
  padding: 1.6rem;
}

.hey-cili__signal > span {
  color: var(--hey-cili-accent);
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.hey-cili__signal h3 {
  color: #f4f4f0;
  margin: 1.7rem 0 .65rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: var(--line-height-compact);
}

.hey-cili__signal p {
  color: #f4f4f0b3;
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.hey-cili__flow {
  counter-reset: hey-flow;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3vh;
  display: grid;
}

.hey-cili__flow-step {
  background: #ececec;
  border: 1px solid #3d3d3d1f;
  border-radius: 1.5rem;
  corner-shape: squircle;
  min-width: 0;
  min-height: 13rem;
  padding: 1.5rem;
}

.hey-cili__flow-number {
  color: #3d3d3d73;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.hey-cili__flow-step h3 {
  color: #3d3d3d;
  margin: 2.2rem 0 .6rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

.hey-cili__flow-step p {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.hey-cili__system-figure {
  background: #050505;
  border-radius: 2rem;
  corner-shape: squircle;
  margin: 3vh 0 0;
  padding: clamp(1rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-overlay);
}

.hey-cili__system-figure img {
  object-fit: contain;
  width: 100%;
  max-height: 45rem;
  display: block;
}

.hey-cili__system-figure .case-study__caption {
  color: #f4f4f080;
}

.hey-cili__technical-grid .case-study__card {
  border: 1px solid #3d3d3d12;
}

.hey-cili__architecture {
  color: #f4f4f0;
  background: #171717;
  border-radius: 999px;
justify-content: center;
  align-items: center;
  gap: clamp(.45rem, 1.35vw, 1rem);
  margin-top: 3vh;
  padding: 1.25rem 1.5rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(.62rem, 1.05vw, .82rem);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  display: flex;
  overflow: hidden;
}

.hey-cili__architecture i {
  color: var(--hey-cili-accent);
  font-style: normal;
}

.hey-cili__behavior-grid {
  border-top: 1px solid #c7c7c7;
  border-bottom: 1px solid #c7c7c7;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3vh;
  padding: 1.5rem 0;
  display: grid;
}

.hey-cili__behavior-grid span {
  color: #3d3d3d80;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.hey-cili__behavior-grid p {
  margin: .7rem 0 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.hey-cili__video {
  background: #0a0a0a;
}

.case-study--hey-cili .case-study__caption a {
  color: inherit;
  text-decoration-color: #3d3d3d4d;
  text-underline-offset: .18em;
}

.case-study--hey-cili .case-study__caption a:hover,
.case-study--hey-cili .case-study__caption a:focus-visible {
  color: #3d3d3d;
}

.hey-cili__gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 5vh;
  display: grid;
}

.hey-cili__gallery-item {
  border-radius: 2rem;
  corner-shape: squircle;
  min-width: 0;
  margin: 0;
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
}

.hey-cili__gallery-item--portrait {
  aspect-ratio: 2 / 3;
}

.hey-cili__gallery-item--wide {
  aspect-ratio: 3 / 2;
  grid-column: 1 / -1;
}

.hey-cili__gallery-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.hey-cili__reflection-grid {
  margin-top: 0;
}

.hey-cili__project-end {
  border-top: 1px solid #c7c7c7;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: 6vh;
  padding-top: 2rem;
  display: flex;
}

.hey-cili__project-end p {
  max-width: 35rem;
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

@media (max-width: 991px) {
  .hey-cili__hero {
    grid-template-columns: 1fr 1fr;
    min-height: 33rem;
  }

  .hey-cili__hero-media {
    min-height: 33rem;
  }

  .hey-cili__flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hey-cili__architecture {
    border-radius: 1.5rem;
flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .case-study--hey-cili {
    padding-bottom: 20vh;
  }

  .hey-cili__hero {
    border-radius: 1.5rem;
  corner-shape: squircle;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hey-cili__hero-copy {
    min-height: 29rem;
    padding: 2rem;
  }

  .hey-cili__hero-media {
    min-height: min(145vw, 38rem);
  }

  .hey-cili__hero-media:after {
    content: none;
  }

  .hey-cili__hero-copy:after {
    width: 100%;
    height: clamp(4.5rem, 24vw, 6.5rem);
    background-color: #08080852;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #0009 42%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #0009 42%, transparent 100%);
    inset: 100% 0 auto;
  }

  .hey-cili__signals,
  .hey-cili__flow,
  .hey-cili__behavior-grid,
  .hey-cili__gallery {
    grid-template-columns: 1fr;
  }

  .hey-cili__flow-step {
    min-height: 0;
  }

  .hey-cili__flow-step h3 {
    margin-top: 1.5rem;
  }

  .hey-cili__system-figure,
  .hey-cili__gallery-item {
    border-radius: 1.5rem;
  corner-shape: squircle;
  }

  .hey-cili__architecture {
    justify-content: flex-start;
    line-height: 1.5;
  }

  .hey-cili__gallery-item--wide {
    grid-column: auto;
  }

  .hey-cili__project-end {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-study__source-link {
    transition: none;
  }
}

/* Smart Emotional Furniture: a spatial case study using Ava's violet/pink
 * atmosphere while keeping the site's neutral editorial framework. */
.page-smart-emotional-furniture .portfolio-detail-layout {
  box-sizing: border-box;
}

.case-study--ava {
  --ava-pink: #ff5f9f;
  --ava-violet: #a74df2;
  --ava-ink: #140d18;
  --hey-cili-accent: #ff83b6;
  --project-hero: var(--ava-ink);
  --project-hero-text: #fff8fb;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/smart-emotional-furniture/final-installation.webp");
  --project-hero-image-position: 54% 50%;
  box-sizing: border-box;
  max-width: min(1080px, 100%);
  padding-bottom: 14vh;
}

.case-study--ava *,
.case-study--ava *:before,
.case-study--ava *:after {
  box-sizing: border-box;
}

.ava__hero {
  background: var(--ava-ink);
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: max-content minmax(0, 1fr);
  min-height: 39rem;
  margin-top: 5vh;
  box-shadow: var(--shadow-overlay);
  display: grid;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ava__hero-atmosphere {
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .62;
  mix-blend-mode: screen;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.ava__hero:after {
  content: "";
  background: linear-gradient(90deg, #120b15f2 0%, #120b15c4 43%, #120b1514 78%);
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.ava__hero-copy {
  color: #fff8fb;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
}

.ava__hero-kicker {
  color: #fff8fba8;
  margin: 0 0 1.25rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.ava__hero-title {
  color: #fff8fb;
  margin: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .9;
}

.ava__hero-text {
  color: #fff8fbc2;
  max-width: 30rem;
  margin: 2rem 0 0;
  font-size: clamp(.95rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

.ava__live {
  color: #fff8fba8;
  align-items: center;
  gap: .6rem;
  margin-top: 2.5rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  display: flex;
}

.ava__live span {
  background: #ff8bbc;
  border-radius: 50%;
  width: .55rem;
  height: .55rem;
  box-shadow: 0 0 1.25rem #ff5f9fe6;
}

.ava__hero-media {
  min-width: 0;
  margin: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) 0;
  border: 1px solid #ffffff29;
  border-radius: 1.5rem;
  corner-shape: squircle;
  position: relative;
  overflow: hidden;
}

.ava__hero-media:after {
  content: "";
  background: linear-gradient(180deg, transparent 54%, #08040ac7 100%);
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.ava__hero-media > img {
  object-fit: cover;
  object-position: 54% 50%;
  width: 100%;
  height: 100%;
  display: block;
}

.ava__hero-readout {
  color: #fff;
  grid-template-columns: auto 1fr;
  gap: .25rem 1rem;
  align-items: end;
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  z-index: 1;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  display: grid;
}

.ava__hero-readout span,
.ava__hero-readout i {
  color: #ffffff9c;
  font-size: .62rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
}

.ava__hero-readout strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.ava__hero-readout i {
  grid-column: 2;
}

.ava__scenario-grid {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 1.5rem;
  margin-top: 3vh;
  display: grid;
}

.ava__persona {
  background: #1a121d;
  border-radius: 1.5rem;
  corner-shape: squircle;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.ava__persona img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  display: block;
}

.ava__persona figcaption {
  color: #fff8fb;
  padding: 1.5rem;
}

.ava__persona figcaption span {
  color: #ff91bf;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.ava__persona figcaption strong {
  margin-top: .75rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  line-height: var(--line-height-compact);
  display: block;
}

.ava__persona figcaption p {
  color: #fff8fbb5;
  margin: .7rem 0 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.ava__day {
  border-top: 1px solid #b7b7b7;
}

.ava__day article {
  border-bottom: 1px solid #b7b7b7;
  grid-template-columns: 4.5rem minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  display: grid;
}

.ava__day span {
  color: #3d3d3d7a;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.ava__day h3 {
  color: #3d3d3d;
  margin: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

.ava__day p {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.ava__pipeline {
  color: #fff8fb;
  background: #171018;
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(.7rem, 2vw, 1.5rem);
  align-items: center;
  margin-top: 3vh;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
}

.ava__pipeline article {
  min-width: 0;
  min-height: 14.5rem;
}

.ava__pipeline > i {
  color: #ff7eb3;
  font-size: 1.5rem;
  font-style: normal;
}

.ava__pipeline span {
  color: #ff88b9;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.ava__pipeline h3 {
  color: #fff8fb;
  margin: 1.4rem 0 .9rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

.ava__pipeline ul {
  color: #fff8fbb2;
  margin: 0;
  padding-left: 1.1rem;
  font-size: var(--font-size-body);
  line-height: 1.7;
}

.ava__panorama {
  background: #111;
  border-radius: 2rem;
  corner-shape: squircle;
  margin: 3vh 0 0;
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}

.ava__panorama img {
  width: 100%;
  display: block;
}

.ava__panorama .case-study__caption {
  color: #ffffff80;
}

.ava__process-strip {
  border-top: 1px solid #b7b7b7;
  border-bottom: 1px solid #b7b7b7;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: .7rem;
  align-items: center;
  margin-top: 3vh;
  padding: 1.4rem 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(.72rem, 1.2vw, .9rem);
  font-weight: 600;
  line-height: 1.25;
  display: grid;
}

.ava__process-strip div {
  align-items: center;
  gap: .65rem;
  display: flex;
}

.ava__process-strip span,
.ava__process-strip i {
  color: #a43b80;
  font-style: normal;
}

.ava__process-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3vh;
  display: grid;
}

.ava__process-gallery figure,
.ava__tool-grid figure {
  background: #181218;
  border-radius: 1.5rem;
  corner-shape: squircle;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.ava__process-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  display: block;
}

.ava__process-gallery figcaption,
.ava__tool-grid figcaption {
  color: #fff8fba3;
  padding: .85rem 1rem 1rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-caption);
  font-weight: 400;
  line-height: 1.25;
}

.ava__tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  display: grid;
}

.ava__tool-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  display: block;
}

.ava__modes {
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3vh;
  display: flex;
}

.ava__mode {
  color: #fff;
  background: #8f7357;
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: minmax(15rem, .36fr) minmax(0, 1.64fr);
  min-height: 18rem;
  display: grid;
  overflow: hidden;
}

.ava__mode--space {
  background: #151023;
}

.ava__mode--enjoy {
  background: #6f914f;
}

.ava__mode-copy {
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
}

.ava__mode-copy span {
  color: #ffffff9e;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.ava__mode-copy h3 {
  color: #fff;
  margin: 1.2rem 0 .6rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}

.ava__mode-copy p {
  color: #ffffffbd;
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.ava__mode img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  display: block;
}

.ava__launch-figure {
  border-radius: 2rem;
  corner-shape: squircle;
  overflow: hidden;
}

.ava__launch-figure .case-study__caption {
  margin: 0;
  padding: .9rem 1rem 1rem;
}

.ava__quotes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3vh;
  display: grid;
}

.ava__quotes blockquote {
  background: #ececec;
  border: 1px solid #3d3d3d12;
  border-radius: 1.5rem;
  corner-shape: squircle;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 15rem;
  margin: 0;
  padding: 1.5rem;
  display: flex;
}

.ava__quotes p {
  color: #3d3d3d;
  margin: 0;
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: var(--line-height-body);
}

.ava__quotes cite {
  color: #3d3d3d80;
  margin-top: 2rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-caption);
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
}

.ava__reflection-grid {
  margin-top: 0;
}

.ava__reflection-grid .case-study__card {
  border-top: 3px solid #ba4c8d;
}

.ava__project-end {
  color: #fff8fb;
  background: linear-gradient(115deg, #1a101d 0%, #581641 55%, #8f3aca 100%);
  border-radius: 2rem;
  corner-shape: squircle;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 6vh;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
}

.ava__project-end > div {
  max-width: 38rem;
}

.ava__project-end span {
  color: #fff8fb99;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.ava__project-end p {
  margin: .9rem 0 0;
  font-size: var(--font-size-card-title);
  font-weight: 500;
  line-height: var(--line-height-compact);
}

.ava__project-end .case-study__source-link {
  flex: 0 0 auto;
}

@media (max-width: 991px) {
  .ava__hero {
    grid-template-columns: .9fr 1.1fr;
    min-height: 34rem;
  }

  .ava__scenario-grid {
    grid-template-columns: 1fr;
  }

  .ava__persona {
    grid-template-columns: .9fr 1.1fr;
    display: grid;
  }

  .ava__persona img {
    aspect-ratio: auto;
    height: 100%;
  }

  .ava__persona figcaption {
    align-self: center;
  }

  .ava__pipeline {
    grid-template-columns: 1fr;
  }

  .ava__pipeline article {
    min-height: 0;
  }

  .ava__pipeline > i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .ava__mode {
    grid-template-columns: minmax(13rem, .46fr) minmax(0, 1.54fr);
  }

  .ava__quotes {
    grid-template-columns: 1fr;
  }

  .ava__quotes blockquote {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .case-study--ava {
    padding-bottom: 20vh;
  }

  .ava__hero {
    border-radius: 1.5rem;
  corner-shape: squircle;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ava__hero:after {
    background: linear-gradient(180deg, #120b15e8 0%, #120b157d 47%, #120b1514 80%);
  }

  .ava__hero-copy {
    min-height: 28rem;
    padding: 2rem;
  }

  .ava__hero-media {
    min-height: 25rem;
    margin: 0 1rem 1rem;
  }

  .ava__scenario-grid,
  .ava__process-gallery,
  .ava__tool-grid {
    grid-template-columns: 1fr;
  }

  .ava__persona {
    grid-template-columns: 1fr;
  }

  .ava__persona img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .ava__day article {
    grid-template-columns: 3.5rem 1fr;
  }

  .ava__day p {
    grid-column: 2;
  }

  .ava__pipeline,
  .ava__panorama,
  .ava__launch-figure,
  .ava__project-end {
    border-radius: 1.5rem;
  corner-shape: squircle;
  }

  .ava__process-strip {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .ava__process-strip i {
    display: none;
  }

  .ava__mode {
    border-radius: 1.5rem;
  corner-shape: squircle;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ava__mode-copy {
    min-height: 14rem;
  }

  .ava__mode img {
    aspect-ratio: 16 / 7;
    min-height: 13rem;
  }

  .ava__project-end {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Native project presentations share one responsive geometry while project
 * variables preserve each work's original visual language. */
.page-picking .portfolio-detail-layout,
.page-superpower .portfolio-detail-layout,
.page-edge-of-passing .portfolio-detail-layout,
.page-behavior-research .portfolio-detail-layout,
.page-cowbella-farms .portfolio-detail-layout,
.page-eden-housing .portfolio-detail-layout,
.page-pcrec .portfolio-detail-layout {
  box-sizing: border-box;
}

/* Project-detail canvases use project-tinted neutrals instead of repeating
 * the gray collection background. The inline legacy color is intentionally
 * overridden so archived markup can keep its original structure. */
.page-picking .portfolio-detail-layout {
  background-color: #f1f7fd !important;
}

.page-superpower .portfolio-detail-layout {
  background-color: #f7f3fc !important;
}

.page-edge-of-passing .portfolio-detail-layout {
  background-color: #f5f2e8 !important;
}

.page-smart-emotional-furniture .portfolio-detail-layout {
  background-color: #f7f1f4 !important;
}

.page-hey-cili .portfolio-detail-layout {
  background-color: #f2f5ee !important;
}

.page-vision-board-pro .portfolio-detail-layout {
  background-color: #f7f4ee !important;
}

.page-behavior-research .portfolio-detail-layout {
  background-color: #f2f7fc !important;
}

.page-cowbella-farms .portfolio-detail-layout {
  background-color: #f7f4ee !important;
}

.page-eden-housing .portfolio-detail-layout {
  background-color: #f4f7f0 !important;
}

.page-pcrec .portfolio-detail-layout {
  background-color: #f8f2ef !important;
}

.case-study--hey-cili .case-study__card,
.hey-cili__flow-step {
  background-color: #fbfcf8;
  border: 1px solid #6172471f;
}

.case-study--ava .case-study__card,
.ava__quotes blockquote {
  background-color: #fdf9fb;
  border: 1px solid #8e526e1f;
}

.page-vision-board-pro .case-study__card {
  background-color: #fdfbf7;
  border: 1px solid #76694e1f;
}

.case-study--product {
  --project-accent: #1677ff;
  --project-accent-soft: #b8dbff;
  --project-hero: #075fca;
  --project-hero-text: #fff;
  --project-panel: #ececec;
  --project-ink: #17212a;
  --hey-cili-accent: var(--project-accent-soft);
  box-sizing: border-box;
  max-width: min(1080px, 100%);
  padding-bottom: 14vh;
}

.case-study--product *,
.case-study--product *:before,
.case-study--product *:after {
  box-sizing: border-box;
}

.case-study--picking {
  --project-accent: #0080ff;
  --project-accent-soft: #8fc8ff;
  --project-hero: #0076ed;
  --project-hero-text: #fff;
  --project-panel: #fbfdff;
  --project-ink: #09243d;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/picking/overview-board.webp");
  --project-hero-image-position: 72% 50%;
}

.case-study--superpower {
  --project-accent: #740bff;
  --project-accent-soft: #c89bff;
  --project-hero: #4c129a;
  --project-hero-text: #fff;
  --project-panel: #fdfaff;
  --project-ink: #27123c;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/superpower/hero.webp");
  --project-hero-image-position: 72% 50%;
}

.case-study--edge {
  --project-accent: #b56f28;
  --project-accent-soft: #e3c88c;
  --project-hero: #34332c;
  --project-hero-text: #f3efd8;
  --project-panel: #fbf9f1;
  --project-ink: #2f302a;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/edge-of-passing/start-menu.webp");
  --project-hero-image-position: 54% 50%;
}

.case-study--behavior {
  --project-accent: #2f8fe7;
  --project-accent-soft: #acd4f8;
  --project-hero: #286fb8;
  --project-hero-text: #fff;
  --project-panel: #fbfdff;
  --project-ink: #163650;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/behavior-research/overview.webp");
  --project-hero-image-position: 34% 50%;
}

.case-study--cowbella {
  --project-accent: #2f5348;
  --project-accent-soft: #a9cdbf;
  --project-hero: #3a2821;
  --project-hero-text: #f7f0e6;
  --project-panel: #fdfbf7;
  --project-ink: #382821;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/brandbook-cowbella-farms/hero.webp");
  --project-hero-image-position: 38% 50%;
}

.case-study--eden {
  --project-accent: #5fa744;
  --project-accent-soft: #b7dca8;
  --project-hero: #20285c;
  --project-hero-text: #fff;
  --project-panel: #fbfcf8;
  --project-ink: #20285c;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/eden-housing/hero.webp");
  --project-hero-image-position: 50% 50%;
}

.case-study--pcrec {
  --project-accent: #ff6b65;
  --project-accent-soft: #ffc1bd;
  --project-hero: #232323;
  --project-hero-text: #fff;
  --project-panel: #fdfaf7;
  --project-ink: #332927;
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/pcrec/hero.webp");
  --project-hero-image-position: 34% 50%;
}

.case-study--product .case-study__card {
  background-color: var(--project-panel);
  border: 1px solid color-mix(in srgb, var(--project-accent) 14%, transparent);
}

.project-hero {
  color: var(--project-hero-text);
  background-color: var(--project-hero);
  background-image: var(--project-hero-image);
  background-position: var(--project-hero-image-position, 50% 50%);
  background-size: cover;
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: max-content minmax(0, 1fr);
  width: 100%;
  min-height: 38rem;
  margin-top: 5vh;
  box-shadow: var(--shadow-overlay);
  display: grid;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.project-hero__copy {
  background-color: color-mix(in srgb, var(--project-hero) 40%, transparent);
  -webkit-backdrop-filter: blur(.9rem) saturate(.9);
  backdrop-filter: blur(.9rem) saturate(.9);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 2vw, 1.5rem);
  display: flex;
  position: relative;
  z-index: 1;
}

.project-hero__copy:after {
  content: "";
  width: clamp(2rem, 8%, 3rem);
  background-color: color-mix(in srgb, var(--project-hero) 32%, transparent);
  -webkit-backdrop-filter: blur(.9rem) saturate(.9);
  backdrop-filter: blur(.9rem) saturate(.9);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #0009 42%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #0009 42%, transparent 100%);
  pointer-events: none;
  position: absolute;
  inset: 0 auto 0 100%;
}

.project-hero__kicker {
  color: color-mix(in srgb, var(--project-hero-text) 65%, transparent);
  margin: 0 0 1.25rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.project-hero__title {
  color: var(--project-hero-text);
  margin: 0;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(3rem, 5.6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .92;
}

.project-hero__text {
  color: color-mix(in srgb, var(--project-hero-text) 76%, transparent);
  max-width: 29rem;
  margin: 2rem 0 0;
  font-size: clamp(.95rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

.project-hero__tag {
  color: var(--project-hero-text);
  border: 1px solid color-mix(in srgb, var(--project-hero-text) 35%, transparent);
  border-radius: 999px;
margin-top: 2.3rem;
  padding: .7rem .9rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
}

.project-hero__media {
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.project-hero__media img {
  object-fit: cover;
  object-position: 72% 50%;
  width: 100%;
  height: 100%;
  display: block;
}

.case-study--edge .project-hero__media img {
  object-position: 54% 50%;
}

.case-study--behavior .project-hero__media img {
  object-position: 34% 50%;
}

.case-study--cowbella .project-hero__media img {
  object-position: 38% 50%;
}

.case-study--eden .project-hero__media img {
  object-position: 50% 50%;
}

.case-study--pcrec .project-hero__media img {
  object-position: 34% 50%;
}

.case-study--hey-cili .project-hero__media img {
  object-position: 50% 38%;
}

.case-study--ava .project-hero__media img {
  object-position: 54% 50%;
}

.project-scope-note {
  background: var(--project-panel);
  border-left: 4px solid var(--project-accent);
  border-radius: 0 1.5rem 1.5rem 0;
  corner-shape: squircle;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 3vh;
  padding: 1.5rem;
  display: grid;
}

.project-scope-note > span {
  color: var(--project-accent);
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.project-scope-note h3 {
  color: #3d3d3d;
  margin: 0 0 .55rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

.project-scope-note p {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.project-stat-grid,
.project-taxonomy,
.project-risk-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3vh;
  display: grid;
}

.project-stat,
.project-taxonomy article,
.project-risk-grid article {
  background: var(--project-panel);
  border: 1px solid color-mix(in srgb, var(--project-accent) 14%, transparent);
  border-radius: 1.5rem;
  corner-shape: squircle;
  min-width: 0;
  padding: 1.5rem;
}

.project-stat > span,
.project-taxonomy article > span,
.project-risk-grid article > span {
  color: var(--project-accent);
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.project-stat h3,
.project-taxonomy h3,
.project-risk-grid h3 {
  color: #3d3d3d;
  margin: 1.5rem 0 .6rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

.project-stat p,
.project-taxonomy p,
.project-risk-grid p {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.project-board {
  background: #f6f6f6;
  border-radius: 2rem;
  corner-shape: squircle;
  margin: 3vh 0 0;
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
}

.project-board img {
  width: 100%;
  display: block;
}

.project-board figcaption,
.project-ui-gallery figcaption,
.project-feature__media figcaption {
  color: #3d3d3d80;
  padding: .85rem 1rem 1rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-caption);
  font-weight: 400;
  line-height: 1.25;
}

.project-flow {
  border-top: 1px solid #b7b7b7;
  border-bottom: 1px solid #b7b7b7;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3vh;
  padding: 1.5rem 0;
  display: grid;
}

.project-flow article {
  min-width: 0;
}

.project-flow span {
  color: var(--project-accent);
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.project-flow h3 {
  color: #3d3d3d;
  margin: 1.1rem 0 .5rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

.project-flow p {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.project-feature-list {
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3vh;
  display: flex;
}

.project-feature {
  background: var(--project-panel);
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: minmax(14rem, .66fr) minmax(0, 1.34fr);
  min-height: 24rem;
  display: grid;
  overflow: hidden;
}

.project-feature:nth-child(even) {
  grid-template-columns: minmax(0, 1.34fr) minmax(14rem, .66fr);
}

.project-feature:nth-child(even) .project-feature__copy {
  grid-column: 2;
  grid-row: 1;
}

.project-feature:nth-child(even) .project-feature__media {
  grid-column: 1;
  grid-row: 1;
}

.project-feature__copy {
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
}

.project-feature__copy > span {
  color: var(--project-accent);
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.project-feature__copy h3 {
  color: #3d3d3d;
  margin: 1.2rem 0 .7rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}

.project-feature__copy p {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.project-feature__media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.project-feature__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.project-feature__media--contain {
  background: #f7f4ee;
}

.project-feature__media--contain img {
  object-fit: contain;
}

.project-ui-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3vh;
  display: grid;
}

.project-ui-gallery figure {
  background: var(--project-panel);
  border: 1px solid color-mix(in srgb, var(--project-accent) 12%, transparent);
  border-radius: 1.5rem;
  corner-shape: squircle;
  min-width: 0;
  margin: 0;
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
}

.project-ui-gallery img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  display: block;
}

.project-ui-gallery--edge img {
  background: #25251f;
  object-fit: contain;
}

.project-ui-gallery--boards img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}

.project-pill-list {
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
  display: flex;
}

.project-pill-list span {
  color: #3d3d3d;
  background: var(--project-panel);
  border: 1px solid color-mix(in srgb, var(--project-accent) 24%, transparent);
  border-radius: 999px;
padding: .65rem .9rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
}

.project-memory-map {
  color: #fff;
  background: linear-gradient(135deg, #2e0a62, #740bff 58%, #ab5bff);
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3vh;
  padding: 1px;
  overflow: hidden;
  display: grid;
}

.project-memory-map article {
  background: #210a3ee0;
  min-width: 0;
  min-height: 14rem;
  padding: 1.5rem;
}

.project-memory-map span {
  color: #d9b8ff;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.project-memory-map h3 {
  color: #fff;
  margin: 2rem 0 .7rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

.project-memory-map p {
  color: #ffffffb8;
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.project-taxonomy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-study--edge .project-taxonomy article {
  border-color: #827b5a38;
}

.project-ui-map {
  color: #f3efd8;
  background: #2f302a;
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3vh;
  padding: 1px;
  display: grid;
  overflow: hidden;
}

.project-ui-map article {
  background: #383830;
  min-width: 0;
  min-height: 13rem;
  padding: 1.5rem;
}

.project-ui-map span {
  color: #e4c982;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.project-ui-map h3 {
  color: #f3efd8;
  margin: 1.8rem 0 .6rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: var(--line-height-compact);
}

.project-ui-map p {
  color: #f3efd8b3;
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.project-ui-map--pcrec span {
  color: #ff938e;
}

.project-end {
  color: var(--project-hero-text);
  background: var(--project-hero);
  border-radius: 2rem;
  corner-shape: squircle;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 6vh;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
}

.project-end > div {
  max-width: 40rem;
}

.project-end span {
  color: color-mix(in srgb, var(--project-hero-text) 60%, transparent);
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.project-end p {
  margin: .9rem 0 0;
  font-size: var(--font-size-card-title);
  font-weight: 500;
  line-height: var(--line-height-compact);
}

.project-end .case-study__source-link {
  flex: 0 0 auto;
}

@media (max-width: 991px) {
  .project-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 33rem;
  }

  .project-stat-grid,
  .project-risk-grid,
  .project-memory-map,
  .project-ui-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-feature {
    grid-template-columns: minmax(12rem, .62fr) minmax(0, 1.38fr);
  }

  .project-feature:nth-child(even) {
    grid-template-columns: minmax(0, 1.38fr) minmax(12rem, .62fr);
  }
}

@media (max-width: 767px) {
  .case-study--product {
    padding-bottom: 20vh;
  }

  .project-hero {
    border-radius: 1.5rem;
  corner-shape: squircle;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-hero__copy {
    min-height: 27rem;
    padding: 2rem;
  }

  .project-hero__media {
    min-height: 23rem;
  }

  .project-hero__copy:after {
    width: 100%;
    height: clamp(4.5rem, 24vw, 6.5rem);
    background-color: color-mix(in srgb, var(--project-hero) 32%, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #0009 42%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #0009 42%, transparent 100%);
    inset: 100% 0 auto;
  }

  .project-scope-note {
    grid-template-columns: 1fr;
  }

  .project-stat-grid,
  .project-risk-grid,
  .project-flow,
  .project-memory-map,
  .project-ui-map,
  .project-taxonomy,
  .project-ui-gallery {
    grid-template-columns: 1fr;
  }

  .project-flow {
    gap: 0;
    padding: 0;
  }

  .project-flow article {
    border-bottom: 1px solid #b7b7b7;
    padding: 1.25rem 0;
  }

  .project-flow article:last-child {
    border-bottom: 0;
  }

  .project-feature,
  .project-feature:nth-child(even) {
    border-radius: 1.5rem;
  corner-shape: squircle;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-feature:nth-child(even) .project-feature__copy,
  .project-feature:nth-child(even) .project-feature__media {
    grid-column: auto;
    grid-row: auto;
  }

  .project-feature__copy {
    min-height: 14rem;
  }

  .project-feature__media img {
    aspect-ratio: 16 / 9;
    min-height: 13rem;
  }

  .project-board,
  .project-end {
    border-radius: 1.5rem;
  corner-shape: squircle;
  }

  .project-end {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------------------------------------------------------------------------
 * Pebble — senior project case study (2026).
 * Light mist palette drawn from the exhibition posters; leaf-green accent
 * sampled from the poster system. Reuses the shared .project-hero and
 * .case-study system; custom pieces are the app-screen gallery, the portrait
 * product film, the hardware trio, and the inline light-feedback loop.
 * ------------------------------------------------------------------------ */
.case-study--pebble {
  --project-accent: #689c40;
  --project-accent-soft: #b7dd7a;
  --project-hero: #e7eae2;
  --project-hero-text: #1c2613;
  --project-panel: #f0f2eb;
  --project-ink: #22301a;
  --hey-cili-accent: var(--project-accent-soft);
  --project-hero-image: url("https://static.yansongdesign.cn/images/projects/pebble/pebble-hero.webp");
  --project-hero-image-position: 50% 42%;
  box-sizing: border-box;
  max-width: min(1080px, 100%);
  padding-bottom: 14vh;
}

.case-study--pebble *,
.case-study--pebble *:before,
.case-study--pebble *:after {
  box-sizing: border-box;
}

.case-study--pebble .project-hero__media img {
  object-position: 50% 42%;
}

.case-study--pebble .case-study__card {
  background-color: var(--project-panel);
  border: 1px solid color-mix(in srgb, var(--project-accent) 18%, transparent);
}

/* Pebble: four-up app screen gallery (Home / Water / Map / Ask). */
.pebble__app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3vh;
}

.pebble__app-screen {
  margin: 0;
}

.pebble__app-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.4rem;
  corner-shape: squircle;
  box-shadow: var(--shadow-overlay);
}

.pebble__screen-caption {
  text-align: center;
}

/* Pebble: vertical exhibition cut, phone-like 9:16 frame. */
.pebble__film-portrait {
  aspect-ratio: 9 / 16;
  background: #0e0e0e;
  border-radius: 1.6rem;
  corner-shape: squircle;
  max-width: 22rem;
  width: 100%;
  margin: 3vh auto 0;
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
}

.pebble__film-portrait iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Pebble: hardware prototype photo trio, uniform 4:5 frames. */
.pebble__device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3vh;
}

.pebble__device-grid .portfolio-detail__image {
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  margin-top: 0;
}

/* Pebble: dark panel for the inline light-feedback loop. */
.pebble__light {
  background: #141810;
  border-radius: 2rem;
  corner-shape: squircle;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem);
  grid-column-gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 3vh;
  padding: clamp(1.5rem, 3.5vw, 2.8rem);
  display: grid;
  box-shadow: var(--shadow-overlay);
}

.pebble__light-kicker {
  color: #b7dd7a99;
  margin: 0 0 1rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.pebble__light-title {
  color: #f2f5ec;
  margin: 0 0 1rem;
  font-family: Exo, "HarmonyOS Sans", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.pebble__light-text {
  color: #f2f5ecb0;
  max-width: 30rem;
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.pebble__light-video {
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 1.2rem;
  corner-shape: squircle;
  width: 100%;
  overflow: hidden;
}

.pebble__light-video video {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .pebble__app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pebble__device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pebble__light {
    grid-template-columns: 1fr;
    grid-row-gap: 1.8rem;
  }

  .pebble__light-video {
    max-width: 16rem;
    margin: 0 auto;
  }

  .pebble__film-portrait {
    max-width: 20rem;
  }

  .pebble__device-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
 * Portfolio deck（2026-08-07）：PDF 每页转 WebP 的下滑图片容器
 * 圆角/阴影参考 photography 列表项：外部容器 .5rem 圆角 +
 * --shadow-subtle 阴影 + overflow clip，图片内部无圆角
 * ============================================================ */
.pdf-scroll-gallery {
  grid-column-gap: 2.5vh;
  grid-row-gap: 2.5vh;
  flex-flow: column;
  align-items: center;
  width: 100%;
  margin-top: 6vh;
  display: flex;
}

.pdf-scroll-gallery__frame {
  box-shadow: -.25rem -.25rem .625rem rgba(255, 255, 255, .60),
    .25rem .25rem .625rem rgba(0, 0, 0, .05);
  border-radius: .5rem;
  corner-shape: squircle;
  width: 100%;
  position: relative;
  overflow: clip;
}

.pdf-scroll-gallery__image {
  border-radius: 0;
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .pdf-scroll-gallery {
    grid-row-gap: 1.5vh;
    margin-top: 4vh;
  }

  .pdf-scroll-gallery__frame {
    border-radius: .5rem;
  corner-shape: squircle;
  }
}

/* Portfolio deck 页（2026-08-07）：恢复并自定义滑动条样式。
 * 覆盖 .page-portfolio-detail .collection-scroll-container 的隐藏规则，
 * 细滚动条 + 圆角滑块，匹配站点浅色风格。 */
.page-portfolio-deck .about-scroll-container {
  scrollbar-width: thin;
  scrollbar-color: #3d3d3d66 transparent;
  -ms-overflow-style: auto;
}

/* 桌面横屏：layout 顶部 50px padding 会让 100vh 容器超出视口被裁，
 * 高度修正为 100dvh - 50px；竖屏窄屏保持 responsive.css 的 auto 自然滚动 */
@media screen and (min-width: 48rem), (orientation: landscape) {
  .page-portfolio-deck .about-scroll-container {
    height: calc(100dvh - 50px);
    overflow-y: scroll;
    overflow-x: hidden;
  }
}

.page-portfolio-deck .about-scroll-container::-webkit-scrollbar {
  display: block;
  width: .75rem;
  height: 0;
}

/* 只保留垂直滑块：水平方向直接隐藏 */
.page-portfolio-deck .about-scroll-container::-webkit-scrollbar:horizontal {
  display: none;
  width: 0;
  height: 0;
}

.page-portfolio-deck .about-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.page-portfolio-deck .about-scroll-container::-webkit-scrollbar-thumb {
  background: #3d3d3d59;
  border: .1875rem solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
  corner-shape: squircle;
}

.page-portfolio-deck .about-scroll-container::-webkit-scrollbar-thumb:hover {
  background-color: #3d3d3d8c;
}

.site-nav__about {
  flex-direction: column;
}

.site-nav__lang-button {
  background: none;
  border: 0;
  cursor: pointer;
  justify-content: center;
  align-items: baseline;
  flex: 0 0 auto;
  /* 语言切换与 About 之间的间距跟随视口高度动态缩进：
   * 正常屏 = 40px，矮屏收窄以保证 About 始终在容器内。 */
  margin-bottom: min(2.5rem, 4.5vh);
  gap: .25rem;
  padding: .4375rem 0;
  display: flex;
}

.site-nav__lang-opt {
  color: #3d3d3d80;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1;
  display: inline-block;
  transition: color .2s ease, transform var(--motion-hover-duration)
      var(--motion-hover-easing);
}

.site-nav__lang-opt--current {
  color: #3d3d3d;
  font-weight: 700;
}

.site-nav__lang-sep {
  color: #3d3d3d40;
  font-size: .6875rem;
  line-height: 1;
}

/* ============================================================
 * 玻璃质感圆形按钮（2026-08-13）
 * 原为 #d9d9d9 实色灰底，改为亮玻璃：半透明白 + backdrop blur +
 * 细白描边 + 顶部高光。不支持 backdrop-filter 时降级为半透明白。 */
.card-action-bar__icon,
.card-action-bar__icon--compact {
  background-image: linear-gradient(120deg,
    rgba(245, 245, 245, 0.55) 0%,
    rgba(190, 190, 190, 0.38) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 .25rem .5rem rgba(0, 0, 0, 0.10);
}

/* 卡片 hover 时玻璃按钮随之增亮 */
.home-portfolio-link:hover .card-action-bar__icon,
.home-card-link:hover .card-action-bar__icon--compact,
.listing-card__link:hover .card-action-bar__icon {
  background-color: rgba(255, 255, 255, 0.66);
  border-color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
 * 灰色玻璃容器（2026-08-13）
 * 原为 #0000001a（黑色 10%）实色，改为灰玻璃：深灰半透明 +
 * backdrop blur + 细白描边 + 顶部高光。覆盖：
 *   - .site-nav__about-button  导航栏 About 图标外容器
 *   - .home-mini-card__icon    首页 Photograph/About 卡片跳转图标容器
 *   - .card-action-bar         View more 容器（首页 + About 页） */
.site-nav__about-button,
.home-mini-card__icon,
.card-action-bar {
  background-image: linear-gradient(120deg,
    rgba(210, 210, 210, 0.14) 0%,
    rgba(110, 110, 110, 0.20) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 .25rem .5rem rgba(0, 0, 0, 0.10);
}

/* 卡片 hover 时灰玻璃容器略增亮 */
.home-portfolio-link:hover .card-action-bar,
.home-card-link:hover .card-action-bar,
.home-mini-card-link:hover .home-mini-card__icon {
  background-color: rgba(24, 24, 24, 0.13);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
 * 列表卡片 hover 交互动效（2026-08-14）
 * 设计语言沿用老版本（V1.2-V1.5）响应式 dropdown 的 hover 交互：
 *   hover 浮起 translateY(-.125rem) + 微放大 scale(1.015)
 *   + 投影加深一档 + 180ms ease 过渡；
 *   active 按压回缩 scale(.985) + 凹陷阴影。
 * 仅作用于列表页卡片（portfolio / snacks / photography），
 * 首页卡、基础阴影、布局与 JS 全部不动；触屏设备无 hover 态。
 * ============================================================ */

/* 过渡：全站统一动效变量（280ms 弹性缓动） */
.portfolio-card__link,
.listing-card__link,
.photography-card__link {
  transition: transform var(--motion-hover-duration, 280ms)
      var(--motion-hover-easing, cubic-bezier(.34, 1.35, .64, 1)),
    box-shadow var(--motion-hover-duration, 280ms)
      var(--motion-hover-easing, cubic-bezier(.34, 1.35, .64, 1)),
    background-color var(--motion-hover-duration, 280ms) ease;
}

/* projects / portfolio 列表页：View more + 跳转 icon 容器默认文字/icon 有颜色、
 * 容器透明；hover 卡片时容器变灰并微放大（2026-08-14） */
.page-projects-index .listing-card__action,
.page-portfolio-index .listing-card__action {
  transition: background-color var(--motion-hover-duration, 280ms) ease,
    transform var(--motion-hover-duration, 280ms)
      var(--motion-hover-easing, cubic-bezier(.34, 1.35, .64, 1));
}

.page-projects-index .listing-card__link:hover .listing-card__action,
.page-portfolio-index .portfolio-card__link:hover .listing-card__action {
  background-color: rgba(24, 24, 24, 0.13);
  transform: scale(1.05);
}

@media (hover: hover) and (pointer: fine) {
  /* hover：浮起 + 微放大（老版本 -2px/1.025；卡片尺寸大，scale 收敛 1.015） */
  .portfolio-card__link:hover,
  .listing-card__link:hover,
  .photography-card__link:hover {
    transform: translateY(-.125rem) scale(1.015);
    z-index: 2;
  }

  /* hover：投影在淡基线上加深一档（白 .55→.70、黑 .12→.16、模糊 ×1.15） */
  .portfolio-card__link:hover .portfolio-card,
  .listing-card__link:hover .snack-card,
  .photography-card__link:hover {
    box-shadow:
      inset .0625rem .0625rem 0 rgba(255, 255, 255, .70),
      calc(-1 * var(--card-shadow-offset)) calc(-1 * var(--card-shadow-offset))
        calc(var(--card-shadow-blur) * 1.15) rgba(255, 255, 255, .70),
      var(--card-shadow-offset) var(--card-shadow-offset)
        calc(var(--card-shadow-blur) * 1.15) rgba(0, 0, 0, .16);
  }

  /* active：按压回缩 + 凹陷（老版本 dropdown :active 语言） */
  .portfolio-card__link:active,
  .listing-card__link:active,
  .photography-card__link:active {
    transform: scale(.985);
    transition-duration: var(--motion-press-duration, 120ms);
  }

  .portfolio-card__link:active .portfolio-card,
  .listing-card__link:active .snack-card,
  .photography-card__link:active {
    box-shadow: var(--shadow-inset);
  }
}

/* ============================================================
 * 统一交互动效系统（2026-08-14 同步：navbar / 首页 / about 页）
 * 设计语言沿用老版本响应式 dropdown：浮起 + 微放大 + 投影加深 +
 * 按压回缩。本版起改为弹性缓动（ease-out-back 轻弹）且速度调慢：
 *   hover 280ms cubic-bezier(.34,1.35,.64,1)，按压 120ms。
 * 触屏设备无 hover 态，不影响点击。
 * ============================================================ */
:root {
  --motion-hover-duration: 320ms;
  --motion-hover-easing: cubic-bezier(.34, 1.35, .64, 1);
  --motion-press-duration: 120ms;
}

/* ---- 首页卡片：过渡 ---- */
.home-card-link,
.home-mini-card-link,
.home-portfolio-link,
.about-resource-card__link,
.site-nav__link,
.site-nav__about-button {
  transition: transform var(--motion-hover-duration)
      var(--motion-hover-easing),
    box-shadow var(--motion-hover-duration) var(--motion-hover-easing);
}

@media (hover: hover) and (pointer: fine) {
  /* 首页项目卡 / 迷你卡 hover：浮起 + 挤出阴影加深 */
  .home-card-link:hover,
  .home-mini-card-link:hover {
    transform: translateY(-.125rem) scale(1.015);
    z-index: 2;
    box-shadow:
      inset .0625rem .0625rem 0 rgba(255, 255, 255, .70),
      -.25rem -.3125rem .625rem rgba(255, 255, 255, .70),
      .25rem .3125rem .625rem rgba(0, 0, 0, .16);
  }

  /* 首页主卡（凹陷井）hover：浮起 + 内凹加深 */
  .home-portfolio-link:hover {
    transform: translateY(-.125rem) scale(1.008);
    z-index: 2;
    box-shadow:
      inset -.625rem -.75rem 1rem rgba(255, 255, 255, .65),
      inset .625rem .75rem 1rem rgba(0, 0, 0, .12);
  }

  /* about 页资源卡 hover：浮起 + 阴影加深 */
  .about-resource-card__link:hover {
    transform: translateY(-.125rem) scale(1.015);
    z-index: 2;
  }
  .about-resource-card__link:hover .about-resource-card {
    box-shadow: inset -.25rem -.25rem .5rem rgba(255, 255, 255, .70),
      inset .25rem .25rem .5rem rgba(0, 0, 0, .24),
      -.25rem -.25rem .5rem rgba(255, 255, 255, .70),
      .25rem .25rem .5rem rgba(0, 0, 0, .24),
      inset .0625rem .0625rem .125rem rgba(255, 255, 255, .55);
  }

  /* 按压回缩（首页 / about，与列表卡一致） */
  .home-card-link:active,
  .home-mini-card-link:active,
  .home-portfolio-link:active,
  .about-resource-card__link:active {
    transform: scale(.985);
    transition-duration: var(--motion-press-duration);
  }

  /* ---- navbar 按钮 hover：居中缩放（圆形/胶囊按钮）+ 微增亮 ---- */
  .site-nav__link:hover,
  .site-nav__about-button:hover {
    transform: scale(1.08);
  }
  .site-nav__link:hover .site-nav__button {
    background-color: rgba(255, 255, 255, .18);
  }

  /* navbar 按压回缩 */
  .site-nav__link:active,
  .site-nav__about-button:active {
    transform: scale(.94);
    transition-duration: var(--motion-press-duration);
  }
}

/* ============================================================
 * 玻璃容器独立 hover 动效（2026-08-14）
 * 玻璃容器（View more 条 / 跳转图标 / 圆形箭头钮）在卡片动效
 * 之上再叠加一层自身动效：hover 容器 = 卡片浮起 + 容器浮起，
 * 两层动画相互独立。cover（卡片封面图）同步增加缩放动效。
 * ============================================================ */

/* 玻璃容器过渡（弹性） */
.card-action-bar,
.home-mini-card__icon,
.snack-card__action,
.photography-card__media,
.card-action-bar__icon,
.card-action-bar__icon--compact,
.portfolio-card__image,
.home-portfolio-card__media {
  transition: transform var(--motion-hover-duration)
      var(--motion-hover-easing),
    background-color var(--motion-hover-duration) ease,
    border-color var(--motion-hover-duration) ease,
    box-shadow var(--motion-hover-duration) var(--motion-hover-easing);
}

@media (hover: hover) and (pointer: fine) {
  /* 玻璃容器自身 hover：仅颜色变化，容器大小不变 */
  .card-action-bar:hover {
    background-color: rgba(24, 24, 24, 0.13);
    border-color: rgba(255, 255, 255, 0.6);
  }

  /* 圆形容器 hover：以容器中心居中缩放（无位移） */
  .home-mini-card__icon:hover,
  .photography-card__media:hover {
    transform: scale(1.04);
    background-color: rgba(24, 24, 24, 0.13);
    border-color: rgba(255, 255, 255, 0.6);
  }

  /* 语言切换文字 hover：仅被 hover 的那个文字变深并微放大 */
  .site-nav__lang-opt:hover {
    color: #3d3d3d;
    transform: scale(1.08);
  }

  /* snacks 跳转钮（白玻璃）hover：居中缩放 + 白玻璃增亮 */
  .snack-card__action:hover {
    transform: scale(1.04);
    background-color: rgba(255, 255, 255, 0.66);
    border-color: rgba(255, 255, 255, 0.9);
  }

  /* 圆形箭头按钮 hover：仅颜色变化，容器大小不变 */
  .card-action-bar__icon:hover,
  .card-action-bar__icon--compact:hover {
    background-color: rgba(255, 255, 255, 0.66);
    border-color: rgba(255, 255, 255, 0.9);
  }

  .home-mini-card__icon:active,
  .snack-card__action:active,
  .photography-card__media:active {
    transform: scale(.95);
    transition-duration: var(--motion-press-duration);
  }

  /* about 页资源卡 hover：内部玻璃容器增亮（与首页卡一致） */
  .about-resource-card__link:hover .card-action-bar {
    background-color: rgba(24, 24, 24, 0.13);
    border-color: rgba(255, 255, 255, 0.6);
  }

  /* homepage 主卡 cover hover：图片不动，仅容器轻微放大（media 已 overflow clip 裁切） */
  .home-portfolio-link:hover .home-portfolio-card__media {
    transform: scale(1.02);
  }
}

/* 封面缩放裁切：圆角与封面图一致，防止放大溢出 */
.portfolio-card__media {
  overflow: clip;
  border-radius: 2.8rem;
  corner-shape: squircle;
}

/* ============================================================
 * projects 卡片 View more hover（2026-08-27 用户指定，第二版）
 * 保持胶囊原状，hover 后 x 轴略微变宽：左右 padding 各增加
 * 0.75rem（文字不缩放，比 scale 更克制），平滑过渡。
 * 原 hover scale(1.05) 与加宽叠加会过量，覆盖为 none。
 * ============================================================ */
.page-projects-index .listing-card__action {
  transition: background-color var(--motion-hover-duration, 280ms) ease,
    transform var(--motion-hover-duration, 280ms)
      var(--motion-hover-easing, cubic-bezier(.34, 1.35, .64, 1)),
    padding var(--motion-hover-duration, 280ms)
      var(--motion-hover-easing, cubic-bezier(.34, 1.35, .64, 1));
}

.page-projects-index .listing-card__link:hover .listing-card__action {
  padding-left: calc(1.5vw + 0.75rem);
  padding-right: calc(1.5vw + 0.75rem);
  transform: none;
}

/* ============================================================
 * 深色背景下的浅色导航（2026-08-27 用户指定）
 * 当页面背景为深色时（如 fault-reclamation #171817、thyself
 * hero #151515），默认拟物灰按钮与深色图标在深色背景上
 * 难以辨认。JS（site-navigation.js initNavContrast）探测
 * nav 后方背景亮度，暗则给 body 加 .nav-on-dark：
 *   - 按钮：深色玻璃（半透明白 + blur + 白描边）
 *   - 图标：invert 转白
 *   - 语言切换：浅色文字
 *   - About 按钮：调亮
 * 滚动经过不同亮度区块时自动切换，带过渡。
 * ============================================================ */
.site-nav__button,
.site-nav__about-button,
.site-nav__icon img,
.site-nav__lang-opt,
.site-nav__lang-sep {
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.nav-on-dark .site-nav__icon img {
  filter: invert(1);
}

.nav-on-dark .site-nav__lang-opt {
  color: rgba(255, 255, 255, 0.55);
}

.nav-on-dark .site-nav__lang-opt--current {
  color: #ffffff;
}

.nav-on-dark .site-nav__lang-sep {
  color: rgba(255, 255, 255, 0.32);
}

.nav-on-dark .site-nav__about-button {
  background-color: rgba(255, 255, 255, 0.14);
  background-image: none;
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.35);
}

.nav-on-dark .site-nav__about-icon img {
  filter: invert(1);
}

/* V2.1-corner-compensation : 半径×2.0 补偿 corner-shape 视觉差（仅支持 corner-shape 的浏览器生效） */
@supports (corner-shape: squircle) {
  .thyself-manifesto { border-radius: 4rem; }
  .thyself-tour-card { border-radius: 3rem; }
  .spotify-cover { border-radius: 4rem; }
  .spotify-section { border-radius: 4rem; }
  .spotify-section__media { border-radius: 2rem; }
  .spotify-board-section { border-radius: 4rem; }
  .spotify-board-section figure { border-radius: 2rem; }
  .fault-strip__toolbar { border-radius: 2.2rem 2.2rem 0 0; }
  .fault-strip__end { border-radius: 0 0 2.2rem 2.2rem; }
  .home-portfolio-link { border-radius: 8rem; }
  .home-card-grid { border-radius: 8rem; }
  .home-card-link { border-radius: 6rem; }
  .photography-card__link { border-radius: 2rem; }
  .portfolio-card__image { border-radius: 5.6rem; }
  .snack-card { border-radius: 6rem; }
  .snack-card__media { border-radius: 5rem; }
  .portfolio-card { border-radius: 6rem; }
  .about-biography__intro { border-radius: 6rem; }
  .about-resource-card { border-radius: 4rem; }
  .home-portfolio-card__media { border-radius: 2rem; }
  .about-hero-card__content { border-radius: 6rem; }
  .detail-toolbar__back-icon { border-radius: 40px; }
  .snack-dropdown__list { border-radius: 2rem; }
  .photography-dropdown__list { border-radius: 2rem; }
  .snack-dropdown.w--open { border-radius: 2rem; }
  .portfolio-detail__image { border-radius: 4rem; }
  .portfolio-detail__video { border-radius: 4rem; }
  .project-card { border-radius: 6rem; }
  .case-study__card { border-radius: 3rem; }
  .hey-cili__hero { border-radius: 4rem; }
  .hey-cili__signal { border-radius: 3rem; }
  .hey-cili__flow-step { border-radius: 3rem; }
  .hey-cili__system-figure { border-radius: 4rem; }
  .hey-cili__gallery-item { border-radius: 4rem; }
  .ava__hero { border-radius: 4rem; }
  .ava__hero-media { border-radius: 3rem; }
  .ava__persona { border-radius: 3rem; }
  .ava__pipeline { border-radius: 4rem; }
  .ava__panorama { border-radius: 4rem; }
  .ava__process-gallery figure,
.ava__tool-grid figure { border-radius: 3rem; }
  .ava__mode { border-radius: 4rem; }
  .ava__launch-figure { border-radius: 4rem; }
  .ava__quotes blockquote { border-radius: 3rem; }
  .ava__project-end { border-radius: 4rem; }
  .project-hero { border-radius: 4rem; }
  .project-scope-note { border-radius: 0 3rem 3rem 0; }
  .project-stat,
.project-taxonomy article,
.project-risk-grid article { border-radius: 3rem; }
  .project-board { border-radius: 4rem; }
  .project-feature { border-radius: 4rem; }
  .project-ui-gallery figure { border-radius: 3rem; }
  .project-memory-map { border-radius: 4rem; }
  .project-ui-map { border-radius: 4rem; }
  .project-end { border-radius: 4rem; }
  .pebble__app-screen img { border-radius: 2.8rem; }
  .pebble__film-portrait { border-radius: 3.2rem; }
  .pebble__light { border-radius: 4rem; }
  .pebble__light-video { border-radius: 2.4rem; }
  .portfolio-card__media { border-radius: 5.6rem; }
  @media (max-width: 767px) {
    .thyself-manifesto { border-radius: 3rem; }
    .spotify-cover,
  .spotify-section { border-radius: 3rem; }
    .spotify-board-section { border-radius: 3rem; }
    .hey-cili__hero { border-radius: 3rem; }
    .hey-cili__system-figure,
  .hey-cili__gallery-item { border-radius: 3rem; }
    .ava__hero { border-radius: 3rem; }
    .ava__pipeline,
  .ava__panorama,
  .ava__launch-figure,
  .ava__project-end { border-radius: 3rem; }
    .ava__mode { border-radius: 3rem; }
    .project-hero { border-radius: 3rem; }
    .project-feature,
  .project-feature:nth-child(even) { border-radius: 3rem; }
    .project-board,
  .project-end { border-radius: 3rem; }
  }
  @media (max-width: 991px) {
  }
}