/* 15-home.css — front page. Loads after 14 so it wins.
   Built to the decisions of 2026-11-18: brand statement hero, latest-episode
   strip, series grid, member CTA, featured guests. No stat bar.
   The look is derived from Arturo's mockups, but NONE of their imagery is
   used — his own brief records that Al's audience rejects AI-generated art
   and every mockup is AI. So the atmosphere here is CSS only. */

/* ---- hero ----------------------------------------------------------- */
.fb-hero {
	position: relative;
	margin: 0 0 56px;
	padding: 58px 48px 52px;
	border: 1px solid var(--awb-color3);
	border-radius: 14px;
	overflow: hidden;
	background:
		radial-gradient(90% 150% at 12% 115%, rgba(122,31,184,.40) 0%, rgba(122,31,184,0) 62%),
		radial-gradient(80% 140% at 74% 118%, rgba(56,214,240,.22) 0%, rgba(56,214,240,0) 64%),
		radial-gradient(60% 120% at 50% -10%, rgba(44,192,170,.12) 0%, rgba(44,192,170,0) 60%),
		var(--awb-color7);
	text-align: center;
}
/* the horizon line the mockups put under every hero */
.fb-hero::after {
	content: "";
	position: absolute;
	left: 12%; right: 12%; bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--awb-color5), transparent);
	opacity: .55;
}

.fb-hero .fb-eyebrow {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--awb-color6);
}
/* The wordmark treatment: wide-tracked caps. This is the single move that
   appears in all eight mockups and the one thing the configured typography
   could not do — typography1 tracks -0.015em, the opposite direction. */
.fb-hero .fb-wordmark {
	margin: 0;
	font-size: clamp(1.9rem, 4.6vw, 3.1rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: .20em;
	text-indent: .20em;          /* tracking adds space after the last letter */
	text-transform: uppercase;
	color: var(--awb-color1) !important;
}
.fb-hero .fb-tagline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 16px auto 22px;
	max-width: 32rem;
	font-size: clamp(.72rem, 1.5vw, .86rem);
	font-weight: 500;
	letter-spacing: .30em;
	text-indent: .30em;
	text-transform: uppercase;
	color: var(--awb-color5);
}
.fb-hero .fb-tagline::before,
.fb-hero .fb-tagline::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--awb-color3));
}
.fb-hero .fb-tagline::after { background: linear-gradient(90deg, var(--awb-color3), transparent); }

.fb-hero .fb-hero-lede {
	margin: 0 auto 28px;
	max-width: 38rem;
	font-size: 1.04rem;
	line-height: 1.6;
	color: var(--awb-color2);
}
.fb-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 0; }

/* ---- buttons: violet fill, hairline ghost --------------------------- */
.fb-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.fb-btn-primary {
	background: var(--awb-color4);
	border: 1px solid var(--awb-color4);
	color: #fff !important;
}
.fb-btn-primary:hover { background: var(--fb-violet-lit, #C77DFF); border-color: var(--fb-violet-lit, #C77DFF); color: #120b1c !important; }
.fb-btn-ghost {
	background: transparent;
	border: 1px solid var(--awb-color3);
	color: var(--awb-color1) !important;
}
.fb-btn-ghost:hover { border-color: var(--awb-color5); color: var(--awb-color5) !important; }

/* ---- section headings with the gradient rule ------------------------ */
.fb-section, .fb-home-blog { margin: 0 0 54px; }
.fb-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 22px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--awb-color3);
}
.fb-section-head h2 {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--awb-color1) !important;
}
.fb-more, .fb-section-more {
	flex: 0 0 auto;
	font-size: .84rem;
	letter-spacing: .04em;
	text-decoration: none;
	white-space: nowrap;
}

/* ---- featured guests: monograms until portraits arrive -------------- */
.fb-guest-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 18px;
}
.fb-guest {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 14px 18px;
	border: 1px solid var(--awb-color3);
	border-radius: 12px;
	background: var(--awb-color7);
	text-decoration: none;
	text-align: center;
	transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.fb-guest:hover { border-color: var(--awb-color4); transform: translateY(-2px); background: var(--fb-surface-2, #171B2E); }
.fb-guest-art {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px; height: 76px;
	border-radius: 50%;
	overflow: hidden;
	background:
		radial-gradient(100% 100% at 30% 20%, rgba(122,31,184,.75) 0%, rgba(122,31,184,0) 70%),
		radial-gradient(100% 100% at 75% 85%, rgba(56,214,240,.45) 0%, rgba(56,214,240,0) 72%),
		var(--fb-surface-2, #171B2E);
	border: 1px solid var(--awb-color3);
}
.fb-guest-mono {
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--awb-color1);
}
.fb-guest-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-guest-name { font-size: .92rem; font-weight: 600; line-height: 1.3; color: var(--awb-color1); }
.fb-guest-eps { font-size: .78rem; letter-spacing: .04em; color: var(--awb-color6); }

/* ---- member CTA ------------------------------------------------------ */
.fb-members { text-align: center; }
.fb-members h2 { letter-spacing: .04em; }
.fb-members .fb-hero-actions { justify-content: center; }

@media (max-width: 640px) {
	.fb-hero { padding: 40px 22px 36px; border-radius: 12px; }
	.fb-section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Avada's own h2 typography outranks .fb-section-head h2 and loads after
   this file, so the uppercase tracked section labels were rendering as
   plain large headings. Same ordering problem as everywhere else in this
   theme; !important is the documented remedy here, not a shortcut. */
.fb-section-head h2,
.fb-home-blog .fb-section-head h2,
.fb-section .fb-section-head h2 {
	font-size: 1.02rem !important;
	font-weight: 700 !important;
	letter-spacing: .09em !important;
	text-transform: uppercase !important;
	line-height: 1.3 !important;
	margin: 0 !important;
}
.fb-members h2,
.fb-signup h2 {
	font-size: 1.35rem !important;
	letter-spacing: .03em !important;
	margin-top: 0 !important;
}
/* the sticky nav would otherwise sit on top of a heading jumped to by anchor */
html { scroll-padding-top: 70px; }

/* ---- series index ---------------------------------------------------- */
.fb-series-index .fb-lock { font-size: .82em; opacity: .85; margin-left: 4px; }
.ppe-series-card.fb-series-locked {
	border-left-color: var(--awb-color5) !important;
}
.ppe-series-card.fb-series-locked .ppe-series-count::after {
	content: " · subscribers only";
	color: var(--awb-color5);
}
.fb-page-title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 3.4vw, 2.1rem);
	letter-spacing: .04em;
	color: var(--awb-color1) !important;
}
.fb-page-lede { margin: 0 0 32px; color: var(--awb-color6); max-width: 44rem; }

/* ---- newsletter form ------------------------------------------------ */
/* The Newsletter plugin ships light-theme inputs. A contrast audit cannot
   catch these — an empty field has no text to measure — so they survived
   the sweep as white boxes on a dark page. */
.fb-signup .tnp-field input[type="text"],
.fb-signup .tnp-field input[type="email"],
.fb-signup input[type="text"],
.fb-signup input[type="email"],
.tnp-subscription input[type="text"],
.tnp-subscription input[type="email"],
.tnp-subscription select {
	background: var(--awb-color7) !important;
	border: 1px solid var(--awb-color3) !important;
	color: var(--awb-color1) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}
.fb-signup input::placeholder,
.tnp-subscription input::placeholder { color: var(--awb-color6) !important; }
.fb-signup label,
.tnp-subscription label,
.tnp-field-checkbox label { color: var(--awb-color2) !important; }
.fb-signup .tnp-field-button input[type="submit"],
.tnp-subscription input[type="submit"] {
	background: var(--awb-color4) !important;
	border: 1px solid var(--awb-color4) !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 12px 26px !important;
	font-weight: 600 !important;
	cursor: pointer;
}
.fb-signup .tnp-field-button input[type="submit"]:hover,
.tnp-subscription input[type="submit"]:hover {
	background: var(--fb-violet-lit, #C77DFF) !important;
	border-color: var(--fb-violet-lit, #C77DFF) !important;
	color: #120b1c !important;
}
/* keep the form to a readable measure instead of full bleed */
.fb-signup .tnp-subscription { max-width: 32rem; margin-left: 0; }
.fb-signup { margin-bottom: 20px; }

/* ---- seasons removed 2026-11-18 ------------------------------------- */
/* The listing's sortable "Season" header is a hardcoded string in the
   plugin's Shortcodes::rows(), and the plugin exposes no filter for it.
   With seasons gone the column now holds a bare episode number, so the
   label is relabelled here rather than left lying. This is a stopgap: the
   proper fix is a plugin change routed through git, logged in TODO.md. */
.ppe-sortcol[data-sort="se"] { font-size: 0 !important; }
.ppe-sortcol[data-sort="se"]::before {
	content: "Episode";
	font-size: .76rem;
	letter-spacing: .07em;
	text-transform: uppercase;
	font-weight: 600;
}

/* ---- episode numbers abandoned 2026-11-18 --------------------------- */
/* The `se` cell is now always empty: _ppe_episode, _ppe_episode_end and
   _ppe_episode_list were all deleted, so Meta::season_episode_label()
   returns null. The plugin deliberately emits empty slots on desktop so the
   grid columns stay aligned, which means an abandoned column keeps its 5em
   track unless the template is changed. Both the header and the rows use
   the same track list, so both are edited here or the columns drift apart.
   Replaces the earlier "Season" -> "Episode" relabel, which is now moot. */
.ppe-row-link,
.ppe-head-cols {
	grid-template-columns: 56px minmax(0,1fr) 12em 6.8em 3.2em 2.6em !important;
}
.ppe-se,
.ppe-head-cols button[data-sort="se"] { display: none !important; }
.ppe-sortcol[data-sort="se"]::before { content: none !important; }

/* ---- series cards carry the artwork -------------------------------- */
/* Used by both the home page and /episodes/, since they share the
   shortcode. 9 of 13 series have a 427x427 PNG; the other four get an
   aurora tile with the series initials, matching the guest row so a
   missing image reads as deliberate. Cropped to 16:9, the same choice
   made for episode cards. */
.fb-series-index {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
	gap: 18px;
}
.fb-series-index .ppe-series-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0 !important;
	overflow: hidden;
	border-radius: 12px !important;
	border-left-width: 1px !important;
}
.fb-series-card-art {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--fb-surface-2, #171B2E);
	border-bottom: 1px solid var(--awb-color3);
}
.fb-series-card-img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}
.ppe-series-card:hover .fb-series-card-img { transform: scale(1.04); }
/* a touch of the house light over found stock imagery, so 13 unrelated
   pictures read as one set rather than a scrapbook */
.fb-series-card-art::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15,18,32,0) 42%, rgba(15,18,32,.78) 100%),
	            radial-gradient(120% 90% at 18% 110%, rgba(122,31,184,.34) 0%, rgba(122,31,184,0) 68%);
	pointer-events: none;
}
.fb-series-card-art.is-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(90% 120% at 25% 15%, rgba(122,31,184,.65) 0%, rgba(122,31,184,0) 70%),
		radial-gradient(90% 120% at 78% 88%, rgba(56,214,240,.40) 0%, rgba(56,214,240,0) 72%),
		var(--fb-surface-2, #171B2E);
}
.fb-series-card-mono {
	position: relative; z-index: 1;
	font-size: 1.7rem; font-weight: 600; letter-spacing: .08em;
	color: var(--awb-color1);
}
.fb-series-card-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 14px 16px 16px;
}
.fb-series-index .ppe-series-name {
	font-size: .98rem; font-weight: 600; line-height: 1.3;
	color: var(--awb-color1) !important;
}
.fb-series-index .ppe-series-count { font-size: .8rem; letter-spacing: .03em; }
