:root {
  --ink: #17231d;
  --muted: #65736a;
  --line: #dce4dc;
  --paper: #f7f7f3;
  --accent: #1d6b4f;
  --warm: #e7f1e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
.site-header { width: min(1120px, calc(100% - 48px)); height: 80px; margin: auto; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; letter-spacing: .03em; }
nav { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
nav a:hover, nav a.is-active { color: var(--accent); }
main { width: min(1120px, calc(100% - 48px)); margin: auto; }
.hero { padding: 104px 0 92px; max-width: 860px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; }
h1, h2, h3 { font-family: Georgia, "Songti SC", "SimSun", serif; line-height: 1.25; }
h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.045em; }
.hero-copy { max-width: 640px; margin: 24px 0 32px; color: var(--muted); font-size: 18px; }
.actions { display: flex; gap: 12px; }
.button { padding: 11px 18px; border: 1px solid var(--accent); font-size: 14px; border-radius: 4px; }
.primary { color: white; background: var(--accent); }
.secondary { color: var(--accent); }
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section-heading h2, .about h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; }
.columns-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.column-card { position: relative; display: flex; min-height: 250px; padding: 24px; flex-direction: column; background: var(--warm); border: 1px solid transparent; border-radius: 5px; overflow: hidden; cursor: pointer; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.column-card:nth-child(even) { background: #edf0e8; }
.column-card::after { position: absolute; right: -20px; bottom: -50px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.48); content: ""; transition: transform .32s ease; }
.column-card:hover, .column-card:focus-visible { border-color: var(--accent); box-shadow: 0 16px 26px rgba(27, 62, 43, .14); outline: none; transform: translateY(-9px); }
.column-card:hover::after, .column-card:focus-visible::after { transform: scale(1.55) translate(-13px, -13px); }
.column-card.training-alignment { background: #eef0e9; }
.column-card.engineering { background: #e1efe7; }
.column-card.frontier { background: #f0f1e9; }
.column-card span { color: var(--accent); font: 700 12px ui-monospace, monospace; }
.column-card h3 { margin: 34px 0 8px; font-size: 24px; }
.column-card p { margin: 0; color: var(--muted); font-size: 14px; }
.column-card b { margin-top: auto; color: var(--accent); font-size: 13px; opacity: 0; transform: translateY(9px); transition: opacity .24s ease, transform .24s ease; }
.column-card i { display: inline-block; font-style: normal; transition: transform .24s ease; }
.column-card:hover b, .column-card:focus-visible b { opacity: 1; transform: translateY(0); }
.column-card:hover i, .column-card:focus-visible i { transform: translate(3px, -3px); }
.article-list { margin-top: 32px; border-top: 1px solid var(--line); }
.article-list a { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.article-list a:hover strong { color: var(--accent); }
.article-list span, .article-list em { color: var(--muted); font-size: 13px; font-style: normal; }
.article-list strong { font-family: Georgia, "Songti SC", serif; font-size: 20px; }
.about { max-width: 760px; }
.about p:last-child { color: var(--muted); font-size: 18px; }
footer { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.article-layout { position: relative; width: min(780px, calc(100% - 48px)); margin: auto; }
.article-sidebar { position: fixed; top: clamp(132px, 22vh, 240px); left: max(24px, calc(50% - 634px)); width: 190px; padding-left: 16px; border-left: 1px solid var(--line); transition: width .3s ease, padding .3s ease, border-color .2s ease; }
.sidebar-toggle { display: flex; width: 100%; padding: 0; align-items: center; justify-content: space-between; color: var(--accent); border: 0; background: transparent; cursor: pointer; font: 700 13px/1.3 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; text-align: left; }
.sidebar-toggle b { display: inline-block; font: 400 24px/1 Georgia, serif; transition: transform .3s ease; }
.sidebar-content { padding-top: 18px; overflow: hidden; opacity: 1; transform: translateX(0); transition: opacity .18s ease, transform .3s ease, max-height .35s ease, padding .3s ease; }
.article-sidebar.is-collapsed { width: 6px; height: 54px; padding: 0; border: 0; border-radius: 99px; background: var(--accent); box-shadow: 0 5px 12px rgba(29, 107, 79, .18); }
.article-sidebar.is-collapsed.is-reading { opacity: .24; }
.article-sidebar.is-collapsed.is-reading:hover { opacity: 1; }
.article-sidebar.is-collapsed .sidebar-toggle { position: absolute; top: -10px; left: -10px; width: 26px; height: 74px; border-radius: 99px; }
.article-sidebar.is-collapsed .sidebar-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.article-sidebar.is-collapsed .sidebar-toggle b { position: absolute; top: 20px; left: -4px; width: 34px; height: 34px; padding: 4px; color: white; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: var(--accent); font-size: 22px; text-align: center; transform: rotate(180deg); opacity: 0; transition: opacity .2s ease, transform .3s ease; }
.article-sidebar.is-collapsed:hover .sidebar-toggle b, .article-sidebar.is-collapsed:focus-within .sidebar-toggle b { opacity: 1; transform: rotate(180deg) translateX(2px); }
.article-sidebar.is-collapsed .sidebar-content { max-height: 0; padding: 0; pointer-events: none; opacity: 0; transform: translateX(-12px); }
.sidebar-label { margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.sidebar-column { display: block; margin-bottom: 24px; color: var(--accent); font: 700 19px/1.3 Georgia, "Songti SC", serif; }
.sidebar-column span { display: inline-block; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px; transition: transform .2s ease; }
.sidebar-column:hover span { transform: translate(2px, -2px); }
.sidebar-articles { display: grid; gap: 10px; }
.sidebar-articles p { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.sidebar-article { color: var(--muted); font-size: 13px; line-height: 1.45; transition: color .2s ease; }
.sidebar-article:hover { color: var(--accent); }
.sidebar-article.is-current { padding-left: 10px; color: var(--accent); border-left: 2px solid var(--accent); font-weight: 700; }
.sidebar-back { display: inline-block; margin-top: 30px; color: var(--muted); font-size: 13px; }
.sidebar-back:hover { color: var(--accent); }
.article-page { min-width: 0; padding: 92px 0 76px; }
.article-page > h1 { margin: 0; font-size: clamp(38px, 5vw, 58px); }
.article-summary { max-width: 680px; color: var(--muted); font-size: 19px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 54px; }
.tags span { padding: 3px 9px; color: var(--accent); background: var(--warm); border-radius: 99px; font-size: 12px; }
.article-page article { font-family: Georgia, "Songti SC", "SimSun", serif; font-size: 18px; }
.article-page article h1 { display: none; }
.article-page article h2 { margin: 54px 0 16px; font-size: 29px; letter-spacing: -.025em; }
.article-page article h3 { margin: 34px 0 10px; font-size: 22px; }
.article-page article p { margin: 0 0 20px; }
.article-page article code { padding: 1px 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #e9eee8; border-radius: 3px; font-size: .88em; }
.article-page article pre { overflow-x: auto; margin: 24px 0; padding: 18px; background: #18231e; border-radius: 5px; }
.article-page article pre code { padding: 0; color: #e9f3e8; background: transparent; }
.article-page article blockquote { margin: 30px 0; padding: 14px 18px; border-left: 3px solid var(--accent); color: #405349; background: var(--warm); }
.article-page article ul { padding-left: 24px; margin: 0 0 22px; }
.article-page article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.back-link { display: inline-block; margin-top: 54px; color: var(--accent); font-size: 15px; }
.overview-page { width: min(1120px, calc(100% - 48px)); margin: auto; }
.overview-hero { max-width: 770px; padding: 104px 0 74px; }
.overview-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 80px); letter-spacing: -.055em; }
.overview-hero > p:last-child { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.overview-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 76px; }
.overview-column-card { display: flex; min-height: 290px; padding: 30px; flex-direction: column; border-radius: 6px; background: #e6f0e8; transition: transform .25s ease, box-shadow .25s ease; }
.overview-column-card.training-alignment { background: #edf0e9; }
.overview-column-card.engineering { background: #dfeee5; }
.overview-column-card.frontier { background: #f0f0e8; }
.overview-column-card:hover { box-shadow: 0 16px 28px rgba(27,62,43,.14); transform: translateY(-6px); }
.overview-column-card > span { color: var(--accent); font: 700 13px ui-monospace, monospace; }
.overview-column-card h2 { margin: 40px 0 10px; font-size: 32px; }
.overview-column-card p { max-width: 420px; margin: 0; color: var(--muted); }
.overview-column-card b { margin-top: auto; color: var(--accent); font-size: 13px; }
.overview-column-card i { font-style: normal; }
.archive-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; grid-auto-rows: 118px; gap: 16px; padding-bottom: 76px; }
.archive-card { display: flex; min-height: 0; padding: 25px; flex-direction: column; justify-content: flex-end; border-radius: 6px; background: #e8eee7; transition: transform .24s ease, box-shadow .24s ease; }
.archive-card:hover { box-shadow: 0 16px 28px rgba(27,62,43,.14); transform: translateY(-5px); }
.archive-card p { margin: 0; color: var(--accent); font: 700 11px ui-monospace, monospace; }
.archive-card h2 { margin: 10px 0; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.025em; }
.archive-card > span { max-width: 540px; color: var(--muted); font-size: 14px; }
.archive-card b { margin-top: 14px; color: var(--accent); font-size: 13px; }
.archive-card.archive-layout-0 { grid-column: 1 / span 7; grid-row: span 4; background: #dcece0; }
.archive-card.archive-layout-1 { grid-column: 8 / span 5; grid-row: span 2; background: #f0f0e8; }
.archive-card.archive-layout-2 { grid-column: 8 / span 5; grid-row: span 2; background: #e5ece5; }
.archive-card.archive-layout-3 { grid-column: 1 / span 5; grid-row: span 2; background: #e2eee6; }
.archive-card.archive-layout-4 { grid-column: 1 / span 5; grid-row: span 2; background: #edf0e8; }
.archive-card.archive-layout-5 { grid-column: 6 / span 7; grid-row: span 4; background: #dfeee5; }
.about-page { width: min(1120px, calc(100% - 48px)); margin: auto; }
.about-hero { max-width: 880px; padding: 108px 0 80px; }
.about-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 82px); letter-spacing: -.055em; }
.about-hero > p:last-child { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: 19px; }
.about-signature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px; color: #eaf5ec; border-radius: 6px; background: #1d563f; }
.about-signature p { margin: 0; color: #b8d8c0; font-size: 15px; }
.about-signature h2 { margin: 8px 0 0; font-size: clamp(29px, 3.5vw, 46px); }
.about-copy { width: min(760px, 100%); padding: 94px 0 76px; font-family: Georgia, "Songti SC", "SimSun", serif; font-size: 19px; }
.about-copy h1 { display: none; }
.about-copy h2 { margin: 58px 0 17px; font-size: 33px; letter-spacing: -.03em; }
.about-copy p { margin: 0 0 22px; }
.about-principles { padding: 68px 0 76px; border-top: 1px solid var(--line); }
.about-principles > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.about-principles article { min-height: 220px; padding: 25px; background: #e7efe8; border-radius: 5px; }
.about-principles article:nth-child(2) { background: #eff0e9; }
.about-principles article:nth-child(3) { background: #e1ede5; }
.about-principles span { color: var(--accent); font: 700 12px ui-monospace, monospace; }
.about-principles h2 { margin: 42px 0 8px; font-size: 25px; }
.about-principles article p { margin: 0; color: var(--muted); font-size: 14px; }
.column-page { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 42px 0 76px; }
.crumb { display: inline-block; color: var(--muted); font-size: 14px; }
.crumb:hover { color: var(--accent); }
.column-intro { max-width: 760px; padding: 68px 0 60px; }
.column-intro h1 { margin: 0; font-size: clamp(48px, 7vw, 82px); }
.column-intro > p:last-child { max-width: 600px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.lead-story { display: grid; grid-template-columns: 1fr 154px; gap: 20px; min-height: 280px; margin-bottom: 84px; padding: 34px; color: #edf6ef; background: #1d563f; border-radius: 6px; }
.lead-story h2 { max-width: 650px; margin: 0; font-size: clamp(29px, 4vw, 44px); letter-spacing: -.03em; }
.lead-story .eyebrow { color: #a8d7b8; }
.lead-story p { max-width: 630px; margin: 14px 0; color: #cce0d2; }
.lead-actions { display: flex; gap: 12px; align-items: center; margin-top: 22px; }
.lead-actions > span { color: #a8d7b8; font-size: 13px; }
.lead-actions > a { display: inline-flex; gap: 8px; padding: 8px 12px; align-items: center; color: #1d563f; border-radius: 4px; background: #d7eadb; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.lead-actions > a:hover { background: white; transform: translateY(-2px); }
.lead-actions > a b { font-size: 15px; transition: transform .2s ease; }
.lead-actions > a:hover b { transform: translate(2px, -2px); }
.lead-story > a { display: grid; width: 100%; height: 100%; min-height: 180px; place-items: center; color: #1d563f; background: #d7eadb; border-radius: 4px; font: 700 46px/1 Georgia, serif; transition: background .24s ease, transform .24s ease; }
.lead-story > a:hover { background: white; transform: rotate(3deg); }
.topic-map { border-top: 1px solid var(--line); padding-top: 74px; }
.topic-map .section-heading { max-width: 650px; }
.topic-map .section-heading > p:last-child { color: var(--muted); }
.topic-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 118px; gap: 16px; margin-top: 40px; }
.topic-card { display: flex; padding: 22px; flex-direction: column; justify-content: flex-end; color: var(--ink); background: #e8eee7; border-radius: 5px; }
.topic-card h2 { margin: 7px 0; font-size: clamp(20px, 2.3vw, 29px); letter-spacing: -.025em; }
.topic-card .topic-theme, .topic-card .topic-state { margin: 0; color: var(--accent); font: 700 11px/1.2 ui-monospace, monospace; letter-spacing: .06em; }
.topic-card .topic-state { color: var(--muted); font-weight: 500; }
.topic-card b { margin-top: 8px; color: var(--accent); font-size: 13px; }
.topic-card.topic-1 { grid-column: span 7; grid-row: span 4; background: #dcece0; }
.topic-card.topic-2 { grid-column: span 5; grid-row: span 2; background: #edf0e8; }
.topic-card.topic-3 { grid-column: span 5; grid-row: span 2; background: #e9efe9; }
.topic-card.topic-4 { grid-column: span 8; grid-row: span 2; background: #f0f0e8; }
.topic-card.topic-5 { grid-column: span 4; grid-row: span 2; background: #e5ece5; }
a.topic-card { transition: transform .24s ease, box-shadow .24s ease; }
a.topic-card:hover { box-shadow: 0 14px 24px rgba(27, 62, 43, .14); transform: translateY(-5px); }
@media (max-width: 1400px) { .article-sidebar { position: static; width: 100%; margin: 32px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 5px; background: #f1f4ef; } .article-sidebar.is-collapsed { width: 100%; height: auto; padding: 16px; border: 1px solid var(--line); border-radius: 5px; box-shadow: none; } .article-sidebar.is-collapsed .sidebar-toggle { position: static; width: 100%; } .article-sidebar.is-collapsed .sidebar-toggle-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; } .article-sidebar.is-collapsed .sidebar-toggle b { position: static; width: auto; height: auto; padding: 0; color: var(--accent); border: 0; border-radius: 0; background: transparent; opacity: 1; } }
@media (max-width: 760px) { .site-header, main, footer, .column-page, .article-layout, .overview-page, .about-page { width: min(100% - 32px, 1120px); } .site-header { height: 68px; } nav { gap: 14px; } .hero { padding: 76px 0 64px; } .columns-grid { grid-template-columns: 1fr 1fr; } .article-list a { grid-template-columns: 1fr; gap: 5px; } .article-list em { display: none; } .column-intro { padding: 48px 0; } .lead-story { grid-template-columns: 1fr 88px; padding: 24px; } .lead-story > a { min-height: 120px; font-size: 32px; } .topic-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; } .topic-card, .topic-card.topic-1, .topic-card.topic-2, .topic-card.topic-3, .topic-card.topic-4, .topic-card.topic-5 { grid-column: auto; grid-row: auto; min-height: 190px; } .sidebar-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sidebar-articles p { grid-column: 1 / -1; } .sidebar-back { display: none; } .article-page { padding-top: 48px; } .overview-hero, .about-hero { padding: 72px 0 52px; } .overview-columns { grid-template-columns: 1fr; } .archive-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; } .archive-card, .archive-card.archive-layout-0, .archive-card.archive-layout-1, .archive-card.archive-layout-2, .archive-card.archive-layout-3, .archive-card.archive-layout-4, .archive-card.archive-layout-5 { grid-column: auto; grid-row: auto; min-height: 230px; } .about-signature, .about-principles > div { grid-template-columns: 1fr; } .about-copy { padding: 64px 0; font-size: 18px; } }
@media (max-width: 430px) { .columns-grid { grid-template-columns: 1fr; } nav a:nth-child(2) { display: none; } }
