:root {
  --paper: #f3efe6;
  --ink: #1c1915;
  --muted: #6f685f;
  --line: rgba(28, 25, 21, 0.14);
  --accent: #9c3b2e;
  --serif: "Songti SC", "Noto Serif SC", "Iowan Old Style", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --latin: "Instrument Serif", "Songti SC", serif;
  --nav-h: 4.5rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(28, 25, 21, 0.045) 0.6px, transparent 0.65px);
  background-size: 3px 3px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

@view-transition { navigation: auto; }

::selection { background: #e6d3c4; color: var(--ink); }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  z-index: 20;
}

.skip:focus { top: 1rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
}

.wordmark {
  font-family: var(--latin);
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  font-weight: 400;
}

.nav nav {
  display: flex;
  gap: 1.6rem;
}

.nav nav a {
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
}

.nav nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  min-height: calc(100vh - var(--nav-h));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 4.5rem);
}

.kicker {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.lede {
  max-width: 34em;
  margin: 1.4rem 0 0;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.9;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-top: 2rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
}

.more:hover { color: var(--accent); border-color: var(--accent); }

.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 3rem 1.5rem;
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, #1d4e89 8%, var(--paper));
  text-decoration: none;
}

.hero-stage:hover .tee { transform: translateY(-6px); }

.hero-caption {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-caption strong {
  color: var(--ink);
  font-weight: 500;
}

.tee {
  width: min(440px, 86%);
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.cities { padding: 4.5rem 0 1rem; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.city-row {
  display: grid;
  grid-template-columns: 3rem 6.5rem 8.5rem minmax(0, 1fr) 4.25rem;
  column-gap: 1rem;
  align-items: center;
  padding: 0.85rem 0.4rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.city-row:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.city-row:hover .cn { color: var(--accent); }
.city-row:hover .tee { transform: translateY(-3px); }

.no, .en {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.en { font-family: var(--latin); font-style: italic; letter-spacing: 0.04em; font-size: 1.05rem; }

.cn {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.blurb { color: var(--muted); font-size: 0.92rem; }

.city-row .tee { width: 64px; }

.close { padding: 5.5rem 0 6rem; }

.close p {
  margin: 0;
  max-width: 12em;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.45;
}

.close .more { margin-top: 1.8rem; }

.city {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 0.95fr);
  min-height: calc(100vh - var(--nav-h));
  border-bottom: 1px solid var(--line);
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 4.5rem 2rem 3rem;
  background: color-mix(in srgb, var(--accent) 9%, var(--paper));
  border-right: 1px solid var(--line);
}

.garment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: min(520px, 100%);
}

.stage .tee { width: min(460px, 92%); }

.spine {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--muted);
}

.piece {
  margin: 0;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.4rem, 4vw, 4rem);
}

.copy h1 { font-size: clamp(3rem, 6vw, 4.6rem); }

.piece-title {
  margin: 0.55rem 0 1.4rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.copy .story {
  margin: 0 0 1rem;
  max-width: 38em;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.9;
}

.specs {
  margin: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}

.specs div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.next {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem clamp(1.25rem, 4vw, 2.5rem);
  text-decoration: none;
}

.next span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.next strong {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
}

.next em {
  font-family: var(--latin);
  font-style: italic;
  color: var(--muted);
  font-size: 1.15rem;
}

.next:hover strong { color: var(--accent); }

.about {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
}

.about h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.4rem; }

.about .story {
  margin: 0 0 1.05rem;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.95;
}

.about-index {
  margin-top: 3rem;
  border-bottom: 1px solid var(--line);
}

.about-index a {
  display: grid;
  grid-template-columns: 2.5rem 6rem 1fr auto;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.about-index a:hover .cn { color: var(--accent); }

.about-index .en { justify-self: end; }

.missing {
  width: min(640px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 6rem 0;
}

.missing h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.3rem clamp(1.25rem, 4vw, 2.5rem) 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

@media (max-width: 860px) {
  .hero,
  .city { grid-template-columns: 1fr; }

  .hero-stage,
  .stage {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 58vh;
  }

  .hero-copy { order: -1; min-height: auto; padding-top: 2.5rem; padding-bottom: 2.5rem; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 0.35rem; }

  .city-row {
    grid-template-columns: 2rem minmax(0, 1fr) 3.4rem;
    grid-template-areas:
      "no cn tee"
      "no en tee"
      "blurb blurb tee";
    row-gap: 0.15rem;
    padding: 0.9rem 0.2rem;
  }

  .city-row .no { grid-area: no; }
  .city-row .cn { grid-area: cn; font-size: 1.35rem; }
  .city-row .en { grid-area: en; }
  .city-row .blurb { grid-area: blurb; }
  .city-row .tee { grid-area: tee; width: 52px; justify-self: end; }

  .spine { left: 0.7rem; }

  .about-index a { grid-template-columns: 2rem 1fr auto; }
  .about-index .line { display: none; }

  .next { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tee { transition: none; }
  @view-transition { navigation: none; }
}
