@font-face {
  font-family: "Noto Serif SC";
  src: local("Noto Serif CJK SC"), local("Songti SC");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #112c39;
  --ink-muted: #46606a;
  --gold: #8e744c;
  --gold-soft: #c9b58a;
  --paper: #f5f3ea;
  --paper-deep: #eae7db;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #176d72; outline-offset: 5px; }
::selection { background: #cbd9d2; color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 31px clamp(32px, 8.5vw, 150px) 0;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  filter: drop-shadow(0 2px 10px rgba(255,255,255,.8));
}
.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
  stroke: currentColor;
  stroke-width: 1.5;
}
.brand-name {
  font: 600 clamp(24px, 2vw, 32px)/1 var(--serif);
  letter-spacing: .15em;
  white-space: nowrap;
}
.header-note {
  color: #36515c;
  font: 500 13px/1.5 var(--sans);
  letter-spacing: .19em;
  text-shadow: 0 1px 8px white;
}

.hero {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 690px;
  overflow: hidden;
  background: #cad9e2;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.hero-wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(241,244,235,.25) 0%, rgba(243,242,228,.17) 27%, transparent 57%);
  pointer-events: none;
}
.directory {
  position: absolute;
  top: clamp(145px, 21vh, 220px);
  left: clamp(155px, 12.2vw, 220px);
  width: clamp(380px, 30vw, 500px);
  padding: 0 0 0 22px;
  color: var(--ink);
  text-shadow: 0 1px 14px rgba(255,255,255,.85);
}
.directory::before {
  content: "";
  position: absolute;
  left: 0;
  top: 33px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
}
.directory-caption {
  display: block;
  margin: 0 0 17px 4px;
  color: #5e543e;
  font: 500 13px/1 var(--sans);
  letter-spacing: .32em;
}
.directory-link {
  display: flex;
  align-items: center;
  min-height: 106px;
  padding: 6px 12px 6px 3px;
  border-top: 1px solid rgba(125,100,65,.72);
  background: linear-gradient(90deg, rgba(248,247,238,.35), rgba(248,247,238,0));
  text-decoration: none;
  transition: background-color .25s ease, padding-left .25s ease, color .25s ease;
}
.directory-link:last-child { border-bottom: 1px solid rgba(125,100,65,.72); }
.directory-link:hover, .directory-link:focus-visible {
  padding-left: 11px;
  color: #0a6464;
  background-color: rgba(249,248,238,.4);
}
.directory-index {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 112px;
  color: #715b3e;
  font: 600 16px/1 var(--serif);
}
.directory-number { font: 500 13px/1 var(--sans); letter-spacing: .06em; }
.directory-name { font: 500 clamp(34px, 3vw, 46px)/1.2 var(--serif); letter-spacing: .16em; }
.directory-arrow {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-left: auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(248,246,237,.57);
  color: #725a3c;
  font: 22px/1 var(--sans);
  transition: transform .25s ease, background-color .25s ease;
}
.directory-link:hover .directory-arrow, .directory-link:focus-visible .directory-arrow {
  transform: translate(3px,-3px);
  background: #f8f4e8;
}
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 17px;
  transform: translateX(-50%);
  color: #183a45;
  font: 500 13px/1 var(--sans);
  letter-spacing: .25em;
  text-decoration: none;
  text-shadow: 0 1px 10px white;
}
.scroll-cue-line { width: 44px; height: 1px; background: #55747a; }

.section-shell { padding-inline: clamp(32px, 9vw, 150px); }
.about {
  padding-top: clamp(90px, 10vw, 155px);
  padding-bottom: clamp(90px, 10vw, 155px);
  background: radial-gradient(circle at 86% 15%, #fffdf4, transparent 36%), var(--paper);
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font: 600 14px/1.5 var(--sans);
  letter-spacing: .22em;
}
.section-kicker-line { display: inline-block; width: 40px; height: 1px; background: var(--gold); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
  margin-top: 35px;
}
h1, h2, h3, p { margin-top: 0; }
.about h1 {
  margin-bottom: 0;
  font: 500 clamp(42px, 5.4vw, 82px)/1.28 var(--serif);
  letter-spacing: .03em;
}
.title-dot { color: var(--gold); }
.about-copy { max-width: 560px; padding-bottom: 4px; }
.about-copy p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font: 400 clamp(16px, 1.2vw, 19px)/1.95 var(--sans);
}
.about-copy p:last-child { margin-bottom: 0; }

.catalogue {
  padding-top: clamp(85px, 8vw, 135px);
  padding-bottom: clamp(105px, 10vw, 160px);
  background: var(--paper-deep);
}
.catalogue-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 25px 0 65px;
}
.catalogue-heading h2 { margin: 0; font: 500 clamp(38px, 4vw, 60px)/1.2 var(--serif); }
.catalogue-heading p { margin: 0 0 7px; color: var(--ink-muted); font-size: 16px; }
.catalogue-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  min-height: 184px;
  padding: 30px 2px;
  border-top: 1px solid rgba(96,95,79,.36);
  scroll-margin-top: 35px;
}
.catalogue-row:last-child { border-bottom: 1px solid rgba(96,95,79,.36); }
.catalogue-row:target { background: linear-gradient(90deg, rgba(249,247,236,.75), transparent 75%); }
.catalogue-number {
  color: var(--gold);
  font: 500 22px/1.2 var(--serif);
  white-space: nowrap;
}
.catalogue-number span { display: block; margin-top: 12px; font: 500 13px/1 var(--sans); letter-spacing: .25em; }
.catalogue-body h3 { margin: 0 0 10px; font: 500 clamp(27px, 2.3vw, 38px)/1.2 var(--serif); }
.catalogue-body p { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 1.8; }
.catalogue-status {
  padding: 9px 14px;
  border: 1px solid #b5aa91;
  color: #6f654f;
  font-size: 13px;
  letter-spacing: .08em;
  white-space: nowrap;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 35px clamp(32px, 9vw, 150px);
  background: #173440;
  color: #e7e8de;
  font-size: 13px;
  letter-spacing: .08em;
}
.site-footer span:first-child { font: 500 20px/1.2 var(--serif); letter-spacing: .14em; }
.site-footer a { margin-left: auto; text-decoration: none; }
.site-footer a:hover { color: #d2b979; }

@media (prefers-reduced-motion: no-preference) {
  .brand { animation: arrive .6s ease-out both; }
  .directory-caption { animation: arrive .55s .08s ease-out both; }
  .directory-link { animation: arrive .55s ease-out both; }
  .directory-link:nth-of-type(1) { animation-delay: .12s; }
  .directory-link:nth-of-type(2) { animation-delay: .2s; }
  .directory-link:nth-of-type(3) { animation-delay: .28s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 900px) {
  .header-note { display: none; }
  .directory { left: 10vw; top: 24%; width: min(48vw, 460px); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .catalogue-row { grid-template-columns: 90px minmax(0, 1fr); gap: 22px; }
  .catalogue-status { grid-column: 2; width: fit-content; }
}

@media (max-width: 650px) {
  .site-header { padding: 19px 22px 0; }
  .brand { gap: 10px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-name { font-size: 22px; letter-spacing: .1em; }
  .hero { height: auto; min-height: 0; padding-top: min(71vh, 600px); overflow: visible; background: #f2f0e6; }
  .hero-art { inset: 0 0 auto; width: 100%; height: min(71vh, 600px); object-fit: cover; object-position: 59% center; }
  .hero-wash { height: min(71vh, 600px); background: linear-gradient(180deg, rgba(245,243,233,.18), transparent 24%, transparent 80%, #f2f0e6); }
  .directory {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 40px);
    margin: -88px 20px 0;
    padding: 17px 20px 21px;
    background: rgba(249,247,237,.96);
    box-shadow: 0 10px 35px rgba(27,46,50,.16);
    text-shadow: none;
  }
  .directory::before { display: none; }
  .directory-caption { margin-bottom: 13px; font-size: 12px; }
  .directory-link { min-height: 78px; padding: 4px 0; background: none; }
  .directory-link:hover, .directory-link:focus-visible { padding-left: 6px; background-color: transparent; }
  .directory-index { width: 76px; font-size: 15px; }
  .directory-number { font-size: 11px; }
  .directory-name { font-size: 31px; }
  .directory-arrow { width: 31px; height: 31px; font-size: 18px; }
  .scroll-cue { position: relative; bottom: auto; left: auto; transform: none; justify-content: center; margin: 28px auto 36px; }
  .about { padding-top: 85px; padding-bottom: 90px; }
  .about h1 { font-size: clamp(38px, 10vw, 56px); }
  .catalogue { padding-top: 80px; padding-bottom: 100px; }
  .catalogue-heading { display: block; margin-bottom: 35px; }
  .catalogue-heading p { margin-top: 12px; }
  .catalogue-row { grid-template-columns: 55px minmax(0, 1fr); min-height: 164px; gap: 14px; padding: 24px 0; }
  .catalogue-number { align-self: start; font-size: 17px; }
  .catalogue-number span { display: none; }
  .catalogue-body h3 { font-size: 29px; }
  .catalogue-body p { font-size: 15px; }
  .catalogue-status { font-size: 12px; }
  .site-footer { flex-wrap: wrap; gap: 12px 22px; padding-block: 27px; }
  .site-footer a { margin-left: 0; width: 100%; }
}

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