:root {
  --paper: #f3eee3;
  --paper-deep: #e9e0d0;
  --ink: #172019;
  --ink-soft: #354036;
  --muted: #777367;
  --line: rgba(23, 32, 25, 0.15);
  --line-strong: rgba(23, 32, 25, 0.28);
  --gold: #c39a55;
  --gold-light: #e0c48c;
  --dark: #111712;
  --dark-soft: #1a211b;
  --cream: #f6f0e4;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --latin: "Cormorant Garamond", "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --head-pad: clamp(24px, 5vw, 86px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

body.viewer-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: var(--dark);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--dark);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
  height: 88px;
  padding: 0 var(--head-pad);
  color: var(--cream);
  transition: color 0.45s var(--ease), background-color 0.45s var(--ease),
    height 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-head.scrolled {
  height: 72px;
  color: var(--ink);
  background: rgba(243, 238, 227, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-cn {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-en {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.28em;
  opacity: 0.62;
}

.head-rule {
  width: clamp(40px, 6vw, 96px);
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

.head-note {
  margin: 0;
  font-size: 7px;
  line-height: 1.8;
  letter-spacing: 0.22em;
  opacity: 0.48;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px var(--head-pad) 100px;
  color: var(--cream);
  background: var(--dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.035);
  animation: heroDrift 18s var(--ease) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 8, 0.82) 0%, rgba(7, 12, 8, 0.5) 36%, rgba(7, 12, 8, 0.12) 72%, rgba(7, 12, 8, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 12, 8, 0.72) 0%, rgba(7, 12, 8, 0.08) 52%, rgba(7, 12, 8, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  padding-bottom: 12px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  color: rgba(246, 240, 228, 0.66);
  font-size: 9px;
  letter-spacing: 0.3em;
}

.hero-eyebrow-line {
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--gold-light);
  opacity: 0.85;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(88px, 9.6vw, 164px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.06em;
}

.hero-title-line {
  display: block;
}

.hero-title-outline {
  margin-left: 0.92em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 240, 228, 0.86);
}

.hero-lede {
  margin: 38px 0 0;
  color: rgba(246, 240, 228, 0.74);
  font-family: var(--serif);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 300;
  line-height: 2.05;
  letter-spacing: 0.12em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 240, 228, 0.28);
  color: var(--cream);
}

.hero-cta-label {
  font-size: 11px;
  letter-spacing: 0.22em;
}

.hero-cta-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(246, 240, 228, 0.32);
  border-radius: 50%;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s,
    transform 0.35s;
}

.hero-cta-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.hero-cta:hover .hero-cta-icon {
  color: var(--dark);
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(4px);
}

.hero-vertical {
  position: absolute;
  right: calc(var(--head-pad) - 4px);
  bottom: 148px;
  z-index: 2;
  margin: 0;
  color: rgba(246, 240, 228, 0.42);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.52em;
  writing-mode: vertical-rl;
}

.hero-foot {
  position: absolute;
  right: var(--head-pad);
  bottom: 34px;
  left: var(--head-pad);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(246, 240, 228, 0.4);
  font-size: 8px;
  letter-spacing: 0.24em;
}

.hero-foot-rule {
  flex: 1;
  height: 1px;
  background: rgba(246, 240, 228, 0.18);
}

@keyframes heroDrift {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1.09);
  }
}

/* ---------- Directory ---------- */

.directory {
  position: relative;
  padding: clamp(80px, 9vw, 138px) var(--head-pad) clamp(90px, 10vw, 156px);
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 255, 255, 0.65), transparent 35%),
    var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 76px);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.28em;
}

.section-label p {
  margin: 0;
}

.section-label-num {
  color: var(--gold);
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.section-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}

.section-title-wrap h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 66px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.06em;
}

.title-count {
  display: inline-block;
  margin-left: 10px;
  color: var(--gold);
  font-family: var(--latin);
  font-size: 0.32em;
  font-weight: 400;
  letter-spacing: 0.05em;
  vertical-align: 0.65em;
}

.section-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.entry-list {
  border-bottom: 1px solid var(--line-strong);
}

.entry {
  position: relative;
  display: grid;
  width: calc(100% + 36px);
  grid-template-columns: 48px minmax(190px, 1.1fr) minmax(190px, 0.95fr) 82px 184px 44px;
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
  margin-left: -18px;
  padding: 25px 18px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.45s var(--ease), padding-left 0.45s var(--ease);
}

.entry::after {
  content: "";
  position: absolute;
  top: 21%;
  bottom: 21%;
  left: 0;
  width: 1px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}

.entry:hover,
.entry:focus-visible {
  background: rgba(231, 221, 202, 0.62);
}

.entry:hover::after,
.entry:focus-visible::after {
  transform: scaleY(1);
}

.entry-num {
  align-self: start;
  padding-top: 8px;
  color: var(--gold);
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.entry-main {
  display: block;
}

.entry-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 3.3vw, 54px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.08em;
  transition: color 0.35s, transform 0.45s var(--ease);
}

.entry:hover .entry-name {
  color: #7f5c26;
  transform: translateX(5px);
}

.entry-en {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.3em;
}

.entry-desc {
  display: block;
  max-width: 29em;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.045em;
}

.entry-count {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.entry-thumb {
  position: relative;
  display: block;
  width: 184px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
}

.entry-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(23, 32, 25, 0.12);
  pointer-events: none;
}

.entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transform: scale(1.035);
  transition: transform 0.7s var(--ease), filter 0.5s;
}

.entry:hover .entry-thumb img {
  filter: saturate(1);
  transform: scale(1.09);
}

.entry-open {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s,
    transform 0.4s var(--ease);
}

.entry-open svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.entry:hover .entry-open {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  transform: rotate(8deg);
}

.js .entry {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
    background-color 0.45s var(--ease), padding-left 0.45s var(--ease);
}

.js .entry.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- About ---------- */

.about {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 136px) var(--head-pad) clamp(90px, 10vw, 150px);
  color: var(--cream);
  background: var(--dark);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--head-pad);
  left: var(--head-pad);
  height: 1px;
  background: rgba(246, 240, 228, 0.14);
}

.about-mark {
  position: absolute;
  top: 46%;
  right: -3vw;
  color: transparent;
  font-family: var(--serif);
  font-size: 48vw;
  line-height: 0.8;
  opacity: 0.6;
  pointer-events: none;
  transform: translateY(-50%);
  -webkit-text-stroke: 1px rgba(246, 240, 228, 0.055);
  user-select: none;
}

.about-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) 1fr;
  gap: clamp(50px, 8vw, 140px);
}

.section-label.light {
  color: rgba(246, 240, 228, 0.45);
}

.about-facts {
  margin: clamp(36px, 5vw, 70px) 0 0;
  color: rgba(246, 240, 228, 0.32);
  font-family: var(--serif);
  font-size: 11px;
  line-height: 2.4;
  letter-spacing: 0.16em;
}

.about-quote-wrap {
  position: relative;
  padding-top: 8px;
}

.about-quote-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 1px;
  background: var(--gold);
}

.about-quote {
  margin: 0;
  padding-top: 30px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 54px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.about-note {
  max-width: 620px;
  margin: clamp(36px, 4.5vw, 62px) 0 0;
  color: rgba(246, 240, 228, 0.48);
  font-size: 12px;
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

/* ---------- Footer ---------- */

.site-foot {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 34px var(--head-pad);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.foot-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.foot-brand span {
  color: var(--muted);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.28em;
}

.site-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.foot-right {
  margin-left: auto !important;
}

/* ---------- Viewer ---------- */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px clamp(18px, 3vw, 48px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.viewer.is-open {
  visibility: visible;
  opacity: 1;
}

.viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 9, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.viewer-shell {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1520px, 100%);
  height: 100%;
  flex-direction: column;
  color: var(--cream);
  opacity: 0;
  transform: translateY(22px) scale(0.992);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  touch-action: pan-y;
}

.viewer.is-open .viewer-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.viewer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(246, 240, 228, 0.15);
}

.viewer-number {
  color: var(--gold-light);
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.viewer-number-total {
  color: rgba(246, 240, 228, 0.3);
}

.viewer-heading {
  text-align: center;
}

.viewer-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: 0.14em;
}

.viewer-heading p {
  margin: 4px 0 0;
  color: rgba(246, 240, 228, 0.36);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.32em;
}

.viewer-close {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(246, 240, 228, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.viewer-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.viewer-close:hover {
  color: var(--dark);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.viewer-stage {
  display: grid;
  flex: 1;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  min-height: 0;
  padding: 18px 0 12px;
}

.viewer-ambient {
  display: none;
}

.viewer-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(246, 240, 228, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s,
    opacity 0.3s;
}

.viewer-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.viewer-arrow:hover:not(:disabled) {
  color: var(--dark);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.viewer-arrow:disabled {
  opacity: 0.2;
  cursor: default;
}

.viewer-figure {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.viewer-img-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.viewer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0d0a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  transition: opacity 0.45s var(--ease);
}

.viewer-img-wrap img.is-loading {
  opacity: 0;
}

.viewer-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
}

.viewer-caption p {
  margin: 0;
}

#viewerDesc {
  max-width: 64ch;
  color: rgba(246, 240, 228, 0.56);
  font-family: var(--serif);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.viewer-counter {
  flex-shrink: 0;
  color: var(--gold-light);
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.viewer-counter-sep {
  color: rgba(246, 240, 228, 0.28);
}

.viewer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding-top: 14px;
  border-top: 1px solid rgba(246, 240, 228, 0.13);
}

.viewer-thumbs {
  display: flex;
  gap: 8px;
}

.viewer-thumbs:empty {
  display: none;
}

.viewer-thumb {
  position: relative;
  width: 82px;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: #232a24;
  cursor: pointer;
  opacity: 0.38;
  transition: opacity 0.3s, border-color 0.3s;
}

.viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewer-thumb:hover {
  opacity: 0.72;
}

.viewer-thumb.is-active {
  border-color: var(--gold);
  opacity: 1;
}

.viewer-hint {
  margin: 0;
  color: rgba(246, 240, 228, 0.28);
  font-size: 8px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.hint-key {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  margin-right: 3px;
  place-items: center;
  border: 1px solid rgba(246, 240, 228, 0.18);
  border-radius: 3px;
  color: rgba(246, 240, 228, 0.48);
  font-family: var(--sans);
  font-size: 8px;
}

.hint-key--esc {
  width: auto;
  padding: 0 5px;
}

.hint-divider {
  margin: 0 7px;
  opacity: 0.4;
}

.viewer.single .viewer-arrow {
  visibility: hidden;
}

.viewer.single .viewer-thumbs {
  display: none;
}

.viewer.single .hint-nav {
  display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .entry {
    grid-template-columns: 40px minmax(170px, 1.05fr) minmax(160px, 0.9fr) 132px 42px;
  }

  .entry-count {
    display: none;
  }

  .entry-thumb {
    width: 132px;
  }

  .entry-desc {
    font-size: 10.5px;
  }
}

@media (max-width: 900px) {
  .head-note {
    display: none;
  }

  .head-rule {
    width: 38px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .entry {
    grid-template-columns: 38px minmax(0, 1fr) 116px 42px;
    gap: 18px;
    padding: 21px 14px;
    width: calc(100% + 28px);
    margin-left: -14px;
  }

  .entry-desc,
  .entry-count {
    display: none;
  }

  .entry-thumb {
    width: 116px;
  }

  .entry-name {
    font-size: clamp(30px, 5vw, 42px);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-facts {
    display: flex;
    gap: 22px;
    margin-top: 24px;
  }

  .about-facts br {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --head-pad: 22px;
  }

  .site-head {
    height: 72px;
    gap: 14px;
  }

  .site-head.scrolled {
    height: 62px;
  }

  .brand-cn {
    font-size: 22px;
  }

  .head-rule {
    display: none;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero {
    min-height: 100svh;
    padding: 104px var(--head-pad) 92px;
  }

  .hero-media img {
    object-position: 58% 50%;
  }

  .hero-eyebrow {
    margin-bottom: 22px;
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .hero-eyebrow-line {
    width: 28px;
  }

  .hero h1 {
    font-size: clamp(72px, 22vw, 106px);
    letter-spacing: 0.03em;
  }

  .hero-title-outline {
    margin-left: 0.55em;
  }

  .hero-lede {
    margin-top: 28px;
    font-size: 13px;
    line-height: 2;
  }

  .hero-cta {
    margin-top: 30px;
  }

  .hero-cta-label {
    font-size: 10px;
  }

  .hero-vertical {
    display: none;
  }

  .hero-foot {
    right: var(--head-pad);
    bottom: 26px;
    left: var(--head-pad);
    gap: 12px;
    font-size: 7px;
    letter-spacing: 0.16em;
  }

  .directory {
    padding-top: 74px;
    padding-bottom: 82px;
  }

  .section-head {
    margin-bottom: 31px;
  }

  .section-label {
    gap: 9px;
    font-size: 7px;
  }

  .section-title-wrap {
    display: block;
    padding-bottom: 14px;
  }

  .section-title-wrap h2 {
    font-size: 38px;
  }

  .section-note {
    margin: 12px 0 0;
    font-size: 9px;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .entry {
    grid-template-columns: 27px minmax(0, 1fr) 74px 34px;
    grid-template-areas:
      "num main thumb open"
      "num count thumb open";
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
    padding: 16px 12px;
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .entry::after {
    top: 17%;
    bottom: 17%;
  }

  .entry-num {
    grid-area: num;
    padding-top: 0;
    font-size: 10px;
  }

  .entry-main {
    grid-area: main;
    align-self: end;
  }

  .entry-name {
    font-size: 31px;
    letter-spacing: 0.06em;
  }

  .entry-en {
    margin-top: 5px;
    font-size: 7px;
    letter-spacing: 0.2em;
  }

  .entry-count {
    display: block;
    grid-area: count;
    align-self: start;
    margin-top: 7px;
    font-size: 8px;
  }

  .entry-thumb {
    grid-area: thumb;
    width: 74px;
    aspect-ratio: 1 / 1;
  }

  .entry-open {
    grid-area: open;
    width: 34px;
    height: 34px;
  }

  .entry-open svg {
    width: 13px;
    height: 13px;
  }

  .about {
    padding-top: 74px;
    padding-bottom: 86px;
  }

  .about-mark {
    top: 57%;
    right: -8vw;
    font-size: 76vw;
  }

  .about-facts {
    gap: 14px;
    font-size: 9px;
    line-height: 1.9;
  }

  .about-quote {
    padding-top: 24px;
    font-size: 28px;
    line-height: 1.6;
  }

  .about-note {
    margin-top: 30px;
    font-size: 11px;
    line-height: 2;
  }

  .site-foot {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 26px var(--head-pad);
  }

  .foot-brand {
    font-size: 19px;
  }

  .foot-right {
    width: 100%;
    margin-left: 0 !important;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .viewer {
    padding: 10px 12px 14px;
  }

  .viewer-top {
    grid-template-columns: 1fr auto;
    padding: 7px 0 13px;
  }

  .viewer-number {
    display: none;
  }

  .viewer-heading {
    text-align: left;
  }

  .viewer-heading h2 {
    font-size: 20px;
  }

  .viewer-close {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .viewer-close span {
    display: none;
  }

  .viewer-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 12px 0 8px;
  }

  .viewer-ambient {
    position: absolute;
    inset: -22%;
    z-index: 0;
    display: block;
    background-position: center;
    background-size: cover;
    filter: blur(46px) saturate(0.62) brightness(0.55);
    opacity: 0.62;
    pointer-events: none;
    transform: scale(1.08);
  }

  .viewer-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9, 12, 9, 0.35), rgba(9, 12, 9, 0.56));
    pointer-events: none;
  }

  .viewer-figure {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
  }

  .viewer-img-wrap {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    background: none;
  }

  .viewer-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 56svh;
    object-fit: contain;
    background: #0a0d0a;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
  }

  .viewer-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    background: rgba(9, 12, 9, 0.54);
    border-color: rgba(246, 240, 228, 0.3);
    transform: translateY(-50%);
  }

  .viewer-arrow--prev {
    left: 8px;
  }

  .viewer-arrow--next {
    right: 8px;
  }

  .viewer-caption {
    flex-direction: column;
    gap: 5px;
    padding-top: 10px;
  }

  #viewerDesc {
    max-width: none;
    font-size: 11.5px;
    line-height: 1.75;
  }

  .viewer-counter {
    font-size: 10px;
  }

  .viewer-bottom {
    min-height: 56px;
    padding-top: 10px;
  }

  .viewer-thumb {
    width: 64px;
  }

  .viewer-hint {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .entry {
    opacity: 1;
    transform: none;
  }
}
