:root {
  --midnight: #0d1b2a;
  --midnight-soft: #16283a;
  --amber: #f3a23a;
  --amber-dark: #a75b0b;
  --ivory: #f8f2e8;
  --paper: #fffdf8;
  --grey: #667380;
  --grey-light: #d9dee2;
  --ink: #17212b;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 28px 70px rgba(13, 27, 42, .11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 122px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

body, button { font: inherit; }
h1, h2, h3, p, dl, dd, figure { margin-top: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 18px; top: 12px; z-index: 100; padding: 10px 14px; color: var(--white); background: var(--midnight); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 253, 248, .96); border-bottom: 1px solid var(--grey-light); backdrop-filter: blur(14px); }
.city-status { color: #d9e1e8; background: var(--midnight); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.city-status-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.city-status-inner span:first-child { color: var(--amber); }
.header-main { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-lockup img { width: 44px; height: 44px; object-fit: contain; }
.brand-lockup strong { display: block; font-size: 18px; line-height: 1.25; letter-spacing: .02em; }
.brand-lockup span { display: block; margin-top: 3px; color: var(--grey); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; font-size: 13px; font-weight: 700; }
.site-nav a { position: relative; padding: 31px 0 29px; text-decoration: none; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--amber); transition: right .22s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a:focus-visible, .nav-toggle:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.nav-toggle { display: none; border: 0; color: var(--midnight); background: transparent; cursor: pointer; font-weight: 800; }
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 22px; height: 2px; background: currentColor; }
.nav-toggle { align-items: center; gap: 10px; }
.nav-toggle i { position: relative; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; }
.nav-toggle i::before { top: -7px; }
.nav-toggle i::after { top: 7px; }

.media-frame { position: relative; overflow: hidden; margin: 0; background: #cdd4da; }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section-code { margin-bottom: 12px; color: var(--amber-dark); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.rule { display: block; width: 64px; height: 2px; margin-top: 22px; background: var(--amber); }
.section-head { display: grid; grid-template-columns: 190px 1fr; gap: 44px; align-items: start; margin-bottom: 48px; }
.section-head h2, .visit-heading h2, .atlas-head h2 { margin-bottom: 14px; font: 700 clamp(34px, 4.4vw, 58px)/1.15 "Songti SC", Georgia, serif; letter-spacing: -.025em; }
.section-head p, .visit-heading p, .atlas-head p { max-width: 810px; color: var(--grey); }

.hero { padding: 64px 0 0; background: var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(42px, 6vw, 82px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--grey); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.eyebrow span { padding: 5px 9px; color: var(--midnight); border: 1px solid var(--midnight); }
h1 { max-width: 760px; margin-bottom: 24px; font: 700 clamp(42px, 6.4vw, 78px)/1.05 "Songti SC", Georgia, serif; letter-spacing: -.045em; }
.hero-slogan { margin-bottom: 16px; color: var(--amber-dark); font-size: clamp(19px, 2vw, 25px); font-weight: 800; }
.hero-intro { max-width: 690px; color: #58636d; font-size: 17px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; border-top: 1px solid #bec5c9; border-bottom: 1px solid #bec5c9; }
.hero-facts div { padding: 18px 18px 18px 0; border-right: 1px solid #bec5c9; }
.hero-facts div + div { padding-left: 18px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { color: var(--grey); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.hero-facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 800; }
.hero-map-window { position: relative; min-height: 590px; }
.hero-media { position: absolute; inset: 58px 0 64px 76px; border-radius: 0 0 0 86px; box-shadow: var(--shadow); }
.hero-media img { filter: grayscale(1) contrast(1.05); }
.map-grid { position: absolute; inset: 0 50px 0 0; border: 1px solid #b6bfc5; background-color: rgba(255,255,255,.36); background-image: linear-gradient(#c8ced2 1px, transparent 1px), linear-gradient(90deg, #c8ced2 1px, transparent 1px); background-size: 56px 56px; }
.map-grid i { position: absolute; width: 34%; height: 1px; background: rgba(13,27,42,.45); transform-origin: left center; }
.map-grid i:nth-child(1) { left: 8%; top: 26%; transform: rotate(18deg); }
.map-grid i:nth-child(2) { left: 34%; top: 18%; transform: rotate(74deg); }
.map-grid i:nth-child(3) { left: 18%; top: 66%; transform: rotate(-28deg); }
.map-grid i:nth-child(4) { left: 53%; top: 53%; transform: rotate(36deg); }
.map-grid i:nth-child(5) { left: 70%; top: 22%; transform: rotate(94deg); }
.map-grid i:nth-child(6) { left: 42%; top: 82%; transform: rotate(-12deg); }
.map-pin { position: absolute; width: 15px; height: 15px; border: 4px solid var(--paper); border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 1px var(--midnight); }
.pin-a { left: 15%; top: 18%; }.pin-b { right: 16%; top: 27%; }.pin-c { left: 38%; bottom: 12%; }
.location-ribbon { position: absolute; right: 0; bottom: 18px; min-width: 260px; padding: 18px 22px; color: var(--white); background: var(--midnight); }
.location-ribbon span { display: block; color: var(--amber); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.location-ribbon strong { display: block; margin-top: 4px; font-size: 15px; }
.quick-index { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 58px; border-top: 1px solid #c6cccf; }
.quick-index article { padding: 28px 28px 34px; border-right: 1px solid #c6cccf; }
.quick-index article:first-child { padding-left: 0; }
.quick-index article:last-child { border-right: 0; }
.quick-index span { color: var(--amber-dark); font-size: 12px; font-weight: 900; }
.quick-index h2 { margin: 10px 0 8px; font-size: 18px; }
.quick-index p { margin: 0; color: var(--grey); font-size: 13px; }

.official-intro { padding: 70px 0; color: var(--white); background: var(--midnight); }
.intro-grid { display: grid; grid-template-columns: 190px 1fr; gap: 44px; }
.intro-grid h2 { margin-bottom: 14px; font: 700 clamp(32px, 4vw, 52px)/1.15 "Songti SC", Georgia, serif; }
.intro-grid p:last-child { max-width: 900px; margin-bottom: 0; color: #c7d0d8; }

.places-ledger { padding: 110px 0; }
.ledger-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; align-items: stretch; }
.places-media { min-height: 660px; border-radius: var(--radius); }
.place-records { border-top: 1px solid var(--grey-light); }
.place-records article { padding: 26px 0; border-bottom: 1px solid var(--grey-light); }
.place-records article > span { color: var(--amber-dark); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.place-records h3 { margin: 7px 0 18px; font: 700 27px/1.2 "Songti SC", Georgia, serif; }
.place-records dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.place-records dl div { padding-right: 16px; }
.place-records dt { color: var(--grey); font-size: 11px; font-weight: 800; }
.place-records dd { margin: 4px 0 0; font-size: 14px; font-weight: 700; }

.category-atlas { padding: 110px 0; background: var(--ivory); }
.atlas-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: end; margin-bottom: 46px; }
.atlas-head .section-code { grid-column: 1 / -1; }
.atlas-head p { margin-bottom: 0; }
.atlas-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #bac2c7; border-left: 1px solid #bac2c7; }
.atlas-grid article { min-height: 295px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid #bac2c7; border-bottom: 1px solid #bac2c7; }
.atlas-grid article > span { color: var(--amber-dark); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.atlas-grid h3 { margin: 28px 0 12px; font-size: 22px; }
.atlas-grid p { margin-bottom: 26px; color: var(--grey); font-size: 14px; }
.atlas-grid em { margin-top: auto; color: var(--midnight); font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .15em; }
.atlas-media { min-height: 490px; margin-top: 46px; border-radius: var(--radius); }

.project-board { padding: 110px 0; color: var(--white); background: var(--midnight); }
.project-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: stretch; }
.project-copy h2 { max-width: 700px; margin-bottom: 18px; font: 700 clamp(36px, 5vw, 62px)/1.13 "Songti SC", Georgia, serif; }
.project-copy > p:not(.section-code) { color: #bdc7d0; }
.project-lines { margin-top: 42px; border-top: 1px solid #435363; }
.project-lines article { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; padding: 22px 0; border-bottom: 1px solid #435363; }
.project-lines article > span { grid-row: 1 / 3; color: var(--amber); font: 700 20px/1 Georgia, serif; }
.project-lines h3 { margin: 0 0 5px; font-size: 19px; }
.project-lines p { margin: 0; color: #afbbc5; font-size: 14px; }
.project-media { min-height: 680px; border-radius: var(--radius); }

.scene-routes { padding: 110px 0; }
.route-board { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--grey-light); border-bottom: 1px solid var(--grey-light); }
.route-board article { min-height: 330px; padding: 30px; border-right: 1px solid var(--grey-light); }
.route-board article:first-child { padding-left: 0; }
.route-board article:last-child { border-right: 0; }
.route-board span { color: var(--amber-dark); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.route-board h3 { margin: 72px 0 14px; font: 700 25px/1.25 "Songti SC", Georgia, serif; }
.route-board p { color: var(--grey); font-size: 14px; }
.scene-media { min-height: 610px; margin-top: 50px; border-radius: 0 90px 0 0; }

.district-index { padding: 110px 0; background: #e9edf0; }
.district-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; align-items: center; }
.district-media { min-height: 640px; border-radius: var(--radius); }
.district-copy h2 { margin-bottom: 18px; font: 700 clamp(36px, 4.6vw, 58px)/1.12 "Songti SC", Georgia, serif; }
.district-copy > p:not(.section-code) { color: var(--grey); }
.district-copy dl { margin: 32px 0 0; border-top: 1px solid #b6c0c7; }
.district-copy dl div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid #b6c0c7; }
.district-copy dt { color: var(--grey); font-size: 12px; font-weight: 800; }
.district-copy dd { margin: 0; font-weight: 800; }

.visit-center { padding: 110px 0; background: var(--paper); }
.visit-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: end; margin-bottom: 48px; }
.visit-heading .section-code { grid-column: 1 / -1; }
.visit-heading p { margin-bottom: 0; }
.visit-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: stretch; }
.visit-table { border-top: 2px solid var(--midnight); }
.visit-row { display: grid; grid-template-columns: 150px 1fr 180px; gap: 22px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--grey-light); }
.visit-row-head { padding: 12px 0; color: var(--grey); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.visit-row strong { font-size: 15px; }
.visit-row p { margin: 0; color: var(--grey); font-size: 14px; }
.visit-row em { color: var(--amber-dark); font-size: 12px; font-style: normal; font-weight: 800; }
.visit-media { min-height: 545px; border-radius: var(--radius); }
.faq { display: grid; grid-template-columns: .74fr 1.26fr; gap: 58px; margin-top: 88px; padding-top: 48px; border-top: 1px solid var(--grey-light); }
.faq-title-block h2 { margin-bottom: 14px; font: 700 clamp(32px, 4vw, 48px)/1.15 "Songti SC", Georgia, serif; }
.faq-title-block p:last-child { color: var(--grey); }
.faq-list details { border-top: 1px solid var(--grey-light); }
.faq-list details:last-child { border-bottom: 1px solid var(--grey-light); }
.faq-list summary { position: relative; padding: 21px 42px 21px 0; cursor: pointer; list-style: none; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 17px; color: var(--amber-dark); font-size: 26px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 42px 22px 0; color: var(--grey); }

.official-about { padding: 110px 0; color: var(--white); background: var(--midnight-soft); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 58px; }
.about-copy h2 { margin-bottom: 18px; font: 700 clamp(36px, 4.8vw, 60px)/1.12 "Songti SC", Georgia, serif; }
.about-copy > p:not(.section-code) { color: #bec9d1; }
.about-copy dl { margin: 34px 0 0; border-top: 1px solid #465665; }
.about-copy dl div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid #465665; }
.about-copy dt { color: #93a3b1; font-size: 12px; font-weight: 800; }
.about-copy dd { margin: 0; }
.about-media { min-height: 720px; border-radius: 90px 0 0 0; }

.site-footer { padding: 34px 0; color: #bdc7cf; background: #09131e; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: end; font-size: 12px; }
.footer-grid strong { color: var(--white); font-size: 17px; }
.footer-grid p { margin: 4px 0 0; }

@media (max-width: 1160px) {
  .site-nav { max-width: 68vw; gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .hero-grid, .project-grid, .district-grid, .about-grid { gap: 38px; }
  .hero-map-window { min-height: 520px; }
  .route-board { grid-template-columns: repeat(2, 1fr); }
  .route-board article:nth-child(2) { border-right: 0; }
  .route-board article:nth-child(-n+2) { border-bottom: 1px solid var(--grey-light); }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-media { min-height: 430px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 106px; }
  .city-status-inner span:nth-child(n+2) { display: none; }
  .header-main { min-height: 72px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; left: 0; right: 0; top: 106px; max-width: none; padding: 16px 24px 24px; display: grid; gap: 0; overflow: visible; color: var(--white); background: var(--midnight); border-bottom: 3px solid var(--amber); transform: translateY(-135%); visibility: hidden; transition: transform .22s ease, visibility .22s ease; }
  .site-nav[data-open="true"] { transform: translateY(0); visibility: visible; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #344657; }
  .site-nav a::after { display: none; }
  .hero-grid, .ledger-layout, .project-grid, .district-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-map-window { min-height: 480px; }
  .hero-media { inset: 52px 0 58px 52px; }
  .quick-index { grid-template-columns: repeat(2, 1fr); }
  .quick-index article:nth-child(2) { border-right: 0; }
  .quick-index article:nth-child(-n+2) { border-bottom: 1px solid #c6cccf; }
  .quick-index article:nth-child(3) { padding-left: 0; }
  .intro-grid, .section-head { grid-template-columns: 130px 1fr; }
  .atlas-head, .visit-heading, .faq { grid-template-columns: 1fr; gap: 24px; }
  .atlas-grid { grid-template-columns: repeat(2, 1fr); }
  .places-media, .project-media, .about-media { min-height: 520px; }
  .district-media { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 28px, 1240px); }
  .brand-lockup img { width: 38px; height: 38px; }
  .city-status-inner span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-lockup strong { max-width: 190px; font-size: 15px; }
  .brand-lockup span { display: none; }
  .nav-toggle span { display: none; }
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(38px, 12vw, 58px); }
  .hero-intro { font-size: 15px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 14px 0; border-right: 0; border-bottom: 1px solid #bec5c9; }
  .hero-facts div:last-child { border-bottom: 0; }
  .hero-map-window { min-height: 390px; }
  .hero-media { inset: 38px 0 52px 30px; border-radius: 0 0 0 48px; }
  .location-ribbon { min-width: 220px; }
  .quick-index { grid-template-columns: 1fr; }
  .quick-index article, .quick-index article:first-child, .quick-index article:nth-child(3) { padding: 20px 0; border-right: 0; border-bottom: 1px solid #c6cccf; }
  .quick-index article:last-child { border-bottom: 0; }
  .official-intro, .places-ledger, .category-atlas, .project-board, .scene-routes, .district-index, .visit-center, .official-about { padding: 76px 0; }
  .intro-grid, .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-head { margin-bottom: 34px; }
  .atlas-grid, .route-board { grid-template-columns: 1fr; }
  .atlas-grid article { min-height: 250px; }
  .route-board article, .route-board article:first-child { min-height: auto; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--grey-light); }
  .route-board h3 { margin-top: 32px; }
  .place-records dl { grid-template-columns: 1fr; gap: 10px; }
  .places-media, .project-media, .scene-media, .about-media { min-height: 390px; }
  .atlas-media, .district-media, .visit-media { min-height: 330px; }
  .visit-row, .visit-row-head { grid-template-columns: 1fr; gap: 5px; }
  .visit-row-head span:not(:first-child) { display: none; }
  .about-copy dl div, .district-copy dl div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
