@charset "utf-8";

:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --paper-deep: #eeece5;
  --ink: #152b46;
  --ink-soft: #4f6072;
  --muted: #83909c;
  --line: #dcdedb;
  --accent: #b27c50;
  --white: #fffefa;
  --content: 1400px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button { font: inherit; }
.site-header { height: 68px; padding: 0 max(5vw, calc((100vw - var(--content)) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(21,43,70,.09); }
.wordmark { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.wordmark-mark { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 14px; font-weight: 400; letter-spacing: 0; }
.header-link { color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.header-link span { margin-left: 7px; color: var(--accent); }
main { overflow: clip; }
.intro, .notes-section, .site-footer { width: min(var(--content), 88vw); margin-inline: auto; }
.intro { padding: clamp(50px, 6vw, 80px) 0 34px; }
.eyebrow, .section-kicker { margin: 0; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(178,124,80,.12); }
.eyebrow-divider, .section-kicker span { color: #c5a98e; }
h1 { max-width: 920px; margin: 20px 0 23px; color: var(--ink); font-family: Georgia, "Songti SC", "STSong", serif; font-size: clamp(48px, 6.6vw, 78px); font-weight: 400; line-height: 1.13; letter-spacing: -.055em; }
.title-mark { color: var(--accent); }
.intro-bottom { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: end; gap: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.participants { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 18px; }
.participants span { margin-inline: 5px; color: var(--accent); font-family: sans-serif; font-size: 14px; }
.intro-deck { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; text-decoration: none; }
.scroll-arrow { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.section-kicker { margin-bottom: 13px; }
h2 { margin: 0; font-family: Georgia, "Songti SC", "STSong", serif; font-size: clamp(30px, 3vw, 40px); font-weight: 400; letter-spacing: -.04em; }
.notes-section { padding: 76px 0 110px; border-top: 1px solid var(--line); }
.notes-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.notes-intro > p { max-width: 430px; margin: 0 0 4px; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.notes-layout { display: grid; grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr); gap: clamp(38px, 5vw, 72px); align-items: start; }
.toc-panel { position: sticky; top: 26px; }
.toc-label { padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .14em; }
.toc-list { display: grid; gap: 3px; padding: 10px 0 22px; }
.toc-item { display: grid; grid-template-columns: 32px 1fr; gap: 9px; padding: 11px 9px; border-left: 2px solid transparent; color: #647181; font-size: 14px; line-height: 1.55; text-decoration: none; transition: color .18s, background .18s; }
.toc-item span:first-child { color: #a2a9ab; font-size: 12px; font-variant-numeric: tabular-nums; }
.toc-item:hover, .toc-item.is-active { border-color: var(--accent); background: rgba(234,230,221,.55); color: var(--ink); }
.video-source { display: flex; align-items: center; gap: 12px; padding: 15px 11px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.play-icon { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #d9c4ad; border-radius: 50%; color: var(--accent); font-size: 9px; }
.video-source small, .video-source strong { display: block; }
.video-source small { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.video-source strong { font-size: 14px; font-weight: 550; }
.video-source strong span { margin-left: 5px; color: var(--accent); }
.chapter-list { min-width: 0; }
.chapter { padding: 0 0 48px; margin: 0 0 45px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.chapter:last-child { margin-bottom: 0; border-bottom: 0; }
.chapter-index { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.chapter h3 { margin: 0 0 17px; font-family: Georgia, "Songti SC", "STSong", serif; font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.035em; line-height: 1.45; }
.chapter-time { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.chapter-time-label { color: #a2a6a3; }
.time-link { color: var(--accent); font-variant-numeric: tabular-nums; text-decoration-color: rgba(178,124,80,.35); text-underline-offset: 3px; }
.chapter h4 { margin: 28px 0 10px; color: #233b55; font-size: 18px; font-weight: 650; letter-spacing: -.01em; line-height: 1.65; }
.chapter-copy { margin: 0 0 14px; color: #4d5e70; font-size: 19px; line-height: 1.8; white-space: pre-line; }
.chapter-copy:last-child { margin-bottom: 0; }
.notes-loading { color: var(--muted); font-size: 13px; }
.site-footer { display: flex; min-height: 83px; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.footer-wordmark { transform: scale(.9); transform-origin: left center; }
.site-footer p { color: var(--muted); font-size: 10px; }
.site-footer p span { color: #c6ad95; }
.back-top { color: var(--ink-soft); font-size: 10px; text-decoration: none; }

@media (max-width: 760px) {
  :root { scroll-padding-top: 70px; }
  .site-header { height: 58px; padding-inline: 5vw; }
  .intro, .notes-section, .site-footer { width: calc(100% - 36px); }
  .intro { padding: 72px 0 35px; }
  .eyebrow { gap: 7px; font-size: 10px; letter-spacing: .12em; }
  .eyebrow-dot { width: 6px; height: 6px; }
  h1 { margin: 27px 0 28px; font-size: clamp(42px, 11vw, 66px); line-height: 1.19; }
  .intro-bottom { grid-template-columns: 1fr auto; gap: 15px 12px; padding-top: 17px; }
  .participants { font-size: 16px; }
  .intro-deck { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
  .scroll-cue { grid-column: 2; grid-row: 1; gap: 7px; font-size: 12px; }
  .scroll-arrow { width: 23px; height: 23px; }
  .notes-section { padding: 62px 0 75px; }
  .notes-intro { display: block; margin-bottom: 27px; }
  .notes-intro > p { margin-top: 13px; font-size: 14px; }
  .notes-layout { display: block; }
  .toc-panel { position: sticky; z-index: 2; top: 0; margin: 0 -18px 32px; padding: 8px 18px 0; background: var(--paper); }
  .toc-label { padding-bottom: 8px; font-size: 10px; }
  .toc-list { display: flex; gap: 6px; overflow-x: auto; padding: 7px 0 9px; scrollbar-width: none; }
  .toc-list::-webkit-scrollbar { display: none; }
  .toc-item { flex: 0 0 auto; display: block; max-width: 220px; padding: 8px 10px; border: 1px solid var(--line); border-left-width: 1px; border-radius: 4px; font-size: 13px; line-height: 1.4; }
  .toc-item span:first-child { margin-right: 6px; }
  .toc-item:hover, .toc-item.is-active { border-color: #c6a98e; }
  .video-source { display: none; }
  .chapter { padding-bottom: 37px; margin-bottom: 35px; scroll-margin-top: 112px; }
  .chapter h3 { font-size: 25px; }
  .chapter-time { gap: 6px 8px; font-size: 12px; }
  .chapter h4 { margin-top: 25px; font-size: 16px; }
  .chapter-copy { font-size: 18px; line-height: 1.85; }
  .site-footer { min-height: 76px; flex-wrap: wrap; padding-block: 15px; }
  .site-footer p { order: 3; flex-basis: 100%; margin: -8px 0 0; }
}

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