/* Brant Collins theme. Light by default; dark follows the device or the header toggle. */

:root {
	--pink: #FF1493;
	--navy: #1a2847;

	--bg: #f6f7fa;
	--surface: #ffffff;
	--ink: #1a2847;
	--muted: #4a5571;
	--line: #dfe3ec;
	--field-line: #c9cfdc;
	--pink-text: #b0005f;
	--chip-on: #fff0f8;
	--cta-bg: #1a2847;
	--cta-ink: #ffffff;
	--cta-arrow: #FF1493;
	--cta-size: 17px;
	--sub-bg: #1a2847;
	--sub-ink: #ffffff;
	--thumb-bg: #1a2847;
	--link-hover: #c4006e;

	--display: Montserrat, "Helvetica Neue", Arial, sans-serif;
	--body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--col: 600px;

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0e1529;
		--surface: #1a2847;
		--ink: #ffffff;
		--muted: #b7c0d6;
		--line: #2e3d63;
		--field-line: #3a4a73;
		--pink-text: #ff6fba;
		--chip-on: #3a1830;
		--cta-bg: #FF1493;
		--cta-ink: #1a2847;
		--cta-arrow: #1a2847;
		--cta-size: 19px;
		--sub-bg: #ffffff;
		--sub-ink: #1a2847;
		--thumb-bg: #0e1529;
		--link-hover: #ff6fba;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--bg: #0e1529;
	--surface: #1a2847;
	--ink: #ffffff;
	--muted: #b7c0d6;
	--line: #2e3d63;
	--field-line: #3a4a73;
	--pink-text: #ff6fba;
	--chip-on: #3a1830;
	--cta-bg: #FF1493;
	--cta-ink: #1a2847;
	--cta-arrow: #1a2847;
	--cta-size: 19px;
	--sub-bg: #ffffff;
	--sub-ink: #1a2847;
	--thumb-bg: #0e1529;
	--link-hover: #ff6fba;
	color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	padding: 0 1.25rem 3rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }
h1 { font-weight: 800; font-size: clamp(32px, 6vw, 40px); }
h2 { font-weight: 800; font-size: 22px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.bc-skip:focus {
	clip: auto; width: auto; height: auto;
	position: fixed !important; top: 12px; left: 12px; z-index: 10;
	background: var(--surface); padding: 10px 16px; border-radius: 8px;
}
.bc-muted { color: var(--muted); font-size: 15px; line-height: 1.5; }
.bc-fine { color: var(--muted); font-size: 13px; text-align: center; }

/* Layout column */
.bc-header, .bc-main, .bc-footer { max-width: var(--col); margin-left: auto; margin-right: auto; }
.bc-main { display: flex; flex-direction: column; gap: 40px; }

/* Header */
.bc-header {
	display: flex; justify-content: space-between; align-items: center;
	height: 72px;
}
.bc-logo {
	font-family: var(--display); font-weight: 800; font-size: 18px;
	letter-spacing: 0.02em; text-decoration: none; color: var(--ink);
}
.bc-logo__dot { color: var(--pink); }
.bc-header__nav { display: flex; align-items: center; gap: 18px; }
@media (max-width: 400px) { .bc-header__nav { gap: 12px; } }
.bc-header__nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.bc-theme-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin-right: -10px;
	border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.bc-theme-toggle:hover { color: var(--link-hover); }
.bc-icon-sun { display: none; }
.bc-dark .bc-icon-sun { display: block; }
.bc-dark .bc-icon-moon { display: none; }

/* Hero */
.bc-hero {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: 16px; padding-top: 24px;
}
.bc-avatar {
	width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
	background: var(--navy); border: 4px solid var(--pink);
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-family: var(--display); font-weight: 800; font-size: 28px;
}
.bc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bc-hero__bio { font-size: 18px; line-height: 1.5; max-width: 30rem; }
.bc-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 14px; font-weight: 600; }
.bc-social a { padding: 10px 0; }

/* Link stack */
.bc-links { display: flex; flex-direction: column; gap: 12px; }
.bc-link {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 64px; padding: 12px 24px; border-radius: 14px;
	background: var(--surface); border: 1px solid var(--line);
	color: var(--ink); text-decoration: none;
	font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.3;
	transition: transform .15s ease, border-color .15s ease;
}
.bc-link:hover { color: var(--ink); border-color: var(--pink); transform: translateY(-1px); }
.bc-link__note { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--muted); }
.bc-link__arrow { font-size: 20px; flex-shrink: 0; }
.bc-link--primary {
	background: var(--cta-bg); border-color: var(--cta-bg);
	color: var(--cta-ink); font-weight: 800; font-size: var(--cta-size);
}
.bc-link--primary:hover { color: var(--cta-ink); border-color: var(--cta-bg); }
.bc-link--primary .bc-link__arrow { color: var(--cta-arrow); font-size: 22px; }

/* Episode card */
.bc-episode-card {
	display: flex; gap: 16px; align-items: center;
	padding: 12px; border-radius: 14px;
	background: var(--surface); border: 1px solid var(--line);
	color: var(--ink); text-decoration: none;
	transition: transform .15s ease, border-color .15s ease;
}
.bc-episode-card:hover { color: var(--ink); border-color: var(--pink); transform: translateY(-1px); }
.bc-episode-card__thumb {
	width: 136px; aspect-ratio: 16 / 9; flex-shrink: 0;
	border-radius: 8px; overflow: hidden; background: var(--thumb-bg);
}
.bc-episode-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bc-episode-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bc-episode-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-text); }
.bc-episode-card__title { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.3; }
.bc-episode-card__meta { font-size: 14px; color: var(--muted); }
@media (max-width: 420px) {
	.bc-episode-card__thumb { width: 104px; }
}

/* Support */
.bc-support {
	background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
	padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.bc-support > .bc-muted { margin-top: -12px; }
.bc-support__amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 10px; }
.bc-chip {
	min-height: 48px; border-radius: 10px;
	border: 1px solid var(--line); background: var(--bg); color: var(--ink);
	font-family: var(--body); font-weight: 600; font-size: 16px; cursor: pointer;
}
.bc-chip[aria-pressed="true"] { border: 2px solid var(--pink); background: var(--chip-on); }
.bc-btn {
	display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: 12px; cursor: pointer; text-decoration: none;
	font-family: var(--display);
}
.bc-btn--support {
	min-height: 52px; background: var(--pink); color: var(--navy);
	font-weight: 800; font-size: 19px;
}
.bc-btn--support:hover { color: var(--navy); filter: brightness(1.06); }

/* Newsletter */
.bc-newsletter { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.bc-newsletter .bc-muted { max-width: 26rem; }
.bc-newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.bc-newsletter__form input[type="email"] {
	flex: 1 1 14rem; min-height: 50px; padding: 0 16px;
	border-radius: 12px; border: 1px solid var(--field-line);
	background: var(--surface); color: var(--ink);
	font-family: var(--body); font-size: 16px;
}
.bc-newsletter__form input::placeholder { color: var(--muted); }
.bc-btn--subscribe {
	flex: 0 0 auto; min-height: 50px; padding: 0 24px;
	background: var(--sub-bg); color: var(--sub-ink);
	font-weight: 700; font-size: 16px;
}
@media (max-width: 420px) { .bc-btn--subscribe { flex: 1 1 100%; } }
.bc-setup-note {
	padding: 12px 16px; border-radius: 10px; width: 100%;
	border: 2px dashed var(--pink); color: var(--ink);
	font-size: 14px; line-height: 1.5; text-align: left;
}
.bc-hp { position: absolute; left: -9999px; }
.bc-notice { padding: 12px 16px; border-radius: 10px; font-size: 15px; width: 100%; }
.bc-notice--ok { background: var(--chip-on); border: 1px solid var(--pink); }
.bc-notice--error { background: var(--surface); border: 1px solid var(--pink-text); color: var(--ink); }

/* Pages, posts, episodes */
.bc-page-header { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }
.bc-article { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; }
.bc-article__header { display: flex; flex-direction: column; gap: 10px; }
.bc-article__meta { font-size: 14px; color: var(--muted); }
.bc-back { font-size: 14px; font-weight: 600; text-decoration: none; }
.bc-back::before { content: "← "; }
.bc-article__image img { border-radius: 14px; }
.bc-article__cta { margin-top: 8px; }
.bc-prose { font-size: 17px; line-height: 1.7; }
.bc-prose > * + * { margin-top: 1em; }
.bc-prose h2 { font-size: 22px; margin-top: 1.6em; }
.bc-prose h3 { font-size: 18px; margin-top: 1.4em; }
.bc-prose a { color: var(--pink-text); }
.bc-prose ul, .bc-prose ol { padding-left: 1.3em; }
.bc-prose blockquote { margin-left: 0; padding-left: 1em; border-left: 3px solid var(--pink); color: var(--muted); }
.bc-prose img, .bc-prose figure { border-radius: 10px; margin-left: 0; margin-right: 0; }

.bc-player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--thumb-bg); }
.bc-player img, .bc-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.bc-player__play {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 72px; height: 72px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--pink); color: var(--navy);
}
.bc-player__play:hover { color: var(--navy); filter: brightness(1.06); }

.bc-transcript { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.bc-transcript summary {
	cursor: pointer; padding: 16px 20px; min-height: 44px;
	font-family: var(--display); font-weight: 700;
}
.bc-transcript__body { padding: 0 20px 20px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.bc-transcript__body p + p { margin-top: 0.9em; }

.bc-episode-list { display: flex; flex-direction: column; gap: 12px; }
.bc-post-list { display: flex; flex-direction: column; }
.bc-post-row {
	display: flex; flex-direction: column; gap: 6px;
	padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.bc-post-row:first-child { border-top: 1px solid var(--line); }
.bc-post-row__title { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.bc-post-row:hover .bc-post-row__title { color: var(--link-hover); }
.bc-post-row__date { font-size: 13px; color: var(--muted); }
.bc-post-row__summary { font-size: 15px; line-height: 1.55; color: var(--muted); }
.bc-post-card--text { min-height: 64px; padding: 14px 24px; }
.bc-empty { color: var(--muted); }

.nav-links { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.nav-links .page-numbers { padding: 10px 4px; }

/* Footer */
.bc-footer { margin-top: 56px; text-align: center; font-size: 13px; color: var(--muted); }
.bc-footer__nav ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.bc-footer__nav a { display: inline-block; padding: 8px 0; font-size: 14px; font-weight: 600; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
