/* Base Camp theme — Ridge × Expedition design. */

/* ---------- Tokens ---------- */
:root {
	--bg: #EFE7D8;
	--surface: #F7F2E8;
	--box: #E7DDCB;
	--box-alt: #E7DDCB;
	--ink: #16130F;
	--muted: #5A5145;
	--line: #D8CCB6;
	--accent: #E8641B;
	--accent-ink: #B4480C;
	--chip: #E5DBC8;
	--bad: #9A2F1A;
	--good: #2E6B3C;
	--field: #F7F2E8;
	--bad-bg: #F5E1DA;
	--footer: #16130F;
	--footer-ink: #E9E0D0;
	--footer-muted: #A79C8C;
	--shadow: 0 18px 40px rgba(20, 16, 10, .14);
	--sans: Archivo, system-ui, sans-serif;
	--serif: 'Source Serif 4', Georgia, serif;
	--mono: 'JetBrains Mono', ui-monospace, monospace;
	--wrap: 1240px;
	color-scheme: light;
}
:root[data-theme="dark"] {
	--bg: #262624;
	--surface: #30302E;
	--box: #30302E;
	--box-alt: #353431;
	--ink: #F0EDE6;
	--muted: #A8A49B;
	--line: #3D3C38;
	--accent: #F27A2E;
	--accent-ink: #F59A5C;
	--chip: #353431;
	--bad: #F2A28C;
	--good: #8CC79A;
	--field: #262624;
	--bad-bg: #3F2C26;
	--footer: #1C1C1A;
	--shadow: 0 18px 40px rgba(0, 0, 0, .35);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #262624; --surface: #30302E; --box: #30302E; --box-alt: #353431; --ink: #F0EDE6; --muted: #A8A49B; --line: #3D3C38;
		--accent: #F27A2E; --accent-ink: #F59A5C; --chip: #353431; --bad: #F2A28C; --good: #8CC79A; --field: #262624; --bad-bg: #3F2C26;
		--footer: #1C1C1A; --shadow: 0 18px 40px rgba(0, 0, 0, .35); color-scheme: dark;
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bc-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .bc-wrap { padding: 0 16px; } }
.bc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bc-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 4px; font-family: var(--sans); }
.bc-skip:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.bc-kicker { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; }
.bc-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bc-hl { font-family: var(--sans); font-weight: 750; letter-spacing: -.005em; line-height: 1.12; margin: 0; }
.bc-hl a { text-decoration: none; }
.bc-dek { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0 0 16px; max-width: 680px; }
.bc-more { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); text-decoration: none; }
.bc-empty { color: var(--muted); padding: 32px 0; font-size: 17px; }
.bc-icon { display: block; flex-shrink: 0; }

/* ---------- Buttons, chips ---------- */
.bc-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; padding: 0; }
.bc-iconbtn:hover { background: var(--chip); color: var(--accent-ink); }
.bc-iconbtn--line { border: 1px solid var(--line); }
.bc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font-family: var(--sans); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.bc-btn:hover { background: var(--accent); color: #16130F; }
.bc-btn-outline { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--sans); font-weight: 650; font-size: 15px; text-decoration: none; }
.bc-btn-outline:hover { background: var(--ink); color: var(--bg); }
.bc-chip, .bc-chips a, .bc-topics__menu a { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 34px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-decoration: none; white-space: nowrap; color: var(--ink); }
.bc-chip:hover, .bc-chips a:hover, .bc-topics__menu a:hover { border-color: var(--accent); color: var(--accent-ink); }
.bc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bc-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-family: var(--sans); font-weight: 650; font-size: 14px; }
.bc-pill:hover { border-color: var(--accent); }
.bc-level { flex-shrink: 0; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; text-decoration: none; }
.bc-level i { font-style: normal; font-weight: 600; color: var(--accent-ink); }
.bc-level--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bc-level--solid:hover { color: var(--bg); background: var(--accent-ink); }

/* ---------- Header ---------- */
.bc-hdr { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.admin-bar .bc-hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .bc-hdr { top: 0; } }
.bc-hdr__bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.bc-hdr__brand { display: flex; align-items: center; flex-shrink: 0; color: var(--ink); }
.bc-hdr__brand:hover { color: var(--ink); }
.bc-logo { display: block; height: 36px; width: auto; }
.bc-nav { flex: 1; align-self: stretch; display: flex; }
.bc-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.bc-nav__menu > li { position: relative; display: flex; align-items: center; height: 100%; }
.bc-nav__menu > li > a { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 4px; font-family: var(--sans); font-stretch: 108%; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.bc-nav__menu > li > a:hover, .bc-nav__menu > li.current-menu-item > a, .bc-nav__menu > li.current-menu-ancestor > a, .bc-nav__menu > li.current-menu-parent > a { color: var(--accent-ink); background: var(--chip); }
.bc-nav__menu > li > a .bc-icon { transition: transform .2s ease; }
.bc-nav__menu > li:hover > a .bc-icon, .bc-nav__menu > li:focus-within > a .bc-icon, .bc-nav__menu > li.is-open > a .bc-icon { transform: rotate(180deg); }
.bc-nav .sub-menu { position: absolute; top: calc(100% - 6px); left: 0; z-index: 5; min-width: 250px; margin: 0; padding: 10px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.bc-nav__menu > li:hover > .sub-menu, .bc-nav__menu > li:focus-within > .sub-menu, .bc-nav__menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bc-nav .sub-menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 4px; font-family: var(--sans); font-size: 15px; text-decoration: none; }
.bc-nav .sub-menu a:hover, .bc-nav .sub-menu .current-menu-item > a { background: var(--chip); color: var(--accent-ink); }
.bc-menu-note { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.bc-nav .bc-mega > .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) 240px; grid-auto-flow: column; grid-template-rows: repeat(4, auto); column-gap: 8px; width: 660px; padding: 16px; }
.bc-nav .bc-mega > .sub-menu > li:not(.bc-drop-feature) { grid-column: auto; }
.bc-drop-feature { grid-column: 3; grid-row: 1 / span 4; }
.bc-nav .bc-drop-feature a { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 6px; height: 100%; }
.bc-nav .bc-drop-feature a:hover { background: transparent; }
.bc-drop-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; display: block; }
.bc-drop-feature__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bc-drop-feature__title { font-family: var(--sans); font-weight: 650; font-size: 15px; line-height: 1.25; color: var(--ink); }
.bc-drop-feature a:hover .bc-drop-feature__title { color: var(--accent-ink); }
.bc-hdr__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.bc-hdr__social { display: flex; gap: 4px; }
.bc-hdr__sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.bc-hdr__menu-btn { display: none; }
.bc-theme-toggle__to-light { display: none; }
[data-theme="dark"] .bc-theme-toggle__to-light { display: block; }
[data-theme="dark"] .bc-theme-toggle__to-dark { display: none; }
@media (max-width: 1020px) {
	.bc-nav, .bc-hide-sm { display: none; }
	.bc-hdr__menu-btn { display: inline-flex; }
}
@media (max-width: 640px) { .bc-hdr__bar { height: 64px; gap: 12px; } .bc-logo { height: 30px; } }
.bc-mpanel { border-top: 1px solid var(--line); padding: 8px 0 18px; }
.bc-mpanel[hidden] { display: none; }
.bc-mpanel__menu, .bc-mpanel__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.bc-mpanel__menu > li > a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-family: var(--sans); font-weight: 650; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
.bc-mpanel__menu > li > a .bc-icon { display: none; }
.bc-mpanel__menu .sub-menu { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.bc-mpanel__menu .sub-menu a { display: inline-flex; gap: 8px; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--sans); font-size: 14px; text-decoration: none; }
.bc-mpanel__social { display: flex; gap: 4px; margin-top: 10px; }
.bc-topics { margin: 0 -24px; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.bc-topics::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .bc-topics { margin: 0 -16px; padding: 0 16px; } }
.bc-topics__menu { list-style: none; margin: 0; padding: 10px 0 12px; display: flex; gap: 6px; }
.bc-topics__menu .current-menu-item > a, .bc-topics__menu .current-cat > a { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bc-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--accent); transition: width .1s linear; }

/* ---------- Search dialog ---------- */
.bc-search { position: fixed; inset: 0; z-index: 60; background: rgba(12, 10, 8, .55); display: flex; justify-content: center; align-items: flex-start; padding: 80px 16px; }
.bc-search[hidden] { display: none; }
.bc-search__box { width: 100%; max-width: 680px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.bc-search__row { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.bc-search__row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 24px; outline: none; }
.bc-search__row input::placeholder { color: var(--muted); }
.bc-search__label { margin: 18px 0 8px; }
.bc-search__topics { flex-wrap: wrap; padding: 0; }

/* ---------- Section heading ---------- */
.bc-sec { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.bc-sec__title { margin: 0; font-family: var(--sans); font-stretch: 120%; font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.bc-sec__sub { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.bc-sec__rule { flex: 1; height: 1px; background: var(--line); }
.bc-sec__more { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) { .bc-sec__sub { display: none; } .bc-sec__title { font-size: 19px; } }
.bc-ridge { flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
	.bc-ridge path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: bc-draw 1.4s ease forwards; }
}
@keyframes bc-draw { to { stroke-dashoffset: 0; } }

/* ---------- Home: hero ---------- */
.bc-hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; padding: 36px 0 40px; }
@media (max-width: 960px) { .bc-hero { grid-template-columns: minmax(0, 1fr); } }
.bc-lead__img { display: block; position: relative; overflow: hidden; border-radius: 4px; background: var(--chip); }
.bc-lead__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.bc-lead:hover .bc-lead__img img { transform: scale(1.02); }
.bc-stamp { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 3px; background: #EFE7D8; color: #16130F; font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.bc-stamp svg { color: #E8641B; }
.bc-lead__kicker { margin-top: 18px; }
.bc-lead__hl { font-stretch: 116%; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; margin: 14px 0 12px; }
.bc-byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bc-byline__avatar { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; border: 1px solid var(--line); }
.bc-byline__name { font-family: var(--sans); font-weight: 600; font-size: 14px; text-decoration: none; }
.bc-toplist { display: flex; flex-direction: column; }
.bc-toplist__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--ink); }
.bc-toplist__head b { font-family: var(--sans); font-stretch: 120%; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.bc-top { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bc-top img { display: block; width: 112px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.bc-top__hl { font-size: 18px; font-stretch: 104%; margin: 6px 0 8px; }
.bc-top__hl a:hover { color: var(--accent-ink); }

/* ---------- Home: Camp Log + side ---------- */
.bc-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 40px 0 56px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .bc-main { grid-template-columns: minmax(0, 1fr); } }
.bc-river { display: flex; flex-direction: column; align-items: flex-start; }
.bc-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px; gap: 20px; align-items: start; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bc-row:not(:has(.bc-row__img)) { grid-template-columns: 64px minmax(0, 1fr); }
.bc-row__time { padding-top: 3px; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--muted); }
.bc-row__time b { display: block; font-weight: 600; color: var(--ink); }
.bc-row__hl { font-size: 20px; font-stretch: 104%; margin: 6px 0; }
.bc-row__hl a:hover { color: var(--accent-ink); }
.bc-row__teaser { margin: 0 0 8px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.bc-row__img img { display: block; width: 150px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
@media (max-width: 640px) {
	.bc-row, .bc-row:not(:has(.bc-row__img)) { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.bc-row__time { display: flex; gap: 8px; padding: 0; }
	.bc-row__img { order: -1; }
	.bc-row__img img { width: 100%; }
}
.bc-side { display: flex; flex-direction: column; gap: 28px; }
.bc-box { background: var(--box); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.bc-box__title { margin: 8px 0 12px; font-family: var(--sans); font-stretch: 112%; font-weight: 750; font-size: 18px; line-height: 1.25; }
.bc-box__title a { text-decoration: none; }
.bc-box__text { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.bc-glink { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.bc-glink__t { font-family: var(--sans); font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.bc-glink:hover .bc-glink__t { color: var(--accent-ink); }
.bc-box--dark { background: #16130F; color: #F1E9DC; border-color: #16130F; }
.bc-box--dark .bc-kicker { color: #F59A5C; }
[data-theme="dark"] .bc-box--dark { background: var(--accent); color: #16130F; border-color: var(--accent); }
[data-theme="dark"] .bc-box--dark .bc-kicker { color: #16130F; }
.bc-join { display: flex; gap: 8px; }
.bc-join a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--sans); font-weight: 650; font-size: 14px; text-decoration: none; color: inherit; }
.bc-join a:hover { background: #F1E9DC; color: #16130F; }

/* ---------- Trail Guides ---------- */
.bc-guides { padding: 48px 0; border-top: 1px solid var(--line); }
.bc-alts { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 24px; }
.bc-alt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-family: var(--sans); font-weight: 650; font-size: 14.5px; cursor: pointer; }
.bc-alt span { font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: var(--muted); }
.bc-alt:hover { border-color: var(--accent); }
.bc-alt.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bc-alt.is-on span { color: var(--bg); opacity: .75; }
.bc-gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .bc-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bc-gcards { grid-template-columns: minmax(0, 1fr); } }
.bc-gcards__item[hidden] { display: none; }
.bc-gcards--archive { padding: 32px 0 24px; }
.bc-gcard { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.bc-gcard__img, .bc-card__img { display: block; overflow: hidden; border-radius: 4px; background: var(--chip); }
.bc-gcard__img img, .bc-card__img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.bc-gcard:hover img, .bc-card:hover img { transform: scale(1.03); }
.bc-card__ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; color: var(--muted); }
.bc-card__ph svg { width: 55%; height: auto; color: var(--line); }
.bc-gcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bc-gcard__hl { font-size: 21px; font-stretch: 108%; }
.bc-gcard:hover .bc-gcard__hl { color: var(--accent-ink); }
.bc-gcard__teaser { font-size: 16px; line-height: 1.45; color: var(--muted); }
.bc-gcard__profile { width: 100%; height: 28px; color: var(--line); }
.bc-gcard:hover .bc-gcard__profile { color: var(--accent); }

/* ---------- Crew ---------- */
.bc-crew-sec { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.bc-crew { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .bc-crew { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bc-crew { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bc-member { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--box); border: 1px solid var(--line); border-radius: 6px; transition: border-color .2s ease, transform .2s ease; }
.bc-member:hover { border-color: var(--accent); transform: translateY(-2px); }
.bc-member__row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.bc-member__name { min-width: 0; text-decoration: none; color: var(--ink); }
.bc-member__name::after { content: ""; position: absolute; inset: 0; } /* whole card opens the author page */
.bc-member__x { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: -6px 0; border-radius: 999px; color: var(--muted); text-decoration: none; }
.bc-member__x:hover, .bc-member__x:focus-visible { color: var(--ink); background: var(--chip); }
.bc-authorcard__name { display: flex; align-items: center; gap: 8px; }
.bc-member__img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; border: 2px solid var(--accent); }
.bc-member__name { font-family: var(--sans); font-stretch: 110%; font-weight: 750; font-size: 17px; }
.bc-member__beat { font-size: 14.5px; line-height: 1.35; color: var(--muted); }
@media (max-width: 560px) { .bc-member { padding: 14px; } .bc-member__name { font-size: 15.5px; font-stretch: 100%; } }

/* ---------- Cards (related, author) ---------- */
.bc-related { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.bc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .bc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bc-cards { grid-template-columns: minmax(0, 1fr); } }
.bc-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.bc-card__hl { font-size: 20px; font-stretch: 106%; }
.bc-card:hover .bc-card__hl { color: var(--accent-ink); }

/* ---------- Listing pages ---------- */
.bc-shead { position: relative; overflow: hidden; padding: 48px 0 0; }
.bc-shead__ridge { position: absolute; right: 0; top: 24px; width: 420px; height: auto; color: color-mix(in srgb, var(--muted) 70%, transparent); pointer-events: none; }
@media (max-width: 760px) { .bc-shead__ridge { width: 150px; top: 14px; } }
.bc-shead__title { position: relative; margin: 10px 0 16px; font-family: var(--sans); font-stretch: 125%; font-weight: 900; font-size: clamp(36px, 5.5vw, 68px); line-height: .92; letter-spacing: -.02em; overflow-wrap: anywhere; }
.bc-shead__dek { position: relative; max-width: 620px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.bc-shead__dek p { margin: 0; }
.bc-tabs { display: flex; gap: 4px; margin-top: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.bc-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; margin-bottom: -1px; border-bottom: 3px solid transparent; font-family: var(--sans); font-weight: 650; font-size: 15px; color: var(--muted); text-decoration: none; }
.bc-tab:hover { color: var(--ink); }
.bc-tab.is-on { color: var(--ink); border-bottom-color: var(--accent); }
.bc-tab__note { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); }
.bc-cgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 32px 0 64px; }
.bc-cgrid--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .bc-cgrid { grid-template-columns: minmax(0, 1fr); } }
.bc-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .bc-feat { grid-template-columns: minmax(0, 1fr); } }
.bc-feat .bc-card__hl, .bc-feat .bc-gcard__hl { font-size: 24px; font-stretch: 110%; }
.bc-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; font-family: var(--sans); font-weight: 650; }
.bc-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.bc-pagination .page-numbers:hover { border-color: var(--accent); }
.bc-pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bc-pagination .dots { border: 0; }

/* ---------- Article ---------- */
.bc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bc-crumbs a { text-decoration: none; }
.bc-ahead { max-width: 880px; padding: 28px 0; }
.bc-ahead__title { margin: 14px 0 18px; font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.02; letter-spacing: -.01em; }
.bc-ahead__dek { margin: 0 0 24px; font-size: 22px; line-height: 1.45; color: var(--muted); }
.bc-ahead__by { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.bc-ahead__avatar { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; border: 2px solid var(--accent); }
.bc-ahead__who { display: flex; flex-direction: column; gap: 3px; }
.bc-ahead__who > a { font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; }
.bc-share { display: flex; gap: 4px; margin-left: auto; }
.bc-copied { margin: 10px 0 0; color: var(--accent-ink); }
.bc-figure { margin: 0; }
.bc-figure img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 4px; }
.bc-figure figcaption { padding-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bc-agrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr); gap: 40px; padding: 40px 0 24px; }
@media (max-width: 1100px) { .bc-agrid { grid-template-columns: minmax(0, 1fr); } .bc-agrid__rail { display: none; } }
.bc-rail { position: sticky; top: 120px; margin-left: auto; width: 100%; max-width: 220px; padding-top: 12px; border-top: 2px solid var(--ink); }
.bc-rail__head { margin-bottom: 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.bc-rail a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 600; font-size: 14.5px; line-height: 1.3; text-decoration: none; }

/* ---------- Article body (block content) ---------- */
.bc-body { font-size: 20px; line-height: 1.68; min-width: 0; }
.bc-body > * { margin-top: 0; margin-bottom: 22px; }
.bc-body h2 { margin: 40px 0 14px; font-family: var(--sans); font-stretch: 112%; font-weight: 750; font-size: 28px; line-height: 1.15; }
.bc-body h3 { margin: 32px 0 10px; font-family: var(--sans); font-weight: 700; font-size: 22px; line-height: 1.2; }
.bc-body h4 { margin: 28px 0 8px; font-family: var(--sans); font-weight: 700; font-size: 18px; }
.bc-body :where(p, li, td, figcaption, h2, h3, h4) a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bc-body ul, .bc-body ol { padding-left: 24px; }
.bc-body li { margin-bottom: 8px; }
.bc-body li::marker { color: var(--accent); }
.bc-body strong { font-weight: 650; }
.bc-body :where(figure, p) img { border-radius: 4px; }
.bc-body figure { margin-left: 0; margin-right: 0; }
/* Trail Guide diagrams: drawn at 2x on their own light card (scripts/guide-art). */
.bc-body .bc-diagram { margin: 28px 0; }
.bc-body .bc-diagram img { display: block; width: 100%; height: auto; border-radius: 13px; }
[data-theme="dark"] .bc-body .bc-diagram img { filter: brightness(.9); }
/* Phones: diagram fits the screen; the image links to the full-size file, so a small note says so */
@media (max-width: 640px) { .bc-body .bc-diagram a { display: block; text-decoration: none; } .bc-body .bc-diagram a::after { content: "Tap to enlarge"; display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; } }
.bc-body figcaption, .bc-body .wp-element-caption { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bc-body hr { border: 0; height: 1px; background: var(--line); margin: 36px 0; }
.bc-body code { font-family: var(--mono); font-size: .85em; padding: 2px 5px; border-radius: 3px; background: var(--chip); }
.bc-body pre { font-family: var(--mono); font-size: 14px; line-height: 1.5; padding: 16px; border-radius: 6px; background: var(--chip); overflow-x: auto; }
.bc-body pre code { padding: 0; background: none; }
.bc-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.bc-body th, .bc-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.bc-body th { font-family: var(--sans); font-weight: 700; }
.bc-body .wp-block-table { overflow-x: auto; margin: 28px 0; }
/* Override the core table block's black grid with the site's quiet rules. */
.bc-body .wp-block-table :where(th, td) { border: 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; line-height: 1.5; }
.bc-body .wp-block-table thead { border-bottom: 2px solid var(--ink); }
.bc-body .wp-block-table th { font-size: 13px; letter-spacing: .02em; }
@media (max-width: 640px) { .bc-body .wp-block-table table { min-width: 560px; } }
.bc-body blockquote, .bc-body .wp-block-quote, .bc-body .wp-block-pullquote { margin: 36px 0; padding: 0; border: 0; font-family: var(--sans); font-stretch: 110%; font-weight: 700; font-size: 28px; line-height: 1.22; text-align: left; }
.bc-body blockquote::before, .bc-body .wp-block-pullquote::before { content: ""; display: block; width: 56px; height: 4px; margin-bottom: 16px; background: var(--accent); }
.bc-body blockquote p { margin: 0; }
.bc-body blockquote cite, .bc-body .wp-block-pullquote cite { display: block; margin-top: 12px; font-family: var(--mono); font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); }
.bc-body .wp-block-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.bc-body .wp-block-button__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-family: var(--sans); font-weight: 700; font-size: 15px; text-decoration: none; }
.bc-body .wp-block-button__link:hover { background: var(--accent); color: #16130F; }
.bc-body .wp-block-embed { margin: 28px 0; }
.bc-body .alignwide { margin-left: -60px; margin-right: -60px; }
@media (max-width: 860px) { .bc-body .alignwide { margin-left: 0; margin-right: 0; } }

/* Writer boxes (block styles) */
.bc-box-label { margin: 0 0 6px !important; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.is-style-bc-tldr { padding: 20px 24px; background: var(--box); border: 1px solid var(--line); border-radius: 6px; }
.is-style-bc-tldr ul { margin: 8px 0 0; font-size: 18px; line-height: 1.5; }
.is-style-bc-tldr > :last-child, .is-style-bc-tip > :last-child, .is-style-bc-warning > :last-child, .is-style-bc-sponsor > :last-child, .is-style-bc-note > :last-child { margin-bottom: 0; }
.is-style-bc-tip, .is-style-bc-warning { padding: 16px 18px 16px 52px; border-radius: 6px; font-size: 17px; line-height: 1.5; background: var(--box-alt) no-repeat 18px 18px / 20px 20px; }
.is-style-bc-tip { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8641B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 00-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0012 3z'/%3E%3C/svg%3E"); }
.is-style-bc-warning { background-color: var(--bad-bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l10 18H2L12 3z'/%3E%3Cpath d='M12 10v4M12 17.5v.5'/%3E%3C/svg%3E"); }
.is-style-bc-tip p, .is-style-bc-warning p { margin: 0 0 8px; }
.is-style-bc-tip strong, .is-style-bc-warning strong { font-family: var(--sans); }
.is-style-bc-sponsor { padding: 20px 22px; border: 1px dashed var(--line); border-radius: 6px; }
.is-style-bc-sponsor h3 { margin: 4px 0 6px; font-size: 19px; }
.is-style-bc-sponsor p { font-size: 15px; line-height: 1.45; color: var(--muted); }
.is-style-bc-note { position: relative; padding: 16px 18px 16px 24px; background: var(--box); border: 1px solid var(--line); border-radius: 4px; transform: rotate(-.5deg); }
.is-style-bc-note::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 6px; border-radius: 4px 0 0 4px; background: repeating-linear-gradient(180deg, var(--accent) 0 10px, transparent 10px 16px); }
.is-style-bc-note p:not(.bc-box-label) { font-style: italic; font-size: 17px; line-height: 1.5; }
.is-style-bc-checklist { list-style: none; padding-left: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.is-style-bc-checklist li { position: relative; margin: 0; padding: 11px 14px 11px 46px; border: 1px solid var(--line); border-radius: 6px; background: var(--box); font-size: 17px; line-height: 1.4; cursor: pointer; user-select: none; }
.is-style-bc-checklist li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--ink); border-radius: 4px; }
.is-style-bc-checklist li:hover { border-color: var(--accent); }
.is-style-bc-checklist li.is-done::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316130F' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent); }
.is-style-bc-checklist li.is-done { color: var(--muted); }

/* Disclaimer, tags, author card */
.bc-nfa { display: flex; gap: 14px; margin: 36px 0 24px; padding: 18px 20px; border-radius: 6px; background: var(--box-alt); font-size: 15.5px; line-height: 1.5; }
.bc-nfa svg { margin-top: 2px; color: var(--accent-ink); }
.bc-nfa p { margin: 0; }
.bc-nfa strong { font-family: var(--sans); }
.bc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.bc-authorcard { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 24px; background: var(--box); border: 1px solid var(--line); border-radius: 6px; }
.bc-authorcard__img { width: 96px; height: 96px; border-radius: 999px; object-fit: cover; border: 2px solid var(--accent); }
.bc-authorcard__name { margin: 4px 0 6px; font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: 22px; }
.bc-authorcard p { margin: 0 0 10px; font-size: 16px; line-height: 1.5; color: var(--muted); }
@media (max-width: 480px) { .bc-authorcard { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; } .bc-authorcard__img { width: 64px; height: 64px; } }

/* ---------- Trail Guide page ---------- */
.bc-ghero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .bc-ghero { grid-template-columns: minmax(0, 1fr); } .bc-ghero__img { order: -1; } }
.bc-ghero__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.bc-series { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bc-series__bar { display: flex; gap: 4px; }
.bc-series__bar span { width: 22px; height: 4px; border-radius: 2px; background: var(--line); }
.bc-series__bar span.is-on { background: var(--accent); }
.bc-ahead__title.bc-ahead__title--long, .bc-ghero__title.bc-ghero__title--long { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
.bc-ghero__title { margin: 16px 0; font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.02; letter-spacing: -.01em; }
.bc-ghero__dek { margin: 0 0 24px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.bc-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bc-fact { display: flex; flex-direction: column; gap: 4px; }
.bc-fact b { font-family: var(--sans); font-size: 15px; }
.bc-presenter { display: flex; align-items: center; gap: 12px; }
.bc-presenter__img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; border: 2px solid var(--accent); }
.bc-presenter a { font-family: var(--sans); font-weight: 700; text-decoration: none; }
.bc-ggrid { display: grid; grid-template-columns: 260px minmax(0, 700px); justify-content: center; gap: 64px; padding: 40px 0 64px; }
.bc-ggrid--notoc { grid-template-columns: minmax(0, 700px); }
@media (max-width: 960px) { .bc-ggrid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.bc-toc { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 960px) { .bc-toc { position: static; padding: 12px; background: var(--box); border: 1px solid var(--line); border-radius: 6px; } }
.bc-toc__head { padding-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bc-toc a { display: flex; align-items: baseline; gap: 10px; min-height: 24px; padding: 9px 12px; border-left: 2px solid var(--line); font-family: var(--sans); font-size: 15px; color: var(--muted); text-decoration: none; }
.bc-toc a:hover { color: var(--ink); }
.bc-toc a.is-on { border-left-color: var(--accent); background: var(--chip); color: var(--ink); font-weight: 650; }
.bc-toc__n { font-family: var(--mono); font-size: 11px; }
.bc-body--steps { counter-reset: bc-step; }
.bc-body--steps > h2 { position: relative; counter-increment: bc-step; padding-left: 60px; margin-top: 44px; min-height: 44px; display: flex; align-items: center; }
.bc-body--steps > h2::before { content: counter(bc-step, decimal-leading-zero); position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 2px solid var(--ink); border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 15px; font-stretch: normal; }
.bc-body--steps > h2:first-child { margin-top: 0; }
.bc-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
@media (max-width: 640px) { .bc-pager { grid-template-columns: minmax(0, 1fr); } }
.bc-pager a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--box); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.bc-pager a:hover { border-color: var(--accent); }
.bc-pager b { font-family: var(--sans); font-size: 18px; line-height: 1.25; }
.bc-pager__next { text-align: right; }

/* ---------- Author page ---------- */
.bc-switch { display: flex; gap: 8px; padding-top: 24px; overflow-x: auto; }
.bc-switch__who { flex-shrink: 0; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 16px 4px 4px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--sans); font-weight: 650; font-size: 14px; text-decoration: none; }
.bc-switch__who img { width: 38px; height: 38px; border-radius: 999px; object-fit: cover; }
.bc-switch__who:hover { border-color: var(--accent); }
.bc-switch__who.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bc-prof { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: end; padding: 40px 0; }
@media (max-width: 860px) { .bc-prof { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.bc-prof__portrait { position: relative; width: 280px; max-width: 70vw; }
.bc-prof__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 999px; border: 4px solid var(--accent); }
.bc-prof__sun { position: absolute; right: 6px; top: 6px; width: 56px; height: 56px; border-radius: 999px; background: #E8641B; border: 4px solid var(--bg); }
.bc-prof__name { margin: 8px 0 14px; font-family: var(--sans); font-stretch: 125%; font-weight: 900; font-size: clamp(48px, 7vw, 96px); line-height: .92; letter-spacing: -.02em; overflow-wrap: anywhere; }
.bc-prof__beat { margin: 0 0 12px; font-family: var(--sans); font-weight: 650; font-size: 19px; }
.bc-prof__bio { margin: 0 0 20px; max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.bc-prof__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Pages, 404 ---------- */
.bc-page { max-width: 780px; padding-top: 48px; padding-bottom: 72px; }
.bc-page--wide { max-width: var(--wrap); }
.bc-page--wide .bc-page__body { max-width: 700px; }
.bc-page__after { margin-top: 56px; padding-top: 8px; }
.bc-page__title { margin: 8px 0 28px; font-family: var(--sans); font-stretch: 120%; font-weight: 900; font-size: clamp(40px, 6vw, 72px); line-height: .95; letter-spacing: -.02em; }
/* All pages (The Crew, Field Kit, Contact, legal): one look. Short grey intro under the title, 16px text,
   Field Kit-style section headings. Article and guide pages are not affected. */
.bc-page .bc-page__title { margin-bottom: 14px; }
.bc-page .bc-page__body > p:first-child { max-width: 620px; margin-bottom: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.bc-page .bc-body { font-size: 16px; line-height: 1.6; }
.bc-page .bc-body > * { margin-bottom: 16px; }
.bc-page .bc-body h2 { margin: 48px 0 18px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-stretch: 120%; font-weight: 900; font-size: 34px; }
.bc-page .bc-body h3 { margin: 28px 0 8px; font-size: 19px; }
.bc-page .is-style-bc-checklist li { font-size: 15px; }
.bc-page .bc-az { margin-bottom: 8px; font-family: var(--sans); font-size: 17px; line-height: 1.7; }
.bc-page .bc-az a { text-decoration: none; }
.bc-page__after > h2:first-child { margin-top: 0; }

/* Articles and Trail Guides in the same page look (owner, 2026-10-20, on trial: delete this block to go back).
   Short grey dek under the title, 16px text, Field Kit-style H2, boxes scaled to match. */
:is(.bc-ahead__dek, .bc-ghero__dek) { font-size: 14px; line-height: 1.5; }
:is(.bc-article, .bc-guide) .bc-body { font-size: 16px; line-height: 1.6; }
:is(.bc-article, .bc-guide) .bc-body > * { margin-bottom: 16px; }
:is(.bc-article, .bc-guide) .bc-body h2 { margin: 48px 0 18px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-stretch: 120%; font-weight: 900; font-size: 34px; }
:is(.bc-article, .bc-guide) .bc-body h3 { margin: 28px 0 8px; font-size: 19px; }
:is(.bc-article, .bc-guide) .bc-body h4 { font-size: 16px; }
:is(.bc-article, .bc-guide) :is(.is-style-bc-tldr ul, .is-style-bc-tip, .is-style-bc-warning, .is-style-bc-checklist li, .is-style-bc-note p:not(.bc-box-label)) { font-size: 15px; }
:is(.bc-article, .bc-guide) .is-style-bc-sponsor h3 { font-size: 17px; }

/* Glossary: compact reference list (term + short definition) */
.bc-page--glossary .bc-body h2 { margin: 44px 0 4px; padding-bottom: 0; border-bottom: 0; font-stretch: 120%; font-weight: 900; font-size: 40px; color: var(--accent-ink); }
.bc-page--glossary .bc-body h3 { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 18px; }
.bc-page--glossary .bc-body h2 + h3 { border-top: 0; }
.bc-page--glossary .bc-body h3 + p { margin: 4px 0 16px; font-size: 14px; line-height: 1.55; }
/* Videos: cards per group, two columns on wide screens */
.bc-page--videos .bc-body h3, .bc-page--tools .bc-body h3 { margin: 26px 0 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bc-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .bc-videos { grid-template-columns: minmax(0, 1fr); } }
.bc-body .bc-video { margin: 0; padding: 14px 16px; background: var(--box); border: 1px solid var(--line); border-radius: 6px; font-size: 14px; line-height: 1.5; }
.bc-body .bc-video a { color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: 17px; line-height: 1.25; }
.bc-body .bc-video a:hover { color: var(--accent-ink); }
.bc-video em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
/* Field Kit tools (basecamp/tool block): form on top, answers below */
.bc-tool { margin: 0 0 28px; padding: 22px 24px 18px; background: var(--box); border: 1px solid var(--line); border-radius: 8px; font-size: 15px; line-height: 1.5; scroll-margin-top: 96px; }
.bc-body .bc-tool > * { margin-top: 0; }
.bc-tool__kicker { margin: 0 0 4px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.bc-tool__title { margin: 0 0 4px; font-family: var(--sans); font-weight: 750; font-size: 22px; line-height: 1.2; }
.bc-tool__intro { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.bc-tool__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0 0 18px; }
@media (max-width: 560px) { .bc-tool__form { grid-template-columns: minmax(0, 1fr); } .bc-tool { padding: 18px 16px 14px; } }
.bc-tool__field { min-width: 0; }
.bc-tool__field label { display: block; margin-bottom: 5px; font-family: var(--sans); font-size: 13px; font-weight: 650; }
.bc-tool__input { display: flex; align-items: center; min-height: 46px; background: var(--field); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.bc-tool__input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.bc-tool__input input, .bc-tool__input select { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 16px; outline: none; }
.bc-tool__input select { font-family: var(--sans); cursor: pointer; }
.bc-tool__unit { padding: 0 0 0 12px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.bc-tool__unit:last-child { padding: 0 12px 0 0; }
.bc-tool__unit + input, .bc-tool__unit + select { padding-left: 6px; }
.bc-tool__help { margin: 4px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.bc-tool__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
@media (max-width: 560px) { .bc-tool__out { grid-template-columns: minmax(0, 1fr); } }
.bc-tool__out > div { min-width: 0; padding: 10px 14px; background: var(--field); }
.bc-tool__out > .is-main ~ div:last-child:nth-child(even) { grid-column: 1 / -1; }
.bc-tool__out dt { font-family: var(--sans); font-size: 12px; font-weight: 650; color: var(--muted); }
.bc-tool__out dd { margin: 2px 0 0; font-family: var(--mono); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.bc-tool__out .is-main { grid-column: 1 / -1; padding: 14px; }
.bc-tool__out .is-main dd { font-family: var(--sans); font-stretch: 112%; font-size: 30px; font-weight: 800; line-height: 1.1; }
.bc-tool__out .is-up dd { color: var(--good); }
.bc-tool__out .is-down dd { color: var(--bad); }
.bc-tool__out .is-msg { grid-column: 1 / -1; }
.bc-tool__out .is-msg dd { font-family: var(--serif); font-size: 15px; color: var(--muted); }
.bc-tool__chart { margin: 14px 0 0; }
.bc-tool__chart svg { display: block; width: 100%; height: 160px; background: var(--field); border: 1px solid var(--line); border-radius: 6px; }
.bc-tool__chart polyline { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bc-tool__line-value { stroke: var(--accent); }
.bc-tool__line-in { stroke: var(--muted); stroke-dasharray: 5 4; }
.bc-tool__chart figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bc-tool__key-value::before, .bc-tool__key-in::before { content: ""; display: inline-block; width: 14px; height: 3px; margin: 0 6px 3px 0; vertical-align: middle; background: var(--accent); }
.bc-tool__key-in::before { background: var(--muted); }
.bc-tool__note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.bc-tool--editor { font-family: var(--serif); }

.bc-404 { padding-top: 72px; padding-bottom: 96px; max-width: 760px; }
.bc-404__title { margin: 10px 0 16px; font-family: var(--sans); font-stretch: 120%; font-weight: 900; font-size: clamp(40px, 6vw, 72px); line-height: .95; }
.bc-404__text { font-size: 19px; color: var(--muted); }
.bc-404__search { display: flex; gap: 8px; margin: 24px 0; }
.bc-404__search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 16px; }

/* ---------- Footer ---------- */
.bc-ftr { background: var(--footer); color: var(--footer-ink); padding: 56px 0 32px; }
.bc-ftr a { color: var(--footer-ink); }
.bc-ftr a:hover { color: #F59A5C; }
.bc-ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .bc-ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bc-ftr__about { grid-column: 1 / -1; } }
.bc-ftr__logo { height: 40px; color: #F0EDE6; }
.bc-ftr__about p { margin: 14px 0 0; max-width: 360px; font-size: 15px; line-height: 1.5; color: #BDB2A2; }
.bc-ftr__social { display: flex; gap: 4px; margin-top: 14px; }
.bc-ftr__social .bc-iconbtn { color: var(--footer-ink); }
.bc-ftr__social .bc-iconbtn:hover { background: rgba(255, 255, 255, .08); }
.bc-ftr__head { margin: 0 0 12px; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--footer-muted); }
.bc-ftr__menu { list-style: none; margin: 0; padding: 0; }
.bc-ftr__menu a { display: block; padding: 5px 0; font-family: var(--sans); font-size: 15px; text-decoration: none; }
.bc-ftr__legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid #2E2A26; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: #9C9182; }
.bc-ftr__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bc-ftr__legal a:hover { color: #F0EDE6; }
