/*
Theme Name: Exitmobiil
Theme URI: https://exitmobiil.ee
Author: Riin Agency
Author URI: https://riin.eu
Description: Exitmobiili plokkteema (Gutenberg). Kujundus kliendi eeskuju järgi.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: exitmobiil
*/

:root {
	--bg: #070809;
	--panel: #101214;
	--panel-2: #151719;
	--text: #f4f3ef;
	--muted: #9da3a7;
	--line: #ffffff21;
	--accent: #e30204;
	--accent-hover: #ff2529;
	--accent-deep: #a90002;
	--accent-soft: #e3020429;
	--max: 1360px;
	--pad: clamp(22px, 5vw, 76px);
}

/* ---------- alus ---------- */
html { scroll-behavior: smooth; }
body {
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
	overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, a, summary, li { overflow-wrap: break-word; }
h1, h2, h3, h4, p, ul, figure { margin-top: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid #ff5053; outline-offset: 4px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content > * { margin-block-start: 0 !important; margin-block-end: 0; }
.em-main { margin: 0; }

h1, h2 { letter-spacing: -0.055em; font-weight: 500; line-height: 0.94; }
h1 { max-width: 900px; margin: 0; font-size: clamp(54px, 7.3vw, 112px); }
h1 em, h2 em { color: #d0cdc5; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h3, h4 { font-weight: 700; }

/* ---------- nupud ---------- */
.wp-block-buttons { gap: 30px; align-items: center; }
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
	background: var(--accent);
	color: #fff;
	border: 1px solid var(--accent);
	border-radius: 0;
	letter-spacing: 0.02em;
	text-align: left;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	max-width: 100%;
	min-height: 54px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	transition: all 0.25s;
	display: inline-flex;
	text-decoration: none;
}
.wp-block-button__link::after { content: "↗"; font-weight: 400; }
.em-down .wp-block-button__link::after { content: "↓"; }
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: #fff;
	transform: translateY(-2px);
}
.wp-block-button.is-style-light .wp-block-button__link { color: #111; background: #f2eee7; border-color: #f2eee7; min-width: 220px; }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff; border-color: #fff; color: #111; }
.wp-block-button.is-style-link .wp-block-button__link {
	background: none;
	border: 0;
	border-bottom: 1px solid #ffffff59;
	color: inherit;
	min-height: 0;
	padding: 11px 0;
	gap: 8px;
	font-size: 13px;
	letter-spacing: 0;
}
.wp-block-button.is-style-link .wp-block-button__link:hover { background: none; border-color: var(--accent); transform: none; }
.wp-block-button.is-style-small .wp-block-button__link { gap: 14px; min-height: 42px; padding: 8px 18px; font-size: 12px; }
.wp-block-button.is-style-small .wp-block-button__link::after { content: none; }
.em-full-btn .wp-block-button, .em-full-btn .wp-block-button__link { width: 100%; }

/* ---------- päis ---------- */
.em-header {
	z-index: 50;
	width: 100%;
	height: 88px;
	padding: 0 var(--pad);
	background: linear-gradient(#030507c2, #0000);
	border-bottom: 1px solid #0000;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	transition: all 0.35s;
	display: flex;
	flex-wrap: nowrap;
	position: fixed;
	top: 0; left: 0; right: 0;
	margin: 0 !important;
}
.admin-bar .em-header { top: 32px; }
.em-header.is-scrolled,
body:not(.home) .em-header {
	/* NB: backdrop-filter ei tohi olla — muidu jääb mobiilimenüü (position:fixed) päise sisse kinni */
	border-color: var(--line);
	background: #070809f5;
}
.em-header.is-scrolled { height: 72px; }
.em-brand { flex: 0 1 176px; margin: 0 !important; }
.em-brand img { width: 176px; max-width: 100%; height: auto; }
.em-header .wp-block-navigation { color: #dadcdc; font-size: 13px; gap: clamp(16px, 2vw, 30px); margin: 0 !important; }
.em-header .wp-block-navigation .wp-block-navigation__container { gap: clamp(16px, 2vw, 30px); }
.em-header .wp-block-navigation-item__content { position: relative; padding: 0; }
.em-header .wp-block-navigation-item__content::after {
	content: "";
	background: var(--accent);
	height: 2px;
	transition: all 0.3s;
	position: absolute;
	bottom: -9px; left: 0; right: 100%;
}
.em-header .wp-block-navigation-item__content:hover::after,
.em-header .current-menu-item > .wp-block-navigation-item__content::after { right: 0; }
.em-header .wp-block-buttons { flex: none; margin: 0 !important; }
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { color: #fff; }
.wp-block-navigation__responsive-container.is-menu-open {
	background: #070809 !important;
	color: var(--text) !important;
	padding: 28px var(--pad) 36px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; justify-content: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { margin: 0 !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { border-bottom: 1px solid var(--line); width: 100%; padding: 6px 0; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding: 70px var(--pad) 0 !important; align-items: flex-start; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 22px; right: var(--pad); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 14px; align-items: flex-start; font-size: 22px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }

@media (max-width: 1100px) {
	.em-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.em-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.em-header .wp-block-navigation { order: 3; }
	.em-header .wp-block-buttons { margin-left: auto !important; }
}

/* ---------- avalehe hero ---------- */
.em-hero.wp-block-cover {
	align-items: flex-end;
	justify-content: flex-start;
	height: min(900px, 100svh);
	min-height: 720px !important;
	padding: 0;
}
.em-hero .wp-block-cover__image-background { object-position: 64% center; }
.em-hero > .wp-block-cover__background,
.em-page-hero > .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, #040506fa 0%, #040506c4 38%, #04050614 74%), linear-gradient(#0000 58%, #040506db) !important;
}
.em-hero .wp-block-cover__inner-container {
	width: min(850px, 72%) !important;
	max-width: 100%;
	padding: 0 var(--pad) clamp(90px, 11vh, 132px);
	margin: 0 !important;
	color: var(--text);
	animation: 0.85s both emFadeUp;
}
.em-eyebrow, .em-index {
	color: #bdc1c2;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin: 0 0 25px;
	font-size: 11px;
	font-weight: 700;
}
.em-eyebrow { display: flex; align-items: center; gap: 12px; }
.em-eyebrow::before { content: ""; background: var(--accent); flex: 0 0 34px; width: 34px; height: 2px; }
.em-lead {
	color: #c7cbcd;
	max-width: 650px;
	margin: 18px 0 0;
	font-size: clamp(17px, 1.4vw, 21px);
	line-height: 1.6;
}
.em-lead + .em-lead { margin-top: 7px; }
.em-hero .wp-block-buttons,
.em-page-hero .wp-block-buttons { margin-top: 32px; }

/* ---------- faktiriba ---------- */
.em-fact-bar {
	width: 100%;
	padding: 0 var(--pad);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: #0d0f11;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	display: grid;
}
.em-fact-bar > div {
	border-right: 1px solid var(--line);
	flex-direction: column;
	justify-content: center;
	min-height: 126px;
	padding: 25px clamp(16px, 3vw, 44px);
	display: flex;
}
.em-fact-bar > div:first-child { padding-left: 0; }
.em-fact-bar > div:last-child { border: 0; }
.em-fact-bar p { margin: 0; }
.em-fact-bar .em-fact-num { letter-spacing: -0.04em; font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; line-height: 1.5; }
.em-fact-bar .em-fact-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 5px; font-size: 11px; }

/* ---------- sektsioonid ---------- */
.em-section {
	width: 100%;
	max-width: var(--max);
	padding: clamp(95px, 12vw, 180px) var(--pad);
	margin: auto !important;
}
.em-section h2 { margin: 0; font-size: clamp(48px, 6vw, 90px); }
.em-wrap { width: 100%; max-width: calc(var(--max) - var(--pad) * 2); margin-left: auto; margin-right: auto; }
.em-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7vw; display: grid; }
.em-large-copy { color: #b8bdc0; padding-top: 38px; font-size: clamp(18px, 1.65vw, 24px); line-height: 1.58; }
.em-large-copy p { max-width: 680px; margin-bottom: 1em; }
.em-strong-copy { color: #fff; font-weight: 600; }
.em-signature {
	border-top: 1px solid var(--line);
	color: #fff;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-top: 55px !important;
	padding-top: 20px;
	font-size: 13px;
	font-weight: 700;
}
.em-intro { max-width: 600px; color: var(--muted); margin-top: 32px; font-size: 17px; line-height: 1.7; }
.em-row-heading { justify-content: space-between; align-items: flex-end; gap: 40px; display: flex; }
.em-row-heading > p { width: min(360px, 100%); color: var(--muted); margin-bottom: 4px; font-size: 16px; line-height: 1.7; flex: none; }

/* protsess (hele) */
.em-process { color: #121416; background: #eeebe4; max-width: none; }
.em-process .em-index { color: #777; }
.em-process-lead { color: #5e5b55; max-width: 680px; margin: 28px 0 0; font-size: 18px; line-height: 1.7; }
.em-process-grid {
	border-top: 1px solid #bbb7af;
	border-left: 1px solid #bbb7af;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 70px !important;
	display: grid;
}
.em-process-card {
	border-bottom: 1px solid #bbb7af;
	border-right: 1px solid #bbb7af;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 230px;
	padding: 30px;
	display: flex;
}
.em-process-card::before {
	content: "";
	background: var(--accent);
	border-radius: 50%;
	width: 10px; height: 10px;
	margin-bottom: auto;
	box-shadow: 0 0 0 7px #e3020417;
}
.em-process-card h3 { margin: 0 0 10px; font-size: 21px; }
.em-process-card p { color: #686761; max-width: 260px; margin-bottom: 0; font-size: 14px; }

/* jooksev riba */
.em-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0d0f11; width: 100%; overflow: hidden; }
.em-marquee p {
	color: #d7d8d6;
	letter-spacing: 0.12em;
	white-space: nowrap;
	padding: 25px 0;
	margin: 0;
	font-size: clamp(15px, 1.5vw, 22px);
	font-weight: 700;
	width: max-content;
	animation: 32s linear infinite emMarquee;
	will-change: transform;
}
@keyframes emMarquee { to { transform: translateX(-50%); } }

/* mängukaardid */
.em-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 70px !important; display: grid; }
.em-compact { margin-top: 40px !important; }
.em-game-card.wp-block-cover {
	border: 1px solid var(--line);
	background: #121416;
	border-radius: 8px;
	width: 100%;
	min-height: 570px !important;
	padding: 0;
	overflow: hidden;
	align-items: flex-end;
}
.em-game-card .wp-block-cover__image-background { transition: transform 0.8s; }
.em-game-card:hover .wp-block-cover__image-background { transform: scale(1.04); }
.em-game-card > .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(#03040573, #0000 35%, #030405f0) !important; }
.em-game-card .wp-block-cover__inner-container { position: static; width: 100% !important; padding: 0 34px 35px; color: var(--text); }
.em-game-card .wp-block-cover__inner-container > * { position: relative; z-index: 1; }
.em-game-card .em-game-meta { position: absolute; top: 32px; left: 34px; right: 34px; letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; margin: 0; }
.em-game-card h3 { letter-spacing: -0.05em; margin: 0 0 14px; font-size: clamp(42px, 5vw, 72px); line-height: 1; font-weight: 500; }
.em-game-card h4 { max-width: 520px; margin: 0 0 12px; font-size: clamp(17px, 1.55vw, 24px); line-height: 1.2; }
.em-game-card p:not(.em-game-meta):not(.em-game-cta) { color: #c1c4c5; max-width: 440px; margin: 0 0 20px; font-size: 14px; line-height: 1.6; }
.em-game-cta { margin: 0; }
.em-game-cta a {
	border-bottom: 1px solid #ffffff73;
	align-items: center;
	gap: 10px;
	padding-bottom: 5px;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
}
.em-game-cta a::after { content: "↗"; }
.em-game-cta a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.em-game-card:hover .em-game-cta a { border-color: var(--accent); }

/* üritusetüübid */
.em-event { border-top: 1px solid var(--line); }
.em-event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 62px !important; display: grid; }
.em-event-card {
	border: 1px solid var(--line);
	border-top: 2px solid var(--accent);
	background: linear-gradient(150deg, #15181a, #0b0d0f);
	border-radius: 8px;
	flex-direction: column;
	min-height: 470px;
	padding: clamp(28px, 3vw, 44px);
	transition: transform 0.35s, border-color 0.35s;
	display: flex;
}
.em-event-card:hover { border-color: #ffffff4d; transform: translateY(-6px); }
.em-label { color: #aeb3b5; letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; font-weight: 700; }
.em-event-card h3 { letter-spacing: -0.045em; margin: 30px 0 22px; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.06; font-weight: 500; }
.em-event-card > p:not(.em-label) { color: var(--muted); font-size: 14px; line-height: 1.72; }
.em-event-card .wp-block-buttons { margin-top: auto; }

/* 30 MIN */
.em-kinetic {
	isolation: isolate;
	background: radial-gradient(circle at 80% 30%, #e302042e, #0000 35%), #0b0d0f;
	place-items: center;
	max-width: none;
	min-height: 800px;
	display: grid;
	position: relative;
	overflow: clip;
}
.em-kinetic .em-kinetic-word {
	z-index: 1;
	max-width: none;
	color: #ffffff06;
	letter-spacing: -0.1em;
	white-space: nowrap;
	pointer-events: none;
	font-size: clamp(160px, 30vw, 520px);
	font-weight: 800;
	line-height: 0.7;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	user-select: none;
}
.em-kinetic > div { z-index: 2; width: min(100%, 980px); position: relative; }
.em-kinetic h2 { text-transform: uppercase; font-size: clamp(62px, 9vw, 150px); }
.em-kinetic p { color: #b9bdc0; max-width: 760px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.7; }
.em-kinetic .em-kinetic-strong { color: #fff; margin-top: 34px; font-size: clamp(22px, 2.3vw, 36px); font-weight: 700; }

/* hinnad (avaleht) */
.em-pricing { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: start; gap: 8vw; display: grid; }
.em-price-panel { border-top: 1px solid var(--line); }
.em-price-panel > p { border-bottom: 1px solid var(--line); padding: 20px 0; font-size: 18px; margin: 0; }
.em-price-row { border-bottom: 1px solid var(--line); justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; display: flex; }
.em-price-row p { margin: 0; }
.em-price-row p:first-child { color: var(--muted); text-transform: uppercase; letter-spacing: 0.13em; font-size: 12px; }
.em-price-row p:last-child { letter-spacing: -0.05em; flex: none; font-size: 52px; font-weight: 700; line-height: 1.2; }
.em-price-note { background: #151719; border-radius: 8px; margin: 25px 0 30px !important; padding: 24px; }
.em-price-note p { margin: 0; color: var(--muted); font-size: 12px; }
.em-price-note p:first-child { margin-bottom: 4px; font-weight: 700; color: var(--text); font-size: 16px; }

/* galerii (avaleht) */
.em-gallery { background: #111416; max-width: none; }
.em-gallery-grid {
	grid-template-rows: 270px 270px;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: 16px;
	margin-top: 65px !important;
	display: grid;
}
.em-gallery-grid figure { background: #0b0d0f; border-radius: 8px; margin: 0; overflow: hidden; }
.em-gallery-grid figure:first-child { grid-row: span 2; }
.em-gallery-grid img { object-fit: cover; width: 100%; height: 100% !important; transition: transform 0.7s; }
.em-gallery-grid figure:nth-child(2) img { object-position: center 58%; }
.em-gallery-grid figure:hover img { transform: scale(1.035); }

/* päriselt mobiilne */
.em-mobility { border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(44px, 7vw, 100px); display: grid; }
.em-mobility > div > p:not(.em-index) { max-width: 620px; color: var(--muted); margin: 28px 0; font-size: 17px; line-height: 1.75; }
.em-mobility figure { border: 1px solid var(--line); background: #111416; border-radius: 8px; margin: 0; overflow: hidden; }
.em-mobility figure img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* KKK */
.em-faq { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr); gap: 8vw; display: grid; }
.em-faq-list { border-top: 1px solid var(--line); }
.wp-block-details { border-bottom: 1px solid var(--line); margin: 0 !important; }
.wp-block-details summary {
	cursor: pointer;
	grid-template-columns: minmax(0, 1fr) 30px;
	align-items: center;
	gap: 12px;
	min-height: 86px;
	font-size: 17px;
	font-weight: 600;
	list-style: none;
	display: grid;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-size: 22px; font-weight: 300; transition: all 0.25s; justify-self: end; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details p { color: var(--muted); max-width: 760px; padding: 0 45px 25px 0; font-size: 14px; line-height: 1.7; margin: 0; }

/* lõpu üleskutse */
.em-final-cta {
	min-height: 700px;
	padding: 100px var(--pad);
	text-align: center;
	border-top: 2px solid var(--accent);
	background: radial-gradient(circle at 50% 35%, #e302043d, #0000 42%), linear-gradient(#111315, #070809);
	place-items: center;
	display: grid;
}
.em-final-cta > div { width: min(100%, 1200px); }
.em-final-cta h2 { margin: 0 0 28px; font-size: clamp(52px, 7vw, 104px); }
.em-final-cta p:not(.em-eyebrow) { margin-bottom: 34px; font-size: 18px; }
.em-final-cta .em-eyebrow { color: #d4d6d7; justify-content: center; }
.em-final-cta .wp-block-buttons { justify-content: center; }

/* ---------- alamlehed ---------- */
.em-page-hero {
	min-height: 650px;
	padding: 170px var(--pad) 90px;
	background: radial-gradient(circle at 80% 30%, var(--accent-soft), transparent 33%), #0e1114;
	align-items: flex-end;
	display: flex;
	position: relative;
}
.em-page-hero > div:last-child { width: min(100%, 1100px); position: relative; z-index: 2; animation: 0.85s both emFadeUp; }
.em-page-hero h1 { max-width: 100%; font-size: clamp(56px, 7.3vw, 108px); }
.em-page-hero .em-lead { max-width: 760px; }
.em-page-hero.wp-block-cover { min-height: 760px !important; overflow: hidden; justify-content: flex-start; }
.em-page-hero.wp-block-cover > .wp-block-cover__background { background: linear-gradient(90deg, #050709fa, #050709c2 52%, #0507092e), linear-gradient(#0000, #050709bd) !important; }
.em-page-hero .wp-block-cover__inner-container { margin: 0 !important; color: var(--text); }

.em-standard { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 8vw; display: grid; }
.em-standard > div > p:not(.em-index) { max-width: 690px; color: var(--muted); margin-top: 32px; font-size: 18px; line-height: 1.75; }
.em-standard h2 { font-size: clamp(36px, 4vw, 60px) !important; }

.em-story, .em-detail, .em-fit { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8vw; display: grid; }
.em-story { border-bottom: 1px solid var(--line); }
.em-story .em-large-copy { padding-top: 8px; }
.em-story-reverse > div:first-child { order: 2; }
.em-bullets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; display: grid; }
.em-bullets li { border-left: 2px solid var(--accent); color: #e1e2df; background: #111416; padding: 14px 16px; font-size: 16px; }

.em-expect { color: #121416; background: #eeebe4; max-width: none; }
.em-expect .em-index { color: #6f6b64; }
.em-expect-grid { border-left: 1px solid #c6c1b8; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 60px !important; display: grid; }
.em-expect-grid > div { border: 1px solid #c6c1b8; border-left: 0; min-height: 250px; padding: 28px 24px; }
.em-expect-grid > div::before { content: ""; background: var(--accent); border-radius: 50%; width: 10px; height: 10px; margin-bottom: 58px; display: block; }
.em-expect-grid h3 { font-size: 19px; }
.em-expect-grid p { color: #66635c; margin: 0; font-size: 13px; line-height: 1.65; }

.em-summary { background: #111416; max-width: none; }
.em-summary-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 56px !important; display: grid; }
.em-summary-grid.em-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.em-summary-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 170px; padding: 25px; }
.em-summary-grid p { margin: 0; }
.em-summary-grid p:first-child { color: #fff; font-size: clamp(23px, 2.3vw, 34px); line-height: 1.1; font-weight: 700; }
.em-summary-grid p:last-child { color: var(--muted); margin-top: 12px; font-size: 12px; line-height: 1.5; }

.em-fit > div > p { max-width: 690px; color: var(--muted); margin: 30px 0; font-size: 18px; line-height: 1.72; }
.em-fit > div > p.em-fit-strong { color: var(--text); font-size: clamp(18px, 1.8vw, 25px); font-weight: 700; margin: 0; }
.em-fit ul { border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.em-fit li { border-bottom: 1px solid var(--line); padding: 19px 0; font-size: 17px; }
.em-fit li::before { content: "↗"; color: var(--accent); margin-right: 14px; }

.em-game-final {
	min-height: 820px;
	padding: 120px var(--pad);
	text-align: center;
	background: radial-gradient(circle at 50% 20%, #e3020447, #0000 35%), #08090a;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	display: flex;
}
.em-game-final > p:not(.em-eyebrow) { max-width: 660px; color: var(--muted); font-size: 18px; }
.em-game-final .em-eyebrow { justify-content: center; }
.em-tags { flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 100%; margin: 32px 0 !important; display: flex; }
.em-tags p { border: 1px solid var(--line); letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 11px 14px; font-size: 12px; font-weight: 700; margin: 0; }
.em-game-final h2 { max-width: 1000px; margin: 30px 0 42px; font-size: clamp(54px, 8vw, 120px); }

.em-detail-list { border-top: 1px solid var(--line); }
.em-detail-list > div { border-bottom: 1px solid var(--line); grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr); gap: 24px; padding: 25px 0; display: grid; }
.em-detail-list p { margin: 0; color: var(--muted); line-height: 1.7; }
.em-detail-list p:first-child { color: var(--text); font-size: 18px; font-weight: 700; }

.em-event-close {
	background: radial-gradient(circle at 15% 20%, var(--accent-soft), transparent 35%), #111416;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	max-width: none;
	min-height: 650px;
	display: flex;
}
.em-event-close > * { width: min(100%, 900px); }
.em-event-close p { color: #bdc1c3; margin: 32px 0 14px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.75; }
.em-event-close p.em-close-strong { color: var(--text); margin: 0; font-size: clamp(19px, 2vw, 28px); font-weight: 700; line-height: 1.4; }
.em-event-close .wp-block-buttons { margin-top: 34px; }

.em-pricing-page { gap: 70px; display: grid; }
.em-pricing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; display: grid; }
.em-pricing-cards > div {
	border: 1px solid var(--line);
	border-top: 2px solid var(--accent);
	background: linear-gradient(145deg, #17191b, #0d0f11);
	border-radius: 8px;
	padding: clamp(28px, 4vw, 54px);
}
.em-pricing-cards p { margin: 0; }
.em-pricing-cards .em-days { color: #c8cbcc; letter-spacing: 0.18em; font-size: 12px; font-weight: 700; }
.em-pricing-cards .em-from { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin: 60px 0 2px; font-size: 13px; }
.em-pricing-cards .em-price { letter-spacing: -0.06em; font-size: clamp(54px, 7vw, 90px); font-weight: 500; line-height: 1; }
.em-pricing-cards .em-small { color: var(--muted); margin-top: 24px; font-size: 13px; }
.em-price-custom { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); justify-content: space-between; align-items: center; gap: 28px; padding: 28px 0; display: flex; }
.em-price-custom p { margin: 0; font-size: clamp(20px, 2.5vw, 34px); }

.em-contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 8vw; display: grid; }
.em-contact-card { background: #13171a; border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.em-contact-card p { margin: 0; }
.em-contact-card a { font-size: 20px; overflow-wrap: anywhere; }
.em-contact-card a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.em-contact-card .em-muted { color: var(--muted); font-size: 13px; }
.em-contact-ask { background: #f0ede6; color: #111; border-radius: 8px; padding: clamp(26px, 5vw, 60px); }
.em-contact-ask h2 { font-size: clamp(34px, 4vw, 54px) !important; margin-bottom: 24px !important; }
.em-contact-ask ul { margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid #c9c5bd; }
.em-contact-ask li { border-bottom: 1px solid #c9c5bd; padding: 14px 0; font-size: 16px; color: #3d3b37; }
.em-contact-ask li::before { content: "↗"; color: var(--accent); margin-right: 12px; }
.em-contact-ask p { color: #5e5c57; font-size: 15px; line-height: 1.7; }

/* galerii leht */
.em-masonry.wp-block-gallery { display: block !important; columns: 3 280px; column-gap: 16px; }
.em-masonry.wp-block-gallery > figure.wp-block-image { width: 100% !important; margin: 0 0 16px !important; break-inside: avoid; border-radius: 8px; overflow: hidden; display: block; }
.em-masonry.wp-block-gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto !important; transition: all 0.3s; }
.em-masonry.wp-block-gallery > figure:nth-child(2n) img { aspect-ratio: 4/5; }
.em-masonry.wp-block-gallery > figure:hover img { filter: brightness(0.72); }

/* ---------- jalus ---------- */
.em-footer { width: 100%; padding: 70px var(--pad) 25px; background: #050607; margin: 0 !important; }
.em-footer-top { width: 100%; max-width: var(--max); grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 60px; margin: auto; padding-bottom: 65px; display: grid; }
.em-footer-top > div { flex-direction: column; align-items: flex-start; gap: 8px; display: flex; }
.em-footer-top > div > * { margin: 0; }
.em-footer .em-brand { flex: none; }
.em-footer .em-brand img { width: 176px; }
.em-footer-about { max-width: 300px; color: var(--muted); margin-top: 15px !important; font-size: 13px; line-height: 1.7; }
.em-footer h3 { text-transform: uppercase; letter-spacing: 0.16em; color: #777e82; margin-bottom: 14px !important; font-size: 10px; }
.em-footer-top p:not(.em-footer-about) { color: #c2c6c8; font-size: 13px; }
.em-footer-top a:hover { color: #fff; }
.em-footer-bottom {
	width: 100%;
	max-width: var(--max);
	border-top: 1px solid var(--line);
	color: #61676b;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	justify-content: space-between;
	gap: 24px;
	margin: auto;
	padding-top: 22px;
	font-size: 10px;
	display: flex;
}
.em-footer-bottom p { margin: 0; }
.em-footer-bottom a { margin-left: 22px; }

/* ---------- liikumine ---------- */
@keyframes emFadeUp { 0% { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: none; } }
.em-motion .em-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
.em-motion .em-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsiivsus ---------- */
@media (max-width: 1100px) {
	.em-hero .wp-block-cover__inner-container { width: 78% !important; }
	.em-pricing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.em-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-event-card:last-child { grid-column: 1/-1; }
	.em-expect-grid, .em-summary-grid, .em-summary-grid.em-cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.em-split, .em-pricing, .em-faq, .em-standard, .em-contact-grid, .em-mobility, .em-story, .em-detail, .em-fit, .em-pricing-cards { grid-template-columns: 1fr; }
	.em-pricing, .em-faq, .em-contact-grid { gap: 60px; }
	.em-mobility figure { order: -1; }
	.em-story-reverse > div:first-child { order: 0; }
	.em-expect-grid, .em-summary-grid, .em-summary-grid.em-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-price-custom { flex-direction: column; align-items: flex-start; }
	.em-price-custom .wp-block-buttons, .em-price-custom .wp-block-button, .em-price-custom .wp-block-button__link { width: 100%; }
	.em-footer-top { grid-template-columns: 1fr 1fr; }
	.em-footer-top > div:first-child { grid-column: 1/-1; }
}
@media (max-width: 782px) { .admin-bar .em-header { top: 46px; } }
@media (max-width: 760px) {
	:root { --pad: clamp(18px, 5.5vw, 24px); }
	.em-header { gap: 12px; height: 70px; }
	.em-header.is-scrolled { height: 64px; }
	.em-header .wp-block-buttons { display: none; }
	.em-brand { flex-basis: 148px; }
	.em-brand img { width: 148px; }
	.em-header .wp-block-navigation { margin-left: auto !important; }
	.em-hero.wp-block-cover { height: 100svh; min-height: 580px !important; max-height: 720px; }
	.em-hero .wp-block-cover__image-background { object-position: 68% center; }
	.em-hero > .wp-block-cover__background { background: linear-gradient(#05060729 0%, #0506077a 32%, #050607eb 64%, #050607 97%) !important; }
	.em-hero .wp-block-cover__inner-container { width: 100% !important; padding: 112px var(--pad) 42px; }
	.em-hero h1 { letter-spacing: -0.05em; font-size: clamp(42px, 12.3vw, 58px); line-height: 0.96; }
	.em-lead { font-size: 15px; line-height: 1.52; margin-top: 12px; }
	.em-hero .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; }
	.em-hero .wp-block-button:not(.is-style-link) .wp-block-button__link { width: 100%; }
	.em-hero .wp-block-button.is-style-link { align-self: flex-start; }
	.wp-block-button__link { gap: 14px; min-height: 52px; padding: 10px 20px; }
	.wp-block-button__link:hover { transform: none; }
	.em-fact-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-fact-bar > div { border-bottom: 1px solid var(--line); min-height: 94px; padding: 16px 14px; }
	.em-fact-bar > div:nth-child(odd) { padding-left: 0; }
	.em-fact-bar > div:nth-child(2) { border-right: 0; }
	.em-fact-bar > div:nth-child(3), .em-fact-bar > div:nth-child(4) { border-bottom: 0; }
	.em-fact-bar .em-fact-num { font-size: clamp(21px, 6.2vw, 27px); }
	.em-fact-bar .em-fact-label { letter-spacing: 0.12em; font-size: 8px; }
	.em-section { padding-top: 88px; padding-bottom: 88px; }
	.em-section h2 { letter-spacing: -0.05em; font-size: clamp(40px, 11.4vw, 54px); line-height: 0.98; }
	.em-large-copy { padding-top: 10px; font-size: 17px; }
	.em-process-lead { font-size: 16px; }
	.em-process-grid { grid-template-columns: 1fr; margin-top: 48px !important; }
	.em-process-card { min-height: 176px; padding: 24px; }
	.em-process-card::before { margin-bottom: 34px; }
	.em-row-heading { flex-direction: column; align-items: flex-start; gap: 24px; }
	.em-row-heading > p { width: 100%; font-size: 15px; }
	.em-marquee p { padding: 18px 0; font-size: 12px; animation-duration: 24s; }
	.em-game-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 48px !important; }
	.em-game-card.wp-block-cover { min-height: 610px !important; }
	.em-game-card:hover .wp-block-cover__image-background { transform: none; }
	.em-game-card .wp-block-cover__inner-container { padding: 0 20px 22px; }
	.em-game-card .em-game-meta { left: 20px; right: 20px; top: 20px; }
	.em-game-card h3 { font-size: clamp(40px, 13vw, 58px); margin-bottom: 10px; }
	.em-game-card h4 { font-size: 20px; }
	.em-game-card p:not(.em-game-meta):not(.em-game-cta) { margin-bottom: 18px; font-size: 13px; line-height: 1.55; }
	.em-game-cta a { font-size: 11px; }
	.em-event-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 42px !important; }
	.em-event-card, .em-event-card:last-child { grid-column: auto; min-height: 0; padding: 28px 22px; }
	.em-event-card:hover { transform: none; }
	.em-event-card h3 { margin: 24px 0 18px; font-size: 30px; }
	.em-event-card .wp-block-buttons { margin-top: 26px; }
	.em-kinetic { min-height: 680px; }
	.em-kinetic h2 { font-size: clamp(44px, 13vw, 66px); }
	.em-kinetic p { font-size: 16px; }
	.em-kinetic .em-kinetic-word { font-size: 52vw; }
	.em-pricing { gap: 52px; }
	.em-price-row p:last-child { font-size: clamp(38px, 12vw, 48px); }
	.em-gallery-grid { grid-template-rows: 280px 190px 190px; grid-template-columns: 1fr; gap: 12px; margin-top: 44px !important; }
	.em-gallery-grid figure:first-child { grid-row: auto; }
	.em-mobility { gap: 36px; }
	.em-mobility > div > p:not(.em-index) { font-size: 16px; }
	.em-mobility figure img { aspect-ratio: 4/3; }
	.em-faq { gap: 44px; }
	.wp-block-details summary { min-height: 78px; font-size: 15px; grid-template-columns: minmax(0, 1fr) 24px; }
	.wp-block-details p { padding: 0 8px 24px 0; }
	.em-final-cta { min-height: 520px; padding-top: 84px; padding-bottom: 84px; }
	.em-final-cta h2 { font-size: clamp(41px, 11.6vw, 56px); line-height: 0.98; }
	.em-final-cta p:not(.em-eyebrow) { font-size: 16px; }
	.em-page-hero { min-height: 540px; padding: 132px var(--pad) 72px; }
	.em-page-hero.wp-block-cover { min-height: 620px !important; }
	.em-page-hero .wp-block-cover__image-background { object-position: 64% center; }
	.em-page-hero h1 { letter-spacing: -0.05em; font-size: clamp(42px, 11.8vw, 58px); line-height: 0.98; }
	.em-page-hero .wp-block-buttons, .em-page-hero .wp-block-button, .em-page-hero .wp-block-button__link { width: 100%; }
	.em-story, .em-fit { gap: 32px; }
	.em-bullets { grid-template-columns: 1fr; }
	.em-expect-grid { border-left: 0; grid-template-columns: 1fr; margin-top: 40px !important; }
	.em-expect-grid > div { border-left: 0; border-right: 0; border-top: 0; min-height: 0; padding: 25px 0; }
	.em-expect-grid > div::before { margin-bottom: 24px; }
	.em-summary-grid, .em-summary-grid.em-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 38px !important; }
	.em-summary-grid > div { min-height: 138px; padding: 18px 14px; }
	.em-fit > div > p { font-size: 16px; }
	.em-game-final { min-height: 650px; padding: 88px var(--pad); }
	.em-game-final h2 { margin: 24px 0 34px; font-size: clamp(43px, 12vw, 60px); }
	.em-game-final > p:not(.em-eyebrow) { font-size: 16px; }
	.em-game-final .wp-block-buttons, .em-game-final .wp-block-button, .em-game-final .wp-block-button__link,
	.em-event-close .wp-block-buttons, .em-event-close .wp-block-button, .em-event-close .wp-block-button__link { width: 100%; }
	.em-detail-list > div { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
	.em-event-close { min-height: 560px; }
	.em-pricing-page { gap: 46px; }
	.em-pricing-cards > div { padding: 28px 22px; }
	.em-pricing-cards .em-from { margin-top: 38px; }
	.em-pricing-cards .em-price { font-size: clamp(52px, 17vw, 72px); }
	.em-contact-card { padding: 24px; }
	.em-contact-card a { font-size: 17px; }
	.em-contact-ask { padding: 25px 18px; }
	.em-masonry.wp-block-gallery { columns: 1 auto; }
	.em-footer-top { gap: 42px 24px; padding-bottom: 48px; }
	.em-footer-bottom { flex-direction: column; gap: 14px; }
	.em-footer-bottom a { margin: 0 22px 0 0; }
	.em-motion .em-reveal { transform: translateY(14px); }
}
@media (max-width: 420px) {
	.em-brand { flex-basis: 136px; }
	.em-brand img { width: 136px; }
	.em-footer-top { grid-template-columns: 1fr; }
	.em-gallery-grid { grid-template-rows: 250px 170px 170px; }
	.em-eyebrow, .em-index { letter-spacing: 0.16em; font-size: 9px; }
	.em-summary-grid, .em-summary-grid.em-cols-4 { grid-template-columns: 1fr; }
	.em-summary-grid > div { min-height: 0; }
	.em-kinetic .em-kinetic-word { font-size: 58vw; }
	.em-game-card .em-game-meta { font-size: 8px; }
	.em-game-card h3 { font-size: 39px; }
	.em-game-card h4 { font-size: 18px; }
	.em-game-card p:not(.em-game-meta):not(.em-game-cta) { font-size: 12px; }
}
@media (max-width: 360px) {
	:root { --pad: 18px; }
	.em-hero h1, .em-page-hero h1 { font-size: 35px; }
	.wp-block-button__link { padding-left: 16px; padding-right: 16px; }
	.em-fact-bar > div { padding-right: 8px; }
	.em-price-row { flex-direction: column; align-items: flex-start; gap: 4px; }
	.em-price-row p:last-child { font-size: 42px; }
	.em-final-cta h2 { font-size: 37px; }
	.em-event-card h3 { font-size: 27px; }
	.em-kinetic h2 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, ::before, ::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
	.em-motion .em-reveal { opacity: 1 !important; transform: none !important; }
	.em-marquee p { animation: none !important; }
}
