/**
 * Home preset PAUD/TK — full premium layout (CSS-only + light JS reveal).
 *
 * @package Technologist
 */

/* =========================================================
   Tokens & base
========================================================= */
body.th-home-kampus-style {
	--th-surface: #faf8fc;
	--th-surface-2: #efe9f3;
	--th-surface-card: #ffffff;
	--th-heading: #2a1545;
	--th-muted: #645a6e;
	--th-border: rgba(100, 44, 145, 0.14);
	--th-radius: 16px;
	--th-radius-lg: 28px;
	--th-radius-xl: 36px;
	--th-shadow-sm: 0 4px 16px rgba(45, 20, 70, 0.06);
	--th-shadow-md: 0 16px 48px rgba(45, 20, 70, 0.12);
	--th-shadow-lg: 0 24px 64px rgba(45, 20, 70, 0.16);
	--th-primary-soft: rgba(100, 44, 145, 0.1);
	--th-accent-soft: rgba(201, 162, 39, 0.16);
	/* Typography scale — min 12px labels, 14px secondary, 16px body (Google legibility) */
	--th-font-root: 17px;
	--th-font-root-mobile: 16px;
	--th-text-xs: 12px;
	--th-text-sm: 0.875rem;
	--th-text-md: 1rem;
	--th-text-lg: 1.0625rem;
	--th-text-xl: 1.125rem;
	--th-line-body: 1.65;
	--th-line-relaxed: 1.75;
	font-family: 'Urbanist-fallback', 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--th-text, #241a2e);
	background: var(--th-surface);
	font-size: var(--th-font-root);
	line-height: var(--th-line-body);
	-webkit-font-smoothing: antialiased;
}

/* Cleaner chrome on preset home */
body.th-home-kampus-style .trending-ticker {
	display: none !important;
}

/* Header text logo — keep theme typography (not overridden by home body font). */
body.th-home-kampus-style #logo.text-logo a {
	text-transform: uppercase;
	-webkit-font-smoothing: antialiased;
}

body.th-home-kampus-style .th-home-wrapper {
	width: 100%;
	float: none;
	min-height: 0;
	overflow-x: hidden;
}

.th-home-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(18px, 4vw, 40px);
}

@media (prefers-reduced-motion: reduce) {
	body.th-home-kampus-style *,
	body.th-home-kampus-style *::before,
	body.th-home-kampus-style *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Scroll reveal — opacity only (no vertical shift). */
html.th-home-js .th-home-reveal {
	opacity: 0;
	transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

html.th-home-js .th-home-reveal.is-visible {
	opacity: 1;
}

/* =========================================================
   Shared: kicker, section head, wave, buttons
========================================================= */
.th-home-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--th-primary, #642c91);
	font-weight: 700;
	font-size: var(--th-text-xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 14px;
}

.th-home-kicker__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--th-accent, #c9a227);
	box-shadow: 0 0 0 4px var(--th-accent-soft);
	animation: th-home-pulse 2s ease-in-out infinite;
}

@keyframes th-home-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.15); opacity: 0.85; }
}

.th-home-kicker--glow {
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--th-surface-card);
	border: 1px solid var(--th-border);
	box-shadow: var(--th-shadow-sm);
}

.th-home-kicker--light {
	color: #f0d9a8;
}

.th-home-kicker--paud-badge {
	font-family: 'Days One', sans-serif;
	font-size: clamp(16px, 2.8vw, 20px);
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	padding: 10px 22px;
	border-radius: 999px;
	background: var(--th-primary, #642c91);
	color: #fff;
	box-shadow: var(--th-shadow-sm);
}

.th-home-kicker--paud-accent {
	text-transform: uppercase;
}

.th-home-kicker__paud {
	font-family: 'Days One', sans-serif;
	font-weight: 400;
	color: rgb(255, 107, 0);
	letter-spacing: 0.02em;
	text-transform: none;
}

.th-home-kicker--paud-badge .th-home-kicker__rest {
	color: #fff;
}

.th-home-section-head {
	margin-bottom: clamp(36px, 5vw, 52px);
	max-width: 740px;
}

.th-home-section-head--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.th-home-section-head--center .th-home-kicker--paud-badge {
	margin-left: auto;
	margin-right: auto;
}

.th-home-section-head__title {
	font-size: clamp(1.75rem, 3.5vw, 2.35rem);
	font-weight: 800;
	color: var(--th-heading);
	margin: 0 0 14px;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.th-home-section-head__title::after {
	content: '';
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 16px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--th-primary, #642c91), var(--th-accent, #c9a227));
}

.th-home-section-head--center .th-home-section-head__title::after {
	margin-left: auto;
	margin-right: auto;
}

.th-home-section-head__lead {
	font-size: var(--th-text-lg);
	color: var(--th-muted);
	line-height: var(--th-line-relaxed);
	margin: 0;
}

.th-home-section {
	padding: clamp(72px, 9vw, 110px) 0;
	content-visibility: auto;
	contain-intrinsic-size: auto 520px;
}

.th-home-wave {
	line-height: 0;
	color: var(--th-surface);
	margin-top: -1px;
}

.th-home-wave svg {
	display: block;
	width: 100%;
	height: clamp(40px, 6vw, 72px);
}

/* Buttons */
body.th-home-kampus-style .th-home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: var(--th-text-md);
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
	border: 2px solid transparent;
	cursor: pointer;
}

body.th-home-kampus-style .th-home-btn--lg {
	padding: 16px 32px;
	font-size: var(--th-text-lg);
}

body.th-home-kampus-style .th-home-btn:focus-visible {
	outline: 3px solid var(--th-accent, #c9a227);
	outline-offset: 3px;
}

body.th-home-kampus-style .th-home-btn--primary,
body.th-home-kampus-style .th-home-btn--primary:link,
body.th-home-kampus-style .th-home-btn--primary:visited {
	background-color: var(--th-primary, #642c91);
	border-color: var(--th-primary, #642c91);
	color: #fff;
	box-shadow: 0 8px 24px rgba(100, 44, 145, 0.32);
}

body.th-home-kampus-style .th-home-btn--primary:hover,
body.th-home-kampus-style .th-home-btn--primary:focus {
	background-color: var(--th-secondary, #3b1a57);
	border-color: var(--th-secondary, #3b1a57);
	color: #fff;
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 16px 36px rgba(100, 44, 145, 0.38);
}

body.th-home-kampus-style .th-home-btn--outline,
body.th-home-kampus-style .th-home-btn--outline:link,
body.th-home-kampus-style .th-home-btn--outline:visited {
	background-color: #fff;
	color: var(--th-primary, #642c91);
	border-color: var(--th-primary, #642c91);
	box-shadow: var(--th-shadow-sm);
}

body.th-home-kampus-style .th-home-btn--outline:hover,
body.th-home-kampus-style .th-home-btn--outline:focus {
	background-color: var(--th-primary, #642c91);
	color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(100, 44, 145, 0.28);
}

body.th-home-kampus-style .th-home-btn--accent,
body.th-home-kampus-style .th-home-btn--accent:link,
body.th-home-kampus-style .th-home-btn--accent:visited {
	background-color: var(--th-accent, #c9a227);
	border-color: var(--th-accent, #c9a227);
	color: #fff;
	box-shadow: 0 8px 24px rgba(184, 132, 31, 0.35);
}

body.th-home-kampus-style .th-home-btn--accent:hover,
body.th-home-kampus-style .th-home-btn--accent:focus {
	background-color: #9a6f18;
	border-color: #9a6f18;
	color: #fff;
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 16px 36px rgba(184, 132, 31, 0.4);
}

/* =========================================================
   HERO — split + showcase
========================================================= */
.th-home-hero {
	position: relative;
	padding: clamp(100px, 12vw, 140px) 0 0;
	background: linear-gradient(155deg, #fff 0%, var(--th-surface) 40%, #efe6f5 100%);
	overflow: hidden;
}

.th-home-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.th-home-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.7;
	contain: layout style paint;
}

.th-home-hero__orb--1 {
	width: 400px;
	height: 400px;
	top: -10%;
	left: -8%;
	background: var(--th-primary-soft);
	animation: th-home-float 8s ease-in-out infinite;
}

.th-home-hero__orb--2 {
	width: 320px;
	height: 320px;
	top: 20%;
	right: -5%;
	background: var(--th-accent-soft);
	animation: th-home-float 10s ease-in-out infinite reverse;
}

.th-home-hero__orb--3 {
	width: 200px;
	height: 200px;
	bottom: 10%;
	left: 40%;
	background: rgba(255, 255, 255, 0.6);
	animation: th-home-float 12s ease-in-out infinite 1s;
}

@keyframes th-home-float {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(12px, -16px); }
}

.th-home-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
	gap: clamp(24px, 4vw, 40px);
	align-items: center;
	padding-bottom: clamp(48px, 6vw, 72px);
}

.th-home-hero__title {
	font-size: clamp(2.1rem, 4.5vw, var(--th-hero-title, 52px));
	font-weight: 800;
	line-height: 1.08;
	margin: 0 0 20px;
	color: var(--th-heading);
	letter-spacing: -0.04em;
}

.th-home-hero__subtitle {
	font-size: clamp(16px, 2vw, var(--th-hero-subtitle, 18px));
	color: var(--th-muted);
	line-height: var(--th-line-relaxed);
	margin: 0 0 28px;
	max-width: 520px;
}

.th-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 28px;
}

.th-home-hero__trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.th-home-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--th-text-sm);
	font-weight: 600;
	color: var(--th-muted);
}

.th-home-hero__trust i {
	color: var(--th-primary, #642c91);
}

/* Showcase — compact accent (desktop/tablet only) */
.th-home-hero__showcase--compact {
	position: relative;
	max-width: 300px;
	width: 100%;
	justify-self: end;
}

.th-home-hero__frame {
	position: relative;
	border-radius: var(--th-radius-lg);
	padding: 6px;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: var(--th-shadow-md);
	border: 1px solid var(--th-border);
}

.th-home-hero__photo {
	display: block;
	width: 100%;
	border-radius: calc(var(--th-radius-lg) - 4px);
	aspect-ratio: 5 / 4;
	object-fit: contain;
	object-position: center;
	background: linear-gradient(160deg, var(--th-primary-soft) 0%, var(--th-accent-soft) 100%);
}

.th-home-hero__photo--placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 0;
	aspect-ratio: 5 / 4;
	color: var(--th-primary, #642c91);
}

.th-home-hero__photo--placeholder i {
	font-size: 40px;
	opacity: 0.3;
}

.th-home-hero__photo--placeholder span {
	font-size: var(--th-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.55;
}

.th-home-hero__float {
	position: absolute;
	background: var(--th-surface-card);
	border-radius: var(--th-radius);
	padding: 8px 12px;
	box-shadow: var(--th-shadow-sm);
	border: 1px solid var(--th-border);
}

.th-home-hero__float--badge {
	top: 10px;
	left: 10px;
	right: auto;
	bottom: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: max-content;
	max-width: calc(100% - 20px);
	padding: 6px 12px 6px 6px;
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(14px) saturate(165%);
	backdrop-filter: blur(14px) saturate(165%);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 14px;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.85) inset,
		0 6px 18px rgba(45, 20, 70, 0.08);
	pointer-events: none;
}

.th-home-hero__float-icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(145deg, rgba(201, 162, 39, 0.22) 0%, rgba(100, 44, 145, 0.12) 100%);
	color: var(--th-accent, #c9a227);
	font-size: 13px;
	line-height: 1;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.th-home-hero__float-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1 1 auto;
	text-align: left;
}

.th-home-hero__float-copy strong {
	display: block;
	font-size: var(--th-text-xs);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: var(--th-heading);
}

.th-home-hero__float-copy span {
	display: block;
	font-size: var(--th-text-xs);
	font-weight: 500;
	line-height: 1.25;
	color: var(--th-muted);
}

.th-home-hero__float--stat {
	top: 12px;
	right: -8px;
	text-align: center;
}

.th-home-hero__float--stat strong {
	display: block;
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--th-primary, #642c91);
	line-height: 1;
}

.th-home-hero__float--stat span {
	font-size: var(--th-text-xs);
	font-weight: 600;
	color: var(--th-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.th-home-wave--hero {
	color: var(--th-surface);
	position: relative;
	z-index: 3;
}

/* Hero with uploaded background image — content centered, orbs/showcase off */
.th-home-hero--image .th-home-hero__bg,
.th-home-hero--image .th-home-hero__showcase {
	display: none;
}

.th-home-hero--image .th-home-hero__grid {
	grid-template-columns: 1fr;
	text-align: center;
	max-width: 760px;
}

.th-home-hero--image .th-home-hero__content {
	margin: 0 auto;
}

.th-home-hero--image .th-home-hero__subtitle {
	margin-left: auto;
	margin-right: auto;
}

.th-home-hero--image .th-home-hero__actions,
.th-home-hero--image .th-home-hero__trust {
	justify-content: center;
}

.th-home-hero--image .th-home-kicker--glow {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
}

.th-home-hero--image .th-home-hero__trust i {
	color: #f0d9a8;
}

/* =========================================================
   ENROLLMENT — floating card
========================================================= */
.th-home-enrollment-wrap {
	padding: 0 0 clamp(72px, 8vw, 96px);
	margin-top: -48px;
	position: relative;
	z-index: 4;
}

.th-home-enrollment-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: clamp(24px, 4vw, 40px);
	align-items: center;
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--th-radius-xl);
	background-color: var(--th-secondary, #3b1a57);
	background-image: linear-gradient(125deg, var(--th-secondary, #3b1a57) 0%, var(--th-primary, #642c91) 100%);
	color: #fff;
	box-shadow: var(--th-shadow-lg);
	border: 1px solid rgba(255, 255, 255, 0.12);
	position: relative;
	overflow: hidden;
}

.th-home-enrollment-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 20px 20px;
	opacity: 0.6;
	pointer-events: none;
}

.th-home-enrollment-card > * {
	position: relative;
	z-index: 1;
}

.th-home-enrollment-card__badge {
	text-align: center;
	padding: 20px 24px;
	border-radius: var(--th-radius-lg);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	min-width: 120px;
}

.th-home-enrollment-card__year {
	display: block;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
}

.th-home-enrollment-card__label {
	display: block;
	font-size: var(--th-text-xs);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	opacity: 0.8;
	margin-top: 6px;
}

.th-home-enrollment-card__body {
	min-width: 0;
}

.th-home-enrollment-card__title {
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 800;
	margin: 0 0 12px;
	line-height: 1.2;
	color: #fff;
}

.th-home-enrollment-card__text {
	margin: 0;
	font-size: var(--th-text-md);
	line-height: var(--th-line-relaxed);
	opacity: 0.92;
	max-width: none;
	width: 100%;
}

.th-home-enrollment-card__cta {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	min-width: min(100%, 200px);
}

.th-home-enrollment-card__cta .th-home-btn {
	justify-content: center;
	white-space: nowrap;
}

body.th-home-kampus-style .th-home-btn--light-outline,
body.th-home-kampus-style .th-home-btn--light-outline:link,
body.th-home-kampus-style .th-home-btn--light-outline:visited {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.85);
	box-shadow: none;
}

body.th-home-kampus-style .th-home-btn--light-outline:hover,
body.th-home-kampus-style .th-home-btn--light-outline:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

/* =========================================================
   FEATURES — bento grid
========================================================= */
.th-home-features {
	background: var(--th-surface-card);
}

.th-home-features__bento {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	grid-auto-rows: minmax(160px, auto);
	gap: 18px;
}

.th-home-highlight {
	position: relative;
	background: var(--th-surface);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-lg);
	padding: 28px 24px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.th-home-highlight::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--th-primary, #642c91), var(--th-accent, #c9a227));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.th-home-highlight:hover {
	transform: translateY(-6px);
	box-shadow: var(--th-shadow-md);
	border-color: rgba(100, 44, 145, 0.25);
}

.th-home-highlight:hover::before {
	opacity: 1;
}

.th-home-highlight--featured {
	grid-column: span 2;
	grid-row: span 2;
	background: linear-gradient(160deg, #fff 0%, var(--th-surface) 100%);
	padding: 36px 32px;
}

.th-home-highlight--featured .th-home-highlight__icon {
	width: 64px;
	height: 64px;
	font-size: 28px;
}

.th-home-highlight--featured .th-home-highlight__title {
	font-size: 1.35rem;
}

.th-home-highlight__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--th-primary-soft), var(--th-accent-soft));
	color: var(--th-primary, #642c91);
	font-size: 22px;
	margin-bottom: 18px;
}

.th-home-highlight__title {
	font-size: var(--th-text-xl);
	font-weight: 700;
	color: var(--th-heading);
	margin: 0 0 10px;
}

.th-home-highlight__text {
	font-size: var(--th-text-sm);
	color: var(--th-muted);
	line-height: var(--th-line-body);
	margin: 0;
}

.th-home-highlight__num {
	position: absolute;
	bottom: 12px;
	right: 16px;
	font-size: 3rem;
	font-weight: 900;
	line-height: 1;
	color: rgba(100, 44, 145, 0.06);
	letter-spacing: -0.04em;
	user-select: none;
}

/* =========================================================
   WELCOME — editorial panel
========================================================= */
.th-home-welcome {
	background: var(--th-surface);
}

.th-home-welcome__panel {
	display: grid;
	grid-template-columns: minmax(260px, 340px) 1fr;
	gap: clamp(32px, 5vw, 56px);
	align-items: center;
	padding: clamp(32px, 4vw, 48px);
	border-radius: var(--th-radius-xl);
	background-color: var(--th-secondary, #3b1a57);
	background-image: linear-gradient(145deg, var(--th-secondary, #3b1a57) 0%, var(--th-primary, #642c91) 100%);
	color: #fff;
	box-shadow: var(--th-shadow-lg);
	overflow: hidden;
	position: relative;
}

.th-home-welcome__panel::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	pointer-events: none;
}

.th-home-welcome__photo {
	margin: 0;
	position: relative;
	z-index: 1;
}

.th-home-welcome__photo img,
.th-home-welcome__photo-placeholder {
	width: 100%;
	border-radius: var(--th-radius-lg);
	display: block;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: 4px solid rgba(255, 255, 255, 0.2);
	box-shadow: var(--th-shadow-md);
}

.th-home-welcome__photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.08);
	min-height: 280px;
}

.th-home-welcome__caption {
	margin-top: 12px;
	text-align: center;
	font-size: var(--th-text-sm);
	font-weight: 600;
	color: #f0d9a8;
}

.th-home-welcome__content {
	position: relative;
	z-index: 1;
}

.th-home-welcome__name {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	margin: 0 0 20px;
	line-height: 1.2;
	color: #fff;
}

.th-home-welcome__quote {
	margin: 0;
	padding: 0 0 0 20px;
	border-left: 4px solid var(--th-accent, #c9a227);
}

.th-home-welcome__quote p {
	margin: 0;
	font-size: var(--th-text-lg);
	line-height: var(--th-line-relaxed);
	opacity: 0.94;
	font-style: italic;
}

/* =========================================================
   PROGRAMS
========================================================= */
.th-home-programs {
	background: var(--th-surface-2);
}

.th-home-programs__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.th-home-program-card {
	position: relative;
	background: var(--th-surface-card);
	border-radius: var(--th-radius-lg);
	padding: 25px 64px 25px 20px;
	border: 1px solid var(--th-border);
	box-shadow: var(--th-shadow-sm);
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	column-gap: 18px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	overflow: hidden;
}

a.th-home-program-card--linked {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

a.th-home-program-card--linked:focus-visible {
	outline: 2px solid var(--th-primary, #642c91);
	outline-offset: 3px;
}

/* Soft tint backgrounds (slug diacak per load via PHP) */
.th-home-program-card--tint-peach {
	background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
	border-color: rgba(234, 88, 12, 0.14);
}

.th-home-program-card--tint-lavender {
	background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
	border-color: rgba(100, 44, 145, 0.14);
}

.th-home-program-card--tint-sky {
	background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
	border-color: rgba(37, 99, 235, 0.14);
}

.th-home-program-card--tint-mint {
	background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
	border-color: rgba(5, 150, 105, 0.14);
}

.th-home-program-card--tint-rose {
	background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%);
	border-color: rgba(225, 29, 72, 0.12);
}

.th-home-program-card--tint-cyan {
	background: linear-gradient(145deg, #ecfeff 0%, #cffafe 100%);
	border-color: rgba(8, 145, 178, 0.14);
}

.th-home-program-card--tint-lemon {
	background: linear-gradient(145deg, #fefce8 0%, #fef9c3 100%);
	border-color: rgba(202, 138, 4, 0.14);
}

.th-home-program-card--tint-lilac {
	background: linear-gradient(145deg, #faf5ff 0%, #f3e8ff 100%);
	border-color: rgba(126, 34, 206, 0.14);
}

.th-home-program-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--th-primary, #642c91), var(--th-accent, #c9a227));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.th-home-program-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--th-shadow-md);
}

.th-home-program-card:hover::after {
	transform: scaleX(1);
}

.th-home-program-card__index {
	position: absolute;
	top: 14px;
	right: 16px;
	font-size: 2.25rem;
	font-weight: 900;
	line-height: 1;
	color: rgba(100, 44, 145, 0.07);
	pointer-events: none;
}

.th-home-program-card__icon {
	grid-column: 1;
	grid-row: 1;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--th-primary-soft), var(--th-accent-soft));
	color: var(--th-primary, #642c91);
	font-size: 22px;
	flex-shrink: 0;
}

.th-home-programs__grid .th-home-program-card__icon {
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.th-home-program-card__info {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

.th-home-program-card__info h3 {
	font-size: var(--th-text-xl);
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--th-heading);
	line-height: 1.35;
}

.th-home-program-card__info p {
	font-size: var(--th-text-sm);
	color: var(--th-muted);
	margin: 0;
	line-height: var(--th-line-body);
}

/* =========================================================
   STATS band
========================================================= */
.th-home-stats-band {
	padding: clamp(40px, 5vw, 56px) 0;
	background: var(--th-heading);
	color: #fff;
}

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

.th-home-stat-pill {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	border-radius: var(--th-radius-lg);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.25s ease, transform 0.25s ease;
}

.th-home-stat-pill:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-4px);
}

.th-home-stat-pill__icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--th-accent, #c9a227);
	color: #fff;
	font-size: 22px;
}

.th-home-stat-pill__data strong {
	display: block;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	line-height: 1;
	color: #fff;
	letter-spacing: -0.02em;
}

.th-home-stat-pill__data span {
	font-size: var(--th-text-sm);
	opacity: 0.85;
	font-weight: 500;
}

/* =========================================================
   FAQ
========================================================= */
.th-home-faq {
	background: var(--th-surface-card);
}

.th-home-faq__layout {
	display: grid;
	grid-template-columns: minmax(260px, 360px) 1fr;
	gap: clamp(32px, 5vw, 56px);
	align-items: start;
}

.th-home-faq__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.th-home-faq__item {
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius);
	background: var(--th-surface);
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.th-home-faq__item[open] {
	border-color: var(--th-primary, #642c91);
	box-shadow: var(--th-shadow-sm);
	background: #fff;
}

.th-home-faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 22px 24px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.th-home-faq__item summary::-webkit-details-marker {
	display: none;
}

.th-home-faq__q {
	font-size: var(--th-text-md);
	color: var(--th-heading);
	line-height: 1.4;
	flex: 1;
}

.th-home-faq__toggle {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--th-primary-soft);
	color: var(--th-primary, #642c91);
	transition: transform 0.25s ease, background 0.25s ease;
}

.th-home-faq__item[open] .th-home-faq__toggle {
	transform: rotate(45deg);
	background: var(--th-primary, #642c91);
	color: #fff;
}

.th-home-faq__answer {
	padding: 0 24px 22px;
}

.th-home-faq__answer p {
	margin: 0 0 0.75em;
	color: var(--th-muted);
	line-height: var(--th-line-relaxed);
	font-size: var(--th-text-md);
}

.th-home-faq__answer p:last-child {
	margin-bottom: 0;
}

.th-home-faq__answer a {
	color: var(--th-primary, #642c91);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.th-home-faq__answer a:hover,
.th-home-faq__answer a:focus {
	color: var(--th-secondary, #3b1a57);
}

/* =========================================================
   Invest / program cards (legacy .th-home-contact-*)
========================================================= */
.th-home-contact {
	background: var(--th-surface);
}

.th-home-contact__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.th-home-invest-card {
	position: relative;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	align-items: center;
	column-gap: 18px;
	padding: 18px 20px;
	border-radius: 18px;
	background: linear-gradient(145deg, #fff 0%, #faf8ff 100%);
	border: 1px solid rgba(100, 44, 145, 0.1);
	box-shadow: 0 4px 24px rgba(100, 44, 145, 0.06);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
	overflow: hidden;
}

.th-home-invest-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--th-primary, #642c91), var(--th-accent, #c9a227));
	opacity: 0;
	transition: opacity 0.28s ease;
}

a.th-home-invest-card--linked {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

a.th-home-invest-card--linked:focus-visible {
	outline: 2px solid var(--th-primary, #642c91);
	outline-offset: 3px;
}

.th-home-invest-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 36px rgba(100, 44, 145, 0.12);
	border-color: rgba(100, 44, 145, 0.18);
}

.th-home-invest-card:hover::before {
	opacity: 1;
}

.th-home-invest-card__media {
	width: 96px;
	height: 96px;
	border-radius: 16px;
	overflow: hidden;
	flex-shrink: 0;
	background: linear-gradient(145deg, var(--th-primary-soft), #fff);
	box-shadow: inset 0 0 0 1px rgba(100, 44, 145, 0.08);
}

.th-home-invest-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.th-home-invest-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--th-primary, #642c91);
	font-size: 26px;
	opacity: 0.35;
}

.th-home-invest-card__body {
	min-width: 0;
}

.th-home-invest-card__label {
	margin: 0 0 6px;
	font-size: var(--th-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--th-muted);
	line-height: 1.3;
}

.th-home-invest-card__desc {
	margin: 0 0 10px;
	font-size: var(--th-text-lg);
	font-weight: 700;
	color: var(--th-heading);
	line-height: 1.45;
}

.th-home-invest-card__price {
	margin: 0;
	font-size: var(--th-text-sm);
	color: var(--th-muted);
	line-height: 1.4;
}

.th-home-invest-card__price-label {
	display: block;
	margin-bottom: 2px;
}

.th-home-invest-card__price-value {
	display: block;
	font-size: var(--th-text-xl);
	font-weight: 800;
	color: var(--th-primary, #642c91);
	letter-spacing: -0.01em;
}

/* =========================================================
   NEWS — featured + grid
========================================================= */
.th-home-news {
	background: var(--th-surface-card);
}

.th-home-news__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 22px;
}

.th-home-news-card {
	background: var(--th-surface-card);
	border-radius: var(--th-radius-lg);
	overflow: hidden;
	border: 1px solid var(--th-border);
	box-shadow: var(--th-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.th-home-news-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--th-shadow-md);
}

.th-home-news-card--featured {
	grid-row: span 2;
}

.th-home-news-card__thumb {
	display: block;
	overflow: hidden;
	background: var(--th-surface-2);
}

.th-home-news-card--featured .th-home-news-card__thumb {
	aspect-ratio: 16 / 11;
}

.th-home-news-card:not(.th-home-news-card--featured) .th-home-news-card__thumb {
	aspect-ratio: 16 / 10;
}

.th-home-news-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.th-home-news-card:hover .th-home-news-card__thumb img {
	transform: scale(1.05);
}

.th-home-news-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	color: var(--th-muted);
	font-size: 32px;
	opacity: 0.4;
}

.th-home-news-card__body {
	padding: 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.th-home-news-card__body time {
	font-size: var(--th-text-xs);
	font-weight: 700;
	color: var(--th-primary, #642c91);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}

.th-home-news-card__body h3 {
	font-size: var(--th-text-lg);
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.35;
}

.th-home-news-card--featured .th-home-news-card__body h3 {
	font-size: 1.25rem;
}

.th-home-news-card__body h3 a {
	color: var(--th-heading);
	text-decoration: none;
}

.th-home-news-card__body h3 a:hover {
	color: var(--th-primary, #642c91);
}

.th-home-news-card__body p {
	font-size: var(--th-text-sm);
	color: var(--th-muted);
	line-height: var(--th-line-body);
	margin: 0 0 14px;
	flex: 1;
}

.th-home-news-card__link {
	color: var(--th-primary, #642c91);
	font-weight: 700;
	font-size: var(--th-text-sm);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
}

.th-home-news__more {
	margin-top: 44px;
	text-align: center;
}

/* =========================================================
   Bottom navigation — glass bar + colored icon tiles
========================================================= */
nav.th-home-bottom-nav {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	position: fixed !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 99999 !important;
}

nav.th-home-bottom-nav[hidden] {
	display: none !important;
}

@media screen and (max-width: 1024px) {
	body.th-home-with-bottom-nav {
		padding-bottom: 88px !important;
	}

	body.th-home-with-bottom-nav nav.th-home-bottom-nav {
		display: block !important;
		visibility: visible !important;
		pointer-events: auto !important;
		background: rgba(255, 255, 255, 0.72) !important;
		-webkit-backdrop-filter: blur(20px) saturate(180%);
		backdrop-filter: blur(20px) saturate(180%);
		box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.65), 0 -12px 40px rgba(15, 23, 42, 0.1) !important;
		border-top: 1px solid rgba(255, 255, 255, 0.55) !important;
		font-family: 'Urbanist', system-ui, -apple-system, sans-serif !important;
	}

	body.th-home-with-bottom-nav #move-to-top {
		bottom: 96px !important;
	}

	body.th-home-with-bottom-nav .th-home-bottom-nav__inner {
		display: flex !important;
		flex-direction: row !important;
		justify-content: space-evenly !important;
		align-items: flex-end !important;
		width: 100% !important;
		max-width: 520px !important;
		margin: 0 auto !important;
		padding: 10px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
		box-sizing: border-box !important;
		float: none !important;
	}

	body.th-home-with-bottom-nav a.th-home-bottom-nav__item,
	body.th-home-with-bottom-nav a.th-home-bottom-nav__item:link,
	body.th-home-with-bottom-nav a.th-home-bottom-nav__item:visited,
	body.th-home-with-bottom-nav a.th-home-bottom-nav__item:hover,
	body.th-home-with-bottom-nav a.th-home-bottom-nav__item:active {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: flex-start !important;
		flex: 1 1 0 !important;
		min-width: 0 !important;
		width: auto !important;
		max-width: none !important;
		padding: 0 4px !important;
		margin: 0 !important;
		float: none !important;
		clear: none !important;
		text-decoration: none !important;
		text-align: center !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		color: var(--th-muted) !important;
		-webkit-tap-highlight-color: transparent;
	}

	body.th-home-with-bottom-nav .th-home-bottom-nav__icon {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 48px !important;
		height: 48px !important;
		min-width: 48px !important;
		min-height: 48px !important;
		margin: 0 auto 6px !important;
		padding: 0 !important;
		border-radius: 12px !important;
		background-color: var(--th-nav-icon-bg, rgba(99, 102, 241, 0.18)) !important;
		color: var(--th-nav-icon-color, #6366f1) !important;
		box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
		transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
	}

	body.th-home-with-bottom-nav .th-home-bottom-nav__icon .fa {
		display: block !important;
		font-family: FontAwesome !important;
		font-size: 20px !important;
		line-height: 1 !important;
		width: 1em !important;
		height: 1em !important;
		margin: 0 !important;
		padding: 0 !important;
		color: inherit !important;
		background: transparent !important;
		border: none !important;
		border-radius: 0 !important;
		float: none !important;
		text-rendering: auto !important;
		-webkit-font-smoothing: antialiased !important;
	}

	body.th-home-with-bottom-nav .th-home-bottom-nav__label {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		font-family: 'Urbanist', system-ui, -apple-system, sans-serif !important;
		font-size: var(--th-text-xs) !important;
		font-weight: 600 !important;
		line-height: 1.15 !important;
		letter-spacing: 0.2px !important;
		color: var(--th-muted) !important;
		text-align: center !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		float: none !important;
	}

	body.th-home-with-bottom-nav a.th-home-bottom-nav__item.is-active .th-home-bottom-nav__icon,
	body.th-home-with-bottom-nav a.th-home-bottom-nav__item:hover .th-home-bottom-nav__icon {
		transform: translateY(-3px) !important;
		box-shadow: var(--th-shadow-md) !important;
	}

	body.th-home-with-bottom-nav a.th-home-bottom-nav__item.is-active .th-home-bottom-nav__label {
		font-weight: 700 !important;
		color: #3730a3 !important;
	}
}

/* =========================================================
   Responsive
========================================================= */
@media screen and (max-width: 1024px) {
	.th-home-hero {
		padding-top: clamp(88px, 10vw, 110px);
	}

	.th-home-hero__grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	/* Hero image hidden on mobile: LCP is text; saves bandwidth and avoids CLS. */
	.th-home-hero__showcase,
	.th-home-hero__showcase--compact {
		display: none !important;
	}

	.th-home-hero__subtitle,
	.th-home-section-head {
		margin-left: auto;
		margin-right: auto;
	}

	.th-home-hero__actions,
	.th-home-hero__trust {
		justify-content: center;
	}

	.th-home-enrollment-card {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.th-home-enrollment-card__body {
		width: 100%;
	}

	.th-home-enrollment-card__text {
		max-width: 100%;
	}

	.th-home-enrollment-card__cta {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 280px;
		margin-left: auto;
		margin-right: auto;
	}

	.th-home-features__bento {
		grid-template-columns: 1fr 1fr;
	}

	.th-home-highlight--featured {
		grid-column: span 2;
		grid-row: span 1;
	}

	.th-home-welcome__panel {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.th-home-welcome__quote {
		border-left: none;
		border-top: 4px solid var(--th-accent, #c9a227);
		padding: 20px 0 0;
	}

	.th-home-welcome__photo {
		max-width: 280px;
		margin: 0 auto;
	}

	.th-home-programs__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.th-home-faq__layout {
		grid-template-columns: 1fr;
	}

	.th-home-news__grid {
		grid-template-columns: 1fr 1fr;
	}

	.th-home-news-card--featured {
		grid-column: span 2;
		grid-row: span 1;
	}
}

@media screen and (max-width: 768px) {
	body.th-home-kampus-style {
		font-size: var(--th-font-root-mobile);
		line-height: var(--th-line-relaxed);
	}

	.th-home-section {
		padding: 56px 0;
	}

	.th-home-features__bento,
	.th-home-stats-band__grid,
	.th-home-contact__grid,
	.th-home-news__grid {
		grid-template-columns: 1fr;
	}

	.th-home-programs__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.th-home-invest-card {
		grid-template-columns: 80px minmax(0, 1fr);
		column-gap: 14px;
		padding: 16px;
	}

	.th-home-invest-card__media {
		width: 80px;
		height: 80px;
	}

	.th-home-faq__item summary {
		padding: 18px 16px;
	}

	.th-home-faq__answer {
		padding: 0 16px 18px;
	}

	.th-home-highlight--featured,
	.th-home-news-card--featured {
		grid-column: span 1;
	}

	.th-home-enrollment-wrap {
		margin-top: -24px;
	}
}
