/* =========================================================
   Spoken English course landing (uses front.css tokens)
   ========================================================= */

.tf-page--spoken {
	overflow-x: clip;
}

.tf-page-hero--spoken {
	position: relative;
	overflow: hidden;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
	min-height: min(48vh, 22rem);
	padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(2.5rem, 5vw, 3.25rem);
}

.tf-page-hero--spoken .tf-page-hero__mesh {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 85% 65% at 12% 15%, rgba(6, 0, 0, 0.26), transparent 58%),
		radial-gradient(ellipse 75% 70% at 100% 0%, rgba(27, 58, 42, 0.35), transparent 70%),
		linear-gradient(
			145deg,
			#8f1528 0%,
			#820016 36%,
			#b62c2c 62%,
			#68281f 80%,
			#472315 92%,
			#235430 100%
		);
}

.tf-page-hero--spoken .tf-page-hero__inner {
	position: relative;
	z-index: 1;
	width: min(100% - 1.75rem, var(--wrap));
	margin-inline: auto;
	text-align: left;
}

.tf-page-hero--spoken .tf-page-hero__inner > * {
	max-width: 42rem;
	margin-left: 0;
	margin-right: auto;
	text-align: left;
}

.tf-page-hero--spoken h1 {
	color: #fff;
	font-size: clamp(2rem, 4.6vw, 3rem);
	margin: 0 0 0.75rem;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.tf-page-hero--spoken .tf-chip {
	margin-bottom: 0.85rem;
}

.tf-page-hero--spoken .tf-lede {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.08rem;
	line-height: 1.55;
}

.tf-spoken-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: center;
}

.tf-page--spoken .tf-media {
	margin: 0;
	overflow: hidden;
	border-radius: 1rem;
	background: #1a0a0c;
}

.tf-page--spoken .tf-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	display: block;
}

.tf-page--spoken .tf-section p:not(.tf-kicker) {
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.65;
}

.tf-page--spoken .tf-section h2 {
	font-size: clamp(1.65rem, 3vw, 2.15rem);
	margin-bottom: 1rem;
}

.tf-page--spoken .tf-checklist {
	margin-top: 1.25rem;
}

.tf-spoken-learn-head {
	max-width: 42rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.tf-spoken-pillars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.tf-spoken-pillars > li {
	padding: 1.25rem 1.2rem 1.35rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--paper, #fff);
}

.tf-spoken-pillars h3 {
	margin: 0 0 0.55rem;
	font-size: 1.12rem;
	letter-spacing: -0.02em;
}

.tf-spoken-pillars p {
	margin: 0;
	font-size: 0.98rem !important;
}

.tf-spoken-formats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.tf-spoken-format {
	padding: 1.35rem 1.3rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--paper, #fff);
}

.tf-spoken-format h3 {
	margin: 0.35rem 0 0.75rem;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
}

.tf-spoken-offer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 0;
	align-items: stretch;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 1.15rem;
	background: var(--paper, #fff);
}

.tf-spoken-offer__media {
	margin: 0;
	overflow: hidden;
	background: #fff;
	min-height: 100%;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}

.tf-spoken-offer__media img {
	width: 100%;
	height: 100%;
	min-height: 16rem;
	object-fit: contain;
	object-position: center;
	display: block;
}

.tf-spoken-offer__copy {
	padding: clamp(1.25rem, 3vw, 1.85rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tf-spoken-offer__copy h2 {
	margin-bottom: 0.75rem;
}

.tf-spoken-offer__meta {
	margin: 0.85rem 0 1.15rem !important;
	color: var(--ink) !important;
	font-weight: 700;
	font-size: 1.05rem !important;
}

.tf-spoken-related {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

@media (max-width: 1100px) and (min-width: 901px) {
	.tf-spoken-related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tf-spoken-related__card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	height: 100%;
	padding: 1.2rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--paper, #fff);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.tf-spoken-related__card:hover,
.tf-spoken-related__card:focus-visible {
	border-color: color-mix(in srgb, var(--ink) 28%, transparent);
	transform: translateY(-2px);
	outline: none;
}

.tf-spoken-related__card strong {
	color: var(--ink);
	font-size: 1.05rem;
}

.tf-spoken-related__card span {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.tf-spoken-intro,
	.tf-spoken-formats,
	.tf-spoken-offer,
	.tf-spoken-pillars,
	.tf-spoken-related {
		grid-template-columns: 1fr;
	}

	.tf-spoken-offer__media {
		aspect-ratio: 1 / 1;
	}

	.tf-spoken-offer__media img {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.tf-page--spoken .tf-reveal {
		opacity: 0;
		transform: translateY(1rem);
		transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
	}

	.tf-page--spoken .tf-reveal.is-in {
		opacity: 1;
		transform: none;
	}
}
