/* Adapt the spatial exhibition template to the existing Chinese portfolio. */
html {
  -webkit-tap-highlight-color: transparent;
}

#site-header {
  gap: 28px;
}

.brand-link {
  flex: none;
}

.brand-text {
  display: grid;
  gap: 4px;
}

.brand-name {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.brand-role {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 10px;
  letter-spacing: .08em;
}

.availability {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-hero);
  font-size: 12px;
  text-decoration: none;
}

.header-tools {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.sound-toggle {
  white-space: nowrap;
}

.sound-toggle .sound-wave span {
  animation-play-state: paused;
  opacity: .55;
}

.sound-toggle.is-on .sound-wave span {
  animation-play-state: running;
  opacity: 1;
}

.cursor-dot,
.cursor-ring {
  display: none;
}

.cursor-dot.is-hidden,
.cursor-ring.is-hidden {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body,
  body a,
  body button {
    cursor: none;
  }

  .cursor-dot {
    display: block;
  }

  .cursor-ring {
    display: flex;
  }
}

.availability .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #67d391;
  box-shadow: 0 0 12px rgba(103, 211, 145, .8);
}

.hero-massive-headline .line-1 {
  display: block;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(22px, 8vw, 116px);
  letter-spacing: -.06em;
  line-height: 1;
  white-space: nowrap;
}

.hero-massive-headline .line-3 {
  font-size: clamp(48px, 8.3vw, 112px);
  line-height: 1;
}

@media (min-width: 761px) {
  .spatial-carousel-stage {
    margin-top: -10px;
  }
}

.hero-intro {
  max-width: 860px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  text-wrap: pretty;
}

.spatial-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.spatial-card:focus-visible,
.work-row:focus-visible,
.nav-arrow:focus-visible,
.availability:focus-visible,
.scroll-down-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.spatial-card:hover,
.spatial-card.is-active {
  box-shadow: 0 28px 72px rgba(0, 0, 0, .42), 0 0 30px rgba(143, 190, 255, .1);
}

.spatial-card:hover .card-glare,
.spatial-card.is-active .card-glare,
.spatial-card:focus-visible .card-glare {
  opacity: .68;
}

.card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.spatial-card:hover .card-visual img {
  transform: scale(1.035);
}

.card-footer strong {
  display: block;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 750;
}

.card-footer span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.section-intro {
  max-width: 650px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.work-row {
  color: inherit;
  text-decoration: none;
}

.work-main {
  display: block;
}

.work-name {
  display: block;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.work-desc {
  display: block;
  line-height: 1.7;
}

.work-tags {
  line-height: 1.7;
}

.statement-lead {
  line-height: 1.8;
}

.metric-digit {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(30px, 3.3vw, 46px);
  letter-spacing: -.06em;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 72px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
}

.profile-details p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.awards-grid-adapted {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.award-block h3 {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.45;
}

.award-block p a {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.honor-records { margin-top: 42px; color: var(--text-hero); }
.honor-records-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.honor-records-heading p { font-size: 13px; opacity: .88; }
.honor-records .honor-records-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-subtle); font-size: 12px; }
.honor-record-featured { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 36px 0 40px; border-bottom: 1px solid var(--border-subtle); }
.honor-record-label { display: block; font-size: 11px; letter-spacing: .08em; opacity: .7; }
.honor-record-main h3 { margin: 18px 0; font-size: clamp(28px, 3.5vw, 46px); line-height: 1.3; font-weight: 500; }
.honor-records p { margin: 0; font-size: 13px; line-height: 1.85; opacity: .78; }
.honor-record-stat { padding: 0 24px; }
.honor-record-stat strong { font-size: clamp(72px, 9vw, 120px); font-weight: 400; line-height: 1; letter-spacing: -.06em; }
.honor-record-stat strong span { margin-left: 12px; font-size: 20px; letter-spacing: 0; }
.honor-record-stat p { margin-top: 16px; }
.honor-record-supporting { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 30px; }
.honor-record-supporting h3 { margin: 14px 0 10px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.mobile-scroll-cue,
.mobile-scroll-cue[hidden] {
  display: none;
}

.back-to-top-btn {
  display: none;
}

@media (max-width: 760px) {
  .mobile-scroll-cue {
    position: fixed;
    z-index: 1100;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--text-hero);
    background: rgba(255, 255, 255, .12);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  }

  .mobile-scroll-cue svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s ease;
  }

  .mobile-scroll-cue.is-at-bottom svg {
    transform: rotate(180deg);
  }

  .contact-section {
    min-height: 0;
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .contact-section .editorial-footer {
    gap: 8px;
    padding-top: 24px;
  }

  body:has(#case-modal.active) .mobile-scroll-cue,
  body:has(.honor-image-dialog[open]) .mobile-scroll-cue {
    visibility: hidden;
    pointer-events: none;
  }

  .honor-records-heading { flex-direction: column; gap: 8px; }
  .honor-record-featured { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .honor-record-stat { padding: 0; }
  .honor-record-supporting { grid-template-columns: 1fr; gap: 26px; }
}

.contact-headline {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.contact-headline .font-serif-italic {
  font-family: var(--font-serif), "Songti SC", serif;
}

.contact-actions a {
  text-decoration: none;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.editorial-footer {
  gap: 20px;
  line-height: 1.8;
}

.editorial-footer > span:first-child {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.case-modal-sheet {
  text-align: left;
}

.modal-close {
  z-index: 2;
}

.case-modal-kicker {
  margin-bottom: 16px;
  color: var(--accent-color);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.case-modal-title {
  max-width: 820px;
  padding-right: 50px;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 750;
  letter-spacing: -.05em;
  line-height: 1.18;
}

.case-modal-subtitle {
  margin-top: 12px;
  color: #aaaab4;
  font-size: 15px;
  line-height: 1.7;
}

.case-modal-cover {
  margin: 32px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 16px;
  background: #17171d;
}

.case-modal-cover img {
  display: block;
  width: 100%;
  max-height: 470px;
  object-fit: cover;
}

.case-modal-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
}

.case-modal-metric {
  min-height: 104px;
  padding: 18px;
  background: #111116;
}

.case-modal-metric strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.case-modal-metric span {
  display: block;
  margin-top: 9px;
  color: #aaaab4;
  font-size: 12px;
  line-height: 1.5;
}

.case-modal-section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.case-modal-section h3 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.7;
}

.case-modal-section p {
  margin: 0;
  color: #c6c6ce;
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-line;
}

.case-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.case-modal-actions a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.case-modal-actions a:first-child {
  padding: 13px 18px;
  border-radius: 999px;
  background: #fff;
  color: #101014;
  font-weight: 700;
}

@media (max-width: 1024px) {
  #site-header.scrolled {
    padding: 18px 24px;
  }

  #site-header {
    gap: 16px;
  }

  .availability {
    padding: 8px 11px;
    font-size: 11px;
  }

  .header-tools {
    gap: 12px;
  }

  .sound-toggle {
    padding: 0;
  }

  .profile-details {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 48px;
  }
}

@media (max-width: 640px) {
  #site-header {
    padding: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 44px;
    flex: 0 0 38px;
  }

  .brand-logo-z {
    font-size: 44px;
  }

  .brand-name {
    font-size: 12px;
  }

  .brand-role {
    font-size: 9px;
  }

  .availability {
    display: none;
  }

  #site-header,
  #site-header.scrolled {
    padding: 14px;
    gap: 8px;
  }

  .header-tools {
    gap: 6px;
  }

  .hero-subline {
    flex-wrap: wrap;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .spatial-carousel-stage {
    height: 350px;
    margin: 8px 0 18px;
  }

  .spatial-arc-track {
    height: 300px;
  }

  .spatial-card {
    width: 205px;
    height: 275px;
  }

  .card-inner {
    padding: 15px;
    border-radius: 16px;
  }

  .card-visual {
    height: 122px;
  }

  .card-footer strong {
    font-size: 13px;
  }

  .hero-bottom-controls .controls-left {
    flex-wrap: wrap;
  }

  .control-tip {
    font-size: 9px;
  }

  .work-name {
    font-size: 21px;
  }

  .work-row {
    padding: 24px 8px;
  }

  .editorial-footer {
    flex-direction: column;
  }

  .case-modal-sheet {
    max-height: 96vh;
    padding: 58px 20px 30px;
    border-radius: 22px 22px 0 0;
  }

  .case-modal-cover img {
    max-height: 260px;
  }

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

  .case-modal-metric {
    min-height: 0;
  }

  .case-modal-section {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-modal-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  #case-modal .case-modal-sheet {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    padding: calc(76px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    transform: none;
    transition: none;
  }

  #case-modal #case-study-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #case-modal .modal-close {
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: 20px;
  }

  .hero-massive-headline .line-1 {
    font-size: clamp(40px, 12vw, 54px);
    white-space: normal;
  }

  .hero-massive-headline .line-3 {
    font-size: clamp(28px, 8.8vw, 36px);
  }

  .hero-massive-headline .line-3 br {
    display: none;
  }

  .hero-intro {
    font-size: 12px;
    line-height: 1.75;
  }

  .spatial-hero {
    justify-content: flex-start;
    overflow: visible;
  }

  .spatial-carousel-stage {
    height: auto;
    margin: 24px 0 0;
    overflow: visible;
    scroll-margin-top: 88px;
  }

  .spatial-arc-track {
    display: grid;
    width: 100%;
    max-width: none;
    height: auto;
    justify-items: center;
    gap: 16px;
    perspective: none;
    transform: none;
  }

  .spatial-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 205 / 275;
    transform: none !important;
    justify-self: center;
  }

  .spatial-card .card-inner {
    border-radius: inherit;
    clip-path: inset(0 round 16px);
    padding: clamp(15px, 6.1vw, 26px);
  }

  .spatial-card .card-visual {
    height: auto;
    aspect-ratio: 175 / 122;
  }

  .spatial-card .card-footer strong {
    font-size: 18px;
  }

  .spatial-card .card-footer > span {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-bottom-controls {
    display: none;
  }

  .curated-section {
    display: none;
  }
}

@media (max-width: 760px) and (hover: none) {
  .spatial-card:hover .card-visual img {
    transform: none;
  }
}

@media (max-width: 380px) {
  .brand-role {
    display: none;
  }

  .brand-mark {
    margin-right: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* A moving, perspective image archive inspired by the hero's spatial carousel. */
.honor-gallery-viewport {
  position: relative;
  width: calc(100% + 88px);
  min-height: 386px;
  margin-left: -44px;
  overflow-x: clip;
  overflow-y: visible;
  perspective: 1500px;
  perspective-origin: 50% 46%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.honor-gallery-viewport:has(.honor-gallery-card.is-hovered),
.honor-gallery-viewport:has(.honor-gallery-card:focus-visible) {
  mask-image: none;
}

.honor-gallery-track,
.honor-gallery-sequence {
  display: flex;
  width: max-content;
  align-items: center;
  transform-style: preserve-3d;
}

.honor-gallery-track {
  position: relative;
  min-height: 370px;
  padding: 38px 0 48px;
  will-change: transform;
}

.honor-gallery-track.has-loop {
  animation: honor-gallery-drift 105s linear infinite;
}

.honor-gallery-track.is-paused {
  animation-play-state: paused !important;
}

.honor-gallery-viewport:hover .honor-gallery-track,
.honor-gallery-viewport:focus-within .honor-gallery-track {
  animation-play-state: paused;
}

.honor-gallery-sequence {
  position: relative;
  flex: none;
  gap: 18px;
  margin-right: 18px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.honor-gallery-sequence:has(.honor-gallery-card.is-hovered),
.honor-gallery-sequence:has(.honor-gallery-card:focus-visible) {
  position: relative;
  z-index: 10;
}

.honor-gallery-card {
  --card-turn: 0deg;
  --card-lean: 0deg;
  --card-rise: 0px;
  --carousel-shift-x: 0px;
  position: relative;
  display: block;
  flex: 0 0 184px;
  width: 184px;
  height: 264px;
  overflow: visible;
  color: #fff;
  text-decoration: none;
  background: transparent;
  left: var(--carousel-shift-x);
  transform: perspective(1100px) translateY(var(--card-rise)) rotateY(var(--card-turn)) rotateZ(var(--card-lean));
  transform-origin: var(--hover-origin, 50% 50%);
  transition: left .28s cubic-bezier(.2, .8, .2, 1), transform .4s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
  backface-visibility: hidden;
  outline: none;
}

.honor-gallery-card:nth-child(6n + 1) { --card-turn: -10deg; --card-lean: -1.2deg; --card-rise: 10px; }
.honor-gallery-card:nth-child(6n + 2) { --card-turn: 8deg; --card-lean: 1.5deg; --card-rise: -8px; }
.honor-gallery-card:nth-child(6n + 3) { --card-turn: -7deg; --card-lean: -1deg; --card-rise: 16px; }
.honor-gallery-card:nth-child(6n + 4) { --card-turn: 11deg; --card-lean: 1deg; --card-rise: -14px; }
.honor-gallery-card:nth-child(6n + 5) { --card-turn: -9deg; --card-lean: .8deg; --card-rise: 8px; }
.honor-gallery-card:nth-child(6n) { --card-turn: 6deg; --card-lean: -1.6deg; --card-rise: -10px; }

.honor-gallery-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  clip-path: inset(0 round 16px);
  filter: grayscale(1) contrast(1.25);
  box-shadow: none;
  transition: filter .4s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}

.honor-card-document img {
  object-fit: cover;
  padding: 0;
  background: #1b1b20;
}

.honor-gallery-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent 34%, rgba(7, 7, 10, .12) 48%, rgba(7, 7, 10, .94) 100%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.honor-gallery-card::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: 16px;
  content: "";
  pointer-events: none;
  transition: box-shadow .35s ease;
}

.honor-card-index {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, .92);
  background: rgba(7, 7, 10, .5);
  backdrop-filter: blur(8px);
  font: 9px/1 var(--font-mono);
  letter-spacing: .12em;
}

.honor-card-copy {
  position: absolute;
  top: 0;
  left: calc(100% - 1px);
  display: flex;
  width: 236px;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  overflow: visible;
  padding: 25px 23px;
  opacity: 0;
  background: linear-gradient(150deg, #1c1d22, #101115 78%);
  border-radius: 0 16px 16px 0;
  box-shadow: 18px 22px 48px rgba(0, 0, 0, .36);
  pointer-events: none;
  transform: translateX(-10px);
  visibility: hidden;
  clip-path: inset(0 100% 0 0);
  transition: opacity .22s ease, clip-path .28s cubic-bezier(.2, .8, .2, 1), transform .28s cubic-bezier(.2, .8, .2, 1), visibility .22s;
  z-index: 2;
}

.honor-card-copy small {
  display: block;
  color: #e48370;
  font: 9px/1.5 var(--font-mono);
  letter-spacing: .13em;
  white-space: nowrap;
}

.honor-card-copy strong {
  display: block;
  max-width: 100%;
  color: #fff;
  font: 700 clamp(17px, 1.55vw, 23px)/1.35 "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.honor-card-copy em {
  display: block;
  color: rgba(255, 255, 255, .65);
  font: normal 11px/1.75 "PingFang SC", "Microsoft YaHei", sans-serif;
}

.honor-gallery-card.is-hovered {
  z-index: 1000;
  transform: translateY(var(--card-rise));
  filter: brightness(1.08);
}

.honor-gallery-card.is-hovered img {
  width: 100%;
  right: auto;
  filter: grayscale(1) contrast(1.25);
  transform: none;
  border-right: 0;
  border-radius: 16px 0 0 16px;
  clip-path: inset(0 round 16px 0 0 16px);
}

.honor-gallery-card.is-hovered::after {
  box-shadow: none;
}

.honor-gallery-card.is-hovered::before {
  opacity: 0;
}

.honor-gallery-card.is-hovered .honor-card-copy {
  pointer-events: auto;
  clip-path: inset(0);
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.honor-gallery-card.opens-left .honor-card-copy {
  left: auto;
  right: calc(100% - 1px);
  clip-path: inset(0 0 0 100%);
  border-radius: 16px 0 0 16px;
}
.honor-gallery-card.opens-left.is-hovered .honor-card-copy {
  clip-path: inset(0);
}
.honor-gallery-card.opens-left.is-hovered img {
  border-radius: 0 16px 16px 0;
  clip-path: inset(0 round 0 16px 16px 0);
}
.honor-gallery-card:focus-visible {
  outline: 2px solid var(--accent, #c8ef8b);
  outline-offset: 5px;
}

@keyframes honor-gallery-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 760px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .honor-gallery-viewport {
    width: calc(100% + 40px);
    min-height: 350px;
    margin-left: -20px;
    overflow-x: auto;
    overflow-y: hidden;
    perspective: none;
    mask-image: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .honor-gallery-viewport::-webkit-scrollbar { display: none; }
  .honor-gallery-track,
  .honor-gallery-track.has-loop { min-height: 340px; padding: 28px 20px 38px; animation: none; transform: none; }
  .honor-gallery-track [data-gallery-copy] { display: none; }
  .honor-gallery-sequence { gap: 14px; margin-right: 0; }
  .honor-gallery-card,
  .honor-gallery-card:hover,
  .honor-gallery-card.is-hovered,
  .honor-gallery-card:focus-visible {
    flex: 0 0 240px;
    width: 240px;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    left: 0;
    transform: none;
    scroll-snap-align: center;
  }

  .honor-gallery-card img,
  .honor-gallery-card:hover img,
  .honor-gallery-card.is-hovered img,
  .honor-gallery-card:focus-visible img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    clip-path: inset(0 round 16px);
    transform: none;
  }

  .honor-gallery-card::before { opacity: 1; }

  .honor-gallery-card:hover::after,
  .honor-gallery-card.is-hovered::after,
  .honor-gallery-card:focus-visible::after {
    border-radius: 16px;
  }

  .honor-card-copy,
  .honor-gallery-card:hover .honor-card-copy,
  .honor-gallery-card.is-hovered .honor-card-copy,
  .honor-gallery-card:focus-visible .honor-card-copy {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    overflow: hidden;
    clip-path: none;
    gap: 4px;
    padding: 12px 16px 18px;
    opacity: 1;
    pointer-events: auto;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }

  .honor-card-copy strong { font-size: 16px; }
  .honor-card-copy em { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .honor-gallery-track.has-loop { animation: none; transform: none; }
  .honor-gallery-track [data-gallery-copy] { display: none; }
  .honor-gallery-viewport { overflow-x: auto; mask-image: none; }
}

/* Original photos stay in the page, with native modal focus and Escape support. */
.honor-image-dialog { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 64px 24px 24px; border: 0; background: rgba(10, 10, 14, .96); color: #fff; }
.honor-image-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.honor-image-dialog[open] { display: flex; align-items: center; justify-content: center; }
.honor-image-dialog figure { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; max-width: 100%; pointer-events: none; }
.honor-image-dialog img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; pointer-events: auto; }
.honor-image-dialog figcaption { font-size: 13px; line-height: 1.5; text-align: center; }
.honor-image-close { position: absolute; top: 16px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: #202025; color: #fff; font-size: 28px; cursor: pointer; }
.honor-image-close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Native dialogs sit above document cursors in the browser top layer. */
.honor-image-dialog,
.honor-image-dialog * { cursor: auto !important; }
.honor-image-dialog .honor-image-close { cursor: pointer !important; }
body:has(.honor-image-dialog[open]) .cursor-dot,
body:has(.honor-image-dialog[open]) .cursor-ring { visibility: hidden; }

/* Career credentials: clear information hierarchy within the existing three columns. */
.profile-details { gap: 0; padding-top: 32px; border-top: 0; }
.profile-detail { min-width: 0; padding: 0 32px; }
.profile-detail:first-child { padding-left: 0; }
.profile-detail:last-child { padding-right: 0; }
.profile-detail + .profile-detail { border-left: 1px solid var(--border-subtle); }
.profile-detail .header-tag { display: block; margin-bottom: 20px; font-size: 10px; letter-spacing: .12em; color: var(--text-muted); }
.profile-detail h3 { margin: 0 0 20px; color: var(--text-hero); font-size: 20px; line-height: 1.55; font-weight: 500; letter-spacing: -.025em; }
.profile-details .profile-detail p { margin: 0; font-size: 14px; line-height: 1.95; }
.profile-mentor + .profile-mentor { margin-top: 18px; }
.profile-mentor strong { color: var(--text-main); font-size: 15px; line-height: 1.7; font-weight: 500; }
.profile-details .profile-mentor p { margin-top: 4px; font-size: 13px; }
.profile-details .profile-education-year { font-family: var(--font-mono); font-size: 20px; font-weight: 500; letter-spacing: -.04em; }
@media(max-width: 1024px) {
 .profile-detail { padding-inline: 20px; }
}
@media(max-width: 760px) {
 .profile-details { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
 .profile-detail, .profile-detail:first-child, .profile-detail:last-child { padding: 0; }
 .profile-detail + .profile-detail { border-left: 0; border-top: 1px solid var(--border-subtle); padding-top: 28px; }
 .profile-detail .header-tag { margin-bottom: 12px; }
 .profile-detail h3 { margin-bottom: 14px; }
}

.profile-detail .profile-specialties-title { white-space: nowrap; }
@media(max-width: 1100px) {
 .profile-detail .profile-specialties-title { font-size: clamp(14px, 1.6vw, 20px); }
}
@media(max-width: 760px) {
 .profile-detail .profile-specialties-title { font-size: clamp(15px, 4.1vw, 20px); }
}
