/* Polaris. Paper, ink, gold, night. Local fonts only. */
:root {
  --paper: #f7f8f6;
  --ink: #0f1512;
  --ink-2: #3d4842;
  --ink-3: #414c46;
  --rule: #d9ddd6;
  --night: #07090c;
  --bone: #e8e0d0;
  --gold: #c9a84c;
  --gold-ink: #6f5310;
  --head: "Saira", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 2vw, 28px);
  --max: min(92vw, 1680px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: 18px; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; overflow-x: clip; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .band-expert :focus-visible, .foot :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; margin: 0; overflow-wrap: break-word; }
p { overflow-wrap: break-word; }
.wrap { width: var(--max); max-width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 80; background: var(--ink); color: var(--paper); padding: 12px 16px; text-decoration: none; }
.skip:focus { left: 8px; }
#content:focus { outline: none; }
#content:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
::selection { background: var(--gold); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; font-family: var(--head); font-weight: 600; font-size: 1.05rem; line-height: 1.2; text-align: center; text-decoration: none; border: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; text-decoration: none; box-shadow: 4px 4px 0 var(--gold); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); text-decoration: none; }
.top { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 3px solid var(--ink); }
.top-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand desk lang"; align-items: center; column-gap: 18px; min-height: 64px; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; }
.mark-sq { width: 14px; height: 14px; background: var(--gold); flex: 0 0 auto; }
.wordmark { font-family: var(--head); font-weight: 700; letter-spacing: .08em; font-size: 1.35rem; }
.lang { grid-area: lang; justify-self: end; display: inline-flex; align-items: center; min-height: 48px; padding: 0 2px; font-family: var(--mono); font-size: 1rem; text-decoration: none; }
.nav-desk { grid-area: desk; display: flex; flex-wrap: wrap; align-items: stretch; min-width: 0; }
.nav-mob { display: none; }
.drop { position: relative; }
.col-link { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; font-family: var(--mono); font-size: 1rem; line-height: 1.2; color: var(--ink); text-decoration: none; }
.col-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.col-link.is-on { box-shadow: inset 0 -3px 0 var(--gold); }
.drop-panel { display: none; position: absolute; z-index: 50; top: 100%; left: 0; min-width: min(18rem, 92vw); max-width: min(22rem, 92vw); max-height: 70vh; overflow: auto; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-top: 4px solid var(--gold); padding: 6px 0; }
.drop:nth-child(n+6) .drop-panel { left: auto; right: 0; }
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: block; }
.drop-panel a { display: block; padding: 12px 16px; font-size: 1.05rem; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.drop-panel a:hover { background: #fff; text-decoration: underline; }
.drop-panel a:focus-visible { outline-offset: -3px; }
.nav-mob summary { list-style: none; cursor: pointer; }
.nav-mob summary::-webkit-details-marker { display: none; }
.mob-main { display: flex; align-items: center; min-height: 52px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 1rem; }
.mob-main::after { content: "+"; margin-left: auto; font-size: 1.4rem; }
.nav-mob details[open] > .mob-main::after { content: "\2212"; }
.mob-col { border-top: 1px solid var(--rule); }
.mob-col summary { display: flex; align-items: center; gap: 8px; }
.mob-col summary a { flex: 1 1 auto; min-width: 0; padding: 14px 0; font-family: var(--head); font-weight: 650; font-size: 1.25rem; text-decoration: none; position: relative; z-index: 1; }
.mark { flex: 0 0 56px; min-height: 52px; display: grid; place-items: center; }
.mark::before { content: "+"; font-family: var(--mono); font-size: 1.4rem; line-height: 1; }
.mob-col[open] > summary .mark::before { content: "\2212"; }
.mob-col ul { list-style: none; margin: 0; padding: 0 0 10px; }
.mob-col li a { display: block; padding: 10px 0 10px 12px; text-decoration: none; font-size: 1.05rem; }
.hero { background: var(--night); color: var(--bone); color-scheme: dark; padding: clamp(28px, 4vw, 64px) 0 clamp(12px, 2vw, 28px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: start; }
.hero-copy { grid-column: 1 / 8; }
.hero-figure { grid-column: 8 / 13; grid-row: 1 / 4; margin: 0; }
.hero-meter { grid-column: 1 / 8; }
.tiers { grid-column: 1 / -1; }
.mast-rule { width: 72px; height: 4px; background: var(--gold); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 5.5rem); line-height: .96; max-width: min(14ch, 100%); color: var(--bone); }
.hero-sub { margin: 16px 0 0; max-width: min(42ch, 100%); font-size: clamp(1.15rem, 1.4vw, 1.4rem); line-height: 1.45; color: var(--bone); }
.hero-figure img { width: 100%; height: clamp(200px, 36vw, 520px); object-fit: cover; border: 1px solid var(--gold); }
.meter-text-solo { margin: 8px 0 0; max-width: min(18ch, 100%); font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; color: var(--gold); }
.meter-figures { display: flex; flex-wrap: wrap; align-items: baseline; gap: .12em .2em; margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(3rem, 8vw, 7rem); line-height: .85; letter-spacing: -.03em; color: var(--gold); }
.meter-of, .meter-goal, .meter-unit { color: var(--bone); }
.meter-goal { font-size: .42em; }
.meter-unit { font-family: var(--mono); font-size: .22em; letter-spacing: .04em; }
.meter-track { margin-top: 12px; height: 14px; background: #14181a; border: 1px solid var(--gold); }
.meter-fill { height: 100%; max-width: 100%; background: var(--gold); }
.meter-text { margin: 10px 0 0; max-width: 46ch; color: var(--bone); font-size: 1.05rem; }
.interest { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; margin-top: 22px; max-width: 40rem; }
.interest-label { grid-column: 1 / -1; font-family: var(--mono); font-size: 1rem; color: var(--bone); }
.interest input[type="email"] { width: 100%; min-height: 52px; padding: 0 14px; font: inherit; font-size: 1.05rem; color: var(--bone); background: transparent; border: 2px solid var(--gold); border-radius: 0; }
.privacy-link { grid-column: 1 / -1; font-family: var(--mono); font-size: 1rem; color: var(--gold); }
.tiers { list-style: none; margin: 8px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: 1.45fr 1fr .9fr; gap: 0; border-top: 1px solid var(--gold); }
.tiers li { min-width: 0; padding: 8px 28px 12px 0; }
.tiers li + li { border-left: 1px solid rgba(201, 168, 76, .5); padding-left: 22px; }
.tier-no { font-family: var(--mono); font-size: 1rem; color: var(--gold); }
.tiers h2 { margin-top: 6px; font-size: clamp(1.45rem, 2vw, 2rem); color: var(--bone); }
.tiers li:first-child h2 { font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
.tiers p { margin: 8px 0 0; max-width: 36ch; color: var(--bone); }
.front-band { background: var(--paper); color: var(--ink); border-top: 4px solid var(--gold); }
.front { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2vw, 36px); padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 84px); }
.feed { grid-column: span 8; min-width: 0; }
.rails { grid-column: span 4; min-width: 0; }
.feed-item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 8px 18px; border-top: 1px solid var(--rule); padding: 16px 0; }
.feed-item:first-child { border-top: 3px solid var(--ink); padding-top: 18px; }
.feed-item:first-child h2 { font-size: clamp(1.8rem, 2.6vw, 2.7rem); }
.feed-meta { font-family: var(--mono); font-size: 1rem; color: var(--ink-3); }
.kind { display: inline-block; margin-bottom: 6px; padding: 2px 7px; background: var(--gold); color: var(--ink); font-weight: 700; line-height: 1.3; }
.feed-meta time { display: block; }
.feed-body h2 { font-size: clamp(1.35rem, 1.6vw, 1.7rem); line-height: 1.2; font-weight: 650; }
.feed-body h2 a { text-decoration: none; }
.feed-body h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.feed-body p { margin: 6px 0 0; color: var(--ink-2); }
.rail-block + .rail-block { margin-top: 28px; }
.rail-block h2 { font-family: var(--mono); font-weight: 700; font-size: 1rem; letter-spacing: .04em; border-top: 3px solid var(--ink); padding-top: 10px; }
.rail-block ul { list-style: none; margin: 8px 0 0; padding: 0; }
.rail-block li { border-top: 1px solid var(--rule); padding: 12px 0; }
.rail-block li a { display: block; font-family: var(--head); font-weight: 650; font-size: 1.2rem; line-height: 1.25; text-decoration: none; }
.rail-block li a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.rail-meta { display: block; margin-top: 4px; font-family: var(--mono); font-size: 1rem; color: var(--ink-3); }
.rail-more { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 1rem; color: var(--gold-ink); }
.page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; padding-bottom: clamp(36px, 5vw, 72px); }
.page > * { grid-column: 1 / -1; min-width: 0; }
.crumb { display: flex; flex-wrap: wrap; gap: .35em; align-items: baseline; padding: 18px 0 8px; font-family: var(--mono); font-size: 1rem; }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.sep { color: var(--gold-ink); }
.crumb-here { color: var(--ink); }
.page h1 { font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.02; max-width: min(20ch, 100%); }
.lede { margin: 14px 0 0; max-width: min(46ch, 100%); font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1.45; color: var(--ink-2); }
.page-figure { margin: 22px 0 0; }
.page-figure img { width: 100%; max-height: 560px; object-fit: cover; }
.levels { margin-top: 28px; }
.band { margin-top: 12px; }
.band h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.12; max-width: min(28ch, 100%); }
.kicker { margin: 0 0 8px; font-family: var(--mono); font-size: 1rem; color: var(--gold-ink); }
.band-beginner { background: #fff; border-left: 8px solid var(--gold); padding: 22px 22px 26px; }
.band-intermediate { border-left: 8px solid var(--ink); padding: 22px 22px 26px; }
.band-expert { margin-top: 18px; background: var(--night); color: var(--bone); padding: 28px 22px 32px; }
.band-expert .kicker { color: var(--gold); }
.prose { max-width: 70ch; }
.prose p, .prose ul, .prose ol { margin: .7em 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { color: var(--gold-ink); }
.band-expert .prose a { color: var(--gold); }
.prompt { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; }
.band-expert .prompt { border-top-color: rgba(232, 224, 208, .35); }
.prompt h3 { font-size: 1.25rem; }
.prompt pre { grid-column: 1 / -1; margin: 0; max-width: 100%; padding: 16px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 1rem; line-height: 1.5; color: var(--ink); background: #fff; border: 2px solid var(--ink); }
.band-expert pre { color: var(--bone); background: #101418; border-color: var(--gold); }
.band-expert .btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.band-expert .btn-primary:hover { background: var(--bone); border-color: var(--bone); box-shadow: none; }
.extra { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--rule); }
.extra h2 { font-size: clamp(1.6rem, 2vw, 2rem); }
.widget { margin-top: 28px; max-width: 100%; }
.widget:empty { display: none; }
.station-note { margin: 28px 0 0; max-width: 70ch; padding: 12px 14px; background: #fff; border-left: 4px solid var(--gold); color: var(--ink-2); font-size: 1rem; }
.station-note a { color: var(--ink); font-family: var(--head); font-weight: 650; }
.sources, .related { margin-top: 36px; }
.sources h2, .related h2 { font-family: var(--mono); font-size: 1rem; font-weight: 700; letter-spacing: .04em; border-top: 3px solid var(--ink); padding-top: 10px; }
.sources ul, .related ul { list-style: none; margin: 0; padding: 0; }
.sources li, .related li { border-top: 1px solid var(--rule); }
.sources a, .related a { display: block; padding: 12px 0 0; font-family: var(--head); font-weight: 650; font-size: 1.25rem; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.sources li { padding-bottom: 12px; }
.related a { padding: 14px 0; }
.sources a:hover, .related a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.source-note { display: block; margin-top: 4px; color: var(--ink-2); font-size: 1rem; }
.totop { margin: 28px 0 0; font-family: var(--mono); font-size: 1rem; }
.totop a { color: var(--gold-ink); text-decoration: none; }
.totop a:hover { text-decoration: underline; }
.foot { border-top: 3px solid var(--ink); background: var(--paper); }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding: 22px 0 28px; }
.built { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--head); font-weight: 650; font-size: 1.1rem; text-decoration: none; }
.built img { width: 36px; height: 36px; max-width: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.05rem; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 1180px) and (min-width: 900px) {
  .top-in { grid-template-columns: 1fr auto; grid-template-areas: "brand lang" "desk desk"; }
}
@media (max-width: 899px) {
  .top-in { grid-template-columns: 1fr auto; grid-template-areas: "brand lang" "mob mob"; }
  .nav-desk { display: none; }
  .nav-mob { display: block; grid-area: mob; }
  .hero-copy, .hero-figure, .hero-meter, .tiers { grid-column: 1 / -1; grid-row: auto; }
  .hero-figure { order: 2; }
  .hero-meter { order: 3; }
  .tiers { order: 4; grid-template-columns: 1fr; }
  .tiers li + li { border-left: 0; padding-left: 0; border-top: 1px solid rgba(201, 168, 76, .5); padding-top: 16px; margin-top: 8px; }
  .feed, .rails { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .interest { grid-template-columns: 1fr; }
  .interest .btn { width: 100%; }
  .feed-item { grid-template-columns: 1fr; }
  .prompt { grid-template-columns: 1fr; }
  .prompt .btn { width: 100%; }
  .band-beginner, .band-intermediate, .band-expert { padding-left: 14px; padding-right: 14px; }
}
@media (min-width: 1600px) {
  .prose, .lede, .feed-body p, .hero-sub, .tiers p { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
/* Approved compact front page treatment. */
.top{position:relative;background:#07090c;color:#e9ece8;border-bottom:1px solid #c9a84c}
.top .brand,.top .col-link,.top .lang{color:#e9ece8}
.top .mark-sq{background:#c9a84c}
.top .drop-panel{background:#0f1512;color:#e9ece8;border-color:#c9a84c}
.top .drop-panel a:hover{background:#263029}
.hero{padding:26px 0 18px;border-bottom:1px solid #28322b}
.hero-grid{display:grid;grid-template-columns:minmax(0,28%) minmax(0,1fr) minmax(250px,28%);gap:22px;align-items:center}
.hero-copy{grid-column:2;grid-row:1}
.hero-figure{grid-column:1;grid-row:1;margin:0}
.hero-figure img{height:auto;aspect-ratio:16/9;border:0;object-fit:cover;border-radius:3px}
.hero-meter{grid-column:3;grid-row:1}
.hero h1{font-size:clamp(1.35rem,2.45vw,2rem);line-height:1.15;max-width:none;color:#fff}
.hero-sub{font-size:.9rem;line-height:1.5;margin-top:10px}
.mast-rule{width:auto;height:auto;background:none;margin:0 0 8px}
.mast-rule::before{content:'THE COMMUNITY STATION';font:700 .65rem var(--mono);letter-spacing:.12em;color:#c9a84c}
.meter-text-solo{font-size:.85rem;line-height:1.35;max-width:none;color:#e9ece8}
.interest{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.interest-label{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.interest input[type=email]{min-width:0;flex:1 1 130px;min-height:42px;font-size:.85rem;padding:0 10px;border:1px solid #586158}
.interest .btn{min-height:42px;font-size:.75rem;padding:6px 10px;border:0;border-radius:3px}
.interest .privacy-link{font-size:.68rem;width:100%;color:#e9ece8}
.tiers{grid-column:1/-1;grid-row:2;display:flex;gap:18px;border:0;padding:0;margin:0;font-size:.73rem;line-height:1.3}
.tiers li,.tiers li+li{padding:0;border:0;display:flex;gap:5px;align-items:baseline}
.tiers h2,.tiers li:first-child h2{font-size:.73rem;margin:0}
.tiers p{display:none}
.tier-no{display:none}
.front-band{background:#f7f8f6}
.feed-item{background:#fff}
@media(max-width:950px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hero-figure{grid-column:1}.hero-copy{grid-column:2}.hero-meter{grid-column:1/-1;grid-row:2}.tiers{grid-row:3;flex-wrap:wrap}}
@media(max-width:580px){.hero-grid{display:block}.hero-figure{margin-bottom:16px}.hero-figure img{max-height:190px}.hero-meter{margin-top:16px}.tiers{margin-top:12px}.interest{max-width:none}.top{position:relative}}
.station-note a{display:block;margin-top:8px}

/* FAQ filter: hidden categories */
.faq-category-hidden{display:none}
/* Guide forms: show a field error only after a failed submit */
.guide-form-error{display:none;color:#e08a7e;font-size:.85rem;margin-top:4px}
.guide-form-error.is-visible{display:block}
.sources .source-note a{display:inline;padding:0;font:inherit;overflow-wrap:normal}
