:root {
  color-scheme: light;
  --paper: #f2f0e9;
  --ink: #242420;
  --red: #cf3928;
  --line: #c9c7be;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --hatch-angle: 64deg;
  --hatch-line: 1.5px;
  --hatch-gap: 1.5px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
::selection { background: var(--red); color: var(--paper); }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }

.cover { max-width: 1600px; margin: 0 auto; padding: 0 5vw; }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 88px; border-bottom: 2px solid var(--ink); gap: 24px; }
.domain { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.domain-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.masthead-note, .edition { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.edition { display: flex; gap: 12px; }

.hero { display: grid; grid-template-columns: 28px minmax(0, 1fr) 27%; gap: 3%; align-items: stretch; padding: 48px 0 52px; }
.hero-margin { display: flex; justify-content: space-between; align-items: center; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 9px; letter-spacing: .09em; padding: 8px 0; }
.name-block { align-self: center; min-width: 0; }
h1 { display: flex; align-items: baseline; font-family: Impact, "Arial Narrow", "Helvetica Neue", sans-serif; font-weight: 900; font-size: clamp(150px, 25vw, 390px); line-height: .86; letter-spacing: -.035em; }
.letter-window { display: inline-block; overflow: clip; padding-block: .07em; margin-block: -.07em; }
.letter { display: inline-block; }
.name-period { color: var(--red); }

/* 64° 排线剪贴蒙版（主体大字、图形与符号） */
h1,
.rosette-stage,
.graphic-arrow,
.link-arrow svg,
.footer-mark,
.intro-word {
  -webkit-mask-image: repeating-linear-gradient(
    var(--hatch-angle),
    #000 0px,
    #000 var(--hatch-line),
    transparent var(--hatch-line),
    transparent calc(var(--hatch-line) + var(--hatch-gap))
  );
  mask-image: repeating-linear-gradient(
    var(--hatch-angle),
    #000 0px,
    #000 var(--hatch-line),
    transparent var(--hatch-line),
    transparent calc(var(--hatch-line) + var(--hatch-gap))
  );
}
.name-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 36px; font-size: 12px; letter-spacing: .06em; }
.caption-serif { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: 22px; font-style: italic; letter-spacing: -.02em; }
.graphic { display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--line); padding-left: 12%; color: var(--red); }
.graphic-top, .graphic-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.graphic-arrow { width: 25px; height: 25px; }
.rosette-stage { margin: 20px 0; transform: translate3d(var(--drift-x, 0px), var(--drift-y, 0px), 0); transition: transform 700ms ease-out; }
.rosette { display: block; width: 100%; height: auto; transform: rotate(-12deg); }
.graphic-bottom { color: var(--ink); }

.index-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 0; border-top: 2px solid var(--ink); }
.index-heading h2 { font-size: 11px; font-weight: 700; letter-spacing: .09em; }
.index-heading h2 span { font-weight: 400; letter-spacing: .04em; }
.index-heading > span { font-family: var(--mono); font-size: 10px; }
.index-link { position: relative; isolation: isolate; display: grid; grid-template-columns: 55px minmax(0, 1fr) minmax(0, 1fr) 48px; gap: 24px; align-items: center; min-height: 105px; border-top: 1px solid var(--line); padding: 16px 0; transition: color 250ms ease; }
.index-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 450ms cubic-bezier(.22, 1, .36, 1); }
.index-link::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 650ms cubic-bezier(.22, 1, .36, 1); }
.link-number { font-family: var(--mono); font-size: 11px; align-self: start; padding-top: 8px; color: var(--red); }
.link-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 600;
  letter-spacing: -.045em;
  background-image: repeating-linear-gradient(
    var(--hatch-angle),
    currentColor 0px,
    currentColor var(--hatch-line),
    transparent var(--hatch-line),
    transparent calc(var(--hatch-line) + var(--hatch-gap))
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.link-kind {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .04em;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
}
.link-address { font-family: var(--mono); font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.link-arrow { display: grid; place-items: center; width: 44px; height: 44px; justify-self: end; border: 1px solid var(--line); border-radius: 50%; transition: transform 300ms ease, border-color 300ms ease; }
.link-arrow svg { width: 26px; height: 26px; transition: transform 300ms cubic-bezier(.22, 1, .36, 1); }
.index-link:focus-visible { color: var(--paper); }
.index-link:focus-visible::before { transform: scaleX(1); }
.index-link:focus-visible .link-arrow { border-color: var(--red); }
.index-link:focus-visible .link-arrow svg { transform: translate(2px, -2px); }
.index-link:active { color: var(--paper); }
.index-link:active::before { transform: scaleX(1); }
.index-link:active .link-arrow { transform: scale(.9); }
.index-link:focus-visible .link-number, .index-link:active .link-number { color: #f19a87; }
.link-name { transition: transform 350ms cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  .index-link:hover { color: var(--paper); }
  .index-link:hover::before, .index-link:hover::after { transform: scaleX(1); }
  .index-link:hover .link-name { transform: translateX(8px); }
  .index-link:hover .link-number { color: #f19a87; }
  .index-link:hover .link-arrow { border-color: var(--red); }
  .index-link:hover .link-arrow svg { transform: translate(2px, -2px); }
}
.colophon { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0 30px; border-top: 2px solid var(--ink); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.footer-mark { width: 25px; height: 25px; color: var(--red); }

.motion-controls { display: flex; justify-content: flex-end; gap: 20px; padding: 0 0 24px; }
.motion-controls[hidden] { display: none; }
.motion-controls button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; border: 0; background: none; color: var(--ink); padding: 0 3px; font: 10px var(--sans); cursor: pointer; }
.motion-controls button:hover { color: var(--red); }
.motion-controls button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.motion-controls svg { width: 16px; height: 16px; }
.play-icon { display: none; }
.paused .play-icon { display: block; }
.paused .pause-icon { display: none; }
.motion-controls button:disabled { opacity: .45; cursor: default; }
.intro { display: none; }
.motion .intro { display: flex; flex-direction: column; justify-content: space-between; position: fixed; inset: 0; z-index: 10; background: var(--ink); color: var(--paper); padding: 40px 5vw; pointer-events: none; animation: curtain-out 950ms cubic-bezier(.76, 0, .24, 1) 950ms both; }
.intro-label { display: flex; justify-content: space-between; gap: 24px; font: 10px var(--mono); letter-spacing: .1em; }
.intro-word { font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(80px, 14vw, 200px); line-height: .86; letter-spacing: -.02em; animation: intro-type 900ms cubic-bezier(.22, 1, .36, 1) both; }
.intro-word em { color: var(--red); font-style: normal; }
.intro-track { height: 2px; background: #55554b; }
.intro-track span { display: block; width: 100%; height: 100%; background: var(--red); transform-origin: left; animation: intro-progress 1s cubic-bezier(.22, 1, .36, 1) both; }
.motion .masthead { animation: rise-in 850ms cubic-bezier(.22, 1, .36, 1) 850ms both; }
.motion .letter { animation: letter-in 1.1s cubic-bezier(.16, 1, .3, 1) 1.05s both; }
.motion .letter-window:nth-child(2) .letter { animation-delay: 1.15s; }
.motion .letter-window:nth-child(3) .letter { animation-delay: 1.25s; }
.motion .letter-window:nth-child(4) .letter { animation-delay: 1.4s; }
.motion .name-caption { animation: rise-in 1s cubic-bezier(.22, 1, .36, 1) 1.65s both; }
.motion .hero-margin { animation: fade-in 1s 1.8s both; }
.motion .graphic { animation: graphic-in 1.4s cubic-bezier(.16, 1, .3, 1) 1.25s both; }
.motion .rosette { animation: rosette-turn 32s linear 2.1s infinite; }
.motion .index-heading { animation: rule-in 1s cubic-bezier(.22, 1, .36, 1) 1.45s both; }
.motion .index-link { animation: rise-in 950ms cubic-bezier(.22, 1, .36, 1) 1.7s both; }
.motion .index-link:nth-of-type(2) { animation-delay: 1.85s; }
.motion .index-link:nth-of-type(3) { animation-delay: 2s; }
.motion .colophon { animation: rise-in 950ms cubic-bezier(.22, 1, .36, 1) 2.15s both; }
.motion .domain-dot { animation: signal-pulse 3.5s ease-in-out 2.5s infinite; }
.motion .footer-mark { animation: rosette-turn 24s linear 2.5s infinite; }
.paused *, .paused *::before, .paused *::after { animation: none !important; transition: none !important; }
.paused .intro, .skip-intro .intro { display: none; }
.skip-intro .masthead, .skip-intro .letter, .skip-intro .name-caption,
.skip-intro .hero-margin, .skip-intro .graphic, .skip-intro .index-heading,
.skip-intro .index-link, .skip-intro .colophon { animation: none; }
.page-away *, .page-away *::before, .page-away *::after { animation-play-state: paused !important; }

@keyframes curtain-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes intro-type { from { opacity: 0; transform: translateY(40px) skewY(3deg); } to { opacity: 1; transform: none; } }
@keyframes intro-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes letter-in { from { transform: translateY(115%) rotate(8deg); } to { transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes graphic-in { from { opacity: 0; transform: scale(.25) rotate(-80deg); } to { opacity: 1; transform: none; } }
@keyframes rule-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes rosette-turn { from { transform: rotate(-12deg); } to { transform: rotate(348deg); } }
@keyframes signal-pulse { 0%, 100% { box-shadow: 0 0 0 0 #cf392800; } 40% { box-shadow: 0 0 0 6px #cf392821; } 80% { box-shadow: 0 0 0 12px #cf392800; } }

@media (min-width: 1600px) {
  .cover { padding: 0 80px; }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 20px minmax(0, 1fr) 26%; gap: 2.5%; }
  .name-caption { flex-direction: column; gap: 10px; margin-top: 28px; }
  .link-name { flex-direction: column; gap: 8px; }
  .index-link { grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr) 32px; gap: 16px; }
  .graphic-bottom { flex-direction: column; align-items: flex-start; gap: 7px; }
}

@media (max-width: 600px) {
  .cover { padding: 0 24px; }
  .masthead { min-height: 70px; gap: 12px; }
  .domain { font-size: 18px; }
  .masthead-note { display: none; }
  .edition { font-size: 9px; gap: 6px; }
  .hero { position: relative; grid-template-columns: 1fr; padding: 36px 0 30px; }
  .hero-margin { writing-mode: horizontal-tb; transform: none; padding: 0; font-size: 8px; margin-bottom: 45px; }
  .name-block { position: relative; }
  h1 { font-size: clamp(140px, 42vw, 240px); letter-spacing: -.035em; }
  .name-caption { flex-direction: row; align-items: baseline; gap: 10px; margin-top: 26px; font-size: 10px; }
  .caption-serif { font-size: 17px; }
  .graphic { position: absolute; top: 63px; right: 0; width: 58px; border: 0; padding: 0; }
  .graphic-top, .graphic-bottom { display: none; }
  .rosette-stage { margin: 0; }
  .index-heading { padding: 15px 0; }
  .index-link { grid-template-columns: 24px minmax(0, 1fr) 30px; column-gap: 12px; row-gap: 10px; min-height: 116px; padding: 20px 0; }
  .link-number { grid-row: 1 / 3; padding-top: 7px; font-size: 9px; }
  .link-name { grid-column: 2; flex-direction: row; gap: 12px; font-size: 29px; }
  .link-kind { font-size: 8px; }
  .link-address { grid-column: 2; grid-row: 2; text-align: left; font-size: 10px; }
  .link-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 32px; height: 32px; }
  .link-arrow svg { width: 21px; height: 21px; }
  .colophon { font-size: 8px; gap: 8px; padding: 20px 0 24px; }
  .footer-mark { width: 20px; height: 20px; }
  .motion .intro { padding: 30px 24px; }
  .intro-label { font-size: 8px; }
  .motion-controls { gap: 16px; padding-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none !important; }
  .rosette-stage { transform: none; }
}
