:root {
  color-scheme: light;
  --paper: #f5f1ea;
  --panel: #fcfbf8;
  --rail: #eae0cf;
  --ink: #1c1917;
  --muted: #625a52;
  --line: #d9cfc0;
  --accent: #bd3c0a;
  --green: #165c38;
  --serif: "Songti SC", STSong, "Noto Serif SC", SimSun, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #bc3e0d; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; background: #fff; border: 2px solid var(--accent); }
.skip-link:focus { transform: translateY(0); }
.topbar { min-height: 59px; display: flex; align-items: center; gap: 16px; padding: 7px 32px; background: rgba(252,251,248,.97); border-top: 2px solid var(--accent); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; }
.brand-seal, .rail-seal, .stage-seal { display: grid; place-items: center; color: white; font-family: var(--serif); font-weight: 700; box-shadow: 0 4px 10px #493e2e1c; }
.brand-seal { width: 35px; height: 35px; border-radius: 10px; background: var(--accent); font-size: 18px; }
.brand strong { display: block; font: 700 17px/1.15 var(--serif); letter-spacing: .02em; white-space: nowrap; }
.brand small { display: block; margin-top: 3px; font-size: 8px; line-height: 1; letter-spacing: .18em; color: #73665b; white-space: nowrap; }
.hall-tag { padding: 6px 12px; border: 1px solid #e7c3ad; border-radius: 30px; color: #a3330a; font-size: 11px; font-weight: 700; white-space: nowrap; }
.hall-tag span { color: var(--accent); }
.current-label { min-width: 0; color: #746a61; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.current-label strong { color: #a43b12; margin-left: 6px; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; white-space: nowrap; }
.top-home, .language { border: 1px solid #d8cfc5; background: #fffdfa; border-radius: 40px; padding: 8px 15px; font-size: 12px; font-weight: 700; }
.language { color: var(--accent); }
.home-page .top-home { display: none; }
.hall-layout { display: grid; grid-template-columns: 312px minmax(0,1fr); min-height: calc(100vh - 101px); }
.exhibit-rail { background: var(--rail); border-right: 1px solid var(--line); }
.rail-heading { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 16px; border-bottom: 1px solid #d7cbbb; font-size: 10px; }
.rail-heading strong { color: #9a3412; letter-spacing: .12em; }
.rail-heading span { color: #796f65; }
.rail-list { display: grid; gap: 7px; padding: 10px 12px 20px; }
.rail-item { min-height: 59px; display: flex; align-items: center; gap: 11px; padding: 8px 11px; border: 1px solid #e0d6ca; border-radius: 13px; background: rgba(252,251,248,.45); transition: background .18s, border-color .18s, transform .18s; }
.rail-item:hover { background: #fbf9f4; transform: translateX(2px); }
.rail-item[aria-current="true"] { background: #fcfbf8; border-color: #d3c4b6; box-shadow: inset 3px 0 #766c64, 0 5px 12px #76604b0a; }
.rail-seal { flex: 0 0 37px; height: 37px; border-radius: 9px; background: #827a72; font-size: 18px; }
.rail-1 .rail-seal, .seal-1 { background: #c2420c !important; }
.rail-2 .rail-seal, .seal-2 { background: #166534 !important; }
.rail-3 .rail-seal, .seal-3 { background: #244367 !important; }
.rail-4 .rail-seal, .seal-4 { background: #9f3414 !important; }
.rail-5 .rail-seal, .seal-5 { background: #354252 !important; }
.rail-6 .rail-seal, .seal-6 { background: #456218 !important; }
.rail-7 .rail-seal { background: #292421; }
.rail-copy { min-width: 0; }
.rail-copy strong, .rail-copy small { display: block; overflow: hidden; text-overflow: ellipsis; }
.rail-copy strong { font: 700 15px/1.3 var(--serif); white-space: nowrap; }
.rail-copy small { margin-top: 3px; font-size: 11px; line-height: 1.3; color: #70665c; white-space: nowrap; }
.rail-arrow { margin-left: auto; color: #8b7d70; opacity: 0; }
.rail-item:hover .rail-arrow, .rail-item[aria-current="true"] .rail-arrow { opacity: 1; }
.exhibit-stage { min-width: 0; background: linear-gradient(180deg, #f5f1ea 0%, #f5f1ea 25%, #f5f1eacc 68%, #f5f1ea82 100%), url('/assets/editorial/chongqing-skyline-editorial.jpg') center bottom / 100% auto no-repeat; }
.stage-panel { min-height: calc(100vh - 101px); display: flex; align-items: center; padding: 56px 4%; scroll-margin-top: 8px; }
.stage-panel[hidden], .demo-panel[hidden] { display: none !important; }
.stage-inner { display: grid; grid-template-columns: minmax(310px,.83fr) minmax(390px,1.22fr); align-items: center; gap: clamp(28px, 4vw, 68px); width: 100%; max-width: 1280px; margin: 0 auto; }
.stage-copy { max-width: 500px; }
.stage-overline { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.stage-seal { width: 45px; height: 45px; flex: 0 0 45px; border-radius: 12px; background: #25211f; font-size: 22px; }
.stage-overline strong { display: block; margin-top: 3px; color: #5e5650; font-size: 12px; line-height: 1.4; }
.kicker { margin-bottom: 10px; color: #a5360c; font-family: var(--sans); font-size: 10px; font-weight: 800; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.stage-copy h1, .stage-copy h2, .detail-hero h1 { margin: 0 0 20px; font: 700 clamp(36px, 3.35vw, 54px)/1.12 var(--serif); letter-spacing: -.035em; }
.stage-copy h1 em, .stage-copy h2 em, .detail-hero h1 em { color: #c23e08; font-style: normal; }
.stage-lead { max-width: 440px; color: #5b554f; font-size: 15px; line-height: 1.85; }
.lobby-meta { display: flex; gap: 0; padding: 16px 0 0; margin: 18px 0 24px; border-top: 1px solid #cfc3b7; list-style: none; }
.lobby-meta li { flex: 1; padding: 0 9px; border-left: 1px solid #d2c7bb; color: #62574e; font-size: 11px; line-height: 1.45; }
.lobby-meta li:first-child { padding-left: 0; border: 0; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 21px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.3; transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; box-shadow: 0 5px 14px #a8411822; }
.button-primary:hover { background: #9f3108; }
.button-light { background: #fffdfa; border-color: #d8ccc1; }
.showcase-window { overflow: hidden; border: 1px solid #211b18; border-radius: 24px; background: #211d1b; box-shadow: 0 18px 36px #30261e24; }
.window-bar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 15px; color: #dab6a3; font-size: 10px; font-weight: 700; }
.window-pill { padding: 7px 11px; border-radius: 24px; background: var(--accent); color: white; letter-spacing: .05em; }
.window-body { min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 34px 9% 25px; background: linear-gradient(120deg, #f5f1e2, #e6e8d8); }
.window-title { align-self: stretch; }
.window-title h2 { margin: 0 0 5px; color: #214c40; font: 700 clamp(20px, 1.7vw, 26px)/1.25 var(--serif); }
.window-title p:last-child { margin: 0; color: #697268; font-size: 12px; }
.mock-board { width: 100%; padding: 13px 16px; border: 1px solid #d9ddcb; border-radius: 11px; background: #fafaf2; box-shadow: 0 7px 18px #25332818; }
.mock-dots { display: flex; align-items: center; gap: 5px; padding-bottom: 10px; color: #6d7666; font-size: 10px; }
.mock-dots i { width: 5px; height: 5px; background: #86a68b; border-radius: 50%; }
.mock-dots span { margin-left: 6px; }
.mock-board ol { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mock-board li { display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 8px 10px; border-radius: 6px; background: #f0f1e8; }
.mock-board li:last-child { background: #e6ebda; }
.preview-index { color: #9aa695; font: 700 12px var(--serif); }
.mock-board li div { flex: 1; }
.mock-board li strong, .mock-board li small { display: block; color: #315b4b; line-height: 1.35; }
.mock-board li strong { font-size: 11px; }
.mock-board li small { margin-top: 3px; color: #718076; font-size: 10px; }
.preview-tick { color: #57866b; }
.window-caption { color: #687268; font-size: 10px; text-align: center; }
.window-caption span { color: var(--green); }
.window-footer { display: flex; justify-content: space-between; padding: 11px 16px; color: #bd9c89; font-size: 10px; }
.topic-window { overflow: hidden; background: #fcfbf8; border: 1px solid #d5cabd; border-radius: 22px; box-shadow: 0 18px 35px #4d403115; }
.topic-photo { position: relative; height: clamp(190px, 21vw, 300px); background: #e3dacb; }
.topic-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag { position: absolute; left: 18px; bottom: 16px; padding: 6px 10px; border-radius: 8px; background: #211b17d9; color: white; font-size: 10px; font-weight: 700; }
.topic-window-body { padding: 20px 22px 23px; }
.preview-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.preview-steps article { display: flex; gap: 9px; padding: 8px 0; border-top: 1px solid #e3dcd1; }
.step-number { flex-shrink: 0; color: #b45326; font: 700 12px/1.5 Georgia, serif; }
.preview-steps h3 { margin: 0 0 3px; font: 700 14px/1.35 var(--serif); }
.preview-steps p { margin: 0; color: #756c63; font-size: 11px; line-height: 1.5; }
.principles-card { padding: 28px; border: 1px solid #d7cdc0; border-radius: 22px; background: #fcfbf8e8; box-shadow: 0 18px 35px #4d403112; }
.principles-card article { display: flex; gap: 18px; padding: 17px 0; border-bottom: 1px solid #e7ded4; }
.principles-card article:last-child { border-bottom: 0; }
.principles-card article > span { color: var(--accent); font: 700 14px var(--serif); }
.principles-card h3 { margin: 0 0 4px; font: 700 18px var(--serif); }
.principles-card p { margin: 0; color: var(--muted); }
.site-footer { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 8px 32px; border-top: 1px solid var(--line); background: #fcfbf8; color: #786e64; font-size: 10px; }
.site-footer > div { display: flex; align-items: center; gap: 10px; }
.footer-seal { padding: 2px 6px; border: 1px solid #e3bea7; border-radius: 4px; color: #ab3a0e; font-size: 9px; font-weight: 700; white-space: nowrap; }
.site-footer a { color: #8e3a1b; white-space: nowrap; }

.detail-main { max-width: 1440px; margin: auto; }
.detail-hero { display: grid; grid-template-columns: 1fr 1.02fr; gap: 5%; align-items: center; min-height: 520px; padding: 56px 7%; }
.breadcrumb { margin-bottom: 35px; color: #746a60; font-size: 12px; }
.breadcrumb a { color: #9a3914; }
.breadcrumb span { margin: 0 7px; color: #b8aca0; }
.detail-hero h1 { max-width: 680px; font-size: clamp(40px, 4vw, 62px); }
.detail-lead { max-width: 580px; margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.detail-hero-photo { position: relative; overflow: hidden; height: 390px; border-radius: 22px; background: #dfd6c9; box-shadow: 0 18px 35px #4d403118; }
.detail-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-photo span { position: absolute; bottom: 18px; left: 18px; padding: 8px 12px; border-radius: 7px; background: #24201bd9; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.detail-section { padding: 76px 7%; }
.workflow-section { background: #fdfbf7; border-top: 1px solid #e7ddd0; border-bottom: 1px solid #e7ddd0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 30px; }
.section-heading h2, .context-section h2, .next-section h2 { margin: 0; font: 700 clamp(27px, 2.6vw, 38px)/1.25 var(--serif); }
.section-heading > p { max-width: 410px; margin: 0; color: var(--muted); line-height: 1.8; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.workflow-grid article { min-height: 165px; padding: 21px; border: 1px solid #e1d7ca; border-radius: 13px; background: #f7f3ec; }
.workflow-grid .step-number { display: block; margin-bottom: 20px; }
.workflow-grid h3 { margin: 0 0 8px; font: 700 19px var(--serif); }
.workflow-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.demo-section { background: #ece5d9; }
.demo-shell { overflow: hidden; border: 1px solid #d4c5b6; border-radius: 17px; background: #fdfbf7; box-shadow: 0 10px 25px #4d40310e; }
.demo-bar { display: flex; justify-content: space-between; gap: 10px; padding: 13px 20px; background: #28221f; color: #e0beaa; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.demo-tabs { display: flex; gap: 8px; padding: 20px 22px 0; overflow-x: auto; }
.demo-tabs button { flex-shrink: 0; padding: 9px 15px; border: 1px solid #dcd1c4; border-radius: 999px; background: #f8f4ed; color: #5a5046; cursor: pointer; font-size: 12px; font-weight: 700; }
.demo-tabs button[aria-selected="true"] { border-color: #bd3c0a; background: #bd3c0a; color: white; }
.demo-panels { padding: 20px 22px 25px; }
.demo-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.demo-example { min-height: 150px; padding: 18px; border: 1px solid #e6ddd3; border-radius: 10px; background: #f8f6f1; }
.demo-example.result { background: #edf1e8; border-color: #dbe5d7; }
.demo-example.human { background: #fbf0e8; border-color: #f0dbcc; }
.demo-label { display: inline-block; margin-bottom: 13px; color: #9c3c16; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.demo-example p { margin: 0; color: #504b44; font-size: 13px; line-height: 1.75; }
.context-section { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 9%; background: #fdfbf7; }
.context-intro { margin: 20px 0 32px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.context-articles article { padding: 19px 0; border-top: 1px solid #e7ded4; }
.context-articles h3 { margin: 0 0 8px; font: 700 20px var(--serif); }
.context-articles p { margin: 0; color: var(--muted); line-height: 1.8; }
.question-box { align-self: start; padding: 26px; border: 1px solid #e4d6c7; border-radius: 14px; background: #f4eee4; }
.question-mark { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 16px; border-radius: 10px; background: #c4410e; color: #fff; font: 700 20px var(--serif); }
.question-box h2 { font-size: 22px; }
.question-box ul { padding-left: 20px; margin: 20px 0 0; color: var(--muted); }
.question-box li { padding: 6px 0; }
.next-section { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 60px 7%; background: #e9dfd1; }
.next-section p:last-child { max-width: 600px; margin: 10px 0 0; color: var(--muted); }
.next-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; white-space: nowrap; }
.next-actions > a:not(.button) { color: #9d3a14; font-size: 12px; font-weight: 700; }

@media (max-width: 1120px) {
  .topbar { padding-left: 20px; padding-right: 20px; }
  .current-label { display: none; }
  .hall-layout { grid-template-columns: 260px minmax(0,1fr); }
  .rail-heading span { display: none; }
  .stage-panel { padding: 45px 4%; }
  .stage-inner { grid-template-columns: minmax(260px,.9fr) minmax(300px,1fr); gap: 25px; }
  .stage-copy h1, .stage-copy h2 { font-size: clamp(34px, 3.7vw, 43px); }
  .preview-steps { grid-template-columns: 1fr; gap: 3px; }
  .topic-photo { height: 200px; }
}
@media (max-width: 760px) {
  .topbar { min-height: 58px; gap: 8px; padding: 7px 14px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 7px; }
  .brand-seal { width: 33px; height: 33px; }
  .hall-tag, .top-home { display: none; }
  .language { padding: 7px 11px; }
  .hall-layout { display: block; min-height: 0; }
  .exhibit-rail { border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-heading { min-height: 32px; padding: 6px 15px; }
  .rail-heading span { display: block; }
  .rail-list { display: flex; gap: 7px; padding: 8px 13px 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; }
  .rail-item { flex: 0 0 205px; min-height: 56px; scroll-snap-align: start; }
  .rail-seal { flex-basis: 34px; height: 34px; font-size: 16px; }
  .rail-copy strong { font-size: 14px; }
  .rail-copy small { font-size: 10px; }
  .rail-arrow { display: none; }
  .exhibit-stage { background-size: auto 60%; }
  .stage-panel { min-height: 0; padding: 40px 20px 52px; }
  .stage-inner { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; }
  .stage-copy { max-width: none; }
  .stage-copy h1, .stage-copy h2 { font-size: clamp(37px, 10vw, 49px); }
  .stage-lead { font-size: 14px; }
  .showcase-window { border-radius: 18px; }
  .window-body { min-height: 320px; padding: 25px 7%; }
  .window-bar { font-size: 9px; }
  .topic-photo { height: 205px; }
  .preview-steps { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .site-footer { padding: 12px 16px; align-items: flex-start; }
  .site-footer > div { align-items: flex-start; }
  .detail-hero { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding: 30px 20px 45px; }
  .breadcrumb { margin-bottom: 28px; }
  .detail-hero h1 { font-size: clamp(38px, 10vw, 50px); }
  .detail-lead { font-size: 15px; }
  .detail-hero-photo { height: 240px; }
  .detail-section { padding: 52px 20px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading > p { margin-top: 12px; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .workflow-grid article { min-height: 145px; padding: 16px; }
  .workflow-grid .step-number { margin-bottom: 14px; }
  .workflow-grid h3 { font-size: 17px; }
  .demo-bar { font-size: 9px; }
  .demo-panel { grid-template-columns: 1fr; }
  .demo-example { min-height: 0; }
  .context-section { grid-template-columns: 1fr; gap: 30px; }
  .next-section { display: block; padding: 48px 20px; }
  .next-actions { align-items: flex-start; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
