:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --ink: #1d2527;
  --muted: #656d6c;
  --line: #d7d9d2;
  --accent: #b94b2b;
  --lime: #c9e86b;
  --body: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(calc(100% - 48px), 1180px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 24px; top: 8px; transform: translateY(-150%); padding: 12px; color: var(--paper); background: var(--ink); }
.skip-link:focus { transform: none; }
header { border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; font-size: 17px; font-weight: 600; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--ink); font: 10px var(--mono); }
.brand-year { margin-left: 6px; font: 12px var(--mono); color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; color: var(--muted); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; }
.nav-links a:hover, footer a:hover { color: var(--accent); }
.home-link { margin-left: 10px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 76px; align-items: center; min-height: 600px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.signal { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { font-family: var(--display); font-size: clamp(52px, 6.4vw, 82px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; margin: 24px 0 25px; }
h1 .latin { font-family: "Avenir Next", "Trebuchet MS", sans-serif; font-size: 1.08em; font-weight: 500; letter-spacing: -.075em; }
h1 em { font-style: normal; color: var(--accent); }
.course-name { font-size: 16px; line-height: 1.8; margin: 0 0 12px; }
.hero-copy { font-size: 14px; color: var(--muted); line-height: 1.9; margin: 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; color: var(--muted); font-size: 12px; }
.hero-meta span + span { border-left: 1px solid var(--line); padding-left: 18px; margin-left: 18px; }
.year-figure { position: relative; height: 398px; overflow: hidden; background-color: var(--ink); color: var(--paper); background-image: linear-gradient(#f5f3ee10 1px, transparent 1px), linear-gradient(90deg, #f5f3ee10 1px, transparent 1px); background-size: 50px 50px; }
.figure-top, .figure-bottom { position: absolute; left: 24px; right: 24px; display: flex; align-items: center; justify-content: space-between; font: 10px var(--mono); letter-spacing: .06em; }
.figure-top { top: 24px; color: #c4cbc5; }
.figure-bottom { bottom: 25px; font-family: var(--body); font-size: 11px; letter-spacing: .16em; }
.year-pair { position: absolute; inset: 66px 30px 60px; display: flex; flex-direction: column; justify-content: center; font: 120px/.9 "Avenir Next", "Trebuchet MS", sans-serif; font-weight: 500; letter-spacing: -.08em; }
.year-pair span:first-child { align-self: flex-start; }
.year-pair span:last-child { align-self: flex-end; color: var(--lime); }
.year-axis { position: absolute; top: 50%; left: 8%; width: 84%; height: 1px; background: #c9e86b80; transform: rotate(-37deg); }
.figure-square { width: 10px; height: 10px; background: #ed7047; }
.content-section { padding-top: 82px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font: 11px var(--mono); letter-spacing: .08em; }
h2 { margin: 0; font: 600 32px/1.3 var(--display); letter-spacing: -.03em; }
.section-head > p { margin: 0 0 3px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.task-list { border-top: 1px solid var(--ink); }
.task-row { display: grid; grid-template-columns: 85px 1fr auto; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.stage-index { color: var(--muted); font: 13px var(--mono); }
.task-row h3 { margin: 0; font: 600 21px/1.5 var(--display); }
.status { font-size: 12px; color: var(--muted); padding-left: 16px; }
.status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 9px; border: 1px solid currentColor; border-radius: 50%; vertical-align: 2px; }
.section-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.resource { padding: 30px 28px; border-right: 1px solid var(--line); }
.resource:first-child { padding-left: 0; }
.resource:last-child { padding-right: 0; border-right: 0; }
.resource-type { color: var(--muted); font: 10px var(--mono); letter-spacing: .04em; }
.resource h3 { font: 600 23px/1.4 var(--display); margin: 25px 0 12px; }
.resource p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.resource-empty { display: block; margin-top: 34px; font-size: 12px; color: var(--muted); }
.works { padding-bottom: 90px; }
.empty-works { display: flex; gap: 24px; align-items: center; padding: 38px 28px; border: 1px dashed #afb6ad; }
.empty-mark { font-size: 30px; font-weight: 300; color: var(--muted); }
.empty-works h3 { font: 600 21px/1.5 var(--display); margin: 0 0 9px; }
.empty-works p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }
.empty-label { margin-left: auto; flex-shrink: 0; color: var(--muted); font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 24px 0 35px; color: var(--muted); font-size: 12px; line-height: 1.8; }
footer div { display: flex; gap: 24px; }
footer a { display: inline-block; padding: 4px 0; }
.footer-divider { padding: 0 10px; }
@media (max-width: 900px) {
  .hero { gap: 36px; }
  .year-figure { height: 370px; }
  .year-pair { font-size: 105px; }
  .nav-links { gap: 18px; }
  .home-link { margin-left: 0; }
  .resource { padding-inline: 20px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .nav { flex-wrap: wrap; gap: 0; padding-top: 18px; }
  .brand { min-height: 34px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; }
  .nav-links .home-link { font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding: 52px 0 44px; }
  h1 { font-size: 62px; margin: 22px 0; }
  .course-name { font-size: 14px; max-width: 320px; }
  .hero-copy { font-size: 13px; }
  .desktop-break { display: none; }
  .hero-meta { margin-top: 24px; font-size: 11px; }
  .year-figure { height: 250px; }
  .figure-top { top: 19px; }
  .figure-top, .figure-bottom { left: 20px; right: 20px; }
  .figure-bottom { bottom: 20px; }
  .year-pair { inset: 56px 24px 51px; flex-direction: row; justify-content: space-between; align-items: center; font-size: clamp(88px, 25vw, 128px); }
  .year-pair span:first-child, .year-pair span:last-child { align-self: center; }
  .year-axis { width: 35%; left: 32.5%; transform: rotate(-60deg); }
  .content-section { padding-top: 56px; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head > p { margin-top: 13px; font-size: 12px; }
  h2 { font-size: 28px; }
  .task-row { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 23px 0; }
  .task-row h3 { font-size: 18px; }
  .stage-index { font-size: 11px; }
  .status { font-size: 11px; padding-left: 0; }
  .status::before { margin-right: 6px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource, .resource:first-child, .resource:last-child { padding: 26px 0; border-right: 0; }
  .resource + .resource { border-top: 1px solid var(--line); }
  .resource h3 { margin-top: 16px; font-size: 21px; }
  .resource-empty { margin-top: 22px; }
  .empty-works { align-items: flex-start; gap: 15px; padding: 27px 20px; }
  .empty-works h3 { font-size: 18px; }
  .empty-label { display: none; }
  .works { padding-bottom: 60px; }
  footer { display: block; font-size: 11px; }
  footer div { margin-top: 10px; }
}
@media (max-width: 360px) {
  h1 { font-size: 54px; }
  .task-row h3 { font-size: 16px; }
  .nav-links { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
