/* إكتشف — main styles */

:root {
	--bg: #0c0d10;
	--bg-elevated: #15171c;
	--bg-soft: #1c1f27;
	--text: #f3efe6;
	--text-muted: #a9a296;
	--accent: #027dff;
	--accent-2: #3d9bff;
	--line: rgba(243, 239, 230, 0.12);
	--danger: #c45c4a;
	--radius: 4px;
	--container: 1120px;
	--font-display: "Salma Arabic", sans-serif;
	--font-body: "Salma Arabic", sans-serif;
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	--header-h: 72px;
}

/* Translated pages (EN / Sorani / Kurmanji): Noto Naskh Arabic */
body.is-translated {
	--font-display: "Noto Naskh Arabic", "Salma Arabic", sans-serif;
	--font-body: "Noto Naskh Arabic", "Salma Arabic", sans-serif;
	font-family: var(--font-body);
}

body.is-translated h1,
body.is-translated h2,
body.is-translated h3,
body.is-translated h4,
body.is-translated .site-title,
body.is-translated .hero-brand,
body.is-translated .btn {
	font-family: var(--font-display);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	/* Solid dark canvas: prevents white flashes / overscroll areas in Safari. */
	background-color: var(--bg);
	color-scheme: dark;
}

body {
	margin: 0;
	font-family: var(--font-body);
	/* Transparent so the fixed gradient layer (body::before) shows through;
	   the solid dark fallback lives on html. */
	background-color: transparent;
	color: var(--text);
	line-height: 1.7;
	font-size: 1.05rem;
	min-height: 100vh;
}

/*
 * Fixed gradient backdrop. Done as a fixed pseudo-element instead of
 * background-attachment: fixed, which iOS Safari ignores (white background bug).
 */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(1200px 600px at 85% -8%, rgba(2, 125, 255, 0.28), transparent 55%),
		radial-gradient(900px 520px at 0% 18%, rgba(2, 125, 255, 0.14), transparent 50%),
		radial-gradient(700px 420px at 50% 100%, rgba(2, 125, 255, 0.08), transparent 55%),
		linear-gradient(180deg, #0b1220 0%, var(--bg) 42%, #070a10 100%);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--accent-2);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--accent);
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.25;
	font-weight: 900;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

.container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	inset-inline-start: 1rem;
	top: -100px;
	background: var(--accent);
	color: #111;
	padding: 0.5rem 1rem;
	z-index: 1000;
}

.skip-link:focus {
	top: 1rem;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(14px);
	background: rgba(12, 13, 16, 0.78);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-title {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 900;
	color: var(--text);
	letter-spacing: 0.02em;
}

.site-title:hover {
	color: var(--accent);
}

.custom-logo-link img {
	max-height: 52px;
	width: auto;
}

.nav-list,
.footer-list,
.social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	align-items: center;
}

.social-list {
	gap: 0.85rem 1.25rem;
}

.social-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.25rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--text-muted);
	font-weight: 700;
	line-height: 1;
	transition: color 0.2s ease;
}

.social-link::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
	opacity: 0.85;
}

.social-link:hover,
.social-link:focus-visible {
	color: var(--accent);
	background: transparent;
}

.social-link:hover::after,
.social-link:focus-visible::after {
	transform: scaleX(1);
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	opacity: 0.9;
	line-height: 0;
}

.social-icon svg {
	width: 100%;
	height: 100%;
	display: block;
	vertical-align: middle;
}

.social-link--labeled,
.social-link--cta {
	width: auto;
	height: auto;
	padding: 0.35rem 0;
}

.social-list--cta {
	justify-content: center;
	gap: 1.5rem 2rem;
}

.social-link--cta {
	color: var(--text);
	font-size: 1.05rem;
}

.social-link--cta .social-icon {
	width: 24px;
	height: 24px;
	color: var(--accent);
}

.social-link--cta:hover,
.social-link--cta:focus-visible {
	color: var(--accent-2);
}

.social-link--cta:hover .social-icon,
.social-link--cta:focus-visible .social-icon {
	color: var(--accent-2);
}

.social-label {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	letter-spacing: 0.01em;
	/* Optical vertical balance with icon for Arabic/Naskh metrics */
	transform: translateY(0.06em);
}

.nav-list a {
	color: var(--text-muted);
	font-weight: 500;
}

.nav-list a:hover,
.nav-list .current-menu-item > a {
	color: var(--text);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	background: transparent;
	border-radius: var(--radius);
	padding: 10px;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--text);
	margin: 5px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

/* Language switcher (Google Translate) */
.lang-switcher {
	position: relative;
	z-index: 20;
}

.lang-switcher__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-switcher__btn:hover,
.lang-switcher.is-open .lang-switcher__btn {
	border-color: var(--accent);
	color: var(--accent-2);
}

.lang-switcher__icon {
	width: 14px;
	height: 14px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
}

.lang-switcher__icon::before {
	content: "";
	position: absolute;
	inset: 2px 5px;
	border-inline-start: 1.5px solid currentColor;
	border-inline-end: 1.5px solid currentColor;
	border-radius: 50%;
}

.lang-switcher__caret {
	width: 0;
	height: 0;
	border-inline-start: 4px solid transparent;
	border-inline-end: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.8;
}

.lang-switcher__menu {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 0.4rem);
	min-width: 180px;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	background: #12151c;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.lang-switcher__option {
	display: block;
	width: 100%;
	text-align: start;
	padding: 0.65rem 0.75rem;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	color: var(--text-muted);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}

.lang-switcher__option:hover,
.lang-switcher__option.is-active {
	background: rgba(2, 125, 255, 0.12);
	color: var(--text);
}

.lang-switcher__cancel-item {
	margin-top: 0.25rem;
	padding-top: 0.25rem;
	border-top: 1px solid var(--line);
}

.lang-switcher__option--cancel {
	color: var(--accent-2);
}

.lang-switcher__option--cancel:hover {
	background: rgba(2, 125, 255, 0.12);
	color: var(--accent);
}

/*
 * Google Translate host must NOT use display:none — Safari won't initialize the widget.
 * Keep it in the layout but visually off-screen.
 */
#google_translate_element {
	position: absolute !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/*
 * Hide Google Translate banner chrome. Safe with display:none because the
 * banner is injected only after translation runs; the Safari init issue was
 * hiding #google_translate_element itself, which stays off-screen above.
 */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
body > .skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
	display: none !important;
}

body {
	top: 0 !important;
	position: static !important;
}

.goog-text-highlight {
	background: none !important;
	box-shadow: none !important;
}

/* Hero */
.hero {
	position: relative;
	min-height: calc(100vh - var(--header-h));
	display: grid;
	align-items: end;
	background-image: var(--hero-bg);
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 500px at 80% 10%, rgba(2, 125, 255, 0.22), transparent 60%),
		linear-gradient(180deg, rgba(8, 14, 24, 0.3) 0%, rgba(8, 14, 24, 0.55) 45%, rgba(8, 14, 24, 0.96) 100%),
		linear-gradient(270deg, transparent 20%, rgba(8, 14, 24, 0.55) 100%);
	z-index: -1;
}

.hero-content {
	padding: 4rem 0 5rem;
	max-width: 720px;
	margin-inline: 0 auto 0 0;
}

.hero-brand {
	font-family: var(--font-display);
	font-size: clamp(3.2rem, 10vw, 6.5rem);
	font-weight: 900;
	line-height: 1;
	margin: 0 0 0.4rem;
	color: var(--text);
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-title {
	font-size: clamp(1.15rem, 2.4vw, 1.55rem);
	font-weight: 500;
	color: var(--text-muted);
	max-width: 34ch;
	margin-bottom: 1.75rem;
}

.hero-actions,
.section-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero-social {
	margin-top: 1.75rem;
}

.hero-social-label {
	margin: 0 0 0.65rem;
	color: var(--text-muted);
	font-size: 0.95rem;
	font-weight: 700;
}

.social-list--hero {
	justify-content: flex-start;
	gap: 1rem 1.5rem;
}

.social-list--hero .social-link {
	color: var(--text);
}

.social-list--hero .social-icon {
	color: var(--accent);
}

.section-cta {
	margin-top: 2rem;
	justify-content: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.35rem;
	border-radius: var(--radius);
	font-weight: 700;
	border: 1px solid transparent;
	cursor: pointer;
}

.btn-primary {
	background: var(--accent);
	color: #ffffff;
}

.btn-primary:hover {
	background: var(--accent-2);
	color: #ffffff;
}

.btn-ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--text);
}

.btn-ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* Sections */
.section {
	padding: 5rem 0;
}

.section-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.section-header h2 {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	margin-bottom: 0.35rem;
}

.section-header p {
	color: var(--text-muted);
	margin: 0;
}

.page-hero {
	padding: 4rem 0 2.5rem;
	border-bottom: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(2, 125, 255, 0.16), transparent 70%);
}

.page-hero h1 {
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: 0.35rem;
}

.page-hero p {
	color: var(--text-muted);
	margin: 0;
}

.eyebrow {
	color: var(--accent);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.lead {
	font-size: 1.15rem;
	color: var(--text-muted);
}

/* Cards */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.programs-grid {
	grid-template-columns: repeat(2, 1fr);
}

.team-grid {
	grid-template-columns: repeat(3, 1fr);
}

.card {
	background: transparent;
}

.card > a {
	display: block;
	color: inherit;
	height: 100%;
}

.card-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--bg-soft);
	border: 1px solid var(--line);
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover .card-media img {
	transform: scale(1.04);
}

/* Team cards: 16:9 media, name/role overlaid on a gradient */
.team-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--bg-soft);
	transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover {
	transform: translateY(-4px);
	border-color: rgba(2, 125, 255, 0.55);
	box-shadow: var(--shadow);
}

.team-card__link {
	display: block;
	color: inherit;
}

.team-card__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.team-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.team-card:hover .team-card__media img {
	transform: scale(1.05);
}

.team-card__overlay {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 2.4rem 1.15rem 0.95rem;
	background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 14, 0.62) 40%, rgba(5, 8, 14, 0.92) 100%);
}

.team-card__name {
	margin: 0 0 0.15rem;
	font-size: 1.15rem;
	color: #ffffff;
}

.team-card__role {
	margin: 0;
	color: var(--accent-2);
	font-size: 0.9rem;
}

/* Homepage team section: 2 wide cards per row, bigger names */
.team-section .team-grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
}

.team-section .team-card__overlay {
	padding: 3.2rem 1.4rem 1.2rem;
}

.team-section .team-card__name {
	font-size: 1.7rem;
}

.team-section .team-card__role {
	font-size: 1.05rem;
}

/* Single team member: full-bleed photo hero with gradient */
.team-hero {
	position: relative;
	min-height: 62vh;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
	background-color: var(--bg-soft);
}

.team-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(7, 10, 16, 0.25) 0%, rgba(7, 10, 16, 0.55) 55%, rgba(7, 10, 16, 0.95) 100%),
		linear-gradient(90deg, rgba(2, 125, 255, 0.12), transparent 40%);
}

.team-hero__content {
	position: relative;
	padding-top: 6rem;
	padding-bottom: 2.5rem;
}

.team-hero__content h1 {
	font-size: clamp(2.4rem, 6vw, 3.6rem);
	margin: 0 0 0.35rem;
	color: #ffffff;
}

.team-hero__content .lead {
	color: var(--accent-2);
	font-size: 1.15rem;
	margin: 0;
}

.play-badge {
	position: absolute;
	inset-inline-end: 0.85rem;
	bottom: 0.85rem;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(2, 125, 255, 0.95);
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	justify-content: center;
}

.play-badge::before {
	content: "";
	display: block;
	/* Slight optical shift so a right-pointing triangle looks centered */
	margin-left: 2px;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent #ffffff;
}

.card-body {
	padding: 1rem 0 0;
}

.card-title {
	font-size: 1.2rem;
	margin-bottom: 0.35rem;
}

.card-tagline,
.card-meta,
.card time {
	color: var(--text-muted);
	font-size: 0.95rem;
	margin: 0;
}

.program-badge {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	margin: 0 0 0.45rem;
	font-size: 0.92rem;
}

.program-badge-label {
	color: var(--accent);
	font-weight: 700;
}

.program-badge-name {
	color: var(--text);
	font-weight: 700;
}

.program-badge--hero {
	margin-bottom: 0.75rem;
}

.program-badge--hero .program-badge-name {
	color: var(--accent-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.program-badge--hero .program-badge-name:hover {
	color: var(--accent);
}

.episode-program-box {
	margin: 0 0 2rem;
	padding: 1.25rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.episode-program-link {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 1rem;
	align-items: center;
	color: inherit;
	margin-top: 0.75rem;
}

.episode-program-thumb {
	display: block;
	overflow: hidden;
	border: 1px solid var(--line);
	aspect-ratio: 16 / 9;
}

.episode-program-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.episode-program-info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.episode-program-info strong {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 900;
}

.episode-program-info span {
	color: var(--text-muted);
	font-size: 0.95rem;
}

.episode-program-cta {
	color: var(--accent) !important;
	font-weight: 700;
	margin-top: 0.25rem;
}

.empty-state {
	text-align: center;
	color: var(--text-muted);
	max-width: 48ch;
	margin: 0 auto;
}

@media (max-width: 720px) {
	.episode-program-link {
		grid-template-columns: 1fr;
	}
}

/* Pillars / about */
.pillars-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.pillars-grid.three {
	grid-template-columns: repeat(3, 1fr);
}

.pillar {
	padding: 1.5rem 0;
	border-top: 1px solid var(--accent);
}

.pillar h3 {
	font-size: 1.25rem;
	color: var(--accent-2);
}

.pillar p,
.pillar li {
	color: var(--text-muted);
}

.pillar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pillar li {
	position: relative;
	padding-inline-start: 1rem;
	margin-bottom: 0.55rem;
}

.pillar li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.7em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}

.how-we-work {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
	max-width: 70ch;
	margin-inline: auto;
	text-align: center;
}

.how-we-work p {
	color: var(--text-muted);
}

/* Stats */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.stat-card {
	text-align: center;
	padding: 1.75rem 1rem;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.stat-label {
	color: var(--accent);
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.stat-number {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 900;
	margin: 0;
	line-height: 1.1;
}

.stat-caption,
.stat-views {
	color: var(--text-muted);
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
}

/* Program / team hero */
.program-hero-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 2rem;
	align-items: center;
}

.program-hero-media {
	border: 1px solid var(--line);
	overflow: hidden;
}

.program-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 10;
}


.content-narrow {
	max-width: 760px;
}

.entry-content {
	font-size: 1.08rem;
	color: var(--text-muted);
}

.entry-content p:last-child {
	margin-bottom: 0;
}

.ekt-video {
	position: relative;
	aspect-ratio: 16 / 9;
	margin-bottom: 2rem;
	border: 1px solid var(--line);
	background: #000;
	overflow: hidden;
}

.ekt-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.highlights {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.highlights ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.highlights li {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--line);
	color: var(--text-muted);
}

/* CTA / contact */
.cta-section {
	background: linear-gradient(180deg, transparent, rgba(2, 125, 255, 0.16));
}

.cta-inner {
	text-align: center;
	max-width: 640px;
}

.cta-inner p {
	color: var(--text-muted);
}

.contact-layout {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr;
	gap: 3rem;
	align-items: start;
}

.section-header--start {
	text-align: start;
	margin-bottom: 1.5rem;
}

.section-header--start h2 {
	font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.contact-form-wrap {
	margin-top: 0.5rem;
}

.contact-form {
	display: grid;
	gap: 1rem;
}

.contact-form .form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.contact-form .form-row {
	display: grid;
	gap: 0.4rem;
}

.contact-form label {
	font-weight: 700;
	color: var(--text);
}

.contact-form label span {
	color: var(--accent);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: rgba(2, 125, 255, 0.06);
}

.contact-form textarea {
	resize: vertical;
	min-height: 140px;
}

.contact-form .btn {
	justify-self: start;
	margin-top: 0.35rem;
	border: 0;
}

/* Honeypot: clip-based hiding — no negative offsets (they cause RTL horizontal overflow). */
.contact-form .hp-field {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.form-notice {
	padding: 1rem 1.15rem;
	margin-bottom: 1.25rem;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.form-notice--success {
	border-color: rgba(2, 125, 255, 0.45);
	color: var(--text);
}

.form-notice--error {
	border-color: rgba(196, 92, 74, 0.55);
	color: #f0c4bc;
}

.contact-cards {
	display: grid;
	gap: 1rem;
	margin: 0 0 2rem;
}

.contact-card {
	display: block;
	padding: 1.25rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	color: inherit;
}

.contact-card span {
	display: block;
	color: var(--accent);
	font-size: 0.9rem;
	margin-bottom: 0.25rem;
}

.contact-card strong {
	font-size: 1.2rem;
}

.social-list.large {
	gap: 1rem 1.5rem;
	justify-content: flex-start;
}

.social-list.large .social-link {
	width: auto;
	height: auto;
	padding: 0.35rem 0;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--line);
	padding-top: 3rem;
	margin-top: 2rem;
	background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 2rem;
	padding-bottom: 2rem;
}

.footer-brand p {
	color: var(--text-muted);
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-start;
}

.footer-copy {
	border-top: 1px solid var(--line);
	padding: 1rem 0;
	color: var(--text-muted);
	font-size: 0.9rem;
}

.footer-copy p {
	margin: 0;
}

/* Motion */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.site-header.is-scrolled {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Pagination */
.navigation.pagination {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

.nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.page-numbers {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	color: var(--text-muted);
	padding: 0 0.75rem;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* Responsive */
@media (max-width: 960px) {
	.cards-grid,
	.programs-grid,
	.stats-grid,
	.pillars-grid,
	.pillars-grid.three,
	.footer-inner,
	.program-hero-inner {
		grid-template-columns: 1fr 1fr;
	}

	.team-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 960px) {
	.contact-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 720px) {
	.contact-form .form-grid {
		grid-template-columns: 1fr;
	}

	.nav-toggle {
		display: inline-block;
	}

	.primary-nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: rgba(12, 13, 16, 0.97);
		border-bottom: 1px solid var(--line);
		padding: 1rem;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}

	.primary-nav.is-open {
		display: flex;
	}

	.lang-switcher {
		width: 100%;
	}

	.lang-switcher__btn {
		width: 100%;
		justify-content: space-between;
	}

	.lang-switcher__menu {
		inset-inline: 0;
		min-width: 0;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-list a {
		display: block;
		padding: 0.85rem 0.25rem;
		border-bottom: 1px solid var(--line);
	}

	.cards-grid,
	.programs-grid,
	.episodes-grid,
	.team-grid,
	.team-section .team-grid,
	.stats-grid,
	.pillars-grid,
	.pillars-grid.three,
	.footer-inner,
	.program-hero-inner {
		grid-template-columns: 1fr;
	}

	.team-hero {
		min-height: 48vh;
	}

	.hero {
		min-height: 78vh;
	}

	.hero-content {
		padding-bottom: 3rem;
	}

	.section {
		padding: 3.5rem 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.card-media img { transition: none; }
}
