/* ==========================================================================
   Wiktor Bak Clone — main stylesheet (v2: hero + merged Editor/Color/Video + contact)
   ========================================================================== */

@font-face {
	font-family: 'EurostileNextLTP';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/EurostileNextLTProBoldCond.woff') format('woff');
}
@font-face {
	font-family: 'EurostileNextLTP';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/EurostileNextLTProCond.woff') format('woff');
}
@font-face {
	font-family: 'EurostileNextLTP';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url('../fonts/EurostileNextLTProLight.woff') format('woff');
}

:root {
	--color-black: #000000;
	--color-header-bg: #0a0a0a;
	--color-video-block: #54595f;
	--color-accent: #ff00f0;
	--color-white: #ffffff;
	--color-muted: #cfcfcf;

	--font-heading: 'EurostileNextLTP', 'Oswald', sans-serif;
	--font-body: 'Rubik', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-black);
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

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

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

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

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent;
	transition: background-color 0.25s ease;
}

.site-header.is-scrolled {
	background: var(--color-header-bg);
}

.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-logo__img {
	height: 40px;
	width: auto;
}

.site-nav__list {
	display: flex;
	gap: 32px;
}

.site-nav__list a {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 13px;
	font-weight: 700;
	color: var(--color-white);
	transition: color 0.2s ease;
}

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

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0;
}

.menu-toggle span {
	display: block;
	height: 2px;
	background: var(--color-accent);
	border-radius: 1px;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	height: 92vh;
	min-height: 520px;
	overflow: hidden;
	background: var(--color-black);
}

.hero__video-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hero__video-wrap iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.78vh;
	min-width: 100%;
	height: 56.25vw;
	min-height: 100%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.hero__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 28px;
	padding: 0 24px;
}

.hero__tagline {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: clamp(20px, 3vw, 32px);
	max-width: 680px;
	margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
	--skew: -12deg;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 16px;
	color: var(--color-white);
	background: transparent;
	border: 2px solid var(--color-accent);
	border-radius: 6px;
	transform: skewX(var(--skew));
	padding: 14px 34px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.btn > * {
	transform: skewX(calc(-1 * var(--skew)));
	display: inline-block;
}

.btn:hover {
	background: var(--color-accent);
	color: var(--color-black);
}

.btn--sm {
	font-size: 13px;
	padding: 10px 24px;
	margin-top: 28px;
}

.btn__play-icon {
	font-size: 11px;
}

/* buttons placed on light column backgrounds need dark border/text */
.btn--on-light {
	border-color: var(--color-black);
	color: var(--color-black);
}
.btn--on-light:hover {
	background: var(--color-black);
	color: var(--color-white);
}
.btn--on-magenta {
	border-color: var(--color-black);
	color: var(--color-black);
}
.btn--on-magenta:hover {
	background: var(--color-black);
	color: var(--color-accent);
}

/* ---------- Divider between hero and the Editor/Color/Video strip ---------- */

.split-divider {
	background: var(--color-black);
	padding: 36px 0;
	display: flex;
	justify-content: center;
}

.split-divider span {
	width: 64px;
	height: 3px;
	background: var(--color-accent);
	border-radius: 2px;
}

/* ---------- Merged Editor/Color/Video strip ---------- */

.split {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.split__col {
	padding: 0 32px 40px;
	color: var(--color-black);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.split__col--editor { background: var(--color-white); }
.split__col--color { background: var(--color-accent); }
.split__col--video { background: var(--color-video-block); color: rgba(0, 0, 0, 0.6); }

.split__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 48px;
}

.split__icon {
	height: 64px;
	margin-bottom: 22px;
	display: flex;
	align-items: flex-end;
}

.split__icon img {
	height: 100%;
	width: auto;
	display: block;
}

.split__title {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 14px;
}

.split__text {
	font-size: 14px;
	margin: 0 0 18px;
	max-width: 260px;
}

.split__gear {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.75;
	margin: 0 0 4px;
}

.split__spec {
	font-size: 12px;
	opacity: 0.6;
	margin: 0 0 20px;
}

.split__col .btn {
	margin-top: 28px;
}

/* ---------- Contact ---------- */

.section--contact {
	padding: 100px 0;
	text-align: center;
	background: var(--color-black);
}

.section__title {
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.25;
	color: var(--color-accent);
	font-size: clamp(28px, 5vw, 44px);
	margin: 0 0 20px;
}

.section__lead {
	max-width: 760px;
	margin: 0 auto 28px;
	color: var(--color-white);
	font-size: 16px;
}

.contact__email {
	margin: 0 0 36px;
	font-size: 20px;
}

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

.social-icons {
	display: flex;
	justify-content: center;
	gap: 18px;
}

.social-icons a {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--color-accent);
	color: var(--color-accent);
	transition: background 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
	background: var(--color-accent);
	color: var(--color-black);
}

.social-icons svg {
	width: 20px;
	height: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--color-header-bg);
	padding: 22px 0;
}

.site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.site-footer__copy {
	margin: 0;
	font-size: 13px;
	color: var(--color-muted);
}

.site-footer__nav a {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

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

.site-footer__nav span {
	margin: 0 8px;
	color: var(--color-muted);
}

/* ---------- Video modal ---------- */

.video-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
}

.video-modal.is-open {
	display: flex;
}

.video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
}

.video-modal__dialog {
	position: relative;
	width: min(900px, 92vw);
	aspect-ratio: 16 / 9;
	z-index: 1;
}

.video-modal__frame,
.video-modal__frame iframe {
	width: 100%;
	height: 100%;
}

.video-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	background: transparent;
	border: 0;
	color: var(--color-white);
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.video-modal__close:hover {
	color: var(--color-accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-accent);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}

	.site-nav.is-open {
		max-height: 260px;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list a {
		display: block;
		padding: 16px 24px;
		color: var(--color-black);
		border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	}

	.menu-toggle {
		display: flex;
	}

	.hero {
		height: 86vh;
	}
}
