/*
 * =========================================================================
 * TemperWorks Individual Class Template
 * =========================================================================
 *
 * Visual language:
 * - Dark background
 * - TemperWorks accent treatment
 * - Rounded cards / bubbles
 * - Hover expansion
 * - Strong typography hierarchy
 * - Responsive grids
 *
 * =========================================================================
 */


/* =========================================================================
   ROOT / CONTAINER
   ========================================================================= */

.tw-class-page {
	width: 100%;
	background: #0b0d10;
	color: #e8edf2;
}

.tw-class-page *,
.tw-class-page *::before,
.tw-class-page *::after {
	box-sizing: border-box;
}

.tw-class-container {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
}


/* =========================================================================
   HERO
   ========================================================================= */

.tw-class-hero {
	position: relative;
	overflow: hidden;
	padding: 100px 0 80px;
	background:
		radial-gradient(
			circle at 85% 20%,
			rgba(80, 180, 255, 0.12),
			transparent 35%
		),
		linear-gradient(
			180deg,
			#11151a 0%,
			#0b0d10 100%
		);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tw-class-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 70px;
	align-items: center;
}

.tw-class-hero-content {
	max-width: 850px;
}

.tw-class-eyebrow,
.tw-class-section-label {
	display: inline-block;
	margin-bottom: 14px;
	color: #6ecbff;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-transform: uppercase;
}

.tw-class-program-number {
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tw-class-title-number {
	margin-bottom: 4px;
	color: #6ecbff;
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 900;
	line-height: 0.8;
	letter-spacing: -0.05em;
	opacity: 0.22;
}

.tw-class-title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.tw-class-lead {
	max-width: 820px;
	margin: 25px 0 0;
	color: #b7c0ca;
	font-size: 1.15rem;
	line-height: 1.75;
}


/* =========================================================================
   BREADCRUMB
   ========================================================================= */

.tw-class-breadcrumb {
	margin-bottom: 25px;
}

.tw-class-breadcrumb a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #8fd8ff;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition:
		color 180ms ease,
		transform 180ms ease;
}

.tw-class-breadcrumb a:hover {
	color: #ffffff;
	transform: translateX(3px);
}


/* =========================================================================
   HERO SIDE PANEL
   ========================================================================= */

.tw-class-hero-panel {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tw-class-hero-panel-inner {
	display: flex;
	width: 240px;
	height: 240px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border: 1px solid rgba(110, 203, 255, 0.35);
	border-radius: 50%;
	background:
		radial-gradient(
			circle,
			rgba(110, 203, 255, 0.14),
			rgba(110, 203, 255, 0.025) 65%,
			transparent 70%
		);
	box-shadow:
		0 0 80px rgba(110, 203, 255, 0.08),
		inset 0 0 50px rgba(110, 203, 255, 0.04);
}

.tw-class-hero-panel-inner span {
	color: #6ecbff;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.tw-class-hero-panel-inner strong {
	margin: 4px 0;
	color: #ffffff;
	font-size: 4rem;
	font-weight: 900;
	line-height: 1;
}

.tw-class-hero-panel-inner small {
	color: #7e8994;
	font-size: 0.75rem;
	font-weight: 700;
}


/* =========================================================================
   META
   ========================================================================= */

.tw-class-meta-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 38px;
}

.tw-class-meta-card {
	min-height: 82px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.035);
}

.tw-class-meta-label {
	display: block;
	margin-bottom: 7px;
	color: #707b86;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tw-class-meta-card strong {
	display: block;
	overflow-wrap: anywhere;
	color: #ffffff;
	font-size: 0.9rem;
	line-height: 1.35;
}


/* =========================================================================
   STICKY NAVIGATION
   ========================================================================= */

.tw-class-navigation {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(11, 13, 16, 0.94);
	backdrop-filter: blur(14px);
}

.tw-class-navigation-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 0;
}

.tw-class-navigation a {
	padding: 9px 14px;
	border-radius: 999px;
	color: #8d98a3;
	font-size: 0.78rem;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition:
		background 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.tw-class-navigation a:hover {
	background: rgba(110, 203, 255, 0.1);
	color: #ffffff;
	transform: translateY(-1px);
}


/* =========================================================================
   SECTIONS
   ========================================================================= */

.tw-class-section {
	padding: 90px 0;
}

.tw-class-section:nth-of-type(even) {
	background: #0e1115;
}

.tw-class-section-heading {
	max-width: 760px;
	margin-bottom: 42px;
}

.tw-class-section-heading h2 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.tw-class-section-heading p {
	margin: 16px 0 0;
	color: #89949f;
	font-size: 1rem;
	line-height: 1.7;
}


/* =========================================================================
   OVERVIEW CARDS
   ========================================================================= */

.tw-class-overview-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.tw-class-info-card {
	position: relative;
	min-height: 230px;
	padding: 28px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	background:
		linear-gradient(
			145deg,
			rgba(255, 255, 255, 0.055),
			rgba(255, 255, 255, 0.018)
		);
	transition:
		transform 220ms ease,
		border-color 220ms ease,
		box-shadow 220ms ease;
}

.tw-class-info-card::after {
	position: absolute;
	width: 150px;
	height: 150px;
	right: -65px;
	bottom: -70px;
	border-radius: 50%;
	background: rgba(110, 203, 255, 0.08);
	content: "";
	transition: transform 250ms ease;
}

.tw-class-info-card:hover {
	transform: translateY(-6px);
	border-color: rgba(110, 203, 255, 0.35);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.tw-class-info-card:hover::after {
	transform: scale(1.5);
}

.tw-class-info-card-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 35px;
}

.tw-class-card-index {
	color: #6ecbff;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.tw-class-card-tag {
	color: #68737e;
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tw-class-info-card h3 {
	position: relative;
	z-index: 1;
	margin: 0 0 13px;
	color: #ffffff;
	font-size: 1.3rem;
	line-height: 1.25;
}

.tw-class-info-card p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #9aa5af;
	font-size: 0.94rem;
	line-height: 1.7;
}


/* =========================================================================
   UNIVERSAL CARD GRID
   ========================================================================= */

.tw-class-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}


/* =========================================================================
   UNIVERSAL CARD
   ========================================================================= */

.tw-class-card {
	position: relative;
	min-width: 0;
}

.tw-class-card-inner {
	position: relative;
	height: 100%;
	min-height: 280px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	background:
		linear-gradient(
			145deg,
			rgba(255, 255, 255, 0.055),
			rgba(255, 255, 255, 0.018)
		);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);
	transition:
		transform 230ms ease,
		border-color 230ms ease,
		box-shadow 230ms ease,
		background 230ms ease;
}

.tw-class-card-inner::before {
	position: absolute;
	z-index: 0;
	width: 120px;
	height: 120px;
	right: -55px;
	top: -55px;
	border-radius: 50%;
	background: rgba(110, 203, 255, 0.055);
	content: "";
	transition:
		transform 300ms ease,
		background 300ms ease;
}

.tw-class-card:hover .tw-class-card-inner,
.tw-class-card:focus .tw-class-card-inner {
	transform: translateY(-7px);
	border-color: rgba(110, 203, 255, 0.38);
	background:
		linear-gradient(
			145deg,
			rgba(110, 203, 255, 0.09),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		0 22px 55px rgba(0, 0, 0, 0.32),
		0 0 0 1px rgba(110, 203, 255, 0.04);
}

.tw-class-card:hover .tw-class-card-inner::before,
.tw-class-card:focus .tw-class-card-inner::before {
	transform: scale(2.2);
	background: rgba(110, 203, 255, 0.08);
}

.tw-class-card-top,
.tw-class-card-body,
.tw-class-card-bottom {
	position: relative;
	z-index: 1;
}

.tw-class-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 35px;
}

.tw-class-card-number {
	display: flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(110, 203, 255, 0.2);
	border-radius: 12px;
	background: rgba(110, 203, 255, 0.05);
	color: #6ecbff;
	font-size: 0.78rem;
	font-weight: 900;
}

.tw-class-card-expand,
.tw-hands-on-icon {
	display: flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #65717c;
	font-size: 1.1rem;
	transition:
		color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.tw-class-card:hover .tw-class-card-expand,
.tw-class-card:focus .tw-class-card-expand {
	color: #6ecbff;
	border-color: rgba(110, 203, 255, 0.35);
	transform: rotate(45deg);
}

.tw-class-card-body h3 {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: 1.28rem;
	font-weight: 750;
	line-height: 1.25;
}

.tw-class-card-description {
	margin: 0;
	color: #8e99a4;
	font-size: 0.9rem;
	line-height: 1.65;
}

.tw-class-card-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 30px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	color: #65717c;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tw-card-arrow {
	color: #6ecbff;
	font-size: 1.1rem;
	transition: transform 180ms ease;
}

.tw-class-card:hover .tw-card-arrow {
	transform: translateX(5px);
}


/* =========================================================================
   CURRICULUM TOPICS
   ========================================================================= */

.tw-curriculum-card .tw-class-card-body {
	min-height: 110px;
}

.tw-curriculum-topics {
	max-height: 0;
	margin-top: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(12px);
	transition:
		max-height 350ms ease,
		margin-top 250ms ease,
		opacity 250ms ease,
		transform 250ms ease;
}

.tw-curriculum-card:hover .tw-curriculum-topics,
.tw-curriculum-card:focus .tw-curriculum-topics {
	max-height: 700px;
	margin-top: 24px;
	opacity: 1;
	transform: translateY(0);
}

.tw-topic-heading {
	display: block;
	margin-bottom: 10px;
	color: #6ecbff;
	font-size: 0.65rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tw-curriculum-topics ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tw-curriculum-topics li {
	display: flex;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tw-curriculum-topics li:last-child {
	border-bottom: 0;
}

.tw-topic-number {
	flex: 0 0 23px;
	color: #56616c;
	font-size: 0.65rem;
	font-weight: 800;
}

.tw-topic-title {
	color: #c4cbd2;
	font-size: 0.78rem;
	line-height: 1.4;
}


/* =========================================================================
   SKILLS
   ========================================================================= */

.tw-class-skills-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tw-skill-card .tw-class-card-inner {
	min-height: 235px;
}

.tw-skill-check {
	display: flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(110, 203, 255, 0.2);
	border-radius: 50%;
	color: #6ecbff;
	font-weight: 900;
}

.tw-skill-level {
	position: relative;
	z-index: 1;
	display: inline-flex;
	margin-top: 25px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(110, 203, 255, 0.08);
	color: #78cfff;
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}


/* =========================================================================
   HANDS-ON
   ========================================================================= */

.tw-hands-on-card .tw-class-card-inner {
	min-height: 320px;
}

.tw-hands-on-deliverable {
	max-height: 0;
	margin-top: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(10px);
	transition:
		max-height 300ms ease,
		margin-top 250ms ease,
		opacity 250ms ease,
		transform 250ms ease;
}

.tw-hands-on-card:hover .tw-hands-on-deliverable,
.tw-hands-on-card:focus .tw-hands-on-deliverable {
	max-height: 220px;
	margin-top: 22px;
	opacity: 1;
	transform: translateY(0);
}

.tw-hands-on-deliverable > span {
	display: block;
	margin-bottom: 7px;
	color: #6ecbff;
	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.tw-hands-on-deliverable p {
	margin: 0;
	color: #a8b1ba;
	font-size: 0.82rem;
	line-height: 1.55;
}


/* =========================================================================
   CERTIFICATIONS
   ========================================================================= */

.tw-certification-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.tw-certification-card {
	display: flex;
	gap: 25px;
	padding: 35px;
	border: 1px solid rgba(110, 203, 255, 0.15);
	border-radius: 26px;
	background:
		linear-gradient(
			145deg,
			rgba(110, 203, 255, 0.07),
			rgba(255, 255, 255, 0.025)
		);
	transition:
		transform 220ms ease,
		border-color 220ms ease,
		box-shadow 220ms ease;
}

.tw-certification-card:hover {
	transform: translateY(-6px);
	border-color: rgba(110, 203, 255, 0.4);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.tw-certification-mark {
	display: flex;
	width: 62px;
	height: 62px;
	flex: 0 0 62px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(110, 203, 255, 0.3);
	border-radius: 18px;
	background: rgba(110, 203, 255, 0.08);
	color: #6ecbff;
	font-size: 1.4rem;
	font-weight: 900;
}

.tw-certification-content h3 {
	margin: 8px 0 7px;
	color: #ffffff;
	font-size: 1.65rem;
}

.tw-certification-content strong {
	display: block;
	margin-bottom: 15px;
	color: #aab4bd;
	font-size: 0.82rem;
}

.tw-certification-content p {
	margin: 0 0 22px;
	color: #89949f;
	font-size: 0.9rem;
	line-height: 1.65;
}


/* =========================================================================
   BUTTONS / ACTIONS
   ========================================================================= */

.tw-class-button,
.tw-class-action {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	text-decoration: none;
}

.tw-class-button {
	margin-top: 4px;
	padding: 13px 18px;
	border: 1px solid rgba(110, 203, 255, 0.3);
	border-radius: 999px;
	background: rgba(110, 203, 255, 0.08);
	color: #dff5ff;
	font-size: 0.78rem;
	font-weight: 800;
	transition:
		background 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.tw-class-button:hover {
	background: rgba(110, 203, 255, 0.15);
	border-color: rgba(110, 203, 255, 0.55);
	color: #ffffff;
	transform: translateY(-2px);
}

.tw-class-button-small {
	margin-top: 5px;
}

.tw-class-action {
	color: #8fd8ff;
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition:
		color 180ms ease,
		transform 180ms ease;
}

.tw-class-action:hover {
	color: #ffffff;
	transform: translateX(3px);
}


/* =========================================================================
   PATHWAYS
   ========================================================================= */

.tw-class-pathway-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tw-pathway-card .tw-class-card-inner {
	min-height: 300px;
}

.tw-pathway-type {
	display: inline-flex;
	padding: 6px 9px;
	border-radius: 999px;
	background: rgba(110, 203, 255, 0.07);
	color: #6ecbff;
	font-size: 0.6rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tw-pathway-code {
	margin-bottom: 10px;
	color: #68747f;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}


/* =========================================================================
   PROGRAM FOOTER
   ========================================================================= */

.tw-class-program-footer {
	padding: 75px 0;
	background: #080a0d;
}

.tw-class-program-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 42px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 28px;
	background:
		linear-gradient(
			135deg,
			rgba(110, 203, 255, 0.08),
			rgba(255, 255, 255, 0.025)
		);
}

.tw-class-program-card h2 {
	margin: 0;
	color: #ffffff;
	font-size: 2rem;
	line-height: 1.15;
}

.tw-class-program-card p {
	max-width: 750px;
	margin: 14px 0 0;
	color: #89949f;
	font-size: 0.9rem;
	line-height: 1.65;
}


/* =========================================================================
   ERROR STATE
   ========================================================================= */

.tw-class-error {
	padding: 120px 0;
	background: #0b0d10;
}

.tw-class-message-card {
	max-width: 720px;
	margin: 0 auto;
	padding: 50px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.025);
	text-align: center;
}

.tw-class-message-card h1 {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: 2.5rem;
}

.tw-class-message-card p {
	margin: 0 0 30px;
	color: #909ba5;
	line-height: 1.7;
}


/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1000px) {

	.tw-class-hero-grid {
		grid-template-columns: 1fr;
		gap: 45px;
	}

	.tw-class-hero-panel {
		justify-content: flex-start;
	}

	.tw-class-hero-panel-inner {
		width: 170px;
		height: 170px;
	}

	.tw-class-hero-panel-inner strong {
		font-size: 2.8rem;
	}

	.tw-class-meta-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tw-class-card-grid,
	.tw-class-skills-grid,
	.tw-class-pathway-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


@media (max-width: 700px) {

	.tw-class-container {
		width: min(100% - 28px, 1200px);
	}

	.tw-class-hero {
		padding: 70px 0 55px;
	}

	.tw-class-section {
		padding: 65px 0;
	}

	.tw-class-title {
		font-size: 2.65rem;
	}

	.tw-class-title-number {
		font-size: 4rem;
	}

	.tw-class-meta-grid {
		grid-template-columns: 1fr;
	}

	.tw-class-overview-grid,
	.tw-class-card-grid,
	.tw-class-skills-grid,
	.tw-class-certification-grid,
	.tw-class-pathway-grid {
		grid-template-columns: 1fr;
	}

	.tw-class-navigation-inner {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 12px;
	}

	.tw-class-navigation a {
		flex: 0 0 auto;
	}

	.tw-certification-card {
		flex-direction: column;
	}

	.tw-class-program-card {
		align-items: flex-start;
		flex-direction: column;
		padding: 30px;
	}

}


/* =========================================================================
   ACCESSIBILITY
   ========================================================================= */

.tw-class-card:focus-visible,
.tw-class-button:focus-visible,
.tw-class-action:focus-visible,
.tw-class-navigation a:focus-visible {
	outline: 2px solid #6ecbff;
	outline-offset: 4px;
}


/* =========================================================================
   REDUCED MOTION
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {

	.tw-class-page *,
	.tw-class-page *::before,
	.tw-class-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

}