/* ==========================================================================
   Hexfox Media — premium dark theme
   Design tokens in :root so the brand identity can be changed in one place.
   ========================================================================== */

:root {
	--bg: #111214;
	--bg-2: #1a1c20;
	--bg-3: #212429;
	--accent: #ff7a24;
	--accent-2: #ff9a52;
	--accent-dim: rgba(255, 122, 36, 0.14);
	--text: #f7f7f7;
	--muted: #a7abb3;
	--line: #303238;
	--radius: 14px;
	--radius-sm: 9px;
	--font: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-fa: 'Vazirmatn', 'Sora', system-ui, sans-serif;
	--header-h: 76px;
	--max: 1220px;
	--pad: clamp(20px, 5vw, 28px);
	--shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

html[dir="rtl"] body { font-family: var(--font-fa); }

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--muted); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.container { width: min(var(--max), calc(100% - var(--pad) - var(--pad))); margin-inline: auto; }
.content-narrow { max-width: 780px; }

.skip-link {
	position: absolute;
	inset-inline-start: 12px;
	top: -60px;
	background: var(--accent);
	color: #141518;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	z-index: 200;
	transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #141518; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.screen-reader-text:focus { width: auto; height: auto; clip: none; }

/* ---------- Sections & typography helpers ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-2); }
.page-hero {
	padding: calc(var(--header-h) + clamp(48px, 7vw, 90px)) 0 clamp(40px, 5vw, 64px);
	background:
		radial-gradient(60% 90% at 85% 0%, rgba(255, 122, 36, 0.10), transparent 60%),
		var(--bg-2);
	border-bottom: 1px solid var(--line);
}

.eyebrow {
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0.02em; }

.section-text { max-width: 640px; font-size: 1.05rem; }
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--accent);
	white-space: nowrap;
}
.link-arrow svg { width: 18px; height: 18px; }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
.link-back {
	display: inline-block;
	color: var(--muted);
	margin-bottom: 18px;
	font-size: 0.92rem;
}
.link-back:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	min-height: 48px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.92rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
	background: linear-gradient(135deg, var(--accent), #ef610b);
	color: #141518;
	box-shadow: 0 10px 30px rgba(255, 122, 36, 0.28);
}
.btn-primary:hover { color: #141518; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 122, 36, 0.38); }
.btn-ghost {
	border-color: var(--line);
	color: var(--text);
	background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; min-height: 38px; font-size: 0.82rem; }
.btn-lg { padding: 15px 34px; min-height: 54px; font-size: 0.98rem; }
.btn .ico svg { width: 20px; height: 20px; display: block; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	border-bottom: 1px solid transparent;
}
.site-header.scrolled {
	background: rgba(17, 18, 20, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.hx-logo { width: 40px; height: 40px; flex: none; }
.site-header img.hx-logo { object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.04rem; font-weight: 700; white-space: nowrap; }
.brand-text strong em { font-style: normal; color: var(--accent); }
.brand-text small { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 500;
	padding: 8px 8px;
	border-radius: 8px;
	position: relative;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.is-active { color: var(--accent); }
.main-nav .nav-artists { border: 1px solid var(--accent); color: var(--accent); white-space: nowrap; }
.main-nav .nav-artists:hover { background: var(--accent-dim); }
@media (max-width: 1440px) {
	.header-cta { display: none; }
}
.main-nav a.is-active::after {
	content: '';
	position: absolute;
	inset-inline: 12px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
	display: flex;
	align-items: center;
	gap: 2px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 3px;
	background: rgba(255, 255, 255, 0.02);
}
.lang-switch a {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--muted);
	padding: 5px 10px;
	border-radius: 999px;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active { background: var(--accent); color: #141518; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: clamp(560px, 84svh, 800px);
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 48px) 0 88px;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: 62% 32%;
	transform: scale(1.04);
}
.hero:not(.has-img) {
	background:
		radial-gradient(52% 60% at 78% 30%, rgba(255, 122, 36, 0.16), transparent 62%),
		radial-gradient(40% 45% at 15% 75%, rgba(255, 122, 36, 0.08), transparent 60%),
		linear-gradient(160deg, #16181c 0%, #111214 55%, #0d0e10 100%);
}
.hero:not(.has-img)::after {
	content: '';
	position: absolute;
	inset-inline-end: -8%;
	top: 18%;
	width: 46vw;
	max-width: 640px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 122, 36, 0.10), transparent 65%);
	filter: blur(10px);
}
.hero-overlay { position: absolute; inset: 0; }
.hero.has-img .hero-overlay {
	background:
		linear-gradient(90deg, rgba(13, 14, 16, 0.92) 0%, rgba(13, 14, 16, 0.66) 46%, rgba(13, 14, 16, 0.34) 78%, rgba(13, 14, 16, 0.22) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 26%),
		linear-gradient(160deg, rgba(255, 122, 36, 0.10) 0%, rgba(255, 122, 36, 0.02) 55%, transparent 80%);
}
@media (min-width: 641px) {
	html[dir="rtl"] .hero.has-img .hero-overlay {
		background:
			linear-gradient(-90deg, rgba(13, 14, 16, 0.92) 0%, rgba(13, 14, 16, 0.66) 46%, rgba(13, 14, 16, 0.34) 78%, rgba(13, 14, 16, 0.22) 100%),
			linear-gradient(0deg, var(--bg) 0%, transparent 26%),
			linear-gradient(160deg, rgba(255, 122, 36, 0.10) 0%, rgba(255, 122, 36, 0.02) 55%, transparent 80%);
	}
}
.hero-fade {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 120px;
	background: linear-gradient(0deg, var(--bg), transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow {
	color: var(--accent-2);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
html[dir="rtl"] .hero-eyebrow { letter-spacing: 0.04em; }
.hero-title {
	font-size: clamp(2.15rem, 5vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 800;
	margin-bottom: 18px;
}
.hero-title em { font-style: normal; color: var(--accent); display: block; }
.hero-text { font-size: clamp(1rem, 1.3vw, 1.1rem); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 16px 30px; flex-wrap: wrap; }
.hero-link { font-size: 0.95rem; }
.hero-player { background: #050505; padding-bottom: 120px; border-bottom: 1px solid var(--line); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-player .hero-overlay { z-index: 1; pointer-events: none; }
.hero-player .hero-fade { z-index: 1; pointer-events: none; }
.hero-logo { position: absolute; left: var(--pad); top: calc(var(--header-h) + 12px); width: 100px; aspect-ratio: 689 / 730; object-fit: contain; z-index: 3; }
.player-ready .hero-video { opacity: 0; transition: opacity 0.8s ease; }
.video-playing .hero-video { opacity: 1; }
.player-ready .hero-logo { transition: left 1s ease, top 1s ease, width 1s ease, transform 1s ease; }
.intro-active:not(.intro-done) .hero-logo { left: 50%; top: 50%; width: min(420px, 78vw); transform: translate(-50%, -50%); }
.intro-active:not(.intro-done) .hero-content,
.intro-active:not(.intro-done) .hero-bg,
.intro-active:not(.intro-done) .hero-overlay,
.intro-active:not(.intro-done) .hero-fade,
.intro-active:not(.intro-done) .player-bar { opacity: 0; visibility: hidden; }
.hero-player .hero-bg { transition: opacity 0.8s ease; }
.hero-player .hero-content { transition: opacity 0.7s ease 0.7s; padding-top: 70px; }
.player-bar { position: absolute; bottom: 18px; inset-inline: 0; z-index: 4; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.player-bar[hidden] { display: none; }
.player-buttons { display: flex; gap: 6px; }
.player-buttons button { min-width: 44px; min-height: 44px; padding: 6px 10px; background: rgba(10, 10, 10, 0.8); color: var(--text); border: 1px solid #666; border-radius: 4px; cursor: pointer; font-size: 0.8rem; }
.player-buttons button:hover { border-color: var(--accent); color: var(--accent); }
.player-seek { flex: 1; min-width: 70px; height: 24px; accent-color: var(--accent); cursor: pointer; }
.player-credit { font-size: 0.7rem; color: #d0d0d0; }
.player-status { color: var(--accent-2); font-size: 0.8rem; }
.player-status:empty { display: none; }

/* ---------- Cards ---------- */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 44px;
}
.card-grid-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- Home services: intro column + compact item grid ---------- */
.services-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: start;
}
.services-intro .link-arrow { margin-top: 8px; }
.svc-items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.svc-item {
	--svc-accent: var(--accent);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid color-mix(in srgb, var(--svc-accent) 32%, var(--line));
	border-top: 3px solid var(--svc-accent);
	background:
		radial-gradient(130% 95% at 50% -35%, color-mix(in srgb, var(--svc-accent) 34%, transparent), transparent 68%),
		linear-gradient(145deg, #2a2b2d, #1c1d20);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	color: var(--text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.svc-item:nth-child(1) { --svc-accent: #ff7a24; }
.svc-item:nth-child(2) { --svc-accent: #38bdf8; }
.svc-item:nth-child(3) { --svc-accent: #4ade80; }
.svc-item:nth-child(4) { --svc-accent: #f472b6; }
.svc-item:nth-child(5) { --svc-accent: #a78bfa; }
.svc-item:nth-child(6) { --svc-accent: #facc15; }
.svc-item:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), 0 0 18px color-mix(in srgb, var(--svc-accent) 22%, transparent); }
.svc-ico { color: var(--svc-accent); flex: none; margin-top: 2px; }
.svc-ico svg { width: 22px; height: 22px; display: block; }
.svc-item strong { display: block; font-size: 0.98rem; font-weight: 600; margin-bottom: 4px; transition: color 0.2s ease; }
.svc-item small { display: block; color: var(--muted); font-size: 0.83rem; line-height: 1.55; }
.svc-item:hover strong { color: var(--svc-accent); }

.service-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
	color: var(--text);
}
.service-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	background: var(--bg-3);
}
.card-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--accent-dim);
	color: var(--accent);
	margin-bottom: 18px;
	flex: none;
}
.card-ico svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; margin: 0; }
.card-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 18px;
	color: var(--accent);
	font-size: 0.85rem;
	font-weight: 600;
}
.card-link svg { width: 16px; height: 16px; }
.service-card:hover .card-link svg { transform: translateX(4px); transition: transform 0.2s; }
html[dir="rtl"] .card-link svg { transform: scaleX(-1); }
html[dir="rtl"] .service-card:hover .card-link svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Portfolio ---------- */
.portfolio-strip {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-top: 40px;
}
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 32px;
}
.pf-card {
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-2);
	border: 1px solid var(--line);
	color: var(--text);
	transition: transform 0.25s ease, border-color 0.25s ease;
}
.pf-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.pf-card:hover .pf-img { transform: scale(1.045); }
.pf-card:hover .pf-meta strong { color: var(--accent); }
.pf-img {
	display: block;
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(150deg, rgba(255, 122, 36, 0.22), rgba(255, 122, 36, 0.04)),
		var(--bg-3);
	background-size: cover;
	background-position: center;
	position: relative;
	transition: transform 0.4s ease;
}
.pf-img-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(150deg, color-mix(in srgb, var(--pj) 30%, transparent), rgba(0,0,0,0.25)), var(--bg-3);
}
.pf-brand-letter {
	font-size: 3.4rem;
	font-weight: 800;
	color: var(--pj);
	opacity: 0.9;
}
.pf-meta { display: block; padding: 16px 18px 18px; }
.pf-meta strong { display: block; font-size: 0.98rem; }
.pf-meta small { color: var(--muted); font-size: 0.82rem; }

.pf-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pf-filter {
	background: var(--bg-2);
	border: 1px solid var(--line);
	color: var(--muted);
	border-radius: 999px;
	padding: 9px 20px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.pf-filter:hover { color: var(--text); border-color: var(--accent); }
.pf-filter.is-active { background: var(--accent); border-color: var(--accent); color: #141518; }
.pf-item.is-hidden { display: none; }

.badge {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
}
.pf-img .badge { position: absolute; top: 12px; inset-inline-start: 12px; }
.badge-demo { background: rgba(0, 0, 0, 0.55); color: var(--muted); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.badge-live { background: rgba(34, 197, 94, 0.16); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.35); }
.badge-dev { background: var(--accent-dim); color: var(--accent-2); border: 1px solid rgba(255, 122, 36, 0.35); }
.badge-planned { background: rgba(167, 171, 179, 0.12); color: var(--muted); border: 1px solid var(--line); }

/* ---------- About split ---------- */
.about-split {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
}
.about-media {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3.4;
	background:
		radial-gradient(70% 80% at 30% 30%, rgba(255, 122, 36, 0.18), transparent 60%),
		var(--bg-3);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-overlay-text {
	position: absolute;
	inset-inline-start: 24px;
	bottom: 24px;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 800;
	font-style: italic;
	line-height: 1.1;
	color: #fff;
	text-shadow: 0 4px 26px rgba(0, 0, 0, 0.6);
	max-width: 220px;
}
.about-feats { display: flex; gap: 26px; margin: 28px 0 30px; flex-wrap: wrap; }
.about-feats li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 600; }
.about-feats .card-ico { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.about-feats .card-ico svg { width: 20px; height: 20px; }
.about-block { margin-bottom: 26px; }
.founder-box .founder-note { color: var(--muted); font-size: 0.85rem; font-style: italic; }

/* ---------- Why list / brand values ---------- */
.why-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px 40px;
	margin-top: 36px;
}
.why-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	border-top: 1px solid var(--line);
	padding: 18px 2px;
	font-size: 0.93rem;
}
.check-ico {
	color: var(--accent);
	flex: none;
	margin-top: 2px;
}
.check-ico svg { width: 18px; height: 18px; display: block; }

/* ---------- Projects ---------- */
.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 44px;
}
.project-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	color: var(--text);
	transition: transform 0.25s ease, border-color 0.25s ease;
}
.project-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.pj-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pj-logo {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(140deg, var(--pj), color-mix(in srgb, var(--pj) 55%, #000));
}
.pj-cat { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.project-card p { font-size: 0.9rem; margin: 0; }
.project-card .card-link { margin-top: auto; padding-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(70% 120% at 50% 100%, rgba(255, 122, 36, 0.14), transparent 60%),
		var(--bg-2);
	border-top: 1px solid var(--line);
}
.cta-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 32%;
}
.cta-band.has-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(70% 120% at 50% 110%, rgba(255, 122, 36, 0.16), transparent 60%),
		linear-gradient(180deg, rgba(10, 11, 13, 0.78) 0%, rgba(10, 11, 13, 0.62) 100%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; }
.cta-inner p { margin-bottom: 30px; }

.academy-band { border-bottom: 1px solid var(--line); background: #171819; }
.academy-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.academy-actions .link-arrow { white-space: normal; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 30px; }
.offer-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(20px, 3vw, 30px); background: var(--bg-2); border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 6px; scroll-margin-top: calc(var(--header-h) + 24px); }
.offer-card h3 { margin: 0; font-size: 1.18rem; }
.offer-card p { font-size: 0.94rem; }
.offer-card .link-arrow { margin-top: auto; white-space: normal; font-size: 0.86rem; }
.offer-icon { color: var(--accent); }
.offer-icon svg { width: 26px; height: 26px; }
.offer-followup { margin: 28px 0 0; }
.application-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 36px; align-items: start; }
.application-note { padding: 20px 24px; border-inline-start: 3px solid var(--accent); background: var(--bg-2); color: var(--text); }
.application-aside h2 { font-size: 1.35rem; }
.application-aside hr { border: 0; border-top: 1px solid var(--line); margin-block: 28px; }
.form-hint { font-size: 0.85rem; }
.hx-application-form { scroll-margin-top: calc(var(--header-h) + 24px); }
.hx-application-form .btn { white-space: normal; }
.hx-application-form [hidden] { display: none; }

/* ---------- Contact ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(28px, 5vw, 60px);
	align-items: start;
}
.hx-form {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(24px, 4vw, 40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.form-field { --field-accent: var(--accent); }
.hx-form .form-field:nth-of-type(6n+1) { --field-accent: #ff7a24; }
.hx-form .form-field:nth-of-type(6n+2) { --field-accent: #38bdf8; }
.hx-form .form-field:nth-of-type(6n+3) { --field-accent: #4ade80; }
.hx-form .form-field:nth-of-type(6n+4) { --field-accent: #f472b6; }
.hx-form .form-field:nth-of-type(6n+5) { --field-accent: #a78bfa; }
.hx-form .form-field:nth-of-type(6n) { --field-accent: #facc15; }
.form-field .req { color: var(--accent); }
.form-field .opt { color: var(--muted); font-weight: 400; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
	width: 100%;
	background: color-mix(in srgb, var(--field-accent) 9%, var(--bg-2));
	border: 1px solid color-mix(in srgb, var(--field-accent) 45%, var(--line));
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: 13px 16px;
	font-size: 0.95rem;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
	border-color: var(--field-accent);
	background: color-mix(in srgb, var(--field-accent) 14%, var(--bg-2));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--field-accent) 24%, transparent), 0 0 18px color-mix(in srgb, var(--field-accent) 20%, transparent);
	outline: none;
}
.form-field.field-error input,
.form-field.field-error select,
.form-field.field-error textarea { border-color: #ef4444; }
.form-consent .checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.hx-form .form-hint { color: color-mix(in srgb, var(--field-accent, var(--accent)) 55%, #cfc9c5); }
.form-consent input { margin-top: 4px; accent-color: var(--accent); }
.form-consent.field-error .checkbox { color: #ef4444; }

.form-field input[type="file"] {
	width: 100%;
	color: var(--muted);
	font-size: 0.9rem;
}
.form-field input[type="file"]::file-selector-button {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: 9px 16px;
	font-family: inherit;
	font-size: 0.85rem;
	margin-inline-end: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.form-field input[type="file"]::file-selector-button:hover { border-color: var(--accent); }

.form-note {
	border-inline-start: 3px solid var(--accent);
	background: var(--bg);
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	margin-bottom: 18px;
	font-size: 0.88rem;
	line-height: 1.75;
	color: var(--muted);
}

.hp-field { position: absolute; left: -9999px; top: -9999px; visibility: hidden; }

.review-table { width: 100%; border-collapse: collapse; }
.review-table th, .review-table td {
	padding: 11px 0;
	text-align: start;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
	font-size: 0.9rem;
}
.review-table th { color: var(--muted); font-weight: 600; width: 38%; padding-inline-end: 18px; }
.review-table td { white-space: pre-wrap; }

.form-alert {
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	margin-bottom: 22px;
	font-size: 0.92rem;
}
.form-success { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); color: #4ade80; }
.form-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }

.side-card {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px;
	position: sticky;
	top: calc(var(--header-h) + 24px);
}
.side-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list small { display: block; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.side-list a, .side-list span { color: var(--text); font-size: 0.95rem; word-break: break-all; }
.f-ico { color: var(--accent); flex: none; margin-top: 2px; }
.f-ico svg { width: 20px; height: 20px; display: block; }

/* ---------- Service detail ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.check-list li:last-child { border-bottom: 0; }

/* ---------- Legal ---------- */
.legal-body h2 { font-size: 1.25rem; margin-top: 2em; }
.legal-note {
	background: var(--accent-dim);
	border: 1px solid rgba(255, 122, 36, 0.4);
	border-radius: var(--radius-sm);
	padding: 16px 20px;
	font-size: 0.9rem;
	color: var(--accent-2);
	margin-bottom: 12px;
}
.legal-body .todo { color: var(--accent-2); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--line);
	background: #0c0d0f;
	padding-top: clamp(48px, 7vw, 80px);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: clamp(28px, 4vw, 56px);
	padding-bottom: 48px;
}
.f-brand .brand { margin-bottom: 18px; }
.f-desc { font-size: 0.9rem; max-width: 300px; }
.f-col h4 {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--text);
	margin-bottom: 18px;
}
.f-col ul li { margin-bottom: 10px; }
.f-col a { color: var(--muted); font-size: 0.92rem; }
.f-col a:hover { color: var(--accent); }
.f-col li { display: flex; align-items: flex-start; gap: 10px; }
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	border-top: 1px solid var(--line);
	padding-top: 22px;
	padding-bottom: 26px;
}
.footer-bottom p { margin: 0; font-size: 0.82rem; }
.footer-bottom ul { display: flex; gap: 22px; }
.footer-bottom ul a { color: var(--muted); font-size: 0.82rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.services-split { grid-template-columns: 1fr; }
	.services-intro { max-width: 560px; }
	.portfolio-strip { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.about-split { grid-template-columns: 1fr; }
	.about-media { max-height: 460px; }
	.contact-grid { grid-template-columns: 1fr; }
	.side-card { position: static; }
	.why-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1280px) {
	.application-layout { grid-template-columns: 1fr; }
	:root { --header-h: 66px; }
	.header-cta { display: none; }
	.nav-toggle { display: flex; }
	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		background: rgba(17, 18, 20, 0.97);
		backdrop-filter: blur(16px);
		border-bottom: 1px solid var(--line);
		padding: 20px 24px 28px;
		max-height: calc(100svh - var(--header-h));
		overflow-y: auto;
		transform: translateY(-130%);
		transition: transform 0.3s ease;
	}
	.site-header.nav-open .main-nav { transform: none; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
	.main-nav a { display: block; padding: 13px 16px; font-size: 1.02rem; }
	.main-nav a.is-active::after { display: none; }
	.main-nav a.is-active { background: var(--accent-dim); border-radius: 8px; }
	.main-nav { margin-inline-start: 0; }
}

@media (max-width: 720px) {
	.svc-items { gap: 10px; }
	.svc-item { padding: 14px 10px; gap: 10px; min-width: 0; }
	.svc-item strong { font-size: 0.8rem; overflow-wrap: anywhere; hyphens: auto; }
	.svc-item small { font-size: 0.72rem; overflow-wrap: anywhere; }
	.why-list { grid-template-columns: 1fr; }
}

/* ---- Mobile: art-directed hero + compact sections ---- */
@media (max-width: 640px) {
	.portfolio-strip { grid-template-columns: repeat(2, 1fr); }
	.form-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.svc-grid { grid-template-columns: 1fr; }
	.brand-text small { display: none; }
	.lang-switch { order: -1; }
	.header-inner { gap: 12px; }
	.header-actions { gap: 10px; }
	.hx-logo { width: 34px; height: 34px; }
	.brand-text strong { font-size: 0.98rem; }
	.lang-switch { padding: 2px; }
	.lang-switch a { padding: 4px 9px; font-size: 0.68rem; }
	.nav-toggle { padding: 6px; gap: 4px; }
	.nav-toggle span { width: 20px; }
	.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

	.hero {
		min-height: 78svh;
		align-items: flex-end;
		padding: calc(var(--header-h) + 40px) 0 56px;
	}
	.hero-bg { background-position: 56% 30%; }
	.hero.has-img .hero-overlay {
		background:
			linear-gradient(180deg, rgba(13, 14, 16, 0.40) 0%, rgba(13, 14, 16, 0.52) 48%, rgba(13, 14, 16, 0.93) 100%),
			linear-gradient(0deg, var(--bg) 0%, transparent 20%),
			linear-gradient(160deg, rgba(255, 122, 36, 0.08) 0%, transparent 55%);
	}
	.hero-fade { height: 80px; }
	.hero-player { padding-bottom: 150px; min-height: max(78svh, 650px); }
	.hero-player .hero-content { padding-top: 70px; }
	.hero-logo { width: 76px; }
	.player-bar { gap: 8px; }
	.player-credit { flex-basis: 100%; }
	.player-buttons button { padding-inline: 7px; }
	.player-seek { min-width: 55px; }
	.hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; margin-bottom: 14px; }
	.hero-title { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 14px; }
	.hero-text { font-size: 1rem; margin-bottom: 26px; }
	.hero-actions { gap: 14px 24px; }
	.hero-link { font-size: 0.9rem; }

	.section-head { gap: 14px; margin-bottom: 4px; }
	.about-feats { gap: 16px; }
}

@media (max-width: 480px) {
	.svc-items { gap: 8px; }
	.svc-item { padding: 12px 8px; }
	.svc-item strong { font-size: 0.72rem; }
	.svc-item small { font-size: 0.66rem; }
}

/* ---------- F�RDE MEDIA ---------- */
:root { --fm-accent: #38bdf8; --fm-accent-dim: rgba(56, 189, 248, 0.14); }
.fm-hero {
	padding: clamp(70px, 12vw, 130px) 0 clamp(50px, 8vw, 90px);
	background:
		radial-gradient(90% 130% at 80% -20%, rgba(56, 189, 248, 0.16), transparent 60%),
		radial-gradient(70% 110% at 10% 110%, rgba(255, 122, 36, 0.12), transparent 55%),
		var(--bg);
	border-bottom: 1px solid var(--line);
}
.fm-hero-inner { max-width: 780px; }
.fm-eyebrow { color: var(--fm-accent); }
.fm-hero h1 { font-size: clamp(2.3rem, 6.5vw, 4.4rem); letter-spacing: -0.02em; }
.fm-cta { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; margin-top: 30px; }
.nav-foerde { color: var(--fm-accent); font-weight: 700; letter-spacing: 0.04em; }

.fm-live-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.5);
	color: #fca5a5; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
}
.fm-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: fm-pulse 1.4s infinite; }
@keyframes fm-pulse { 50% { opacity: 0.35; } }

.fm-player { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.fm-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.fm-player-title { margin-top: 14px; font-size: 1.15rem; }
.fm-live-note { max-width: 720px; }
.fm-upcoming { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; max-width: 640px; }
.fm-upcoming li {
	display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
	padding: 13px 18px; border: 1px solid var(--line); border-inline-start: 3px solid var(--fm-accent);
	border-radius: var(--radius-sm); background: var(--bg-2); font-size: 0.92rem;
}
.fm-upcoming span { color: var(--muted); }

.fm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.fm-filters button {
	background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
	border-radius: 999px; padding: 7px 16px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.fm-filters button:hover { color: var(--text); border-color: var(--fm-accent); }
.fm-filters button.is-active { color: #05121c; background: var(--fm-accent); border-color: var(--fm-accent); }

.fm-empty {
	border: 1px dashed var(--line); border-radius: var(--radius);
	padding: 34px 26px; color: var(--muted); font-size: 0.95rem; text-align: center;
}

.fm-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fm-story-card {
	display: flex; flex-direction: column; background: var(--bg-2);
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease;
}
.fm-story-card:hover { transform: translateY(-4px); border-color: var(--fm-accent); }
.fm-story-img { aspect-ratio: 16/10; overflow: hidden; display: block; }
.fm-story-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.fm-story-card:hover .fm-story-img img { transform: scale(1.04); }
.fm-story-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fm-story-body h3 { font-size: 1.08rem; margin: 0; }
.fm-story-body h3 a { color: var(--text); }
.fm-story-body h3 a:hover { color: var(--fm-accent); }
.fm-story-body p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.fm-story-body small { color: var(--muted); font-size: 0.78rem; }
.fm-read { margin-top: auto; font-size: 0.85rem; }

.fm-badge {
	display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 4px 10px; border-radius: 999px; width: fit-content;
	background: var(--fm-accent-dim); color: var(--fm-accent); border: 1px solid color-mix(in srgb, var(--fm-accent) 35%, transparent);
}
.fm-badge-event { background: rgba(74, 222, 128, 0.12); color: #4ade80; border-color: rgba(74, 222, 128, 0.35); }
.fm-badge-interview { background: rgba(244, 114, 182, 0.12); color: #f472b6; border-color: rgba(244, 114, 182, 0.35); }
.fm-badge-reportage { background: rgba(167, 139, 250, 0.12); color: #a78bfa; border-color: rgba(167, 139, 250, 0.35); }
.fm-badge-story { background: rgba(250, 204, 21, 0.12); color: #facc15; border-color: rgba(250, 204, 21, 0.35); }

.fm-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fm-video-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; max-width: 900px; }
.fm-video-card { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fm-video-card figcaption { font-size: 0.9rem; font-weight: 600; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.fm-video-thumb {
	position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; cursor: pointer;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000;
}
.fm-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; transition: transform 0.4s ease, opacity 0.3s; }
.fm-video-thumb:hover img { transform: scale(1.04); opacity: 1; }
.fm-video-thumb:focus-visible { outline: 2px solid var(--fm-accent); outline-offset: 2px; }
.fm-play {
	position: absolute; inset: 0; margin: auto; width: 64px; height: 64px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(5, 10, 16, 0.72); border: 2px solid var(--fm-accent); border-radius: 50%;
	color: var(--fm-accent); font-size: 1.3rem; padding-inline-start: 5px;
	backdrop-filter: blur(4px); transition: transform 0.25s ease, background 0.25s ease;
}
.fm-video-thumb:hover .fm-play { transform: scale(1.12); background: var(--fm-accent); color: #05121c; }

.fm-sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.fm-sponsor {
	position: relative; display: flex; align-items: center; justify-content: center;
	min-height: 110px; padding: 22px; background: var(--bg-2);
	border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
}
.fm-sponsor:hover { border-color: var(--fm-accent); }
.fm-sponsor img { max-height: 70px; width: auto; }
.fm-ad-tag {
	position: absolute; top: 8px; inset-inline-end: 10px;
	font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

.fm-about-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.fm-about-inner > div { max-width: 640px; }
.fm-about-inner .form-hint { margin-top: 14px; }
.fm-article-img { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.fm-article-img img { width: 100%; height: auto; display: block; }
.fm-article-body { font-size: 1rem; line-height: 1.9; margin-bottom: 30px; }
.fm-article-body p { margin-bottom: 1.2em; }
.fm-article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

.foerde-band { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(56, 189, 248, 0.06), transparent 65%), #131517; }
.foerde-band .section-text { max-width: 620px; }
.btn-foerde { background: var(--fm-accent); color: #05121c; }
.btn-foerde:hover { background: #63cdf9; color: #05121c; box-shadow: 0 6px 24px rgba(56, 189, 248, 0.35); }

@media (max-width: 1024px) {
	.fm-story-grid, .fm-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.fm-hero { padding: 46px 0 40px; }
	.fm-hero h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
	.fm-story-grid, .fm-video-grid, .fm-video-grid-featured { grid-template-columns: 1fr; }
	.fm-about-inner { flex-direction: column; align-items: flex-start; }
	.fm-play { width: 52px; height: 52px; font-size: 1.05rem; }
}
