@font-face {
  font-family: "EB Garamond"; src: url("/type/5c3d1a8549c7-garamond-roman.woff2") format("woff2");
  font-style: normal; font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "Noto Serif TC"; src: url("/type/c50b19f35c74-noto-normal.ttf") format("truetype");
  font-style: normal; font-weight: 400; font-display: swap;
}
:root {
  --outer: 6vw;
  --column: 34vw;
  --carnelian: #b8321f;
  --hairline: rgb(138 115 70 / 50%);
  --ease-out: cubic-bezier(.165,.84,.44,1);
}
.site-bar, .reader { color: var(--ivory); font-style: normal; }
.site-bar {
  position: fixed; z-index: 3; top: max(5dvh,env(safe-area-inset-top)); right: 5vw;
  color: var(--gold); font: 400 clamp(11px,1.05vw,16px)/1.4 ui-monospace,Menlo,monospace;
  font-variant-caps: small-caps; letter-spacing: .075em;
}
.profile-links { display: flex; align-items: center; gap: .75em; }
.profile-links a, .catalogue-email { color: inherit; text-decoration: none; }
.profile-links a:hover, .catalogue-email:hover { color: var(--gold); }
.profile-links a, .list-title, .email-text { position: relative; }
.email-text { display: inline-block; }
:is(.profile-links a, .list-title, .email-text)::after {
  content: ""; position: absolute; inset: auto 0 -.08em; height: 1px; pointer-events: none;
  background: var(--rule); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms cubic-bezier(.333333,1,.666667,1);
}
.profile-links a:is(:hover, :focus-visible)::after,
.pursuit-index a:is(:hover, :focus-visible) .list-title::after,
.catalogue-email:is(:hover, :focus-visible) .email-text::after { transform: scaleX(1); }
:is(.site-bar, .reader) :focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.reader { position: relative; z-index: 2; }
.spread {
  position: fixed; left: var(--outer); top: 50%; width: var(--column);
  transform: translateY(-50%);
}
.catalogue { display: flex; flex-direction: column; align-items: stretch; gap: clamp(14px,3vh,30px); }
.catalogue .entries { order: -1; }
.catalogue[data-state="envelope"] .pursuit-index { display: none; }
[data-letter-sequence] .pursuit-index { visibility: hidden; }
.reader-skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.reader-skip:focus-visible {
  inset: 68px auto auto 0; width: auto; height: auto; clip-path: none;
  color: var(--ivory); background: var(--ground); padding: 4px 8px;
}
.identity h1, .identity p, .welcome, .catalogue-entry :is(h2, p, dl, dd) { margin: 0; }
.identity h1 {
  font-size: clamp(46px, 6.25vw, 104px); font-weight: 400;
  letter-spacing: -.045em; line-height: .91; white-space: nowrap;
}
.identity .chinese-name {
  display: flex; align-items: center; gap: 13px; margin-top: 18px;
  font: 400 40px/1.25 "Noto Serif TC", serif; letter-spacing: .035em;
}
.seal-accent {
  position: relative; width: 21px; height: 21px;
}
.seal-accent::after, .seal-spread::before {
  content: ""; position: absolute; inset: 0; background: var(--carnelian);
  mask: url("/name-seal.svg") center / contain no-repeat;
}
.seal-spread { position: absolute; inset: 0; opacity: 0; filter: blur(1.5px); }
.identity .disciplines {
  margin-top: 1.8vw; color: var(--gold); font: clamp(10px,1.07vw,16px)/1.55 ui-monospace,Menlo,monospace;
  letter-spacing: .075em;
}
.welcome { margin-top: 1.25vw; font-size: clamp(20px,2.15vw,33px); line-height: 1.3; }
.pursuit-index {
  position: relative; inset: auto; transform: none; display: block; min-width: 0;
  font: inherit; font-variant-caps: normal; letter-spacing: normal; white-space: normal;
}
.pursuit-index ol { list-style: none; margin: 0; padding: 0 0 0 22px; }
.pursuit-index li { margin: 0; }
.pursuit-index a, .pursuit-index a:first-child, .pursuit-index a:last-child {
  display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: baseline; justify-items: start;
  min-width: 0; min-height: 44px; padding: 7px 0; text-align: left; text-decoration: none;
  font: 400 22px/1.3 "EB Garamond", serif;
  color: rgb(168 159 142 / 45%); transition: color .45s var(--ease-out);
}
.pursuit-index a span { color: inherit; font-size: inherit; }
.pursuit-index a[aria-current="step"], .pursuit-index a:hover, .pursuit-index a:focus-visible { color: var(--ivory); }
.pursuit-index .numeral, .entry-numeral, .state-picker { font-variant-caps: small-caps; }
.pursuit-index a[aria-current="step"] .numeral, .entry-numeral, .pursuit-index .picker-numeral { color: var(--carnelian); }
.index-marker { position: absolute; top: 0; left: 0; width: 14px; height: 1px; background: var(--gold); pointer-events: none; }
.state-picker { display: none; }
.entries { position: relative; }
.entry-numeral { font-size: 19px; line-height: 1.15; }
.entry-numeral, .picker-numeral { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.entry-numeral > span, .picker-numeral > span { grid-area: 1 / 1; }
.catalogue-entry h2 { margin: 7px 0 12px; font-size: 40px; font-weight: 400; letter-spacing: -.025em; line-height: 1.06; }
.catalogue-entry[data-state="envelope"] h2 { font-family: "Pinyon Script", cursive; letter-spacing: 0; }
.entry-line { font-size: 21px; line-height: 1.42; }
.catalogue-entry .entry-details, .catalogue-email { display: block; margin-top: 22px; }
.entry-details > div, .catalogue-email { position: relative; padding: 8px 0; }
.entry-details > div { display: grid; grid-template-columns: 51px 1fr; gap: 10px; font-size: 13px; line-height: 1.4; font-variant-caps: small-caps; letter-spacing: .075em; }
.entry-details dt { color: var(--secondary); }
.entry-details dd { color: var(--ivory); }
.detail-rule { position: absolute; inset: 0 0 auto; height: 1px; background: var(--hairline); transform-origin: left; }
.catalogue-email { font-size: 19px; color: var(--gold); }
.leaf-word { display: inline-block; position: relative; white-space: nowrap; }
.leaf-base { display: inline-block; vertical-align: baseline; width: 0; height: 0; }
.leaf-word canvas { position: absolute; pointer-events: none; user-select: none; }
.leaf-word.inked, .masked-lines { color: transparent; }
.leaf-word::selection, .masked-lines::selection { color: var(--ivory); background: #684f2f; }
.masked-lines { position: relative; }
.line-veil { position: absolute; inset: 0; pointer-events: none; user-select: none; color: var(--ivory); }
.line-clip, .line-ink { display: block; }
.line-clip { overflow: hidden; }
.line-ink { white-space: pre; }
.identity .tracking { position: relative; color: transparent; }
.tracking-ink { position: absolute; inset: 0; color: var(--gold); overflow: hidden; pointer-events: none; user-select: none; }
.subject-group, .subject-divider { display: inline; }
.tracking-ink .subject-group { white-space: nowrap; }
.catalogue-entry[data-state="envelope"] .entry-numeral { display: none; }
.catalogue-entry[data-state="envelope"] h2 {
  margin: 0 0 1.25vw; font-size: clamp(48px,6.55vw,102px); line-height: 1.22; letter-spacing: -.045em;
}
.catalogue-entry[data-state="envelope"] .entry-line { font-size: clamp(20px,2.15vw,33px); line-height: 1.3; }
.catalogue-email { width: fit-content; margin-top: 1.5vw; font-size: clamp(18px,2.05vw,30px); }
.catalogue-email .detail-rule { display: none; }
.catalogue-email .email-text::after { background: var(--gold); }
.hero h1:focus { outline: none; }
@media (min-width: 701px) and (max-height: 720px) {
  .pursuit-index a, .pursuit-index a:first-child, .pursuit-index a:last-child { min-height: 28px; padding: 2px 0; font-size: 18px; }
}
@media (max-width: 700px) {
  :root { --outer: 7vw; --column: 86vw; }
  .site-bar { top: max(4dvh,env(safe-area-inset-top)); }
  .spread { top: calc(50dvh + .32 * var(--stage)); transform: none; }
  .identity h1 { font-size: clamp(36px,11vw,52px); line-height: 1; }
  .identity .chinese-name { font-size: 24px; gap: 9px; margin-top: 7px; }
  .seal-accent { width: 15px; height: 15px; }
  .identity .disciplines { margin-top: 11px; font-size: clamp(9px,2.55vw,12px); }
  .welcome { font-size: clamp(16px,4.1vw,19px); margin-top: 3vw; line-height: 1.3; }
  .catalogue { top: calc(50dvh + .34 * var(--stage)); display: block; }
  .catalogue[data-state="envelope"] { top: calc(50dvh + .39 * var(--stage)); }
  .catalogue-entry[data-state="envelope"] h2 { font-size: 12.5vw; }
  .catalogue-entry[data-state="envelope"] .entry-line { font-size: clamp(16px,4.1vw,19px); }
  .catalogue .pursuit-index { width: fit-content; }
  .pursuit-index ol, .index-marker, .entry-numeral, .catalogue-entry .entry-details { display: none; }
  .catalogue-entry[data-state="IV"] .entry-details { display: block; margin-top: 10px; }
  .catalogue-entry[data-state="IV"] .entry-details > div:not(:last-child) { display: none; }
  .state-picker {
    display: inline-flex; position: relative; align-items: center; min-width: 60px; min-height: 35px;
    font-size: 16px; line-height: 1.2; color: var(--secondary);
  }
  .pursuit-index .state-picker span { color: inherit; font-size: inherit; }
  .pursuit-index .state-picker .picker-numeral { color: var(--carnelian); }
  .pursuit-index .state-picker .divider { padding: 0 4px; color: var(--rule); }
  .state-picker select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
  .state-picker:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
  .catalogue-entry h2 { margin: 2px 0 7px; font-size: 32px; }
  .entry-line { font-size: 17px; line-height: 1.32; }
  .catalogue-email { font-size: 16px; margin-top: 8px; padding-top: 5px; }
}
@media (max-width: 700px) and (max-height: 740px) {
  .spread { top: calc(49dvh + .29 * var(--stage)); }
  .identity .chinese-name, .identity .disciplines, .welcome { margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .pursuit-index a { transition: color 150ms linear; }
  :is(.profile-links a, .list-title, .email-text)::after {
    transform: none; opacity: 0; transition: opacity 150ms linear;
  }
  .profile-links a:is(:hover, :focus-visible)::after,
  .pursuit-index a:is(:hover, :focus-visible) .list-title::after,
  .catalogue-email:is(:hover, :focus-visible) .email-text::after { transform: none; opacity: 1; }
}
