:root {
  --ink: #171715;
  --paper: #f1eee7;
  --paper-deep: #e6e0d5;
  --white: #fffdf7;
  --red: #bb3d2a;
  --coral: #e57358;
  --gold: #ba8a42;
  --muted: #706d66;
  --line: rgba(23, 23, 21, 0.16);
  --light-line: rgba(255, 255, 255, 0.19);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -50px; z-index: 1000;
  padding: 10px 14px; background: var(--white); color: var(--ink);
}
.skip-link:focus { top: 12px; }

.topline {
  min-height: 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 6px 4vw; background: var(--ink); color: rgba(255,255,255,.72);
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
}
.topline p { margin: 0; }
.topline a { color: var(--coral); }

.site-header {
  position: relative; z-index: 50; min-height: 88px; display: flex; align-items: center;
  gap: 32px; padding: 15px 4vw; background: rgba(241, 238, 231, .96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-stamp {
  display: grid; width: 50px; aspect-ratio: 1; place-items: center;
  flex: 0 0 auto;
}
.brand-stamp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-word { font-family: Georgia, serif; font-size: 19px; font-weight: 800; letter-spacing: .08em; }
.brand-word > span { color: var(--red); }
.brand-line { max-width: 90px; padding-left: 11px; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.45; letter-spacing: .09em; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); margin-left: auto; }
.primary-nav a { position: relative; padding: 9px 0; font-size: 12px; font-weight: 700; }
.primary-nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; content: ""; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.language-switcher { flex: 0 0 auto; display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; }
.language-switcher button { min-width: 34px; height: 32px; border: 0; border-right: 1px solid var(--line); padding: 0 9px; background: transparent; cursor: pointer; color: var(--muted); font-size: 9px; font-weight: 800; }
.language-switcher button:last-child { border-right: 0; }
.language-switcher button:hover, .language-switcher button:focus-visible, .language-switcher button.is-active { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 1px; margin: 6px auto; background: var(--ink); }

.hero { position: relative; min-height: calc(100svh - 120px); overflow: hidden; display: flex; align-items: flex-end; color: white; background: #28251f; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,6,.91) 0%, rgba(7,7,6,.68) 35%, rgba(7,7,6,.14) 72%, rgba(7,7,6,.24) 100%), linear-gradient(0deg, rgba(7,7,6,.68) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 2; width: min(780px, 78vw); margin: auto auto auto 8vw; padding: 11vh 0 17vh; }
.eyebrow { margin: 0 0 20px; font-size: 10px; font-weight: 850; letter-spacing: .23em; text-transform: uppercase; }
.eyebrow.red { color: var(--red); }
.eyebrow.coral { color: var(--coral); }
.hero h1 { max-width: 760px; margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(44px, 6.1vw, 92px); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.hero-copy { max-width: 610px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: clamp(14px, 1.2vw, 18px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 36px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid transparent; padding: 0 22px; font-size: 12px; font-weight: 800; letter-spacing: .05em; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: #171715; }
.button-ghost { border-color: rgba(255,255,255,.44); color: white; }
.button-outline { margin-top: 28px; border-color: rgba(255,255,255,.4); color: white; }
.hero-caption { position: absolute; right: 4vw; bottom: 33px; z-index: 2; width: min(370px, 30vw); display: grid; grid-template-columns: auto 1fr; gap: 14px; border-top: 1px solid rgba(255,255,255,.34); padding-top: 13px; }
.hero-caption span { color: var(--coral); font-family: Georgia, serif; font-size: 12px; }
.hero-caption p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.55; }
.hero-scroll { position: absolute; bottom: 28px; left: 4vw; z-index: 2; display: grid; width: 39px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; }

.section { padding: 110px 6vw; }
.section-index { margin-bottom: 54px; color: var(--muted); font-family: Georgia, serif; font-size: 9px; letter-spacing: .17em; }
.mission-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .8fr); gap: 9vw; }
h2 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(36px, 4.8vw, 68px); font-weight: 500; line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.mission-copy { border-left: 1px solid var(--line); padding-left: 3vw; }
.mission-copy p { margin: 0 0 20px; color: #4e4c47; font-size: 14px; line-height: 1.95; }
.purpose-cards { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.purpose-cards article { min-height: 270px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.purpose-cards article > span { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.purpose-cards h3 { margin: 80px 0 14px; font-family: "Songti SC", "STSong", serif; font-size: 23px; font-weight: 600; }
.purpose-cards p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.origin-note { display: grid; grid-template-columns: minmax(220px,.5fr) 1fr; gap: 7vw; align-items: start; margin: 0 6vw 110px; border-top: 1px solid var(--line); padding: 30px 0; }
.origin-label { margin: 0; color: var(--red); font-family: Georgia, serif; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.origin-note > p:last-child { max-width: 870px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.culture-agent { position: relative; overflow: hidden; background: radial-gradient(circle at 18% 32%, rgba(229,115,88,.14), transparent 29%), radial-gradient(circle at 84% 12%, rgba(186,138,66,.1), transparent 22%), var(--ink); }
.culture-agent::before { position: absolute; inset: 0; content: ""; background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.agent-intro { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr); gap: 8vw; align-items: end; }
.agent-intro-copy > p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.9; }
.agent-stage { position: relative; display: grid; grid-template-columns: minmax(380px, .82fr) minmax(500px, 1.18fr); gap: 18px; margin-top: 76px; }
.agent-identity { position: relative; overflow: hidden; min-height: 650px; border: 1px solid var(--light-line); background: radial-gradient(circle at center, rgba(229,115,88,.12), transparent 45%); }
.agent-identity::before, .agent-identity::after { position: absolute; content: ""; background: rgba(255,255,255,.22); }
.agent-identity::before { top: 30px; right: 30px; width: 46px; height: 1px; }
.agent-identity::after { top: 7px; right: 52px; width: 1px; height: 46px; }
.agent-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(229,115,88,.36); border-radius: 50%; transform: translate(-50%, -54%); }
.orbit-outer { width: min(38vw, 490px); aspect-ratio: 1; animation: agent-spin 28s linear infinite; }
.orbit-inner { width: min(27vw, 340px); aspect-ratio: 1; border-style: dashed; animation: agent-spin 21s linear infinite reverse; }
.orbit-outer i { position: absolute; width: 9px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 7px rgba(229,115,88,.12); }
.orbit-outer i:nth-child(1) { top: 4%; left: 30%; }
.orbit-outer i:nth-child(2) { right: 3%; bottom: 33%; }
.orbit-outer i:nth-child(3) { bottom: 9%; left: 17%; background: var(--gold); }
.agent-core { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; width: 180px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); transform: translate(-50%, -54%); box-shadow: 0 0 0 16px rgba(229,115,88,.09), 0 20px 70px rgba(0,0,0,.34); }
.agent-core img { width: 80px; height: 80px; object-fit: contain; }
.agent-core span { position: absolute; right: 0; bottom: 31px; left: 0; text-align: center; font-family: Georgia, serif; font-size: 7px; font-weight: 800; letter-spacing: .17em; }
.agent-identity > p { position: absolute; right: 34px; bottom: 32px; left: 34px; margin: 0; color: rgba(255,255,255,.52); font-family: "Songti SC", serif; font-size: 15px; line-height: 1.7; text-align: center; }
.agent-demo { position: relative; align-self: center; margin: 36px 0; border: 1px solid rgba(255,255,255,.22); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.agent-window-bar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding: 14px 18px; }
.agent-window-bar > div { display: flex; align-items: center; gap: 9px; }
.agent-window-bar strong { font-size: 11px; }
.agent-window-bar > span { color: var(--red); font-family: Georgia, serif; font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.agent-status-dot { width: 7px; aspect-ratio: 1; border-radius: 50%; background: #4d9a67; box-shadow: 0 0 0 4px rgba(77,154,103,.13); }
.agent-profile { display: flex; flex-wrap: wrap; gap: 7px; border-bottom: 1px solid var(--line); padding: 14px 18px; }
.agent-profile span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: var(--muted); font-size: 8px; }
.agent-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 18px 18px 0; }
.agent-examples button { min-height: 44px; border: 1px solid var(--line); padding: 7px 9px; background: transparent; cursor: pointer; color: var(--muted); font-size: 8px; font-weight: 700; line-height: 1.35; }
.agent-examples button:hover, .agent-examples button:focus-visible, .agent-examples button.is-active { border-color: var(--red); background: var(--red); color: var(--white); }
.agent-conversation { display: grid; gap: 13px; padding: 24px 18px 22px; }
.agent-message { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.agent-message > span { padding-top: 11px; color: var(--muted); font-size: 8px; font-weight: 800; }
.agent-message > p { margin: 0; padding: 13px 15px; font-size: 11px; line-height: 1.75; }
.agent-user-message > p { border: 1px solid var(--line); background: var(--white); }
.agent-ai-message > p { background: #252523; color: rgba(255,255,255,.83); }
.agent-ai-message > span { color: var(--red); }
.agent-citations { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.agent-citations span { color: #47775a; font-size: 7px; font-weight: 800; }
.agent-citations span::before { content: "✓ "; }
.agent-capabilities { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid var(--light-line); border-left: 1px solid var(--light-line); }
.agent-capabilities article { min-height: 260px; padding: 24px; border-right: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); }
.agent-capabilities article > span { color: var(--coral); font-family: Georgia, serif; font-size: 9px; }
.agent-capabilities h3 { margin: 74px 0 14px; font-family: "Songti SC", serif; font-size: 24px; font-weight: 500; }
.agent-capabilities p { margin: 0; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.75; }
.agent-pipeline { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 25px 28px; background: var(--coral); color: var(--ink); }
.agent-pipeline span { font-size: 9px; font-weight: 800; text-align: center; }
.agent-pipeline i { font-style: normal; opacity: .45; }
.agent-trust { position: relative; display: grid; grid-template-columns: .7fr repeat(4, 1fr); margin-top: 28px; border: 1px solid var(--light-line); }
.agent-trust > * { min-height: 92px; display: flex; align-items: center; margin: 0; border-right: 1px solid var(--light-line); padding: 18px; }
.agent-trust > *:last-child { border-right: 0; }
.agent-trust strong { color: var(--coral); font-family: "Songti SC", serif; font-size: 17px; font-weight: 500; }
.agent-trust p { color: rgba(255,255,255,.6); font-size: 9px; line-height: 1.55; }
@keyframes agent-spin { to { transform: translate(-50%, -54%) rotate(360deg); } }

.dark-section { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .55fr); gap: 8vw; align-items: end; }
.section-head > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.section-head.light > p { color: rgba(255,255,255,.6); }
.dark-section .section-index { color: rgba(255,255,255,.42); }
.story-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 1px; margin-top: 70px; background: var(--light-line); }
.story { display: grid; grid-template-columns: .75fr 1fr; min-height: 310px; background: #20201e; }
.story-featured { grid-row: span 2; grid-template-columns: 1fr; }
.story-art { position: relative; overflow: hidden; display: grid; min-height: 260px; place-items: center; }
.story-art::before { position: absolute; inset: 0; content: ""; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.04) 35px); }
.story-art span { position: relative; font-family: "Songti SC", serif; font-size: clamp(100px, 15vw, 230px); line-height: 1; }
.art-home { background: linear-gradient(135deg, #ad4a35, #5e201a); color: #e7a28d; }
.art-name { background: linear-gradient(145deg, #223c35, #11231f); color: #6f9586; }
.art-street { background: linear-gradient(145deg, #b58a4c, #4a341b); color: #e0bf82; }
.story-body { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.story-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.story h3 { margin: 0; font-family: "Songti SC", serif; font-size: clamp(21px, 2.1vw, 34px); font-weight: 500; line-height: 1.35; }
.story-body > p { margin: 18px 0 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.75; }
.story-status { margin-top: 28px; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.story-quote { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 38px; background: var(--coral); color: var(--ink); }
.story-quote > p { margin: 0; font-family: Georgia, serif; font-size: 76px; line-height: .5; }
.story-quote blockquote { margin: 0; font-family: "Songti SC", serif; font-size: 25px; line-height: 1.5; }
.story-quote span { font-size: 8px; font-weight: 800; letter-spacing: .16em; }

.library-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 72px; }
.library-card { position: relative; overflow: hidden; min-height: 440px; padding: 22px; color: var(--white); }
.library-number { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 10px; }
.library-symbol { position: absolute; top: 40px; right: -7px; color: rgba(255,255,255,.14); font-family: "Songti SC", serif; font-size: 150px; line-height: 1; }
.library-card h3 { position: relative; z-index: 1; margin: 210px 0 20px; font-family: "Songti SC", serif; font-size: 22px; font-weight: 500; }
.library-card ul { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.library-card li { border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 6px 9px; font-size: 10px; }
.tone-ink { background: #292927; }
.tone-herb { background: #3d574c; }
.tone-red { background: #a23d2f; }
.tone-stone { background: #5e5b55; }
.tone-gold { background: #997440; }
.library-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 25px; }
.library-cta > div span { color: var(--red); font-family: Georgia, serif; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.library-cta p { max-width: 650px; margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.arrow-link { border-bottom: 1px solid var(--ink); padding-bottom: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; }

.creator-gallery { border-top: 1px solid var(--light-line); }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 12px; margin-top: 72px; }
.gallery-card { overflow: hidden; display: flex; min-width: 0; flex-direction: column; background: #242422; }
.gallery-visual { position: relative; overflow: hidden; display: grid; min-height: 330px; place-items: center; }
.gallery-feature .gallery-visual { min-height: 460px; }
.gallery-visual::before, .gallery-visual::after { position: absolute; content: ""; pointer-events: none; }
.gallery-glyph { position: relative; z-index: 1; font-family: "Songti SC", serif; font-size: clamp(120px, 17vw, 240px); line-height: 1; }
.gallery-edition { position: absolute; top: 20px; left: 20px; z-index: 2; font-family: Georgia, serif; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.visual-bronze { background: radial-gradient(circle at center, #aa8549 0 13%, #3f392c 14% 28%, #171715 29%); color: #c8a362; }
.visual-bronze::before { inset: 9%; border: 1px solid rgba(200,163,98,.5); border-radius: 50%; }
.visual-bronze::after { inset: 18%; border: 1px dashed rgba(200,163,98,.3); border-radius: 50%; }
.visual-ink { background: linear-gradient(145deg, #f0ede4 0 58%, #c7c3ba 59% 61%, #e4e0d7 62%); color: #1c1c1a; }
.visual-ink::before { width: 80%; height: 1px; background: rgba(23,23,21,.28); rotate: -19deg; }
.visual-opera { background: repeating-linear-gradient(135deg, #ad3c2c 0 28px, #191917 29px 58px); color: #f1c980; }
.visual-opera::before { width: 64%; aspect-ratio: 1; border: 2px solid rgba(241,201,128,.65); border-radius: 50%; }
.gallery-card-body { flex: 1; padding: 26px; }
.gallery-meta { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 20px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.gallery-card h3 { margin: 0; font-family: "Songti SC", serif; font-size: clamp(21px, 2vw, 31px); font-weight: 500; line-height: 1.4; }
.gallery-card-body > p { margin: 16px 0 0; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.75; }
.creator-charter { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border-top: 1px solid var(--light-line); border-left: 1px solid var(--light-line); }
.creator-charter article { min-height: 220px; padding: 24px; border-right: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); }
.creator-charter span { color: var(--coral); font-family: Georgia, serif; font-size: 9px; }
.creator-charter h3 { margin: 65px 0 13px; font-family: "Songti SC", serif; font-size: 23px; font-weight: 500; }
.creator-charter p { margin: 0; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.7; }
.source-record { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; margin-top: 30px; padding: 28px; background: var(--coral); color: var(--ink); }
.source-record span { display: block; margin-bottom: 9px; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.source-record strong { font-family: "Songti SC", serif; font-size: 18px; font-weight: 600; }
.source-record p { margin: 0; font-size: 11px; line-height: 1.75; }

.map-section { min-height: 760px; display: grid; grid-template-columns: .65fr 1fr; gap: 7vw; align-items: center; overflow: hidden; }
.map-copy { position: relative; z-index: 2; }
.map-copy > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.9; }
.circle-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.circle-pills span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 11px; color: rgba(255,255,255,.68); font-size: 9px; }
.map-visual { position: relative; padding-bottom: 80px; }
.globe { position: relative; width: min(48vw, 680px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: radial-gradient(circle at 60% 35%, rgba(229,115,88,.17), transparent 42%); }
.globe::before, .globe::after, .globe-ring, .globe-line { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.globe::before { inset: 0 31%; }
.globe::after { inset: 31% 0; }
.globe-ring { inset: 12% 0; }
.ring-two { inset: 0 12%; }
.globe-line { inset: 49% 0 auto; border-radius: 0; }
.line-two { inset: 0 auto 0 49%; }
.city { position: absolute; z-index: 2; padding: 6px 8px; background: var(--coral); color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: .06em; box-shadow: 0 0 0 5px rgba(229,115,88,.14); }
.city-toronto { top: 26%; left: 18%; }
.city-vancouver { top: 18%; left: 3%; }
.city-newyork { top: 37%; left: 29%; }
.city-london { top: 23%; left: 49%; }
.city-singapore { top: 61%; left: 68%; }
.city-sydney { top: 75%; left: 81%; }
.city-kuala { top: 56%; left: 62%; }
.city-johannesburg { top: 72%; left: 42%; }

.identity-card { position: absolute; right: -1vw; bottom: 0; z-index: 3; width: min(310px, 44%); padding: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.identity-card > span { color: var(--red); font-family: Georgia, serif; font-size: 7px; font-weight: 700; letter-spacing: .13em; }
.identity-card h3 { margin: 11px 0 18px; font-family: "Songti SC", serif; font-size: 24px; font-weight: 500; }
.identity-card dl { margin: 0; border-top: 1px solid var(--line); }
.identity-card dl div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.identity-card dt { color: var(--muted); font-size: 9px; }
.identity-card dd { margin: 0; font-size: 10px; font-weight: 700; }
.identity-card > p { margin: 14px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }

.governance { background: var(--paper-deep); }
.governance-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin: 72px 0 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.governance-flow li { min-height: 260px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.governance-flow span { color: var(--red); font-family: Georgia, serif; font-size: 9px; }
.governance-flow h3 { margin: 72px 0 13px; font-family: "Songti SC", serif; font-size: 21px; font-weight: 600; }
.governance-flow p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.governance-rules { display: grid; grid-template-columns: .7fr repeat(4, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--line); }
.governance-rules > * { min-height: 92px; display: flex; align-items: center; border-right: 1px solid var(--line); padding: 18px; }
.governance-rules > *:last-child { border-right: 0; }
.governance-rules strong { color: var(--red); font-family: "Songti SC", serif; font-size: 17px; font-weight: 600; }
.governance-rules div { gap: 9px; }
.governance-rules div span { color: var(--red); }
.governance-rules p { margin: 0; font-size: 9px; line-height: 1.5; }

.join-heading { display: grid; grid-template-columns: 1fr; max-width: 960px; }
.join-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.join-grid a { position: relative; min-height: 310px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .18s ease, color .18s ease; }
.join-grid a:hover { background: var(--red); color: var(--white); }
.join-grid span { color: var(--red); font-family: Georgia, serif; font-size: 10px; }
.join-grid a:hover span { color: var(--white); }
.join-grid h3 { margin: 100px 0 15px; font-family: "Songti SC", serif; font-size: 25px; font-weight: 500; }
.join-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.join-grid a:hover p { color: rgba(255,255,255,.72); }
.join-grid i { position: absolute; right: 24px; bottom: 22px; font-style: normal; font-size: 20px; }
.newsletter { display: grid; grid-template-columns: 1fr .9fr; gap: 5vw; align-items: end; margin-top: 80px; padding: 48px; background: var(--paper-deep); }
.newsletter span { color: var(--red); font-family: Georgia, serif; font-size: 9px; letter-spacing: .14em; }
.newsletter h3 { margin: 15px 0 0; font-family: "Songti SC", serif; font-size: clamp(26px, 3vw, 42px); font-weight: 500; }
.newsletter-action { border-top: 1px solid var(--ink); padding-top: 16px; }
.newsletter-action p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.newsletter-action a { display: inline-block; border-bottom: 1px solid var(--ink); padding-bottom: 5px; font-size: 11px; font-weight: 800; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; padding: 70px 5vw 28px; background: var(--ink); color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand .brand-stamp img { filter: invert(1); }
.footer-brand strong { font-family: Georgia, serif; letter-spacing: .08em; }
.footer-brand p { margin: 4px 0 0; color: rgba(255,255,255,.42); font-size: 8px; letter-spacing: .14em; }
.site-footer > p { max-width: 410px; margin: 0; color: rgba(255,255,255,.58); font-family: "Songti SC", serif; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; font-size: 10px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid var(--light-line); padding-top: 18px; color: rgba(255,255,255,.36); font-size: 9px; letter-spacing: .08em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .primary-nav { gap: 16px; }
  .brand-line { display: none; }
  .agent-stage { grid-template-columns: 1fr; }
  .agent-identity { min-height: 540px; }
  .orbit-outer { width: min(58vw, 490px); }
  .orbit-inner { width: min(41vw, 340px); }
  .agent-demo { width: min(760px, 92%); margin: -76px auto 0; }
  .agent-capabilities { grid-template-columns: repeat(2, 1fr); }
  .agent-trust { grid-template-columns: repeat(2, 1fr); }
  .agent-trust > * { border-bottom: 1px solid var(--light-line); }
  .purpose-cards { grid-template-columns: repeat(2, 1fr); }
  .library-grid { grid-template-columns: repeat(3, 1fr); }
  .library-card:nth-child(4), .library-card:nth-child(5) { min-height: 360px; }
  .library-card:nth-child(4) h3, .library-card:nth-child(5) h3 { margin-top: 145px; }
  .join-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-feature { grid-column: 1 / -1; }
  .creator-charter { grid-template-columns: repeat(2, 1fr); }
  .governance-flow { grid-template-columns: repeat(3, 1fr); }
  .governance-rules { grid-template-columns: repeat(2, 1fr); }
  .governance-rules > * { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .topline p { display: none; }
  .topline { justify-content: center; }
  .site-header { min-height: 72px; padding: 12px 4vw; }
  .brand-stamp { width: 40px; }
  .brand-word { font-size: 16px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; margin: 0; padding: 12px 4vw 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { border-bottom: 1px solid var(--line); padding: 13px 0; }
  .language-switcher button { min-width: 30px; height: 30px; padding: 0 7px; }
  .hero { min-height: calc(100svh - 104px); }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,7,6,.9), rgba(7,7,6,.36)), linear-gradient(0deg, rgba(7,7,6,.72), transparent 70%); }
  .hero-content { width: auto; margin: auto 7vw; padding: 16vh 0 22vh; }
  .hero-caption { display: none; }
  .mission-grid, .section-head, .map-section, .agent-intro { grid-template-columns: 1fr; }
  .agent-intro-copy { margin-top: 32px; }
  .mission-copy { border: 0; padding: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .story-featured { grid-row: auto; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .source-record { grid-template-columns: 1fr; }
  .map-section { gap: 60px; }
  .globe { width: min(86vw, 600px); margin: 0 auto; }
  .identity-card { right: 0; width: min(320px, 50%); }
  .governance-flow { grid-template-columns: repeat(2, 1fr); }
  .newsletter { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .topline { font-size: 9px; }
  .section { padding: 78px 6vw; }
  .section-index { margin-bottom: 38px; }
  .hero h1 { font-size: 43px; }
  .hero-copy { font-size: 13px; line-height: 1.75; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-scroll { display: none; }
  .purpose-cards, .library-grid, .join-grid, .gallery-grid, .creator-charter, .governance-flow, .governance-rules, .agent-capabilities, .agent-trust { grid-template-columns: 1fr; }
  .agent-stage { margin-top: 52px; }
  .agent-identity { min-height: 390px; }
  .orbit-outer { width: 310px; }
  .orbit-inner { width: 220px; }
  .agent-core { width: 132px; }
  .agent-core img { width: 59px; height: 59px; }
  .agent-core span { bottom: 22px; }
  .agent-identity > p { right: 22px; bottom: 22px; left: 22px; font-size: 12px; }
  .agent-demo { width: 100%; margin: 14px 0 0; }
  .agent-window-bar { align-items: flex-start; flex-direction: column; gap: 7px; }
  .agent-examples { grid-template-columns: 1fr; }
  .agent-message { grid-template-columns: 34px 1fr; gap: 8px; }
  .agent-capabilities article { min-height: 220px; }
  .agent-capabilities h3 { margin-top: 52px; }
  .agent-pipeline { align-items: stretch; flex-direction: column; padding: 23px; }
  .agent-pipeline i { transform: rotate(90deg); text-align: center; }
  .agent-trust > * { min-height: 72px; border-right: 0; }
  .gallery-feature { grid-column: auto; }
  .gallery-feature .gallery-visual, .gallery-visual { min-height: 320px; }
  .purpose-cards article { min-height: 230px; }
  .purpose-cards h3 { margin-top: 62px; }
  .origin-note { grid-template-columns: 1fr; margin-bottom: 78px; }
  .story { grid-template-columns: 1fr; }
  .story-art { min-height: 210px; }
  .story-featured .story-art { min-height: 330px; }
  .story-body { padding: 25px; }
  .library-card, .library-card:nth-child(4), .library-card:nth-child(5) { min-height: 340px; }
  .library-card h3, .library-card:nth-child(4) h3, .library-card:nth-child(5) h3 { margin-top: 145px; }
  .library-cta { align-items: flex-start; flex-direction: column; }
  .globe { width: 94vw; margin-left: -3vw; }
  .map-visual { padding-bottom: 0; }
  .identity-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 28px; }
  .city { font-size: 7px; }
  .governance-flow li { min-height: 220px; }
  .governance-flow h3 { margin-top: 52px; }
  .governance-rules > * { min-height: 74px; border-right: 0; }
  .join-grid a { min-height: 260px; }
  .join-grid h3 { margin-top: 75px; }
  .newsletter { margin-right: -1vw; margin-left: -1vw; padding: 28px 22px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

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