/*
Theme Name: GRINDcast
Theme URI: https://simonarias.net
Author: SalesOptima Digital
Description: Podcast-first theme for The GRINDcast (simonarias.net). Dark, single red accent, Bebas Neue + Work Sans. Built from the Sep 2026 redesign handoff.
Version: 1.6.2
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: grindcast
*/

/* ------------------------------------------------------------------ tokens */
:root {
	--bg: #0b0b0c;
	--surface: #141416;
	--surface-2: #1c1c1f;
	--hover: #111113;
	--border: #1f1f22;
	--border-2: #2a2a2e;
	--text: #f4f2ee;
	--body: #d2d0cb;
	--secondary: #b8b6b1;
	--muted: #8a8a86;
	--ghost: #3a3a3e;
	--red: #e0201f;
	--red-press: #b5150f;
	--red-hover: #ff4b4b;
	--display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
	--sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: 56px;
	--bar-h: 72px;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.gc-has-bar { padding-bottom: var(--bar-h); }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: var(--red-hover); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--red-hover); outline-offset: 2px; }
.gc-skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }
.gc-skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ type */
.gc-h1, .gc-h2, .gc-h3, .gc-display { font-family: var(--display); letter-spacing: .01em; text-transform: uppercase; }
.gc-h1 { font-size: 112px; line-height: .9; }
.gc-h1--episode { font-size: 104px; line-height: .92; max-width: 1000px; margin: 20px 0 40px; }
.gc-h1--page { font-size: 96px; line-height: .92; margin-bottom: 32px; }
.gc-h2 { font-size: 44px; line-height: 1; }
.gc-h2--sm { font-size: 36px; margin-bottom: 20px; }
.gc-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
	color: var(--red); margin: 0 0 20px;
}
.gc-eyebrow--muted { color: var(--muted); letter-spacing: .1em; }
.gc-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; display: inline-block; }
.gc-meta { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; margin: 0; }
.gc-lead { font-size: 20px; line-height: 1.55; color: var(--secondary); max-width: 560px; }
.gc-body { font-size: 17px; line-height: 1.65; color: var(--body); }
.gc-link { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
.gc-link--red { color: var(--red); text-decoration: none; }
.gc-link--meta { color: var(--muted); font-size: 12px; text-decoration: none; }
.gc-link--meta:hover { color: var(--text); }

/* ------------------------------------------------------------------ buttons + chips */
.gc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	background: var(--red); color: #fff;
	font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
	padding: 14px 22px; border: 1px solid var(--red); white-space: nowrap;
}
.gc-btn:hover { background: var(--red-press); border-color: var(--red-press); color: #fff; }
.gc-btn--sm { padding: 12px 18px; }
.gc-btn--block { width: 100%; }
.gc-btn--outline { background: transparent; border-color: var(--border-2); color: var(--text); }
.gc-btn--outline:hover { background: var(--surface); border-color: var(--border-2); color: var(--text); }
.gc-btn--play { padding: 0 28px 0 0; height: 64px; font-size: 15px; font-weight: 600; }
.gc-btn__icon { width: 64px; height: 64px; background: var(--red-press); display: inline-flex; align-items: center; justify-content: center; }
.gc-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.gc-chips--grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.gc-chip {
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--border-2); padding: 8px 12px;
	font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.gc-chip:hover { border-color: var(--text); color: var(--text); }
.gc-chip--btn { min-width: 44px; }

/* play buttons */
.gc-play { display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; flex: 0 0 auto; }
.gc-play:hover { background: var(--red-press); }
.gc-play--circle { border-radius: 50%; }
.gc-play--36 { width: 36px; height: 36px; }
.gc-play--44 { width: 44px; height: 44px; }
.gc-play--48 { width: 48px; height: 48px; }
.gc-play--56 { width: 56px; height: 56px; }
.gc-play--88 { width: 88px; height: 88px; }
.gc-play svg { margin-left: 2px; }
.gc-play.is-playing svg { display: none; }
.gc-play.is-playing::before { content: ""; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }

/* ------------------------------------------------------------------ header */
.gc-header {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding: 22px var(--gutter); border-bottom: 1px solid var(--border);
}
.gc-logo { font-family: var(--display); font-size: 30px; letter-spacing: .04em; line-height: 1; color: var(--text); }
.gc-logo span { color: var(--red); }
.gc-logo:hover { color: var(--text); }
.gc-nav__list { display: flex; gap: 36px; }
.gc-nav__list a { font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.gc-nav__list .current-menu-item > a { color: var(--red); }
.gc-header__right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.gc-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.gc-burger span { width: 18px; height: 2px; background: var(--text); display: block; }

/* mobile menu overlay */
.gc-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; padding: 16px 20px; overflow-y: auto; }
.gc-menu__head { display: flex; justify-content: space-between; align-items: center; }
.gc-menu__head .gc-logo { font-size: 26px; }
.gc-menu__close { width: 44px; height: 44px; border: 1px solid var(--border-2); font-size: 28px; line-height: 1; }
.gc-menu__nav { flex: 1; margin-top: 24px; }
.gc-menu__list li { border-bottom: 1px solid var(--border); }
.gc-menu__list a { display: block; font-family: var(--display); font-size: 56px; line-height: 1; text-transform: uppercase; padding: 16px 0; }
.gc-menu__list .current-menu-item > a { color: var(--red); }
.gc-menu__foot { display: grid; gap: 16px; padding-top: 24px; }
.gc-menu__foot .gc-btn { padding: 18px; }
body.gc-menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ footer */
.gc-footer {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
	border-top: 1px solid var(--border); padding: 28px var(--gutter);
	font-size: 12px; color: var(--muted);
}
.gc-footer__left { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.gc-footer__menu { display: flex; gap: 20px; }
.gc-footer a:hover { color: var(--text); }
.gc-social { display: flex; gap: 24px; font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ hero (home) */
.gc-hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 640px; border-bottom: 1px solid var(--border); }
.gc-hero__body { padding: 64px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.gc-hero__title { font-family: var(--display); font-size: 128px; line-height: .92; text-transform: uppercase; text-wrap: balance; margin: 0 0 32px; }
.gc-hero__excerpt { font-size: 18px; line-height: 1.55; color: var(--secondary); max-width: 520px; margin-bottom: 36px; }
.gc-hero__cta { display: flex; align-items: center; gap: 28px; margin-bottom: 32px; }
.gc-hero__listen { display: flex; align-items: center; gap: 20px; }
.gc-hero__listen .gc-eyebrow { margin: 0; }
.gc-hero__media { background: var(--surface) center/cover no-repeat; border-left: 1px solid var(--border); min-height: 420px; }

/* ------------------------------------------------------------------ sections */
.gc-section { padding: 64px var(--gutter); }
.gc-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 24px; }
.gc-grid--cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* cards + tiles */
.gc-card { position: relative; background: var(--surface); padding: 18px; }
.gc-card:hover { background: var(--surface-2); }
.gc-card__link { position: absolute; inset: 0; z-index: 1; }
.gc-card__title { font-size: 15px; font-weight: 600; line-height: 1.3; margin: 16px 0 8px; }
.gc-card .gc-play { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.gc-tile { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.gc-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc-tile__ep { position: absolute; top: 14px; left: 14px; font-family: var(--display); font-size: 14px; letter-spacing: .04em; color: var(--red); z-index: 1; }
.gc-tile__ghost { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; letter-spacing: .06em; color: var(--ghost); }
.gc-tile--sm { width: 88px; height: 88px; }
.gc-tile--sm .gc-tile__ghost { font-size: 14px; }
.gc-tile--xs { width: 56px; height: 56px; flex: 0 0 56px; display: block; }

/* topic strip */
.gc-topics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gc-topics__item { padding: 44px 32px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.gc-topics__item:last-child { border-right: 0; }
.gc-topics__item:hover { background: var(--surface); color: var(--text); }
.gc-topics__name { font-family: var(--display); font-size: 40px; line-height: 1; text-transform: uppercase; }
.gc-topics__sub { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------------ library */
.gc-library { padding: 56px var(--gutter) 72px; }
.gc-library__head { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: end; margin-bottom: 36px; }
.gc-h1--split { font-size: 112px; line-height: .9; }
.gc-library__tools { display: grid; gap: 12px; }
.gc-search { position: relative; display: flex; align-items: center; border: 1px solid var(--border-2); height: 56px; padding: 0 16px; gap: 12px; color: var(--muted); }
.gc-search:focus-within { border-color: var(--text); }
.gc-search input { flex: 1; background: none; border: 0; color: var(--text); font-size: 15px; outline: none; min-width: 0; }
.gc-search input::placeholder { color: var(--muted); }
.gc-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.gc-tabs::-webkit-scrollbar { display: none; }
.gc-tab { padding: 12px 0 14px; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.gc-tab span { color: var(--ghost); margin-left: 4px; }
.gc-tab.is-active { color: var(--text); border-bottom-color: var(--red); }
.gc-tab:hover { color: var(--text); }
.gc-rows { min-height: 200px; }
.gc-rows.is-loading { opacity: .5; }
.gc-row { position: relative; display: grid; grid-template-columns: 96px 88px 1fr 220px 48px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.gc-row:hover { background: var(--hover); box-shadow: 0 0 0 12px var(--hover); }
.gc-row__link { position: absolute; inset: 0; z-index: 1; }
.gc-row__ep { font-family: var(--display); font-size: 26px; letter-spacing: .02em; color: var(--red); line-height: 1; }
.gc-row__body { min-width: 0; }
.gc-row__title { font-size: 19px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.gc-row__excerpt { font-size: 14px; color: var(--muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-row__meta { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gc-row__meta-m { display: none; }
.gc-row .gc-play { position: relative; z-index: 2; }
.gc-empty { padding: 48px 0; color: var(--muted); }
.gc-pagination { display: flex; justify-content: center; margin-top: 40px; }
.gc-pagination ul { display: flex; gap: 8px; }
.gc-pagination a, .gc-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--border-2); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.gc-pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.gc-pagination a:hover { border-color: var(--text); color: var(--text); }
.gc-more { display: none; margin-top: 24px; padding: 18px; }

/* ------------------------------------------------------------------ single episode */
.gc-episode { padding: 40px var(--gutter) 72px; }
.gc-back { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.gc-back:hover { color: var(--text); }
.gc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.gc-crumbs__red { color: var(--red); }
.gc-crumbs__sep { color: var(--ghost); }
.gc-crumbs__muted { color: var(--muted); white-space: nowrap; }
.gc-video { position: relative; aspect-ratio: 16/9; background: var(--surface-2); margin-bottom: 40px; overflow: hidden; }
.gc-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.gc-video .gc-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.gc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.gc-episode__cols { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: start; }
.gc-player { display: flex; align-items: center; gap: 16px; background: var(--surface); padding: 16px; margin-bottom: 48px; }
.gc-player__body { flex: 1; min-width: 0; display: grid; gap: 10px; }
.gc-player__row { display: flex; justify-content: space-between; gap: 12px; }
.gc-track { height: 4px; background: var(--border-2); cursor: pointer; position: relative; }
.gc-track__fill { height: 100%; width: 0; background: var(--red); }
.gc-notes { margin-bottom: 56px; }
.gc-prose { font-size: 18px; line-height: 1.65; color: var(--body); }
.gc-prose a { color: var(--red); }
.gc-prose a:hover { color: var(--red-hover); }
.gc-prose h2, .gc-prose h3 { font-family: var(--display); text-transform: uppercase; color: var(--text); font-size: 36px; line-height: 1; margin: 1.4em 0 .5em; }
.gc-prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--red); font-family: var(--display); font-size: 30px; line-height: 1.1; text-transform: uppercase; color: var(--text); }
.gc-prose img { margin: 1.5em 0; }
.gc-prose--lead { font-size: 19px; }
.gc-prose--page { max-width: 760px; }
.gc-transcript__head { display: flex; justify-content: space-between; align-items: baseline; }
.gc-transcript__rows { display: grid; gap: 18px; }
.gc-transcript__rows.is-collapsed { max-height: 320px; overflow: hidden; position: relative; }
.gc-transcript__rows.is-collapsed::after { content: ""; pointer-events: none; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--bg)); }
.gc-transcript__row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.gc-transcript__row p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.gc-transcript__row strong { color: var(--text); }
.gc-transcript__row.is-current p { color: var(--text); }
.gc-ts { color: var(--red); font-size: 13px; font-weight: 500; text-align: left; line-height: 1.6; }
.gc-ts:hover { color: var(--red-hover); }
.gc-transcript > .gc-link { margin-top: 24px; }
.gc-side { display: grid; gap: 40px; }
.gc-side__block .gc-eyebrow { margin-bottom: 14px; }
.gc-guest { display: flex; gap: 16px; align-items: center; }
.gc-guest__photo { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-2); overflow: hidden; flex: 0 0 72px; border: 1px solid var(--border-2); }
.gc-guest__photo img { width: 100%; height: 100%; object-fit: cover; }
.gc-guest__name { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.gc-guest__title { font-size: 14px; color: var(--muted); margin: 0; }
.gc-listen { display: grid; gap: 10px; }
.gc-listen a { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border-2); padding: 14px 16px; font-size: 14px; font-weight: 500; }
.gc-listen a:hover { border-color: var(--text); color: var(--text); }
.gc-upnext li { border-bottom: 1px solid var(--border); }
.gc-upnext li:first-child { border-top: 1px solid var(--border); }
.gc-upnext a { display: flex; gap: 16px; align-items: center; padding: 16px 0; }
.gc-upnext__title { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }

/* sticky bar */
.gc-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
	display: grid; grid-template-columns: auto minmax(120px, 1fr) minmax(200px, 2fr) auto; align-items: center; gap: 24px;
	background: var(--surface); border-top: 1px solid var(--border); padding: 12px var(--gutter);
	padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.gc-bar__title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-bar__title small { color: var(--muted); font-weight: 400; }
.gc-bar__time { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ------------------------------------------------------------------ about */
.gc-about__hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; border-bottom: 1px solid var(--border); }
.gc-about__media { background: var(--surface) center/cover no-repeat; min-height: 420px; border-right: 1px solid var(--border); }
.gc-about__body { padding: 72px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.gc-about__body .gc-h1 { font-size: 120px; margin-bottom: 32px; }
.gc-stats { display: grid; grid-template-columns: repeat(var(--gc-stats, 4), 1fr); border-bottom: 1px solid var(--border); }
.gc-stats__item { padding: 44px 32px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.gc-stats__item:last-child { border-right: 0; }
.gc-stats__num { font-family: var(--display); font-size: 56px; line-height: 1; text-transform: uppercase; }
.gc-stats__cap { font-size: 14px; color: var(--muted); }
.gc-about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px var(--gutter); }
.gc-about__cols .gc-btn { margin-top: 12px; }

/* ------------------------------------------------------------------ generic page */
.gc-page { padding: 56px var(--gutter) 72px; }

/* ------------------------------------------------------------------ tablet */
@media (max-width: 1023px) {
	:root { --gutter: 32px; }
	.gc-header { grid-template-columns: auto 1fr auto; }
	.gc-nav { display: none; }
	.gc-burger { display: flex; }
	.gc-hero__title { font-size: 88px; }
	.gc-grid--cards { grid-template-columns: repeat(2, 1fr); }
	.gc-topics { grid-template-columns: repeat(2, 1fr); }
	.gc-topics__item:nth-child(2n) { border-right: 0; }
	.gc-topics__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
	.gc-library__head { grid-template-columns: 1fr; }
	.gc-h1--split, .gc-h1 { font-size: 88px; }
	.gc-h1--episode { font-size: 72px; }
	.gc-row { grid-template-columns: 72px 1fr 48px; }
	.gc-row .gc-tile--sm, .gc-row__meta { display: none; }
	.gc-row__meta-m { display: block; margin-top: 6px; }
	.gc-episode__cols { grid-template-columns: 1fr; gap: 48px; }
	.gc-about__hero { grid-template-columns: 1fr; }
	.gc-about__media { border-right: 0; border-bottom: 1px solid var(--border); }
	.gc-about__body .gc-h1 { font-size: 96px; }
	.gc-about__cols { grid-template-columns: 1fr; gap: 40px; }
	.gc-stats { grid-template-columns: repeat(2, 1fr); }
	.gc-stats__item:nth-child(2n) { border-right: 0; }
	.gc-stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
	.gc-bar { grid-template-columns: auto 1fr auto; }
	.gc-bar .gc-track { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ mobile (2a-2g) */
@media (max-width: 767px) {
	:root { --gutter: 20px; --bar-h: 76px; }
	body { font-size: 16px; }
	.gc-header { padding: 16px 20px; }
	.gc-logo { font-size: 26px; }
	.gc-header .gc-btn--sm { padding: 12px 14px; font-size: 12px; }
	body:not(.home) .gc-header .gc-btn--sm { display: none; }

	.gc-hero { grid-template-columns: 1fr; min-height: 0; }
	.gc-hero__media { order: -1; min-height: 300px; height: 300px; border-left: 0; border-bottom: 1px solid var(--border); }
	.gc-hero__body { padding: 32px 20px 40px; }
	.gc-hero__title { font-size: 64px; margin-bottom: 20px; }
	.gc-hero__excerpt { font-size: 16px; margin-bottom: 24px; }
	.gc-hero__cta { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 24px; }
	.gc-btn--play { height: 56px; width: 100%; justify-content: flex-start; }
	.gc-btn__icon { width: 56px; height: 56px; }
	.gc-hero__listen { flex-direction: column; align-items: stretch; gap: 10px; }
	.gc-hero__listen .gc-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.gc-chip { padding: 14px 8px; font-size: 11px; }

	.gc-section { padding: 40px 20px; }
	.gc-h2 { font-size: 34px; }
	.gc-grid--cards { grid-template-columns: 1fr; gap: 0; }
	.gc-card { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: center; padding: 14px 0; background: none; border-bottom: 1px solid var(--border); }
	.gc-card:hover { background: none; }
	.gc-card .gc-tile { width: 64px; height: 64px; grid-row: 1 / span 2; }
	.gc-card__title, .gc-card .gc-meta { grid-column: 2; }
	.gc-card__title { align-self: end; }
	.gc-card .gc-meta { align-self: start; }
	.gc-section__head .gc-h2 { white-space: nowrap; }
	.gc-section__head .gc-link { white-space: nowrap; }
	.gc-card .gc-tile__ep { top: 6px; left: 6px; font-size: 11px; }
	.gc-card .gc-tile__ghost { font-size: 11px; }
	.gc-card .gc-tile .gc-play { display: none; }
	.gc-card__title { margin: 0 0 4px; }
	.gc-card .gc-meta { font-size: 11px; }
	.gc-topics { grid-template-columns: repeat(2, 1fr); }
	.gc-topics__item { padding: 24px 20px; }
	.gc-topics__name { font-size: 30px; }

	.gc-library { padding: 32px 20px 56px; }
	.gc-h1--split, .gc-h1, .gc-h1--page { font-size: 72px; }
	.gc-search { height: 52px; }
	.gc-tabs { gap: 8px; border-bottom: 0; padding-bottom: 8px; }
	.gc-tab { border: 0; padding: 10px 14px; font-size: 12px; margin: 0; }
	.gc-tab.is-active { background: var(--red); color: #fff; }
	.gc-tab span { display: none; }
	.gc-row { grid-template-columns: 1fr 44px; gap: 16px; padding: 16px 0; }
	.gc-row:hover { box-shadow: none; background: none; }
	.gc-row__ep { font-size: 14px; margin-bottom: 6px; grid-column: 1; }
	.gc-row__body { grid-column: 1; }
	.gc-row__title { font-size: 17px; }
	.gc-row__excerpt { font-size: 13px; }
	.gc-row .gc-play { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; }
	.gc-pagination { display: none; }
	.gc-more { display: block; }

	.gc-episode { padding: 24px 20px 56px; }
	.gc-h1--episode { font-size: 52px; margin: 16px 0 24px; }
	.gc-crumbs { gap: 8px; font-size: 11px; }
	.gc-crumbs__muted { flex-basis: 100%; }
	.gc-video { margin-bottom: 24px; }
	.gc-video .gc-play { width: 64px; height: 64px; }
	.gc-player { padding: 12px; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
	.gc-player .gc-play--56 { width: 48px; height: 48px; }
	.gc-player__row .gc-meta { font-size: 11px; }
	.gc-player .gc-chip[download] { display: none; }
	.gc-h2--sm { font-size: 30px; }
	.gc-prose { font-size: 16px; }
	.gc-transcript__row { grid-template-columns: 48px 1fr; }
	.gc-transcript__row p { font-size: 15px; }
	.gc-side { gap: 32px; }
	.gc-listen { grid-template-columns: 1fr 1fr; }
	.gc-listen a { justify-content: center; }
	.gc-listen a span:last-child { display: none; }

	.gc-bar { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 10px 20px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
	.gc-bar__title { font-size: 13px; }
	.gc-bar .gc-track { grid-column: 1 / -1; height: 3px; }

	.gc-about__media { min-height: 420px; }
	.gc-about__body { padding: 32px 20px; }
	.gc-about__body .gc-h1 { font-size: 80px; }
	.gc-prose--lead { font-size: 16px; }
	.gc-stats__item { padding: 28px 20px; }
	.gc-stats__num { font-size: 40px; }
	.gc-stats__cap { font-size: 12px; }
	.gc-about__cols { padding: 40px 20px; }
	.gc-about__cols .gc-btn { width: 100%; }

	.gc-footer { flex-direction: column-reverse; align-items: flex-start; padding: 24px 20px; }
	.gc-menu__foot .gc-chips--grid { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* v1.1.0: host box + related episodes */
.gc-host__name { font-family: var(--display, 'Bebas Neue', sans-serif); font-size: 28px; letter-spacing: .02em; margin: 0 0 8px; }
.gc-host__bio { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.gc-host__links { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.gc-related { margin-top: 56px; }
.gc-related .gc-h2 { margin-bottom: 18px; }
.gc-related__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gc-host__role { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--red, #e0201f); margin: 0 0 4px; }
.gc-host__role--muted { color: var(--text, #f2f0ec); margin-bottom: 12px; }
/* v1.2.0: official GRINDcast mark in the logo */
.gc-logo { display: inline-flex; align-items: center; gap: 10px; }
.gc-logo__mark { width: 40px; height: 40px; flex: none; }
.gc-menu__head .gc-logo__mark { width: 34px; height: 34px; }
@media (max-width: 767px) { .gc-logo__mark { width: 32px; height: 32px; } }
.gc-logo .gc-logo__text { color: var(--text); }
.gc-logo .gc-logo__text span { color: var(--red); }

/* v1.3.0: home page reorganized around the show */
.gc-hero__title .gc-hero__with { display: block; font-size: .42em; line-height: 1.05; color: var(--red); letter-spacing: .02em; margin-top: 10px; }
.gc-hero__media--mark { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, #1c1c1f 0%, var(--bg) 70%); }
.gc-hero__media--mark img { width: min(300px, 60%); height: auto; box-shadow: 0 30px 80px rgba(224,32,31,.18); }
.gc-latest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding: 64px var(--gutter); border-bottom: 1px solid var(--border); }
.gc-latest .gc-tile { aspect-ratio: 16 / 9; display: block; }
.gc-latest__title { font-family: var(--display); font-size: 64px; line-height: .95; text-transform: uppercase; margin: 0 0 20px; }
.gc-latest__title a { color: var(--text); }
.gc-latest__title a:hover { color: var(--red); }
.gc-latest__excerpt { font-size: 17px; line-height: 1.55; color: var(--secondary); max-width: 560px; margin-bottom: 28px; }
.gc-latest .gc-hero__cta { margin-bottom: 0; }
.gc-about-show { padding: 72px var(--gutter); border-top: 1px solid var(--border); }
.gc-about-show__head { border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 32px; }
.gc-about-show__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.gc-about-show__body .gc-prose p { margin: 0 0 1em; max-width: 720px; }
.gc-about-show__host { border-left: 3px solid var(--red); padding-left: 28px; }
@media (max-width: 1023px) {
	.gc-latest { grid-template-columns: 1fr; gap: 28px; }
	.gc-latest__title { font-size: 52px; }
	.gc-about-show__body { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 767px) {
	.gc-hero--show .gc-hero__media { height: 220px; min-height: 220px; }
	.gc-hero__media--mark img { width: 150px; }
	.gc-latest { padding: 40px 20px; }
	.gc-latest__title { font-size: 42px; }
	.gc-about-show { padding: 48px 20px; }
	.gc-about-show__host { padding-left: 20px; }
}
/* v1.3.1: episode art is 16:9, show it whole; all five topics in the strip */
.gc-grid--cards .gc-tile { aspect-ratio: 16 / 9; }
.gc-topics { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1023px) { .gc-topics { grid-template-columns: repeat(2, 1fr); } }
/* v1.4.0: official GRINDcast wordmark + G icon */
.gc-logo__img { height: 44px; width: auto; display: block; }
.gc-menu__head .gc-logo__img { height: 36px; }
@media (max-width: 767px) { .gc-logo__img { height: 34px; } }
.gc-hero__media--mark img { width: min(360px, 62%); box-shadow: none; filter: drop-shadow(0 24px 60px rgba(224,32,31,.25)); }
@media (max-width: 767px) { .gc-hero__media--mark img { width: 170px; } }
.gc-logo__img { height: 56px; }
@media (max-width: 767px) { .gc-logo__img { height: 40px; } }
/* v1.5.0: hero photo of Simon in the GRINDcast studio */
.gc-hero__media--photo { position: relative; overflow: hidden; background: var(--bg); }
.gc-hero__media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
@media (max-width: 767px) {
	.gc-hero--show .gc-hero__media--photo { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
	.gc-hero__media--photo img { object-position: 50% 10%; }
}
/* v1.6.0: hero episode wall */
.gc-wall { position: relative; overflow: hidden; background: var(--bg); }
.gc-wall__rows { position: absolute; top: 50%; left: 50%; width: 170%; display: flex; flex-direction: column; gap: 10px; transform: translate(-50%, -50%) rotate(-9deg); }
.gc-wall__row { overflow: visible; }
.gc-wall__row:nth-child(even) { margin-left: -125px; }
.gc-wall__track { display: flex; gap: 10px; width: max-content; animation: gc-wall-drift 140s linear infinite; }
.gc-wall__row--rev .gc-wall__track { animation-direction: reverse; animation-duration: 170s; }
.gc-wall__tile { display: block; flex: 0 0 auto; width: 240px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.gc-wall__img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.7) saturate(.95); transition: filter .25s ease; }
.gc-wall__tile:hover .gc-wall__img { filter: none; }
.gc-wall::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, var(--bg) 0%, rgba(11,11,12,.55) 16%, rgba(11,11,12,0) 38%),
		linear-gradient(0deg, rgba(11,11,12,.5) 0%, rgba(11,11,12,0) 22%, rgba(11,11,12,0) 80%, rgba(11,11,12,.45) 100%); }
@keyframes gc-wall-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gc-wall__track { animation: none; } }
@media (max-width: 767px) {
	.gc-hero--show .gc-wall { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
	.gc-wall__rows { width: 220%; gap: 8px; }
	.gc-wall__track { gap: 8px; }
	.gc-wall__tile { width: 150px; }
	.gc-wall__row:nth-child(even) { margin-left: -78px; }
	.gc-wall::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(11,11,12,0) 30%); }
}
/* v1.6.2: mobile polish. Section header link wraps instead of overflowing on 360-375px phones;
   list thumbnails show the whole 16:9 episode art instead of a square crop. */
@media (max-width: 767px) {
	.gc-section__head { flex-wrap: wrap; align-items: baseline; row-gap: 6px; column-gap: 16px; }
	.gc-card { grid-template-columns: 112px 1fr; }
	.gc-card .gc-tile, .gc-grid--cards .gc-card .gc-tile { width: 112px; height: auto; aspect-ratio: 16 / 9; }
}
