/* WAREHOUSE OS 2.1 · CIVILIZATION
   Swiss poster register: list topology, chronology and poster reading. */
.civilization-page {
  --civ-yellow: #F3CE1D;
  --civ-blue: #174A96;
  --civ-green: #1F654B;
  --civ-signal: #D62B20;
  --civ-accent: #F3CE1D;
  --civ-domain-ink: #141414;
  --civ-domain-pale: #F4F0E7;
  --civ-surface: var(--white);
  padding-top: 22px;
}

.civ-toolbar {
  min-height: 58px; display: grid; grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center; gap: 18px; position: sticky; top: 0; z-index: 8;
  border: 1px solid var(--rule); background: var(--paper);
}
.civ-toolbar-brand { padding: 0 16px; display: flex; align-items: center; gap: 10px; font: 750 9px/1.35 var(--f-mono); letter-spacing: .14em; }
.civ-toolbar-mark { width: 22px; height: 22px; position: relative; flex: 0 0 auto; background: var(--red); }
.civ-toolbar-mark::before { content: ""; position: absolute; inset: 4px 10px 4px 4px; background: var(--paper); }
.civ-toolbar-mark::after { content: ""; position: absolute; inset: 9px 4px 4px 13px; background: var(--paper); }
.civ-view-switch { display: flex; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.civ-view-switch button { height: 56px; padding: 0 16px; border-right: 1px solid var(--rule); font: 750 9px/1 var(--f-mono); letter-spacing: .06em; white-space: nowrap; }
.civ-view-switch button:last-child { border-right: 0; }
.civ-view-switch button[aria-selected="true"] { color: var(--paper); background: var(--ink); }
.civ-toolbar-right { padding-right: 10px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; font: 700 8.5px/1.3 var(--f-mono); letter-spacing: .09em; }
.civ-new-button { height: 36px; padding: 0 13px; color: var(--on-red); background: var(--red); font: 750 9px var(--f-mono); letter-spacing: .08em; }
.civ-new-button:hover { color: var(--paper); background: var(--ink); }
.civ-cli-button { height: 36px; padding: 0 12px; border: 1px solid var(--rule); font: 750 8px var(--f-mono); letter-spacing: .06em; white-space: nowrap; }
.civ-cli-button:hover { color: var(--paper); background: var(--ink); }

.civ-masthead { min-height: 310px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; border: 1px solid var(--rule); border-top: 0; border-bottom-width: 2px; }
.civ-mast-copy {
  min-width: 0; padding: 24px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 72px 72px;
}
.civ-mast-copy::after { content: ""; position: absolute; width: 22%; aspect-ratio: 1; right: 8%; top: 18%; border: 1px solid var(--civ-signal); box-shadow: 18px 18px 0 var(--civ-accent); animation: civ-axis 7s ease-in-out infinite alternate; }
.civ-kicker, .civ-micro, .civ-eyebrow { font: 750 8.5px/1.35 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; }
.civ-kicker { color: var(--civ-signal); }
.civ-mast-title { position: relative; z-index: 2; margin: auto 0 10px; font-size: clamp(68px, 9vw, 136px); line-height: .71; letter-spacing: -.095em; font-weight: 820; }
.civ-mast-word { margin-left: 20px; display: inline-grid; position: relative; isolation: isolate; color: transparent; font-size: .44em; font-weight: 850; line-height: 1; letter-spacing: -.072em; vertical-align: baseline; white-space: nowrap; }
.civ-mast-word-layer { grid-area: 1 / 1; position: relative; line-height: inherit; letter-spacing: inherit; white-space: nowrap; pointer-events: none; }
.civ-mast-word-outline { z-index: 5; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.civ-mast-word-color { z-index: 4; color: transparent; background: linear-gradient(90deg, #DC2A20 0 18%, #F5D20A 18% 36%, #2161A9 36% 56%, #1F704F 56% 76%, #BD5D19 76% 90%, #75439A 90% 100%); -webkit-background-clip: text; background-clip: text; -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); will-change: clip-path, opacity; animation: civ-word-color-pass 7.2s cubic-bezier(.2,.72,.2,1) infinite; }
.civ-mast-word-offset { z-index: 2; color: transparent; opacity: 0; will-change: transform, opacity; animation-duration: 7.2s; animation-timing-function: ease; animation-iteration-count: infinite; }
.civ-mast-word-offset.is-red { -webkit-text-stroke: 2px #DC2A20; animation-name: civ-word-register-red; }
.civ-mast-word-offset.is-blue { -webkit-text-stroke: 2px #2161A9; animation-name: civ-word-register-blue; }
.civ-mast-word-offset.is-green { -webkit-text-stroke: 2px #1F704F; animation-name: civ-word-register-green; }
.civ-mast-word-bars { grid-area: 1 / 1; position: absolute; inset: 7px 0 2px; z-index: 1; overflow: hidden; pointer-events: none; }
.civ-mast-word-bars b { height: 7px; position: absolute; left: 0; right: 0; display: block; transform: scaleX(0); transform-origin: left; opacity: 0; will-change: transform, opacity; animation: 7.2s ease infinite; }
.civ-mast-word-bars b:nth-child(1) { top: 12%; background: #DC2A20; animation-name: civ-word-bar-red; }
.civ-mast-word-bars b:nth-child(2) { top: 46%; background: #2161A9; animation-name: civ-word-bar-blue; }
.civ-mast-word-bars b:nth-child(3) { top: 78%; background: #1F704F; animation-name: civ-word-bar-green; }
.civ-mast-lead { position: relative; z-index: 2; max-width: 720px; margin: 18px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.civ-mast-index { padding: 20px; display: flex; flex-direction: column; color: #F5F2EB; background: #141414; }
.civ-mast-index strong { margin: auto 0 12px; color: var(--civ-accent); font: 900 108px/.72 var(--f-mono); letter-spacing: -.13em; }
.civ-domain-spectrum { height: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; overflow: hidden; }
.civ-domain-spectrum i { background: var(--civ-signal); transform-origin: bottom; animation: civ-spectrum 4.8s ease-in-out infinite alternate; }
.civ-domain-spectrum i:nth-child(2) { animation-delay: -.7s; }
.civ-domain-spectrum i:nth-child(3) { animation-delay: -1.4s; }
.civ-domain-spectrum i:nth-child(4) { animation-delay: -2.1s; }
.civ-domain-spectrum i:nth-child(5) { animation-delay: -2.8s; }
.civ-mast-index p { padding-top: 12px; border-top: 1px solid #65645F; font: 700 8.5px/1.65 var(--f-mono); letter-spacing: .09em; }

.civ-filters { display: grid; grid-template-columns: 130px minmax(260px, 1fr) auto; border: 1px solid var(--rule); border-top: 0; background: var(--civ-surface); }
.civ-filter-label { padding: 14px 16px; border-right: 1px solid var(--rule); }
.civ-filter-label b { display: block; font: 850 9.5px var(--f-mono); }
.civ-filter-label small { display: block; margin-top: 5px; color: var(--ink-3); font: 700 8px var(--f-mono); }
.civ-filter-buttons { min-width: 0; display: flex; overflow-x: auto; }
.civ-filter-buttons button { min-width: 84px; padding: 0 12px; position: relative; border-right: 1px solid var(--hair); font: 700 9.5px var(--f-mono); }
.civ-filter-buttons button::after { content: ""; height: 3px; position: absolute; left: 11px; right: 11px; bottom: 8px; background: var(--civ-signal); transform: scaleX(.22); transform-origin: left; transition: transform .22s ease; }
.civ-filter-buttons button:hover::after { transform: scaleX(1); }
.civ-filter-buttons button.is-active { color: #FFF; background: var(--civ-signal); }
.civ-filter-buttons button.is-active::after { background: var(--civ-accent); transform: scaleX(1); }
.civ-search { min-width: 250px; padding: 9px 14px; display: flex; align-items: center; gap: 8px; border-left: 1px solid var(--rule); }
.civ-search span { color: var(--civ-signal); font: 800 10px var(--f-mono); }
.civ-search input { width: 100%; height: 32px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: 0; background: transparent; font-size: 11px; }
.civ-search input:focus { border-bottom-width: 2px; }

.civ-view { border: 1px solid var(--rule); border-top: 0; animation: civ-enter .35s cubic-bezier(.2,.8,.2,1) both; }
.civ-empty { min-height: 280px; padding: 54px 24px; color: var(--ink-3); font: 700 11px var(--f-mono); }
.civ-load-error { min-height: 48px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--red); border-top: 0; color: var(--red); font: 750 9px/1.4 var(--f-mono); }
.civ-load-error button { min-height: 30px; padding: 0 11px; color: var(--on-red); background: var(--red); font: 750 8px var(--f-mono); }

/* Category grammar · a small generative mark shared by every view. */
.civ-domain-glyph { width: 30px; height: 30px; display: block; position: relative; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--civ-signal); background: var(--civ-domain-pale); }
.civ-domain-glyph.is-large { width: 118px; height: 118px; border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.1); }
.civ-domain-glyph i { display: block; position: absolute; }
.civ-domain-glyph.is-judgement i:nth-child(1) { width: 25%; left: 16%; top: 13%; bottom: 13%; background: var(--civ-signal); animation: civ-judge-left 2.8s ease-in-out infinite alternate; }
.civ-domain-glyph.is-judgement i:nth-child(2) { width: 25%; right: 16%; top: 13%; bottom: 13%; background: var(--civ-accent); animation: civ-judge-right 2.8s ease-in-out infinite alternate; }
.civ-domain-glyph.is-judgement i:nth-child(3) { width: 1px; left: 50%; top: 8%; bottom: 8%; background: currentColor; opacity: .55; }
.civ-domain-glyph.is-judgement i:nth-child(4) { height: 1px; left: 8%; right: 8%; top: 50%; background: currentColor; opacity: .55; }
.civ-domain-glyph.is-technology { background-image: linear-gradient(rgba(22,86,163,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(22,86,163,.2) 1px, transparent 1px); background-size: 25% 25%; }
.civ-domain-glyph.is-technology i:nth-child(1) { height: 2px; left: 7%; right: 7%; top: 12%; background: var(--civ-accent); box-shadow: 0 0 8px var(--civ-accent); animation: civ-tech-scan 2.6s linear infinite; }
.civ-domain-glyph.is-technology i:nth-child(2), .civ-domain-glyph.is-technology i:nth-child(3), .civ-domain-glyph.is-technology i:nth-child(4) { width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--civ-signal); }
.civ-domain-glyph.is-technology i:nth-child(2) { left: 18%; top: 28%; }
.civ-domain-glyph.is-technology i:nth-child(3) { right: 18%; top: 44%; }
.civ-domain-glyph.is-technology i:nth-child(4) { left: 38%; bottom: 14%; }
.civ-domain-glyph.is-organization i { background: var(--civ-signal); animation: civ-org-align 3.2s cubic-bezier(.7,0,.3,1) infinite alternate; }
.civ-domain-glyph.is-organization i:nth-child(1) { width: 28%; height: 28%; left: 9%; top: 10%; }
.civ-domain-glyph.is-organization i:nth-child(2) { width: 45%; height: 18%; right: 8%; top: 42%; animation-delay: -.7s; }
.civ-domain-glyph.is-organization i:nth-child(3) { width: 20%; height: 29%; left: 12%; bottom: 7%; background: var(--civ-accent); animation-delay: -1.4s; }
.civ-domain-glyph.is-organization i:nth-child(4) { width: 28%; height: 20%; right: 8%; bottom: 8%; animation-delay: -2.1s; }
.civ-domain-glyph.is-time { border-radius: 50%; }
.civ-domain-glyph.is-time i:nth-child(1), .civ-domain-glyph.is-time i:nth-child(2) { inset: 14%; border: 1px solid var(--civ-signal); border-radius: 50%; }
.civ-domain-glyph.is-time i:nth-child(2) { inset: 31%; border-color: var(--civ-accent); }
.civ-domain-glyph.is-time i:nth-child(3) { width: 2px; height: 38%; left: calc(50% - 1px); top: 12%; background: var(--civ-signal); transform-origin: 50% 100%; animation: civ-time-hand 5s linear infinite; }
.civ-domain-glyph.is-time i:nth-child(4) { width: 10%; aspect-ratio: 1; left: 45%; top: 45%; border-radius: 50%; background: var(--civ-accent); }
.civ-domain-glyph.is-ethics i:nth-child(1) { width: 68%; height: 2px; left: 16%; top: 43%; background: var(--civ-signal); transform-origin: center; animation: civ-balance 3.4s ease-in-out infinite alternate; }
.civ-domain-glyph.is-ethics i:nth-child(2) { width: 2px; height: 54%; left: calc(50% - 1px); top: 19%; background: var(--civ-signal); }
.civ-domain-glyph.is-ethics i:nth-child(3), .civ-domain-glyph.is-ethics i:nth-child(4) { width: 21%; aspect-ratio: 1; top: 52%; border: 2px solid var(--civ-accent); border-radius: 50%; }
.civ-domain-glyph.is-ethics i:nth-child(3) { left: 12%; }
.civ-domain-glyph.is-ethics i:nth-child(4) { right: 12%; }

/* A · LIST TOPOLOGY */
.civ-atlas-layout { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1fr) 370px; }
.civ-atlas-register { min-width: 0; border-right: 1px solid var(--rule); }
.civ-register-head, .civ-thought-row { display: grid; grid-template-columns: 62px 112px minmax(220px, 1fr) 160px 66px; }
.civ-register-head { height: 40px; color: #F5F2EB; background: #141414; }
.civ-register-head span { padding: 0 10px; display: flex; align-items: center; border-right: 1px solid #555; font: 750 8px var(--f-mono); letter-spacing: .1em; }
.civ-thought-row { width: 100%; min-height: 130px; position: relative; border-bottom: 1px solid var(--rule); text-align: left; }
.civ-thought-row:hover { background: var(--civ-surface); }
.civ-thought-row[aria-selected="true"] { box-shadow: inset 5px 0 0 var(--civ-signal); background: var(--civ-domain-pale); }
.civ-thought-row > span { min-width: 0; padding: 14px; border-right: 1px solid var(--hair); }
.civ-row-no { color: var(--civ-signal); font: 850 15px var(--f-mono); }
.civ-row-domain { font: 750 8.5px/1.45 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.civ-row-domain .civ-domain-glyph { margin: 24px 0 8px; }
.civ-row-copy small, .civ-row-links small { color: var(--ink-3); font: 700 7.5px var(--f-mono); letter-spacing: .08em; }
.civ-row-copy h2 { max-width: 650px; margin: 24px 0 7px; font-size: clamp(20px, 2.2vw, 29px); line-height: .98; letter-spacing: -.045em; }
.civ-row-copy p { color: var(--ink-3); font-size: 10.5px; line-height: 1.55; }
.civ-row-links { display: flex; flex-direction: column; justify-content: space-between; }
.civ-row-links b { font: 700 8.5px/1.6 var(--f-mono); }
.civ-row-year { display: flex; align-items: flex-end; justify-content: flex-end; color: var(--ink-3); font: 750 10px var(--f-mono); }
.civ-atlas-detail { min-height: 680px; padding: 20px; display: flex; flex-direction: column; position: sticky; top: 58px; align-self: start; overflow: hidden; color: #F5F2EB; background: var(--civ-domain-ink); }
.civ-atlas-detail::after { content: ""; width: 180px; height: 180px; position: absolute; right: -72px; top: 95px; border: 44px solid var(--civ-signal); border-radius: 50%; opacity: .7; animation: civ-detail-orbit 8s linear infinite; }
.civ-atlas-detail > * { position: relative; z-index: 1; }
.civ-detail-meta { display: flex; justify-content: space-between; font: 700 8px var(--f-mono); letter-spacing: .1em; }
.civ-detail-figure { margin: 54px 0 auto; display: flex; align-items: flex-end; justify-content: space-between; position: relative; z-index: 1; }
.civ-detail-no { color: var(--civ-accent); font: 900 124px/.7 var(--f-mono); letter-spacing: -.14em; }
.civ-detail-figure .civ-domain-glyph { margin-right: -38px; opacity: .86; }
.civ-atlas-detail h2 { margin: 28px 0 14px; font-size: 36px; line-height: .9; letter-spacing: -.06em; }
.civ-detail-quote { margin: 2px 0 17px; padding: 11px 0 11px 15px; border-left: 4px solid var(--civ-accent); color: #FFF; font-size: 15px; font-weight: 680; line-height: 1.58; }
.civ-detail-quote span { display: block; margin-bottom: 8px; color: var(--civ-accent); font: 750 7.5px var(--f-mono); letter-spacing: .11em; }
.civ-atlas-detail p { color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.75; }
.civ-detail-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); margin-top: 24px; border: 1px solid rgba(255,255,255,.5); }
.civ-detail-actions button { min-height: 42px; padding: 8px; border-right: 1px solid rgba(255,255,255,.5); color: #FFF; font: 750 8.5px var(--f-mono); }
.civ-detail-actions button:last-child { border-right: 0; }
.civ-detail-actions button:hover { color: var(--civ-domain-ink); background: var(--civ-accent); }

/* B · CHRONOLOGY */
.civ-chronology { min-height: 720px; display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.civ-chronology-side { padding: 18px; border-right: 1px solid var(--rule); color: #141414; background: var(--civ-yellow); }
.civ-chronology-side strong { display: block; margin: 58px 0 20px; font: 900 72px/.75 var(--f-mono); letter-spacing: -.12em; }
.civ-chronology-side p { font-size: 11px; line-height: 1.7; }
.civ-chronology-legend { margin-top: 70px; padding-top: 12px; border-top: 2px solid #141414; font: 700 8px/1.8 var(--f-mono); }
.civ-timeline { padding: 18px 26px 50px; overflow: hidden; }
.civ-timeline-axis { height: 48px; display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 4px solid var(--rule); }
.civ-timeline-axis span { position: relative; color: var(--ink-3); font: 750 8.5px var(--f-mono); }
.civ-timeline-axis span::after { content: ""; width: 1px; height: 11px; position: absolute; left: 0; bottom: 0; background: var(--ink); }
.civ-timeline-list { position: relative; list-style: none; }
.civ-timeline-list::before { content: ""; position: absolute; left: 104px; top: 0; bottom: 0; border-left: 1px solid var(--rule); }
.civ-timeline-item { min-height: 130px; display: grid; grid-template-columns: 105px minmax(0, 1fr); }
.civ-timeline-date { padding: 18px 15px 0 0; color: var(--civ-signal); text-align: right; font: 800 9.5px var(--f-mono); }
.civ-timeline-node { position: relative; padding: 16px 18px; border-bottom: 1px solid var(--hair); }
.civ-timeline-node::before { content: ""; width: 11px; height: 11px; position: absolute; left: -6px; top: 19px; border: 2px solid var(--civ-signal); background: var(--paper); }
.civ-timeline-node button { width: 100%; display: grid; grid-template-columns: 42px minmax(0, 1fr) 110px; gap: 12px; text-align: left; }
.civ-timeline-node .civ-domain-glyph { margin-top: 2px; transition: transform .25s ease; }
.civ-timeline-node button:hover .civ-domain-glyph { transform: rotate(8deg) scale(1.06); }
.civ-timeline-node h2 { margin: 22px 0 7px; font-size: 25px; line-height: .98; letter-spacing: -.045em; }
.civ-timeline-node p { max-width: 650px; color: var(--ink-3); font-size: 10.5px; line-height: 1.6; }
.civ-timeline-node aside { align-self: stretch; padding-left: 13px; border-left: 1px solid var(--hair); font: 700 8px/1.7 var(--f-mono); }
.civ-timeline-node button:hover h2, .civ-timeline-node button[aria-selected="true"] h2 { color: var(--civ-signal); }

/* C · POSTER READER */
.civ-reader { min-height: 740px; display: grid; grid-template-columns: 96px minmax(0, 1fr) 350px; }
.civ-reader.is-notes-collapsed { grid-template-columns: 96px minmax(0, 1fr); }
.civ-reader-document { min-width: 0; position: relative; }
.civ-notes-reopen { min-height: 34px; margin: 12px 12px -46px auto; padding: 0 12px; display: block; position: sticky; top: 72px; z-index: 5; border: 1px solid var(--rule); color: #FFF; background: var(--civ-domain-ink); font: 800 8px var(--f-mono); letter-spacing: .08em; }
.civ-notes-reopen:hover { color: var(--civ-domain-ink); background: var(--civ-accent); }
.civ-reader-rail { display: flex; flex-direction: column; border-right: 1px solid var(--rule); }
.civ-reader-rail button { min-height: 90px; flex: 1; border-bottom: 1px solid var(--rule); font: 850 8.5px/1.4 var(--f-mono); letter-spacing: .09em; writing-mode: vertical-rl; transform: rotate(180deg); }
.civ-reader-rail button::after { content: ""; width: 3px; height: 28px; margin: 10px auto 0; display: block; background: var(--civ-signal); }
.civ-reader-rail button.is-active { color: #FFF; background: var(--civ-signal); }
.civ-reader-rail button.is-active::after { background: var(--civ-accent); }
.civ-reader-poster { min-width: 0; min-height: 740px; padding: 22px; display: flex; flex-direction: column; position: relative; overflow: hidden; background-color: var(--civ-domain-pale); background-image: linear-gradient(90deg, color-mix(in srgb, var(--civ-signal) 11%, transparent) 1px, transparent 1px), linear-gradient(color-mix(in srgb, var(--civ-signal) 8%, transparent) 1px, transparent 1px); background-size: calc(100% / 12) 100%, 100% 48px; }
.civ-poster-label { position: relative; z-index: 2; display: flex; justify-content: space-between; font: 750 8.5px var(--f-mono); letter-spacing: .12em; }
.civ-poster-question { max-width: 68%; margin: auto 0; position: relative; z-index: 2; overflow-wrap: anywhere; font-size: clamp(54px, 5.6vw, 92px); line-height: .86; letter-spacing: -.075em; }
.civ-poster-question em { color: var(--civ-signal); font-style: normal; }
.civ-poster-thesis { max-width: 62%; padding: 18px 20px 0 0; position: relative; z-index: 2; border-top: 4px solid var(--civ-signal); font-size: 17px; line-height: 1.78; }
.civ-poster-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; font: 700 8px var(--f-mono); letter-spacing: .1em; }
.civ-poster-index { width: calc(32% - 22px); min-height: 126px; padding: 13px; display: flex; flex-direction: column; gap: 7px; position: absolute; right: 0; bottom: 62px; z-index: 2; color: #FFF; background: var(--civ-domain-ink); font: 700 9px/1.45 var(--f-mono); }
.civ-poster-index > .civ-micro { margin-bottom: 5px; color: var(--civ-accent); }
.civ-poster-index > span:not(.civ-micro) { display: grid; grid-template-columns: 28px 1fr; gap: 6px; }
.civ-poster-index b { color: var(--civ-accent); font: 850 8px var(--f-mono); }
.civ-poster-motion { width: 32%; position: absolute; left: auto; right: 0; top: 68px; bottom: 210px; z-index: 0; overflow: hidden; border-left: 1px solid color-mix(in srgb, var(--civ-domain-ink) 42%, transparent); pointer-events: none; }
.civ-poster-motion i { display: block; position: absolute; }
.civ-poster-motion b { position: absolute; right: 3%; bottom: 1%; color: var(--civ-signal); opacity: .11; font: 900 clamp(130px, 18vw, 260px)/.72 var(--f-mono); letter-spacing: -.16em; }
.civ-poster-motion.is-judgement i:nth-child(1) { width: 52%; height: 44%; right: 7%; top: 13%; background: var(--civ-signal); }
.civ-poster-motion.is-judgement i:nth-child(2) { width: 43%; height: 35%; right: 34%; top: 34%; background: var(--civ-accent); mix-blend-mode: multiply; }
.civ-poster-motion.is-judgement i:nth-child(3) { width: 1px; right: 41%; top: 7%; bottom: 7%; background: var(--civ-domain-ink); opacity: .42; }
.civ-poster-motion.is-judgement i:nth-child(4) { height: 1px; left: 7%; right: 7%; top: 49%; background: var(--civ-domain-ink); opacity: .42; }
.civ-poster-motion.is-technology { background-image: linear-gradient(rgba(22,86,163,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(22,86,163,.13) 1px, transparent 1px); background-size: 44px 44px; }
.civ-poster-motion.is-technology i:nth-child(1) { width: 2px; left: 64%; top: 5%; bottom: 5%; background: var(--civ-accent); box-shadow: 0 0 20px var(--civ-accent); }
.civ-poster-motion.is-technology i:nth-child(2) { width: 58%; aspect-ratio: 1; right: 8%; top: 13%; border: 22px solid var(--civ-signal); }
.civ-poster-motion.is-technology i:nth-child(3), .civ-poster-motion.is-technology i:nth-child(4) { width: 18px; height: 18px; border-radius: 50%; background: var(--civ-accent); box-shadow: 0 0 0 8px rgba(100,209,212,.25); }
.civ-poster-motion.is-technology i:nth-child(3) { right: 68%; top: 19%; }
.civ-poster-motion.is-technology i:nth-child(4) { right: 16%; bottom: 18%; }
.civ-poster-motion.is-organization i { background: var(--civ-signal); opacity: .88; }
.civ-poster-motion.is-organization i:nth-child(1) { width: 31%; height: 19%; right: 6%; top: 10%; }
.civ-poster-motion.is-organization i:nth-child(2) { width: 31%; height: 31%; right: 45%; top: 35%; background: var(--civ-accent); }
.civ-poster-motion.is-organization i:nth-child(3) { width: 45%; height: 13%; right: 8%; bottom: 19%; }
.civ-poster-motion.is-organization i:nth-child(4) { width: 14%; height: 10%; right: 62%; bottom: 10%; background: var(--civ-domain-ink); }
.civ-poster-motion.is-time i:nth-child(1), .civ-poster-motion.is-time i:nth-child(2), .civ-poster-motion.is-time i:nth-child(3) { aspect-ratio: 1; border: 2px solid var(--civ-signal); border-radius: 50%; }
.civ-poster-motion.is-time i:nth-child(1) { width: 118%; right: -43%; top: 4%; }
.civ-poster-motion.is-time i:nth-child(2) { width: 82%; right: -20%; top: 17%; border-width: 26px; border-color: var(--civ-accent); }
.civ-poster-motion.is-time i:nth-child(3) { width: 40%; right: 2%; top: 32%; border-width: 12px; }
.civ-poster-motion.is-time i:nth-child(4) { width: 2px; height: 45%; right: 24%; top: 8%; background: var(--civ-domain-ink); transform-origin: 50% 100%; }
.civ-poster-motion.is-ethics i:nth-child(1) { width: 88%; height: 4px; right: 4%; top: 34%; background: var(--civ-signal); transform-origin: center; }
.civ-poster-motion.is-ethics i:nth-child(2) { width: 4px; height: 58%; right: 29%; top: 20%; background: var(--civ-domain-ink); }
.civ-poster-motion.is-ethics i:nth-child(3), .civ-poster-motion.is-ethics i:nth-child(4) { width: 30%; aspect-ratio: 1; top: 39%; border: 18px solid var(--civ-accent); border-radius: 50%; }
.civ-poster-motion.is-ethics i:nth-child(3) { right: 54%; }
.civ-poster-motion.is-ethics i:nth-child(4) { right: 4%; }
.civ-reader-notes { min-height: 740px; max-height: calc(100vh - 62px); padding: 20px; display: flex; flex-direction: column; position: sticky; top: 58px; align-self: start; overflow: auto; color: #F5F2EB; background: var(--civ-domain-ink); }
.civ-reader-notes-head { min-height: 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.civ-reader-notes-head button { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #706E68; color: #FFF; font: 400 20px/1 var(--f-sans); }
.civ-reader-notes-head button:hover { color: var(--civ-domain-ink); background: var(--civ-accent); border-color: var(--civ-accent); }
.civ-reader-notes h3 { margin: 46px 0 12px; font-size: 27px; line-height: .94; letter-spacing: -.05em; }
.civ-reader-notes > p { color: #C7C4BC; font-size: 12px; line-height: 1.75; }
.civ-publication-meta { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #5E5D58; }
.civ-publication-meta span { min-width: 0; padding: 9px; display: flex; flex-direction: column; gap: 5px; color: var(--civ-accent); font: 750 8px/1.35 var(--f-mono); }
.civ-publication-meta span + span { border-left: 1px solid #5E5D58; }
.civ-publication-meta b { color: #A9A69F; font: 700 7px var(--f-mono); letter-spacing: .08em; }
.civ-lens-list { margin-top: 18px; border-top: 1px solid #5E5D58; }
.civ-lens-list button { width: 100%; min-height: 82px; padding: 12px 0; display: grid; grid-template-columns: 38px 1fr; border-bottom: 1px solid #5E5D58; color: #FFF; text-align: left; }
.civ-lens-list button b { color: var(--civ-accent); font: 800 8.5px var(--f-mono); }
.civ-lens-list button span { font-size: 11.5px; line-height: 1.5; }
.civ-lens-list button.is-active span { color: var(--civ-accent); }
.civ-lens-empty { min-height: 118px; padding: 30px 0; }
.civ-read-actions { margin-top: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.civ-read-action { min-height: 44px; padding: 8px; border: 1px solid #F5F2EB; color: #F5F2EB; font: 750 8.5px var(--f-mono); }
.civ-read-action:hover { color: #141414; background: #F5F2EB; }

/* Fixed Swiss B long-form body. Content changes; the twelve-column grammar does not. */
.civ-article-body { border-top: 4px solid var(--rule); background: var(--paper); }
.civ-article-section { width: min(900px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 120px minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.civ-article-marker { padding: 38px 18px 30px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 38px; border-right: 1px solid var(--rule); }
.civ-article-marker strong { color: var(--civ-signal); font: 900 clamp(48px, 5vw, 76px)/.8 var(--f-mono); letter-spacing: -.1em; }
.civ-article-marker small { max-width: 90px; white-space: pre-wrap; font: 750 7px/1.35 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; }
.civ-article-copy { min-width: 0; padding: 38px 0 36px 24px; }
.civ-article-copy > .civ-micro { color: var(--civ-signal); }
.civ-article-copy h3 { max-width: 760px; margin: 14px 0 22px; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.05; letter-spacing: -.045em; }
.civ-article-copy p { max-width: 760px; margin: 0 0 18px; font-size: 16px; line-height: 1.9; letter-spacing: -.01em; }
.civ-article-copy p:first-of-type { padding-left: 16px; border-left: 4px solid var(--civ-signal); }
.civ-article-body > footer { min-height: 66px; padding: 20px 24px; display: flex; justify-content: space-between; gap: 20px; font: 750 8px var(--f-mono); letter-spacing: .09em; }

.civ-footer { min-height: 48px; padding: 14px 20px; display: flex; justify-content: space-between; border: 1px solid var(--rule); border-top: 4px solid var(--rule); font: 750 8px var(--f-mono); letter-spacing: .1em; }
.civ-toast { position: fixed; right: 22px; bottom: 22px; z-index: 155; padding: 13px 16px; color: #FFF; background: var(--civ-green); font: 750 9px var(--f-mono); letter-spacing: .08em; animation: civ-toast .22s ease-out both; }

.civ-composer { position: fixed; inset: 0; z-index: 150; padding: 24px; display: grid; place-items: center; background: rgba(20,20,20,.66); }
.civ-composer-card { width: min(1080px, 100%); max-height: 92vh; overflow: auto; border: 1px solid var(--rule); background: var(--paper); box-shadow: 14px 14px 0 var(--red); }
.civ-composer-head { display: grid; grid-template-columns: 76px 1fr auto; border-bottom: 3px solid var(--rule); }
.civ-composer-head > * { padding: 14px; }
.civ-composer-head > b { color: var(--red); border-right: 1px solid var(--rule); font: 850 21px var(--f-mono); }
.civ-composer-head h2 { font-size: 24px; letter-spacing: -.04em; }
.civ-composer-close { width: 48px; border-left: 1px solid var(--rule); font-size: 20px; }
.civ-composer-body { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.civ-composer-body label { font: 750 8px var(--f-mono); letter-spacing: .1em; }
.civ-composer-body label.is-wide { grid-column: 1 / -1; }
.civ-composer-body input, .civ-composer-body select, .civ-composer-body textarea { width: 100%; margin-top: 7px; padding: 10px; border: 1px solid var(--rule); border-radius: 0; background: var(--civ-surface); }
.civ-composer-body textarea { min-height: 112px; resize: vertical; }
.civ-composer-body .civ-title-input { min-height: 88px; font-size: 19px; line-height: 1.35; font-weight: 760; letter-spacing: -.025em; }
.civ-composer-body .civ-thesis-input { min-height: 180px; line-height: 1.75; }
.civ-template-contract { padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 18px; grid-column: 1 / -1; color: #FFF; background: var(--ink); }
.civ-template-contract b { color: var(--civ-accent); font: 800 9px var(--f-mono); letter-spacing: .08em; }
.civ-template-contract span { color: #C8C5BD; font: 700 8px/1.5 var(--f-mono); }
.civ-composer-domain { min-height: 58px; padding: 8px; display: flex; align-items: center; gap: 11px; color: #FFF; background: var(--civ-domain-ink); }
.civ-composer-domain .civ-domain-glyph { background: var(--civ-domain-pale); }
.civ-composer-domain span { display: flex; flex-direction: column; gap: 4px; }
.civ-composer-domain b { font: 800 11px var(--f-mono); }
.civ-composer-domain small { color: var(--civ-accent); font: 700 7px var(--f-mono); letter-spacing: .1em; }
.civ-lens-editor { border-top: 3px solid var(--rule); }
.civ-section-editor { border-top: 3px solid var(--rule); }
.civ-section-editor > header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); }
.civ-section-editor > header span { display: flex; flex-direction: column; gap: 5px; }
.civ-section-editor > header b { font: 850 10px var(--f-mono); letter-spacing: .1em; }
.civ-section-editor > header small { color: var(--ink-3); font: 700 8px var(--f-mono); }
.civ-section-editor > header button { min-height: 34px; padding: 0 12px; color: #FFF; background: var(--civ-signal); font: 750 8px var(--f-mono); }
.civ-section-editor-row { padding: 14px 0; display: grid; grid-template-columns: 32px 150px minmax(160px, .8fr) minmax(240px, 1.4fr) auto; gap: 10px; align-items: start; border-bottom: 1px solid var(--hair); }
.civ-section-editor-row > b { padding-top: 12px; color: var(--civ-signal); font: 850 9px var(--f-mono); }
.civ-section-meta { display: grid; gap: 8px; }
.civ-section-editor-row textarea { min-height: 72px; }
.civ-section-editor-row .civ-section-paragraphs { min-height: 150px; line-height: 1.65; }
.civ-section-editor-row > button { min-height: 36px; margin-top: 15px; padding: 0 9px; border: 1px solid var(--rule); font: 750 8px var(--f-mono); }
.civ-relation-editor { border-top: 3px solid var(--rule); }
.civ-relation-editor > header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); }
.civ-relation-editor > header span { display: flex; flex-direction: column; gap: 5px; }
.civ-relation-editor > header b { font: 850 10px var(--f-mono); letter-spacing: .1em; }
.civ-relation-editor > header small { color: var(--ink-3); font: 700 8px var(--f-mono); }
.civ-relation-editor > header button { min-height: 34px; padding: 0 12px; color: #FFF; background: var(--civ-signal); font: 750 8px var(--f-mono); }
.civ-relation-editor-row { padding: 11px 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: start; gap: 10px; border-bottom: 1px solid var(--hair); }
.civ-relation-editor-row > b { padding-top: 12px; color: var(--civ-signal); font: 850 9px var(--f-mono); }
.civ-relation-editor-row > button { min-height: 36px; margin-top: 15px; padding: 0 9px; border: 1px solid var(--rule); font: 750 8px var(--f-mono); }
.civ-relation-empty { padding: 18px 0; color: var(--ink-3); font: 700 8px var(--f-mono); letter-spacing: .06em; }
.civ-lens-editor > header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); }
.civ-lens-editor > header span { display: flex; flex-direction: column; gap: 5px; }
.civ-lens-editor > header b { font: 850 10px var(--f-mono); letter-spacing: .1em; }
.civ-lens-editor > header small { color: var(--ink-3); font: 700 8px var(--f-mono); }
.civ-lens-editor > header button { min-height: 34px; padding: 0 12px; color: #FFF; background: var(--civ-signal); font: 750 8px var(--f-mono); }
.civ-lens-editor-row { display: grid; grid-template-columns: 38px minmax(110px, .75fr) minmax(180px, 1.5fr) auto; gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.civ-lens-editor-row > b { padding-top: 11px; color: var(--civ-signal); font: 850 9px var(--f-mono); }
.civ-lens-editor-row label { min-width: 0; }
.civ-lens-editor-row textarea { min-height: 62px; resize: vertical; }
.civ-lens-editor-row > button { min-height: 36px; margin-top: 15px; padding: 0 9px; border: 1px solid var(--rule); font: 750 8px var(--f-mono); }
.civ-composer-error { padding: 10px; color: var(--red); border: 1px solid var(--red); font: 700 9px/1.5 var(--f-mono); }
.civ-composer-foot { min-height: 68px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); color: var(--ink-3); font: 700 8px/1.5 var(--f-mono); }
.civ-composer-foot > div { display: flex; gap: 8px; }
.civ-composer-foot button { min-height: 40px; padding: 0 18px; border: 1px solid var(--ink); color: var(--ink); background: transparent; font: 750 9px var(--f-mono); }
.civ-composer-foot button.is-publish { color: var(--paper); background: var(--ink); }
.civ-composer button:disabled { opacity: .55; cursor: wait; }

/* Explicit public-share boundary: the page is opt-in; the postcard stays browser-only. */
.civ-share { position: fixed; inset: 0; z-index: 160; padding: 24px; display: grid; place-items: center; background: rgba(20,20,20,.72); }
.civ-share-card { width: min(780px, 100%); max-height: 92vh; overflow: auto; border: 1px solid var(--rule); background: var(--paper); box-shadow: 14px 14px 0 var(--civ-signal); }
.civ-share-head { min-height: 86px; display: grid; grid-template-columns: 78px 1fr 54px; border-bottom: 4px solid var(--rule); }
.civ-share-head > * { padding: 15px; }
.civ-share-head > b { display: grid; place-items: center; color: var(--civ-signal); border-right: 1px solid var(--rule); font: 900 25px var(--f-mono); }
.civ-share-head h2 { margin-top: 4px; font-size: 28px; letter-spacing: -.05em; }
.civ-share-head > button { border-left: 1px solid var(--rule); font-size: 23px; }
.civ-share-body { padding: 20px; display: grid; gap: 16px; }
.civ-share-status { min-height: 66px; display: grid; grid-template-columns: 1fr auto 34px; align-items: center; gap: 14px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font: 800 9px var(--f-mono); letter-spacing: .08em; }
.civ-share-status strong { padding: 7px 9px; color: #FFF; background: var(--ink-3); }
.civ-share-status strong.is-public { color: var(--civ-domain-ink); background: var(--civ-accent); }
.civ-share-status i { width: 22px; height: 22px; display: block; border: 7px solid var(--civ-signal); }
.civ-share-title > span { color: var(--civ-signal); font: 850 9px var(--f-mono); letter-spacing: .1em; }
.civ-share-title h3 { max-width: 680px; margin: 18px 0 12px; overflow-wrap: anywhere; font-size: clamp(30px, 5vw, 52px); line-height: .98; letter-spacing: -.055em; }
.civ-share-title p, .civ-share-note { color: var(--ink-3); font-size: 12px; line-height: 1.7; }
.civ-share-url { display: grid; grid-template-columns: 120px 1fr; border: 1px solid var(--rule); }
.civ-share-url > * { min-width: 0; padding: 13px; }
.civ-share-url span { border-right: 1px solid var(--rule); font: 800 8px var(--f-mono); letter-spacing: .08em; }
.civ-share-url code { overflow-wrap: anywhere; color: var(--civ-signal); font: 750 10px/1.55 var(--f-mono); }
.civ-share-private { min-height: 76px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #FFF; background: var(--civ-domain-ink); }
.civ-share-private b { color: var(--civ-accent); font: 850 9px var(--f-mono); letter-spacing: .08em; }
.civ-share-private span { color: #C9C5BD; font-size: 11px; }
.civ-share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.civ-share-actions button { min-height: 48px; padding: 10px; border: 1px solid var(--rule); font: 800 9px var(--f-mono); }
.civ-share-actions button:hover { color: #FFF; background: var(--civ-domain-ink); }
.civ-share-actions button.is-postcard { color: #FFF; border-color: var(--civ-signal); background: var(--civ-signal); }
.civ-share-note { margin: 0; padding-left: 13px; border-left: 4px solid var(--civ-accent); }
.civ-share-error { padding: 12px; color: var(--red); border: 1px solid var(--red); font: 750 9px/1.6 var(--f-mono); }
.civ-share-foot { min-height: 68px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); font: 750 8px var(--f-mono); letter-spacing: .08em; }
.civ-share-foot button { min-height: 42px; padding: 0 18px; border: 1px solid var(--rule); font: 800 9px var(--f-mono); }
.civ-share-foot button.is-enable { color: #FFF; background: var(--civ-domain-ink); }
.civ-share-foot button.is-disable { color: var(--civ-signal); border-color: var(--civ-signal); }
.civ-share button:disabled { opacity: .5; cursor: wait; }

@keyframes civ-enter { from { opacity: 0; transform: translateY(10px); } }
@keyframes civ-axis { to { transform: translate(-18px, 18px); } }
@keyframes civ-toast { from { opacity: 0; transform: translateY(14px); } }
@keyframes civ-spectrum { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes civ-word-color-pass {
  0% { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); opacity: 1; }
  18.53%, 26.19% { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); opacity: 1; }
  31.94%, 100% { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes civ-word-register-red {
  0%, 5.11% { opacity: 0; transform: translate(-9px, 5px); }
  10.86%, 21.40% { opacity: .8; transform: translate(-9px, 5px); }
  31.94%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes civ-word-register-blue {
  0%, 7.99% { opacity: 0; transform: translate(8px, -4px); }
  13.42%, 23% { opacity: .72; transform: translate(8px, -4px); }
  31.94%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes civ-word-register-green {
  0%, 10.86% { opacity: 0; transform: translate(3px, 7px); }
  15.97%, 24.28% { opacity: .62; transform: translate(3px, 7px); }
  31.94%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes civ-word-bar-red {
  0%, .56% { transform: scaleX(0); transform-origin: left; opacity: .8; }
  9.58% { transform: scaleX(1); transform-origin: left; opacity: .8; }
  9.76% { transform: scaleX(1); transform-origin: right; opacity: .8; }
  17.92%, 100% { transform: scaleX(0); transform-origin: right; opacity: 0; }
}
@keyframes civ-word-bar-blue {
  0%, 2.08% { transform: scaleX(0); transform-origin: left; opacity: .8; }
  11.11% { transform: scaleX(1); transform-origin: left; opacity: .8; }
  11.28% { transform: scaleX(1); transform-origin: right; opacity: .8; }
  19.44%, 100% { transform: scaleX(0); transform-origin: right; opacity: 0; }
}
@keyframes civ-word-bar-green {
  0%, 3.61% { transform: scaleX(0); transform-origin: left; opacity: .8; }
  12.64% { transform: scaleX(1); transform-origin: left; opacity: .8; }
  12.81% { transform: scaleX(1); transform-origin: right; opacity: .8; }
  20.97%, 100% { transform: scaleX(0); transform-origin: right; opacity: 0; }
}
@keyframes civ-judge-left { to { transform: translateY(25%); } }
@keyframes civ-judge-right { to { transform: translateY(-25%); } }
@keyframes civ-tech-scan { to { transform: translateY(1050%); } }
@keyframes civ-org-align { to { transform: translate(12%, -10%); } }
@keyframes civ-time-hand { to { transform: rotate(360deg); } }
@keyframes civ-balance { to { transform: rotate(10deg); } }
@keyframes civ-detail-orbit { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .civ-toolbar { grid-template-columns: 1fr auto; }
  .civ-toolbar-right > span { display: none; }
  .civ-atlas-layout { grid-template-columns: 1fr; }
  .civ-atlas-register { border-right: 0; }
  .civ-atlas-detail { min-height: 510px; position: relative; top: 0; }
  .civ-reader { grid-template-columns: 76px 1fr; }
  .civ-reader.is-notes-collapsed { grid-template-columns: 76px 1fr; }
  .civ-reader-notes { grid-column: 1 / -1; min-height: 500px; max-height: none; position: relative; top: 0; }
  .civ-filters { grid-template-columns: 110px 1fr; }
  .civ-search { grid-column: 1 / -1; border-top: 1px solid var(--rule); border-left: 0; }
}
@media (max-width: 720px) {
  .civilization-page { padding-top: 12px; }
  .civ-toolbar { display: block; }
  .civ-toolbar-brand { min-height: 46px; }
  .civ-view-switch { border: 0; border-top: 1px solid var(--rule); }
  .civ-view-switch button { min-width: 0; flex: 1; height: 44px; padding: 0 7px; }
  .civ-toolbar-right { min-height: 50px; padding: 7px; border-top: 1px solid var(--rule); }
  .civ-new-button { width: 100%; }
  .civ-masthead { grid-template-columns: 1fr; }
  .civ-mast-copy { min-height: 390px; }
  .civ-mast-copy::after { opacity: .4; }
  .civ-mast-title { font-size: clamp(62px, 20vw, 92px); }
  .civ-mast-word { margin: 20px 0 0; display: grid; width: max-content; max-width: 100%; font-size: .38em; }
  .civ-mast-index { min-height: 170px; }
  .civ-mast-index strong { font-size: 80px; }
  .civ-filters { grid-template-columns: 1fr; }
  .civ-filter-label { border-right: 0; border-bottom: 1px solid var(--rule); }
  .civ-filter-buttons { min-height: 48px; }
  .civ-register-head { display: none; }
  .civ-thought-row { grid-template-columns: 46px 1fr; }
  .civ-thought-row > span { border-right: 0; }
  .civ-row-domain, .civ-row-copy, .civ-row-links { grid-column: 2; }
  .civ-row-domain .civ-domain-glyph { display: inline-block; margin: 0 7px 0 0; vertical-align: middle; }
  .civ-row-links { border-top: 1px solid var(--hair); }
  .civ-row-year { position: absolute; right: 0; top: 0; }
  .civ-detail-quote { font-size: 16px; line-height: 1.64; }
  .civ-chronology { grid-template-columns: 1fr; }
  .civ-chronology-side { border-right: 0; border-bottom: 1px solid var(--rule); }
  .civ-timeline { padding: 12px; }
  .civ-timeline-list::before { left: 70px; }
  .civ-timeline-item { grid-template-columns: 71px 1fr; }
  .civ-timeline-node button { grid-template-columns: 34px 1fr; gap: 9px; }
  .civ-timeline-node aside { grid-column: 2; margin-top: 12px; padding: 10px 0 0; border-top: 1px solid var(--hair); border-left: 0; }
  .civ-reader { grid-template-columns: 1fr; }
  .civ-reader.is-notes-collapsed { grid-template-columns: 1fr; }
  .civ-reader-rail { height: 54px; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .civ-reader-rail button { min-width: 58px; min-height: 0; border-right: 1px solid var(--rule); writing-mode: horizontal-tb; transform: none; }
  .civ-reader-poster { min-height: 620px; }
  .civ-poster-question, .civ-poster-thesis { max-width: 100%; }
  .civ-poster-question { font-size: clamp(58px, 16vw, 88px); }
  .civ-poster-motion { display: none; }
  .civ-poster-index { width: 100%; min-height: 0; margin: 24px 0 18px; position: relative; right: auto; bottom: auto; }
  .civ-article-section { width: calc(100% - 28px); grid-template-columns: 74px 1fr; }
  .civ-article-marker { padding: 28px 12px 24px 0; }
  .civ-article-marker strong { font-size: 42px; }
  .civ-article-copy { padding: 28px 0 26px 16px; }
  .civ-article-copy p { font-size: 15px; line-height: 1.82; }
  .civ-composer-body { grid-template-columns: 1fr; }
  .civ-composer-body label.is-wide { grid-column: auto; }
  .civ-lens-editor { grid-column: auto; }
  .civ-lens-editor-row { grid-template-columns: 28px 1fr; }
  .civ-lens-editor-row label, .civ-lens-editor-row > button { grid-column: 2; }
  .civ-lens-editor-row > button { margin-top: 0; }
  .civ-section-editor-row { grid-template-columns: 28px 1fr; }
  .civ-section-editor-row > .civ-section-meta, .civ-section-editor-row > label, .civ-section-editor-row > button { grid-column: 2; }
  .civ-section-editor-row > button { margin-top: 0; }
  .civ-relation-editor-row { grid-template-columns: 28px 1fr; }
  .civ-relation-editor-row > label, .civ-relation-editor-row > button { grid-column: 2; }
  .civ-relation-editor-row > button { margin-top: 0; }
  .civ-composer-foot { align-items: flex-start; flex-direction: column; }
  .civ-composer-foot > div { width: 100%; }
  .civ-composer-foot button { flex: 1; }
  .civ-share { padding: 12px; }
  .civ-share-card { box-shadow: 7px 7px 0 var(--civ-signal); }
  .civ-share-head { grid-template-columns: 58px 1fr 48px; }
  .civ-share-url { grid-template-columns: 1fr; }
  .civ-share-url span { border-right: 0; border-bottom: 1px solid var(--rule); }
  .civ-share-actions { grid-template-columns: 1fr; }
  .civ-share-foot { align-items: flex-start; flex-direction: column; }
  .civ-share-foot button { width: 100%; }
  .civ-footer { gap: 16px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .civ-view, .civ-mast-copy::after, .civ-toast, .civ-domain-spectrum i, .civ-domain-glyph i, .civ-atlas-detail::after, .civ-poster-motion i { animation: none; }
  .civ-mast-word-color, .civ-mast-word-offset, .civ-mast-word-bars b { animation: none; opacity: 0; }
}
