/* 1. 设计变量：从这里修改整站颜色。所有字体均使用设备自带字体，无外部依赖。 */
:root { color-scheme: dark; --bg: #151713; --panel: #20231d; --text: #f1f2e9; --muted: #a7aca0; --line: #383d32; --accent: #d0fa72; --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { background: var(--accent); color: var(--bg); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.mono, .eyebrow, .tag { font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .06em; }
.eyebrow { margin-bottom: 1.2rem; color: var(--muted); }
.accent { color: var(--accent); }
.section { padding-block: 100px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: var(--accent); color: var(--bg); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 110px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; font-size: 2.8rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.wordmark-dot { color: var(--accent); font-size: 1.3em; margin-left: 3px; }
.os-label { font: .75rem var(--mono); letter-spacing: .02em; margin-left: 20px; color: var(--muted); }
nav { display: flex; gap: 30px; }
nav a { font-size: .875rem; padding-block: 12px; }
nav a:hover, .text-link:hover, .back-top:hover { color: var(--accent); }
.location { text-align: right; color: var(--muted); font: .75rem/1.8 var(--mono); }
/* 2. 首页和入口 */
.hero { padding-top: 42px; }
.hero-top { display: flex; justify-content: space-between; }
h1 { font-size: clamp(3.5rem, 12.6vw, 11.75rem); letter-spacing: -.078em; line-height: 1.15; font-weight: 800; margin: 30px 0 36px; white-space: nowrap; }
.hero-period { color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: 1.2fr 1fr 180px; gap: 32px; align-items: center; padding-bottom: 55px; }
.hero-bottom > p { font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.25; letter-spacing: -.035em; }
.hero-description p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 24px; font-size: .875rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-top: 23px; transition: color .2s; }
.text-link span { font-size: 1.4rem; }
.orbit { position: relative; width: 142px; height: 142px; border: 1px solid #69715d; border-radius: 50%; display: grid; place-items: center; justify-self: end; }
.orbit span { font-size: 4rem; font-weight: 700; color: var(--accent); }
.orbit-line { position: absolute; width: 182px; height: 54px; border: 1px solid #69715d; border-radius: 50%; transform: rotate(-35deg); }
.orbit i { position: absolute; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; top: 14px; right: 8px; }
.hero-foot { display: flex; justify-content: space-between; color: var(--muted); padding-bottom: 26px; }
.launchpad { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.launchpad a { padding: 26px 22px; border-right: 1px solid var(--line); transition: background .2s, color .2s; }
.launchpad a:first-child { padding-left: 0; }
.launchpad a:last-child { border-right: 0; }
.launchpad a:hover { background: var(--accent); color: var(--bg); padding-left: 22px; }
.launchpad .mono { color: var(--muted); font-size: .75rem; }
.launchpad a:hover .mono { color: #404831; }
.launch-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 1.65rem; font-weight: 600; margin-top: 16px; letter-spacing: -.05em; }
.launch-title b { font-weight: 400; font-size: 1.4rem; }
/* 3. 档案卡片。data-category 在 HTML 中标识筛选类别。 */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; }
.section-heading > .mono { color: var(--muted); text-align: right; }
.filter-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 28px; }
.filter-bar button { color: var(--muted); background: transparent; padding: 8px 18px; border: 1px solid transparent; border-radius: 30px; font-size: .875rem; }
.filter-bar button[aria-pressed="true"] { color: var(--text); border-color: #69715d; }
.filter-bar button:hover { background: var(--panel); color: var(--text); }
.filter-bar button span { margin-left: 8px; font: .75rem var(--mono); color: var(--muted); }
.filter-bar p { margin-left: auto; color: var(--muted); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-visual { height: 19.375rem; padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .25s; }
.archive-card:hover .card-visual { transform: translateY(-5px); }
.card-visual > .mono:last-child { margin-top: auto; }
.type-art { background: var(--accent); color: #243015; }
.type-art strong { margin-top: 30px; font: 500 clamp(2.5rem, 4.1vw, 4rem)/1.05 var(--mono); letter-spacing: -.065em; }
.type-art strong span { color: #647d37; }
.note-art { background: #d5d8cf; color: #252a21; }
.note-art strong { font: 400 clamp(2.5rem, 3.1vw, 3.2rem)/1.1 Georgia, serif; margin-top: 34px; letter-spacing: -.035em; }
.note-index { position: absolute; right: 22px; bottom: -23px; font-size: 6rem; line-height: 1.2; color: #b8beb1; }
.now-art { background: #272e22; color: #eef3e6; border: 1px solid #49543c; }
.now-art strong { font-size: clamp(2rem, 2.8vw, 2.8rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.15; margin-top: 35px; }
.now-art .mono { color: #becaaf; }
.card-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.card-caption .mono { color: var(--muted); font-size: .75rem; margin-bottom: 5px; }
h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.card-caption > span { font-size: 1.5rem; }
/* 4. 各内容区域 */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; border-top: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 360px; margin-top: 24px; }
.project-detail { background: var(--panel); border: 1px solid var(--line); padding: 32px; }
.tag { display: inline-block; border: 1px solid #65794b; border-radius: 3px; padding: 3px 8px; color: var(--accent); font-size: .75rem; }
.project-detail h3 { font-size: 2rem; margin: 20px 0 10px; }
.project-detail > p, .note-detail > p:not(.mono), .note-body p { color: var(--muted); }
dl { margin: 24px 0 0; }
dl > div { display: grid; grid-template-columns: 85px 1fr; padding-block: 12px; border-top: 1px solid var(--line); gap: 12px; }
dt { font: .75rem/1.8 var(--mono); color: var(--muted); }
dd { margin: 0; font-size: .875rem; }
.photos-section { background: #1b1e18; border-block: 1px solid var(--line); }
.photo-empty { min-height: 330px; position: relative; text-align: center; padding: 38px 24px; display: grid; justify-items: center; align-content: center; gap: 20px; border: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent, transparent calc(25% - 1px), #ffffff03 calc(25% - 1px), #ffffff03 25%); }
.photo-empty .mono { color: var(--accent); }
.photo-empty h3 { font: 400 clamp(2.2rem, 4vw, 3.5rem)/1.1 Georgia, serif; letter-spacing: -.035em; }
.photo-empty p { color: var(--muted); font-size: .875rem; }
.photo-corner { position: absolute; width: 26px; height: 26px; border-color: var(--muted); }
.top-left { top: 15px; left: 15px; border-top: 1px solid; border-left: 1px solid; }
.bottom-right { bottom: 15px; right: 15px; border-bottom: 1px solid; border-right: 1px solid; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: auto; display: block; }
.photo-grid figcaption { color: var(--muted); margin-top: 12px; }
#notes { border-top: 0; }
.note-detail .mono { color: var(--muted); }
.note-detail h3 { font-size: 2rem; margin: 20px 0 14px; }
details { margin-top: 22px; border-block: 1px solid var(--line); }
summary { padding-block: 16px; cursor: pointer; font-size: .875rem; }
summary span { float: right; font-size: 1.2rem; }
details[open] summary span { transform: rotate(45deg); }
.note-body p { margin: 0 0 18px; }
.now-section { background: var(--accent); color: #222c18; }
.now-section .split-section { border: 0; }
.now-section .eyebrow { color: #455536; }
.now-section h2 { margin-bottom: 24px; }
.now-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; border-top: 1px solid #9cb958; padding: 20px 0; }
.now-list .mono { padding-top: 4px; }
.about-section { text-align: center; padding-block: 110px; }
.about-section h2 { font-size: clamp(3.5rem, 8vw, 7rem); letter-spacing: -.06em; }
.about-copy { font-size: 1.25rem; color: var(--muted); margin-top: 28px; }
footer { border-top: 1px solid var(--line); padding-block: 30px; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
footer > .mono { color: var(--muted); }
/* 5. 小屏幕布局和减少动态效果的系统偏好 */
@media (min-width: 1600px) { h1 { font-size: 11.75rem; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .os-label { display: none; }
  nav { gap: 20px; }
  .hero-bottom { grid-template-columns: 1fr 1fr 130px; }
  .orbit { width: 110px; height: 110px; margin-right: 8px; }
  .orbit-line { width: 140px; }
  .launchpad a { padding: 22px 12px; }
  .launch-title { font-size: 1.2rem; }
  .launchpad .mono { font-size: .75rem; }
  .archive-grid { gap: 16px; }
  .card-visual { height: 18.125rem; padding: 20px; }
  .section-heading { align-items: start; }
  .section-heading > .mono { max-width: 180px; }
  .split-section { gap: 6%; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; padding-block: 20px 0; gap: 16px; }
  .wordmark { font-size: 2.4rem; }
  .location { margin-left: auto; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  nav a { padding-block: 10px 16px; }
  .hero { padding-top: 28px; }
  .hero-top { font-size: .75rem; gap: 10px; }
  h1 { font-size: clamp(2.75rem, 12vw, 5.4rem); margin: 35px 0; }
  .hero-bottom { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .hero-bottom > p { font-size: 1.6rem; }
  .hero-description { grid-column: 1 / -1; grid-row: 2; }
  .hero-description p br { display: none; }
  .orbit { width: 88px; height: 88px; margin-right: 12px; }
  .orbit span { font-size: 2.8rem; }
  .orbit-line { width: 115px; height: 38px; }
  .orbit i { top: 8px; right: 4px; }
  .hero-foot { gap: 24px; font-size: .75rem; }
  .hero-foot span:last-child { text-align: right; }
  .launchpad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launchpad a, .launchpad a:first-child { padding: 20px 14px; border-bottom: 1px solid var(--line); }
  .launchpad a:nth-child(even) { border-right: 0; }
  .launchpad a:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .launch-title { font-size: 1.5rem; margin-top: 10px; }
  .section { padding-block: 64px; }
  .section-heading { display: block; }
  .section-heading > .mono { display: block; text-align: left; max-width: none; margin-top: 20px; }
  .filter-bar { flex-wrap: wrap; gap: 2px; }
  .filter-bar button { padding-inline: 12px; }
  .filter-bar p { width: 100%; margin: 10px 0 0; }
  .archive-grid, .split-section, .photo-grid { grid-template-columns: 1fr; gap: 36px; }
  .card-visual { height: 19.375rem; padding: 26px; }
  .type-art strong { font-size: 3.5rem; }
  .note-art strong { font-size: 3rem; }
  .now-art strong { font-size: 2.8rem; }
  .project-detail { padding: 24px; }
  .now-list > div { grid-template-columns: 90px 1fr; gap: 16px; }
  .about-copy { font-size: 1.125rem; }
  footer { flex-wrap: wrap; }
  footer > span { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
