/**
 * Tourism & Wildlife programmes landing page.
 */

.tw {
	--tw-red: var(--mara-primary, #c62828);
	--tw-gold: #b08d46;
	--tw-navy: #1a1a1a;
	--tw-ink: #1a1a1a;
	--tw-muted: #5c5c66;
	--tw-surface: #f6f6f7;
	--tw-line: #e4e4e7;
	--tw-radius: 0.75rem;
	color: var(--mara-text, #333);
	background: #fff;
	overflow-x: clip;
}

.tw a:focus-visible,
.tw button:focus-visible {
	outline: 2px solid var(--tw-gold);
	outline-offset: 3px;
}

.tw__icon {
	display: block;
	flex-shrink: 0;
}

.tw__section-title {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--tw-ink);
}

.tw__section-title--center {
	text-align: center;
}

.tw__section-intro {
	margin: 0.65rem 0 0;
	max-width: 40rem;
	line-height: 1.6;
	color: var(--tw-muted);
}

.tw__section-head {
	margin-bottom: 1.5rem;
}

.tw__prose {
	margin: 0.85rem 0 0;
	line-height: 1.7;
	color: var(--tw-muted);
}

.tw__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.7rem;
	padding: 0.65rem 1.35rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0.35rem;
}

.tw__btn--sm {
	min-height: 2.25rem;
	padding: 0.45rem 0.95rem;
	font-size: 0.7rem;
}

.tw__btn--ghost {
	color: #fff;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.tw__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.tw__btn--outline {
	color: var(--tw-ink);
	background: #fff;
	border: 1.5px solid var(--tw-line);
}

.tw__btn--outline:hover {
	border-color: var(--tw-gold);
	color: var(--tw-gold);
}

.tw__text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1.35rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--tw-ink);
}

.tw__text-link:hover {
	color: var(--tw-red);
}

/* Hero — Stitch full-bleed */
.tw__hero {
	position: relative;
	min-height: clamp(26rem, 72vh, 38rem);
	display: grid;
	align-items: center;
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	background:
		linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(12, 12, 12, 0.42) 45%, rgba(8, 8, 8, 0.72) 100%),
		var(--tw-hero-image, none) center / cover no-repeat;
	color: #fff;
}

.tw__hero-scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(0, 0, 0, 0.28) 100%);
}

.tw__hero-inner {
	position: relative;
	z-index: 1;
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
}

.tw__hero-eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tw-gold);
}

.tw__hero-badge {
	display: inline-block;
	margin: 0.85rem 0 0;
	padding: 0.35rem 0.75rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--tw-red);
	border-radius: 0.3rem;
}

.tw__hero-title {
	margin: 0.9rem 0 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(2rem, 5.5vw, 3.35rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
	color: #fff;
	text-wrap: balance;
}

.tw__hero-intro {
	margin: 1rem auto 0;
	max-width: 36rem;
	font-size: clamp(0.95rem, 1.6vw, 1.05rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.9);
}

.tw__hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.6rem;
}

@media (max-width: 640px) {
	.tw__hero {
		min-height: clamp(22rem, 78vh, 32rem);
		align-items: end;
		padding-bottom: 2.5rem;
	}

	.tw__hero-inner {
		text-align: left;
		margin-inline: 0;
	}

	.tw__hero-intro {
		margin-inline: 0;
	}

	.tw__hero-actions {
		justify-content: stretch;
		flex-direction: column;
	}

	.tw__hero-actions .tw__btn {
		width: 100%;
	}

	.tw__hero-eyebrow {
		display: none;
	}
}

/* Quote */
.tw__quote {
	padding: clamp(1.5rem, 4vw, 2.5rem) 0;
	background: linear-gradient(160deg, #1a140e 0%, #2a1f14 48%, #1a1a1a 100%);
}

.tw__quote-card {
	position: relative;
	isolation: isolate;
	margin: 0 auto;
	max-width: 44rem;
	padding: clamp(1.75rem, 4vw, 2.35rem) clamp(1.25rem, 4vw, 2.25rem);
	text-align: center;
	border: 1px solid rgba(176, 141, 70, 0.35);
	border-radius: 0.55rem;
	background:
		radial-gradient(ellipse at 20% 0%, rgba(176, 141, 70, 0.18) 0%, transparent 55%),
		radial-gradient(ellipse at 90% 100%, rgba(198, 40, 40, 0.12) 0%, transparent 50%),
		rgba(255, 255, 255, 0.03);
	overflow: hidden;
}

.tw__quote-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.2;
	background-image:
		linear-gradient(rgba(176, 141, 70, 0.15) 1px, transparent 1px),
		linear-gradient(90deg, rgba(176, 141, 70, 0.15) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
	pointer-events: none;
}

.tw__quote-mark {
	display: inline-flex;
	color: var(--tw-gold);
	margin-bottom: 0.85rem;
	opacity: 0.9;
}

.tw__quote-text {
	margin: 0;
	padding: 0;
	border: 0;
}

.tw__quote-text p {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(1.15rem, 2.8vw, 1.55rem);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: #fff;
	text-wrap: balance;
}

.tw__quote-attrib {
	display: block;
	margin-top: 1rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tw-gold);
}

.tw__quote--wildlife {
	background: linear-gradient(160deg, #0f1a14 0%, #1a2a1e 48%, #121812 100%);
}

.tw__quote--wildlife .tw__quote-card {
	border-color: rgba(120, 160, 100, 0.4);
	background:
		radial-gradient(ellipse at 80% 10%, rgba(120, 160, 100, 0.2) 0%, transparent 55%),
		radial-gradient(ellipse at 15% 90%, rgba(176, 141, 70, 0.14) 0%, transparent 50%),
		rgba(255, 255, 255, 0.03);
}

.tw__quote--wildlife .tw__quote-card::before {
	opacity: 0.16;
	background-image:
		radial-gradient(circle at 25% 35%, rgba(160, 200, 140, 0.2) 0 1px, transparent 1.5px),
		radial-gradient(circle at 75% 65%, rgba(176, 141, 70, 0.14) 0 1px, transparent 1.5px);
	background-size: 34px 34px, 26px 26px;
	mask-image: radial-gradient(ellipse at center, #000 0%, transparent 78%);
}

.tw__quote--wildlife .tw__quote-mark {
	color: #a8c98a;
}

.tw__quote--wildlife .tw__quote-attrib {
	color: #c5d9a8;
}

/* Context */
.tw__context {
	padding: clamp(2.75rem, 6vw, 4.5rem) 0;
	background: #fff;
}

.tw__context-grid {
	display: grid;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 900px) {
	.tw__context-grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 3rem;
	}
}

.tw__context-eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tw-red);
}

.tw__context-media {
	margin: 0;
	border-radius: 0.35rem;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(18, 18, 22, 0.12);
}

.tw__context-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 4;
	object-fit: cover;
}

/* Programmes */
.tw__programmes {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background: var(--tw-surface);
}

.tw__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.15rem;
}

@media (min-width: 720px) {
	.tw__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.tw__cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.tw__card {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--tw-line);
	border-radius: var(--tw-radius);
}

.tw__card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.tw__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.tw__badge {
	display: inline-block;
	padding: 0.22rem 0.55rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tw-red);
	background: rgba(198, 40, 40, 0.08);
	border-radius: 0.25rem;
}

.tw__duration {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--tw-muted);
}

.tw__card-title {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--tw-ink);
}

.tw__card-entry {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--tw-muted);
}

.tw__card-entry-label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tw-ink);
}

.tw__card-entry-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.tw__card-entry-list li {
	display: grid;
	gap: 0.15rem;
	padding: 0.55rem 0.65rem;
	background: var(--tw-surface);
	border-left: 2px solid var(--tw-gold);
	border-radius: 0.3rem;
}

.tw__card-entry-level {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tw-ink);
}

.tw__card-entry-text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--tw-muted);
}

.tw__pathways {
	margin-top: auto;
}

.tw__pathways-trigger {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.7rem 0;
	border: 0;
	border-top: 1px solid var(--tw-line);
	border-bottom: 1px solid var(--tw-line);
	background: transparent;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--tw-ink);
	cursor: pointer;
	text-align: left;
}

.tw__pathways-trigger .tw__icon {
	transition: transform 0.2s ease;
}

.tw__pathways-trigger.is-open .tw__icon {
	transform: rotate(180deg);
}

.tw__pathways-panel {
	padding: 0.85rem 0 0.25rem;
}

.tw__pathways-note {
	margin: 0 0 0.65rem;
	font-size: 0.8rem;
	line-height: 1.5;
	color: var(--tw-muted);
}

.tw__pathways-panel ul {
	margin: 0;
	padding-left: 1.15rem;
	color: var(--tw-muted);
	line-height: 1.65;
	font-size: 0.9rem;
}

/* HOD */
.tw__hod {
	padding: clamp(2.25rem, 5vw, 3.5rem) 0;
	background: #fff;
}

.tw__hod-inner {
	display: flex;
	gap: 1.15rem;
	align-items: flex-start;
	max-width: 48rem;
	margin-inline: auto;
	padding: 1.5rem 1.35rem;
	background: var(--tw-surface);
	border-left: 3px solid var(--tw-gold);
	border-radius: 0.5rem;
}

.tw__hod-icon {
	color: var(--tw-gold);
	margin-top: 0.15rem;
}

.tw__hod-role {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tw-red);
}

.tw__hod-dept {
	margin: 0.35rem 0 0;
	font-family: var(--mara-font-heading);
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--tw-ink);
}

.tw__hod-message {
	margin: 0.85rem 0 0;
	padding: 0;
	border: 0;
}

.tw__hod-message p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--tw-muted);
}

/* Driving */
.tw__driving {
	padding: clamp(1.75rem, 4vw, 2.75rem) 0;
	background: var(--tw-surface);
	border-block: 1px solid var(--tw-line);
}

.tw__driving-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.tw__driving-note {
	margin: 0.75rem 0 0;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--tw-ink);
}

/* Progression */
.tw__progression {
	padding: clamp(2.5rem, 5vw, 3.75rem) 0;
	background: #fff;
}

.tw__ladder {
	list-style: none;
	margin: 1.5rem auto 0;
	padding: 0;
	max-width: 18rem;
	display: grid;
	gap: 0;
	text-align: center;
}

.tw__ladder li {
	position: relative;
	padding: 0.85rem 1rem;
	font-weight: 800;
	font-size: 1rem;
	color: var(--tw-ink);
	background: var(--tw-surface);
	border: 1px solid var(--tw-line);
	border-radius: 0.45rem;
}

.tw__ladder li:not(:last-child) {
	margin-bottom: 1.35rem;
}

.tw__ladder li:not(:last-child)::after {
	content: "↓";
	position: absolute;
	left: 50%;
	bottom: -1.15rem;
	transform: translateX(-50%);
	font-size: 1rem;
	font-weight: 800;
	color: var(--tw-gold);
	line-height: 1;
}

.tw__progression-note {
	margin: 1.5rem auto 0;
	max-width: 40rem;
	text-align: center;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--tw-muted);
}

/* Intakes */
.tw__intakes {
	padding: clamp(2rem, 4vw, 3rem) 0;
	background: var(--tw-surface);
}

.tw__intake-list {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.tw__intake-link {
	display: inline-flex;
	align-items: center;
	min-height: 2.6rem;
	padding: 0.55rem 1.15rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--tw-ink);
	background: #fff;
	border: 1px solid var(--tw-line);
	border-radius: 0.35rem;
}

.tw__intake-link:hover {
	border-color: var(--tw-red);
	color: var(--tw-red);
}

/* CTA */
.tw__cta {
	padding: clamp(2.75rem, 6vw, 4rem) 0;
	background: var(--tw-navy);
	color: #fff;
}

.tw__cta-inner {
	text-align: center;
	max-width: 42rem;
	margin-inline: auto;
}

.tw__cta-title {
	margin: 0;
	font-family: var(--mara-font-heading);
	font-size: clamp(1.55rem, 3.5vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	text-wrap: balance;
}

.tw__cta-intro {
	margin: 0.85rem auto 0;
	max-width: 34rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}

.tw__cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 1.5rem;
}

.tw__cta .tw__btn--outline {
	color: #fff;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
}

.tw__cta .tw__btn--outline:hover {
	border-color: var(--tw-gold);
	color: var(--tw-gold);
}

@media (max-width: 640px) {
	.tw__cta-actions {
		flex-direction: column;
	}

	.tw__cta-actions .tw__btn {
		width: 100%;
	}
}
