/**
 * Headucation Theme — Main Stylesheet
 *
 * Design tokens and component styles adapted from the v5.1 mockup.
 * @package Headucation
 */

/* ══ TOKENS ══ */
:root {
	--cream: #F9F6F0;
	--cream-2: #F0EBE1;
	--ink: #1C1A22;
	--ink-2: #3D3848;
	--ink-3: rgba(28, 26, 34, .52);
	--purple: #7640C8;
	--purple-l: #EDE5F8;
	--purple-d: #4A2480;
	--gold: #C8981A;
	--gold-l: #FBF2D8;
	--teal: #2A9882;
	--teal-l: #E0F5F0;
	--serif: 'DM Serif Display', Georgia, serif;
	--sans: 'Montserrat', 'Helvetica Neue', sans-serif;
	--s1: 8px;
	--s2: 16px;
	--s3: 24px;
	--s4: 32px;
	--s5: 48px;
	--s6: 64px;
	--s7: 80px;
	--s8: 96px;
	--s9: 128px;
	--s10: 160px;
	--maxw: 1300px;
	--px: 40px;
	--expo: cubic-bezier(.19, 1, .22, 1);
	--ease: cubic-bezier(.4, 0, .2, 1);
	--text-2xs: 8px;
	--text-xs: 9px;
	--text-sm: 11px;
	--text-label: 12px;
	--text-base: 13px;
	--text-md: 15px;
	--text-lg: 17px;
	--text-reading: 14px;
	--text-10: 10px;
}

/* ══ RESET ══ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--sans);
	background: var(--cream);
	color: var(--ink);
	overflow-x: hidden;
	cursor: none;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	object-fit: cover;
}

a,
button {
	cursor: none;
	text-decoration: none;
	color: inherit;
}

/* ══ CUSTOM CURSOR ══ */
#cur {
	position: fixed;
	width: 7px;
	height: 7px;
	background: var(--purple);
	border-radius: 50%;
	pointer-events: none;
	z-index: 100000;
	transform: translate(-50%, -50%);
	transition: width .2s, height .2s, background .2s;
}

#cur.link {
	width: 40px;
	height: 40px;
	background: rgba(118, 64, 200, .15);
	border: 1px solid rgba(118, 64, 200, .3);
}

#cur-ring {
	position: fixed;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(118, 64, 200, .2);
	border-radius: 50%;
	pointer-events: none;
	z-index: 99999;
	transform: translate(-50%, -50%);
}

/* ══ NAVIGATION ══ */
.nav-wrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 500;
	padding: 16px 24px;
	pointer-events: none;
}

.nav {
	max-width: var(--maxw);
	margin-inline: auto;
	background: rgba(249, 246, 240, .92);
	backdrop-filter: blur(16px) saturate(1.4);
	border: 1px solid rgba(28, 26, 34, .09);
	border-radius: 100px;
	padding: 14px var(--px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	pointer-events: auto;
	transition: background .3s, box-shadow .3s;
	box-shadow: 0 2px 24px rgba(28, 26, 34, .06);
}

.nav.scrolled {
	background: rgba(249, 246, 240, .98);
	box-shadow: 0 4px 40px rgba(28, 26, 34, .1);
}

.nav-logo {
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 8px;
}

.logo-pill {
	background: var(--purple);
	color: white;
	font-size: var(--text-xs);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 3px 8px;
	border-radius: 100px;
}

.nav-links {
	display: flex;
	gap: 32px;
	list-style: none;
}

.nav-links a {
	font-size: var(--text-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--ink-2);
	transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
	color: var(--ink);
}

.nav-cta {
	background: var(--purple);
	color: white;
	border: none;
	font-family: var(--sans);
	font-size: var(--text-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 10px 20px;
	border-radius: 100px;
	transition: background .2s, transform .1s;
}

.nav-cta:hover {
	background: var(--ink);
	transform: translateY(-1px);
}

.nav-cta--create {
	background: var(--teal);
}

.nav-cta--create:hover {
	background: var(--ink);
}

.nav-cta--logout {
	background: none;
	border: 1.5px solid rgba(28, 26, 34, .2);
	color: var(--ink-2);
}

.nav-cta--logout:hover {
	border-color: var(--ink);
	color: var(--ink);
	background: none;
}

/* ══ UTILITIES ══ */
.inner,
.container {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--px);
}

.eyebrow {
	font-size: var(--text-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--ink-3);
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
}

.eyebrow-line {
	width: 28px;
	height: 1px;
	background: currentColor;
	flex-shrink: 0;
}

.eyebrow.light {
	color: rgba(255, 255, 255, .4);
}

.eyebrow.purple {
	color: var(--purple);
}

.eyebrow.teal {
	color: var(--teal);
}

.section-tag {
	display: inline-flex;
	align-items: center;
	font-size: var(--text-10);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 5px 14px;
	border-radius: 100px;
	border: 1px solid currentColor;
	margin-bottom: 24px;
}

.tag-purple {
	color: var(--purple);
	border-color: rgba(118, 64, 200, .25);
	background: var(--purple-l);
}

.tag-teal {
	color: var(--teal);
	border-color: rgba(42, 152, 130, .25);
	background: var(--teal-l);
}

.tag-gold {
	color: var(--gold);
	border-color: rgba(200, 152, 26, .25);
	background: var(--gold-l);
}

.tag-ink {
	color: rgba(255, 255, 255, .7);
	border-color: rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .06);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sr-only--focusable:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 24px;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--purple);
	color: white;
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	border-radius: 100px;
	z-index: 10000;
}

.pillar-right-col {
	padding-top: 12px;
}

/* ══ BUTTONS ══ */
.btn-main {
	background: var(--ink);
	color: white;
	border: none;
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 15px 32px;
	border-radius: 100px;
	transition: background .2s, transform .12s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-main:hover {
	background: var(--purple);
	transform: translateY(-2px);
}

.btn-secondary {
	background: none;
	border: 1.5px solid rgba(28, 26, 34, .2);
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 14px 32px;
	border-radius: 100px;
	transition: border-color .2s, color .2s;
}

.btn-secondary:hover {
	border-color: var(--purple);
	color: var(--purple);
}

.btn-purple {
	background: var(--purple);
	color: white;
	border: none;
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 14px 32px;
	border-radius: 100px;
	transition: background .2s, transform .12s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-purple:hover {
	background: var(--ink);
	transform: translateY(-1px);
}

.btn-teal {
	background: var(--teal);
	color: white;
	border: none;
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 14px 32px;
	border-radius: 100px;
	transition: background .2s, transform .12s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-teal:hover {
	background: var(--ink);
	transform: translateY(-1px);
}

.btn-ghost-dark {
	background: none;
	border: 1.5px solid rgba(255, 255, 255, .25);
	color: white;
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 14px 32px;
	border-radius: 100px;
	transition: border-color .2s, background .2s;
}

.btn-ghost-dark:hover {
	border-color: white;
	background: rgba(255, 255, 255, .06);
}

.btn-text-link {
	background: none;
	border: none;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-3);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.btn-purple--full {
	width: 100%;
	justify-content: center;
	margin-top: var(--s2);
}

/* ══ SCROLL REVEAL ══ */
.rv {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .65s var(--expo), transform .65s var(--expo);
}

.rv.in {
	opacity: 1;
	transform: none;
}

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}

/* ══ DIVIDER ══ */
.divider {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-block: 32px;
}

.div-line {
	flex: 1;
	height: 1px;
	background: rgba(28, 26, 34, .1);
}

.div-ornament {
	width: 6px;
	height: 6px;
	background: var(--purple);
	transform: rotate(45deg);
	flex-shrink: 0;
}

/* ══ HERO ══ */
.hero-wrap {
	min-height: 100vh;
	padding-top: 140px;
	padding-bottom: var(--s10);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 60% 80% at 80% 40%, rgba(118, 64, 200, .06) 0%, transparent 70%);
}

.collage {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.col-photo {
	position: absolute;
	border-radius: 4px;
	overflow: hidden;
	will-change: transform;
}

.cp1 {
	width: 180px;
	height: 220px;
	top: 8%;
	left: calc(52% + 140px);
	transform: rotate(3.5deg);
	border-top: 3px solid var(--purple);
}

.cp3 {
	width: 100px;
	height: 120px;
	top: 26%;
	left: calc(52% + 320px);
	transform: rotate(2deg);
	border-top: 3px solid var(--gold);
}

.cp4 {
	width: 145px;
	height: 175px;
	top: 46%;
	left: calc(52% + 80px);
	transform: rotate(-4deg);
	border-top: 3px solid var(--teal);
}

.cp5 {
	width: 90px;
	height: 110px;
	top: 55%;
	left: calc(52% + 350px);
	transform: rotate(2.5deg);
}

.cp6 {
	width: 120px;
	height: 150px;
	top: 5%;
	left: calc(52% + 10px);
	transform: rotate(-2.5deg);
	border-top: 3px solid var(--cream-2);
	opacity: .55;
	z-index: 0;
}

.cp7 {
	width: 85px;
	height: 105px;
	top: 72%;
	left: calc(52% + 220px);
	transform: rotate(-3.5deg);
	border-top: 3px solid var(--purple);
}

.cp8 {
	width: 155px;
	height: 190px;
	top: 68%;
	left: calc(52% + 400px);
	transform: rotate(4deg);
	border-top: 3px solid var(--gold);
}

.cp9 {
	width: 95px;
	height: 115px;
	top: 36%;
	left: calc(46%);
	transform: rotate(-1.5deg);
	border-top: 3px solid var(--teal);
	opacity: .4;
	z-index: 0;
}

.photo-art {
	width: 100%;
	height: 100%;
	background: var(--ink);
	background-size: cover;
	background-position: center top;
}

.photo-art::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .22) 100%);
	pointer-events: none;
}

.hero-inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--px);
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero-eyebrow {
	font-size: var(--text-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--ink-3);
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	gap: 12px;
	animation: fadeUp .7s .1s var(--expo) both;
}

.hero-eyebrow-line {
	width: 28px;
	height: 1px;
	background: var(--ink-3);
}

.hero-h1 {
	font-family: var(--serif);
	font-size: clamp(48px, 6.5vw, 96px);
	font-weight: 400;
	line-height: 1.01;
	letter-spacing: -1px;
	color: var(--ink);
	max-width: 660px;
	margin-bottom: var(--s5);
	animation: fadeUp .8s .2s var(--expo) both;
}

.hero-h1 em {
	font-style: italic;
	color: var(--purple);
}

.hero-sub {
	font-size: var(--text-lg);
	font-weight: 300;
	line-height: 1.9;
	color: var(--ink-3);
	max-width: 480px;
	animation: fadeUp .8s .3s var(--expo) both;
}

.hero-sub strong {
	font-weight: 600;
	color: var(--ink-2);
}

.hero-acts {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 48px;
	animation: fadeUp .8s .4s var(--expo) both;
}

.hero-bottom {
	margin-top: 80px;
	padding-top: 32px;
	border-top: 1px solid rgba(28, 26, 34, .1);
	display: flex;
	align-items: center;
	gap: 32px;
	animation: fadeUp .8s .6s var(--expo) both;
}

.hero-byline {
	font-size: var(--text-label);
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ink-3);
}

.hero-tag-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.topic-pill {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 5px 14px;
	border-radius: 100px;
	border: 1px solid rgba(28, 26, 34, .15);
	color: var(--ink-2);
	transition: background .18s, border-color .18s;
}

.topic-pill:hover {
	background: var(--purple-l);
	border-color: var(--purple);
}

/* ══ KNOWLEDGE SECTION ══ */
.knowledge-wrap {
	padding-top: var(--s10);
	padding-bottom: var(--s10);
}

.pillar-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 96px;
	align-items: start;
	margin-bottom: 96px;
}

.pillar-h2 {
	font-family: var(--serif);
	font-size: clamp(34px, 4.5vw, 58px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.5px;
	color: var(--ink);
}

.pillar-h2 em {
	font-style: italic;
	color: var(--purple);
}

.pillar-body {
	font-size: var(--text-md);
	font-weight: 300;
	line-height: 1.9;
	color: var(--ink-3);
	margin-bottom: 16px;
}

.pillar-body strong {
	font-weight: 600;
	color: var(--ink-2);
}

.pillar-meta-row {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
	padding-top: 24px;
	border-top: 1px solid rgba(28, 26, 34, .08);
}

.pillar-meta-item {
	font-size: var(--text-label);
	font-weight: 600;
	color: var(--ink-3);
	display: flex;
	align-items: center;
	gap: 6px;
}

.pillar-meta-item::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--purple);
}

/* Filter chips */
.format-strip {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 64px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(28, 26, 34, .08);
}

.fmt-chip {
	font-size: var(--text-10);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding: 5px 12px;
	border-radius: 4px;
	border: 1px solid rgba(28, 26, 34, .12);
	color: var(--ink-3);
	background: none;
	font-family: var(--sans);
	transition: background .15s, border-color .15s, color .15s;
}

.fmt-chip:hover,
.fmt-chip.active {
	background: var(--ink);
	color: white;
	border-color: var(--ink);
}

.fmt-chip.fmt-purple {
	color: var(--purple);
	border-color: rgba(118, 64, 200, .2);
}

.fmt-chip.fmt-purple:hover,
.fmt-chip.fmt-purple.active {
	background: var(--purple);
	color: white;
	border-color: var(--purple);
}

.fmt-chip.fmt-teal {
	color: var(--teal);
	border-color: rgba(42, 152, 130, .2);
}

.fmt-chip.fmt-teal:hover,
.fmt-chip.fmt-teal.active {
	background: var(--teal);
	color: white;
	border-color: var(--teal);
}

.c-card.is-hidden {
	display: none;
}

.c-card.is-revealed {
	animation: cardReveal .35s var(--expo) both;
}

@keyframes cardReveal {
	from { opacity: 0; transform: translateY(10px) scale(.97); }
	to { opacity: 1; transform: none; }
}

/* Content cards */
.content-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.c-card {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(28, 26, 34, .08);
	border-radius: 8px;
	overflow: hidden;
	background: white;
	transition: transform .22s var(--expo), box-shadow .22s var(--expo);
}

.c-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(28, 26, 34, .09);
}

.c-card:hover .c-card-img {
	transform: scale(1.03);
}

.c-card-img-wrap {
	aspect-ratio: 16/9;
	overflow: hidden;
	position: relative;
	flex-shrink: 0;
}

.c-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--expo);
}

.c-card-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .18) 100%);
	pointer-events: none;
}

.c-card-img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .18) 100%);
	pointer-events: none;
}

.c-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	background: rgba(255, 255, 255, .88);
	backdrop-filter: blur(8px) saturate(1.4);
	padding: 4px 10px;
	border-radius: 100px;
	font-size: var(--text-10);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--ink-2);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.c-card-body {
	padding: 24px 32px 32px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.c-card-topic {
	font-size: var(--text-10);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--purple);
	margin-bottom: 8px;
}

.c-card-title {
	font-family: var(--serif);
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 400;
	line-height: 1.35;
	color: var(--ink);
	margin-bottom: 16px;
	flex: 1;
}

.c-card-title em {
	font-style: italic;
}

.c-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 11px;
	color: var(--ink-3);
	font-weight: 500;
	padding-top: 16px;
	border-top: 1px solid rgba(28, 26, 34, .07);
	margin-top: auto;
}

.c-card-signals {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding-bottom: 10px;
}

.c-card-signal {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-family: var(--sans);
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--ink-3);
}

.c-card-signal svg {
	flex-shrink: 0;
}

.c-card-signal--popular {
	color: var(--teal);
	font-weight: 700;
}

.c-card-signal--rec {
	color: var(--purple);
}

.c-card-signal--rec svg {
	color: var(--purple);
}

.c-card-save {
	background: none;
	border: none;
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--purple);
	display: flex;
	align-items: center;
	gap: 5px;
	transition: color .15s, gap .15s;
}

.c-card-save:hover {
	color: var(--purple);
	gap: 8px;
}

.knowledge-footer {
	margin-top: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 48px;
	border-top: 1px solid rgba(28, 26, 34, .1);
}

.knowledge-count {
	font-size: var(--text-base);
	font-weight: 500;
	color: var(--ink-3);
}

.knowledge-count strong {
	color: var(--ink);
	font-weight: 700;
}

/* ══ MODULES SECTION (DARK) ══ */
.modules-wrap {
	padding-top: var(--s10);
	padding-bottom: var(--s10);
	background: var(--ink);
	color: white;
	position: relative;
	overflow: hidden;
}

.modules-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 50% 80% at 100% 50%, rgba(118, 64, 200, .12) 0%, transparent 70%),
		radial-gradient(ellipse 40% 60% at 0% 80%, rgba(200, 152, 26, .06) 0%, transparent 60%);
}

.modules-inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--px);
	position: relative;
	z-index: 2;
}

.modules-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 96px;
	align-items: start;
	margin-bottom: 96px;
	padding-bottom: 64px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.modules-h2 {
	font-family: var(--serif);
	font-size: clamp(34px, 4.5vw, 58px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.5px;
	color: white;
}

.modules-h2 em {
	font-style: italic;
	color: rgba(200, 152, 26, .9);
}

.modules-body {
	font-size: var(--text-md);
	font-weight: 300;
	line-height: 1.9;
	color: rgba(255, 255, 255, .65);
}

.modules-body strong {
	font-weight: 600;
	color: white;
}

.modules-cta-row {
	margin-top: 48px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.modules-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.mod-card {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 8px;
	padding: var(--s5);
	display: flex;
	flex-direction: column;
	gap: 24px;
	transition: background .2s, border-color .2s, transform .35s var(--expo), box-shadow .35s var(--expo);
	position: relative;
	overflow: hidden;
}

.mod-card:hover {
	background: rgba(255, 255, 255, .07);
	border-color: rgba(255, 255, 255, .14);
	transform: translateY(-4px);
}

.mod-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
}

.mod-card:nth-child(1)::before { background: var(--purple); }
.mod-card:nth-child(2)::before { background: var(--gold); }
.mod-card:nth-child(3)::before { background: var(--teal); }

.mod-card:nth-child(1):hover { box-shadow: 0 8px 32px rgba(118, 64, 200, .15); }
.mod-card:nth-child(2):hover { box-shadow: 0 8px 32px rgba(200, 152, 26, .15); }
.mod-card:nth-child(3):hover { box-shadow: 0 8px 32px rgba(42, 152, 130, .15); }

.mod-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.mod-card-tag {
	font-size: var(--text-10);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: rgba(255, 255, 255, .4);
}

.mod-card-soon {
	font-size: var(--text-xs);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--gold);
	background: rgba(200, 152, 26, .12);
	border: 1px solid rgba(200, 152, 26, .2);
	padding: 3px 8px;
	border-radius: 100px;
	white-space: nowrap;
}

.mod-card-title {
	font-family: var(--serif);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 400;
	line-height: 1.2;
	color: white;
}

.mod-card-body {
	font-size: var(--text-base);
	font-weight: 300;
	line-height: 1.75;
	color: rgba(255, 255, 255, .72);
	flex: 1;
}

.mod-card-foot {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .07);
}

.mod-chip {
	font-size: var(--text-10);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 10px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .07);
	color: rgba(255, 255, 255, .45);
}

.mod-vis {
	width: 100%;
	aspect-ratio: 3/2;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
}

.mv1 { background: linear-gradient(135deg, #1a0a35 0%, var(--purple) 100%); }
.mv2 { background: linear-gradient(140deg, #1a1208 0%, var(--gold) 100%); }
.mv3 { background: linear-gradient(145deg, #081a12 0%, var(--teal) 100%); }

.mod-vis::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .02) 1px, transparent 1px, transparent 6px);
}

.mod-vis-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.mod-vis-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.mod-vis-label {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: rgba(255, 255, 255, .5);
}

.modules-body--spaced {
	margin-top: var(--s2);
}

.modules-hint {
	font-size: var(--text-label);
	color: rgba(255, 255, 255, .3);
	font-weight: 500;
}

/* ══ ANALYTICS SECTION ══ */
.analytics-wrap {
	padding-top: var(--s10);
	padding-bottom: var(--s10);
}

.analytics-inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--px);
}

.analytics-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 96px;
	align-items: start;
	margin-bottom: 96px;
}

.analytics-h2 {
	font-family: var(--serif);
	font-size: clamp(34px, 4.5vw, 58px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.5px;
	color: var(--ink);
}

.analytics-h2 em {
	font-style: italic;
	color: var(--teal);
}

.analytics-body {
	font-size: var(--text-md);
	font-weight: 300;
	line-height: 1.9;
	color: var(--ink-3);
	margin-bottom: 16px;
}

.analytics-body strong {
	font-weight: 600;
	color: var(--ink-2);
}

.cap-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cap-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(28, 26, 34, .06);
}

.cap-item:last-child {
	border-bottom: none;
}

.cap-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal);
	flex-shrink: 0;
	margin-top: 7px;
}

.cap-title {
	font-size: var(--text-base);
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 2px;
}

.cap-desc {
	font-size: 12px;
	font-weight: 400;
	color: var(--ink-3);
	line-height: 1.6;
}

.analytics-snapshots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 64px;
}

.snap {
	background: white;
	border: 1px solid rgba(28, 26, 34, .08);
	border-radius: 8px;
	overflow: hidden;
}

.snap-header {
	padding: 14px 16px 10px;
	border-bottom: 1px solid rgba(28, 26, 34, .07);
	font-size: var(--text-10);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--ink-3);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.snap-live {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal);
	animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

.snap-body {
	padding: 16px;
}

/* Snapshot internals */
.snap-bar-labels {
	display: flex;
	justify-content: space-between;
	margin-top: var(--s1);
}

.snap-bar-label {
	font-size: var(--text-xs);
	color: var(--ink-3);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.snap-bar-label--accent {
	color: var(--teal);
}

.snap-rates {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.snap-rate-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 4px;
}

.snap-rate-label {
	font-size: var(--text-10);
	color: var(--ink-3);
	font-weight: 600;
}

.snap-rate-value {
	font-size: var(--text-10);
	font-weight: 700;
}

/* Heatmap */
.hm-header {
	display: flex;
	gap: 4px;
	margin-bottom: 6px;
}

.hm-label {
	font-size: var(--text-2xs);
	color: var(--ink-3);
	width: 20px;
	flex-shrink: 0;
}

.hm-day {
	font-size: var(--text-2xs);
	color: var(--ink-3);
	text-align: center;
	flex: 1;
}

.hm-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hm-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.hm-time {
	font-size: var(--text-2xs);
	color: var(--ink-3);
	width: 20px;
	flex-shrink: 0;
}

.hm-cell {
	flex: 1;
	height: 14px;
	border-radius: 2px;
}

.snap-note {
	margin-top: 10px;
	font-size: var(--text-xs);
	color: var(--ink-3);
}

.fake-bars {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 80px;
}

.fb {
	border-radius: 3px 3px 0 0;
	flex: 1;
	min-width: 0;
	transition: opacity .2s;
}

.fb:hover {
	opacity: .75;
}

.fb1 { background: linear-gradient(180deg, var(--purple), rgba(118, 64, 200, .3)); height: 80%; }
.fb2 { background: linear-gradient(180deg, var(--purple), rgba(118, 64, 200, .3)); height: 55%; }
.fb3 { background: linear-gradient(180deg, var(--purple), rgba(118, 64, 200, .3)); height: 90%; }
.fb4 { background: linear-gradient(180deg, var(--purple), rgba(118, 64, 200, .3)); height: 65%; }
.fb5 { background: linear-gradient(180deg, var(--purple), rgba(118, 64, 200, .3)); height: 75%; }
.fb6 { background: linear-gradient(180deg, var(--purple), rgba(118, 64, 200, .3)); height: 40%; }
.fb7 { background: linear-gradient(180deg, var(--teal), rgba(42, 152, 130, .3)); height: 85%; }

/* Analytics gate */
.analytics-gate {
	background: var(--ink);
	border: 1px solid rgba(42, 152, 130, .15);
	border-radius: 12px;
	padding: 64px 96px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 60px rgba(42, 152, 130, .06);
}

.analytics-gate::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(42, 152, 130, .12) 0%, transparent 65%);
	pointer-events: none;
}

.ag-label {
	font-size: var(--text-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--teal);
	margin-bottom: 16px;
}

.ag-title {
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 400;
	color: white;
	margin-bottom: 16px;
}

.ag-body {
	font-size: var(--text-reading);
	font-weight: 300;
	color: rgba(255, 255, 255, .65);
	line-height: 1.7;
	max-width: 420px;
}

.ag-right {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-end;
}

.ag-lock {
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, .4);
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
}

.ag-lock::before {
	content: '\1F512';
	font-size: 11px;
}

/* ══ CONVERSION SECTION ══ */
.conversion-wrap {
	background: var(--ink);
	padding-top: var(--s10);
	padding-bottom: var(--s10);
	position: relative;
	overflow: hidden;
}

.conversion-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 50% 70% at 100% 50%, rgba(118, 64, 200, .18) 0%, transparent 65%);
}

.conversion-inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--px);
	position: relative;
	z-index: 2;
}

.conversion-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s10);
	align-items: center;
}

.conv-eyebrow {
	font-size: var(--text-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: rgba(255, 255, 255, .4);
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.conv-eyebrow-line {
	width: 28px;
	height: 1px;
	background: rgba(255, 255, 255, .2);
}

.conv-h2 {
	font-family: var(--serif);
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.5px;
	color: white;
	margin-bottom: var(--s5);
}

.conv-h2 em {
	font-style: italic;
	color: rgba(200, 152, 26, .9);
}

.conv-sub {
	font-size: var(--text-md);
	font-weight: 300;
	line-height: 1.9;
	color: rgba(255, 255, 255, .6);
	max-width: 440px;
}

.conv-sub strong {
	font-weight: 600;
	color: white;
}

.email-form {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 12px;
	padding: 48px 64px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.email-form-title {
	font-size: var(--text-reading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: white;
}

.email-form-sub {
	font-size: var(--text-base);
	font-weight: 300;
	color: rgba(255, 255, 255, .55);
	line-height: 1.6;
}

.email-input-row {
	display: flex;
	gap: 0;
	margin-top: 8px;
}

.email-input {
	flex: 1;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .15);
	border-right: none;
	border-radius: 100px 0 0 100px;
	font-family: var(--sans);
	font-size: var(--text-base);
	color: white;
	padding: 13px 20px;
	outline: none;
	transition: border-color .2s;
}

.email-input::placeholder {
	color: rgba(255, 255, 255, .3);
}

.email-input:focus {
	border-color: rgba(255, 255, 255, .4);
}

.btn-join {
	background: var(--purple);
	color: white;
	border: none;
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding: 13px 24px;
	border-radius: 0 100px 100px 0;
	white-space: nowrap;
	transition: background .2s;
}

.btn-join:hover {
	background: var(--gold);
	color: var(--ink);
}

.reassurance {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .07);
}

.rl {
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, .35);
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
}

.rl::before {
	content: '\2014';
	color: rgba(255, 255, 255, .2);
}

.sso-div {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 8px;
}

.sso-div-line {
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, .08);
}

.sso-div-text {
	font-size: 11px;
	color: rgba(255, 255, 255, .25);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	white-space: nowrap;
}

.btn-sso {
	width: 100%;
	margin-top: 8px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	color: rgba(255, 255, 255, .7);
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding: 12px;
	border-radius: 100px;
	transition: background .18s, border-color .18s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-sso:hover {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .28);
}

/* ══ FOOTER ══ */
.site-footer {
	background: var(--cream-2);
	border-top: 1px solid rgba(28, 26, 34, .08);
}

.footer-inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--px);
	padding-block: 48px;
}

.footer-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 64px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(28, 26, 34, .08);
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.footer-logo {
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.footer-logo-sq {
	width: 18px;
	height: 18px;
	background: var(--purple);
	border-radius: 2px;
}

.footer-tagline {
	font-size: var(--text-label);
	color: var(--ink-3);
	font-weight: 400;
	max-width: 220px;
	line-height: 1.6;
}

.footer-cols {
	display: flex;
	gap: 80px;
}

.footer-col-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--ink);
	margin-bottom: 16px;
}

.footer-col-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none;
}

.footer-col-links a {
	font-size: var(--text-label);
	color: var(--ink-3);
	font-weight: 500;
	transition: color .15s;
}

.footer-col-links a:hover {
	color: var(--ink);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.footer-copy {
	font-size: var(--text-sm);
	color: var(--ink-3);
}

.footer-legal {
	display: flex;
	gap: 32px;
}

.footer-legal a {
	font-size: var(--text-sm);
	color: var(--ink-3);
	font-weight: 500;
}

.footer-legal a:hover {
	color: var(--ink);
}

/* ══ HEATMAP CELLS ══ */
.h0 { background: rgba(118, 64, 200, .06); }
.h1 { background: rgba(118, 64, 200, .15); }
.h2 { background: rgba(118, 64, 200, .28); }
.h3 { background: rgba(118, 64, 200, .42); }
.h4 { background: rgba(118, 64, 200, .6); }
.h5 { background: rgba(118, 64, 200, .78); }

/* ══ FOCUS ══ */
:focus-visible {
	outline: 2px solid var(--purple);
	outline-offset: 3px;
}

/* ══ PROGRESS BAR HELPERS ══ */
.progress-track {
	height: 5px;
	background: rgba(28, 26, 34, .08);
	border-radius: 3px;
}

.progress-fill {
	height: 100%;
	border-radius: 3px;
}

.progress-fill--purple { background: var(--purple); }
.progress-fill--teal { background: var(--teal); }
.progress-fill--gold { background: var(--gold); }

/* ══ WP ADMIN BAR FIX ══ */
.admin-bar .nav-wrap {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .nav-wrap {
		top: 46px;
	}
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE COURSE PAGE
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Course Hero ── */
.site-main--course {
	background: var(--cream);
}

.course-hero {
	background: var(--cream);
	padding: var(--s9) 0 var(--s4);
	position: relative;
}

.course-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 50% at 20% 0%, var(--purple-l) 0%, transparent 70%);
	opacity: .35;
	pointer-events: none;
}

.course-hero__inner {
	position: relative;
	z-index: 1;
}

.course-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: var(--s3);
	font-family: var(--sans);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.course-breadcrumb a {
	color: var(--ink-2);
	transition: color .2s var(--ease);
}

.course-breadcrumb a:hover {
	color: var(--purple);
}

.course-breadcrumb__sep {
	color: var(--ink-3);
	font-size: 14px;
}

.course-breadcrumb__current {
	color: var(--ink-3);
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.course-hero__title {
	font-family: var(--serif);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 400;
	color: var(--ink);
	line-height: 1.15;
	margin-bottom: var(--s3);
}

.course-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.course-meta-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 14px;
	background: var(--purple-l);
	color: var(--purple);
	font-family: var(--sans);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 100px;
}

.course-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: var(--text-base);
	font-weight: 500;
}

.course-meta-item svg {
	color: var(--gold);
}

.course-meta-count {
	color: var(--ink-3);
	font-size: var(--text-sm);
}

.course-meta-cat {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	background: var(--cream-2);
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: .8px;
	text-transform: uppercase;
	border-radius: 100px;
	transition: background .2s var(--ease), color .2s var(--ease);
}

.course-meta-cat:hover {
	background: var(--purple-l);
	color: var(--purple);
}

.course-meta-completed {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 14px;
	background: var(--teal-l);
	color: var(--teal);
	font-family: var(--sans);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 100px;
}

/* ── Course Video ── */
.course-video {
	background: var(--cream);
	padding: 0 0 var(--s5);
}

.course-video__inner {
	max-width: 900px;
}

.course-video-wrap {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
	background: var(--ink);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(28, 26, 34, .12);
}

.course-video-wrap video,
.course-video-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.course-video-wrap img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ── Course Details ── */
.course-details {
	background: var(--cream);
	padding: 0 0 var(--s5);
}

.course-details__inner {
	max-width: 800px;
}

.course-section {
	margin-bottom: var(--s5);
}

.course-section:last-child {
	margin-bottom: 0;
}

.course-section h2 {
	font-family: var(--serif);
	font-size: clamp(20px, 2.5vw, 26px);
	font-weight: 400;
	color: var(--ink);
	letter-spacing: .3px;
	margin-bottom: var(--s2);
}

.course-section h2 em {
	font-style: italic;
}

.course-section__content {
	font-family: var(--sans);
	font-size: var(--text-reading);
	color: var(--ink-2);
	line-height: 1.75;
}

.course-section__content p {
	margin-bottom: var(--s2);
}

.course-section__content p:last-child {
	margin-bottom: 0;
}

.course-section__content ul,
.course-section__content ol {
	margin: var(--s2) 0;
	padding-left: var(--s3);
}

.course-section__content li {
	margin-bottom: 6px;
}

.course-resources {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.course-resources li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: #fff;
	border: 1px solid var(--cream-2);
	border-radius: 10px;
	color: var(--purple);
	font-family: var(--sans);
	font-size: var(--text-base);
	font-weight: 600;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.course-resources li a:hover {
	border-color: var(--purple);
	box-shadow: 0 2px 12px rgba(118, 64, 200, .12);
}

.course-resources li a svg {
	flex-shrink: 0;
	color: var(--purple);
}

/* ── Course Actions ── */
.course-actions {
	display: flex;
	justify-content: center;
	padding: var(--s4) 0 var(--s6);
	background: var(--cream);
}

.course-start-btn,
.course-complete-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 36px;
	border: none;
	border-radius: 100px;
	font-family: var(--sans);
	font-size: var(--text-label);
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	transition: background .2s var(--ease), transform .15s var(--ease);
}

.course-start-btn {
	background: var(--purple);
	color: #fff;
}

.course-start-btn:hover {
	background: var(--purple-d);
	transform: translateY(-1px);
}

.course-complete-btn {
	background: var(--teal);
	color: #fff;
}

.course-complete-btn:hover {
	background: #228572;
	transform: translateY(-1px);
}

.course-complete__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 36px;
	background: var(--teal-l);
	color: var(--teal);
	border-radius: 100px;
	font-family: var(--sans);
	font-size: var(--text-base);
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ── Course Recommend ── */
.course-recommend {
	text-align: center;
	padding: var(--s4) 0 var(--s5);
	background: var(--cream);
}
.course-recommend__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s2);
}
.course-recommend__action {
	display: flex;
	align-items: center;
	gap: var(--s2);
}
.course-recommend__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 2px solid var(--ink-3);
	border-radius: var(--r-pill);
	padding: 10px 24px;
	font-family: var(--sans);
	font-size: var(--text-base);
	font-weight: 600;
	color: var(--ink-2);
	cursor: pointer;
	transition: all .2s var(--ease);
}
.course-recommend__btn:hover {
	border-color: var(--purple);
	color: var(--purple);
}
.course-recommend__btn.is-active {
	background: var(--purple);
	border-color: var(--purple);
	color: #fff;
}
.course-recommend__btn.is-active:hover {
	background: var(--purple-d);
	border-color: var(--purple-d);
}
.course-recommend__btn svg {
	flex-shrink: 0;
}
.course-recommend__who {
	font-family: var(--sans);
	font-size: var(--text-sm);
	color: var(--ink-3);
	font-weight: 500;
}
.course-recommend__who strong {
	font-weight: 600;
	color: var(--ink-2);
}
.course-recommend__feedback {
	font-family: var(--sans);
	font-size: var(--text-sm);
	color: var(--teal);
	font-weight: 600;
	min-height: 1.4em;
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.course-recommend__feedback.is-visible {
	opacity: 1;
}

/* Archive card social proof chips */
.arc-card__chip--rec {
	color: var(--purple-l, #c4b5fd);
}
.arc-card__chip--popular {
	color: var(--teal);
	font-weight: 600;
}

/* Course hero social proof signals */
.course-meta-item--recommend {
	color: var(--purple);
}
.course-meta-badge--trending {
	background: var(--teal);
	color: #fff;
}

/* ── Course Recommendations ── */
.course-recs {
	background: var(--cream-2);
	padding: var(--s7) 0;
}

.course-recs__title {
	font-family: var(--serif);
	font-size: clamp(20px, 2.5vw, 26px);
	font-weight: 400;
	color: var(--ink);
	letter-spacing: .3px;
	margin-bottom: var(--s4);
}

.course-recs__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s4);
}

@media (max-width: 900px) {
	.course-recs__grid {
		grid-template-columns: 1fr;
	}
}

/* ══════════════════════════════════════════════════════════════════════════
   COURSE ARCHIVE PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.site-main--archive {
	background: var(--ink);
}

/* ── Archive Hero ── */
.archive-hero {
	background: var(--ink);
	padding: var(--s9) 0 var(--s6);
	text-align: center;
}

.archive-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--sans);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .4);
	margin-bottom: var(--s3);
}

.archive-hero__eyebrow-line {
	display: inline-block;
	width: 28px;
	height: 1px;
	background: currentColor;
	border-radius: 1px;
}

.archive-hero__title {
	font-family: var(--serif);
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 400;
	color: #fff;
	line-height: 1.12;
	margin-bottom: var(--s3);
}

.archive-hero__title em {
	color: var(--gold);
}

.archive-hero__desc {
	font-family: var(--sans);
	font-size: var(--text-reading);
	color: rgba(255, 255, 255, .6);
	max-width: 560px;
	margin: 0 auto var(--s5);
	line-height: 1.7;
}

.archive-hero__stats {
	display: flex;
	justify-content: center;
	gap: var(--s6);
}

.archive-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.archive-stat__num {
	font-family: var(--serif);
	font-size: 36px;
	color: #fff;
	line-height: 1;
}

.archive-stat__label {
	font-family: var(--sans);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .4);
	margin-top: 6px;
}

/* ── Sticky Filter Bar ── */
.filter-bar {
	position: sticky;
	top: 72px;
	z-index: 90;
	background: rgba(28, 26, 34, .85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid rgba(255, 255, 255, .06);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	padding: var(--s2) 0;
}

.admin-bar .filter-bar {
	top: 104px;
}

@media screen and (max-width: 782px) {
	.admin-bar .filter-bar {
		top: 118px;
	}
}

.filter-bar__inner {
	display: flex;
	align-items: center;
	gap: var(--s3);
	overflow-x: auto;
	scrollbar-width: none;
}

.filter-bar__inner::-webkit-scrollbar {
	display: none;
}

.filter-bar__sep {
	width: 1px;
	height: 24px;
	background: rgba(255, 255, 255, .12);
	flex-shrink: 0;
}

.filter-bar__group {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.arc-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 100px;
	color: rgba(255, 255, 255, .55);
	font-family: var(--sans);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: .8px;
	text-transform: uppercase;
	white-space: nowrap;
	transition: all .25s var(--ease);
}

.arc-chip:hover {
	background: rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .8);
}

.arc-chip.active {
	background: var(--purple);
	border-color: var(--purple);
	color: #fff;
}

/* ── Archive Grid ── */
.archive-grid-wrap {
	background: var(--ink);
	padding: var(--s5) 0 var(--s8);
	position: relative;
}

.archive-grid-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 40% at 80% 20%, rgba(118, 64, 200, .08) 0%, transparent 70%);
	pointer-events: none;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s4);
}

@media (max-width: 1024px) {
	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.archive-grid {
		grid-template-columns: 1fr;
	}
}

.archive-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: var(--s8) 0;
	color: rgba(255, 255, 255, .4);
	font-family: var(--sans);
	font-size: var(--text-md);
}

/* ── Archive Card ── */
.arc-card {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 12px;
	overflow: hidden;
	transition: transform .35s var(--expo), box-shadow .35s var(--expo), border-color .35s var(--ease), opacity .4s var(--ease);
}

.arc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
	border-color: rgba(255, 255, 255, .14);
}

.arc-card__visual {
	display: block;
	position: relative;
	height: 180px;
	overflow: hidden;
}

.arc-card__thumb {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .6;
	mix-blend-mode: luminosity;
	transition: opacity .3s var(--ease);
}

.arc-card:hover .arc-card__thumb {
	opacity: .85;
}

.arc-card__body {
	padding: var(--s3);
}

.arc-card__cat {
	display: inline-block;
	font-family: var(--sans);
	font-size: var(--text-10);
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--purple);
	margin-bottom: 8px;
}

.arc-card__title {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	margin-bottom: 8px;
}

.arc-card__title a {
	color: #fff;
	transition: color .2s var(--ease);
}

.arc-card__title a:hover {
	color: var(--purple);
}

.arc-card__desc {
	font-family: var(--sans);
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, .45);
	line-height: 1.6;
	margin-bottom: var(--s2);
}

.arc-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: var(--s2);
}

.arc-card__chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	background: rgba(255, 255, 255, .06);
	border-radius: 100px;
	font-family: var(--sans);
	font-size: var(--text-10);
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .45);
}

.arc-card__chip svg {
	color: var(--gold);
}

.arc-card__cta {
	display: inline-flex;
	align-items: center;
	font-family: var(--sans);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--purple);
	transition: color .2s var(--ease);
}

.arc-card__cta:hover {
	color: #fff;
}

/* Archive card filter */
.arc-card.is-hidden {
	display: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   GENERIC PAGE TEMPLATE
   ══════════════════════════════════════════════════════════════════════════ */

.site-main--page {
	background: var(--cream);
	padding: var(--s9) 0 var(--s7);
	min-height: 60vh;
}

.page-inner {
	max-width: 900px;
}

.page-header {
	margin-bottom: var(--s4);
}

.page-title {
	font-family: var(--serif);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 400;
	color: var(--ink);
	line-height: 1.15;
}

.page-content {
	font-family: var(--sans);
	font-size: var(--text-reading);
	color: var(--ink-2);
	line-height: 1.75;
}

.page-content p {
	margin-bottom: var(--s2);
}

.page-content h2 {
	font-family: var(--serif);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 400;
	color: var(--ink);
	margin: var(--s5) 0 var(--s2);
}

.page-content h3 {
	font-family: var(--serif);
	font-size: clamp(18px, 2.5vw, 24px);
	font-weight: 400;
	color: var(--ink);
	margin: var(--s4) 0 var(--s2);
}

.page-content a {
	color: var(--purple);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color .2s var(--ease);
}

.page-content a:hover {
	color: var(--purple-d);
}

.page-content ul,
.page-content ol {
	margin: var(--s2) 0;
	padding-left: var(--s3);
}

.page-content li {
	margin-bottom: 6px;
}

.page-content img {
	border-radius: 12px;
	margin: var(--s3) 0;
}
