/* Fraunces and Inter, self-hosted from site/fonts/ (SIL Open Font License 1.1, see Fraunces-OFL.txt and
   Inter-OFL.txt there): Google Fonts' variable woff2 files and unicode ranges, one file per script, so a
   page fetches only the scripts it uses and no visitor's browser connects to Google. */
@font-face { font-family: Fraunces; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/fraunces-v38-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/fraunces-v38-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/fraunces-v38-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-v20-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-v20-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-v20-greek-ext.woff2) format("woff2"); unicode-range: U+1F00-1FFF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-v20-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-v20-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-v20-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-v20-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f6f3ec;
  --card: #fbf9f4;
  --ink: #17140f;
  --muted: #625a4d;
  --line: #ddd5c6;
  --accent: #8f5420;
  --accent-ink: #fffaf2;
  --live: #2f6b3a;
  --contour: rgba(143, 84, 32, 0.07);
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --series-4: #eda100;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12110e;
    --card: #1a1814;
    --ink: #efe9de;
    --muted: #a69d8d;
    --line: #2e2a24;
    --accent: #d39a5c;
    --accent-ink: #1a120a;
    --live: #7fbf88;
    --contour: rgba(211, 154, 92, 0.06);
    --series-1: #3987e5;
    --series-2: #d95926;
    --series-3: #199e70;
    --series-4: #c98500;
  }
}
:root[data-theme="dark"] {
  --paper: #12110e;
  --card: #1a1814;
  --ink: #efe9de;
  --muted: #a69d8d;
  --line: #2e2a24;
  --accent: #d39a5c;
  --accent-ink: #1a120a;
  --live: #7fbf88;
  --contour: rgba(211, 154, 92, 0.06);
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #c98500;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* The header every page shares (scripts/pages/shell.mjs): wordmark, sections, name search, the call to action. */
.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; }
.site-head { border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.wordmark { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: 0.14em; font-size: 15px; text-decoration: none; white-space: nowrap; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.main-nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); }
.main-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.name-search { position: relative; flex: 1 1 220px; max-width: 320px; margin: 0 0 0 auto; display: block; }
.name-search input { padding: 8px 12px; font-size: 15px; background: var(--card); }
.site-head .cta { padding: 9px 16px; white-space: nowrap; }
.name-results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; min-width: 300px; max-height: 70vh; overflow-y: auto; margin: 0; padding: 4px 0; list-style: none; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); z-index: 20; }
.name-results li a { display: block; padding: 8px 12px; text-decoration: none; font-size: 15px; line-height: 1.35; }
.name-results li b { display: block; font-weight: 500; overflow-wrap: anywhere; }
.name-results li span { display: block; font-size: 13px; color: var(--muted); }
.name-results li[aria-selected="true"] a, .name-results li a:hover { background: var(--paper); }
.name-results li[aria-selected="true"] a { box-shadow: inset 2px 0 0 var(--accent); }
.name-results li.all { border-top: 1px solid var(--line); }
.name-results li.all b { color: var(--accent); font-size: 14px; }
@media (max-width: 900px) {
  .site-head .wrap { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding-top: 12px; padding-bottom: 10px; }
  .name-search { grid-column: 1 / -1; grid-row: 2; max-width: none; margin: 0; }
  .main-nav { grid-column: 1 / -1; grid-row: 3; overflow-x: auto; }
  .main-nav ul { gap: 18px; font-size: 14px; }
  .name-results { min-width: 0; }
}

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 2px; font: 500 15px/1 Inter, sans-serif;
  text-decoration: none; border: 1px solid var(--ink); cursor: pointer; background: transparent; color: var(--ink);
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:hover { opacity: 0.85; }

.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: repeating-radial-gradient(ellipse at 78% 40%, transparent 0 38px, var(--contour) 38px 39px);
}
.hero .wrap { padding-top: 112px; padding-bottom: 104px; }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 20px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); max-width: 17ch; }
.hero h1 span { color: var(--accent); }
.hero .sub { font-size: clamp(19px, 2.2vw, 23px); color: var(--muted); max-width: 36em; margin: 28px 0 40px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

section { padding: 96px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { section { padding: 64px 0; } .hero .wrap { padding-top: 72px; padding-bottom: 72px; } }
section h2 { font-size: clamp(30px, 4vw, 44px); max-width: 20ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; margin: 18px 0 0; }

.thesis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.thesis div { border-top: 2px solid var(--ink); padding-top: 18px; }
.thesis b { display: block; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.thesis p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .thesis { grid-template-columns: 1fr; gap: 28px; } }

.classes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 48px; }
.classes > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px; background: var(--card); }
.classes h3 { font-size: 21px; margin-bottom: 8px; }
.classes p { margin: 6px 0 14px; color: var(--muted); font-size: 15px; }
.classes ul { margin: 0; padding: 0; list-style: none; }
.classes li { padding: 5px 0; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-bottom: 1px solid var(--line); }
.classes li:last-child { border-bottom: 0; }
.classes li span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.classes a { text-decoration: none; }
.classes a:hover { text-decoration: underline; }

/* Landing page: the three countries of the site search, and section subheads. */
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border: 1px solid var(--line); }
.countries > div { padding: 24px; background: var(--card); }
.countries > div + div { border-left: 1px solid var(--line); }
.countries h3 { font-size: 22px; }
.countries h3 a { text-decoration: none; }
.countries .big { margin: 10px 0 12px; color: var(--muted); font-size: 15px; }
.countries .big a { display: block; font-family: Fraunces, Georgia, serif; font-size: 40px; line-height: 1.1; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.countries ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.countries li { margin: 4px 0; }
.countries .more { margin: 14px 0 0; font-size: 14px; }
@media (max-width: 860px) { .countries { grid-template-columns: 1fr; } .countries > div + div { border-left: 0; border-top: 1px solid var(--line); } }
h3.sub-h { font-size: 26px; margin-top: 64px; }
/* Landing page: who it is for, in their own words, and the proof cards (sample report, latest story). */
.you { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border: 1px solid var(--line); }
.you > div { padding: 28px 24px; background: var(--card); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.you > div + div { border-left: 1px solid var(--line); }
.you h3 { font-size: 22px; }
.you p { margin: 0; color: var(--muted); flex: 1; }
@media (max-width: 860px) { .you { grid-template-columns: 1fr; } .you > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.proof .card { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border: 1px solid var(--line); border-top: 2px solid var(--accent); background: var(--card); color: var(--ink); text-decoration: none; }
.proof .card b { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 24px; line-height: 1.2; }
.proof .card span { color: var(--muted); }
.proof .card .pill { color: var(--accent); }
.proof .card .go { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; margin-top: auto; padding-top: 6px; }
.proof .card:hover b { text-decoration: underline; }
#proof .countries + .lead { margin-top: 28px; }
#about .lead + .lead { margin-top: 18px; }
#sites .lead + .lead, .countries + .lead { margin-top: 28px; }
#assets > .wrap > .lead:first-of-type { margin-top: 18px; }
.pill { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.pill.live { color: var(--live); }
.pill.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-right: 7px; vertical-align: 1px; }
@media (max-width: 860px) { .classes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .classes { grid-template-columns: 1fr; } }

.table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.num { white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.credit { font-size: 13px; color: var(--muted); margin-top: 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; border: 1px solid var(--line); }
.split > div { padding: 32px; }
.split > div + div { border-left: 1px solid var(--line); background: var(--card); }
.split h3 { font-size: 24px; margin-bottom: 14px; }
.split ul { margin: 0; padding-left: 20px; color: var(--muted); }
.split li { margin: 6px 0; }
.split p { color: var(--muted); margin: 16px 0 0; font-size: 15px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.audience { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.audience ul { margin: 0; padding: 0; list-style: none; }
.audience li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.audience li:first-child { border-top: 1px solid var(--line); }
.audience li b { display: block; font-weight: 600; margin-bottom: 2px; }
.audience li span { color: var(--muted); }
.audience .btn { margin-top: 32px; }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; gap: 28px; } }

.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.others b { display: block; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 19px; margin-bottom: 6px; }
.others p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .others { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .others { grid-template-columns: 1fr; } }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 40px; max-width: 760px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
label.full { grid-column: 1 / -1; }
input, select, textarea {
  font: 400 16px/1.4 Inter, sans-serif; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
label.check input { width: auto; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-foot small { color: var(--muted); }
#form-status { font-weight: 500; }
@media (max-width: 600px) { form { grid-template-columns: 1fr; } }

/* The footer every page shares. */
.site-foot { padding: 48px 0 56px; font-size: 14px; color: var(--muted); }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px 40px; }
.foot-cols p { margin: 10px 0 0; max-width: 28em; }
.foot-cols .wordmark { color: var(--ink); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin: 0 0 6px; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--ink); }
.foot-legal { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 600px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div { grid-column: 1 / -1; } }

/* Legal pages (site/privacy.html, terms.html, data-licence.html): running text in ink, not muted. */
.legal .block p, .legal .block ul { max-width: 42em; }
.legal .block h2 + p, .legal .block h3 + p { color: var(--ink); }
.legal .block ul { padding-left: 20px; }
.legal .block li { margin: 6px 0; }
.legal .block code { font-size: 14px; overflow-wrap: anywhere; }
.legal .block .table-wrap { max-width: none; }
.legal .block .table-wrap td { vertical-align: top; }

/* Generated pages (scripts/build-pages.mjs): entities, owners, hubs, rankings, sources. */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; border-bottom: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "›"; margin: 0 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li:last-child { color: var(--ink); }

.page-head { padding: 28px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); max-width: 22ch; overflow-wrap: anywhere; }
.answer { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 42em; margin: 20px 0 0; }
.answer a { color: var(--ink); }

.block { padding: 48px 0; border-bottom: 1px solid var(--line); }
.block h2 { font-size: clamp(24px, 3vw, 32px); max-width: none; }
.block h2 + p { color: var(--muted); margin: 10px 0 0; max-width: 42em; }
.block .table-wrap { margin-top: 24px; }
.block h3 { font-size: 21px; margin-top: 40px; }
.block h3 + p { color: var(--muted); margin: 8px 0 0; max-width: 42em; }
.block h3 .q { font-family: Inter, system-ui, sans-serif; font-size: 14px; font-weight: 400; margin-left: 6px; }
@media (max-width: 600px) { .block { padding: 36px 0; } }

table.facts { min-width: 0; }
table.facts td:first-child { width: 28%; color: var(--muted); }
table.facts code { overflow-wrap: anywhere; }
.src { font-size: 13px; color: var(--muted); }
.src a { color: var(--muted); }
.q { font-size: 13px; color: var(--muted); }
pre.cite { margin: 16px 0 0; padding: 16px; background: var(--card); border: 1px solid var(--line); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  table.facts, table.facts tbody, table.facts tr, table.facts td { display: block; width: auto; }
  table.facts thead { display: none; }
  table.facts tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  table.facts tr:last-child { border-bottom: 0; }
  table.facts td { padding: 0; border: 0; }
  table.facts td:first-child { width: auto; font-size: 13px; }
  table.facts td.src { margin-top: 4px; }
}

.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; margin: 24px 0 0; padding: 0; list-style: none; }
.links li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.links li span { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }

/* Owner pages: the parent chain, from the company up to its ultimate parent. */
.chain { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.chain li + li::before { content: "›"; margin: 0 10px; color: var(--muted); }

.on-request { margin-top: 28px; padding: 20px 24px; border: 1px solid var(--accent); background: var(--card); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; max-width: 760px; }
.on-request p { margin: 0; }
.on-request b { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 19px; display: block; }
.on-request span { color: var(--muted); font-size: 15px; }
.withheld { color: var(--accent); font-weight: 500; }

.browse { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; margin-top: 48px; }
.browse h3 { font-size: 21px; margin-bottom: 8px; }
.browse ul { margin: 0; padding: 0; list-style: none; }
.browse li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.browse li span { color: var(--muted); font-variant-numeric: tabular-nums; }
.browse a { text-decoration: none; }
.browse a:hover { text-decoration: underline; }

.attribution { padding: 32px 0 0; font-size: 14px; color: var(--muted); }
.attribution h2 { font: 600 12px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.attribution ul { margin: 0; padding-left: 18px; }
.attribution li { margin: 4px 0; }
.attribution b { color: var(--ink); font-weight: 500; }

/* Place pages: time series as an inline SVG line chart (scripts/build-pages.mjs lineChart) and a table. */
.chart { margin: 24px 0 0; max-width: 640px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .tick { fill: var(--muted); font: 400 11px/1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.chart polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart circle { stroke: var(--paper); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart circle:hover { r: 6; }
@media (max-width: 600px) { .chart .tick { font-size: 14px; } }
.chart figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; }
.legend i { display: inline-block; width: 16px; height: 2px; vertical-align: middle; margin-right: 8px; border-radius: 1px; }
.s1 { stroke: var(--series-1); fill: var(--series-1); } i.s1 { background: var(--series-1); }
.s2 { stroke: var(--series-2); fill: var(--series-2); } i.s2 { background: var(--series-2); }
.s3 { stroke: var(--series-3); fill: var(--series-3); } i.s3 { background: var(--series-3); }
.s4 { stroke: var(--series-4); fill: var(--series-4); } i.s4 { background: var(--series-4); }
table.series { min-width: 0; }

/* Asset and right pages: how it compares, timeline, nearby (scripts/pages/context.mjs). */
table.compact { min-width: 0; }
table.nearby td:first-child { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  table.compact { font-size: 14px; }
  table.compact th, table.compact td { padding: 10px 10px; }
  table.compact td.num { white-space: normal; }
  table.compact th:first-child, table.compact td:first-child { padding-left: 14px; }
  table.nearby th:nth-child(4), table.nearby td:nth-child(4) { display: none; }
}
.timeline { list-style: none; margin: 24px 0 0 6px; padding: 0; max-width: 760px; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 8px 0 8px 22px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline li.future::before { background: var(--paper); box-shadow: inset 0 0 0 2px var(--accent); }
.timeline li.gap { display: block; font-size: 14px; color: var(--muted); }
.timeline li.gap::before { background: var(--line); }
.timeline time { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline a { text-decoration: none; border-bottom: 1px solid var(--line); }
.timeline a:hover { border-color: var(--ink); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }

/* Stories (scripts/pages/stories.mjs): the article, and the list on /stories and the landing page. */
.story { max-width: 42em; padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.story p, .story ul { margin: 0 0 18px; }
.story ul { padding-left: 20px; }
.story li { margin: 6px 0; }
.story h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 14px; max-width: none; }
.story h3 { font-size: 21px; margin: 32px 0 10px; }
.story a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.story .table-wrap { margin: 8px 0 24px; }
.story table { min-width: 0; }
.story th.num { white-space: nowrap; }
@media (max-width: 600px) { .story table { font-size: 14px; } .story th, .story td { padding: 10px 8px; } }
.story-list { list-style: none; margin: 24px 0 0; padding: 0; max-width: 46em; }
.story-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.story-list li:first-child { border-top: 1px solid var(--line); }
.block > .story-list { margin-top: 0; }
.block > .story-list li:first-child { border-top: 0; padding-top: 0; }
.story-list a { text-decoration: none; }
.story-list b { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 22px; line-height: 1.25; }
.story-list a:hover b { text-decoration: underline; }
.story-list span { color: var(--muted); }
.story-list time { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* The /search page (scripts/pages/search.mjs). */
.search-form { display: block; margin: 0; max-width: 640px; }
.search-form label { margin-bottom: 6px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; }
#search-results { margin-top: 24px; max-width: 760px; }
.search-list { grid-template-columns: 1fr; margin-top: 12px; }
.search-list li { display: grid; gap: 2px; justify-content: stretch; }
.search-list li span { white-space: normal; }

/* Location maps (scripts/pages/maps.mjs): a country outline image with a dot for an asset or site, or a
   second image of dots for a hub. In the page head beside the answer on wide screens, under it on narrow ones. */
.head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.head-grid.wide-map { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 860px) { .head-grid, .head-grid.wide-map { grid-template-columns: 1fr; gap: 24px; } }
.loc-map { margin: 0; }
.map-frame { position: relative; width: 100%; margin: 0; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.map-frame img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-frame i { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent); }
.loc-map figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.loc-map figcaption a { color: var(--muted); }

/* The inline request form (site/request.js): step 1 is a role, one line and an email; step 2 three optional fields. */
.rq { max-width: 640px; }
.rq form { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 0; max-width: none; }
.rq-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-roles button { font: 500 14px/1 Inter, sans-serif; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.rq-roles button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rq-roles button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rq-field { font-size: 13px; color: var(--muted); }
.rq-field input { color: var(--ink); }
.rq-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.rq-foot .btn { cursor: pointer; }
.rq-foot .btn:disabled { opacity: 0.6; cursor: wait; }
.rq-promise { flex: 1 1 220px; color: var(--muted); font-size: 14px; }
.rq-note { margin: 0; color: var(--muted); font-size: 13px; }
.rq-status { margin: 0; font-weight: 500; font-size: 14px; }
.rq-status:empty, .rq-check:empty { display: none; }
.rq-sent p { margin: 0 0 6px; }
.rq-more { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.on-request .rq { flex: 1 1 100%; }
#request .rq { margin-top: 32px; }

/* The research report (scripts/pages/research.mjs): one block per site, and a page that prints. */
.site-card h2 a { text-decoration: none; }
.site-card h2 a:hover { text-decoration: underline; }
.site-card h3 { font-size: 17px; margin: 28px 0 8px; }
.site-card ul, .block ol { padding-left: 20px; max-width: 46em; }
.site-card li, .block ol li { margin: 6px 0; }
.site-card table, table.shortlist { min-width: 0; }
.block th[scope="row"] { width: 28%; font-size: 14px; letter-spacing: 0; text-transform: none; vertical-align: top; }
@media print {
  :root, :root:not([data-theme="light"]) { --paper: #fff; --card: #fff; --ink: #000; --muted: #444; --line: #ccc; --accent: #6b3d12; }
  body > nav, footer, .crumbs, .on-request, .btn { display: none; }
  .page-head { padding: 0 0 12px; }
  .page-head h1 { font-size: 24pt; }
  .block { padding: 14px 0; }
  .site-card { break-inside: avoid; }
  .table-wrap { margin-top: 10px; overflow: visible; border: 0; }
  table { font-size: 8.5pt; min-width: 0; }
  th, td { padding: 4px 6px; }
  a { color: inherit; text-decoration: none; }
}
.block table:has(th[scope="row"]) td { vertical-align: top; }
