@font-face {
  font-family: Geist;
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/geist.woff2') format('woff2');
}
:root {
  color-scheme: light;
  --page: #fff;
  --wash: #f7fafc;
  --panel: #fff;
  --text: #10151b;
  --muted: #525d69;
  --line: #d7e0e6;
  --blue: #0878ad;
  --accent: #178dc6;
  --pale: #e9f5fc;
  --dot: #b8cddd80;
  --glow: #bddff250;
  --mono: ui-monospace, Consolas, monospace;
  font: 400 100%/1.58 Geist, Arial, sans-serif;
  color: var(--text);
  background: var(--page);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0a0e12;
  --wash: #10171e;
  --panel: #111920;
  --text: #eff5f8;
  --muted: #b2bec8;
  --line: #34424d;
  --blue: #7bd1ff;
  --accent: #42b1ed;
  --pale: #152d3b;
  --dot: #7196a85c;
  --glow: #13517347;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--blue); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3 { letter-spacing: -.046em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.65rem,5.1vw,4.8rem); font-weight: 630; }
h2 { font-size: clamp(2rem,3.55vw,3.5rem); font-weight: 620; }
h3 { font-size: clamp(1.38rem,2vw,1.9rem); font-weight: 600; }
em { font-style: normal; color: var(--blue); }
.wrap { width: min(1370px,92%); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; }
.skip { position: fixed; top: -100px; left: 1rem; padding: 10px 16px; z-index: 20; background: var(--panel); }
.skip:focus { top: 8px; }
header { position: sticky; z-index: 8; top: 0; background: var(--page); border-bottom: 1px solid var(--line); }
.masthead, .masthead nav, .nav-actions, .actions, .foot nav { display: flex; align-items: center; }
.masthead { min-height: 72px; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-size: 1.72rem; line-height: 1; letter-spacing: -.065em; font-weight: 680; }
.brand .mark { width: 41px; height: auto; }
.masthead nav { margin-left: auto; gap: 28px; }
.masthead nav a, .foot nav a { text-decoration: none; color: var(--muted); font-size: .94rem; font-weight: 520; }
.masthead nav a:hover, .masthead nav a[aria-current], .foot nav a:hover { color: var(--blue); }
.nav-actions, .actions { gap: 10px; }
.theme-switch, .button, .forum { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: 40px; text-decoration: none; font-size: .94rem; font-weight: 580; }
.theme-switch { width: 39px; height: 39px; cursor: pointer; background: var(--panel); border: 1px solid var(--line); }
.theme-switch svg { width: 19px; height: 19px; }
.theme-switch[aria-pressed=true] { background: var(--pale); color: var(--blue); }
.button { padding: 11px 20px; min-height: 46px; }
.primary, .forum { color: white; background: linear-gradient(155deg,#168dc6,#08689e 65%,#075681); border: 1px solid #1376a4; box-shadow: inset 0 1px 0 #ffffff44, 0 4px 12px #0a70ac20; }
.primary:hover,.forum:hover { color: white; background: #075e91; }
.forum { padding: 8px 16px; }
.secondary { background: var(--panel); border: 1px solid var(--line); }
.secondary:hover,.theme-switch:hover { border-color: var(--accent); color: var(--blue); }
.hero, .article-head, .page-intro { position: relative; isolation: isolate; background: radial-gradient(ellipse at 85% 15%,var(--glow),transparent 60%),var(--page); }
.hero::before, .article-head::before, .page-intro::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) .8px,transparent 1px); background-size: 19px 19px; mask-image: linear-gradient(90deg,transparent 10%,#000 90%); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; padding-block: clamp(48px,5vw,82px); }
.hero-tag { display: inline-flex; align-items: center; gap: 9px; padding: 4px 12px 4px 5px; font-size: .85rem; font-weight: 500; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 2px 8px #174a6e08; }
.hero-tag span { font: 600 .73rem/1 var(--mono); letter-spacing: .06em; color: var(--page); background: var(--text); border-radius: 15px; padding: 5px 9px; }
.hero h1 { font-size: clamp(3.6rem,6.6vw,6.4rem); font-weight: 610; letter-spacing: -.072em; line-height: .99; margin: 25px 0; }
.hero h1 span { display: block; }
.hero h1 b { font-weight: inherit; color: var(--accent); }
.lead { font-size: clamp(1.03rem,1.35vw,1.18rem); line-height: 1.6; color: var(--muted); max-width: 59ch; }
.hero-copy .lead { max-width: 48ch; }
.actions { flex-wrap: wrap; margin-top: 24px; }
/* The topic links form the four corners of a compass. */
.topic-map { width: min(100%,600px); aspect-ratio: 1.35; margin-inline: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 1fr 1fr; align-items: start; position: relative; }
.dial, .map-centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; }
.dial { width: 73%; aspect-ratio: 1; border: 1px solid var(--line); background: radial-gradient(circle,transparent 47%,var(--line) 47.4%, transparent 47.9%); }
.dial::before, .dial::after { content: ''; position: absolute; height: 1px; width: 124%; left: -12%; top: 50%; background: linear-gradient(90deg,var(--line),transparent 42%,transparent 58%,var(--line)); }
.dial::before { transform: rotate(38deg); }
.dial::after { transform: rotate(-38deg); }
.ticks, .sweep, .inner-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.ticks { inset: -4%; background: repeating-conic-gradient(var(--dot) 0deg .45deg,transparent .55deg 2deg); mask-image: radial-gradient(closest-side,transparent 95%,#000 96%); }
.sweep { inset: 0; background: conic-gradient(from 240deg,transparent 0deg,var(--glow) 42deg,transparent 43deg); animation: sweep 36s linear infinite; }
.inner-ring { inset: 10%; border: 1px dashed var(--line); }
@keyframes sweep { to { transform: rotate(360deg); } }
.map-centre { width: 32%; aspect-ratio: 1; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 34px #195a7a12; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.map-centre .mark { width: 48%; height: auto; }
.map-centre strong { font-size: clamp(1rem,1.6vw,1.4rem); letter-spacing: -.055em; font-weight: 650; }
.map-node { display: grid; position: relative; width: min(100%,173px); padding: 12px 15px; gap: 2px; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); text-decoration: none; box-shadow: 0 4px 13px #193c5a09; }
.map-node::before { content: ''; width: 25%; height: 2px; background: var(--accent); position: absolute; top: -1px; left: 0; }
.map-node:hover { border-color: var(--accent); background: var(--pale); }
.map-node .icon { width: 17px; height: 17px; color: var(--blue); margin-bottom: 3px; }
.map-node strong { font-size: .96rem; font-weight: 610; letter-spacing: -.024em; }
.map-node small { font: .76rem/1.4 var(--mono); color: var(--muted); }
.map-node:nth-of-type(even) { justify-self: end; }
.map-node:nth-of-type(n+3) { align-self: end; }
.source-band { background: var(--wash); border-block: 1px solid var(--line); }
.source-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.source-nav span, .eyebrow, .resource-type, .card-topic, .result-count { font: 540 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.source-nav span, .eyebrow, .resource-type { color: var(--muted); }
.source-nav a { font-weight: 610; font-size: .99rem; text-decoration: none; }
.collection,.directory,.about { padding-block: clamp(42px,5.5vw,78px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.text-link,.crumb { font-size: .94rem; color: var(--blue); }
.cards, .resources { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guide-card, .resources article, .empty { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; }
.guide-card { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; padding: clamp(23px,2.5vw,37px); }
.guide-card:hover, .resources article:focus-within { border-color: var(--accent); }
.card-topic { color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }
.card-topic .icon { width: 17px; height: 17px; }
.guide-card :is(h2,h3) { margin: 16px 0 10px; font-size: clamp(1.38rem,2vw,1.9rem); font-weight: 600; }
.guide-card p, .resources p, .picks p, .band-grid p:not(.eyebrow) { color: var(--muted); }
.card-notes { width: 100%; display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; }
.card-notes span { padding: 3px 8px; color: var(--muted); background: var(--wash); border: 1px solid var(--line); border-radius: 5px; font-size: .8rem; }
.directory-band { background: var(--wash); border-top: 1px solid var(--line); padding-block: 60px; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10%; }
.band-grid p:not(.eyebrow) { margin: 14px 0 20px; max-width: 50ch; }
.picks a { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.picks a:last-child { border-bottom: 1px solid var(--line); }
.picks .icon { color: var(--blue); margin-top: 3px; }
.picks p:not(.eyebrow) { margin: 8px 0 0; }
footer { border-top: 1px solid var(--line); }
.foot { padding-block: 32px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.foot nav { gap: 20px; flex-wrap: wrap; }
.foot p { margin-top: 7px; color: var(--muted); font-size: .9rem; }
.foot-note { max-width: 32ch; }
.page-intro, .article-head { border-bottom: 1px solid var(--line); padding-block: clamp(35px,5vw,72px); }
.page-intro h1,.article-title h1 { margin-block: 12px 16px; }
.article-title { display: grid; grid-template-columns: minmax(0,3fr) 1fr; gap: 6%; align-items: center; }
.article-title h1 { max-width: 23ch; }
.article-emblem { justify-self: center; display: grid; place-items: center; width: min(12vw,150px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); outline: 1px dashed var(--line); outline-offset: 12px; }
.article-emblem .icon { width: 40%; height: 40%; color: var(--accent); }
.read-grid { display: grid; grid-template-columns: minmax(200px, .45fr) minmax(0,1.4fr); gap: clamp(32px,7vw,95px); padding-block: 52px 75px; align-items: start; }
.read-grid aside { position: sticky; top: 100px; padding: 19px; border: 1px solid var(--line); border-radius: 10px; background: var(--wash); }
.read-grid aside a { display: block; font-size: .95rem; text-decoration: none; padding: 9px 0; border-top: 1px solid var(--line); }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.7rem,2.5vw,2.5rem); margin-bottom: 16px; }
.prose section { margin-bottom: 38px; scroll-margin-top: 95px; }
.prose p,.prose li { font-size: 1.06rem; line-height: 1.76; }
.prose p + p,.prose li + li { margin-top: 10px; }
.prose ul { padding-left: 24px; }
.prose a { color: var(--blue); }
.site-table { width: 100%; margin-block: 16px; border-collapse: collapse; text-align: start; font-size: 1rem; }
.site-table caption { padding-block: 8px; text-align: start; color: var(--muted); }
.site-table th, .site-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.site-table thead { background: var(--wash); }
.site-table th[scope="row"] { width: 30%; }
@media (max-width: 480px) {
  .masthead nav { flex-wrap: wrap; }
  .site-table th, .site-table td { padding: 9px 5px; }
}
.sources { display: grid; gap: 4px; margin-top: 17px; background: var(--wash); border-left: 2px solid var(--accent); padding: 12px 16px; font-size: .93rem; }
.read-next { border-top: 1px solid var(--line); padding-top: 20px; }
.prose .eyebrow { font: 540 .78rem/1.4 var(--mono); }
.read-next a { font-size: 1.3rem; font-weight: 580; }
.about { margin-inline: auto; }
.filters label, .worksheet label { display: block; font-weight: 600; }
.searchbox { display: flex; align-items: center; gap: 10px; background: var(--panel); padding-inline: 14px; border: 1px solid var(--line); border-radius: 7px; max-width: 560px; margin: 8px 0 17px; }
.searchbox input { border: 0; background: transparent; width: 100%; min-width: 0; padding-block: 12px; }
.searchbox:focus-within { outline: 2px solid var(--accent); }
.searchbox input:focus { outline: none; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-list button { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 7px 14px; }
.filter-list button[aria-pressed=true] { background: var(--text); color: var(--page); border-color: var(--text); }
.result-count { margin: 23px 0 13px; color: var(--muted); }
.resources { grid-template-columns: repeat(3,minmax(0,1fr)); }
.resources article,.empty { padding: 24px; }
.resources article { display: flex; flex-direction: column; }
.resources h2 { font-size: 1.47rem; margin-block: 12px; overflow-wrap: anywhere; }
.resources small { color: var(--blue); margin-top: auto; padding-top: 14px; overflow-wrap: anywhere; }
.empty p { margin: 8px 0 18px; }
.worksheet { padding: 23px; border: 1px solid var(--line); background: var(--wash); border-radius: 10px; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 18px; }
.quote-grid fieldset { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 7px; }
.quote-grid label { margin-bottom: 10px; font-size: .95rem; }
.quote-grid input { width: 100%; display: block; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); padding: 7px; }
.quote-grid strong { display: block; }
.worksheet [data-difference] { font-weight: 600; }
@media(max-width:900px) {
  .masthead,.masthead nav { gap: 16px; }
  .resources { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .foot { flex-wrap: wrap; }
  .topic-map { aspect-ratio: 1.1; }
  .map-node { width: 90%; padding: 9px; }
}
@media(max-width:820px) {
  header { position: relative; }
  .masthead { display: grid; grid-template-columns: 1fr auto; padding-top: 10px; row-gap: 9px; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; width: 100%; border-top: 1px solid var(--line); padding: 8px 0; justify-content: space-between; }
  .nav-actions { grid-column: 2; grid-row: 1; gap: 6px; }
}
@media(max-width:730px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 35px; gap: 34px; }
  .topic-map { width: min(100%,500px); aspect-ratio: 1.5; }
  .map-node { width: min(93%,150px); }
  .source-nav { flex-wrap: wrap; justify-content: start; gap: 7px 19px; padding-block: 15px; }
  .source-nav span { width: 100%; }
  .source-nav a { font-size: .88rem; }
  .read-grid,.band-grid { grid-template-columns: 1fr; gap: 26px; }
  .read-grid aside { position: static; }
  .prose section { scroll-margin-top: 14px; }
}
@media(max-width:540px) {
  .brand { font-size: 1.4rem; }
  .brand .mark { width: 31px; }
  .nav-actions .forum { font-size: .83rem; padding: 8px 11px; }
  .forum .icon { display: none; }
  .theme-switch { width: 34px; height: 34px; }
  .hero h1 { font-size: clamp(3.3rem,12.4vw,4.3rem); margin: 18px 0; }
  .map-node { padding: 7px 9px; width: 115px; }
  .map-node small { font-size: .7rem; }
  .map-node strong { font-size: .85rem; }
  .map-centre { width: 25%; }
  .map-centre strong { font-size: .83rem; }
  .cards,.resources,.quote-grid { grid-template-columns: 1fr; }
  .article-title { display: block; }
  .article-emblem { display: none; }
  .section-head { flex-wrap: wrap; gap: 8px; }
  .section-head .text-link { font-size: .9rem; }
  .foot { display: grid; gap: 18px; }
}
@media(prefers-reduced-motion:reduce) { .sweep { animation: none; } }
@media print {
  header,footer,.topic-map,.source-band,.read-grid aside,.read-next,.article-emblem,.skip { display: none; }
  :root,:root[data-theme="dark"] { --page: white; --panel: white; --wash: white; --text: black; --muted: #333; --blue: #124969; }
  .wrap,.read-grid,.article-title { display: block; width: 100%; }
  .article-head,.worksheet { background: white; }
  .read-grid { padding: 10px 0; }
}
